@cobo/cobo-waas2 1.24.0 → 1.26.0
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/README.md +45 -6
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +2 -2
- package/dist/api/ComplianceApi.js +132 -2
- package/dist/api/DevelopersWebhooksApi.js +2 -2
- package/dist/api/FeeStationApi.js +6 -6
- package/dist/api/PaymentApi.js +109 -24
- package/dist/api/TokenizationApi.js +122 -4
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/index.js +217 -14
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AutoFuelType.js +5 -0
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BridgingFee.js +4 -4
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +2 -2
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
- package/dist/model/CreateCryptoAddressRequest.js +1 -1
- package/dist/model/CreateMerchantRequest.js +2 -2
- package/dist/model/CreateOrderLinkRequest.js +129 -0
- package/dist/model/CreatePaymentOrderRequest.js +21 -8
- package/dist/model/CreateRefundLinkRequest.js +129 -0
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateSettlement.js +2 -28
- package/dist/model/CreateSettlementRequestRequest.js +3 -3
- package/dist/model/CustodialTransferDestination.js +1 -1
- package/dist/model/FeeStationCheckFeeStationUsage.js +28 -10
- package/dist/model/FeeStationCheckFeeStationUsageResponse.js +33 -20
- package/dist/model/FeeStationSponsorTransactionDescription.js +125 -0
- package/dist/model/FundsStatusType.js +111 -0
- package/dist/model/KytScreeningsDecisionsType.js +71 -0
- package/dist/model/KytScreeningsEventData.js +155 -0
- package/dist/model/KytScreeningsReviewType.js +61 -0
- package/dist/model/KytScreeningsTransaction.js +144 -0
- package/dist/model/KytScreeningsTransactionType.js +61 -0
- package/dist/model/Link.js +125 -0
- package/dist/model/LinkDisplayInfo.js +100 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/Merchant.js +3 -3
- package/dist/model/MerchantBalance.js +1 -1
- package/dist/model/Order.js +13 -0
- package/dist/model/OrderLinkBusinessInfo.js +261 -0
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +125 -0
- package/dist/model/OtcFee.js +3 -3
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentEstimateFee.js +4 -4
- package/dist/model/PaymentEstimateFee201Response.js +1 -0
- package/dist/model/PaymentEstimateFeeRequest.js +2 -1
- package/dist/model/PaymentEstimatedFee.js +4 -4
- package/dist/model/PaymentOrderEventData.js +26 -3
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +12 -7
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +1 -1
- package/dist/model/RefundLinkBusinessInfo.js +162 -0
- package/dist/model/RefundStatus.js +10 -0
- package/dist/model/ReviewStatusType.js +91 -0
- package/dist/model/Settlement.js +2 -2
- package/dist/model/SubmitKytResponse.js +122 -0
- package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
- package/dist/model/SubmitKytScreeningsReviewBody.js +122 -0
- package/dist/model/SupportedToken.js +1 -1
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapQuote.js +18 -18
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokenizationERC20TokenParams.js +5 -5
- package/dist/model/{TokenizationTokenPermissionParams.js → TokenizationERC20TokenPermissionParams.js} +23 -23
- package/dist/model/TokenizationERC20WrappedTokenParams.js +177 -0
- package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +166 -0
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +38 -11
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +72 -10
- package/dist/model/TokenizationListPermissionsResponse.js +146 -0
- package/dist/model/TokenizationListPermissionsResponseDataInner.js +126 -0
- package/dist/model/TokenizationOperationType.js +5 -0
- package/dist/model/TokenizationPermissionAction.js +66 -0
- package/dist/model/TokenizationSOLWrappedTokenParams.js +177 -0
- package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +127 -0
- package/dist/model/TokenizationTokenDetailInfo.js +51 -5
- package/dist/model/TokenizationTokenInfo.js +26 -4
- package/dist/model/TokenizationTokenPermissionType.js +5 -0
- package/dist/model/TokenizationTokenStandard.js +10 -0
- package/dist/model/{TokenizationTokenPermissionsResponse.js → TokenizationUpdateAddressPermissions.js} +51 -53
- package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +198 -0
- package/dist/model/TokenizationUpdatePermissionsParams.js +145 -0
- package/dist/model/TokenizationUpdatePermissionsRequest.js +213 -0
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionCoboCategory.js +35 -0
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +64 -12
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AutoFuelType.md +2 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BridgingFee.md +3 -3
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +1 -1
- package/docs/ComplianceApi.md +158 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
- package/docs/CreateCryptoAddressRequest.md +1 -1
- package/docs/CreateMerchantRequest.md +2 -2
- package/docs/CreateOrderLinkRequest.md +10 -0
- package/docs/CreatePaymentOrderRequest.md +6 -5
- package/docs/CreateRefundLinkRequest.md +10 -0
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateSettlement.md +1 -3
- package/docs/CreateSettlementRequestRequest.md +3 -3
- package/docs/DevelopersWebhooksApi.md +1 -1
- package/docs/FeeStationApi.md +4 -4
- package/docs/FeeStationCheckFeeStationUsage.md +4 -2
- package/docs/FeeStationCheckFeeStationUsageResponse.md +4 -3
- package/docs/FeeStationSponsorTransactionDescription.md +10 -0
- package/docs/FundsStatusType.md +32 -0
- package/docs/KytScreeningsDecisionsType.md +16 -0
- package/docs/KytScreeningsEventData.md +13 -0
- package/docs/KytScreeningsReviewType.md +12 -0
- package/docs/KytScreeningsTransaction.md +12 -0
- package/docs/KytScreeningsTransactionType.md +12 -0
- package/docs/Link.md +10 -0
- package/docs/LinkDisplayInfo.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/Merchant.md +2 -2
- package/docs/MerchantBalance.md +1 -1
- package/docs/Order.md +1 -0
- package/docs/OrderLinkBusinessInfo.md +19 -0
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
- package/docs/OtcFee.md +2 -2
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentApi.md +118 -12
- package/docs/PaymentEstimateFee.md +2 -2
- package/docs/PaymentEstimateFee201Response.md +1 -1
- package/docs/PaymentEstimateFeeRequest.md +1 -1
- package/docs/PaymentEstimatedFee.md +2 -2
- package/docs/PaymentOrderEventData.md +4 -1
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +5 -3
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +1 -1
- package/docs/RefundLinkBusinessInfo.md +13 -0
- package/docs/RefundStatus.md +4 -0
- package/docs/ReviewStatusType.md +24 -0
- package/docs/Settlement.md +2 -2
- package/docs/SubmitKytResponse.md +10 -0
- package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
- package/docs/SubmitKytScreeningsReviewBody.md +10 -0
- package/docs/SupportedToken.md +1 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapQuote.md +10 -10
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokenizationApi.md +120 -2
- package/docs/TokenizationERC20TokenParams.md +1 -1
- package/docs/{TokenizationTokenPermissionParams.md → TokenizationERC20TokenPermissionParams.md} +1 -1
- package/docs/TokenizationERC20WrappedTokenParams.md +14 -0
- package/docs/TokenizationERC20WrappedTokenPermissionParams.md +15 -0
- package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -1
- package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -1
- package/docs/TokenizationListPermissionsResponse.md +10 -0
- package/docs/TokenizationListPermissionsResponseDataInner.md +10 -0
- package/docs/TokenizationOperationType.md +2 -0
- package/docs/TokenizationPermissionAction.md +14 -0
- package/docs/TokenizationSOLWrappedTokenParams.md +14 -0
- package/docs/TokenizationSolWrappedTokenPermissionParams.md +12 -0
- package/docs/TokenizationTokenDetailInfo.md +3 -0
- package/docs/TokenizationTokenInfo.md +2 -0
- package/docs/TokenizationTokenPermissionType.md +2 -0
- package/docs/TokenizationTokenStandard.md +4 -0
- package/docs/TokenizationUpdateAddressPermissions.md +11 -0
- package/docs/TokenizationUpdatePermissionsEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdatePermissionsParams.md +10 -0
- package/docs/TokenizationUpdatePermissionsRequest.md +13 -0
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionCoboCategory.md +14 -0
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +2 -2
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WebhookEventData.md +10 -4
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
- package/docs/TokenizationTokenPermissionsResponse.md +0 -10
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
|
|
8
8
|
**transaction_id** | **String** | The transaction ID. |
|
|
9
9
|
**cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
|
|
10
10
|
**request_id** | **String** | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
@@ -79,6 +79,8 @@ Name | Type | Description | Notes
|
|
|
79
79
|
|
|
80
80
|
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
81
81
|
|
|
82
|
+
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
83
|
+
|
|
82
84
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
83
85
|
|
|
84
86
|
|
package/docs/PspBalance.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**developer_fee_amount** | **String** | The total amount of the token that has been received as developer fee. | [optional]
|
|
9
9
|
**settled_amount** | **String** | The total amount of the token that has been paid out from the developer's balance. | [optional]
|
|
10
10
|
**refunded_amount** | **String** | The total amount of the token that has been refunded from the developer's balance. | [optional]
|
|
11
|
-
**total_balance** | **String** | The total balance of the token available for payout or refund for the developer. `total_balance` = `developer_fee_amount` - `settled_amount` - `refunded_amount` For more information, please refer to [
|
|
11
|
+
**total_balance** | **String** | The total balance of the token available for payout or refund for the developer. `total_balance` = `developer_fee_amount` - `settled_amount` - `refunded_amount` For more information, please refer to [Funds allocation and balances](https://www.cobo.com/developers/v2/payments/amounts-and-balances) | [optional]
|
|
12
12
|
**available_balance** | **String** | This field has been deprecated. | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.RefundLinkBusinessInfo
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The transaction ID. |
|
|
8
|
+
**amount** | **String** | The amount to refund in cryptocurrency. |
|
|
9
|
+
**refund_source** | [**RefundType**](RefundType.md) | |
|
|
10
|
+
**merchant_id** | **String** | The merchant ID, required if the refund amount source is `Merchant`. | [optional]
|
|
11
|
+
**fee_amount** | **String** | The amount of the transaction fee that the merchant will bear for the refund. | [optional]
|
|
12
|
+
|
|
13
|
+
|
package/docs/RefundStatus.md
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CoboWaas2.ReviewStatusType
|
|
2
|
+
|
|
3
|
+
## Enum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* `PendingScreening` (value: `"PendingScreening"`)
|
|
7
|
+
|
|
8
|
+
* `Screened` (value: `"Screened"`)
|
|
9
|
+
|
|
10
|
+
* `PendingDecision` (value: `"PendingDecision"`)
|
|
11
|
+
|
|
12
|
+
* `PendingReview` (value: `"PendingReview"`)
|
|
13
|
+
|
|
14
|
+
* `Approved` (value: `"Approved"`)
|
|
15
|
+
|
|
16
|
+
* `Rejected` (value: `"Rejected"`)
|
|
17
|
+
|
|
18
|
+
* `Unsupported` (value: `"Unsupported"`)
|
|
19
|
+
|
|
20
|
+
* `Bypassed` (value: `"Bypassed"`)
|
|
21
|
+
|
|
22
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
23
|
+
|
|
24
|
+
|
package/docs/Settlement.md
CHANGED
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
|
|
15
15
|
**payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
|
|
16
16
|
**settlement_type** | [**SettlementType**](SettlementType.md) | | [optional]
|
|
17
|
-
**currency** | **String** | The fiat currency for the
|
|
18
|
-
**received_amount_fiat** | **String** | The
|
|
17
|
+
**currency** | **String** | The fiat currency for the off-ramp. | [optional]
|
|
18
|
+
**received_amount_fiat** | **String** | The estimated amount of the fiat currency to receive after off-ramping. This amount is subject to change due to bank transfer fees. | [optional]
|
|
19
19
|
**bank_account** | [**BankAccount**](BankAccount.md) | | [optional]
|
|
20
20
|
|
|
21
21
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.SubmitKytResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction being processed for KYT screening. |
|
|
8
|
+
**submitted** | **Boolean** | Indicates whether the KYT review result was successfully submitted. |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.SubmitKytScreeningsDecisionsBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction for KYT result submission. This identifies the specific transaction that the external KYT result applies to. |
|
|
8
|
+
**result** | [**KytScreeningsDecisionsType**](KytScreeningsDecisionsType.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.SubmitKytScreeningsReviewBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**transaction_id** | **String** | The UUID of the transaction that requires a manual KYT review. |
|
|
8
|
+
**result** | [**KytScreeningsReviewType**](KytScreeningsReviewType.md) | |
|
|
9
|
+
|
|
10
|
+
|
package/docs/SupportedToken.md
CHANGED
|
@@ -13,6 +13,6 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**chain_symbol** | **String** | Symbol of the underlying blockchain |
|
|
14
14
|
**chain_icon_url** | **String** | URL to the blockchain's icon image | [optional]
|
|
15
15
|
**token_icon_url** | **String** | URL to the token's icon image | [optional]
|
|
16
|
-
**can_off_ramp** | **Boolean** | Whether the token
|
|
16
|
+
**can_off_ramp** | **Boolean** | Whether the token is supported by the off-ramp service. | [optional]
|
|
17
17
|
|
|
18
18
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
|
|
8
8
|
**token_ids** | **String** | A list of token IDs, separated by comma. |
|
|
9
9
|
**operation_type** | [**SuspendedTokenOperationType**](SuspendedTokenOperationType.md) | |
|
|
10
10
|
|
|
@@ -45,6 +45,8 @@ Name | Type | Description | Notes
|
|
|
45
45
|
|
|
46
46
|
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
47
47
|
|
|
48
|
+
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
49
|
+
|
|
48
50
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
49
51
|
|
|
50
52
|
|
package/docs/SwapQuote.md
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**quote_id** | **String** | The unique
|
|
8
|
-
**pay_token_id** | **String** | The ID
|
|
9
|
-
**pay_amount** | **String** | The amount of
|
|
10
|
-
**receive_token_id** | **String** | The ID
|
|
11
|
-
**receive_amount** | **String** | The amount of
|
|
12
|
-
**fee_token_id** | **String** | The ID
|
|
13
|
-
**fee_amount** | **String** | The amount of
|
|
14
|
-
**min_receive_amount** | **String** | The minimum amount of
|
|
15
|
-
**max_pay_amount** | **String** | The maximum amount of
|
|
16
|
-
**quote_expired_timestamp** | **Number** | The time when the
|
|
7
|
+
**quote_id** | **String** | The unique id of quote. |
|
|
8
|
+
**pay_token_id** | **String** | The token ID to pay. |
|
|
9
|
+
**pay_amount** | **String** | The amount of tokens to pay. |
|
|
10
|
+
**receive_token_id** | **String** | The token ID to receive. |
|
|
11
|
+
**receive_amount** | **String** | The amount of tokens to receive. |
|
|
12
|
+
**fee_token_id** | **String** | The token ID for the service fee. |
|
|
13
|
+
**fee_amount** | **String** | The amount of tokens for the service fee. |
|
|
14
|
+
**min_receive_amount** | **String** | The minimum amount of tokens to receive if the pay amount is specified. | [optional]
|
|
15
|
+
**max_pay_amount** | **String** | The maximum amount of tokens to pay if the receive amount is specified. | [optional]
|
|
16
|
+
**quote_expired_timestamp** | **Number** | The time when the quote will expire, in Unix timestamp format, measured in milliseconds. |
|
|
17
17
|
|
|
18
18
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
|
|
8
8
|
**tss_request_id** | **String** | The TSS request ID. | [optional]
|
|
9
9
|
**source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
|
|
10
10
|
**target_key_share_holder_group_id** | **String** | The target key share holder group ID. | [optional]
|
|
@@ -50,6 +50,8 @@ Name | Type | Description | Notes
|
|
|
50
50
|
|
|
51
51
|
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
52
52
|
|
|
53
|
+
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
54
|
+
|
|
53
55
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
54
56
|
|
|
55
57
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. |
|
|
7
|
+
**data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. |
|
|
8
8
|
**request_id** | **String** | The unique identifier of the token listing request. |
|
|
9
9
|
**chain_id** | **String** | The ID of the blockchain where the token is deployed. |
|
|
10
10
|
**contract_address** | **String** | The token's contract address on the specified blockchain. |
|
|
@@ -54,6 +54,8 @@ Name | Type | Description | Notes
|
|
|
54
54
|
|
|
55
55
|
* `ComplianceDisposition` (value: `"ComplianceDisposition"`)
|
|
56
56
|
|
|
57
|
+
* `ComplianceKytScreenings` (value: `"ComplianceKytScreenings"`)
|
|
58
|
+
|
|
57
59
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
58
60
|
|
|
59
61
|
|
package/docs/TokenizationApi.md
CHANGED
|
@@ -15,6 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
[**listTokenizationAllowlistAddresses**](TokenizationApi.md#listTokenizationAllowlistAddresses) | **GET** /tokenization/tokens/{token_id}/allowlist/addresses | List addresses on allowlist
|
|
16
16
|
[**listTokenizationBlocklistAddresses**](TokenizationApi.md#listTokenizationBlocklistAddresses) | **GET** /tokenization/tokens/{token_id}/blocklist/addresses | List addresses on blocklist
|
|
17
17
|
[**listTokenizationHoldings**](TokenizationApi.md#listTokenizationHoldings) | **GET** /tokenization/tokens/{token_id}/holdings | Get token holdings information
|
|
18
|
+
[**listTokenizationPermissions**](TokenizationApi.md#listTokenizationPermissions) | **GET** /tokenization/tokens/{token_id}/permissions | List token permissions
|
|
18
19
|
[**listTokenizationSupportedChains**](TokenizationApi.md#listTokenizationSupportedChains) | **GET** /tokenization/enabled_chains | List supported chains for tokenization
|
|
19
20
|
[**mintTokenization**](TokenizationApi.md#mintTokenization) | **POST** /tokenization/tokens/{token_id}/mint | Mint tokens
|
|
20
21
|
[**pauseTokenization**](TokenizationApi.md#pauseTokenization) | **POST** /tokenization/tokens/{token_id}/pause | Pause token contract
|
|
@@ -23,6 +24,7 @@ Method | HTTP request | Description
|
|
|
23
24
|
[**updateTokenizationAllowlistActivation**](TokenizationApi.md#updateTokenizationAllowlistActivation) | **POST** /tokenization/tokens/{token_id}/allowlist/activation | Activate or deactivate allowlist
|
|
24
25
|
[**updateTokenizationAllowlistAddresses**](TokenizationApi.md#updateTokenizationAllowlistAddresses) | **POST** /tokenization/tokens/{token_id}/allowlist/addresses | Update addresses on allowlist
|
|
25
26
|
[**updateTokenizationBlocklistAddresses**](TokenizationApi.md#updateTokenizationBlocklistAddresses) | **POST** /tokenization/tokens/{token_id}/blocklist/addresses | Update addresses on blocklist
|
|
27
|
+
[**updateTokenizationPermissions**](TokenizationApi.md#updateTokenizationPermissions) | **POST** /tokenization/tokens/{token_id}/permissions | Update token permissions
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
|
|
@@ -32,7 +34,7 @@ Method | HTTP request | Description
|
|
|
32
34
|
|
|
33
35
|
Burn tokens
|
|
34
36
|
|
|
35
|
-
This operation burns tokens from a specified address. Creates a burn transaction that will decrease the token supply.
|
|
37
|
+
This operation burns tokens from a specified address. Creates a burn transaction that will decrease the token supply. **Note**: This operation is not supported for CoboERC20Wrapper and SOLWrapper tokens.
|
|
36
38
|
|
|
37
39
|
### Example
|
|
38
40
|
|
|
@@ -636,6 +638,68 @@ Name | Type | Description | Notes
|
|
|
636
638
|
- **Accept**: application/json
|
|
637
639
|
|
|
638
640
|
|
|
641
|
+
## listTokenizationPermissions
|
|
642
|
+
|
|
643
|
+
> TokenizationListPermissionsResponse listTokenizationPermissions(token_id, opts)
|
|
644
|
+
|
|
645
|
+
List token permissions
|
|
646
|
+
|
|
647
|
+
This operation retrieves the permission settings for a tokenization contract.
|
|
648
|
+
|
|
649
|
+
### Example
|
|
650
|
+
|
|
651
|
+
```javascript
|
|
652
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
653
|
+
// Initialize the API client
|
|
654
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
655
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
656
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
657
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
658
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
659
|
+
// Call the API
|
|
660
|
+
const apiInstance = new CoboWaas2.TokenizationApi();
|
|
661
|
+
const token_id = "ETH_USDT";
|
|
662
|
+
const opts = {
|
|
663
|
+
'address': "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
|
|
664
|
+
'limit': 10,
|
|
665
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk",
|
|
666
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
667
|
+
'direction': "ASC"
|
|
668
|
+
};
|
|
669
|
+
apiInstance.listTokenizationPermissions(token_id, opts).then((data) => {
|
|
670
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
671
|
+
}, (error) => {
|
|
672
|
+
console.error(error);
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
### Parameters
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
Name | Type | Description | Notes
|
|
681
|
+
------------- | ------------- | ------------- | -------------
|
|
682
|
+
**token_id** | **String**| The token ID, which is the unique identifier of a token. |
|
|
683
|
+
**address** | **String**| The address to query permissions for. If not provided, returns all addresses with permissions. | [optional]
|
|
684
|
+
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
685
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
686
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
687
|
+
**direction** | **String**| The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. | [optional] [default to 'ASC']
|
|
688
|
+
|
|
689
|
+
### Return type
|
|
690
|
+
|
|
691
|
+
[**TokenizationListPermissionsResponse**](TokenizationListPermissionsResponse.md)
|
|
692
|
+
|
|
693
|
+
### Authorization
|
|
694
|
+
|
|
695
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
696
|
+
|
|
697
|
+
### HTTP request headers
|
|
698
|
+
|
|
699
|
+
- **Content-Type**: Not defined
|
|
700
|
+
- **Accept**: application/json
|
|
701
|
+
|
|
702
|
+
|
|
639
703
|
## listTokenizationSupportedChains
|
|
640
704
|
|
|
641
705
|
> TokenizationListEnabledChainsResponse listTokenizationSupportedChains(opts)
|
|
@@ -657,6 +721,7 @@ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
|
657
721
|
// Call the API
|
|
658
722
|
const apiInstance = new CoboWaas2.TokenizationApi();
|
|
659
723
|
const opts = {
|
|
724
|
+
'token_standard': new CoboWaas2.TokenizationTokenStandard(),
|
|
660
725
|
'limit': 10,
|
|
661
726
|
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk",
|
|
662
727
|
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1"
|
|
@@ -674,6 +739,7 @@ apiInstance.listTokenizationSupportedChains(opts).then((data) => {
|
|
|
674
739
|
|
|
675
740
|
Name | Type | Description | Notes
|
|
676
741
|
------------- | ------------- | ------------- | -------------
|
|
742
|
+
**token_standard** | [**TokenizationTokenStandard**](.md)| Filter by token standard. | [optional]
|
|
677
743
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
678
744
|
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
679
745
|
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
@@ -698,7 +764,7 @@ Name | Type | Description | Notes
|
|
|
698
764
|
|
|
699
765
|
Mint tokens
|
|
700
766
|
|
|
701
|
-
This operation mints new tokens to a specified address. Creates a mint transaction that will increase the token supply.
|
|
767
|
+
This operation mints new tokens to a specified address. Creates a mint transaction that will increase the token supply. **Note**: This operation is not supported for CoboERC20Wrapper and SOLWrapper tokens.
|
|
702
768
|
|
|
703
769
|
### Example
|
|
704
770
|
|
|
@@ -1067,3 +1133,55 @@ Name | Type | Description | Notes
|
|
|
1067
1133
|
- **Content-Type**: application/json
|
|
1068
1134
|
- **Accept**: application/json
|
|
1069
1135
|
|
|
1136
|
+
|
|
1137
|
+
## updateTokenizationPermissions
|
|
1138
|
+
|
|
1139
|
+
> TokenizationOperationResponse updateTokenizationPermissions(token_id, TokenizationUpdatePermissionsRequest)
|
|
1140
|
+
|
|
1141
|
+
Update token permissions
|
|
1142
|
+
|
|
1143
|
+
This operation updates permission settings for a tokenization contract.
|
|
1144
|
+
|
|
1145
|
+
### Example
|
|
1146
|
+
|
|
1147
|
+
```javascript
|
|
1148
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
1149
|
+
// Initialize the API client
|
|
1150
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
1151
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
1152
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
1153
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
1154
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
1155
|
+
// Call the API
|
|
1156
|
+
const apiInstance = new CoboWaas2.TokenizationApi();
|
|
1157
|
+
const token_id = "ETH_USDT";
|
|
1158
|
+
const TokenizationUpdatePermissionsRequest = new CoboWaas2.TokenizationUpdatePermissionsRequest();
|
|
1159
|
+
apiInstance.updateTokenizationPermissions(token_id, TokenizationUpdatePermissionsRequest).then((data) => {
|
|
1160
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
1161
|
+
}, (error) => {
|
|
1162
|
+
console.error(error);
|
|
1163
|
+
});
|
|
1164
|
+
|
|
1165
|
+
```
|
|
1166
|
+
|
|
1167
|
+
### Parameters
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
Name | Type | Description | Notes
|
|
1171
|
+
------------- | ------------- | ------------- | -------------
|
|
1172
|
+
**token_id** | **String**| The token ID, which is the unique identifier of a token. |
|
|
1173
|
+
**TokenizationUpdatePermissionsRequest** | [**TokenizationUpdatePermissionsRequest**](TokenizationUpdatePermissionsRequest.md)| The request body for managing permissions. |
|
|
1174
|
+
|
|
1175
|
+
### Return type
|
|
1176
|
+
|
|
1177
|
+
[**TokenizationOperationResponse**](TokenizationOperationResponse.md)
|
|
1178
|
+
|
|
1179
|
+
### Authorization
|
|
1180
|
+
|
|
1181
|
+
[OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
|
|
1182
|
+
|
|
1183
|
+
### HTTP request headers
|
|
1184
|
+
|
|
1185
|
+
- **Content-Type**: application/json
|
|
1186
|
+
- **Accept**: application/json
|
|
1187
|
+
|
|
@@ -9,6 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**symbol** | **String** | The symbol of the token. |
|
|
10
10
|
**decimals** | **Number** | The number of decimals for the token (0-18). |
|
|
11
11
|
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. When activated, only addresses in the allowlist can perform token operations. | [optional] [default to false]
|
|
12
|
-
**permissions** | [**
|
|
12
|
+
**permissions** | [**TokenizationERC20TokenPermissionParams**](TokenizationERC20TokenPermissionParams.md) | | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationERC20WrappedTokenParams
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**standard** | [**TokenizationTokenStandard**](TokenizationTokenStandard.md) | |
|
|
8
|
+
**name** | **String** | The name of the token. |
|
|
9
|
+
**symbol** | **String** | The symbol of the token. |
|
|
10
|
+
**permissions** | [**TokenizationERC20WrappedTokenPermissionParams**](TokenizationERC20WrappedTokenPermissionParams.md) | | [optional]
|
|
11
|
+
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. When activated, only addresses in the allowlist can perform token operations. | [optional] [default to false]
|
|
12
|
+
**underlying_token** | **String** | The address of the underlying token that this tokenized asset represents. |
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationERC20WrappedTokenPermissionParams
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**admin** | **[String]** | List of addresses for the admin role. | [optional]
|
|
8
|
+
**minter** | **[String]** | List of addresses for the minter role. | [optional]
|
|
9
|
+
**wrapper** | **[String]** | List of addresses for the wrapper role. | [optional]
|
|
10
|
+
**manager** | **[String]** | List of addresses for the manager role. | [optional]
|
|
11
|
+
**pauser** | **[String]** | List of addresses for the pauser role. | [optional]
|
|
12
|
+
**salvager** | **[String]** | List of addresses for the salvager role. | [optional]
|
|
13
|
+
**upgrader** | **[String]** | List of addresses for the upgrader role. | [optional]
|
|
14
|
+
|
|
15
|
+
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**token_id** | **String** | The ID of the token. |
|
|
14
14
|
**burns** | [**[TokenizationBurnTokenParamsBurnsInner]**](TokenizationBurnTokenParamsBurnsInner.md) | Details for each token burn, including amount and address to burn from. |
|
|
15
15
|
**action** | [**TokenizationUpdateAddressAction**](TokenizationUpdateAddressAction.md) | |
|
|
16
|
-
**addresses** | [**[
|
|
16
|
+
**addresses** | [**[TokenizationUpdateAddressPermissions]**](TokenizationUpdateAddressPermissions.md) | |
|
|
17
17
|
**activation** | **Boolean** | Whether to activate the allowlist feature for the token. |
|
|
18
18
|
**data** | [**TokenizationContractCallParamsData**](TokenizationContractCallParamsData.md) | | [optional]
|
|
19
19
|
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**symbol** | **String** | The symbol of the token. |
|
|
10
10
|
**decimals** | **Number** | The number of decimals for the token (0-18). |
|
|
11
11
|
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. When activated, only addresses in the allowlist can perform token operations. | [optional] [default to false]
|
|
12
|
-
**permissions** | [**
|
|
12
|
+
**permissions** | [**TokenizationSolWrappedTokenPermissionParams**](TokenizationSolWrappedTokenPermissionParams.md) | | [optional]
|
|
13
|
+
**underlying_token** | **String** | The address of the underlying token that this tokenized asset represents. |
|
|
13
14
|
|
|
14
15
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationListPermissionsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[TokenizationListPermissionsResponseDataInner]**](TokenizationListPermissionsResponseDataInner.md) | List of permissions. |
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationListPermissionsResponseDataInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**address** | **String** | The address with permissions. |
|
|
8
|
+
**permissions** | [**[TokenizationTokenPermissionType]**](TokenizationTokenPermissionType.md) | The permissions assigned to this address. |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationSOLWrappedTokenParams
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**standard** | [**TokenizationTokenStandard**](TokenizationTokenStandard.md) | |
|
|
8
|
+
**name** | **String** | The name of the token. |
|
|
9
|
+
**symbol** | **String** | The symbol of the token. |
|
|
10
|
+
**underlying_token** | **String** | The address of the underlying token that this tokenized asset represents. |
|
|
11
|
+
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. When activated, only addresses in the allowlist can perform token operations. | [optional] [default to false]
|
|
12
|
+
**permissions** | [**TokenizationSolWrappedTokenPermissionParams**](TokenizationSolWrappedTokenPermissionParams.md) | | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationSolWrappedTokenPermissionParams
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**wrapper** | **[String]** | List of Solana wallet addresses that can perform wrap/unwrap operations. Multiple addresses can be assigned this role. | [optional]
|
|
8
|
+
**pauser** | **String** | Solana wallet address that acts as a pauser authority for the token. This authority can pause token transfers. | [optional]
|
|
9
|
+
**freezer** | **String** | Solana wallet address that acts as a freezer authority for the token. This authority can freeze token accounts. | [optional]
|
|
10
|
+
**updater** | **String** | Solana wallet address that acts as an updater authority for the token. This authority can update token metadata. | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
@@ -9,11 +9,14 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**token_address** | **String** | The address of the token contract. | [optional]
|
|
10
10
|
**token_name** | **String** | The name of the token. | [optional]
|
|
11
11
|
**token_symbol** | **String** | The unique token symbol. |
|
|
12
|
+
**token_standard** | [**TokenizationTokenStandard**](TokenizationTokenStandard.md) | |
|
|
12
13
|
**decimals** | **Number** | The number of decimals of the token. |
|
|
13
14
|
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. | [optional]
|
|
14
15
|
**status** | [**TokenizationStatus**](TokenizationStatus.md) | |
|
|
15
16
|
**total_supply** | **String** | The total supply of the token. | [optional]
|
|
16
17
|
**holdings** | **String** | The amount of tokens held by the organization. | [optional]
|
|
18
|
+
**archived** | **Boolean** | Whether the token is archived. If the token is archived, no operations can be initiated on it. |
|
|
17
19
|
**permissions** | [**[TokenizationAddressPermission]**](TokenizationAddressPermission.md) | List of execution addresses and their permissions. | [optional]
|
|
20
|
+
**underlying_token** | [**TokenizationTokenInfo**](TokenizationTokenInfo.md) | | [optional]
|
|
18
21
|
|
|
19
22
|
|
|
@@ -9,10 +9,12 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**token_address** | **String** | The address of the token contract. | [optional]
|
|
10
10
|
**token_name** | **String** | The name of the token. | [optional]
|
|
11
11
|
**token_symbol** | **String** | The unique token symbol. |
|
|
12
|
+
**token_standard** | [**TokenizationTokenStandard**](TokenizationTokenStandard.md) | |
|
|
12
13
|
**decimals** | **Number** | The number of decimals of the token. |
|
|
13
14
|
**token_access_activated** | **Boolean** | Whether the allowlist feature is activated for the token. | [optional]
|
|
14
15
|
**status** | [**TokenizationStatus**](TokenizationStatus.md) | |
|
|
15
16
|
**total_supply** | **String** | The total supply of the token. | [optional]
|
|
16
17
|
**holdings** | **String** | The amount of tokens held by the organization. | [optional]
|
|
18
|
+
**archived** | **Boolean** | Whether the token is archived. If the token is archived, no operations can be initiated on it. |
|
|
17
19
|
|
|
18
20
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CoboWaas2.TokenizationUpdateAddressPermissions
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**address** | **String** | The address to manage permissions for. |
|
|
8
|
+
**action** | [**TokenizationPermissionAction**](TokenizationPermissionAction.md) | |
|
|
9
|
+
**permissions** | [**[TokenizationTokenPermissionType]**](TokenizationTokenPermissionType.md) | The list of permissions to be applied. |
|
|
10
|
+
|
|
11
|
+
|