@bitgo/public-types 2.33.5 → 2.35.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/index.d.ts +1 -0
- package/dist/src/schema/transactionRequest/index.js +1 -0
- package/dist/src/schema/transactionRequest/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +40 -0
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.d.ts +5 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js +32 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.d.ts +36 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js +43 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +42 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +46 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.d.ts +38 -0
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +56 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +42 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +50 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/address.d.ts +9 -0
- package/dist/src/schema/transactionRequest/intents/address.js +33 -0
- package/dist/src/schema/transactionRequest/intents/address.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/amount.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/amount.js +32 -0
- package/dist/src/schema/transactionRequest/intents/amount.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +56 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +54 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +39 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +50 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +45 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +50 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.d.ts +48 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +102 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js +43 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +56 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +71 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js +42 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +47 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +71 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js +42 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +50 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.d.ts +17 -0
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js +37 -0
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +75 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +85 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js +42 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js +38 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +76 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotProxy.d.ts +8 -0
- package/dist/src/schema/transactionRequest/intents/dotProxy.js +35 -0
- package/dist/src/schema/transactionRequest/intents/dotProxy.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +63 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js +42 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +62 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +62 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js +34 -0
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +43 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +66 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.d.ts +53 -0
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js +50 -0
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +63 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +91 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +81 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/feeOption.d.ts +8 -0
- package/dist/src/schema/transactionRequest/intents/feeOption.js +39 -0
- package/dist/src/schema/transactionRequest/intents/feeOption.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.d.ts +12 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.js +34 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFormula.d.ts +16 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFormula.js +36 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionFormula.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionUnit.d.ts +12 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionUnit.js +34 -0
- package/dist/src/schema/transactionRequest/intents/feeOptionUnit.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +39 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/hopParams.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/hopParams.js +34 -0
- package/dist/src/schema/transactionRequest/intents/hopParams.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +89 -0
- package/dist/src/schema/transactionRequest/intents/index.js +106 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +2428 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +118 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +62 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +59 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +41 -0
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +43 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +57 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +57 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +64 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +54 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/recipientEntry.d.ts +17 -0
- package/dist/src/schema/transactionRequest/intents/recipientEntry.js +36 -0
- package/dist/src/schema/transactionRequest/intents/recipientEntry.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +41 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +51 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js +46 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +36 -0
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +58 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +47 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +45 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +46 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js +42 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +58 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +51 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +61 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +44 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +41 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +47 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +42 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.js +38 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +79 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiFeeOptions.d.ts +5 -0
- package/dist/src/schema/transactionRequest/intents/suiFeeOptions.js +31 -0
- package/dist/src/schema/transactionRequest/intents/suiFeeOptions.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +75 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +57 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.d.ts +5 -0
- package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.js +31 -0
- package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tokenData.d.ts +12 -0
- package/dist/src/schema/transactionRequest/intents/tokenData.js +36 -0
- package/dist/src/schema/transactionRequest/intents/tokenData.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.js +33 -0
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.d.ts +28 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.js +36 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.d.ts +7 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js +34 -0
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +44 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +56 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +40 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +100 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +41 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js +33 -0
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +39 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +48 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.js.map +1 -0
- package/dist/src/utils/primitives.d.ts +5 -0
- package/dist/src/utils/primitives.js +2 -1
- package/dist/src/utils/primitives.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/transactionRequest/index.ts +1 -0
- package/src/schema/transactionRequest/intents/README.md +29 -0
- package/src/schema/transactionRequest/intents/accelerationIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/accountBaseBuildOptions.ts +8 -0
- package/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.ts +26 -0
- package/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/adaConsolidateIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/adaPaymentIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/adaPledgeIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/adaStakeIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/address.ts +7 -0
- package/src/schema/transactionRequest/intents/amount.ts +8 -0
- package/src/schema/transactionRequest/intents/atomPaymentIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/atomStakeIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/atomUnstakeIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/atomWithdrawIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/baseIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/baseStakeIntent.ts +11 -0
- package/src/schema/transactionRequest/intents/bscDelegateIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/bscUndelegateIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/bscWithdrawIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/consolidateTokenIntent.ts +19 -0
- package/src/schema/transactionRequest/intents/cosmosPaymentIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/cosmosStakeIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/cosmosUnstakeIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/cosmosWithdrawIntent.ts +11 -0
- package/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.ts +15 -0
- package/src/schema/transactionRequest/intents/dotBaseIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/dotCreateAccountIntent.ts +19 -0
- package/src/schema/transactionRequest/intents/dotFeeOptions.ts +12 -0
- package/src/schema/transactionRequest/intents/dotPaymentIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/dotProxy.ts +11 -0
- package/src/schema/transactionRequest/intents/dotStakingIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/dotUnstakingIntent.ts +17 -0
- package/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/eip1559FeeOptions.ts +10 -0
- package/src/schema/transactionRequest/intents/enableTokenIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/ethAccelerationIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/ethBuildOptions.ts +27 -0
- package/src/schema/transactionRequest/intents/ethFillNonceIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/ethPaymentIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/ethStakingIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/feeOption.ts +13 -0
- package/src/schema/transactionRequest/intents/feeOptionFeeType.ts +11 -0
- package/src/schema/transactionRequest/intents/feeOptionFormula.ts +13 -0
- package/src/schema/transactionRequest/intents/feeOptionUnit.ts +11 -0
- package/src/schema/transactionRequest/intents/fillNonceIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/hopParams.ts +10 -0
- package/src/schema/transactionRequest/intents/index.ts +89 -0
- package/src/schema/transactionRequest/intents/intent.ts +97 -0
- package/src/schema/transactionRequest/intents/intentType.ts +36 -0
- package/src/schema/transactionRequest/intents/lightningPaymentIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/mmiSignMessageIntent.ts +11 -0
- package/src/schema/transactionRequest/intents/nearStakeIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/nearUnstakeIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/nearWithdrawIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/paymentIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/recipientEntry.ts +12 -0
- package/src/schema/transactionRequest/intents/signMessageIntent.ts +23 -0
- package/src/schema/transactionRequest/intents/solAuthorizeIntent.ts +22 -0
- package/src/schema/transactionRequest/intents/solBuildOptions.ts +12 -0
- package/src/schema/transactionRequest/intents/solClaimIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/solDeactivateIntent.ts +17 -0
- package/src/schema/transactionRequest/intents/solDelegateIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/solPaymentIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/solStakeIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +17 -0
- package/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/stakeIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/suiBuildOptions.ts +14 -0
- package/src/schema/transactionRequest/intents/suiCustomTxIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/suiFeeOptions.ts +7 -0
- package/src/schema/transactionRequest/intents/suiStakingIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/suiUnstakingIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.ts +9 -0
- package/src/schema/transactionRequest/intents/tokenData.ts +12 -0
- package/src/schema/transactionRequest/intents/tokenEnablement.ts +9 -0
- package/src/schema/transactionRequest/intents/tokenRecipientEntry.ts +12 -0
- package/src/schema/transactionRequest/intents/tokenRecipientEntryItem.ts +10 -0
- package/src/schema/transactionRequest/intents/tonDelegateIntent.ts +15 -0
- package/src/schema/transactionRequest/intents/tonPaymentIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/tonUndelegateIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/transferTokenIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/unstakeIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.ts +11 -0
- package/src/schema/transactionRequest/intents/walletRecoveryIntent.ts +12 -0
- package/src/schema/transactionRequest/intents/withdrawIntent.ts +15 -0
- package/src/utils/primitives.ts +1 -0
@@ -0,0 +1,39 @@
|
|
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.AdaPledgeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const baseIntent_1 = require("./baseIntent");
|
29
|
+
const intentType_1 = require("./intentType");
|
30
|
+
exports.AdaPledgeIntent = t.intersection([
|
31
|
+
baseIntent_1.BaseIntent,
|
32
|
+
t.type({
|
33
|
+
intentType: intentType_1.intentTypes.pledge,
|
34
|
+
rawTx: t.string,
|
35
|
+
nodePublicKey: t.string,
|
36
|
+
nodeKeySignature: t.string,
|
37
|
+
}),
|
38
|
+
]);
|
39
|
+
//# sourceMappingURL=adaPledgeIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"adaPledgeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaPledgeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAE9B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,MAAM;QAC9B,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,aAAa,EAAE,CAAC,CAAC,MAAM;QACvB,gBAAgB,EAAE,CAAC,CAAC,MAAM;KAC3B,CAAC;CACH,CAAC,CAAC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AdaStakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
vote: t.LiteralC<"vote">;
|
18
|
+
createAccount: t.LiteralC<"createAccount">;
|
19
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
20
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
21
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
22
|
+
signMessage: t.LiteralC<"signMessage">;
|
23
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
24
|
+
enableToken: t.LiteralC<"enableToken">;
|
25
|
+
authorize: t.LiteralC<"authorize">;
|
26
|
+
acceleration: t.LiteralC<"acceleration">;
|
27
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
28
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
29
|
+
contractCall: t.LiteralC<"contractCall">;
|
30
|
+
deactivate: t.LiteralC<"deactivate">;
|
31
|
+
customTx: t.LiteralC<"customTx">;
|
32
|
+
}>;
|
33
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
+
nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
|
36
|
+
}>, t.TypeC<{
|
37
|
+
stakingRequestId: t.StringC;
|
38
|
+
}>]>, t.TypeC<{
|
39
|
+
intentType: t.LiteralC<"stake">;
|
40
|
+
}>]>, t.TypeC<{
|
41
|
+
amount: t.UnionC<[t.Type<{
|
42
|
+
value: string;
|
43
|
+
symbol: string;
|
44
|
+
}, {
|
45
|
+
value: string;
|
46
|
+
symbol: string;
|
47
|
+
}, unknown>, t.UndefinedC]>;
|
48
|
+
poolKeyHash: t.StringC;
|
49
|
+
}>]>;
|
50
|
+
export type AdaStakeIntent = t.TypeOf<typeof AdaStakeIntent>;
|
@@ -0,0 +1,38 @@
|
|
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.AdaStakeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const stakeIntent_1 = require("./stakeIntent");
|
29
|
+
const amount_1 = require("./amount");
|
30
|
+
const utils_1 = require("../../../utils");
|
31
|
+
exports.AdaStakeIntent = t.intersection([
|
32
|
+
stakeIntent_1.StakeIntent,
|
33
|
+
t.type({
|
34
|
+
amount: (0, utils_1.Optional)(amount_1.Amount),
|
35
|
+
poolKeyHash: t.string,
|
36
|
+
}),
|
37
|
+
]);
|
38
|
+
//# sourceMappingURL=adaStakeIntent.js.map
|
@@ -0,0 +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;AAE7B,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,yBAAW;IACX,CAAC,CAAC,IAAI,CAAC;QACL,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
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.Address = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const utils_1 = require("../../../utils");
|
29
|
+
exports.Address = t.type({
|
30
|
+
address: utils_1.optionalString,
|
31
|
+
option: utils_1.optionalUnknownObject,
|
32
|
+
});
|
33
|
+
//# sourceMappingURL=address.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/address.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAuE;AAE1D,QAAA,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5B,OAAO,EAAE,sBAAc;IACvB,MAAM,EAAE,6BAAqB;CAC9B,CAAC,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
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.Amount = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
exports.Amount = t.type({
|
29
|
+
value: t.string,
|
30
|
+
symbol: t.string,
|
31
|
+
});
|
32
|
+
//# sourceMappingURL=amount.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/amount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM;IACf,MAAM,EAAE,CAAC,CAAC,MAAM;CACjB,CAAC,CAAC"}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AtomPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
vote: t.LiteralC<"vote">;
|
18
|
+
createAccount: t.LiteralC<"createAccount">;
|
19
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
20
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
21
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
22
|
+
signMessage: t.LiteralC<"signMessage">;
|
23
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
24
|
+
enableToken: t.LiteralC<"enableToken">;
|
25
|
+
authorize: t.LiteralC<"authorize">;
|
26
|
+
acceleration: t.LiteralC<"acceleration">;
|
27
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
28
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
29
|
+
contractCall: t.LiteralC<"contractCall">;
|
30
|
+
deactivate: t.LiteralC<"deactivate">;
|
31
|
+
customTx: t.LiteralC<"customTx">;
|
32
|
+
}>;
|
33
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
+
nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
|
36
|
+
}>, t.TypeC<{
|
37
|
+
intent: t.LiteralC<"payment">;
|
38
|
+
recipients: t.ArrayC<t.TypeC<{
|
39
|
+
address: t.TypeC<{
|
40
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
41
|
+
option: t.UnionC<[t.Type<{
|
42
|
+
[x: string]: unknown;
|
43
|
+
}, {
|
44
|
+
[x: string]: unknown;
|
45
|
+
}, unknown>, t.UndefinedC]>;
|
46
|
+
}>;
|
47
|
+
amount: t.TypeC<{
|
48
|
+
value: t.StringC;
|
49
|
+
symbol: t.StringC;
|
50
|
+
}>;
|
51
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
52
|
+
}>>;
|
53
|
+
}>]>, t.TypeC<{
|
54
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
55
|
+
}>]>;
|
56
|
+
export type AtomPaymentIntent = t.TypeOf<typeof AtomPaymentIntent>;
|
@@ -0,0 +1,36 @@
|
|
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.AtomPaymentIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const utils_1 = require("../../../utils");
|
29
|
+
const paymentIntent_1 = require("./paymentIntent");
|
30
|
+
exports.AtomPaymentIntent = t.intersection([
|
31
|
+
paymentIntent_1.PaymentIntent,
|
32
|
+
t.type({
|
33
|
+
memo: utils_1.optionalString,
|
34
|
+
}),
|
35
|
+
]);
|
36
|
+
//# sourceMappingURL=atomPaymentIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"atomPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/atomPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAChD,mDAAgD;AAEnC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,6BAAa;IACb,CAAC,CAAC,IAAI,CAAC;QACL,IAAI,EAAE,sBAAc;KACrB,CAAC;CACH,CAAC,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AtomStakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
vote: t.LiteralC<"vote">;
|
18
|
+
createAccount: t.LiteralC<"createAccount">;
|
19
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
20
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
21
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
22
|
+
signMessage: t.LiteralC<"signMessage">;
|
23
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
24
|
+
enableToken: t.LiteralC<"enableToken">;
|
25
|
+
authorize: t.LiteralC<"authorize">;
|
26
|
+
acceleration: t.LiteralC<"acceleration">;
|
27
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
28
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
29
|
+
contractCall: t.LiteralC<"contractCall">;
|
30
|
+
deactivate: t.LiteralC<"deactivate">;
|
31
|
+
customTx: t.LiteralC<"customTx">;
|
32
|
+
}>;
|
33
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
+
nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
|
36
|
+
}>, t.TypeC<{
|
37
|
+
stakingRequestId: t.StringC;
|
38
|
+
}>]>, t.TypeC<{
|
39
|
+
intentType: t.LiteralC<"stake">;
|
40
|
+
}>]>, t.TypeC<{
|
41
|
+
validatorAddress: t.StringC;
|
42
|
+
amount: t.TypeC<{
|
43
|
+
value: t.StringC;
|
44
|
+
symbol: t.StringC;
|
45
|
+
}>;
|
46
|
+
recipients: t.UnionC<[t.Type<{
|
47
|
+
address: {
|
48
|
+
address: string | undefined;
|
49
|
+
option: {
|
50
|
+
[x: string]: unknown;
|
51
|
+
} | undefined;
|
52
|
+
};
|
53
|
+
amount: {
|
54
|
+
value: string;
|
55
|
+
symbol: string;
|
56
|
+
};
|
57
|
+
data: string | undefined;
|
58
|
+
}[], {
|
59
|
+
address: {
|
60
|
+
address: string | undefined;
|
61
|
+
option: {
|
62
|
+
[x: string]: unknown;
|
63
|
+
} | undefined;
|
64
|
+
};
|
65
|
+
amount: {
|
66
|
+
value: string;
|
67
|
+
symbol: string;
|
68
|
+
};
|
69
|
+
data: string | undefined;
|
70
|
+
}[], unknown>, t.UndefinedC]>;
|
71
|
+
}>]>;
|
72
|
+
export type AtomStakeIntent = t.TypeOf<typeof AtomStakeIntent>;
|
@@ -0,0 +1,40 @@
|
|
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.AtomStakeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const amount_1 = require("./amount");
|
29
|
+
const recipientEntry_1 = require("./recipientEntry");
|
30
|
+
const utils_1 = require("../../../utils");
|
31
|
+
const stakeIntent_1 = require("./stakeIntent");
|
32
|
+
exports.AtomStakeIntent = t.intersection([
|
33
|
+
stakeIntent_1.StakeIntent,
|
34
|
+
t.type({
|
35
|
+
validatorAddress: t.string,
|
36
|
+
amount: amount_1.Amount,
|
37
|
+
recipients: (0, utils_1.Optional)(t.array(recipientEntry_1.RecipientEntry)),
|
38
|
+
}),
|
39
|
+
]);
|
40
|
+
//# sourceMappingURL=atomStakeIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"atomStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/atomStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qCAAkC;AAClC,qDAAkD;AAClD,0CAA0C;AAC1C,+CAA4C;AAE/B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,yBAAW;IACX,CAAC,CAAC,IAAI,CAAC;QACL,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,MAAM,EAAE,eAAM;QACd,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
vote: t.LiteralC<"vote">;
|
18
|
+
createAccount: t.LiteralC<"createAccount">;
|
19
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
20
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
21
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
22
|
+
signMessage: t.LiteralC<"signMessage">;
|
23
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
24
|
+
enableToken: t.LiteralC<"enableToken">;
|
25
|
+
authorize: t.LiteralC<"authorize">;
|
26
|
+
acceleration: t.LiteralC<"acceleration">;
|
27
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
28
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
29
|
+
contractCall: t.LiteralC<"contractCall">;
|
30
|
+
deactivate: t.LiteralC<"deactivate">;
|
31
|
+
customTx: t.LiteralC<"customTx">;
|
32
|
+
}>;
|
33
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
+
nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
|
36
|
+
}>, t.TypeC<{
|
37
|
+
stakingRequestId: t.StringC;
|
38
|
+
}>]>, t.TypeC<{
|
39
|
+
intentType: t.LiteralC<"unstake">;
|
40
|
+
}>]>, t.TypeC<{
|
41
|
+
validatorAddress: t.StringC;
|
42
|
+
amount: t.TypeC<{
|
43
|
+
value: t.StringC;
|
44
|
+
symbol: t.StringC;
|
45
|
+
}>;
|
46
|
+
recipients: t.UnionC<[t.Type<{
|
47
|
+
address: {
|
48
|
+
address: string | undefined;
|
49
|
+
option: {
|
50
|
+
[x: string]: unknown;
|
51
|
+
} | undefined;
|
52
|
+
};
|
53
|
+
amount: {
|
54
|
+
value: string;
|
55
|
+
symbol: string;
|
56
|
+
};
|
57
|
+
data: string | undefined;
|
58
|
+
}[], {
|
59
|
+
address: {
|
60
|
+
address: string | undefined;
|
61
|
+
option: {
|
62
|
+
[x: string]: unknown;
|
63
|
+
} | undefined;
|
64
|
+
};
|
65
|
+
amount: {
|
66
|
+
value: string;
|
67
|
+
symbol: string;
|
68
|
+
};
|
69
|
+
data: string | undefined;
|
70
|
+
}[], unknown>, t.UndefinedC]>;
|
71
|
+
}>]>;
|
72
|
+
export type AtomUnstakeIntent = t.TypeOf<typeof AtomUnstakeIntent>;
|
@@ -0,0 +1,40 @@
|
|
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.AtomUnstakeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const amount_1 = require("./amount");
|
29
|
+
const unstakeIntent_1 = require("./unstakeIntent");
|
30
|
+
const recipientEntry_1 = require("./recipientEntry");
|
31
|
+
const utils_1 = require("../../../utils");
|
32
|
+
exports.AtomUnstakeIntent = t.intersection([
|
33
|
+
unstakeIntent_1.UnstakeIntent,
|
34
|
+
t.type({
|
35
|
+
validatorAddress: t.string,
|
36
|
+
amount: amount_1.Amount,
|
37
|
+
recipients: (0, utils_1.Optional)(t.array(recipientEntry_1.RecipientEntry)),
|
38
|
+
}),
|
39
|
+
]);
|
40
|
+
//# sourceMappingURL=atomUnstakeIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"atomUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/atomUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qCAAkC;AAClC,mDAAgD;AAChD,qDAAkD;AAClD,0CAA0C;AAE7B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,6BAAa;IACb,CAAC,CAAC,IAAI,CAAC;QACL,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,MAAM,EAAE,eAAM;QACd,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
vote: t.LiteralC<"vote">;
|
18
|
+
createAccount: t.LiteralC<"createAccount">;
|
19
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
20
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
21
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
22
|
+
signMessage: t.LiteralC<"signMessage">;
|
23
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
24
|
+
enableToken: t.LiteralC<"enableToken">;
|
25
|
+
authorize: t.LiteralC<"authorize">;
|
26
|
+
acceleration: t.LiteralC<"acceleration">;
|
27
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
28
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
29
|
+
contractCall: t.LiteralC<"contractCall">;
|
30
|
+
deactivate: t.LiteralC<"deactivate">;
|
31
|
+
customTx: t.LiteralC<"customTx">;
|
32
|
+
}>;
|
33
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
+
nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
|
36
|
+
}>, t.TypeC<{
|
37
|
+
stakingRequestId: t.StringC;
|
38
|
+
}>]>, t.TypeC<{
|
39
|
+
intentType: t.LiteralC<"claim">;
|
40
|
+
amount: t.UnionC<[t.Type<{
|
41
|
+
value: string;
|
42
|
+
symbol: string;
|
43
|
+
}, {
|
44
|
+
value: string;
|
45
|
+
symbol: string;
|
46
|
+
}, unknown>, t.UndefinedC]>;
|
47
|
+
}>]>, t.TypeC<{
|
48
|
+
validatorAddress: t.StringC;
|
49
|
+
amount: t.TypeC<{
|
50
|
+
value: t.StringC;
|
51
|
+
symbol: t.StringC;
|
52
|
+
}>;
|
53
|
+
}>]>;
|
54
|
+
export type AtomWithdrawIntent = t.TypeOf<typeof AtomWithdrawIntent>;
|
@@ -0,0 +1,37 @@
|
|
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.AtomWithdrawIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const amount_1 = require("./amount");
|
29
|
+
const withdrawIntent_1 = require("./withdrawIntent");
|
30
|
+
exports.AtomWithdrawIntent = t.intersection([
|
31
|
+
withdrawIntent_1.WithdrawIntent,
|
32
|
+
t.type({
|
33
|
+
validatorAddress: t.string,
|
34
|
+
amount: amount_1.Amount,
|
35
|
+
}),
|
36
|
+
]);
|
37
|
+
//# sourceMappingURL=atomWithdrawIntent.js.map
|