Skip to content

Commit a549481

Browse files
committed
wip
1 parent cdc96f6 commit a549481

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pendle/typescript/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ const marketAddress = market.address;
4040
const underlyingAssetAddress = market.underlyingAsset.split("-")[1];
4141
const ptAddress = market.pt.split("-")[1];
4242
const ytAddress = market.yt.split("-")[1];
43-
// SNIPPET END 1
4443

45-
// SNIPPET START 2
4644
let userPosition = await compassApiSDK.pendle.position({
4745
chain: "arbitrum:mainnet",
4846
userAddress: WALLET_ADDRESS,
4947
marketAddress,
5048
});
49+
// SNIPPET END 1
5150

51+
// SNIPPET START 2
5252
let underlyingAssetAllowance = await compassApiSDK.universal.allowance({
5353
chain: "arbitrum:mainnet",
5454
user: WALLET_ADDRESS,

0 commit comments

Comments
 (0)