Skip to content

Commit 9a13d4e

Browse files
committed
docs: collateralSymbol, coins
1 parent 1da8988 commit 9a13d4e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,12 @@ import crvusd from "@curvefi/stablecoin-api";
182182
// 0x3897810a334833184Ef7D6B419ba4d78EC2bBF80
183183
llamma.controller;
184184
// 0x1eF9f7C2abD0E351a8966f00565e1b04765d3f0C
185+
llamma.collateralSymbol;
186+
// WETH
185187
llamma.collateralDecimals;
186188
// 18
189+
llamma.coins;
190+
// [ 'crvUSD', 'WETH' ]
187191
llamma.coinAddresses;
188192
// [
189193
// '0x3194cBDC3dbcd3E11a07892e7bA5c3394048Cc87',

test/readme.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ const llammaFieldsTest = async () => {
3838
console.log(llamma.id);
3939
console.log(llamma.address);
4040
console.log(llamma.controller);
41+
console.log(llamma.collateralSymbol);
4142
console.log(llamma.collateralDecimals);
43+
console.log(llamma.coins);
4244
console.log(llamma.coinAddresses);
4345
console.log(llamma.coinDecimals);
4446
console.log(llamma.minTicks);

0 commit comments

Comments
 (0)