@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.
- package/docs/models/components/aavelooprequest.md +15 -15
- package/docs/models/components/aaverepayrequest.md +5 -5
- package/docs/models/components/aaverepayrequestamount.md +2 -2
- package/docs/models/components/aaverepayrequestchain.md +1 -1
- package/docs/models/components/aavesetuseremoderequest.md +3 -3
- package/docs/models/components/aavesetuseremoderequestchain.md +1 -1
- package/docs/models/components/aavesupplyrequest.md +4 -4
- package/docs/models/components/aavesupplyrequestamount.md +2 -2
- package/docs/models/components/aavesupplyrequestchain.md +1 -1
- package/docs/models/components/aavewithdrawrequest.md +5 -5
- package/docs/models/components/aavewithdrawrequestamount.md +2 -2
- package/docs/models/components/aavewithdrawrequestchain.md +1 -1
- package/docs/models/components/aerodromeslipstreambuyexactlyrequest.md +7 -7
- package/docs/models/components/aerodromeslipstreambuyexactlyrequestamountinmaximum.md +2 -2
- package/docs/models/components/aerodromeslipstreambuyexactlyrequestamountout.md +2 -2
- package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.md +7 -7
- package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount0desired.md +2 -2
- package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount0min.md +2 -2
- package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount1desired.md +2 -2
- package/docs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequestamount1min.md +2 -2
- package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequest.md +12 -12
- package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount0desired.md +2 -2
- package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount0min.md +2 -2
- package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount1desired.md +2 -2
- package/docs/models/components/aerodromeslipstreammintliquidityprovisionrequestamount1min.md +2 -2
- package/docs/models/components/aerodromeslipstreamsellexactlyrequest.md +6 -6
- package/docs/models/components/aerodromeslipstreamsellexactlyrequestamountin.md +2 -2
- package/docs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.md +4 -4
- package/docs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequestpercentageforwithdrawal.md +2 -2
- package/docs/models/components/approvetransferrequest.md +2 -2
- package/docs/models/components/approvetransferresponse.md +7 -2
- package/docs/models/components/batchedsafeoperationsresponseinput.md +22 -9
- package/docs/models/components/batchedsafeoperationsresponseoutput.md +2 -7
- package/docs/models/components/batcheduseroperationsrequest.md +2 -2
- package/docs/models/components/createaccountrequest.md +3 -3
- package/docs/models/components/createaccountrequestchain.md +1 -1
- package/docs/models/components/depositforburnrequest.md +4 -4
- package/docs/models/components/depositforburnrequestamount.md +2 -2
- package/docs/models/components/depositforburnresponse.md +2 -7
- package/docs/models/components/destinationchain.md +1 -1
- package/docs/models/components/earnmanageparams.md +2 -2
- package/docs/models/components/earnmanageparamsvenue.md +1 -1
- package/docs/models/components/earnmanagerequest.md +3 -3
- package/docs/models/components/earnmanagerequestvenue.md +1 -1
- package/docs/models/components/earnswaprequest.md +4 -4
- package/docs/models/components/earnswaprequestamountin.md +2 -2
- package/docs/models/components/earnswapresponse.md +2 -7
- package/docs/models/components/earntransferrequest.md +4 -4
- package/docs/models/components/earntransferrequestaction.md +1 -1
- package/docs/models/components/earntransferrequestamount.md +2 -2
- package/docs/models/components/earntransferresponse.md +2 -7
- package/docs/models/components/earntransferresponseeip712.md +6 -11
- package/docs/models/components/ethenadepositrequest.md +3 -3
- package/docs/models/components/ethenadepositrequestamount.md +2 -2
- package/docs/models/components/ethenarequesttowithdrawrequest.md +2 -2
- package/docs/models/components/ethenaunstakerequest.md +2 -2
- package/docs/models/components/initialcollateralamount.md +2 -2
- package/docs/models/components/loantovalue.md +2 -2
- package/docs/models/components/maxslippagepercent.md +2 -2
- package/docs/models/components/mintpreparerequest.md +5 -5
- package/docs/models/components/morphoborrowrequest.md +4 -4
- package/docs/models/components/morphoborrowrequestamount.md +2 -2
- package/docs/models/components/morphoborrowrequestchain.md +1 -1
- package/docs/models/components/morphodepositrequest.md +4 -4
- package/docs/models/components/morphodepositrequestamount.md +2 -2
- package/docs/models/components/morphodepositrequestchain.md +1 -1
- package/docs/models/components/morphorepayrequest.md +3 -3
- package/docs/models/components/morphosupplycollateralrequest.md +4 -4
- package/docs/models/components/morphosupplycollateralrequestamount.md +2 -2
- package/docs/models/components/morphosupplycollateralrequestchain.md +1 -1
- package/docs/models/components/morphowithdrawcollateralrequest.md +4 -4
- package/docs/models/components/morphowithdrawcollateralrequestamount.md +2 -2
- package/docs/models/components/morphowithdrawrequest.md +3 -3
- package/docs/models/components/morphowithdrawrequestchain.md +1 -1
- package/docs/models/components/multicallauthorizationrequest.md +4 -4
- package/docs/models/components/multicallauthorizationrequestchain.md +1 -1
- package/docs/models/components/multicallexecuterequest.md +7 -7
- package/docs/models/components/multiplier.md +2 -2
- package/docs/models/components/odosswaprequest.md +6 -6
- package/docs/models/components/odosswaprequestamountin.md +2 -2
- package/docs/models/components/pendlemanageliquidityrequest.md +7 -7
- package/docs/models/components/pendlemanageliquidityrequestamountin.md +2 -2
- package/docs/models/components/pendlemanageliquidityrequestchain.md +1 -1
- package/docs/models/components/pendleredeemyieldrequest.md +3 -3
- package/docs/models/components/pendletradeptrequest.md +7 -7
- package/docs/models/components/pendletradeptrequestaction.md +1 -1
- package/docs/models/components/pendletradeptrequestamountin.md +2 -2
- package/docs/models/components/pendletradeytrequest.md +7 -7
- package/docs/models/components/pendletradeytrequestaction.md +1 -1
- package/docs/models/components/pendletradeytrequestamountin.md +2 -2
- package/docs/models/components/permit2typeddatainput.md +10 -34
- package/docs/models/components/permit2typeddataoutput.md +4 -4
- package/docs/models/components/permittransferfrommessage.md +1 -1
- package/docs/models/components/permittypeddataresponseinput.md +50 -11
- package/docs/models/components/permittypeddataresponseoutput.md +7 -2
- package/docs/models/components/setallowancerequest.md +5 -5
- package/docs/models/components/setallowancerequestamount.md +2 -2
- package/docs/models/components/setallowancerequestcontractenum.md +1 -1
- package/docs/models/components/setallowancerequestcontractunion.md +1 -1
- package/docs/models/components/signedauthorization.md +6 -6
- package/docs/models/components/skybuyrequest.md +4 -4
- package/docs/models/components/skybuyrequestamount.md +2 -2
- package/docs/models/components/skydepositrequest.md +2 -2
- package/docs/models/components/skydepositrequestamount.md +2 -2
- package/docs/models/components/skysellrequest.md +4 -4
- package/docs/models/components/skysellrequestamount.md +2 -2
- package/docs/models/components/skysellrequesttokenout.md +1 -1
- package/docs/models/components/skywithdrawrequest.md +1 -1
- package/docs/models/components/sponsorgasrequest.md +7 -7
- package/docs/models/components/sponsorgasrequesteip712.md +76 -48
- package/docs/models/components/tokentransferrequest.md +5 -5
- package/docs/models/components/tokentransferrequestamount.md +2 -2
- package/docs/models/components/tokentransferrequestchain.md +1 -1
- package/docs/models/components/uniswapbuyexactlyrequest.md +6 -6
- package/docs/models/components/uniswapbuyexactlyrequestamountout.md +2 -2
- package/docs/models/components/uniswapbuyexactlyrequestchain.md +1 -1
- package/docs/models/components/uniswapincreaseliquidityprovisionrequest.md +7 -7
- package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount0desired.md +2 -2
- package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount0min.md +2 -2
- package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount1desired.md +2 -2
- package/docs/models/components/uniswapincreaseliquidityprovisionrequestamount1min.md +2 -2
- package/docs/models/components/uniswapincreaseliquidityprovisionrequestchain.md +1 -1
- package/docs/models/components/uniswapmintliquidityprovisionrequest.md +11 -11
- package/docs/models/components/uniswapmintliquidityprovisionrequestamount0desired.md +2 -2
- package/docs/models/components/uniswapmintliquidityprovisionrequestamount0min.md +2 -2
- package/docs/models/components/uniswapmintliquidityprovisionrequestamount1desired.md +2 -2
- package/docs/models/components/uniswapmintliquidityprovisionrequestamount1min.md +2 -2
- package/docs/models/components/uniswapsellexactlyrequest.md +6 -6
- package/docs/models/components/uniswapsellexactlyrequestamountin.md +2 -2
- package/docs/models/components/uniswapsellexactlyrequestchain.md +1 -1
- package/docs/models/components/uniswapwithdrawliquidityprovisionrequest.md +4 -4
- package/docs/models/components/uniswapwithdrawliquidityprovisionrequestchain.md +1 -1
- package/docs/models/components/uniswapwithdrawliquidityprovisionrequestpercentageforwithdrawal.md +2 -2
- package/docs/models/components/unwrapwethrequest.md +3 -3
- package/docs/models/components/unwrapwethrequestamount.md +2 -2
- package/docs/models/components/unwrapwethrequestchain.md +1 -1
- package/docs/models/components/v2bundlerequest.md +6 -6
- package/docs/models/components/v2useroperation.md +2 -2
- package/docs/models/components/v2useroperationbody.md +2 -2
- package/docs/models/components/vaultdepositrequest.md +4 -4
- package/docs/models/components/vaultdepositrequestamount.md +2 -2
- package/docs/models/components/vaultvenue.md +1 -1
- package/docs/models/components/vaultwithdrawrequest.md +3 -3
- package/docs/models/components/vaultwithdrawrequestchain.md +1 -1
- package/docs/models/components/wrapethrequest.md +3 -3
- package/docs/models/components/wrapethrequestamount.md +2 -2
- package/docs/models/components/wrapethrequestchain.md +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@ const value: components.EarnManageParams = {
|
|
|
10
10
|
actionType: "V2_MANAGE",
|
|
11
11
|
venue: {
|
|
12
12
|
type: "VAULT",
|
|
13
|
-
vaultAddress: "
|
|
13
|
+
vaultAddress: "0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A",
|
|
14
14
|
},
|
|
15
15
|
action: "WITHDRAW",
|
|
16
|
-
amount:
|
|
16
|
+
amount: "229.41",
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -18,9 +18,9 @@ let value: VaultDepositRequest = {
|
|
|
18
18
|
| Field | Type | Required | Description | Example |
|
|
19
19
|
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
20
20
|
| `actionType` | *"VAULT_DEPOSIT"* | :heavy_minus_sign: | N/A | VAULT_DEPOSIT |
|
|
21
|
-
| `vaultAddress` | *string* | :heavy_check_mark: | The vault address you are depositing to. |
|
|
22
|
-
| `amount` | *components.VaultDepositRequestAmount* | :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. | 0xfdB431E661372fA1146efB70bf120ECDed944a78 |
|
|
22
|
+
| `amount` | *components.VaultDepositRequestAmount* | :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.VaultDepositRequestChain](../../models/components/vaultdepositrequestchain.md) | :heavy_check_mark: | N/A |
|
|
25
|
-
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. |
|
|
24
|
+
| `chain` | [components.VaultDepositRequestChain](../../models/components/vaultdepositrequestchain.md) | :heavy_check_mark: | N/A | base |
|
|
25
|
+
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x38EBf6c7D836f476cEE7DD093Ca43Bbc08e4Cc91 |
|
|
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 =
|
|
11
|
+
const value: number = 0.5;
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
### `string`
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
const value: string = "
|
|
17
|
+
const value: string = "0.5";
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -18,9 +18,9 @@ let value: VaultWithdrawRequest = {
|
|
|
18
18
|
| Field | Type | Required | Description | Example |
|
|
19
19
|
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
20
20
|
| `actionType` | *"VAULT_WITHDRAW"* | :heavy_minus_sign: | N/A | VAULT_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. | 0xfdB431E661372fA1146efB70bf120ECDed944a78 |
|
|
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.VaultWithdrawRequestChain](../../models/components/vaultwithdrawrequestchain.md) | :heavy_check_mark: | N/A |
|
|
25
|
-
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. |
|
|
24
|
+
| `chain` | [components.VaultWithdrawRequestChain](../../models/components/vaultwithdrawrequestchain.md) | :heavy_check_mark: | N/A | base |
|
|
25
|
+
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x52680FEe4CC87AFB748F98F9B2f8D80190b8EF2c |
|
|
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 |
|
|
@@ -19,7 +19,7 @@ let value: WrapEthRequest = {
|
|
|
19
19
|
| Field | Type | Required | Description | Example |
|
|
20
20
|
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
21
21
|
| `actionType` | *"WRAP_ETH"* | :heavy_minus_sign: | N/A | WRAP_ETH |
|
|
22
|
-
| `amount` | *components.WrapEthRequestAmount* | :heavy_check_mark: | The amount of ETH to wrap. |
|
|
23
|
-
| `chain` | [components.WrapEthRequestChain](../../models/components/wrapethrequestchain.md) | :heavy_check_mark: | N/A |
|
|
24
|
-
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. |
|
|
22
|
+
| `amount` | *components.WrapEthRequestAmount* | :heavy_check_mark: | The amount of ETH to wrap. | 0.000001 |
|
|
23
|
+
| `chain` | [components.WrapEthRequestChain](../../models/components/wrapethrequestchain.md) | :heavy_check_mark: | N/A | base |
|
|
24
|
+
| `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0xdc3db667461DeE4881E73469c144FAe21eE920A2 |
|
|
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 @@ The amount of ETH to wrap.
|
|
|
8
8
|
### `number`
|
|
9
9
|
|
|
10
10
|
```typescript
|
|
11
|
-
const value: number =
|
|
11
|
+
const value: number = 0.000001;
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
### `string`
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
const value: string = "
|
|
17
|
+
const value: string = "0.000001";
|
|
18
18
|
```
|
|
19
19
|
|