@compass-labs/api-sdk 2.1.26 → 2.1.27

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
@@ -18,10 +18,10 @@ let value: EarnTransferRequest = {
18
18
 
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
21
- | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | |
21
+ | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x01E62835dd7F52173546A325294762143eE4a882 |
22
22
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
23
- | `token` | *string* | :heavy_check_mark: | The token you would like to transfer. | |
24
- | `amount` | *components.EarnTransferRequestAmount* | :heavy_check_mark: | The amount of 'token' to transfer. | |
25
- | `action` | [components.EarnTransferRequestAction](../../models/components/earntransferrequestaction.md) | :heavy_check_mark: | Whether you are depositing to or withdrawing from your earn account. | |
23
+ | `token` | *string* | :heavy_check_mark: | The token you would like to transfer. | USDC |
24
+ | `amount` | *components.EarnTransferRequestAmount* | :heavy_check_mark: | The amount of 'token' to transfer. | 0.01 |
25
+ | `action` | [components.EarnTransferRequestAction](../../models/components/earntransferrequestaction.md) | :heavy_check_mark: | Whether you are depositing to or withdrawing from your earn account. | DEPOSIT |
26
26
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If set to `true`, EIP-712 signature data will be returned that must be signed by the `owner` and submitted to the `/gas_sponsorship/prepare` endpoint. | false |
27
27
  | `spender` | *string* | :heavy_minus_sign: | The address of the wallet which will send the transaction. This only needs to be set when `action` is 'DEPOSIT' and `gas_sponsorship` is `true`. | |
@@ -7,7 +7,7 @@ Whether you are depositing to or withdrawing from your earn account.
7
7
  ```typescript
8
8
  import { EarnTransferRequestAction } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: EarnTransferRequestAction = "WITHDRAW";
10
+ let value: EarnTransferRequestAction = "DEPOSIT";
11
11
  ```
12
12
 
13
13
  ## Values
@@ -8,12 +8,12 @@ The amount of 'token' to transfer.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.01;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.01";
18
18
  ```
19
19
 
@@ -19,17 +19,12 @@ let value: EarnTransferResponse = {
19
19
  },
20
20
  eip712: {
21
21
  domain: {
22
- chainId: 95340,
22
+ chainId: 359509,
23
23
  verifyingContract: "<value>",
24
24
  },
25
25
  types: {
26
26
  eip712Domain: [],
27
- safeTx: [
28
- {
29
- name: "<value>",
30
- type: "<value>",
31
- },
32
- ],
27
+ safeTx: [],
33
28
  },
34
29
  primaryType: "SafeTx",
35
30
  message: {
@@ -8,17 +8,12 @@
8
8
  ```typescript
9
9
  const value: components.BatchedSafeOperationsResponseOutput = {
10
10
  domain: {
11
- chainId: 95340,
11
+ chainId: 359509,
12
12
  verifyingContract: "<value>",
13
13
  },
14
14
  types: {
15
15
  eip712Domain: [],
16
- safeTx: [
17
- {
18
- name: "<value>",
19
- type: "<value>",
20
- },
21
- ],
16
+ safeTx: [],
22
17
  },
23
18
  primaryType: "SafeTx",
24
19
  message: {
@@ -85,17 +80,17 @@ const value: components.Permit2TypedDataOutput = {
85
80
  ],
86
81
  },
87
82
  domain: {
88
- chainId: 387057,
83
+ chainId: 659817,
89
84
  verifyingContract: "<value>",
90
85
  },
91
86
  message: {
92
87
  permitted: {
93
88
  token: "<value>",
94
- amount: 434763,
89
+ amount: 387057,
95
90
  },
96
91
  spender: "<value>",
97
- nonce: 410419,
98
- deadline: 192156,
92
+ nonce: 382019,
93
+ deadline: 22738,
99
94
  },
100
95
  };
101
96
  ```
@@ -17,8 +17,8 @@ let value: EthenaDepositRequest = {
17
17
  | Field | Type | Required | Description | Example |
18
18
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19
19
  | `actionType` | *"ETHENA_DEPOSIT"* | :heavy_minus_sign: | N/A | ETHENA_DEPOSIT |
20
- | `amount` | *components.EthenaDepositRequestAmount* | :heavy_check_mark: | The amount of USDe to deposit into Ethena's vault. | |
20
+ | `amount` | *components.EthenaDepositRequestAmount* | :heavy_check_mark: | The amount of USDe to deposit into Ethena's vault. | 0.4 |
21
21
  | `receiver` | *string* | :heavy_minus_sign: | The address which will receive the shares (sUSDe) from Ethena's vault representing their proportional ownership of the vault's assets. Defaults to the sender. | |
22
- | `chain` | [components.EthenaDepositRequestChain](../../models/components/ethenadepositrequestchain.md) | :heavy_check_mark: | N/A | |
23
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
22
+ | `chain` | [components.EthenaDepositRequestChain](../../models/components/ethenadepositrequestchain.md) | :heavy_check_mark: | N/A | ethereum |
23
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x5283A28b694ce2748e2dE1071417E5830de06518 |
24
24
  | `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 USDe to deposit into Ethena's vault.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.4;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.4";
18
18
  ```
19
19
 
@@ -18,6 +18,6 @@ let value: EthenaRequestToWithdrawRequest = {
18
18
  | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
19
19
  | `actionType` | *"ETHENA_REQUEST_WITHDRAW"* | :heavy_minus_sign: | N/A | ETHENA_REQUEST_WITHDRAW |
20
20
  | `amount` | *any* | :heavy_check_mark: | The amount of USDe to request to withdraw from Ethena's vault. If set to 'ALL', your total deposited USDe amount will be requested to be withdrawn. | |
21
- | `chain` | [components.EthenaRequestToWithdrawRequestChain](../../models/components/ethenarequesttowithdrawrequestchain.md) | :heavy_check_mark: | N/A | |
22
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
21
+ | `chain` | [components.EthenaRequestToWithdrawRequestChain](../../models/components/ethenarequesttowithdrawrequestchain.md) | :heavy_check_mark: | N/A | ethereum |
22
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x85b049df4E74AFF38c6D79F3c71Ae4C998b69342 |
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 |
@@ -17,6 +17,6 @@ let value: EthenaUnstakeRequest = {
17
17
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
18
18
  | `actionType` | *"ETHENA_UNSTAKE"* | :heavy_minus_sign: | N/A | ETHENA_UNSTAKE |
19
19
  | `receiver` | *string* | :heavy_minus_sign: | The address which will receive the unstaked USDe. Defaults to the sender. | |
20
- | `chain` | [components.EthenaUnstakeRequestChain](../../models/components/ethenaunstakerequestchain.md) | :heavy_check_mark: | N/A | |
21
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
20
+ | `chain` | [components.EthenaUnstakeRequestChain](../../models/components/ethenaunstakerequestchain.md) | :heavy_check_mark: | N/A | ethereum |
21
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xb8340945eBc917D2Aa0368a5e4E79C849c461511 |
22
22
  | `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 @@ Amount of collateral token to supply to Aave
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 1000;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "1000";
18
18
  ```
19
19
 
@@ -8,12 +8,12 @@ Loan To Value percentage of the loop
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 60;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "60";
18
18
  ```
19
19
 
@@ -8,12 +8,12 @@ Maximum allowed slippage for token swaps in percentage
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.5;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.5";
18
18
  ```
19
19
 
@@ -15,8 +15,8 @@ let value: MintPrepareRequest = {
15
15
 
16
16
  ## Fields
17
17
 
18
- | Field | Type | Required | Description |
19
- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
- | `bridgeId` | *string* | :heavy_check_mark: | The bridge identifier returned from /burn endpoint. This is used to look up the bridge session. |
21
- | `burnTxHash` | *string* | :heavy_check_mark: | The transaction hash of the burn transaction on the source chain. This is used to find the DepositForBurn event and extract the CCTP message. |
22
- | `sender` | *string* | :heavy_check_mark: | The wallet address that will sign and send the mint transaction. This can be any wallet, the receiver of the minted USDC is not determined by this sender. |
18
+ | Field | Type | Required | Description | Example |
19
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | `bridgeId` | *string* | :heavy_check_mark: | The bridge identifier returned from /burn endpoint. This is used to look up the bridge session. | br_cae305798062 |
21
+ | `burnTxHash` | *string* | :heavy_check_mark: | The transaction hash of the burn transaction on the source chain. This is used to find the DepositForBurn event and extract the CCTP message. | 0x42c914b870eacc2c1734420f6ab183f95a5b0e0fdbb1c82247183848b76fc8ad |
22
+ | `sender` | *string* | :heavy_check_mark: | The wallet address that will sign and send the mint transaction. This can be any wallet, the receiver of the minted USDC is not determined by this sender. | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
@@ -19,10 +19,10 @@ let value: MorphoBorrowRequest = {
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
21
21
  | `actionType` | *"MORPHO_BORROW"* | :heavy_minus_sign: | N/A | MORPHO_BORROW |
22
- | `amount` | *components.MorphoBorrowRequestAmount* | :heavy_check_mark: | Amount of the token to borrow from the market. | |
23
- | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | |
22
+ | `amount` | *components.MorphoBorrowRequestAmount* | :heavy_check_mark: | Amount of the token to borrow from the market. | 5e-05 |
23
+ | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | 0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5 |
24
24
  | `onBehalfOf` | *string* | :heavy_minus_sign: | The address where the collateral is borrowed against. Defaults to sender. | |
25
25
  | `receiver` | *string* | :heavy_minus_sign: | The address of the receiver of the tokens borrowed. Defaults to the transaction sender. | |
26
- | `chain` | [components.MorphoBorrowRequestChain](../../models/components/morphoborrowrequestchain.md) | :heavy_check_mark: | N/A | |
27
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
26
+ | `chain` | [components.MorphoBorrowRequestChain](../../models/components/morphoborrowrequestchain.md) | :heavy_check_mark: | N/A | base |
27
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x7c90Ee2D90160B072940498DB129E0D6eC14F830 |
28
28
  | `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 @@ Amount of the token to borrow from the market.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.00005;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.00005";
18
18
  ```
19
19
 
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { MorphoBorrowRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: MorphoBorrowRequestChain = "ethereum";
8
+ let value: MorphoBorrowRequestChain = "base";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -18,9 +18,9 @@ let value: MorphoDepositRequest = {
18
18
  | Field | Type | Required | Description | Example |
19
19
  | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
20
20
  | `actionType` | *"MORPHO_DEPOSIT"* | :heavy_minus_sign: | N/A | MORPHO_DEPOSIT |
21
- | `vaultAddress` | *string* | :heavy_check_mark: | The vault address you are depositing to. | |
22
- | `amount` | *components.MorphoDepositRequestAmount* | :heavy_check_mark: | The amount of tokens to deposit into the vault. | |
21
+ | `vaultAddress` | *string* | :heavy_check_mark: | The vault address you are depositing to. | 0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca |
22
+ | `amount` | *components.MorphoDepositRequestAmount* | :heavy_check_mark: | The amount of tokens to deposit into the vault. | 0.5 |
23
23
  | `receiver` | *string* | :heavy_minus_sign: | The address which will receive the shares from the vault representing their proportional ownership of the vault's assets. Defaults to the sender. | |
24
- | `chain` | [components.MorphoDepositRequestChain](../../models/components/morphodepositrequestchain.md) | :heavy_check_mark: | N/A | |
25
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
24
+ | `chain` | [components.MorphoDepositRequestChain](../../models/components/morphodepositrequestchain.md) | :heavy_check_mark: | N/A | base |
25
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xF85272345eDa6aA3c6469C97065a676737e73f87 |
26
26
  | `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 tokens to deposit into the vault.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.5;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.5";
18
18
  ```
19
19
 
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { MorphoDepositRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: MorphoDepositRequestChain = "ethereum";
8
+ let value: MorphoDepositRequestChain = "base";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -20,9 +20,9 @@ let value: MorphoRepayRequest = {
20
20
  | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
21
21
  | `actionType` | *"MORPHO_REPAY"* | :heavy_minus_sign: | N/A | MORPHO_REPAY |
22
22
  | `amount` | *any* | :heavy_check_mark: | Amount of the token to repay to the market. If set to 'ALL', all debt plus interest will be paid back if the user has a sufficient token balance in their wallet. | |
23
- | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | |
23
+ | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | 0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5 |
24
24
  | `onBehalfOf` | *string* | :heavy_minus_sign: | The address on behalf of whom the repayment is made. Defaults to sender. | |
25
25
  | `callbackData` | *Uint8Array* | :heavy_minus_sign: | An optional field for callback byte data that will be triggered upon successful repaying of debt. | |
26
- | `chain` | [components.MorphoRepayRequestChain](../../models/components/morphorepayrequestchain.md) | :heavy_check_mark: | N/A | |
27
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
26
+ | `chain` | [components.MorphoRepayRequestChain](../../models/components/morphorepayrequestchain.md) | :heavy_check_mark: | N/A | base |
27
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xbc267D24E58b429347026346c0C103b8Fa95D93d |
28
28
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -19,10 +19,10 @@ let value: MorphoSupplyCollateralRequest = {
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
21
21
  | `actionType` | *"MORPHO_SUPPLY_COLLATERAL"* | :heavy_minus_sign: | N/A | MORPHO_SUPPLY_COLLATERAL |
22
- | `amount` | *components.MorphoSupplyCollateralRequestAmount* | :heavy_check_mark: | Amount of the token to supply to the market as collateral. | |
23
- | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | |
22
+ | `amount` | *components.MorphoSupplyCollateralRequestAmount* | :heavy_check_mark: | Amount of the token to supply to the market as collateral. | 0.5 |
23
+ | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | 0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5 |
24
24
  | `onBehalfOf` | *string* | :heavy_minus_sign: | The address on behalf of whom the supplied collateral is made. Defaults to sender. | |
25
25
  | `callbackData` | *Uint8Array* | :heavy_minus_sign: | An optional field for callback byte data that will be triggered upon successful supplying of collateral. | |
26
- | `chain` | [components.MorphoSupplyCollateralRequestChain](../../models/components/morphosupplycollateralrequestchain.md) | :heavy_check_mark: | N/A | |
27
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
26
+ | `chain` | [components.MorphoSupplyCollateralRequestChain](../../models/components/morphosupplycollateralrequestchain.md) | :heavy_check_mark: | N/A | base |
27
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x62e25C7CAADca07b5dFB6C52E01329451048632E |
28
28
  | `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 @@ Amount of the token to supply to the market as collateral.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.5;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.5";
18
18
  ```
19
19
 
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { MorphoSupplyCollateralRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: MorphoSupplyCollateralRequestChain = "arbitrum";
8
+ let value: MorphoSupplyCollateralRequestChain = "base";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -19,10 +19,10 @@ let value: MorphoWithdrawCollateralRequest = {
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
21
21
  | `actionType` | *"MORPHO_WITHDRAW_COLLATERAL"* | :heavy_minus_sign: | N/A | MORPHO_WITHDRAW_COLLATERAL |
22
- | `amount` | *components.MorphoWithdrawCollateralRequestAmount* | :heavy_check_mark: | Amount of the token to supply to the market as collateral. | |
23
- | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | |
22
+ | `amount` | *components.MorphoWithdrawCollateralRequestAmount* | :heavy_check_mark: | Amount of the token to supply to the market as collateral. | 0.5 |
23
+ | `uniqueMarketKey` | *string* | :heavy_check_mark: | The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint. | 0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5 |
24
24
  | `onBehalfOf` | *string* | :heavy_minus_sign: | The address on behalf of whom the withdraw is made. Defaults to sender. | |
25
25
  | `receiver` | *string* | :heavy_minus_sign: | The address where the withdrawn collateral will be received. Defaults to sender. | |
26
- | `chain` | [components.MorphoWithdrawCollateralRequestChain](../../models/components/morphowithdrawcollateralrequestchain.md) | :heavy_check_mark: | N/A | |
27
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
26
+ | `chain` | [components.MorphoWithdrawCollateralRequestChain](../../models/components/morphowithdrawcollateralrequestchain.md) | :heavy_check_mark: | N/A | base |
27
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x81d310Eb515E05EB26322e2DeDE9e75b754885A4 |
28
28
  | `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 @@ Amount of the token to supply to the market as collateral.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0.5;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0.5";
18
18
  ```
19
19
 
@@ -18,9 +18,9 @@ let value: MorphoWithdrawRequest = {
18
18
  | Field | Type | Required | Description | Example |
19
19
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
20
20
  | `actionType` | *"MORPHO_WITHDRAW"* | :heavy_minus_sign: | N/A | MORPHO_WITHDRAW |
21
- | `vaultAddress` | *string* | :heavy_check_mark: | The vault address you are withdrawing from. | |
21
+ | `vaultAddress` | *string* | :heavy_check_mark: | The vault address you are withdrawing from. | 0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca |
22
22
  | `amount` | *any* | :heavy_check_mark: | The amount of tokens to withdraw from the vault. If set to 'ALL', your total deposited token amount will be withdrawn. | |
23
23
  | `receiver` | *string* | :heavy_minus_sign: | The address which will receive the tokens withdrawn. Defaults to the sender. | |
24
- | `chain` | [components.MorphoWithdrawRequestChain](../../models/components/morphowithdrawrequestchain.md) | :heavy_check_mark: | N/A | |
25
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
24
+ | `chain` | [components.MorphoWithdrawRequestChain](../../models/components/morphowithdrawrequestchain.md) | :heavy_check_mark: | N/A | base |
25
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xB3B45f5aCBb58a432BDe58724c1C959E11D5A418 |
26
26
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { MorphoWithdrawRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: MorphoWithdrawRequestChain = "arbitrum";
8
+ let value: MorphoWithdrawRequestChain = "base";
9
9
  ```
10
10
 
11
11
  ## Values