@bitgo/public-types 2.39.0 → 2.41.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/index.d.ts +1 -0
- package/dist/src/schema/index.js +1 -0
- package/dist/src/schema/index.js.map +1 -1
- package/dist/src/schema/lightning/index.d.ts +1 -0
- package/dist/src/schema/lightning/index.js +18 -0
- package/dist/src/schema/lightning/index.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.d.ts +13 -10
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.d.ts +14 -11
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +6 -4
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js +3 -1
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +6 -4
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.js +3 -1
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/address.d.ts +2 -1
- package/dist/src/schema/transactionRequest/intents/address.js +1 -1
- package/dist/src/schema/transactionRequest/intents/address.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +16 -12
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +16 -12
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +7 -5
- package/dist/src/schema/transactionRequest/intents/baseIntent.js +19 -11
- package/dist/src/schema/transactionRequest/intents/baseIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +31 -27
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +16 -12
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +16 -12
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.d.ts +10 -8
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js +1 -1
- package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +23 -18
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotConsolidateIntent.d.ts +39 -0
- package/dist/src/schema/transactionRequest/intents/dotConsolidateIntent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/dotConsolidateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +27 -20
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotFeeOptionFormula.d.ts +14 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptionFormula.js +35 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptionFormula.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js +11 -7
- package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +19 -15
- package/dist/src/schema/transactionRequest/intents/dotProxy.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/dotProxy.js +1 -1
- package/dist/src/schema/transactionRequest/intents/dotProxy.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +15 -11
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +15 -11
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +15 -11
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js +1 -1
- package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +7 -5
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +8 -7
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.d.ts +125 -23
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js +13 -3
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethConsolidateIntent.d.ts +74 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +105 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.js +43 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +20 -19
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js +2 -8
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +27 -25
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js +2 -1
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +22 -21
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +103 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/feeOption.d.ts +2 -1
- package/dist/src/schema/transactionRequest/intents/feeOption.js +1 -1
- package/dist/src/schema/transactionRequest/intents/feeOption.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +3 -2
- package/dist/src/schema/transactionRequest/intents/index.d.ts +8 -0
- package/dist/src/schema/transactionRequest/intents/index.js +8 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +1115 -369
- package/dist/src/schema/transactionRequest/intents/intent.js +17 -1
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +58 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +9 -6
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/recipientEntry.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/recipientEntry.js +9 -5
- package/dist/src/schema/transactionRequest/intents/recipientEntry.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +6 -4
- package/dist/src/schema/transactionRequest/intents/solConsolidateIntent.d.ts +13 -10
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +8 -6
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +9 -7
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +5 -4
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +6 -4
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +79 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +7 -5
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +96 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +16 -13
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +6 -3
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/tokenData.d.ts +5 -4
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.d.ts +3 -2
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.js +8 -4
- package/dist/src/schema/transactionRequest/intents/tokenEnablement.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.d.ts +9 -7
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js +9 -5
- package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/tonConsolidateIntent.d.ts +13 -10
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +9 -7
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +11 -43
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js +0 -2
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js +1 -1
- package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +4 -3
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +5 -3
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/index.ts +1 -0
- package/src/schema/lightning/index.ts +1 -0
- package/src/schema/transactionRequest/intents/accountBaseBuildOptions.ts +1 -1
- package/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/adaConsolidateIntent.ts +1 -1
- package/src/schema/transactionRequest/intents/adaStakeIntent.ts +3 -1
- package/src/schema/transactionRequest/intents/adaUnstakeIntent.ts +3 -1
- package/src/schema/transactionRequest/intents/address.ts +3 -1
- package/src/schema/transactionRequest/intents/atomStakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/atomUnstakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/baseIntent.ts +20 -12
- package/src/schema/transactionRequest/intents/consolidateTokenIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/cosmosStakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/cosmosUnstakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.ts +1 -1
- package/src/schema/transactionRequest/intents/dotBaseIntent.ts +1 -1
- package/src/schema/transactionRequest/intents/dotConsolidateIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/dotCreateAccountIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/dotFeeOptionFormula.ts +12 -0
- package/src/schema/transactionRequest/intents/dotFeeOptions.ts +11 -7
- package/src/schema/transactionRequest/intents/dotProxy.ts +1 -1
- package/src/schema/transactionRequest/intents/dotStakingIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/dotUnstakingIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/eip1559FeeOptions.ts +1 -1
- package/src/schema/transactionRequest/intents/ethBuildOptions.ts +26 -2
- package/src/schema/transactionRequest/intents/ethConsolidateIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.ts +21 -0
- package/src/schema/transactionRequest/intents/ethFillNonceIntent.ts +2 -10
- package/src/schema/transactionRequest/intents/ethPaymentIntent.ts +2 -1
- package/src/schema/transactionRequest/intents/ethTransferTokenIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/feeOption.ts +3 -1
- package/src/schema/transactionRequest/intents/index.ts +8 -0
- package/src/schema/transactionRequest/intents/intent.ts +17 -1
- package/src/schema/transactionRequest/intents/mmiSignTransactionIntent.ts +13 -0
- package/src/schema/transactionRequest/intents/recipientEntry.ts +9 -5
- package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/suiConsolidateIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/suiPaymentIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/suiStakingIntent.ts +1 -1
- package/src/schema/transactionRequest/intents/suiUnstakingIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/tokenEnablement.ts +8 -4
- package/src/schema/transactionRequest/intents/tokenRecipientEntryItem.ts +9 -5
- package/src/schema/transactionRequest/intents/tonPaymentIntent.ts +1 -1
- package/src/schema/transactionRequest/intents/transferTokenIntent.ts +0 -2
- package/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.ts +1 -1
- package/src/schema/transactionRequest/intents/withdrawIntent.ts +2 -0
@@ -1 +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;
|
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;KACf,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"unstake">;
|
@@ -43,10 +44,11 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
43
44
|
value: t.StringC;
|
44
45
|
symbol: t.StringC;
|
45
46
|
}>;
|
46
|
-
|
47
|
+
}>, t.PartialC<{
|
48
|
+
recipients: t.UnionC<[t.Type<({
|
47
49
|
address: {
|
48
|
-
address
|
49
|
-
option
|
50
|
+
address?: string | undefined;
|
51
|
+
option?: {
|
50
52
|
[x: string]: unknown;
|
51
53
|
} | undefined;
|
52
54
|
};
|
@@ -54,11 +56,12 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
54
56
|
value: string;
|
55
57
|
symbol: string;
|
56
58
|
};
|
57
|
-
|
58
|
-
|
59
|
+
} & {
|
60
|
+
data?: string | undefined;
|
61
|
+
})[], ({
|
59
62
|
address: {
|
60
|
-
address
|
61
|
-
option
|
63
|
+
address?: string | undefined;
|
64
|
+
option?: {
|
62
65
|
[x: string]: unknown;
|
63
66
|
} | undefined;
|
64
67
|
};
|
@@ -66,7 +69,8 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
66
69
|
value: string;
|
67
70
|
symbol: string;
|
68
71
|
};
|
69
|
-
|
70
|
-
|
72
|
+
} & {
|
73
|
+
data?: string | undefined;
|
74
|
+
})[], unknown>, t.UndefinedC]>;
|
71
75
|
}>]>;
|
72
76
|
export type AtomUnstakeIntent = t.TypeOf<typeof AtomUnstakeIntent>;
|
@@ -1 +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;
|
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;KACf,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,13 +30,15 @@ export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"claim">;
|
41
|
+
}>, t.PartialC<{
|
40
42
|
amount: t.UnionC<[t.Type<{
|
41
43
|
value: string;
|
42
44
|
symbol: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BaseIntent: t.TypeC<{
|
2
|
+
export declare const BaseIntent: t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,12 +30,13 @@ export declare const BaseIntent: t.TypeC<{
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>;
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>;
|
37
38
|
export type BaseIntent = t.TypeOf<typeof BaseIntent>;
|
38
|
-
export declare const BaseIntentWithoutNonce: t.TypeC<{
|
39
|
+
export declare const BaseIntentWithoutNonce: t.IntersectionC<[t.TypeC<{
|
39
40
|
intentType: t.KeyofC<{
|
40
41
|
payment: t.LiteralC<"payment">;
|
41
42
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -66,7 +67,8 @@ export declare const BaseIntentWithoutNonce: t.TypeC<{
|
|
66
67
|
deactivate: t.LiteralC<"deactivate">;
|
67
68
|
customTx: t.LiteralC<"customTx">;
|
68
69
|
}>;
|
70
|
+
}>, t.PartialC<{
|
69
71
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
70
72
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
71
|
-
}>;
|
73
|
+
}>]>;
|
72
74
|
export type BaseIntentWithoutNonce = t.TypeOf<typeof BaseIntentWithoutNonce>;
|
@@ -27,15 +27,23 @@ exports.BaseIntentWithoutNonce = exports.BaseIntent = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
28
28
|
const intentType_1 = require("./intentType");
|
29
29
|
const utils_1 = require("../../../utils");
|
30
|
-
exports.BaseIntent = t.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
30
|
+
exports.BaseIntent = t.intersection([
|
31
|
+
t.type({
|
32
|
+
intentType: intentType_1.IntentType,
|
33
|
+
}),
|
34
|
+
t.partial({
|
35
|
+
sequenceId: utils_1.optionalString,
|
36
|
+
comment: utils_1.optionalString,
|
37
|
+
nonce: (0, utils_1.Optional)(t.union([t.string, t.number])),
|
38
|
+
}),
|
39
|
+
]);
|
40
|
+
exports.BaseIntentWithoutNonce = t.intersection([
|
41
|
+
t.type({
|
42
|
+
intentType: intentType_1.IntentType,
|
43
|
+
}),
|
44
|
+
t.partial({
|
45
|
+
sequenceId: utils_1.optionalString,
|
46
|
+
comment: utils_1.optionalString,
|
47
|
+
}),
|
48
|
+
]);
|
41
49
|
//# sourceMappingURL=baseIntent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/baseIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,
|
1
|
+
{"version":3,"file":"baseIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/baseIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,0CAA0D;AAE7C,QAAA,UAAU,GAAG,CAAC,CAAC,YAAY,CAAC;IACvC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,uBAAU;KACvB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,sBAAc;QAC1B,OAAO,EAAE,sBAAc;QACvB,KAAK,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;KAC/C,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,uBAAU;KACvB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,sBAAc;QAC1B,OAAO,EAAE,sBAAc;KACxB,CAAC;CACH,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BaseStakeIntent: t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const BaseStakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const BaseStakeIntent: t.IntersectionC<[t.TypeC<{
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>;
|
39
40
|
export type BaseStakeIntent = t.TypeOf<typeof BaseStakeIntent>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BscDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const BscDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const BscDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"delegate">;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"stakeClaimRewards">;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"undelegate">;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const BscWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const BscWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,13 +30,15 @@ export declare const BscWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"claim">;
|
41
|
+
}>, t.PartialC<{
|
40
42
|
amount: t.UnionC<[t.Type<{
|
41
43
|
value: string;
|
42
44
|
symbol: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const ConsolidateTokenIntent: t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const ConsolidateTokenIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,32 +30,33 @@ export declare const ConsolidateTokenIntent: t.IntersectionC<[t.TypeC<{
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
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.IntersectionC<[t.TypeC<{
|
37
36
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
|
-
}>, t.
|
37
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
38
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
39
|
+
}>, t.PartialC<{
|
39
40
|
feeOptions: t.UnionC<[t.Type<{
|
40
|
-
|
41
|
-
|
42
|
-
|
41
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
42
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
43
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
44
|
+
gasLimit?: number | undefined;
|
45
|
+
gasPrice?: number | undefined;
|
43
46
|
} | {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
gasLimit: number | undefined;
|
48
|
-
gasPrice: number | undefined;
|
47
|
+
gasLimit?: number | undefined;
|
48
|
+
maxFeePerGas?: number | undefined;
|
49
|
+
maxPriorityFeePerGas?: number | undefined;
|
49
50
|
}, {
|
50
|
-
|
51
|
-
|
52
|
-
|
51
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
52
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
53
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
54
|
+
gasLimit?: number | undefined;
|
55
|
+
gasPrice?: number | undefined;
|
53
56
|
} | {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
gasLimit: number | undefined;
|
58
|
-
gasPrice: number | undefined;
|
57
|
+
gasLimit?: number | undefined;
|
58
|
+
maxFeePerGas?: number | undefined;
|
59
|
+
maxPriorityFeePerGas?: number | undefined;
|
59
60
|
}, unknown>, t.UndefinedC]>;
|
60
61
|
hopParams: t.UnionC<[t.Type<{
|
61
62
|
paymentId: string | undefined;
|
@@ -70,8 +71,8 @@ export declare const ConsolidateTokenIntent: t.IntersectionC<[t.TypeC<{
|
|
70
71
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
71
72
|
}>]>, t.TypeC<{
|
72
73
|
intentType: t.LiteralC<"consolidateToken">;
|
73
|
-
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
74
|
-
address: t.
|
74
|
+
recipients: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
75
|
+
address: t.PartialC<{
|
75
76
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
76
77
|
option: t.UnionC<[t.Type<{
|
77
78
|
[x: string]: unknown;
|
@@ -83,19 +84,22 @@ export declare const ConsolidateTokenIntent: t.IntersectionC<[t.TypeC<{
|
|
83
84
|
value: t.StringC;
|
84
85
|
symbol: t.StringC;
|
85
86
|
}>;
|
87
|
+
}>, t.PartialC<{
|
86
88
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
87
|
-
}>, t.TypeC<{
|
88
|
-
tokenData: t.IntersectionC<[t.TypeC<{
|
89
|
-
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
89
|
+
}>]>, t.TypeC<{
|
90
|
+
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
90
91
|
tokenQuantity: t.StringC;
|
91
92
|
tokenType: t.StringC;
|
92
|
-
}>, t.
|
93
|
+
}>, t.PartialC<{
|
94
|
+
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
95
|
+
}>]>, t.TypeC<{
|
93
96
|
tokenName: t.StringC;
|
94
|
-
}>, t.
|
97
|
+
}>, t.PartialC<{
|
95
98
|
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
96
99
|
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
97
100
|
}>]>;
|
98
101
|
}>]>>;
|
102
|
+
}>, t.PartialC<{
|
99
103
|
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
100
104
|
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
101
105
|
}>]>;
|
@@ -36,6 +36,8 @@ exports.ConsolidateTokenIntent = t.intersection([
|
|
36
36
|
t.type({
|
37
37
|
intentType: intentType_1.intentTypes.consolidateToken,
|
38
38
|
recipients: t.array(tokenRecipientEntry_1.TokenRecipientEntry),
|
39
|
+
}),
|
40
|
+
t.partial({
|
39
41
|
consolidateId: utils_1.optionalString,
|
40
42
|
keepAlive: utils_1.optionalBoolean,
|
41
43
|
}),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"consolidateTokenIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/consolidateTokenIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAiE;AACjE,+DAA4D;AAC5D,uDAAoD;AAEvC,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,gBAAgB;QACxC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAmB,CAAC;
|
1
|
+
{"version":3,"file":"consolidateTokenIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/consolidateTokenIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAiE;AACjE,+DAA4D;AAC5D,uDAAoD;AAEvC,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,gBAAgB;QACxC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAmB,CAAC;KACzC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,aAAa,EAAE,sBAAc;QAC7B,SAAS,EAAE,uBAAe;KAC3B,CAAC;CACH,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,13 +30,14 @@ export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
intent: t.LiteralC<"payment">;
|
38
|
-
recipients: t.ArrayC<t.TypeC<{
|
39
|
-
address: t.
|
39
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
40
|
+
address: t.PartialC<{
|
40
41
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
41
42
|
option: t.UnionC<[t.Type<{
|
42
43
|
[x: string]: unknown;
|
@@ -48,8 +49,9 @@ export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
48
49
|
value: t.StringC;
|
49
50
|
symbol: t.StringC;
|
50
51
|
}>;
|
52
|
+
}>, t.PartialC<{
|
51
53
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
52
|
-
}>>;
|
54
|
+
}>]>>;
|
53
55
|
}>]>, t.TypeC<{
|
54
56
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
55
57
|
}>]>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"delegate">;
|
@@ -42,10 +43,11 @@ export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
42
43
|
value: t.StringC;
|
43
44
|
symbol: t.StringC;
|
44
45
|
}>;
|
45
|
-
|
46
|
+
}>, t.PartialC<{
|
47
|
+
recipients: t.UnionC<[t.Type<({
|
46
48
|
address: {
|
47
|
-
address
|
48
|
-
option
|
49
|
+
address?: string | undefined;
|
50
|
+
option?: {
|
49
51
|
[x: string]: unknown;
|
50
52
|
} | undefined;
|
51
53
|
};
|
@@ -53,11 +55,12 @@ export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
53
55
|
value: string;
|
54
56
|
symbol: string;
|
55
57
|
};
|
56
|
-
|
57
|
-
|
58
|
+
} & {
|
59
|
+
data?: string | undefined;
|
60
|
+
})[], ({
|
58
61
|
address: {
|
59
|
-
address
|
60
|
-
option
|
62
|
+
address?: string | undefined;
|
63
|
+
option?: {
|
61
64
|
[x: string]: unknown;
|
62
65
|
} | undefined;
|
63
66
|
};
|
@@ -65,7 +68,8 @@ export declare const CosmosStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
65
68
|
value: string;
|
66
69
|
symbol: string;
|
67
70
|
};
|
68
|
-
|
69
|
-
|
71
|
+
} & {
|
72
|
+
data?: string | undefined;
|
73
|
+
})[], unknown>, t.UndefinedC]>;
|
70
74
|
}>]>;
|
71
75
|
export type CosmosStakeIntent = t.TypeOf<typeof CosmosStakeIntent>;
|
@@ -36,6 +36,8 @@ exports.CosmosStakeIntent = t.intersection([
|
|
36
36
|
intentType: intentType_1.intentTypes.delegate,
|
37
37
|
validatorAddress: t.string,
|
38
38
|
amount: amount_1.Amount,
|
39
|
+
}),
|
40
|
+
t.partial({
|
39
41
|
recipients: (0, utils_1.Optional)(t.array(recipientEntry_1.RecipientEntry)),
|
40
42
|
}),
|
41
43
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cosmosStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cosmosStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAC3C,qCAAkC;AAClC,qDAAkD;AAClD,0CAA0C;AAE7B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,MAAM,EAAE,eAAM;
|
1
|
+
{"version":3,"file":"cosmosStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cosmosStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAC3C,qCAAkC;AAClC,qDAAkD;AAClD,0CAA0C;AAE7B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,MAAM,EAAE,eAAM;KACf,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const CosmosSwitchValidatorIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const CosmosSwitchValidatorIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const CosmosSwitchValidatorIntent: t.IntersectionC<[t.Intersectio
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"switchValidator">;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2
|
+
export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
3
|
intentType: t.KeyofC<{
|
4
4
|
payment: t.LiteralC<"payment">;
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -30,10 +30,11 @@ export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
30
30
|
deactivate: t.LiteralC<"deactivate">;
|
31
31
|
customTx: t.LiteralC<"customTx">;
|
32
32
|
}>;
|
33
|
+
}>, t.PartialC<{
|
33
34
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
34
35
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
35
|
-
nonce: t.UnionC<[t.
|
36
|
-
}>, t.TypeC<{
|
36
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
37
|
+
}>]>, t.TypeC<{
|
37
38
|
stakingRequestId: t.StringC;
|
38
39
|
}>]>, t.TypeC<{
|
39
40
|
intentType: t.LiteralC<"undelegate">;
|
@@ -42,10 +43,11 @@ export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
42
43
|
value: t.StringC;
|
43
44
|
symbol: t.StringC;
|
44
45
|
}>;
|
45
|
-
|
46
|
+
}>, t.PartialC<{
|
47
|
+
recipients: t.UnionC<[t.Type<({
|
46
48
|
address: {
|
47
|
-
address
|
48
|
-
option
|
49
|
+
address?: string | undefined;
|
50
|
+
option?: {
|
49
51
|
[x: string]: unknown;
|
50
52
|
} | undefined;
|
51
53
|
};
|
@@ -53,11 +55,12 @@ export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
53
55
|
value: string;
|
54
56
|
symbol: string;
|
55
57
|
};
|
56
|
-
|
57
|
-
|
58
|
+
} & {
|
59
|
+
data?: string | undefined;
|
60
|
+
})[], ({
|
58
61
|
address: {
|
59
|
-
address
|
60
|
-
option
|
62
|
+
address?: string | undefined;
|
63
|
+
option?: {
|
61
64
|
[x: string]: unknown;
|
62
65
|
} | undefined;
|
63
66
|
};
|
@@ -65,7 +68,8 @@ export declare const CosmosUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
65
68
|
value: string;
|
66
69
|
symbol: string;
|
67
70
|
};
|
68
|
-
|
69
|
-
|
71
|
+
} & {
|
72
|
+
data?: string | undefined;
|
73
|
+
})[], unknown>, t.UndefinedC]>;
|
70
74
|
}>]>;
|
71
75
|
export type CosmosUnstakeIntent = t.TypeOf<typeof CosmosUnstakeIntent>;
|