@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
@@ -8,12 +8,12 @@ The minimum amount of the first token to deposit
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0";
18
18
  ```
19
19
 
@@ -8,12 +8,12 @@ The desired amount of the second token to deposit
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0";
18
18
  ```
19
19
 
@@ -8,12 +8,12 @@ The minimum amount of the second token to deposit
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 0;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "0";
18
18
  ```
19
19
 
@@ -23,11 +23,11 @@ let value: AerodromeSlipstreamSellExactlyRequest = {
23
23
  | Field | Type | Required | Description | Example |
24
24
  | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
25
25
  | `actionType` | *"AERODROME_SLIPSTREAM_SELL_EXACTLY"* | :heavy_minus_sign: | N/A | AERODROME_SLIPSTREAM_SELL_EXACTLY |
26
- | `tokenIn` | *string* | :heavy_check_mark: | The symbol or address of the token to swap from. | |
27
- | `tokenOut` | *string* | :heavy_check_mark: | The symbol or address of the token to swap to. | |
28
- | `tickSpacing` | *number* | :heavy_check_mark: | The tick spacing of the pool | |
29
- | `amountIn` | *components.AerodromeSlipstreamSellExactlyRequestAmountIn* | :heavy_check_mark: | The amount of the token to swap from | |
26
+ | `tokenIn` | *string* | :heavy_check_mark: | The symbol or address of the token to swap from. | USDC |
27
+ | `tokenOut` | *string* | :heavy_check_mark: | The symbol or address of the token to swap to. | WETH |
28
+ | `tickSpacing` | *number* | :heavy_check_mark: | The tick spacing of the pool | 100 |
29
+ | `amountIn` | *components.AerodromeSlipstreamSellExactlyRequestAmountIn* | :heavy_check_mark: | The amount of the token to swap from | 0.5 |
30
30
  | `amountOutMinimum` | *components.AerodromeSlipstreamSellExactlyRequestAmountOutMinimum* | :heavy_minus_sign: | The minimum amount of the token to swap to, defaults to 0 | 0 |
31
- | `chain` | [components.AerodromeSlipstreamSellExactlyRequestChain](../../models/components/aerodromeslipstreamsellexactlyrequestchain.md) | :heavy_check_mark: | N/A | |
32
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
31
+ | `chain` | [components.AerodromeSlipstreamSellExactlyRequestChain](../../models/components/aerodromeslipstreamsellexactlyrequestchain.md) | :heavy_check_mark: | N/A | base |
32
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xED954266764e163cE73A0bC2aC717226cf73B03E |
33
33
  | `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 the token to swap from
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,8 +18,8 @@ let value: AerodromeSlipstreamWithdrawLiquidityProvisionRequest = {
18
18
  | Field | Type | Required | Description | Example |
19
19
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
20
20
  | `actionType` | *"AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"* | :heavy_minus_sign: | N/A | AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION |
21
- | `tokenId` | *number* | :heavy_check_mark: | Token ID of the NFT representing the liquidity provisioned position. | |
22
- | `percentageForWithdrawal` | *components.AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal* | :heavy_check_mark: | How much liquidity to take out in percentage. | |
23
- | `chain` | [components.AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain](../../models/components/aerodromeslipstreamwithdrawliquidityprovisionrequestchain.md) | :heavy_check_mark: | N/A | |
24
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
21
+ | `tokenId` | *number* | :heavy_check_mark: | Token ID of the NFT representing the liquidity provisioned position. | 10433247 |
22
+ | `percentageForWithdrawal` | *components.AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal* | :heavy_check_mark: | How much liquidity to take out in percentage. | 1 |
23
+ | `chain` | [components.AerodromeSlipstreamWithdrawLiquidityProvisionRequestChain](../../models/components/aerodromeslipstreamwithdrawliquidityprovisionrequestchain.md) | :heavy_check_mark: | N/A | base |
24
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B |
25
25
  | `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 @@ How much liquidity to take out in percentage.
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 1;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "1";
18
18
  ```
19
19
 
@@ -16,7 +16,7 @@ let value: ApproveTransferRequest = {
16
16
 
17
17
  | Field | Type | Required | Description | Example |
18
18
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
19
- | `owner` | *string* | :heavy_check_mark: | The owner of the smart account's address. | |
19
+ | `owner` | *string* | :heavy_check_mark: | The owner of the smart account's address. | 0x01E62835dd7F52173546A325294762143eE4a882 |
20
20
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
21
- | `token` | *string* | :heavy_check_mark: | The token you would like to transfer with gas sponsorship. | |
21
+ | `token` | *string* | :heavy_check_mark: | The token you would like to transfer with gas sponsorship. | USDT |
22
22
  | `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 |
@@ -21,11 +21,16 @@ let value: ApproveTransferResponse = {
21
21
  domain: {
22
22
  name: "<value>",
23
23
  version: "<value>",
24
- chainId: 76014,
24
+ chainId: 829341,
25
25
  verifyingContract: "<value>",
26
26
  },
27
27
  types: {
28
- eip712Domain: [],
28
+ eip712Domain: [
29
+ {
30
+ name: "<value>",
31
+ type: "<value>",
32
+ },
33
+ ],
29
34
  permit: [],
30
35
  },
31
36
  primaryType: "Permit",
@@ -9,30 +9,43 @@ import { BatchedSafeOperationsResponseInput } from "@compass-labs/api-sdk/models
9
9
 
10
10
  let value: BatchedSafeOperationsResponseInput = {
11
11
  domain: {
12
- chainId: 95340,
13
- verifyingContract: "<value>",
12
+ chainId: 42161,
13
+ verifyingContract: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
14
14
  },
15
15
  types: {
16
- eip712Domain: [],
17
- safeTx: [
16
+ eip712Domain: [
18
17
  {
19
- name: "<value>",
20
- type: "<value>",
18
+ name: "name",
19
+ type: "string",
20
+ },
21
+ {
22
+ name: "version",
23
+ type: "string",
24
+ },
25
+ {
26
+ name: "chainId",
27
+ type: "uint256",
28
+ },
29
+ {
30
+ name: "verifyingContract",
31
+ type: "address",
21
32
  },
22
33
  ],
34
+ safeTx: [],
23
35
  },
24
36
  primaryType: "SafeTx",
25
37
  message: {
26
38
  to: "<value>",
27
- value: "<value>",
39
+ value:
40
+ "115792089237316195423570985008687907853269984665640564039457584007913129639935",
28
41
  data: "<value>",
29
- operation: 0,
42
+ operation: 1,
30
43
  safeTxGas: "<value>",
31
44
  baseGas: "<value>",
32
45
  gasPrice: "<value>",
33
46
  gasToken: "<value>",
34
47
  refundReceiver: "<value>",
35
- nonce: "<value>",
48
+ nonce: "0",
36
49
  },
37
50
  };
38
51
  ```
@@ -9,17 +9,12 @@ import { BatchedSafeOperationsResponseOutput } from "@compass-labs/api-sdk/model
9
9
 
10
10
  let value: BatchedSafeOperationsResponseOutput = {
11
11
  domain: {
12
- chainId: 95340,
12
+ chainId: 359509,
13
13
  verifyingContract: "<value>",
14
14
  },
15
15
  types: {
16
16
  eip712Domain: [],
17
- safeTx: [
18
- {
19
- name: "<value>",
20
- type: "<value>",
21
- },
22
- ],
17
+ safeTx: [],
23
18
  },
24
19
  primaryType: "SafeTx",
25
20
  message: {
@@ -30,7 +30,7 @@ let value: BatchedUserOperationsRequest = {
30
30
 
31
31
  | Field | Type | Required | Description | Example |
32
32
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
33
- | `chain` | [components.BatchedUserOperationsRequestChain](../../models/components/batcheduseroperationsrequestchain.md) | :heavy_check_mark: | N/A | |
33
+ | `chain` | [components.BatchedUserOperationsRequestChain](../../models/components/batcheduseroperationsrequestchain.md) | :heavy_check_mark: | N/A | arbitrum |
34
34
  | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
35
35
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
36
- | `operations` | [components.UserOperation](../../models/components/useroperation.md)[] | :heavy_check_mark: | List of possible user operations | |
36
+ | `operations` | [components.UserOperation](../../models/components/useroperation.md)[] | :heavy_check_mark: | List of possible user operations | [<br/>{<br/>"body": {<br/>"action_type": "SET_ALLOWANCE",<br/>"amount": "1000",<br/>"contract": "UniswapV3Router",<br/>"token": "USDC"<br/>}<br/>}<br/>] |
@@ -18,7 +18,7 @@ let value: CreateAccountRequest = {
18
18
 
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
21
- | `chain` | [components.CreateAccountRequestChain](../../models/components/createaccountrequestchain.md) | :heavy_check_mark: | N/A | |
22
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | |
21
+ | `chain` | [components.CreateAccountRequestChain](../../models/components/createaccountrequestchain.md) | :heavy_check_mark: | N/A | base |
22
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x01E62835dd7F52173546A325294762143eE4a882 |
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 |
24
- | `owner` | *string* | :heavy_check_mark: | The address that will own and control the compass account | |
24
+ | `owner` | *string* | :heavy_check_mark: | The address that will own and control the compass account | 0x01E62835dd7F52173546A325294762143eE4a882 |
@@ -5,7 +5,7 @@
5
5
  ```typescript
6
6
  import { CreateAccountRequestChain } from "@compass-labs/api-sdk/models/components";
7
7
 
8
- let value: CreateAccountRequestChain = "ethereum";
8
+ let value: CreateAccountRequestChain = "base";
9
9
  ```
10
10
 
11
11
  ## Values
@@ -19,9 +19,9 @@ let value: DepositForBurnRequest = {
19
19
 
20
20
  | Field | Type | Required | Description | Example |
21
21
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
22
- | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Product Account. | |
23
- | `chain` | [components.DepositForBurnRequestChain](../../models/components/depositforburnrequestchain.md) | :heavy_check_mark: | The source chain where USDC will be burned. | |
24
- | `amount` | *components.DepositForBurnRequestAmount* | :heavy_check_mark: | The amount of USDC to bridge (in token units, e.g., 100.5 for 100.5 USDC). | |
25
- | `destinationChain` | [components.DestinationChain](../../models/components/destinationchain.md) | :heavy_check_mark: | The destination chain where USDC will be minted. | |
22
+ | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Product Account. | 0x01E62835dd7F52173546A325294762143eE4a882 |
23
+ | `chain` | [components.DepositForBurnRequestChain](../../models/components/depositforburnrequestchain.md) | :heavy_check_mark: | The source chain where USDC will be burned. | arbitrum |
24
+ | `amount` | *components.DepositForBurnRequestAmount* | :heavy_check_mark: | The amount of USDC to bridge (in token units, e.g., 100.5 for 100.5 USDC). | 3 |
25
+ | `destinationChain` | [components.DestinationChain](../../models/components/destinationchain.md) | :heavy_check_mark: | The destination chain where USDC will be minted. | base |
26
26
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If set to `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`). | false |
27
27
  | `transferMode` | [components.DepositForBurnRequestTransferMode](../../models/components/depositforburnrequesttransfermode.md) | :heavy_minus_sign: | Transfer speed mode. 'fast': ~30 second transfers using confirmed finality (requires a small fee taken from transfer amount). 'standard': ~15-19 minute transfers using full finality (free, no fee). Default is 'standard'. | standard |
@@ -8,12 +8,12 @@ The amount of USDC to bridge (in token units, e.g., 100.5 for 100.5 USDC).
8
8
  ### `number`
9
9
 
10
10
  ```typescript
11
- const value: number = 1284.03;
11
+ const value: number = 3;
12
12
  ```
13
13
 
14
14
  ### `string`
15
15
 
16
16
  ```typescript
17
- const value: string = "<value>";
17
+ const value: string = "3";
18
18
  ```
19
19
 
@@ -25,17 +25,12 @@ let value: DepositForBurnResponse = {
25
25
  },
26
26
  eip712: {
27
27
  domain: {
28
- chainId: 95340,
28
+ chainId: 359509,
29
29
  verifyingContract: "<value>",
30
30
  },
31
31
  types: {
32
32
  eip712Domain: [],
33
- safeTx: [
34
- {
35
- name: "<value>",
36
- type: "<value>",
37
- },
38
- ],
33
+ safeTx: [],
39
34
  },
40
35
  primaryType: "SafeTx",
41
36
  message: {
@@ -7,7 +7,7 @@ The destination chain where USDC will be minted.
7
7
  ```typescript
8
8
  import { DestinationChain } from "@compass-labs/api-sdk/models/components";
9
9
 
10
- let value: DestinationChain = "arbitrum";
10
+ let value: DestinationChain = "base";
11
11
  ```
12
12
 
13
13
  ## Values
@@ -14,10 +14,10 @@ let value: EarnManageParams = {
14
14
  actionType: "V2_MANAGE",
15
15
  venue: {
16
16
  type: "VAULT",
17
- vaultAddress: "<value>",
17
+ vaultAddress: "0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A",
18
18
  },
19
19
  action: "WITHDRAW",
20
- amount: 3994.36,
20
+ amount: "229.41",
21
21
  };
22
22
  ```
23
23
 
@@ -19,7 +19,7 @@ const value: components.AaveVenue = {
19
19
  ```typescript
20
20
  const value: components.VaultVenue = {
21
21
  type: "VAULT",
22
- vaultAddress: "<value>",
22
+ vaultAddress: "0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A",
23
23
  };
24
24
  ```
25
25
 
@@ -27,10 +27,10 @@ let value: EarnManageRequest = {
27
27
  | Field | Type | Required | Description | Example |
28
28
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
29
29
  | `actionType` | *"V2_MANAGE"* | :heavy_minus_sign: | Action type identifier for manage operations. | V2_MANAGE |
30
- | `venue` | *components.EarnManageRequestVenue* | :heavy_check_mark: | The earn venue. | |
31
- | `action` | [components.EarnManageRequestAction](../../models/components/earnmanagerequestaction.md) | :heavy_check_mark: | Whether you are depositing into or withdrawing from the given Earn `venue`. | |
30
+ | `venue` | *components.EarnManageRequestVenue* | :heavy_check_mark: | The earn venue. | {<br/>"type": "VAULT",<br/>"vault_address": "0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A"<br/>} |
31
+ | `action` | [components.EarnManageRequestAction](../../models/components/earnmanagerequestaction.md) | :heavy_check_mark: | Whether you are depositing into or withdrawing from the given Earn `venue`. | DEPOSIT |
32
32
  | `amount` | *any* | :heavy_check_mark: | Amount of the underlying asset to act on (deposit or withdraw). For VAULT, this is the vault's underlying token; for AAVE, this is the Aave reserve asset. Provide as a decimal in token units (not wei); must be > 0. | |
33
- | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Earn Account. | |
33
+ | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Earn Account. | 0x01E62835dd7F52173546A325294762143eE4a882 |
34
34
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
35
35
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If set to `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`). | false |
36
36
  | `fee` | [components.Fee](../../models/components/fee.md) | :heavy_minus_sign: | Optional fee configuration. If provided, a fee will be applied to the transaction amount and sent to the specified recipient address. The fee can be specified as a percentage of the transaction amount or as a fixed token amount. | |
@@ -19,7 +19,7 @@ const value: components.AaveVenue = {
19
19
  ```typescript
20
20
  const value: components.VaultVenue = {
21
21
  type: "VAULT",
22
- vaultAddress: "<value>",
22
+ vaultAddress: "0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A",
23
23
  };
24
24
  ```
25
25
 
@@ -25,10 +25,10 @@ let value: EarnSwapRequest = {
25
25
  | Field | Type | Required | Description | Example |
26
26
  | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
27
  | `actionType` | *"V2_SWAP"* | :heavy_minus_sign: | Action type identifier for swap operations. | V2_SWAP |
28
- | `tokenIn` | *string* | :heavy_check_mark: | Token to sell (input). Provide a token symbol from a limited set (e.g., 'USDC') or any token address. | |
29
- | `tokenOut` | *string* | :heavy_check_mark: | Token to buy (output). Provide a token symbol from a limited set (e.g., 'USDT') or any token address. | |
30
- | `amountIn` | *components.EarnSwapRequestAmountIn* | :heavy_check_mark: | Human-readable amount of `token_in` to swap (token units, not wei). | |
28
+ | `tokenIn` | *string* | :heavy_check_mark: | Token to sell (input). Provide a token symbol from a limited set (e.g., 'USDC') or any token address. | USDC |
29
+ | `tokenOut` | *string* | :heavy_check_mark: | Token to buy (output). Provide a token symbol from a limited set (e.g., 'USDT') or any token address. | USDT |
30
+ | `amountIn` | *components.EarnSwapRequestAmountIn* | :heavy_check_mark: | Human-readable amount of `token_in` to swap (token units, not wei). | 0.01 |
31
31
  | `slippage` | *components.EarnSwapRequestSlippage* | :heavy_minus_sign: | Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%). | 0.5 |
32
- | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | |
32
+ | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x01E62835dd7F52173546A325294762143eE4a882 |
33
33
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
34
34
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`). | false |
@@ -8,12 +8,12 @@ Human-readable amount of `token_in` to swap (token units, not wei).
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: EarnSwapResponse = {
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: {