@compass-labs/api-sdk 2.1.26-rc.13 → 2.1.26-rc.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/docs/models/components/aavelooprequest.md +15 -15
  2. package/docs/models/components/aaverepayrequest.md +5 -5
  3. package/docs/models/components/aaverepayrequestamount.md +2 -2
  4. package/docs/models/components/aaverepayrequestchain.md +1 -1
  5. package/docs/models/components/aavesetuseremoderequest.md +3 -3
  6. package/docs/models/components/aavesetuseremoderequestchain.md +1 -1
  7. package/docs/models/components/aavesupplyrequest.md +4 -4
  8. package/docs/models/components/aavesupplyrequestamount.md +2 -2
  9. package/docs/models/components/aavesupplyrequestchain.md +1 -1
  10. package/docs/models/components/aavewithdrawrequest.md +5 -5
  11. package/docs/models/components/aavewithdrawrequestamount.md +2 -2
  12. package/docs/models/components/aavewithdrawrequestchain.md +1 -1
  13. package/docs/models/components/aerodromeslipstreambuyexactlyrequest.md +7 -7
  14. package/docs/models/components/aerodromeslipstreambuyexactlyrequestamountinmaximum.md +2 -2
  15. package/docs/models/components/aerodromeslipstreambuyexactlyrequestamountout.md +2 -2
  16. package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.md +7 -7
  17. package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount0desired.md +2 -2
  18. package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount0min.md +2 -2
  19. package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount1desired.md +2 -2
  20. package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount1min.md +2 -2
  21. package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequest.md +12 -12
  22. package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount0desired.md +2 -2
  23. package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount0min.md +2 -2
  24. package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount1desired.md +2 -2
  25. package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount1min.md +2 -2
  26. package/docs/models/components/aerodromeslipstreamsellexactlyrequest.md +6 -6
  27. package/docs/models/components/aerodromeslipstreamsellexactlyrequestamountin.md +2 -2
  28. package/docs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.md +4 -4
  29. package/docs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequestpercentageforwithdrawal.md +2 -2
  30. package/docs/models/components/approvetransferrequest.md +2 -2
  31. package/docs/models/components/approvetransferresponse.md +7 -2
  32. package/docs/models/components/batchedsafeoperationsresponseinput.md +22 -9
  33. package/docs/models/components/batchedsafeoperationsresponseoutput.md +2 -7
  34. package/docs/models/components/batcheduseroperationsrequest.md +2 -2
  35. package/docs/models/components/createaccountrequest.md +3 -3
  36. package/docs/models/components/createaccountrequestchain.md +1 -1
  37. package/docs/models/components/depositforburnrequest.md +4 -4
  38. package/docs/models/components/depositforburnrequestamount.md +2 -2
  39. package/docs/models/components/depositforburnresponse.md +2 -7
  40. package/docs/models/components/destinationchain.md +1 -1
  41. package/docs/models/components/earnmanageparams.md +2 -2
  42. package/docs/models/components/earnmanageparamsvenue.md +1 -1
  43. package/docs/models/components/earnmanagerequest.md +3 -3
  44. package/docs/models/components/earnmanagerequestvenue.md +1 -1
  45. package/docs/models/components/earnswaprequest.md +4 -4
  46. package/docs/models/components/earnswaprequestamountin.md +2 -2
  47. package/docs/models/components/earnswapresponse.md +2 -7
  48. package/docs/models/components/earntransferrequest.md +4 -4
  49. package/docs/models/components/earntransferrequestaction.md +1 -1
  50. package/docs/models/components/earntransferrequestamount.md +2 -2
  51. package/docs/models/components/earntransferresponse.md +2 -7
  52. package/docs/models/components/earntransferresponseeip712.md +6 -11
  53. package/docs/models/components/ethenadepositrequest.md +3 -3
  54. package/docs/models/components/ethenadepositrequestamount.md +2 -2
  55. package/docs/models/components/ethenarequesttowithdrawrequest.md +2 -2
  56. package/docs/models/components/ethenaunstakerequest.md +2 -2
  57. package/docs/models/components/initialcollateralamount.md +2 -2
  58. package/docs/models/components/loantovalue.md +2 -2
  59. package/docs/models/components/maxslippagepercent.md +2 -2
  60. package/docs/models/components/mintpreparerequest.md +5 -5
  61. package/docs/models/components/morphoborrowrequest.md +4 -4
  62. package/docs/models/components/morphoborrowrequestamount.md +2 -2
  63. package/docs/models/components/morphoborrowrequestchain.md +1 -1
  64. package/docs/models/components/morphodepositrequest.md +4 -4
  65. package/docs/models/components/morphodepositrequestamount.md +2 -2
  66. package/docs/models/components/morphodepositrequestchain.md +1 -1
  67. package/docs/models/components/morphorepayrequest.md +3 -3
  68. package/docs/models/components/morphosupplycollateralrequest.md +4 -4
  69. package/docs/models/components/morphosupplycollateralrequestamount.md +2 -2
  70. package/docs/models/components/morphosupplycollateralrequestchain.md +1 -1
  71. package/docs/models/components/morphowithdrawcollateralrequest.md +4 -4
  72. package/docs/models/components/morphowithdrawcollateralrequestamount.md +2 -2
  73. package/docs/models/components/morphowithdrawrequest.md +3 -3
  74. package/docs/models/components/morphowithdrawrequestchain.md +1 -1
  75. package/docs/models/components/multicallauthorizationrequest.md +4 -4
  76. package/docs/models/components/multicallauthorizationrequestchain.md +1 -1
  77. package/docs/models/components/multicallexecuterequest.md +7 -7
  78. package/docs/models/components/multiplier.md +2 -2
  79. package/docs/models/components/odosswaprequest.md +6 -6
  80. package/docs/models/components/odosswaprequestamountin.md +2 -2
  81. package/docs/models/components/pendlemanageliquidityrequest.md +7 -7
  82. package/docs/models/components/pendlemanageliquidityrequestamountin.md +2 -2
  83. package/docs/models/components/pendlemanageliquidityrequestchain.md +1 -1
  84. package/docs/models/components/pendleredeemyieldrequest.md +3 -3
  85. package/docs/models/components/pendletradeptrequest.md +7 -7
  86. package/docs/models/components/pendletradeptrequestaction.md +1 -1
  87. package/docs/models/components/pendletradeptrequestamountin.md +2 -2
  88. package/docs/models/components/pendletradeytrequest.md +7 -7
  89. package/docs/models/components/pendletradeytrequestaction.md +1 -1
  90. package/docs/models/components/pendletradeytrequestamountin.md +2 -2
  91. package/docs/models/components/permit2typeddatainput.md +10 -34
  92. package/docs/models/components/permit2typeddataoutput.md +4 -4
  93. package/docs/models/components/permittransferfrommessage.md +1 -1
  94. package/docs/models/components/permittypeddataresponseinput.md +50 -11
  95. package/docs/models/components/permittypeddataresponseoutput.md +7 -2
  96. package/docs/models/components/setallowancerequest.md +5 -5
  97. package/docs/models/components/setallowancerequestamount.md +2 -2
  98. package/docs/models/components/setallowancerequestcontractenum.md +1 -1
  99. package/docs/models/components/setallowancerequestcontractunion.md +1 -1
  100. package/docs/models/components/signedauthorization.md +6 -6
  101. package/docs/models/components/skybuyrequest.md +4 -4
  102. package/docs/models/components/skybuyrequestamount.md +2 -2
  103. package/docs/models/components/skydepositrequest.md +2 -2
  104. package/docs/models/components/skydepositrequestamount.md +2 -2
  105. package/docs/models/components/skysellrequest.md +4 -4
  106. package/docs/models/components/skysellrequestamount.md +2 -2
  107. package/docs/models/components/skysellrequesttokenout.md +1 -1
  108. package/docs/models/components/skywithdrawrequest.md +1 -1
  109. package/docs/models/components/sponsorgasrequest.md +7 -7
  110. package/docs/models/components/sponsorgasrequesteip712.md +76 -48
  111. package/docs/models/components/tokentransferrequest.md +5 -5
  112. package/docs/models/components/tokentransferrequestamount.md +2 -2
  113. package/docs/models/components/tokentransferrequestchain.md +1 -1
  114. package/docs/models/components/uniswapbuyexactlyrequest.md +6 -6
  115. package/docs/models/components/uniswapbuyexactlyrequestamountout.md +2 -2
  116. package/docs/models/components/uniswapbuyexactlyrequestchain.md +1 -1
  117. package/docs/models/components/uniswapincreaseliquidityprovisionrequest.md +7 -7
  118. package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount0desired.md +2 -2
  119. package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount0min.md +2 -2
  120. package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount1desired.md +2 -2
  121. package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount1min.md +2 -2
  122. package/docs/models/components/uniswapincreaseliquidityprovisionrequestchain.md +1 -1
  123. package/docs/models/components/uniswapmintliquidityprovisionrequest.md +11 -11
  124. package/docs/models/components/uniswapmintliquidityprovisionrequestamount0desired.md +2 -2
  125. package/docs/models/components/uniswapmintliquidityprovisionrequestamount0min.md +2 -2
  126. package/docs/models/components/uniswapmintliquidityprovisionrequestamount1desired.md +2 -2
  127. package/docs/models/components/uniswapmintliquidityprovisionrequestamount1min.md +2 -2
  128. package/docs/models/components/uniswapsellexactlyrequest.md +6 -6
  129. package/docs/models/components/uniswapsellexactlyrequestamountin.md +2 -2
  130. package/docs/models/components/uniswapsellexactlyrequestchain.md +1 -1
  131. package/docs/models/components/uniswapwithdrawliquidityprovisionrequest.md +4 -4
  132. package/docs/models/components/uniswapwithdrawliquidityprovisionrequestchain.md +1 -1
  133. package/docs/models/components/uniswapwithdrawliquidityprovisionrequestpercentageforwithdrawal.md +2 -2
  134. package/docs/models/components/unwrapwethrequest.md +3 -3
  135. package/docs/models/components/unwrapwethrequestamount.md +2 -2
  136. package/docs/models/components/unwrapwethrequestchain.md +1 -1
  137. package/docs/models/components/v2bundlerequest.md +6 -6
  138. package/docs/models/components/v2useroperation.md +2 -2
  139. package/docs/models/components/v2useroperationbody.md +2 -2
  140. package/docs/models/components/vaultdepositrequest.md +4 -4
  141. package/docs/models/components/vaultdepositrequestamount.md +2 -2
  142. package/docs/models/components/vaultvenue.md +1 -1
  143. package/docs/models/components/vaultwithdrawrequest.md +3 -3
  144. package/docs/models/components/vaultwithdrawrequestchain.md +1 -1
  145. package/docs/models/components/wrapethrequest.md +3 -3
  146. package/docs/models/components/wrapethrequestamount.md +2 -2
  147. package/docs/models/components/wrapethrequestchain.md +1 -1
  148. package/package.json +1 -1
@@ -19,7 +19,7 @@ let value: MulticallAuthorizationRequest = {
19
19
 
20
20
  ## Fields
21
21
 
22
- | Field | Type | Required | Description |
23
- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
24
- | `chain` | [components.MulticallAuthorizationRequestChain](../../models/components/multicallauthorizationrequestchain.md) | :heavy_check_mark: | N/A |
25
- | `sender` | *string* | :heavy_check_mark: | The Ethereum address to use for authorization |
22
+ | Field | Type | Required | Description | Example |
23
+ | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
24
+ | `chain` | [components.MulticallAuthorizationRequestChain](../../models/components/multicallauthorizationrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
25
+ | `sender` | *string* | :heavy_check_mark: | The Ethereum address to use for authorization | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { MulticallAuthorizationRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: MulticallAuthorizationRequestChain = "ethereum";
8
+ let value: MulticallAuthorizationRequestChain = "arbitrum";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -75,10 +75,10 @@ let value: MulticallExecuteRequest = {
75
75
 
76
76
  ## Fields
77
77
 
78
- | Field | Type | Required | Description | Example |
79
- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
80
- | `chain` | [components.MulticallExecuteRequestChain](../../models/components/multicallexecuterequestchain.md) | :heavy_check_mark: | N/A | |
81
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
82
- | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
83
- | `signedAuthorization` | [components.SignedAuthorization](../../models/components/signedauthorization.md) | :heavy_minus_sign: | EIP-7702 authorization | |
84
- | `actions` | [components.UserOperation](../../models/components/useroperation.md)[] | :heavy_check_mark: | List of possible actions for multicall | |
78
+ | Field | Type | Required | Description | Example |
79
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
+ | `chain` | [components.MulticallExecuteRequestChain](../../models/components/multicallexecuterequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
81
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
82
+ | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
83
+ | `signedAuthorization` | [components.SignedAuthorization](../../models/components/signedauthorization.md) | :heavy_minus_sign: | EIP-7702 authorization | {<br/>"address": "0xcA11bde05977b3631167028862bE2a173976CA11",<br/>"chainId": 42161,<br/>"nonce": 1000,<br/>"r": "0x5f9f3f3226ac91bc01a72dd117141f6c6de1ed30d3af9f95c3423316dc21d615",<br/>"s": "0x78f7982ede9dabc53d7153974c5692fda8a21fc73bdafc42aaf135505e22817c",<br/>"yParity": 0<br/>} |
84
+ | `actions` | [components.UserOperation](../../models/components/useroperation.md)[] | :heavy_check_mark: | List of possible actions for multicall | [<br/>{<br/>"body": {<br/>"action_type": "SET_ALLOWANCE",<br/>"amount": "1000",<br/>"contract": "UniswapV3Router",<br/>"token": "WETH"<br/>}<br/>},<br/>{<br/>"body": {<br/>"action_type": "UNISWAP_BUY_EXACTLY",<br/>"amount_out": "1000",<br/>"fee": "0.01",<br/>"max_slippage_percent": 0.5,<br/>"token_in": "WETH",<br/>"token_out": "USDC"<br/>}<br/>},<br/>{<br/>"body": {<br/>"action_type": "SET_ALLOWANCE",<br/>"amount": "1000",<br/>"contract": "AaveV3Pool",<br/>"token": "USDC"<br/>}<br/>},<br/>{<br/>"body": {<br/>"action_type": "SET_ALLOWANCE",<br/>"amount": "0.1",<br/>"contract": "AaveV3Pool",<br/>"token": "WETH"<br/>}<br/>},<br/>{<br/>"body": {<br/>"action_type": "AAVE_SUPPLY",<br/>"amount": "1000",<br/>"token": "USDC"<br/>}<br/>},<br/>{<br/>"body": {<br/>"action_type": "AAVE_BORROW",<br/>"amount": "0.1",<br/>"interest_rate_mode": "variable",<br/>"token": "WETH"<br/>}<br/>}<br/>] |
@@ -8,12 +8,12 @@ Leverage multiplier. Total loop collateral will be calculated as `multiplier` x
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 2.5;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "2.5";
18
18
  ```
19
19
 
@@ -20,10 +20,10 @@ let value: OdosSwapRequest = {
20
20
  | Field | Type | Required | Description | Example |
21
21
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
22
22
  | `actionType` | *"ODOS_SWAP"* | :heavy_minus_sign: | N/A | ODOS_SWAP |
23
- | `tokenIn` | *string* | :heavy_check_mark: | The symbol or address of the token that is to be sold. | |
24
- | `tokenOut` | *string* | :heavy_check_mark: | The symbol or address of the token that is to be bought. | |
25
- | `amountIn` | *components.OdosSwapRequestAmountIn* | :heavy_check_mark: | The amount of token_in to be sold. | |
26
- | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | |
27
- | `chain` | [components.OdosSwapRequestChain](../../models/components/odosswaprequestchain.md) | :heavy_check_mark: | N/A | |
28
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
23
+ | `tokenIn` | *string* | :heavy_check_mark: | The symbol or address of the token that is to be sold. | 0x0000000000000000000000000000000000000000 |
24
+ | `tokenOut` | *string* | :heavy_check_mark: | The symbol or address of the token that is to be bought. | USDT |
25
+ | `amountIn` | *components.OdosSwapRequestAmountIn* | :heavy_check_mark: | The amount of token_in to be sold. | 0.0001 |
26
+ | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | 1 |
27
+ | `chain` | [components.OdosSwapRequestChain](../../models/components/odosswaprequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
28
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xBA5c2548003aDD027489EeDE2C90BE6f1c81cBb9 |
29
29
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -8,12 +8,12 @@ The amount of token_in to be sold.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.0001;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.0001";
18
18
  ```
19
19
 
@@ -21,11 +21,11 @@ let value: PendleManageLiquidityRequest = {
21
21
  | Field | Type | Required | Description | Example |
22
22
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
23
  | `actionType` | *"PENDLE_MANAGE_LIQUIDITY"* | :heavy_minus_sign: | N/A | PENDLE_MANAGE_LIQUIDITY |
24
- | `marketAddress` | *string* | :heavy_check_mark: | The address identifying which Pendle Market you would like to add liquidity to. | |
25
- | `action` | [components.PendleManageLiquidityRequestAction](../../models/components/pendlemanageliquidityrequestaction.md) | :heavy_check_mark: | Specifies the direction of the liquidity operation for the Pendle market. Valid values are `SUPPLY` (to add liquidity) or `WITHDRAW` (to remove liquidity). | |
26
- | `token` | *string* | :heavy_check_mark: | The symbol or address of the token to manage liquidity with. For `action` set to `SUPPLY`, this is the token to add as liquidity. For `action` set to `WITHDRAW`, this is the token to remove from liquidity. | |
27
- | `amountIn` | *components.PendleManageLiquidityRequestAmountIn* | :heavy_check_mark: | For `action` set to `SUPPLY`, this is the amount in of `token` to add as liquidity in exchange for Liquidity Provider (LP) tokens. For `action` set to `WITHDRAW`, this is the amount in of LP tokens to redeem for `token`. | |
28
- | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | |
29
- | `chain` | [components.PendleManageLiquidityRequestChain](../../models/components/pendlemanageliquidityrequestchain.md) | :heavy_check_mark: | N/A | |
30
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
24
+ | `marketAddress` | *string* | :heavy_check_mark: | The address identifying which Pendle Market you would like to add liquidity to. | 0x46d62a8dede1bf2d0de04f2ed863245cbba5e538 |
25
+ | `action` | [components.PendleManageLiquidityRequestAction](../../models/components/pendlemanageliquidityrequestaction.md) | :heavy_check_mark: | Specifies the direction of the liquidity operation for the Pendle market. Valid values are `SUPPLY` (to add liquidity) or `WITHDRAW` (to remove liquidity). | SUPPLY |
26
+ | `token` | *string* | :heavy_check_mark: | The symbol or address of the token to manage liquidity with. For `action` set to `SUPPLY`, this is the token to add as liquidity. For `action` set to `WITHDRAW`, this is the token to remove from liquidity. | ETH |
27
+ | `amountIn` | *components.PendleManageLiquidityRequestAmountIn* | :heavy_check_mark: | For `action` set to `SUPPLY`, this is the amount in of `token` to add as liquidity in exchange for Liquidity Provider (LP) tokens. For `action` set to `WITHDRAW`, this is the amount in of LP tokens to redeem for `token`. | 0.0001 |
28
+ | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | 1 |
29
+ | `chain` | [components.PendleManageLiquidityRequestChain](../../models/components/pendlemanageliquidityrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
30
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x931C470a20B4B8428C80F5f63e193EE97C86094F |
31
31
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -8,12 +8,12 @@ For `action` set to `SUPPLY`, this is the amount in of `token` to add as liquidi
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.0001;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.0001";
18
18
  ```
19
19
 
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { PendleManageLiquidityRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: PendleManageLiquidityRequestChain = "base";
8
+ let value: PendleManageLiquidityRequestChain = "arbitrum";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -17,7 +17,7 @@ let value: PendleRedeemYieldRequest = {
17
17
  | Field | Type | Required | Description | Example |
18
18
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
19
19
  | `actionType` | *"PENDLE_REDEEM_YIELD"* | :heavy_minus_sign: | N/A | PENDLE_REDEEM_YIELD |
20
- | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Yield Token (YT) you would like to claim yield from. | |
21
- | `chain` | [components.PendleRedeemYieldRequestChain](../../models/components/pendleredeemyieldrequestchain.md) | :heavy_check_mark: | N/A | |
22
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
20
+ | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Yield Token (YT) you would like to claim yield from. | 0x46d62a8dede1bf2d0de04f2ed863245cbba5e538 |
21
+ | `chain` | [components.PendleRedeemYieldRequestChain](../../models/components/pendleredeemyieldrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
22
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xDB5282f99C964B2Cd72354fFf33Ad7eE482A0126 |
23
23
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -21,11 +21,11 @@ let value: PendleTradePtRequest = {
21
21
  | Field | Type | Required | Description | Example |
22
22
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
23
  | `actionType` | *"PENDLE_TRADE_PT"* | :heavy_minus_sign: | N/A | PENDLE_TRADE_PT |
24
- | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Principal Token (PT) you would like to trade. | |
25
- | `action` | [components.PendleTradePtRequestAction](../../models/components/pendletradeptrequestaction.md) | :heavy_check_mark: | Specifies the direction of the PT trade. Valid values are `BUY` (to buy PT) or `SELL` (to sell PT). | |
26
- | `token` | *string* | :heavy_check_mark: | TThe symbol or address of the token to trade PT with. For `action` set to `BUY`, this is the token to buy PT with. For `action` set to `SELL`, this is the token to sell PT for. | |
27
- | `amountIn` | *components.PendleTradePtRequestAmountIn* | :heavy_check_mark: | For `action` set to `BUY`, this is the amount in of `token` to buy PT with. For `action` set to `SELL`, this is the amount in of PT to sell for `token`. | |
28
- | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | |
29
- | `chain` | [components.PendleTradePtRequestChain](../../models/components/pendletradeptrequestchain.md) | :heavy_check_mark: | N/A | |
30
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
24
+ | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Principal Token (PT) you would like to trade. | 0x46d62a8dede1bf2d0de04f2ed863245cbba5e538 |
25
+ | `action` | [components.PendleTradePtRequestAction](../../models/components/pendletradeptrequestaction.md) | :heavy_check_mark: | Specifies the direction of the PT trade. Valid values are `BUY` (to buy PT) or `SELL` (to sell PT). | BUY |
26
+ | `token` | *string* | :heavy_check_mark: | TThe symbol or address of the token to trade PT with. For `action` set to `BUY`, this is the token to buy PT with. For `action` set to `SELL`, this is the token to sell PT for. | ETH |
27
+ | `amountIn` | *components.PendleTradePtRequestAmountIn* | :heavy_check_mark: | For `action` set to `BUY`, this is the amount in of `token` to buy PT with. For `action` set to `SELL`, this is the amount in of PT to sell for `token`. | 0.0001 |
28
+ | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | 1 |
29
+ | `chain` | [components.PendleTradePtRequestChain](../../models/components/pendletradeptrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
30
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x68C314e30b543a35819e5625da563E6Da65D5dd4 |
31
31
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -7,7 +7,7 @@ Specifies the direction of the PT trade. Valid values are `BUY` (to buy PT) or `
7
7
  ```typescript
8
8
  import { PendleTradePtRequestAction } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: PendleTradePtRequestAction = "SELL";
10
+ let value: PendleTradePtRequestAction = "BUY";
11
11
  ```
12
12
 
13
13
  ## Values
@@ -8,12 +8,12 @@ For `action` set to `BUY`, this is the amount in of `token` to buy PT with. For
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.0001;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.0001";
18
18
  ```
19
19
 
@@ -21,11 +21,11 @@ let value: PendleTradeYtRequest = {
21
21
  | Field | Type | Required | Description | Example |
22
22
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
23
  | `actionType` | *"PENDLE_TRADE_YT"* | :heavy_minus_sign: | N/A | PENDLE_TRADE_YT |
24
- | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Yield Token (YT) you would like to trade. | |
25
- | `action` | [components.PendleTradeYtRequestAction](../../models/components/pendletradeytrequestaction.md) | :heavy_check_mark: | Specifies the direction of the YT trade. Valid values are `BUY` (to buy YT) or `SELL` (to sell YT). | |
26
- | `token` | *string* | :heavy_check_mark: | TThe symbol or address of the token to trade YT with. For `action` set to `BUY`, this is the token to buy YT with. For `action` set to `SELL`, this is the token to sell YT for. | |
27
- | `amountIn` | *components.PendleTradeYtRequestAmountIn* | :heavy_check_mark: | For `action` set to `BUY`, this is the amount in of `token` to buy YT with. For `action` set to `SELL`, this is the amount in of YT to sell for `token`. | |
28
- | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | |
29
- | `chain` | [components.PendleTradeYtRequestChain](../../models/components/pendletradeytrequestchain.md) | :heavy_check_mark: | N/A | |
30
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
24
+ | `marketAddress` | *string* | :heavy_check_mark: | The address of the market identifying which Yield Token (YT) you would like to trade. | 0x46d62a8dede1bf2d0de04f2ed863245cbba5e538 |
25
+ | `action` | [components.PendleTradeYtRequestAction](../../models/components/pendletradeytrequestaction.md) | :heavy_check_mark: | Specifies the direction of the YT trade. Valid values are `BUY` (to buy YT) or `SELL` (to sell YT). | BUY |
26
+ | `token` | *string* | :heavy_check_mark: | TThe symbol or address of the token to trade YT with. For `action` set to `BUY`, this is the token to buy YT with. For `action` set to `SELL`, this is the token to sell YT for. | ETH |
27
+ | `amountIn` | *components.PendleTradeYtRequestAmountIn* | :heavy_check_mark: | For `action` set to `BUY`, this is the amount in of `token` to buy YT with. For `action` set to `SELL`, this is the amount in of YT to sell for `token`. | 0.0001 |
28
+ | `maxSlippagePercent` | *number* | :heavy_check_mark: | The maximum slippage allowed in percent. e.g. `1` means `1%` slippage allowed. | 1 |
29
+ | `chain` | [components.PendleTradeYtRequestChain](../../models/components/pendletradeytrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
30
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xDB5282f99C964B2Cd72354fFf33Ad7eE482A0126 |
31
31
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -7,7 +7,7 @@ Specifies the direction of the YT trade. Valid values are `BUY` (to buy YT) or `
7
7
  ```typescript
8
8
  import { PendleTradeYtRequestAction } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: PendleTradeYtRequestAction = "SELL";
10
+ let value: PendleTradeYtRequestAction = "BUY";
11
11
  ```
12
12
 
13
13
  ## Values
@@ -8,12 +8,12 @@ For `action` set to `BUY`, this is the amount in of `token` to buy YT with. For
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.0001;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.0001";
18
18
  ```
19
19
 
@@ -13,55 +13,31 @@ let value: Permit2TypedDataInput = {
13
13
  type: "string",
14
14
  },
15
15
  {
16
- name: "chainId",
17
- type: "uint256",
18
- },
19
- {
20
- name: "verifyingContract",
21
- type: "address",
22
- },
23
- ],
24
- tokenPermissions: [
25
- {
26
- name: "token",
27
- type: "address",
16
+ name: "version",
17
+ type: "string",
28
18
  },
29
19
  {
30
- name: "amount",
20
+ name: "chainId",
31
21
  type: "uint256",
32
22
  },
33
- ],
34
- permitTransferFrom: [
35
- {
36
- name: "permitted",
37
- type: "TokenPermissions",
38
- },
39
23
  {
40
- name: "spender",
24
+ name: "verifyingContract",
41
25
  type: "address",
42
26
  },
43
- {
44
- name: "nonce",
45
- type: "uint256",
46
- },
47
- {
48
- name: "deadline",
49
- type: "uint256",
50
- },
51
27
  ],
52
28
  },
53
29
  domain: {
54
- chainId: 387057,
55
- verifyingContract: "<value>",
30
+ chainId: 42161,
31
+ verifyingContract: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
56
32
  },
57
33
  message: {
58
34
  permitted: {
59
35
  token: "<value>",
60
- amount: 434763,
36
+ amount: 387057,
61
37
  },
62
- spender: "<value>",
63
- nonce: 410419,
64
- deadline: 192156,
38
+ spender: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
39
+ nonce: 0,
40
+ deadline: 1762269774,
65
41
  },
66
42
  };
67
43
  ```
@@ -51,17 +51,17 @@ let value: Permit2TypedDataOutput = {
51
51
  ],
52
52
  },
53
53
  domain: {
54
- chainId: 387057,
54
+ chainId: 659817,
55
55
  verifyingContract: "<value>",
56
56
  },
57
57
  message: {
58
58
  permitted: {
59
59
  token: "<value>",
60
- amount: 434763,
60
+ amount: 387057,
61
61
  },
62
62
  spender: "<value>",
63
- nonce: 410419,
64
- deadline: 192156,
63
+ nonce: 382019,
64
+ deadline: 22738,
65
65
  },
66
66
  };
67
67
  ```
@@ -8,7 +8,7 @@ import { PermitTransferFromMessage } from "@compass-labs/api-sdk/models/componen
8
8
  let value: PermitTransferFromMessage = {
9
9
  permitted: {
10
10
  token: "<value>",
11
- amount: 434763,
11
+ amount: 387057,
12
12
  },
13
13
  spender: "<value>",
14
14
  nonce: 942324,