@bitgo/public-types 6.29.0 → 6.31.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/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts +84 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +82 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +89 -0
- package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.js +45 -0
- package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +687 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +3 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +9 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +1374 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.ts +28 -0
- package/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.ts +26 -0
- package/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.ts +40 -0
- package/src/schema/transactionRequest/intents/index.ts +3 -0
- package/src/schema/transactionRequest/intents/intent.ts +6 -0
- package/src/schema/transactionRequest/intents/intentType.ts +5 -0
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Allocation Offer Withdrawn Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for cancelling the allocation offer that was sent out
|
|
9
|
+
* In canton, the allocation `offer` can be withdrawn by doing a cancellation of offer transaction
|
|
10
|
+
*
|
|
11
|
+
* @param {String} intentType - The type of intent (always set to allocationOfferWithdrawn)
|
|
12
|
+
* @param {string} transferOfferId - The offer transferOfferId that needs to be cancelled
|
|
13
|
+
* @param {String} [token] - The optional token
|
|
14
|
+
*/
|
|
15
|
+
export const CantonAllocationOfferWithdrawnIntent = t.intersection([
|
|
16
|
+
BaseIntent,
|
|
17
|
+
t.type({
|
|
18
|
+
intentType: intentTypes.allocationOfferWithdrawn,
|
|
19
|
+
transferOfferId: t.string,
|
|
20
|
+
}),
|
|
21
|
+
t.partial({
|
|
22
|
+
token: t.string,
|
|
23
|
+
}),
|
|
24
|
+
]);
|
|
25
|
+
|
|
26
|
+
export type CantonAllocationOfferWithdrawnIntent = t.TypeOf<
|
|
27
|
+
typeof CantonAllocationOfferWithdrawnIntent
|
|
28
|
+
>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Allocation Reject Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for rejecting an allocation request as part of a Cash DvP (Delivery vs Payment) trade
|
|
9
|
+
* on the `Canton` chain. The user submits this intent referencing an existing
|
|
10
|
+
* `allocationRequest` txRequest created by the operator. Wallet-platform fetches
|
|
11
|
+
* the stored trade data and constructs the rejection transaction.
|
|
12
|
+
*
|
|
13
|
+
* @param {String} intentType - The type of intent (always set to allocationReject)
|
|
14
|
+
* @param {String} txRequestId - The allocationRequest txRequestId to reject
|
|
15
|
+
*/
|
|
16
|
+
export const CantonAllocationRejectIntent = t.intersection([
|
|
17
|
+
BaseIntent,
|
|
18
|
+
t.type({
|
|
19
|
+
intentType: intentTypes.allocationReject,
|
|
20
|
+
txRequestId: t.string,
|
|
21
|
+
}),
|
|
22
|
+
]);
|
|
23
|
+
|
|
24
|
+
export type CantonAllocationRejectIntent = t.TypeOf<
|
|
25
|
+
typeof CantonAllocationRejectIntent
|
|
26
|
+
>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Participant Onboarding Request Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for BitGo to create a ParticipantOnboardingRequest on the Canton ledger.
|
|
9
|
+
* Submits a CreateCommand for `Dtc.Registry.V1.Service.Participant:ParticipantOnboardingRequest`.
|
|
10
|
+
* DTCC (not BitGo) accepts the request — BitGo only submits the initial create.
|
|
11
|
+
*
|
|
12
|
+
* @param {String} intentType - The type of intent (always set to cantonParticipantOnboardingRequest)
|
|
13
|
+
* @param {string} operator - DTCC operator party ID
|
|
14
|
+
* @param {string} provider - DTCC provider party ID (typically same as operator on testnet)
|
|
15
|
+
* @param {string} compliance - DTCC compliance party ID
|
|
16
|
+
* @param {string} registrar - DTCC registrar party ID
|
|
17
|
+
* @param {string} clientOnboarder - DTCC client onboarder party ID
|
|
18
|
+
* @param {string} [expirationIso] - Optional ISO 8601 expiration timestamp; IMS defaults to 7 days if not provided
|
|
19
|
+
* @param {string} [comment] - Optional human-readable comment
|
|
20
|
+
*/
|
|
21
|
+
export const CantonParticipantOnboardingRequestIntent = t.intersection([
|
|
22
|
+
BaseIntent,
|
|
23
|
+
t.type({
|
|
24
|
+
intentType: intentTypes.cantonParticipantOnboardingRequest,
|
|
25
|
+
// DTCC party IDs — passed from UI → WP → IMS; NOT hardcoded in IMS (vary per environment)
|
|
26
|
+
operator: t.string,
|
|
27
|
+
provider: t.string, // typically same value as operator on testnet
|
|
28
|
+
compliance: t.string,
|
|
29
|
+
registrar: t.string,
|
|
30
|
+
clientOnboarder: t.string,
|
|
31
|
+
}),
|
|
32
|
+
t.partial({
|
|
33
|
+
expirationIso: t.string, // IMS defaults to 7 days if not provided
|
|
34
|
+
comment: t.string,
|
|
35
|
+
}),
|
|
36
|
+
]);
|
|
37
|
+
|
|
38
|
+
export type CantonParticipantOnboardingRequestIntent = t.TypeOf<
|
|
39
|
+
typeof CantonParticipantOnboardingRequestIntent
|
|
40
|
+
>;
|
|
@@ -34,6 +34,8 @@ export * from "./bscStakeClaimRewardsIntent";
|
|
|
34
34
|
export * from "./bscUndelegateIntent";
|
|
35
35
|
export * from "./bscWithdrawUndelegateIntent";
|
|
36
36
|
export * from "./cantonAllocationAllocateIntent";
|
|
37
|
+
export * from "./cantonAllocationOfferWithdrawnIntent";
|
|
38
|
+
export * from "./cantonAllocationRejectIntent";
|
|
37
39
|
export * from "./cantonAllocationRequestIntent";
|
|
38
40
|
export * from "./cantonCommandIntent";
|
|
39
41
|
export * from "./cantonCosignDelegationAcceptIntent";
|
|
@@ -46,6 +48,7 @@ export * from "./cantonTransferRejectIntent";
|
|
|
46
48
|
export * from "./cantonEndInvestorOnboardingOfferIntent";
|
|
47
49
|
export * from "./cantonEndInvestorOnboardingAcceptIntent";
|
|
48
50
|
export * from "./cantonEndInvestorOnboardingRejectIntent";
|
|
51
|
+
export * from "./cantonParticipantOnboardingRequestIntent";
|
|
49
52
|
export * from "./claimIntent";
|
|
50
53
|
export * from "./consolidateTokenIntent";
|
|
51
54
|
export * from "./coredaoClaimIntent";
|
|
@@ -114,6 +114,8 @@ import { VetDecreaseStakeIntent } from "./vetDecreaseStakeIntent";
|
|
|
114
114
|
import { VetSignalExitIntent } from "./vetSignalExitIntent";
|
|
115
115
|
import { VetWithdrawStakeIntent } from "./vetWithdrawStakeIntent";
|
|
116
116
|
import { CantonAllocationAllocateIntent } from "./cantonAllocationAllocateIntent";
|
|
117
|
+
import { CantonAllocationOfferWithdrawnIntent } from "./cantonAllocationOfferWithdrawnIntent";
|
|
118
|
+
import { CantonAllocationRejectIntent } from "./cantonAllocationRejectIntent";
|
|
117
119
|
import { CantonAllocationRequestIntent } from "./cantonAllocationRequestIntent";
|
|
118
120
|
import { CantonCosignDelegationAcceptIntent } from "./cantonCosignDelegationAcceptIntent";
|
|
119
121
|
import { CantonCosignDelegationProposalIntent } from "./cantonCosignDelegationProposalIntent";
|
|
@@ -126,6 +128,7 @@ import { CantonTransferRejectIntent } from "./cantonTransferRejectIntent";
|
|
|
126
128
|
import { CantonEndInvestorOnboardingOfferIntent } from "./cantonEndInvestorOnboardingOfferIntent";
|
|
127
129
|
import { CantonEndInvestorOnboardingAcceptIntent } from "./cantonEndInvestorOnboardingAcceptIntent";
|
|
128
130
|
import { CantonEndInvestorOnboardingRejectIntent } from "./cantonEndInvestorOnboardingRejectIntent";
|
|
131
|
+
import { CantonParticipantOnboardingRequestIntent } from "./cantonParticipantOnboardingRequestIntent";
|
|
129
132
|
import { TonWhalesDelegateIntent } from "./tonWhalesDelegateIntent";
|
|
130
133
|
import { TonWhalesUndelegateIntent } from "./tonWhalesUndelegateIntent";
|
|
131
134
|
import { TrxClaimRewardsIntent } from "./trxClaimRewardsIntent";
|
|
@@ -163,6 +166,8 @@ export const TransactionIntent = t.union([
|
|
|
163
166
|
BscUnDelegateIntent,
|
|
164
167
|
BscWithdrawUndelegateIntent,
|
|
165
168
|
CantonAllocationAllocateIntent,
|
|
169
|
+
CantonAllocationOfferWithdrawnIntent,
|
|
170
|
+
CantonAllocationRejectIntent,
|
|
166
171
|
CantonAllocationRequestIntent,
|
|
167
172
|
CantonCosignDelegationAcceptIntent,
|
|
168
173
|
CantonCosignDelegationProposalIntent,
|
|
@@ -175,6 +180,7 @@ export const TransactionIntent = t.union([
|
|
|
175
180
|
CantonEndInvestorOnboardingOfferIntent,
|
|
176
181
|
CantonEndInvestorOnboardingAcceptIntent,
|
|
177
182
|
CantonEndInvestorOnboardingRejectIntent,
|
|
183
|
+
CantonParticipantOnboardingRequestIntent,
|
|
178
184
|
ClaimIntent,
|
|
179
185
|
CosmosContractCallIntent,
|
|
180
186
|
CosmosPaymentIntent,
|
|
@@ -62,6 +62,8 @@ export const intentTypes = {
|
|
|
62
62
|
allocationRequest: t.literal("allocationRequest"),
|
|
63
63
|
cantonCommand: t.literal("cantonCommand"),
|
|
64
64
|
allocationAllocate: t.literal("allocationAllocate"),
|
|
65
|
+
allocationOfferWithdrawn: t.literal("allocationOfferWithdrawn"),
|
|
66
|
+
allocationReject: t.literal("allocationReject"),
|
|
65
67
|
cantonEndInvestorOnboardingOffer: t.literal(
|
|
66
68
|
"cantonEndInvestorOnboardingOffer",
|
|
67
69
|
),
|
|
@@ -71,6 +73,9 @@ export const intentTypes = {
|
|
|
71
73
|
cantonEndInvestorOnboardingReject: t.literal(
|
|
72
74
|
"cantonEndInvestorOnboardingReject",
|
|
73
75
|
),
|
|
76
|
+
cantonParticipantOnboardingRequest: t.literal(
|
|
77
|
+
"cantonParticipantOnboardingRequest",
|
|
78
|
+
),
|
|
74
79
|
/**
|
|
75
80
|
* Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
|
|
76
81
|
*/
|