@bitgo/public-types 6.62.0 → 6.64.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/mpcv2/keyGen/keygenRound.d.ts +43 -0
- package/dist/src/schema/mpcv2/keyGen/keygenRound.js +22 -1
- package/dist/src/schema/mpcv2/keyGen/keygenRound.js.map +1 -1
- package/dist/src/schema/mpcv2/smc/index.d.ts +2 -0
- package/dist/src/schema/mpcv2/smc/index.js +2 -0
- package/dist/src/schema/mpcv2/smc/index.js.map +1 -1
- package/dist/src/schema/mpcv2/smc/redpallasKeygenRound.d.ts +175 -0
- package/dist/src/schema/mpcv2/smc/redpallasKeygenRound.js +93 -0
- package/dist/src/schema/mpcv2/smc/redpallasKeygenRound.js.map +1 -0
- package/dist/src/schema/mpcv2/smc/redpallasKeygenState.d.ts +15 -0
- package/dist/src/schema/mpcv2/smc/redpallasKeygenState.js +53 -0
- package/dist/src/schema/mpcv2/smc/redpallasKeygenState.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaCancelIntent.d.ts +97 -0
- package/dist/src/schema/transactionRequest/intents/adaCancelIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/adaCancelIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +104 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js +15 -1
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaStakingType.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/adaStakingType.js +34 -0
- package/dist/src/schema/transactionRequest/intents/adaStakingType.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +103 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.js +13 -1
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +451 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +4 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoClaimRootIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/unwrapNativeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/wrapApproveIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/wrapNativeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +1257 -355
- package/package.json +1 -1
- package/src/schema/mpcv2/keyGen/keygenRound.ts +40 -0
- package/src/schema/mpcv2/smc/index.ts +2 -0
- package/src/schema/mpcv2/smc/redpallasKeygenRound.ts +101 -0
- package/src/schema/mpcv2/smc/redpallasKeygenState.ts +31 -0
- package/src/schema/transactionRequest/intents/adaCancelIntent.ts +26 -0
- package/src/schema/transactionRequest/intents/adaStakeIntent.ts +28 -1
- package/src/schema/transactionRequest/intents/adaStakingType.ts +11 -0
- package/src/schema/transactionRequest/intents/adaUnstakeIntent.ts +27 -0
- package/src/schema/transactionRequest/intents/index.ts +2 -0
- package/src/schema/transactionRequest/intents/intent.ts +6 -2
- package/src/schema/transactionRequest/intents/intentType.ts +2 -0
|
@@ -8,6 +8,7 @@ export declare const AdaPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AdaPledgeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AdaStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AdaStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -99,5 +100,108 @@ export declare const AdaStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
|
99
100
|
value: string;
|
|
100
101
|
symbol: string;
|
|
101
102
|
}, unknown>, t.UndefinedC]>;
|
|
103
|
+
stakingType: t.UnionC<[t.Type<"REALFI_SUSDR" | "NATIVE", "REALFI_SUSDR" | "NATIVE", unknown>, t.UndefinedC]>;
|
|
102
104
|
}>]>;
|
|
103
105
|
export type AdaStakeIntent = t.TypeOf<typeof AdaStakeIntent>;
|
|
106
|
+
export declare const AdaRealFiStakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
107
|
+
intentType: t.KeyofC<{
|
|
108
|
+
payment: t.LiteralC<"payment">;
|
|
109
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
110
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
111
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
112
|
+
fanout: t.LiteralC<"fanout">;
|
|
113
|
+
stake: t.LiteralC<"stake">;
|
|
114
|
+
unstake: t.LiteralC<"unstake">;
|
|
115
|
+
cancel: t.LiteralC<"cancel">;
|
|
116
|
+
delegate: t.LiteralC<"delegate">;
|
|
117
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
118
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
119
|
+
claim: t.LiteralC<"claim">;
|
|
120
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
121
|
+
pledge: t.LiteralC<"pledge">;
|
|
122
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
123
|
+
vote: t.LiteralC<"vote">;
|
|
124
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
125
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
126
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
127
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
128
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
129
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
130
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
131
|
+
authorize: t.LiteralC<"authorize">;
|
|
132
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
133
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
134
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
135
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
136
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
137
|
+
customTx: t.LiteralC<"customTx">;
|
|
138
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
139
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
140
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
141
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
142
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
143
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
144
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
145
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
146
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
147
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
148
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
149
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
150
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
151
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
152
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
153
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
154
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
155
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
156
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
157
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
158
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
159
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
160
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
161
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
162
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
163
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
164
|
+
allocationOfferWithdrawn: t.LiteralC<"allocationOfferWithdrawn">;
|
|
165
|
+
allocationReject: t.LiteralC<"allocationReject">;
|
|
166
|
+
cantonEndInvestorOnboardingOffer: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
167
|
+
cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
168
|
+
cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
169
|
+
cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
|
|
170
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
171
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
172
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
173
|
+
"defi-withdraw": t.LiteralC<"defi-withdraw">;
|
|
174
|
+
"wrap-native": t.LiteralC<"wrap-native">;
|
|
175
|
+
"unwrap-native": t.LiteralC<"unwrap-native">;
|
|
176
|
+
wrapApprove: t.LiteralC<"wrapApprove">;
|
|
177
|
+
wrap: t.LiteralC<"wrap">;
|
|
178
|
+
unwrap: t.LiteralC<"unwrap">;
|
|
179
|
+
finalizeUnwrap: t.LiteralC<"finalizeUnwrap">;
|
|
180
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
181
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
182
|
+
export: t.LiteralC<"export">;
|
|
183
|
+
import: t.LiteralC<"import">;
|
|
184
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
185
|
+
}>;
|
|
186
|
+
}>, t.PartialC<{
|
|
187
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
188
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
189
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
190
|
+
}>]>, t.TypeC<{
|
|
191
|
+
stakingRequestId: t.StringC;
|
|
192
|
+
}>, t.PartialC<{
|
|
193
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
194
|
+
}>]>, t.TypeC<{
|
|
195
|
+
intentType: t.LiteralC<"stake">;
|
|
196
|
+
}>]>, t.TypeC<{
|
|
197
|
+
amount: t.TypeC<{
|
|
198
|
+
value: t.StringC;
|
|
199
|
+
symbol: t.StringC;
|
|
200
|
+
}>;
|
|
201
|
+
}>, t.TypeC<{
|
|
202
|
+
stakingType: t.LiteralC<"REALFI_SUSDR">;
|
|
203
|
+
destinationAddress: t.StringC;
|
|
204
|
+
}>, t.PartialC<{
|
|
205
|
+
slippageToleranceBps: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
206
|
+
}>]>;
|
|
207
|
+
export type AdaRealFiStakeIntent = t.TypeOf<typeof AdaRealFiStakeIntent>;
|
|
@@ -23,11 +23,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.AdaStakeIntent = void 0;
|
|
26
|
+
exports.AdaRealFiStakeIntent = exports.AdaStakeIntent = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const stakeIntent_1 = require("./stakeIntent");
|
|
29
29
|
const amount_1 = require("./amount");
|
|
30
30
|
const utils_1 = require("../../../utils");
|
|
31
|
+
const adaStakingType_1 = require("./adaStakingType");
|
|
32
|
+
const baseIntent_1 = require("./baseIntent");
|
|
31
33
|
exports.AdaStakeIntent = t.intersection([
|
|
32
34
|
stakeIntent_1.StakeIntent,
|
|
33
35
|
t.type({
|
|
@@ -36,6 +38,18 @@ exports.AdaStakeIntent = t.intersection([
|
|
|
36
38
|
}),
|
|
37
39
|
t.partial({
|
|
38
40
|
amount: (0, utils_1.Optional)(amount_1.Amount),
|
|
41
|
+
stakingType: (0, utils_1.Optional)(adaStakingType_1.AdaStakingType),
|
|
42
|
+
}),
|
|
43
|
+
]);
|
|
44
|
+
exports.AdaRealFiStakeIntent = t.intersection([
|
|
45
|
+
stakeIntent_1.StakeIntent,
|
|
46
|
+
baseIntent_1.BaseIntentWithAmount,
|
|
47
|
+
t.type({
|
|
48
|
+
stakingType: t.literal("REALFI_SUSDR"),
|
|
49
|
+
destinationAddress: t.string,
|
|
50
|
+
}),
|
|
51
|
+
t.partial({
|
|
52
|
+
slippageToleranceBps: (0, utils_1.Optional)(t.number),
|
|
39
53
|
}),
|
|
40
54
|
]);
|
|
41
55
|
//# sourceMappingURL=adaStakeIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,qCAAkC;AAClC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"adaStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,qCAAkC;AAClC,0CAA0C;AAC1C,qDAAkD;AAClD,6CAAoD;AAWvC,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,yBAAW;IACX,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,MAAM;QACrB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,WAAW,EAAE,IAAA,gBAAQ,EAAC,+BAAc,CAAC;KACtC,CAAC;CACH,CAAC,CAAC;AAcU,QAAA,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,yBAAW;IACX,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,oBAAoB,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,MAAM,CAAC;KACzC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.AdaStakingType = exports.AdaStakingTypeEnum = void 0;
|
|
27
|
+
const t = __importStar(require("io-ts"));
|
|
28
|
+
var AdaStakingTypeEnum;
|
|
29
|
+
(function (AdaStakingTypeEnum) {
|
|
30
|
+
AdaStakingTypeEnum["NATIVE"] = "NATIVE";
|
|
31
|
+
AdaStakingTypeEnum["REALFI_SUSDR"] = "REALFI_SUSDR";
|
|
32
|
+
})(AdaStakingTypeEnum || (exports.AdaStakingTypeEnum = AdaStakingTypeEnum = {}));
|
|
33
|
+
exports.AdaStakingType = t.keyof(AdaStakingTypeEnum);
|
|
34
|
+
//# sourceMappingURL=adaStakingType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adaStakingType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaStakingType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAG3B,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,mDAA6B,CAAA;AAC/B,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAEY,QAAA,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare const AdaUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -98,5 +99,107 @@ export declare const AdaUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
98
99
|
value: string;
|
|
99
100
|
symbol: string;
|
|
100
101
|
}, unknown>, t.UndefinedC]>;
|
|
102
|
+
stakingType: t.UnionC<[t.Type<"REALFI_SUSDR" | "NATIVE", "REALFI_SUSDR" | "NATIVE", unknown>, t.UndefinedC]>;
|
|
101
103
|
}>]>;
|
|
102
104
|
export type AdaUnstakeIntent = t.TypeOf<typeof AdaUnstakeIntent>;
|
|
105
|
+
export declare const AdaRealFiUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
106
|
+
intentType: t.KeyofC<{
|
|
107
|
+
payment: t.LiteralC<"payment">;
|
|
108
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
109
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
110
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
111
|
+
fanout: t.LiteralC<"fanout">;
|
|
112
|
+
stake: t.LiteralC<"stake">;
|
|
113
|
+
unstake: t.LiteralC<"unstake">;
|
|
114
|
+
cancel: t.LiteralC<"cancel">;
|
|
115
|
+
delegate: t.LiteralC<"delegate">;
|
|
116
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
117
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
118
|
+
claim: t.LiteralC<"claim">;
|
|
119
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
120
|
+
pledge: t.LiteralC<"pledge">;
|
|
121
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
122
|
+
vote: t.LiteralC<"vote">;
|
|
123
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
124
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
125
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
126
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
127
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
128
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
129
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
130
|
+
authorize: t.LiteralC<"authorize">;
|
|
131
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
132
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
133
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
134
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
135
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
136
|
+
customTx: t.LiteralC<"customTx">;
|
|
137
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
138
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
139
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
140
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
141
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
142
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
143
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
144
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
145
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
146
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
147
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
148
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
149
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
150
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
151
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
152
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
153
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
154
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
155
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
156
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
157
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
158
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
159
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
160
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
161
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
162
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
163
|
+
allocationOfferWithdrawn: t.LiteralC<"allocationOfferWithdrawn">;
|
|
164
|
+
allocationReject: t.LiteralC<"allocationReject">;
|
|
165
|
+
cantonEndInvestorOnboardingOffer: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
166
|
+
cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
167
|
+
cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
168
|
+
cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
|
|
169
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
170
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
171
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
172
|
+
"defi-withdraw": t.LiteralC<"defi-withdraw">;
|
|
173
|
+
"wrap-native": t.LiteralC<"wrap-native">;
|
|
174
|
+
"unwrap-native": t.LiteralC<"unwrap-native">;
|
|
175
|
+
wrapApprove: t.LiteralC<"wrapApprove">;
|
|
176
|
+
wrap: t.LiteralC<"wrap">;
|
|
177
|
+
unwrap: t.LiteralC<"unwrap">;
|
|
178
|
+
finalizeUnwrap: t.LiteralC<"finalizeUnwrap">;
|
|
179
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
180
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
181
|
+
export: t.LiteralC<"export">;
|
|
182
|
+
import: t.LiteralC<"import">;
|
|
183
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
184
|
+
}>;
|
|
185
|
+
}>, t.PartialC<{
|
|
186
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
187
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
188
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
189
|
+
}>]>, t.TypeC<{
|
|
190
|
+
stakingRequestId: t.StringC;
|
|
191
|
+
}>, t.PartialC<{
|
|
192
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
193
|
+
}>]>, t.TypeC<{
|
|
194
|
+
intentType: t.LiteralC<"unstake">;
|
|
195
|
+
}>]>, t.TypeC<{
|
|
196
|
+
amount: t.TypeC<{
|
|
197
|
+
value: t.StringC;
|
|
198
|
+
symbol: t.StringC;
|
|
199
|
+
}>;
|
|
200
|
+
}>, t.TypeC<{
|
|
201
|
+
stakingType: t.LiteralC<"REALFI_SUSDR">;
|
|
202
|
+
destinationAddress: t.StringC;
|
|
203
|
+
unlockSlot: t.StringC;
|
|
204
|
+
}>]>;
|
|
205
|
+
export type AdaRealFiUnstakeIntent = t.TypeOf<typeof AdaRealFiUnstakeIntent>;
|
|
@@ -23,11 +23,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.AdaUnstakeIntent = void 0;
|
|
26
|
+
exports.AdaRealFiUnstakeIntent = exports.AdaUnstakeIntent = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const amount_1 = require("./amount");
|
|
29
29
|
const utils_1 = require("../../../utils");
|
|
30
30
|
const unstakeIntent_1 = require("./unstakeIntent");
|
|
31
|
+
const adaStakingType_1 = require("./adaStakingType");
|
|
32
|
+
const baseIntent_1 = require("./baseIntent");
|
|
31
33
|
exports.AdaUnstakeIntent = t.intersection([
|
|
32
34
|
unstakeIntent_1.UnstakeIntent,
|
|
33
35
|
t.type({
|
|
@@ -35,6 +37,16 @@ exports.AdaUnstakeIntent = t.intersection([
|
|
|
35
37
|
}),
|
|
36
38
|
t.partial({
|
|
37
39
|
amount: (0, utils_1.Optional)(amount_1.Amount),
|
|
40
|
+
stakingType: (0, utils_1.Optional)(adaStakingType_1.AdaStakingType),
|
|
41
|
+
}),
|
|
42
|
+
]);
|
|
43
|
+
exports.AdaRealFiUnstakeIntent = t.intersection([
|
|
44
|
+
unstakeIntent_1.UnstakeIntent,
|
|
45
|
+
baseIntent_1.BaseIntentWithAmount,
|
|
46
|
+
t.type({
|
|
47
|
+
stakingType: t.literal("REALFI_SUSDR"),
|
|
48
|
+
destinationAddress: t.string,
|
|
49
|
+
unlockSlot: t.string,
|
|
38
50
|
}),
|
|
39
51
|
]);
|
|
40
52
|
//# sourceMappingURL=adaUnstakeIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qCAAkC;AAClC,0CAA0C;AAC1C,mDAAgD;
|
|
1
|
+
{"version":3,"file":"adaUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qCAAkC;AAClC,0CAA0C;AAC1C,mDAAgD;AAChD,qDAAkD;AAClD,6CAAoD;AAOvC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,WAAW,EAAE,IAAA,gBAAQ,EAAC,+BAAc,CAAC;KACtC,CAAC;CACH,CAAC,CAAC;AAcU,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,6BAAa;IACb,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;QACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM;QAC5B,UAAU,EAAE,CAAC,CAAC,MAAM;KACrB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare const AdaVoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AptCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AptStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AptUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AptWithdrawStakeIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AtomPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AtomStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BabyCreateBtcDelegationIntent: t.IntersectionC<[t.Intersect
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BabyWithdrawRewardIntent: t.IntersectionC<[t.IntersectionC<
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BaseBridgeFundsIntent: t.IntersectionC<[t.IntersectionC<[t.
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BaseGoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BaseIntent: t.IntersectionC<[t.TypeC<{
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -93,6 +94,7 @@ export declare const BaseIntentWithoutNonce: t.IntersectionC<[t.TypeC<{
|
|
|
93
94
|
fanout: t.LiteralC<"fanout">;
|
|
94
95
|
stake: t.LiteralC<"stake">;
|
|
95
96
|
unstake: t.LiteralC<"unstake">;
|
|
97
|
+
cancel: t.LiteralC<"cancel">;
|
|
96
98
|
delegate: t.LiteralC<"delegate">;
|
|
97
99
|
undelegate: t.LiteralC<"undelegate">;
|
|
98
100
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BaseStakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BaseStakeIntentWithCalldata: t.IntersectionC<[t.Intersectio
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BeraDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BscDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const BscWithdrawUndelegateIntent: t.IntersectionC<[t.Intersectio
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const CantonAllocationAllocateIntent: t.IntersectionC<[t.Intersec
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const CantonAllocationOfferWithdrawnIntent: t.IntersectionC<[t.In
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const CantonAllocationRejectIntent: t.IntersectionC<[t.Intersecti
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|
|
@@ -8,6 +8,7 @@ export declare const CantonAllocationRequestIntent: t.IntersectionC<[t.Intersect
|
|
|
8
8
|
fanout: t.LiteralC<"fanout">;
|
|
9
9
|
stake: t.LiteralC<"stake">;
|
|
10
10
|
unstake: t.LiteralC<"unstake">;
|
|
11
|
+
cancel: t.LiteralC<"cancel">;
|
|
11
12
|
delegate: t.LiteralC<"delegate">;
|
|
12
13
|
undelegate: t.LiteralC<"undelegate">;
|
|
13
14
|
switchValidator: t.LiteralC<"switchValidator">;
|