@bitgo/public-types 2.39.0 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +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/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,15 +1,16 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.
|
2
|
+
export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
3
3
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
4
4
|
}>, t.TypeC<{
|
5
5
|
intentType: t.LiteralC<"consolidate">;
|
6
6
|
receiveAddress: t.StringC;
|
7
|
+
}>, t.PartialC<{
|
7
8
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
8
9
|
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
9
|
-
recipients: t.UnionC<[t.Type<{
|
10
|
+
recipients: t.UnionC<[t.Type<({
|
10
11
|
address: {
|
11
|
-
address
|
12
|
-
option
|
12
|
+
address?: string | undefined;
|
13
|
+
option?: {
|
13
14
|
[x: string]: unknown;
|
14
15
|
} | undefined;
|
15
16
|
};
|
@@ -17,11 +18,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
17
18
|
value: string;
|
18
19
|
symbol: string;
|
19
20
|
};
|
20
|
-
|
21
|
-
|
21
|
+
} & {
|
22
|
+
data?: string | undefined;
|
23
|
+
})[], ({
|
22
24
|
address: {
|
23
|
-
address
|
24
|
-
option
|
25
|
+
address?: string | undefined;
|
26
|
+
option?: {
|
25
27
|
[x: string]: unknown;
|
26
28
|
} | undefined;
|
27
29
|
};
|
@@ -29,12 +31,13 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
29
31
|
value: string;
|
30
32
|
symbol: string;
|
31
33
|
};
|
32
|
-
|
33
|
-
|
34
|
+
} & {
|
35
|
+
data?: string | undefined;
|
36
|
+
})[], unknown>, t.UndefinedC]>;
|
34
37
|
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
35
|
-
}>]>, t.
|
38
|
+
}>]>, t.PartialC<{
|
36
39
|
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
37
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
40
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
38
41
|
intentType: t.KeyofC<{
|
39
42
|
payment: t.LiteralC<"payment">;
|
40
43
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -65,13 +68,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
65
68
|
deactivate: t.LiteralC<"deactivate">;
|
66
69
|
customTx: t.LiteralC<"customTx">;
|
67
70
|
}>;
|
71
|
+
}>, t.PartialC<{
|
68
72
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
69
73
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
70
|
-
nonce: t.UnionC<[t.
|
71
|
-
}>, t.TypeC<{
|
74
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
75
|
+
}>]>, t.TypeC<{
|
72
76
|
intent: t.LiteralC<"payment">;
|
73
|
-
recipients: t.ArrayC<t.TypeC<{
|
74
|
-
address: t.
|
77
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
78
|
+
address: t.PartialC<{
|
75
79
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
76
80
|
option: t.UnionC<[t.Type<{
|
77
81
|
[x: string]: unknown;
|
@@ -83,11 +87,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
83
87
|
value: t.StringC;
|
84
88
|
symbol: t.StringC;
|
85
89
|
}>;
|
90
|
+
}>, t.PartialC<{
|
86
91
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
87
|
-
}>>;
|
92
|
+
}>]>>;
|
88
93
|
}>]>, t.TypeC<{
|
89
94
|
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
90
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
95
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
91
96
|
intentType: t.KeyofC<{
|
92
97
|
payment: t.LiteralC<"payment">;
|
93
98
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -118,13 +123,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
118
123
|
deactivate: t.LiteralC<"deactivate">;
|
119
124
|
customTx: t.LiteralC<"customTx">;
|
120
125
|
}>;
|
126
|
+
}>, t.PartialC<{
|
121
127
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
122
128
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
123
|
-
nonce: t.UnionC<[t.
|
124
|
-
}>, t.TypeC<{
|
129
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
130
|
+
}>]>, t.TypeC<{
|
125
131
|
intent: t.LiteralC<"payment">;
|
126
|
-
recipients: t.ArrayC<t.TypeC<{
|
127
|
-
address: t.
|
132
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
133
|
+
address: t.PartialC<{
|
128
134
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
129
135
|
option: t.UnionC<[t.Type<{
|
130
136
|
[x: string]: unknown;
|
@@ -136,11 +142,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
136
142
|
value: t.StringC;
|
137
143
|
symbol: t.StringC;
|
138
144
|
}>;
|
145
|
+
}>, t.PartialC<{
|
139
146
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
140
|
-
}>>;
|
147
|
+
}>]>>;
|
141
148
|
}>]>, t.TypeC<{
|
142
149
|
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
143
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
150
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
144
151
|
intentType: t.KeyofC<{
|
145
152
|
payment: t.LiteralC<"payment">;
|
146
153
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -171,10 +178,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
171
178
|
deactivate: t.LiteralC<"deactivate">;
|
172
179
|
customTx: t.LiteralC<"customTx">;
|
173
180
|
}>;
|
181
|
+
}>, t.PartialC<{
|
174
182
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
175
183
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
176
|
-
nonce: t.UnionC<[t.
|
177
|
-
}>, t.TypeC<{
|
184
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
185
|
+
}>]>, t.TypeC<{
|
178
186
|
stakingRequestId: t.StringC;
|
179
187
|
}>]>, t.TypeC<{
|
180
188
|
intentType: t.LiteralC<"stakeClaimRewards">;
|
@@ -182,7 +190,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
182
190
|
value: t.StringC;
|
183
191
|
symbol: t.StringC;
|
184
192
|
}>;
|
185
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
193
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
186
194
|
intentType: t.KeyofC<{
|
187
195
|
payment: t.LiteralC<"payment">;
|
188
196
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -213,14 +221,17 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
213
221
|
deactivate: t.LiteralC<"deactivate">;
|
214
222
|
customTx: t.LiteralC<"customTx">;
|
215
223
|
}>;
|
224
|
+
}>, t.PartialC<{
|
216
225
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
217
226
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
218
|
-
nonce: t.UnionC<[t.
|
219
|
-
}>, t.TypeC<{
|
227
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
228
|
+
}>]>, t.TypeC<{
|
220
229
|
stakingRequestId: t.StringC;
|
221
230
|
}>]>, t.TypeC<{
|
222
231
|
intentType: t.LiteralC<"stake">;
|
223
232
|
}>]>, t.TypeC<{
|
233
|
+
poolKeyHash: t.StringC;
|
234
|
+
}>, t.PartialC<{
|
224
235
|
amount: t.UnionC<[t.Type<{
|
225
236
|
value: string;
|
226
237
|
symbol: string;
|
@@ -228,8 +239,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
228
239
|
value: string;
|
229
240
|
symbol: string;
|
230
241
|
}, unknown>, t.UndefinedC]>;
|
231
|
-
|
232
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
242
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
233
243
|
intentType: t.KeyofC<{
|
234
244
|
payment: t.LiteralC<"payment">;
|
235
245
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -260,14 +270,17 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
260
270
|
deactivate: t.LiteralC<"deactivate">;
|
261
271
|
customTx: t.LiteralC<"customTx">;
|
262
272
|
}>;
|
273
|
+
}>, t.PartialC<{
|
263
274
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
264
275
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
265
|
-
nonce: t.UnionC<[t.
|
266
|
-
}>, t.TypeC<{
|
276
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
277
|
+
}>]>, t.TypeC<{
|
267
278
|
stakingRequestId: t.StringC;
|
268
279
|
}>]>, t.TypeC<{
|
269
280
|
intentType: t.LiteralC<"unstake">;
|
270
281
|
}>]>, t.TypeC<{
|
282
|
+
poolKeyHash: t.StringC;
|
283
|
+
}>, t.PartialC<{
|
271
284
|
amount: t.UnionC<[t.Type<{
|
272
285
|
value: string;
|
273
286
|
symbol: string;
|
@@ -275,8 +288,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
275
288
|
value: string;
|
276
289
|
symbol: string;
|
277
290
|
}, unknown>, t.UndefinedC]>;
|
278
|
-
|
279
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
291
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
280
292
|
intentType: t.KeyofC<{
|
281
293
|
payment: t.LiteralC<"payment">;
|
282
294
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -307,13 +319,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
307
319
|
deactivate: t.LiteralC<"deactivate">;
|
308
320
|
customTx: t.LiteralC<"customTx">;
|
309
321
|
}>;
|
322
|
+
}>, t.PartialC<{
|
310
323
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
311
324
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
312
|
-
nonce: t.UnionC<[t.
|
313
|
-
}>, t.TypeC<{
|
325
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
326
|
+
}>]>, t.TypeC<{
|
314
327
|
intent: t.LiteralC<"payment">;
|
315
|
-
recipients: t.ArrayC<t.TypeC<{
|
316
|
-
address: t.
|
328
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
329
|
+
address: t.PartialC<{
|
317
330
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
318
331
|
option: t.UnionC<[t.Type<{
|
319
332
|
[x: string]: unknown;
|
@@ -325,11 +338,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
325
338
|
value: t.StringC;
|
326
339
|
symbol: t.StringC;
|
327
340
|
}>;
|
341
|
+
}>, t.PartialC<{
|
328
342
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
329
|
-
}>>;
|
343
|
+
}>]>>;
|
330
344
|
}>]>, t.TypeC<{
|
331
345
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
332
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
346
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
333
347
|
intentType: t.KeyofC<{
|
334
348
|
payment: t.LiteralC<"payment">;
|
335
349
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -360,10 +374,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
360
374
|
deactivate: t.LiteralC<"deactivate">;
|
361
375
|
customTx: t.LiteralC<"customTx">;
|
362
376
|
}>;
|
377
|
+
}>, t.PartialC<{
|
363
378
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
364
379
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
365
|
-
nonce: t.UnionC<[t.
|
366
|
-
}>, t.TypeC<{
|
380
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
381
|
+
}>]>, t.TypeC<{
|
367
382
|
stakingRequestId: t.StringC;
|
368
383
|
}>]>, t.TypeC<{
|
369
384
|
intentType: t.LiteralC<"stake">;
|
@@ -373,10 +388,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
373
388
|
value: t.StringC;
|
374
389
|
symbol: t.StringC;
|
375
390
|
}>;
|
376
|
-
|
391
|
+
}>, t.PartialC<{
|
392
|
+
recipients: t.UnionC<[t.Type<({
|
377
393
|
address: {
|
378
|
-
address
|
379
|
-
option
|
394
|
+
address?: string | undefined;
|
395
|
+
option?: {
|
380
396
|
[x: string]: unknown;
|
381
397
|
} | undefined;
|
382
398
|
};
|
@@ -384,11 +400,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
384
400
|
value: string;
|
385
401
|
symbol: string;
|
386
402
|
};
|
387
|
-
|
388
|
-
|
403
|
+
} & {
|
404
|
+
data?: string | undefined;
|
405
|
+
})[], ({
|
389
406
|
address: {
|
390
|
-
address
|
391
|
-
option
|
407
|
+
address?: string | undefined;
|
408
|
+
option?: {
|
392
409
|
[x: string]: unknown;
|
393
410
|
} | undefined;
|
394
411
|
};
|
@@ -396,9 +413,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
396
413
|
value: string;
|
397
414
|
symbol: string;
|
398
415
|
};
|
399
|
-
|
400
|
-
|
401
|
-
}
|
416
|
+
} & {
|
417
|
+
data?: string | undefined;
|
418
|
+
})[], unknown>, t.UndefinedC]>;
|
419
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
402
420
|
intentType: t.KeyofC<{
|
403
421
|
payment: t.LiteralC<"payment">;
|
404
422
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -429,10 +447,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
429
447
|
deactivate: t.LiteralC<"deactivate">;
|
430
448
|
customTx: t.LiteralC<"customTx">;
|
431
449
|
}>;
|
450
|
+
}>, t.PartialC<{
|
432
451
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
433
452
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
434
|
-
nonce: t.UnionC<[t.
|
435
|
-
}>, t.TypeC<{
|
453
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
454
|
+
}>]>, t.TypeC<{
|
436
455
|
stakingRequestId: t.StringC;
|
437
456
|
}>]>, t.TypeC<{
|
438
457
|
intentType: t.LiteralC<"unstake">;
|
@@ -442,10 +461,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
442
461
|
value: t.StringC;
|
443
462
|
symbol: t.StringC;
|
444
463
|
}>;
|
445
|
-
|
464
|
+
}>, t.PartialC<{
|
465
|
+
recipients: t.UnionC<[t.Type<({
|
446
466
|
address: {
|
447
|
-
address
|
448
|
-
option
|
467
|
+
address?: string | undefined;
|
468
|
+
option?: {
|
449
469
|
[x: string]: unknown;
|
450
470
|
} | undefined;
|
451
471
|
};
|
@@ -453,11 +473,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
453
473
|
value: string;
|
454
474
|
symbol: string;
|
455
475
|
};
|
456
|
-
|
457
|
-
|
476
|
+
} & {
|
477
|
+
data?: string | undefined;
|
478
|
+
})[], ({
|
458
479
|
address: {
|
459
|
-
address
|
460
|
-
option
|
480
|
+
address?: string | undefined;
|
481
|
+
option?: {
|
461
482
|
[x: string]: unknown;
|
462
483
|
} | undefined;
|
463
484
|
};
|
@@ -465,9 +486,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
465
486
|
value: string;
|
466
487
|
symbol: string;
|
467
488
|
};
|
468
|
-
|
469
|
-
|
470
|
-
}
|
489
|
+
} & {
|
490
|
+
data?: string | undefined;
|
491
|
+
})[], unknown>, t.UndefinedC]>;
|
492
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
471
493
|
intentType: t.KeyofC<{
|
472
494
|
payment: t.LiteralC<"payment">;
|
473
495
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -498,13 +520,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
498
520
|
deactivate: t.LiteralC<"deactivate">;
|
499
521
|
customTx: t.LiteralC<"customTx">;
|
500
522
|
}>;
|
523
|
+
}>, t.PartialC<{
|
501
524
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
502
525
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
503
|
-
nonce: t.UnionC<[t.
|
504
|
-
}>, t.TypeC<{
|
526
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
527
|
+
}>]>, t.TypeC<{
|
505
528
|
stakingRequestId: t.StringC;
|
506
529
|
}>]>, t.TypeC<{
|
507
530
|
intentType: t.LiteralC<"claim">;
|
531
|
+
}>, t.PartialC<{
|
508
532
|
amount: t.UnionC<[t.Type<{
|
509
533
|
value: string;
|
510
534
|
symbol: string;
|
@@ -518,7 +542,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
518
542
|
value: t.StringC;
|
519
543
|
symbol: t.StringC;
|
520
544
|
}>;
|
521
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
545
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
522
546
|
intentType: t.KeyofC<{
|
523
547
|
payment: t.LiteralC<"payment">;
|
524
548
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -549,10 +573,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
549
573
|
deactivate: t.LiteralC<"deactivate">;
|
550
574
|
customTx: t.LiteralC<"customTx">;
|
551
575
|
}>;
|
576
|
+
}>, t.PartialC<{
|
552
577
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
553
578
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
554
|
-
nonce: t.UnionC<[t.
|
555
|
-
}>, t.TypeC<{
|
579
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
580
|
+
}>]>, t.TypeC<{
|
556
581
|
stakingRequestId: t.StringC;
|
557
582
|
}>]>, t.TypeC<{
|
558
583
|
intentType: t.LiteralC<"delegate">;
|
@@ -565,7 +590,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
565
590
|
value: t.StringC;
|
566
591
|
symbol: t.StringC;
|
567
592
|
}>;
|
568
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
593
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
569
594
|
intentType: t.KeyofC<{
|
570
595
|
payment: t.LiteralC<"payment">;
|
571
596
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -596,10 +621,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
596
621
|
deactivate: t.LiteralC<"deactivate">;
|
597
622
|
customTx: t.LiteralC<"customTx">;
|
598
623
|
}>;
|
624
|
+
}>, t.PartialC<{
|
599
625
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
600
626
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
601
|
-
nonce: t.UnionC<[t.
|
602
|
-
}>, t.TypeC<{
|
627
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
628
|
+
}>]>, t.TypeC<{
|
603
629
|
stakingRequestId: t.StringC;
|
604
630
|
}>]>, t.TypeC<{
|
605
631
|
intentType: t.LiteralC<"undelegate">;
|
@@ -612,7 +638,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
612
638
|
value: t.StringC;
|
613
639
|
symbol: t.StringC;
|
614
640
|
}>;
|
615
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
641
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
616
642
|
intentType: t.KeyofC<{
|
617
643
|
payment: t.LiteralC<"payment">;
|
618
644
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -643,13 +669,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
643
669
|
deactivate: t.LiteralC<"deactivate">;
|
644
670
|
customTx: t.LiteralC<"customTx">;
|
645
671
|
}>;
|
672
|
+
}>, t.PartialC<{
|
646
673
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
647
674
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
648
|
-
nonce: t.UnionC<[t.
|
649
|
-
}>, t.TypeC<{
|
675
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
676
|
+
}>]>, t.TypeC<{
|
650
677
|
stakingRequestId: t.StringC;
|
651
678
|
}>]>, t.TypeC<{
|
652
679
|
intentType: t.LiteralC<"claim">;
|
680
|
+
}>, t.PartialC<{
|
653
681
|
amount: t.UnionC<[t.Type<{
|
654
682
|
value: string;
|
655
683
|
symbol: string;
|
@@ -657,7 +685,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
657
685
|
value: string;
|
658
686
|
symbol: string;
|
659
687
|
}, unknown>, t.UndefinedC]>;
|
660
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
688
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
661
689
|
intentType: t.KeyofC<{
|
662
690
|
payment: t.LiteralC<"payment">;
|
663
691
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -688,13 +716,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
688
716
|
deactivate: t.LiteralC<"deactivate">;
|
689
717
|
customTx: t.LiteralC<"customTx">;
|
690
718
|
}>;
|
719
|
+
}>, t.PartialC<{
|
691
720
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
692
721
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
693
|
-
nonce: t.UnionC<[t.
|
694
|
-
}>, t.TypeC<{
|
722
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
723
|
+
}>]>, t.TypeC<{
|
695
724
|
intent: t.LiteralC<"payment">;
|
696
|
-
recipients: t.ArrayC<t.TypeC<{
|
697
|
-
address: t.
|
725
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
726
|
+
address: t.PartialC<{
|
698
727
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
699
728
|
option: t.UnionC<[t.Type<{
|
700
729
|
[x: string]: unknown;
|
@@ -706,11 +735,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
706
735
|
value: t.StringC;
|
707
736
|
symbol: t.StringC;
|
708
737
|
}>;
|
738
|
+
}>, t.PartialC<{
|
709
739
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
710
|
-
}>>;
|
740
|
+
}>]>>;
|
711
741
|
}>]>, t.TypeC<{
|
712
742
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
713
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
743
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
714
744
|
intentType: t.KeyofC<{
|
715
745
|
payment: t.LiteralC<"payment">;
|
716
746
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -741,10 +771,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
741
771
|
deactivate: t.LiteralC<"deactivate">;
|
742
772
|
customTx: t.LiteralC<"customTx">;
|
743
773
|
}>;
|
774
|
+
}>, t.PartialC<{
|
744
775
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
745
776
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
746
|
-
nonce: t.UnionC<[t.
|
747
|
-
}>, t.TypeC<{
|
777
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
778
|
+
}>]>, t.TypeC<{
|
748
779
|
stakingRequestId: t.StringC;
|
749
780
|
}>]>, t.TypeC<{
|
750
781
|
intentType: t.LiteralC<"delegate">;
|
@@ -753,10 +784,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
753
784
|
value: t.StringC;
|
754
785
|
symbol: t.StringC;
|
755
786
|
}>;
|
756
|
-
|
787
|
+
}>, t.PartialC<{
|
788
|
+
recipients: t.UnionC<[t.Type<({
|
757
789
|
address: {
|
758
|
-
address
|
759
|
-
option
|
790
|
+
address?: string | undefined;
|
791
|
+
option?: {
|
760
792
|
[x: string]: unknown;
|
761
793
|
} | undefined;
|
762
794
|
};
|
@@ -764,11 +796,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
764
796
|
value: string;
|
765
797
|
symbol: string;
|
766
798
|
};
|
767
|
-
|
768
|
-
|
799
|
+
} & {
|
800
|
+
data?: string | undefined;
|
801
|
+
})[], ({
|
769
802
|
address: {
|
770
|
-
address
|
771
|
-
option
|
803
|
+
address?: string | undefined;
|
804
|
+
option?: {
|
772
805
|
[x: string]: unknown;
|
773
806
|
} | undefined;
|
774
807
|
};
|
@@ -776,9 +809,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
776
809
|
value: string;
|
777
810
|
symbol: string;
|
778
811
|
};
|
779
|
-
|
780
|
-
|
781
|
-
}
|
812
|
+
} & {
|
813
|
+
data?: string | undefined;
|
814
|
+
})[], unknown>, t.UndefinedC]>;
|
815
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
782
816
|
intentType: t.KeyofC<{
|
783
817
|
payment: t.LiteralC<"payment">;
|
784
818
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -809,10 +843,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
809
843
|
deactivate: t.LiteralC<"deactivate">;
|
810
844
|
customTx: t.LiteralC<"customTx">;
|
811
845
|
}>;
|
846
|
+
}>, t.PartialC<{
|
812
847
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
813
848
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
814
|
-
nonce: t.UnionC<[t.
|
815
|
-
}>, t.TypeC<{
|
849
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
850
|
+
}>]>, t.TypeC<{
|
816
851
|
stakingRequestId: t.StringC;
|
817
852
|
}>]>, t.TypeC<{
|
818
853
|
intentType: t.LiteralC<"switchValidator">;
|
@@ -822,7 +857,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
822
857
|
}>;
|
823
858
|
validatorAddress: t.StringC;
|
824
859
|
destValidatorAddress: t.StringC;
|
825
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
860
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
826
861
|
intentType: t.KeyofC<{
|
827
862
|
payment: t.LiteralC<"payment">;
|
828
863
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -853,10 +888,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
853
888
|
deactivate: t.LiteralC<"deactivate">;
|
854
889
|
customTx: t.LiteralC<"customTx">;
|
855
890
|
}>;
|
891
|
+
}>, t.PartialC<{
|
856
892
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
857
893
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
858
|
-
nonce: t.UnionC<[t.
|
859
|
-
}>, t.TypeC<{
|
894
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
895
|
+
}>]>, t.TypeC<{
|
860
896
|
stakingRequestId: t.StringC;
|
861
897
|
}>]>, t.TypeC<{
|
862
898
|
intentType: t.LiteralC<"undelegate">;
|
@@ -865,10 +901,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
865
901
|
value: t.StringC;
|
866
902
|
symbol: t.StringC;
|
867
903
|
}>;
|
868
|
-
|
904
|
+
}>, t.PartialC<{
|
905
|
+
recipients: t.UnionC<[t.Type<({
|
869
906
|
address: {
|
870
|
-
address
|
871
|
-
option
|
907
|
+
address?: string | undefined;
|
908
|
+
option?: {
|
872
909
|
[x: string]: unknown;
|
873
910
|
} | undefined;
|
874
911
|
};
|
@@ -876,11 +913,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
876
913
|
value: string;
|
877
914
|
symbol: string;
|
878
915
|
};
|
879
|
-
|
880
|
-
|
916
|
+
} & {
|
917
|
+
data?: string | undefined;
|
918
|
+
})[], ({
|
881
919
|
address: {
|
882
|
-
address
|
883
|
-
option
|
920
|
+
address?: string | undefined;
|
921
|
+
option?: {
|
884
922
|
[x: string]: unknown;
|
885
923
|
} | undefined;
|
886
924
|
};
|
@@ -888,9 +926,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
888
926
|
value: string;
|
889
927
|
symbol: string;
|
890
928
|
};
|
891
|
-
|
892
|
-
|
893
|
-
}
|
929
|
+
} & {
|
930
|
+
data?: string | undefined;
|
931
|
+
})[], unknown>, t.UndefinedC]>;
|
932
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
894
933
|
intentType: t.KeyofC<{
|
895
934
|
payment: t.LiteralC<"payment">;
|
896
935
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -921,13 +960,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
921
960
|
deactivate: t.LiteralC<"deactivate">;
|
922
961
|
customTx: t.LiteralC<"customTx">;
|
923
962
|
}>;
|
963
|
+
}>, t.PartialC<{
|
924
964
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
925
965
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
926
|
-
nonce: t.UnionC<[t.
|
927
|
-
}>, t.TypeC<{
|
966
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
967
|
+
}>]>, t.TypeC<{
|
928
968
|
stakingRequestId: t.StringC;
|
929
969
|
}>]>, t.TypeC<{
|
930
970
|
intentType: t.LiteralC<"claim">;
|
971
|
+
}>, t.PartialC<{
|
931
972
|
amount: t.UnionC<[t.Type<{
|
932
973
|
value: string;
|
933
974
|
symbol: string;
|
@@ -937,7 +978,43 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
937
978
|
}, unknown>, t.UndefinedC]>;
|
938
979
|
}>]>, t.TypeC<{
|
939
980
|
validatorAddress: t.StringC;
|
940
|
-
}>]>, t.IntersectionC<[t.
|
981
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
982
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
983
|
+
}>, t.TypeC<{
|
984
|
+
intentType: t.LiteralC<"consolidate">;
|
985
|
+
receiveAddress: t.StringC;
|
986
|
+
}>, t.PartialC<{
|
987
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
988
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
989
|
+
recipients: t.UnionC<[t.Type<({
|
990
|
+
address: {
|
991
|
+
address?: string | undefined;
|
992
|
+
option?: {
|
993
|
+
[x: string]: unknown;
|
994
|
+
} | undefined;
|
995
|
+
};
|
996
|
+
amount: {
|
997
|
+
value: string;
|
998
|
+
symbol: string;
|
999
|
+
};
|
1000
|
+
} & {
|
1001
|
+
data?: string | undefined;
|
1002
|
+
})[], ({
|
1003
|
+
address: {
|
1004
|
+
address?: string | undefined;
|
1005
|
+
option?: {
|
1006
|
+
[x: string]: unknown;
|
1007
|
+
} | undefined;
|
1008
|
+
};
|
1009
|
+
amount: {
|
1010
|
+
value: string;
|
1011
|
+
symbol: string;
|
1012
|
+
};
|
1013
|
+
} & {
|
1014
|
+
data?: string | undefined;
|
1015
|
+
})[], unknown>, t.UndefinedC]>;
|
1016
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1017
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
941
1018
|
intentType: t.KeyofC<{
|
942
1019
|
payment: t.LiteralC<"payment">;
|
943
1020
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -968,36 +1045,41 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
968
1045
|
deactivate: t.LiteralC<"deactivate">;
|
969
1046
|
customTx: t.LiteralC<"customTx">;
|
970
1047
|
}>;
|
1048
|
+
}>, t.PartialC<{
|
971
1049
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
972
1050
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
973
|
-
nonce: t.UnionC<[t.
|
974
|
-
}>, t.
|
1051
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1052
|
+
}>]>, t.PartialC<{
|
975
1053
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
976
1054
|
}>, t.TypeC<{
|
977
1055
|
intentType: t.LiteralC<"createAccount">;
|
1056
|
+
}>, t.PartialC<{
|
978
1057
|
name: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
979
|
-
}>]>, t.IntersectionC<[t.
|
1058
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
980
1059
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
981
|
-
}>, t.
|
1060
|
+
}>, t.PartialC<{
|
982
1061
|
fee: t.UnionC<[t.Type<{
|
983
1062
|
amount: string | number;
|
984
|
-
|
985
|
-
|
986
|
-
|
1063
|
+
} & {
|
1064
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1065
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1066
|
+
type?: "max" | "base" | "tip" | undefined;
|
987
1067
|
}, {
|
988
1068
|
amount: string | number;
|
989
|
-
|
990
|
-
|
991
|
-
|
1069
|
+
} & {
|
1070
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1071
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1072
|
+
type?: "max" | "base" | "tip" | undefined;
|
992
1073
|
}, unknown>, t.UndefinedC]>;
|
993
1074
|
}>]>, t.TypeC<{
|
994
1075
|
delayBlocks: t.StringC;
|
995
1076
|
proxyType: t.StringC;
|
1077
|
+
}>, t.PartialC<{
|
996
1078
|
index: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
997
|
-
recipients: t.UnionC<[t.Type<{
|
1079
|
+
recipients: t.UnionC<[t.Type<({
|
998
1080
|
address: {
|
999
|
-
address
|
1000
|
-
option
|
1081
|
+
address?: string | undefined;
|
1082
|
+
option?: {
|
1001
1083
|
[x: string]: unknown;
|
1002
1084
|
} | undefined;
|
1003
1085
|
};
|
@@ -1005,11 +1087,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1005
1087
|
value: string;
|
1006
1088
|
symbol: string;
|
1007
1089
|
};
|
1008
|
-
|
1009
|
-
|
1090
|
+
} & {
|
1091
|
+
data?: string | undefined;
|
1092
|
+
})[], ({
|
1010
1093
|
address: {
|
1011
|
-
address
|
1012
|
-
option
|
1094
|
+
address?: string | undefined;
|
1095
|
+
option?: {
|
1013
1096
|
[x: string]: unknown;
|
1014
1097
|
} | undefined;
|
1015
1098
|
};
|
@@ -1017,9 +1100,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1017
1100
|
value: string;
|
1018
1101
|
symbol: string;
|
1019
1102
|
};
|
1020
|
-
|
1021
|
-
|
1022
|
-
}
|
1103
|
+
} & {
|
1104
|
+
data?: string | undefined;
|
1105
|
+
})[], unknown>, t.UndefinedC]>;
|
1106
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1023
1107
|
intentType: t.KeyofC<{
|
1024
1108
|
payment: t.LiteralC<"payment">;
|
1025
1109
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1050,13 +1134,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1050
1134
|
deactivate: t.LiteralC<"deactivate">;
|
1051
1135
|
customTx: t.LiteralC<"customTx">;
|
1052
1136
|
}>;
|
1137
|
+
}>, t.PartialC<{
|
1053
1138
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1054
1139
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1055
|
-
nonce: t.UnionC<[t.
|
1056
|
-
}>, t.TypeC<{
|
1140
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1141
|
+
}>]>, t.TypeC<{
|
1057
1142
|
intent: t.LiteralC<"payment">;
|
1058
|
-
recipients: t.ArrayC<t.TypeC<{
|
1059
|
-
address: t.
|
1143
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
1144
|
+
address: t.PartialC<{
|
1060
1145
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1061
1146
|
option: t.UnionC<[t.Type<{
|
1062
1147
|
[x: string]: unknown;
|
@@ -1068,31 +1153,34 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1068
1153
|
value: t.StringC;
|
1069
1154
|
symbol: t.StringC;
|
1070
1155
|
}>;
|
1156
|
+
}>, t.PartialC<{
|
1071
1157
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1072
|
-
}>>;
|
1073
|
-
}>]>, t.IntersectionC<[t.
|
1158
|
+
}>]>>;
|
1159
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1074
1160
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1075
|
-
}>, t.
|
1161
|
+
}>, t.PartialC<{
|
1076
1162
|
fee: t.UnionC<[t.Type<{
|
1077
1163
|
amount: string | number;
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1164
|
+
} & {
|
1165
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1166
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1167
|
+
type?: "max" | "base" | "tip" | undefined;
|
1081
1168
|
}, {
|
1082
1169
|
amount: string | number;
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1170
|
+
} & {
|
1171
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1172
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1173
|
+
type?: "max" | "base" | "tip" | undefined;
|
1086
1174
|
}, unknown>, t.UndefinedC]>;
|
1087
1175
|
}>]>, t.TypeC<{
|
1088
|
-
proxy: t.
|
1176
|
+
proxy: t.PartialC<{
|
1089
1177
|
name: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1090
1178
|
addressString: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1091
1179
|
asset: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1092
1180
|
amountString: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1093
1181
|
}>;
|
1094
1182
|
owner: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1095
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1183
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1096
1184
|
intentType: t.KeyofC<{
|
1097
1185
|
payment: t.LiteralC<"payment">;
|
1098
1186
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1123,26 +1211,29 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1123
1211
|
deactivate: t.LiteralC<"deactivate">;
|
1124
1212
|
customTx: t.LiteralC<"customTx">;
|
1125
1213
|
}>;
|
1214
|
+
}>, t.PartialC<{
|
1126
1215
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1127
1216
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1128
|
-
nonce: t.UnionC<[t.
|
1129
|
-
}>, t.TypeC<{
|
1217
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1218
|
+
}>]>, t.TypeC<{
|
1130
1219
|
stakingRequestId: t.StringC;
|
1131
1220
|
}>]>, t.TypeC<{
|
1132
1221
|
intentType: t.LiteralC<"stake">;
|
1133
|
-
}>]>, t.IntersectionC<[t.
|
1222
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1134
1223
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1135
|
-
}>, t.
|
1224
|
+
}>, t.PartialC<{
|
1136
1225
|
fee: t.UnionC<[t.Type<{
|
1137
1226
|
amount: string | number;
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1227
|
+
} & {
|
1228
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1229
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1230
|
+
type?: "max" | "base" | "tip" | undefined;
|
1141
1231
|
}, {
|
1142
1232
|
amount: string | number;
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1233
|
+
} & {
|
1234
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1235
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1236
|
+
type?: "max" | "base" | "tip" | undefined;
|
1146
1237
|
}, unknown>, t.UndefinedC]>;
|
1147
1238
|
}>]>, t.TypeC<{
|
1148
1239
|
amount: t.TypeC<{
|
@@ -1150,9 +1241,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1150
1241
|
symbol: t.StringC;
|
1151
1242
|
}>;
|
1152
1243
|
stakingProxy: t.StringC;
|
1244
|
+
}>, t.PartialC<{
|
1153
1245
|
addToStake: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1154
1246
|
addProxy: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1155
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1247
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1156
1248
|
intentType: t.KeyofC<{
|
1157
1249
|
payment: t.LiteralC<"payment">;
|
1158
1250
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1183,26 +1275,29 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1183
1275
|
deactivate: t.LiteralC<"deactivate">;
|
1184
1276
|
customTx: t.LiteralC<"customTx">;
|
1185
1277
|
}>;
|
1278
|
+
}>, t.PartialC<{
|
1186
1279
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1187
1280
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1188
|
-
nonce: t.UnionC<[t.
|
1189
|
-
}>, t.TypeC<{
|
1281
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1282
|
+
}>]>, t.TypeC<{
|
1190
1283
|
stakingRequestId: t.StringC;
|
1191
1284
|
}>]>, t.TypeC<{
|
1192
1285
|
intentType: t.LiteralC<"unstake">;
|
1193
|
-
}>]>, t.IntersectionC<[t.
|
1286
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1194
1287
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1195
|
-
}>, t.
|
1288
|
+
}>, t.PartialC<{
|
1196
1289
|
fee: t.UnionC<[t.Type<{
|
1197
1290
|
amount: string | number;
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1291
|
+
} & {
|
1292
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1293
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1294
|
+
type?: "max" | "base" | "tip" | undefined;
|
1201
1295
|
}, {
|
1202
1296
|
amount: string | number;
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1297
|
+
} & {
|
1298
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1299
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1300
|
+
type?: "max" | "base" | "tip" | undefined;
|
1206
1301
|
}, unknown>, t.UndefinedC]>;
|
1207
1302
|
}>]>, t.TypeC<{
|
1208
1303
|
amount: t.TypeC<{
|
@@ -1210,8 +1305,9 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1210
1305
|
symbol: t.StringC;
|
1211
1306
|
}>;
|
1212
1307
|
stakingProxy: t.StringC;
|
1308
|
+
}>, t.PartialC<{
|
1213
1309
|
stopStaking: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1214
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1310
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1215
1311
|
intentType: t.KeyofC<{
|
1216
1312
|
payment: t.LiteralC<"payment">;
|
1217
1313
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1242,13 +1338,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1242
1338
|
deactivate: t.LiteralC<"deactivate">;
|
1243
1339
|
customTx: t.LiteralC<"customTx">;
|
1244
1340
|
}>;
|
1341
|
+
}>, t.PartialC<{
|
1245
1342
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1246
1343
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1247
|
-
nonce: t.UnionC<[t.
|
1248
|
-
}>, t.TypeC<{
|
1344
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1345
|
+
}>]>, t.TypeC<{
|
1249
1346
|
stakingRequestId: t.StringC;
|
1250
1347
|
}>]>, t.TypeC<{
|
1251
1348
|
intentType: t.LiteralC<"claim">;
|
1349
|
+
}>, t.PartialC<{
|
1252
1350
|
amount: t.UnionC<[t.Type<{
|
1253
1351
|
value: string;
|
1254
1352
|
symbol: string;
|
@@ -1256,21 +1354,23 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1256
1354
|
value: string;
|
1257
1355
|
symbol: string;
|
1258
1356
|
}, unknown>, t.UndefinedC]>;
|
1259
|
-
}>]>, t.IntersectionC<[t.
|
1357
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1260
1358
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1261
|
-
}>, t.
|
1359
|
+
}>, t.PartialC<{
|
1262
1360
|
fee: t.UnionC<[t.Type<{
|
1263
1361
|
amount: string | number;
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1362
|
+
} & {
|
1363
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1364
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1365
|
+
type?: "max" | "base" | "tip" | undefined;
|
1267
1366
|
}, {
|
1268
1367
|
amount: string | number;
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1368
|
+
} & {
|
1369
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1370
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
1371
|
+
type?: "max" | "base" | "tip" | undefined;
|
1272
1372
|
}, unknown>, t.UndefinedC]>;
|
1273
|
-
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1373
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1274
1374
|
intentType: t.KeyofC<{
|
1275
1375
|
payment: t.LiteralC<"payment">;
|
1276
1376
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1301,15 +1401,16 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1301
1401
|
deactivate: t.LiteralC<"deactivate">;
|
1302
1402
|
customTx: t.LiteralC<"customTx">;
|
1303
1403
|
}>;
|
1404
|
+
}>, t.PartialC<{
|
1304
1405
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1305
1406
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1306
|
-
nonce: t.UnionC<[t.
|
1307
|
-
}>, t.TypeC<{
|
1407
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1408
|
+
}>]>, t.TypeC<{
|
1308
1409
|
intentType: t.LiteralC<"acceleration">;
|
1309
1410
|
txid: t.StringC;
|
1310
|
-
}>]>, t.IntersectionC<[t.
|
1411
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1311
1412
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1312
|
-
}>, t.
|
1413
|
+
}>, t.PartialC<{
|
1313
1414
|
hopParams: t.UnionC<[t.Type<{
|
1314
1415
|
paymentId: string | undefined;
|
1315
1416
|
userReqSig: string | undefined;
|
@@ -1322,18 +1423,160 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1322
1423
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1323
1424
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1324
1425
|
}>]>, t.TypeC<{
|
1325
|
-
feeOptions: t.UnionC<[t.
|
1426
|
+
feeOptions: t.UnionC<[t.PartialC<{
|
1326
1427
|
unit: t.UnionC<[t.Type<"baseUnit" | "cpu" | "ram", "baseUnit" | "cpu" | "ram", unknown>, t.UndefinedC]>;
|
1327
1428
|
formula: t.UnionC<[t.Type<"fixed" | "feeRate" | "perKB" | "custom" | "perVKB", "fixed" | "feeRate" | "perKB" | "custom" | "perVKB", unknown>, t.UndefinedC]>;
|
1328
1429
|
feeType: t.UnionC<[t.Type<"max" | "base" | "tip", "max" | "base" | "tip", unknown>, t.UndefinedC]>;
|
1329
1430
|
gasLimit: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1330
1431
|
gasPrice: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1331
|
-
}>, t.
|
1432
|
+
}>, t.PartialC<{
|
1332
1433
|
gasLimit: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1333
1434
|
maxFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1334
1435
|
maxPriorityFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1335
1436
|
}>]>;
|
1336
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.
|
1437
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
1438
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1439
|
+
}>, t.TypeC<{
|
1440
|
+
intentType: t.LiteralC<"consolidate">;
|
1441
|
+
receiveAddress: t.StringC;
|
1442
|
+
}>, t.PartialC<{
|
1443
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1444
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1445
|
+
recipients: t.UnionC<[t.Type<({
|
1446
|
+
address: {
|
1447
|
+
address?: string | undefined;
|
1448
|
+
option?: {
|
1449
|
+
[x: string]: unknown;
|
1450
|
+
} | undefined;
|
1451
|
+
};
|
1452
|
+
amount: {
|
1453
|
+
value: string;
|
1454
|
+
symbol: string;
|
1455
|
+
};
|
1456
|
+
} & {
|
1457
|
+
data?: string | undefined;
|
1458
|
+
})[], ({
|
1459
|
+
address: {
|
1460
|
+
address?: string | undefined;
|
1461
|
+
option?: {
|
1462
|
+
[x: string]: unknown;
|
1463
|
+
} | undefined;
|
1464
|
+
};
|
1465
|
+
amount: {
|
1466
|
+
value: string;
|
1467
|
+
symbol: string;
|
1468
|
+
};
|
1469
|
+
} & {
|
1470
|
+
data?: string | undefined;
|
1471
|
+
})[], unknown>, t.UndefinedC]>;
|
1472
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1473
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1474
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1475
|
+
}>, t.PartialC<{
|
1476
|
+
feeOptions: t.UnionC<[t.Type<{
|
1477
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1478
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1479
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1480
|
+
gasLimit?: number | undefined;
|
1481
|
+
gasPrice?: number | undefined;
|
1482
|
+
} | {
|
1483
|
+
gasLimit?: number | undefined;
|
1484
|
+
maxFeePerGas?: number | undefined;
|
1485
|
+
maxPriorityFeePerGas?: number | undefined;
|
1486
|
+
}, {
|
1487
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1488
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1489
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1490
|
+
gasLimit?: number | undefined;
|
1491
|
+
gasPrice?: number | undefined;
|
1492
|
+
} | {
|
1493
|
+
gasLimit?: number | undefined;
|
1494
|
+
maxFeePerGas?: number | undefined;
|
1495
|
+
maxPriorityFeePerGas?: number | undefined;
|
1496
|
+
}, unknown>, t.UndefinedC]>;
|
1497
|
+
hopParams: t.UnionC<[t.Type<{
|
1498
|
+
paymentId: string | undefined;
|
1499
|
+
userReqSig: string | undefined;
|
1500
|
+
gasPriceMax: number | undefined;
|
1501
|
+
}, {
|
1502
|
+
paymentId: string | undefined;
|
1503
|
+
userReqSig: string | undefined;
|
1504
|
+
gasPriceMax: number | undefined;
|
1505
|
+
}, unknown>, t.UndefinedC]>;
|
1506
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1507
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1508
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
1509
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1510
|
+
}>, t.TypeC<{
|
1511
|
+
intentType: t.LiteralC<"consolidate">;
|
1512
|
+
receiveAddress: t.StringC;
|
1513
|
+
}>, t.PartialC<{
|
1514
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1515
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1516
|
+
recipients: t.UnionC<[t.Type<({
|
1517
|
+
address: {
|
1518
|
+
address?: string | undefined;
|
1519
|
+
option?: {
|
1520
|
+
[x: string]: unknown;
|
1521
|
+
} | undefined;
|
1522
|
+
};
|
1523
|
+
amount: {
|
1524
|
+
value: string;
|
1525
|
+
symbol: string;
|
1526
|
+
};
|
1527
|
+
} & {
|
1528
|
+
data?: string | undefined;
|
1529
|
+
})[], ({
|
1530
|
+
address: {
|
1531
|
+
address?: string | undefined;
|
1532
|
+
option?: {
|
1533
|
+
[x: string]: unknown;
|
1534
|
+
} | undefined;
|
1535
|
+
};
|
1536
|
+
amount: {
|
1537
|
+
value: string;
|
1538
|
+
symbol: string;
|
1539
|
+
};
|
1540
|
+
} & {
|
1541
|
+
data?: string | undefined;
|
1542
|
+
})[], unknown>, t.UndefinedC]>;
|
1543
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1544
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1545
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1546
|
+
}>, t.PartialC<{
|
1547
|
+
feeOptions: t.UnionC<[t.Type<{
|
1548
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1549
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1550
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1551
|
+
gasLimit?: number | undefined;
|
1552
|
+
gasPrice?: number | undefined;
|
1553
|
+
} | {
|
1554
|
+
gasLimit?: number | undefined;
|
1555
|
+
maxFeePerGas?: number | undefined;
|
1556
|
+
maxPriorityFeePerGas?: number | undefined;
|
1557
|
+
}, {
|
1558
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1559
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1560
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1561
|
+
gasLimit?: number | undefined;
|
1562
|
+
gasPrice?: number | undefined;
|
1563
|
+
} | {
|
1564
|
+
gasLimit?: number | undefined;
|
1565
|
+
maxFeePerGas?: number | undefined;
|
1566
|
+
maxPriorityFeePerGas?: number | undefined;
|
1567
|
+
}, unknown>, t.UndefinedC]>;
|
1568
|
+
hopParams: t.UnionC<[t.Type<{
|
1569
|
+
paymentId: string | undefined;
|
1570
|
+
userReqSig: string | undefined;
|
1571
|
+
gasPriceMax: number | undefined;
|
1572
|
+
}, {
|
1573
|
+
paymentId: string | undefined;
|
1574
|
+
userReqSig: string | undefined;
|
1575
|
+
gasPriceMax: number | undefined;
|
1576
|
+
}, unknown>, t.UndefinedC]>;
|
1577
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1578
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1579
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1337
1580
|
intentType: t.KeyofC<{
|
1338
1581
|
payment: t.LiteralC<"payment">;
|
1339
1582
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1364,44 +1607,86 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1364
1607
|
deactivate: t.LiteralC<"deactivate">;
|
1365
1608
|
customTx: t.LiteralC<"customTx">;
|
1366
1609
|
}>;
|
1610
|
+
}>, t.PartialC<{
|
1367
1611
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1368
1612
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1369
|
-
|
1370
|
-
|
1371
|
-
nonce: t.UnionC<[t.
|
1372
|
-
}
|
1613
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1614
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1615
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1616
|
+
}>, t.PartialC<{
|
1373
1617
|
feeOptions: t.UnionC<[t.Type<{
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1618
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1619
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1620
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1621
|
+
gasLimit?: number | undefined;
|
1622
|
+
gasPrice?: number | undefined;
|
1377
1623
|
} | {
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
gasLimit: number | undefined;
|
1382
|
-
gasPrice: number | undefined;
|
1624
|
+
gasLimit?: number | undefined;
|
1625
|
+
maxFeePerGas?: number | undefined;
|
1626
|
+
maxPriorityFeePerGas?: number | undefined;
|
1383
1627
|
}, {
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1628
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1629
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1630
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1631
|
+
gasLimit?: number | undefined;
|
1632
|
+
gasPrice?: number | undefined;
|
1387
1633
|
} | {
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1634
|
+
gasLimit?: number | undefined;
|
1635
|
+
maxFeePerGas?: number | undefined;
|
1636
|
+
maxPriorityFeePerGas?: number | undefined;
|
1637
|
+
}, unknown>, t.UndefinedC]>;
|
1638
|
+
hopParams: t.UnionC<[t.Type<{
|
1639
|
+
paymentId: string | undefined;
|
1640
|
+
userReqSig: string | undefined;
|
1641
|
+
gasPriceMax: number | undefined;
|
1642
|
+
}, {
|
1643
|
+
paymentId: string | undefined;
|
1644
|
+
userReqSig: string | undefined;
|
1645
|
+
gasPriceMax: number | undefined;
|
1393
1646
|
}, unknown>, t.UndefinedC]>;
|
1394
1647
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1395
1648
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1396
|
-
}>]>, t.
|
1397
|
-
intentType: t.
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1649
|
+
}>]>, t.TypeC<{
|
1650
|
+
intentType: t.LiteralC<"consolidateToken">;
|
1651
|
+
recipients: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1652
|
+
address: t.PartialC<{
|
1653
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1654
|
+
option: t.UnionC<[t.Type<{
|
1655
|
+
[x: string]: unknown;
|
1656
|
+
}, {
|
1657
|
+
[x: string]: unknown;
|
1658
|
+
}, unknown>, t.UndefinedC]>;
|
1659
|
+
}>;
|
1660
|
+
amount: t.TypeC<{
|
1661
|
+
value: t.StringC;
|
1662
|
+
symbol: t.StringC;
|
1663
|
+
}>;
|
1664
|
+
}>, t.PartialC<{
|
1665
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1666
|
+
}>]>, t.TypeC<{
|
1667
|
+
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1668
|
+
tokenQuantity: t.StringC;
|
1669
|
+
tokenType: t.StringC;
|
1670
|
+
}>, t.PartialC<{
|
1671
|
+
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1672
|
+
}>]>, t.TypeC<{
|
1673
|
+
tokenName: t.StringC;
|
1674
|
+
}>, t.PartialC<{
|
1675
|
+
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1676
|
+
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1677
|
+
}>]>;
|
1678
|
+
}>]>>;
|
1679
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1680
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1681
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1682
|
+
intentType: t.KeyofC<{
|
1683
|
+
payment: t.LiteralC<"payment">;
|
1684
|
+
transferToken: t.LiteralC<"transferToken">;
|
1685
|
+
consolidate: t.LiteralC<"consolidate">;
|
1686
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
1687
|
+
fanout: t.LiteralC<"fanout">;
|
1688
|
+
stake: t.LiteralC<"stake">;
|
1689
|
+
unstake: t.LiteralC<"unstake">;
|
1405
1690
|
delegate: t.LiteralC<"delegate">;
|
1406
1691
|
undelegate: t.LiteralC<"undelegate">;
|
1407
1692
|
switchValidator: t.LiteralC<"switchValidator">;
|
@@ -1424,13 +1709,75 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1424
1709
|
deactivate: t.LiteralC<"deactivate">;
|
1425
1710
|
customTx: t.LiteralC<"customTx">;
|
1426
1711
|
}>;
|
1712
|
+
}>, t.PartialC<{
|
1427
1713
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1428
1714
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1429
|
-
|
1430
|
-
|
1715
|
+
}>]>, t.TypeC<{
|
1716
|
+
intentType: t.LiteralC<"fillNonce">;
|
1717
|
+
nonce: t.UnionC<[t.StringC, t.NumberC]>;
|
1718
|
+
}>]>, t.PartialC<{
|
1719
|
+
feeOptions: t.UnionC<[t.Type<{
|
1720
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1721
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1722
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1723
|
+
gasLimit?: number | undefined;
|
1724
|
+
gasPrice?: number | undefined;
|
1725
|
+
} | {
|
1726
|
+
gasLimit?: number | undefined;
|
1727
|
+
maxFeePerGas?: number | undefined;
|
1728
|
+
maxPriorityFeePerGas?: number | undefined;
|
1729
|
+
}, {
|
1730
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1731
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1732
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1733
|
+
gasLimit?: number | undefined;
|
1734
|
+
gasPrice?: number | undefined;
|
1735
|
+
} | {
|
1736
|
+
gasLimit?: number | undefined;
|
1737
|
+
maxFeePerGas?: number | undefined;
|
1738
|
+
maxPriorityFeePerGas?: number | undefined;
|
1739
|
+
}, unknown>, t.UndefinedC]>;
|
1740
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1741
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1742
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1743
|
+
intentType: t.KeyofC<{
|
1744
|
+
payment: t.LiteralC<"payment">;
|
1745
|
+
transferToken: t.LiteralC<"transferToken">;
|
1746
|
+
consolidate: t.LiteralC<"consolidate">;
|
1747
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
1748
|
+
fanout: t.LiteralC<"fanout">;
|
1749
|
+
stake: t.LiteralC<"stake">;
|
1750
|
+
unstake: t.LiteralC<"unstake">;
|
1751
|
+
delegate: t.LiteralC<"delegate">;
|
1752
|
+
undelegate: t.LiteralC<"undelegate">;
|
1753
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
1754
|
+
claim: t.LiteralC<"claim">;
|
1755
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
1756
|
+
pledge: t.LiteralC<"pledge">;
|
1757
|
+
vote: t.LiteralC<"vote">;
|
1758
|
+
createAccount: t.LiteralC<"createAccount">;
|
1759
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
1760
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
1761
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
1762
|
+
signMessage: t.LiteralC<"signMessage">;
|
1763
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
1764
|
+
enableToken: t.LiteralC<"enableToken">;
|
1765
|
+
authorize: t.LiteralC<"authorize">;
|
1766
|
+
acceleration: t.LiteralC<"acceleration">;
|
1767
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
1768
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
1769
|
+
contractCall: t.LiteralC<"contractCall">;
|
1770
|
+
deactivate: t.LiteralC<"deactivate">;
|
1771
|
+
customTx: t.LiteralC<"customTx">;
|
1772
|
+
}>;
|
1773
|
+
}>, t.PartialC<{
|
1774
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1775
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1776
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1777
|
+
}>]>, t.TypeC<{
|
1431
1778
|
intent: t.LiteralC<"payment">;
|
1432
|
-
recipients: t.ArrayC<t.TypeC<{
|
1433
|
-
address: t.
|
1779
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
1780
|
+
address: t.PartialC<{
|
1434
1781
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1435
1782
|
option: t.UnionC<[t.Type<{
|
1436
1783
|
[x: string]: unknown;
|
@@ -1442,31 +1789,32 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1442
1789
|
value: t.StringC;
|
1443
1790
|
symbol: t.StringC;
|
1444
1791
|
}>;
|
1792
|
+
}>, t.PartialC<{
|
1445
1793
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1446
|
-
}>>;
|
1447
|
-
}>]>, t.IntersectionC<[t.
|
1794
|
+
}>]>>;
|
1795
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1448
1796
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1449
|
-
}>, t.
|
1797
|
+
}>, t.PartialC<{
|
1450
1798
|
feeOptions: t.UnionC<[t.Type<{
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1799
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1800
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1801
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1802
|
+
gasLimit?: number | undefined;
|
1803
|
+
gasPrice?: number | undefined;
|
1454
1804
|
} | {
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
gasLimit: number | undefined;
|
1459
|
-
gasPrice: number | undefined;
|
1805
|
+
gasLimit?: number | undefined;
|
1806
|
+
maxFeePerGas?: number | undefined;
|
1807
|
+
maxPriorityFeePerGas?: number | undefined;
|
1460
1808
|
}, {
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1809
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1810
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1811
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1812
|
+
gasLimit?: number | undefined;
|
1813
|
+
gasPrice?: number | undefined;
|
1464
1814
|
} | {
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
gasLimit: number | undefined;
|
1469
|
-
gasPrice: number | undefined;
|
1815
|
+
gasLimit?: number | undefined;
|
1816
|
+
maxFeePerGas?: number | undefined;
|
1817
|
+
maxPriorityFeePerGas?: number | undefined;
|
1470
1818
|
}, unknown>, t.UndefinedC]>;
|
1471
1819
|
hopParams: t.UnionC<[t.Type<{
|
1472
1820
|
paymentId: string | undefined;
|
@@ -1480,8 +1828,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1480
1828
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1481
1829
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1482
1830
|
}>]>, t.TypeC<{
|
1483
|
-
selfSend: t.
|
1484
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1831
|
+
selfSend: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1832
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1485
1833
|
intentType: t.KeyofC<{
|
1486
1834
|
payment: t.LiteralC<"payment">;
|
1487
1835
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1512,36 +1860,37 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1512
1860
|
deactivate: t.LiteralC<"deactivate">;
|
1513
1861
|
customTx: t.LiteralC<"customTx">;
|
1514
1862
|
}>;
|
1863
|
+
}>, t.PartialC<{
|
1515
1864
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1516
1865
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1517
|
-
nonce: t.UnionC<[t.
|
1518
|
-
}>, t.TypeC<{
|
1866
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1867
|
+
}>]>, t.TypeC<{
|
1519
1868
|
stakingRequestId: t.StringC;
|
1520
1869
|
}>]>, t.TypeC<{
|
1521
1870
|
intentType: t.LiteralC<"stake">;
|
1522
|
-
}>]>, t.IntersectionC<[t.
|
1871
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1523
1872
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1524
|
-
}>, t.
|
1873
|
+
}>, t.PartialC<{
|
1525
1874
|
feeOptions: t.UnionC<[t.Type<{
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1875
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1876
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1877
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1878
|
+
gasLimit?: number | undefined;
|
1879
|
+
gasPrice?: number | undefined;
|
1529
1880
|
} | {
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
gasLimit: number | undefined;
|
1534
|
-
gasPrice: number | undefined;
|
1881
|
+
gasLimit?: number | undefined;
|
1882
|
+
maxFeePerGas?: number | undefined;
|
1883
|
+
maxPriorityFeePerGas?: number | undefined;
|
1535
1884
|
}, {
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1885
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1886
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1887
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1888
|
+
gasLimit?: number | undefined;
|
1889
|
+
gasPrice?: number | undefined;
|
1539
1890
|
} | {
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
gasLimit: number | undefined;
|
1544
|
-
gasPrice: number | undefined;
|
1891
|
+
gasLimit?: number | undefined;
|
1892
|
+
maxFeePerGas?: number | undefined;
|
1893
|
+
maxPriorityFeePerGas?: number | undefined;
|
1545
1894
|
}, unknown>, t.UndefinedC]>;
|
1546
1895
|
hopParams: t.UnionC<[t.Type<{
|
1547
1896
|
paymentId: string | undefined;
|
@@ -1559,7 +1908,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1559
1908
|
withdrawalCredentials: t.StringC;
|
1560
1909
|
signature: t.StringC;
|
1561
1910
|
depositDataRoot: t.StringC;
|
1562
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
1911
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1563
1912
|
intentType: t.KeyofC<{
|
1564
1913
|
payment: t.LiteralC<"payment">;
|
1565
1914
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1590,10 +1939,111 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1590
1939
|
deactivate: t.LiteralC<"deactivate">;
|
1591
1940
|
customTx: t.LiteralC<"customTx">;
|
1592
1941
|
}>;
|
1942
|
+
}>, t.PartialC<{
|
1593
1943
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1594
1944
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1595
|
-
nonce: t.UnionC<[t.
|
1596
|
-
}>, t.TypeC<{
|
1945
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1946
|
+
}>]>, t.TypeC<{
|
1947
|
+
intentType: t.LiteralC<"transferToken">;
|
1948
|
+
recipients: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1949
|
+
address: t.PartialC<{
|
1950
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1951
|
+
option: t.UnionC<[t.Type<{
|
1952
|
+
[x: string]: unknown;
|
1953
|
+
}, {
|
1954
|
+
[x: string]: unknown;
|
1955
|
+
}, unknown>, t.UndefinedC]>;
|
1956
|
+
}>;
|
1957
|
+
amount: t.TypeC<{
|
1958
|
+
value: t.StringC;
|
1959
|
+
symbol: t.StringC;
|
1960
|
+
}>;
|
1961
|
+
}>, t.PartialC<{
|
1962
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1963
|
+
}>]>, t.TypeC<{
|
1964
|
+
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1965
|
+
tokenQuantity: t.StringC;
|
1966
|
+
tokenType: t.StringC;
|
1967
|
+
}>, t.PartialC<{
|
1968
|
+
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1969
|
+
}>]>, t.TypeC<{
|
1970
|
+
tokenName: t.StringC;
|
1971
|
+
}>, t.PartialC<{
|
1972
|
+
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1973
|
+
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1974
|
+
}>]>;
|
1975
|
+
}>]>>;
|
1976
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1977
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1978
|
+
}>, t.PartialC<{
|
1979
|
+
feeOptions: t.UnionC<[t.Type<{
|
1980
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1981
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1982
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1983
|
+
gasLimit?: number | undefined;
|
1984
|
+
gasPrice?: number | undefined;
|
1985
|
+
} | {
|
1986
|
+
gasLimit?: number | undefined;
|
1987
|
+
maxFeePerGas?: number | undefined;
|
1988
|
+
maxPriorityFeePerGas?: number | undefined;
|
1989
|
+
}, {
|
1990
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
1991
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
1992
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
1993
|
+
gasLimit?: number | undefined;
|
1994
|
+
gasPrice?: number | undefined;
|
1995
|
+
} | {
|
1996
|
+
gasLimit?: number | undefined;
|
1997
|
+
maxFeePerGas?: number | undefined;
|
1998
|
+
maxPriorityFeePerGas?: number | undefined;
|
1999
|
+
}, unknown>, t.UndefinedC]>;
|
2000
|
+
hopParams: t.UnionC<[t.Type<{
|
2001
|
+
paymentId: string | undefined;
|
2002
|
+
userReqSig: string | undefined;
|
2003
|
+
gasPriceMax: number | undefined;
|
2004
|
+
}, {
|
2005
|
+
paymentId: string | undefined;
|
2006
|
+
userReqSig: string | undefined;
|
2007
|
+
gasPriceMax: number | undefined;
|
2008
|
+
}, unknown>, t.UndefinedC]>;
|
2009
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2010
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
2011
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2012
|
+
intentType: t.KeyofC<{
|
2013
|
+
payment: t.LiteralC<"payment">;
|
2014
|
+
transferToken: t.LiteralC<"transferToken">;
|
2015
|
+
consolidate: t.LiteralC<"consolidate">;
|
2016
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2017
|
+
fanout: t.LiteralC<"fanout">;
|
2018
|
+
stake: t.LiteralC<"stake">;
|
2019
|
+
unstake: t.LiteralC<"unstake">;
|
2020
|
+
delegate: t.LiteralC<"delegate">;
|
2021
|
+
undelegate: t.LiteralC<"undelegate">;
|
2022
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2023
|
+
claim: t.LiteralC<"claim">;
|
2024
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2025
|
+
pledge: t.LiteralC<"pledge">;
|
2026
|
+
vote: t.LiteralC<"vote">;
|
2027
|
+
createAccount: t.LiteralC<"createAccount">;
|
2028
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2029
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2030
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2031
|
+
signMessage: t.LiteralC<"signMessage">;
|
2032
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2033
|
+
enableToken: t.LiteralC<"enableToken">;
|
2034
|
+
authorize: t.LiteralC<"authorize">;
|
2035
|
+
acceleration: t.LiteralC<"acceleration">;
|
2036
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2037
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2038
|
+
contractCall: t.LiteralC<"contractCall">;
|
2039
|
+
deactivate: t.LiteralC<"deactivate">;
|
2040
|
+
customTx: t.LiteralC<"customTx">;
|
2041
|
+
}>;
|
2042
|
+
}>, t.PartialC<{
|
2043
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2044
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2045
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2046
|
+
}>]>, t.TypeC<{
|
1597
2047
|
request: t.IntersectionC<[t.TypeC<{
|
1598
2048
|
invoice: t.StringC;
|
1599
2049
|
}>, t.PartialC<{
|
@@ -1604,7 +2054,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1604
2054
|
signature: t.StringC;
|
1605
2055
|
}>, t.TypeC<{
|
1606
2056
|
intentType: t.LiteralC<"payment">;
|
1607
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2057
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1608
2058
|
intentType: t.KeyofC<{
|
1609
2059
|
payment: t.LiteralC<"payment">;
|
1610
2060
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1635,10 +2085,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1635
2085
|
deactivate: t.LiteralC<"deactivate">;
|
1636
2086
|
customTx: t.LiteralC<"customTx">;
|
1637
2087
|
}>;
|
2088
|
+
}>, t.PartialC<{
|
1638
2089
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1639
2090
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1640
|
-
nonce: t.UnionC<[t.
|
1641
|
-
}>, t.TypeC<{
|
2091
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2092
|
+
}>]>, t.TypeC<{
|
1642
2093
|
intentType: t.LiteralC<"signMessage">;
|
1643
2094
|
messageRaw: t.StringC;
|
1644
2095
|
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -1675,16 +2126,72 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1675
2126
|
deactivate: t.LiteralC<"deactivate">;
|
1676
2127
|
customTx: t.LiteralC<"customTx">;
|
1677
2128
|
}>;
|
2129
|
+
}>, t.PartialC<{
|
1678
2130
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1679
2131
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1680
|
-
nonce: t.UnionC<[t.
|
1681
|
-
}>, t.TypeC<{
|
2132
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2133
|
+
}>]>, t.TypeC<{
|
2134
|
+
intent: t.LiteralC<"payment">;
|
2135
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2136
|
+
address: t.PartialC<{
|
2137
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2138
|
+
option: t.UnionC<[t.Type<{
|
2139
|
+
[x: string]: unknown;
|
2140
|
+
}, {
|
2141
|
+
[x: string]: unknown;
|
2142
|
+
}, unknown>, t.UndefinedC]>;
|
2143
|
+
}>;
|
2144
|
+
amount: t.TypeC<{
|
2145
|
+
value: t.StringC;
|
2146
|
+
symbol: t.StringC;
|
2147
|
+
}>;
|
2148
|
+
}>, t.PartialC<{
|
2149
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2150
|
+
}>]>>;
|
2151
|
+
}>]>, t.TypeC<{
|
2152
|
+
custodianTransactionId: t.StringC;
|
2153
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2154
|
+
intentType: t.KeyofC<{
|
2155
|
+
payment: t.LiteralC<"payment">;
|
2156
|
+
transferToken: t.LiteralC<"transferToken">;
|
2157
|
+
consolidate: t.LiteralC<"consolidate">;
|
2158
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2159
|
+
fanout: t.LiteralC<"fanout">;
|
2160
|
+
stake: t.LiteralC<"stake">;
|
2161
|
+
unstake: t.LiteralC<"unstake">;
|
2162
|
+
delegate: t.LiteralC<"delegate">;
|
2163
|
+
undelegate: t.LiteralC<"undelegate">;
|
2164
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2165
|
+
claim: t.LiteralC<"claim">;
|
2166
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2167
|
+
pledge: t.LiteralC<"pledge">;
|
2168
|
+
vote: t.LiteralC<"vote">;
|
2169
|
+
createAccount: t.LiteralC<"createAccount">;
|
2170
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2171
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2172
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2173
|
+
signMessage: t.LiteralC<"signMessage">;
|
2174
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2175
|
+
enableToken: t.LiteralC<"enableToken">;
|
2176
|
+
authorize: t.LiteralC<"authorize">;
|
2177
|
+
acceleration: t.LiteralC<"acceleration">;
|
2178
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2179
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2180
|
+
contractCall: t.LiteralC<"contractCall">;
|
2181
|
+
deactivate: t.LiteralC<"deactivate">;
|
2182
|
+
customTx: t.LiteralC<"customTx">;
|
2183
|
+
}>;
|
2184
|
+
}>, t.PartialC<{
|
2185
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2186
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2187
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2188
|
+
}>]>, t.TypeC<{
|
1682
2189
|
stakingRequestId: t.StringC;
|
1683
2190
|
}>]>, t.TypeC<{
|
1684
2191
|
intentType: t.LiteralC<"stake">;
|
1685
2192
|
}>]>, t.TypeC<{
|
1686
|
-
recipients: t.ArrayC<t.TypeC<{
|
1687
|
-
address: t.
|
2193
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2194
|
+
address: t.PartialC<{
|
1688
2195
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1689
2196
|
option: t.UnionC<[t.Type<{
|
1690
2197
|
[x: string]: unknown;
|
@@ -1696,9 +2203,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1696
2203
|
value: t.StringC;
|
1697
2204
|
symbol: t.StringC;
|
1698
2205
|
}>;
|
2206
|
+
}>, t.PartialC<{
|
1699
2207
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1700
|
-
}>>;
|
1701
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2208
|
+
}>]>>;
|
2209
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1702
2210
|
intentType: t.KeyofC<{
|
1703
2211
|
payment: t.LiteralC<"payment">;
|
1704
2212
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1729,16 +2237,17 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1729
2237
|
deactivate: t.LiteralC<"deactivate">;
|
1730
2238
|
customTx: t.LiteralC<"customTx">;
|
1731
2239
|
}>;
|
2240
|
+
}>, t.PartialC<{
|
1732
2241
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1733
2242
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1734
|
-
nonce: t.UnionC<[t.
|
1735
|
-
}>, t.TypeC<{
|
2243
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2244
|
+
}>]>, t.TypeC<{
|
1736
2245
|
stakingRequestId: t.StringC;
|
1737
2246
|
}>]>, t.TypeC<{
|
1738
2247
|
intentType: t.LiteralC<"unstake">;
|
1739
2248
|
}>]>, t.TypeC<{
|
1740
|
-
recipients: t.ArrayC<t.TypeC<{
|
1741
|
-
address: t.
|
2249
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2250
|
+
address: t.PartialC<{
|
1742
2251
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1743
2252
|
option: t.UnionC<[t.Type<{
|
1744
2253
|
[x: string]: unknown;
|
@@ -1750,9 +2259,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1750
2259
|
value: t.StringC;
|
1751
2260
|
symbol: t.StringC;
|
1752
2261
|
}>;
|
2262
|
+
}>, t.PartialC<{
|
1753
2263
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1754
|
-
}>>;
|
1755
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2264
|
+
}>]>>;
|
2265
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1756
2266
|
intentType: t.KeyofC<{
|
1757
2267
|
payment: t.LiteralC<"payment">;
|
1758
2268
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1783,13 +2293,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1783
2293
|
deactivate: t.LiteralC<"deactivate">;
|
1784
2294
|
customTx: t.LiteralC<"customTx">;
|
1785
2295
|
}>;
|
2296
|
+
}>, t.PartialC<{
|
1786
2297
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1787
2298
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1788
|
-
nonce: t.UnionC<[t.
|
1789
|
-
}>, t.TypeC<{
|
2299
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2300
|
+
}>]>, t.TypeC<{
|
1790
2301
|
stakingRequestId: t.StringC;
|
1791
2302
|
}>]>, t.TypeC<{
|
1792
2303
|
intentType: t.LiteralC<"claim">;
|
2304
|
+
}>, t.PartialC<{
|
1793
2305
|
amount: t.UnionC<[t.Type<{
|
1794
2306
|
value: string;
|
1795
2307
|
symbol: string;
|
@@ -1798,8 +2310,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1798
2310
|
symbol: string;
|
1799
2311
|
}, unknown>, t.UndefinedC]>;
|
1800
2312
|
}>]>, t.TypeC<{
|
1801
|
-
recipients: t.ArrayC<t.TypeC<{
|
1802
|
-
address: t.
|
2313
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2314
|
+
address: t.PartialC<{
|
1803
2315
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1804
2316
|
option: t.UnionC<[t.Type<{
|
1805
2317
|
[x: string]: unknown;
|
@@ -1811,9 +2323,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1811
2323
|
value: t.StringC;
|
1812
2324
|
symbol: t.StringC;
|
1813
2325
|
}>;
|
2326
|
+
}>, t.PartialC<{
|
1814
2327
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1815
|
-
}>>;
|
1816
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
2328
|
+
}>]>>;
|
2329
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1817
2330
|
intentType: t.KeyofC<{
|
1818
2331
|
payment: t.LiteralC<"payment">;
|
1819
2332
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1844,10 +2357,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1844
2357
|
deactivate: t.LiteralC<"deactivate">;
|
1845
2358
|
customTx: t.LiteralC<"customTx">;
|
1846
2359
|
}>;
|
2360
|
+
}>, t.PartialC<{
|
1847
2361
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1848
2362
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1849
|
-
nonce: t.UnionC<[t.
|
1850
|
-
}>, t.IntersectionC<[t.
|
2363
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2364
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1851
2365
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1852
2366
|
}>, t.TypeC<{
|
1853
2367
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -1861,7 +2375,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1861
2375
|
nonceAccount: t.StringC;
|
1862
2376
|
nonceAuthority: t.StringC;
|
1863
2377
|
blockhash: t.StringC;
|
1864
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2378
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1865
2379
|
intentType: t.KeyofC<{
|
1866
2380
|
payment: t.LiteralC<"payment">;
|
1867
2381
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1892,13 +2406,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1892
2406
|
deactivate: t.LiteralC<"deactivate">;
|
1893
2407
|
customTx: t.LiteralC<"customTx">;
|
1894
2408
|
}>;
|
2409
|
+
}>, t.PartialC<{
|
1895
2410
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1896
2411
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1897
|
-
nonce: t.UnionC<[t.
|
1898
|
-
}>, t.TypeC<{
|
2412
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2413
|
+
}>]>, t.TypeC<{
|
1899
2414
|
stakingRequestId: t.StringC;
|
1900
2415
|
}>]>, t.TypeC<{
|
1901
2416
|
intentType: t.LiteralC<"claim">;
|
2417
|
+
}>, t.PartialC<{
|
1902
2418
|
amount: t.UnionC<[t.Type<{
|
1903
2419
|
value: string;
|
1904
2420
|
symbol: string;
|
@@ -1906,7 +2422,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1906
2422
|
value: string;
|
1907
2423
|
symbol: string;
|
1908
2424
|
}, unknown>, t.UndefinedC]>;
|
1909
|
-
}>]>, t.IntersectionC<[t.
|
2425
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1910
2426
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1911
2427
|
}>, t.TypeC<{
|
1912
2428
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -1916,7 +2432,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1916
2432
|
value: t.StringC;
|
1917
2433
|
symbol: t.StringC;
|
1918
2434
|
}>;
|
1919
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2435
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1920
2436
|
intentType: t.KeyofC<{
|
1921
2437
|
payment: t.LiteralC<"payment">;
|
1922
2438
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -1947,30 +2463,33 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1947
2463
|
deactivate: t.LiteralC<"deactivate">;
|
1948
2464
|
customTx: t.LiteralC<"customTx">;
|
1949
2465
|
}>;
|
2466
|
+
}>, t.PartialC<{
|
1950
2467
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1951
2468
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1952
|
-
nonce: t.UnionC<[t.
|
1953
|
-
}>, t.TypeC<{
|
2469
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2470
|
+
}>]>, t.TypeC<{
|
1954
2471
|
intentType: t.LiteralC<"enableToken">;
|
1955
|
-
enableTokens: t.ArrayC<t.TypeC<{
|
2472
|
+
enableTokens: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
1956
2473
|
name: t.StringC;
|
2474
|
+
}>, t.PartialC<{
|
1957
2475
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1958
|
-
}>>;
|
1959
|
-
}>]>, t.IntersectionC<[t.
|
2476
|
+
}>]>>;
|
2477
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
1960
2478
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1961
2479
|
}>, t.TypeC<{
|
1962
2480
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1963
|
-
}>]>]>, t.IntersectionC<[t.
|
2481
|
+
}>]>]>, t.IntersectionC<[t.PartialC<{
|
1964
2482
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1965
2483
|
}>, t.TypeC<{
|
1966
2484
|
intentType: t.LiteralC<"consolidate">;
|
1967
2485
|
receiveAddress: t.StringC;
|
2486
|
+
}>, t.PartialC<{
|
1968
2487
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
1969
2488
|
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1970
|
-
recipients: t.UnionC<[t.Type<{
|
2489
|
+
recipients: t.UnionC<[t.Type<({
|
1971
2490
|
address: {
|
1972
|
-
address
|
1973
|
-
option
|
2491
|
+
address?: string | undefined;
|
2492
|
+
option?: {
|
1974
2493
|
[x: string]: unknown;
|
1975
2494
|
} | undefined;
|
1976
2495
|
};
|
@@ -1978,11 +2497,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1978
2497
|
value: string;
|
1979
2498
|
symbol: string;
|
1980
2499
|
};
|
1981
|
-
|
1982
|
-
|
2500
|
+
} & {
|
2501
|
+
data?: string | undefined;
|
2502
|
+
})[], ({
|
1983
2503
|
address: {
|
1984
|
-
address
|
1985
|
-
option
|
2504
|
+
address?: string | undefined;
|
2505
|
+
option?: {
|
1986
2506
|
[x: string]: unknown;
|
1987
2507
|
} | undefined;
|
1988
2508
|
};
|
@@ -1990,10 +2510,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1990
2510
|
value: string;
|
1991
2511
|
symbol: string;
|
1992
2512
|
};
|
1993
|
-
|
1994
|
-
|
2513
|
+
} & {
|
2514
|
+
data?: string | undefined;
|
2515
|
+
})[], unknown>, t.UndefinedC]>;
|
1995
2516
|
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
1996
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
2517
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
1997
2518
|
intentType: t.KeyofC<{
|
1998
2519
|
payment: t.LiteralC<"payment">;
|
1999
2520
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2024,10 +2545,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2024
2545
|
deactivate: t.LiteralC<"deactivate">;
|
2025
2546
|
customTx: t.LiteralC<"customTx">;
|
2026
2547
|
}>;
|
2548
|
+
}>, t.PartialC<{
|
2027
2549
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2028
2550
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2029
|
-
nonce: t.UnionC<[t.
|
2030
|
-
}>, t.IntersectionC<[t.
|
2551
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2552
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2031
2553
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2032
2554
|
}>, t.TypeC<{
|
2033
2555
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -2035,7 +2557,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2035
2557
|
intentType: t.LiteralC<"deactivate">;
|
2036
2558
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
2037
2559
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2038
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
2560
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2039
2561
|
intentType: t.KeyofC<{
|
2040
2562
|
payment: t.LiteralC<"payment">;
|
2041
2563
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2066,10 +2588,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2066
2588
|
deactivate: t.LiteralC<"deactivate">;
|
2067
2589
|
customTx: t.LiteralC<"customTx">;
|
2068
2590
|
}>;
|
2591
|
+
}>, t.PartialC<{
|
2069
2592
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2070
2593
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2071
|
-
nonce: t.UnionC<[t.
|
2072
|
-
}>, t.IntersectionC<[t.
|
2594
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2595
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2073
2596
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2074
2597
|
}>, t.TypeC<{
|
2075
2598
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -2078,7 +2601,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2078
2601
|
validatorAddress: t.StringC;
|
2079
2602
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
2080
2603
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2081
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2604
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2082
2605
|
intentType: t.KeyofC<{
|
2083
2606
|
payment: t.LiteralC<"payment">;
|
2084
2607
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2109,14 +2632,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2109
2632
|
deactivate: t.LiteralC<"deactivate">;
|
2110
2633
|
customTx: t.LiteralC<"customTx">;
|
2111
2634
|
}>;
|
2635
|
+
}>, t.PartialC<{
|
2112
2636
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2113
2637
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2114
|
-
nonce: t.UnionC<[t.
|
2115
|
-
}>, t.TypeC<{
|
2638
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2639
|
+
}>]>, t.TypeC<{
|
2116
2640
|
stakingRequestId: t.StringC;
|
2117
2641
|
}>]>, t.TypeC<{
|
2118
2642
|
intentType: t.LiteralC<"stake">;
|
2119
|
-
}>]>, t.IntersectionC<[t.
|
2643
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2120
2644
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2121
2645
|
}>, t.TypeC<{
|
2122
2646
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -2126,7 +2650,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2126
2650
|
value: t.StringC;
|
2127
2651
|
symbol: t.StringC;
|
2128
2652
|
}>;
|
2129
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2653
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2130
2654
|
intentType: t.KeyofC<{
|
2131
2655
|
payment: t.LiteralC<"payment">;
|
2132
2656
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2157,19 +2681,21 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2157
2681
|
deactivate: t.LiteralC<"deactivate">;
|
2158
2682
|
customTx: t.LiteralC<"customTx">;
|
2159
2683
|
}>;
|
2684
|
+
}>, t.PartialC<{
|
2160
2685
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2161
2686
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2162
|
-
nonce: t.UnionC<[t.
|
2163
|
-
}>, t.TypeC<{
|
2687
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2688
|
+
}>]>, t.TypeC<{
|
2164
2689
|
stakingRequestId: t.StringC;
|
2165
2690
|
}>]>, t.TypeC<{
|
2166
2691
|
intentType: t.LiteralC<"unstake">;
|
2167
|
-
}>]>, t.IntersectionC<[t.
|
2692
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2168
2693
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2169
2694
|
}>, t.TypeC<{
|
2170
2695
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2171
2696
|
}>]>, t.TypeC<{
|
2172
2697
|
stakingAddress: t.StringC;
|
2698
|
+
}>, t.PartialC<{
|
2173
2699
|
amount: t.UnionC<[t.Type<{
|
2174
2700
|
value: string;
|
2175
2701
|
symbol: string;
|
@@ -2184,7 +2710,43 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2184
2710
|
value: string;
|
2185
2711
|
symbol: string;
|
2186
2712
|
}, unknown>, t.UndefinedC]>;
|
2187
|
-
}>]>, t.IntersectionC<[t.
|
2713
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
2714
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2715
|
+
}>, t.TypeC<{
|
2716
|
+
intentType: t.LiteralC<"consolidate">;
|
2717
|
+
receiveAddress: t.StringC;
|
2718
|
+
}>, t.PartialC<{
|
2719
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
2720
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2721
|
+
recipients: t.UnionC<[t.Type<({
|
2722
|
+
address: {
|
2723
|
+
address?: string | undefined;
|
2724
|
+
option?: {
|
2725
|
+
[x: string]: unknown;
|
2726
|
+
} | undefined;
|
2727
|
+
};
|
2728
|
+
amount: {
|
2729
|
+
value: string;
|
2730
|
+
symbol: string;
|
2731
|
+
};
|
2732
|
+
} & {
|
2733
|
+
data?: string | undefined;
|
2734
|
+
})[], ({
|
2735
|
+
address: {
|
2736
|
+
address?: string | undefined;
|
2737
|
+
option?: {
|
2738
|
+
[x: string]: unknown;
|
2739
|
+
} | undefined;
|
2740
|
+
};
|
2741
|
+
amount: {
|
2742
|
+
value: string;
|
2743
|
+
symbol: string;
|
2744
|
+
};
|
2745
|
+
} & {
|
2746
|
+
data?: string | undefined;
|
2747
|
+
})[], unknown>, t.UndefinedC]>;
|
2748
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
2749
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2188
2750
|
intentType: t.KeyofC<{
|
2189
2751
|
payment: t.LiteralC<"payment">;
|
2190
2752
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2215,10 +2777,16 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2215
2777
|
deactivate: t.LiteralC<"deactivate">;
|
2216
2778
|
customTx: t.LiteralC<"customTx">;
|
2217
2779
|
}>;
|
2780
|
+
}>, t.PartialC<{
|
2218
2781
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2219
2782
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2220
|
-
nonce: t.UnionC<[t.
|
2221
|
-
}>, t.
|
2783
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2784
|
+
}>]>, t.TypeC<{
|
2785
|
+
feeOptions: t.TypeC<{
|
2786
|
+
gasLimit: t.NumberC;
|
2787
|
+
}>;
|
2788
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2789
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2222
2790
|
intentType: t.KeyofC<{
|
2223
2791
|
payment: t.LiteralC<"payment">;
|
2224
2792
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2249,10 +2817,46 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2249
2817
|
deactivate: t.LiteralC<"deactivate">;
|
2250
2818
|
customTx: t.LiteralC<"customTx">;
|
2251
2819
|
}>;
|
2820
|
+
}>, t.PartialC<{
|
2252
2821
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2253
2822
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2254
|
-
nonce: t.UnionC<[t.
|
2255
|
-
}>, t.TypeC<{
|
2823
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2824
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2825
|
+
intentType: t.KeyofC<{
|
2826
|
+
payment: t.LiteralC<"payment">;
|
2827
|
+
transferToken: t.LiteralC<"transferToken">;
|
2828
|
+
consolidate: t.LiteralC<"consolidate">;
|
2829
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2830
|
+
fanout: t.LiteralC<"fanout">;
|
2831
|
+
stake: t.LiteralC<"stake">;
|
2832
|
+
unstake: t.LiteralC<"unstake">;
|
2833
|
+
delegate: t.LiteralC<"delegate">;
|
2834
|
+
undelegate: t.LiteralC<"undelegate">;
|
2835
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2836
|
+
claim: t.LiteralC<"claim">;
|
2837
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2838
|
+
pledge: t.LiteralC<"pledge">;
|
2839
|
+
vote: t.LiteralC<"vote">;
|
2840
|
+
createAccount: t.LiteralC<"createAccount">;
|
2841
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2842
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2843
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2844
|
+
signMessage: t.LiteralC<"signMessage">;
|
2845
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2846
|
+
enableToken: t.LiteralC<"enableToken">;
|
2847
|
+
authorize: t.LiteralC<"authorize">;
|
2848
|
+
acceleration: t.LiteralC<"acceleration">;
|
2849
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2850
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2851
|
+
contractCall: t.LiteralC<"contractCall">;
|
2852
|
+
deactivate: t.LiteralC<"deactivate">;
|
2853
|
+
customTx: t.LiteralC<"customTx">;
|
2854
|
+
}>;
|
2855
|
+
}>, t.PartialC<{
|
2856
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2857
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2858
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2859
|
+
}>]>, t.TypeC<{
|
2256
2860
|
feeOptions: t.TypeC<{
|
2257
2861
|
gasLimit: t.NumberC;
|
2258
2862
|
}>;
|
@@ -2291,14 +2895,108 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2291
2895
|
deactivate: t.LiteralC<"deactivate">;
|
2292
2896
|
customTx: t.LiteralC<"customTx">;
|
2293
2897
|
}>;
|
2898
|
+
}>, t.PartialC<{
|
2294
2899
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2295
2900
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2296
|
-
nonce: t.UnionC<[t.
|
2297
|
-
}>, t.TypeC<{
|
2901
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2902
|
+
}>]>, t.TypeC<{
|
2903
|
+
intent: t.LiteralC<"payment">;
|
2904
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2905
|
+
address: t.PartialC<{
|
2906
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2907
|
+
option: t.UnionC<[t.Type<{
|
2908
|
+
[x: string]: unknown;
|
2909
|
+
}, {
|
2910
|
+
[x: string]: unknown;
|
2911
|
+
}, unknown>, t.UndefinedC]>;
|
2912
|
+
}>;
|
2913
|
+
amount: t.TypeC<{
|
2914
|
+
value: t.StringC;
|
2915
|
+
symbol: t.StringC;
|
2916
|
+
}>;
|
2917
|
+
}>, t.PartialC<{
|
2918
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2919
|
+
}>]>>;
|
2920
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2921
|
+
intentType: t.KeyofC<{
|
2922
|
+
payment: t.LiteralC<"payment">;
|
2923
|
+
transferToken: t.LiteralC<"transferToken">;
|
2924
|
+
consolidate: t.LiteralC<"consolidate">;
|
2925
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2926
|
+
fanout: t.LiteralC<"fanout">;
|
2927
|
+
stake: t.LiteralC<"stake">;
|
2928
|
+
unstake: t.LiteralC<"unstake">;
|
2929
|
+
delegate: t.LiteralC<"delegate">;
|
2930
|
+
undelegate: t.LiteralC<"undelegate">;
|
2931
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2932
|
+
claim: t.LiteralC<"claim">;
|
2933
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2934
|
+
pledge: t.LiteralC<"pledge">;
|
2935
|
+
vote: t.LiteralC<"vote">;
|
2936
|
+
createAccount: t.LiteralC<"createAccount">;
|
2937
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2938
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2939
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2940
|
+
signMessage: t.LiteralC<"signMessage">;
|
2941
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2942
|
+
enableToken: t.LiteralC<"enableToken">;
|
2943
|
+
authorize: t.LiteralC<"authorize">;
|
2944
|
+
acceleration: t.LiteralC<"acceleration">;
|
2945
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2946
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2947
|
+
contractCall: t.LiteralC<"contractCall">;
|
2948
|
+
deactivate: t.LiteralC<"deactivate">;
|
2949
|
+
customTx: t.LiteralC<"customTx">;
|
2950
|
+
}>;
|
2951
|
+
}>, t.PartialC<{
|
2952
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2953
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2954
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2955
|
+
}>]>, t.TypeC<{
|
2956
|
+
feeOptions: t.TypeC<{
|
2957
|
+
gasLimit: t.NumberC;
|
2958
|
+
}>;
|
2959
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2960
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2961
|
+
intentType: t.KeyofC<{
|
2962
|
+
payment: t.LiteralC<"payment">;
|
2963
|
+
transferToken: t.LiteralC<"transferToken">;
|
2964
|
+
consolidate: t.LiteralC<"consolidate">;
|
2965
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2966
|
+
fanout: t.LiteralC<"fanout">;
|
2967
|
+
stake: t.LiteralC<"stake">;
|
2968
|
+
unstake: t.LiteralC<"unstake">;
|
2969
|
+
delegate: t.LiteralC<"delegate">;
|
2970
|
+
undelegate: t.LiteralC<"undelegate">;
|
2971
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2972
|
+
claim: t.LiteralC<"claim">;
|
2973
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2974
|
+
pledge: t.LiteralC<"pledge">;
|
2975
|
+
vote: t.LiteralC<"vote">;
|
2976
|
+
createAccount: t.LiteralC<"createAccount">;
|
2977
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2978
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2979
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2980
|
+
signMessage: t.LiteralC<"signMessage">;
|
2981
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2982
|
+
enableToken: t.LiteralC<"enableToken">;
|
2983
|
+
authorize: t.LiteralC<"authorize">;
|
2984
|
+
acceleration: t.LiteralC<"acceleration">;
|
2985
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2986
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2987
|
+
contractCall: t.LiteralC<"contractCall">;
|
2988
|
+
deactivate: t.LiteralC<"deactivate">;
|
2989
|
+
customTx: t.LiteralC<"customTx">;
|
2990
|
+
}>;
|
2991
|
+
}>, t.PartialC<{
|
2992
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2993
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2994
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2995
|
+
}>]>, t.TypeC<{
|
2298
2996
|
stakingRequestId: t.StringC;
|
2299
2997
|
}>]>, t.TypeC<{
|
2300
2998
|
intentType: t.LiteralC<"stake">;
|
2301
|
-
}>]>, t.
|
2999
|
+
}>]>, t.PartialC<{
|
2302
3000
|
validatorAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2303
3001
|
amount: t.UnionC<[t.Type<{
|
2304
3002
|
value: string;
|
@@ -2307,10 +3005,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2307
3005
|
value: string;
|
2308
3006
|
symbol: string;
|
2309
3007
|
}, unknown>, t.UndefinedC]>;
|
2310
|
-
recipients: t.UnionC<[t.Type<{
|
3008
|
+
recipients: t.UnionC<[t.Type<({
|
2311
3009
|
address: {
|
2312
|
-
address
|
2313
|
-
option
|
3010
|
+
address?: string | undefined;
|
3011
|
+
option?: {
|
2314
3012
|
[x: string]: unknown;
|
2315
3013
|
} | undefined;
|
2316
3014
|
};
|
@@ -2318,11 +3016,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2318
3016
|
value: string;
|
2319
3017
|
symbol: string;
|
2320
3018
|
};
|
2321
|
-
|
2322
|
-
|
3019
|
+
} & {
|
3020
|
+
data?: string | undefined;
|
3021
|
+
})[], ({
|
2323
3022
|
address: {
|
2324
|
-
address
|
2325
|
-
option
|
3023
|
+
address?: string | undefined;
|
3024
|
+
option?: {
|
2326
3025
|
[x: string]: unknown;
|
2327
3026
|
} | undefined;
|
2328
3027
|
};
|
@@ -2330,9 +3029,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2330
3029
|
value: string;
|
2331
3030
|
symbol: string;
|
2332
3031
|
};
|
2333
|
-
|
2334
|
-
|
2335
|
-
}
|
3032
|
+
} & {
|
3033
|
+
data?: string | undefined;
|
3034
|
+
})[], unknown>, t.UndefinedC]>;
|
3035
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2336
3036
|
intentType: t.KeyofC<{
|
2337
3037
|
payment: t.LiteralC<"payment">;
|
2338
3038
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2363,13 +3063,15 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2363
3063
|
deactivate: t.LiteralC<"deactivate">;
|
2364
3064
|
customTx: t.LiteralC<"customTx">;
|
2365
3065
|
}>;
|
3066
|
+
}>, t.PartialC<{
|
2366
3067
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2367
3068
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2368
|
-
nonce: t.UnionC<[t.
|
2369
|
-
}>, t.TypeC<{
|
3069
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3070
|
+
}>]>, t.TypeC<{
|
2370
3071
|
stakingRequestId: t.StringC;
|
2371
3072
|
}>]>, t.TypeC<{
|
2372
3073
|
intentType: t.LiteralC<"claim">;
|
3074
|
+
}>, t.PartialC<{
|
2373
3075
|
amount: t.UnionC<[t.Type<{
|
2374
3076
|
value: string;
|
2375
3077
|
symbol: string;
|
@@ -2379,6 +3081,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2379
3081
|
}, unknown>, t.UndefinedC]>;
|
2380
3082
|
}>]>, t.TypeC<{
|
2381
3083
|
stakedSuiObjectId: t.StringC;
|
3084
|
+
}>, t.PartialC<{
|
2382
3085
|
amount: t.UnionC<[t.Type<{
|
2383
3086
|
value: string;
|
2384
3087
|
symbol: string;
|
@@ -2386,17 +3089,18 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2386
3089
|
value: string;
|
2387
3090
|
symbol: string;
|
2388
3091
|
}, unknown>, t.UndefinedC]>;
|
2389
|
-
}>]>, t.IntersectionC<[t.
|
3092
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2390
3093
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2391
3094
|
}>, t.TypeC<{
|
2392
3095
|
intentType: t.LiteralC<"consolidate">;
|
2393
3096
|
receiveAddress: t.StringC;
|
3097
|
+
}>, t.PartialC<{
|
2394
3098
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
2395
3099
|
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2396
|
-
recipients: t.UnionC<[t.Type<{
|
3100
|
+
recipients: t.UnionC<[t.Type<({
|
2397
3101
|
address: {
|
2398
|
-
address
|
2399
|
-
option
|
3102
|
+
address?: string | undefined;
|
3103
|
+
option?: {
|
2400
3104
|
[x: string]: unknown;
|
2401
3105
|
} | undefined;
|
2402
3106
|
};
|
@@ -2404,11 +3108,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2404
3108
|
value: string;
|
2405
3109
|
symbol: string;
|
2406
3110
|
};
|
2407
|
-
|
2408
|
-
|
3111
|
+
} & {
|
3112
|
+
data?: string | undefined;
|
3113
|
+
})[], ({
|
2409
3114
|
address: {
|
2410
|
-
address
|
2411
|
-
option
|
3115
|
+
address?: string | undefined;
|
3116
|
+
option?: {
|
2412
3117
|
[x: string]: unknown;
|
2413
3118
|
} | undefined;
|
2414
3119
|
};
|
@@ -2416,10 +3121,11 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2416
3121
|
value: string;
|
2417
3122
|
symbol: string;
|
2418
3123
|
};
|
2419
|
-
|
2420
|
-
|
3124
|
+
} & {
|
3125
|
+
data?: string | undefined;
|
3126
|
+
})[], unknown>, t.UndefinedC]>;
|
2421
3127
|
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
2422
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
3128
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2423
3129
|
intentType: t.KeyofC<{
|
2424
3130
|
payment: t.LiteralC<"payment">;
|
2425
3131
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2450,17 +3156,18 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2450
3156
|
deactivate: t.LiteralC<"deactivate">;
|
2451
3157
|
customTx: t.LiteralC<"customTx">;
|
2452
3158
|
}>;
|
3159
|
+
}>, t.PartialC<{
|
2453
3160
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2454
3161
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2455
|
-
nonce: t.UnionC<[t.
|
2456
|
-
}>, t.TypeC<{
|
3162
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3163
|
+
}>]>, t.TypeC<{
|
2457
3164
|
intentType: t.LiteralC<"delegate">;
|
2458
3165
|
validatorAddress: t.StringC;
|
2459
3166
|
amount: t.TypeC<{
|
2460
3167
|
value: t.StringC;
|
2461
3168
|
symbol: t.StringC;
|
2462
3169
|
}>;
|
2463
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3170
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2464
3171
|
intentType: t.KeyofC<{
|
2465
3172
|
payment: t.LiteralC<"payment">;
|
2466
3173
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2491,13 +3198,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2491
3198
|
deactivate: t.LiteralC<"deactivate">;
|
2492
3199
|
customTx: t.LiteralC<"customTx">;
|
2493
3200
|
}>;
|
3201
|
+
}>, t.PartialC<{
|
2494
3202
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2495
3203
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2496
|
-
nonce: t.UnionC<[t.
|
2497
|
-
}>, t.TypeC<{
|
3204
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3205
|
+
}>]>, t.TypeC<{
|
2498
3206
|
intent: t.LiteralC<"payment">;
|
2499
|
-
recipients: t.ArrayC<t.TypeC<{
|
2500
|
-
address: t.
|
3207
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
3208
|
+
address: t.PartialC<{
|
2501
3209
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2502
3210
|
option: t.UnionC<[t.Type<{
|
2503
3211
|
[x: string]: unknown;
|
@@ -2509,11 +3217,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2509
3217
|
value: t.StringC;
|
2510
3218
|
symbol: t.StringC;
|
2511
3219
|
}>;
|
3220
|
+
}>, t.PartialC<{
|
2512
3221
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2513
|
-
}>>;
|
2514
|
-
}>]>, t.
|
3222
|
+
}>]>>;
|
3223
|
+
}>]>, t.PartialC<{
|
2515
3224
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2516
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
3225
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2517
3226
|
intentType: t.KeyofC<{
|
2518
3227
|
payment: t.LiteralC<"payment">;
|
2519
3228
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2544,13 +3253,14 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2544
3253
|
deactivate: t.LiteralC<"deactivate">;
|
2545
3254
|
customTx: t.LiteralC<"customTx">;
|
2546
3255
|
}>;
|
3256
|
+
}>, t.PartialC<{
|
2547
3257
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2548
3258
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2549
|
-
nonce: t.UnionC<[t.
|
2550
|
-
}>, t.TypeC<{
|
3259
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3260
|
+
}>]>, t.TypeC<{
|
2551
3261
|
intentType: t.LiteralC<"delegate">;
|
2552
3262
|
validatorAddress: t.StringC;
|
2553
|
-
}>]>, t.IntersectionC<[t.TypeC<{
|
3263
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2554
3264
|
intentType: t.KeyofC<{
|
2555
3265
|
payment: t.LiteralC<"payment">;
|
2556
3266
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2581,10 +3291,46 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2581
3291
|
deactivate: t.LiteralC<"deactivate">;
|
2582
3292
|
customTx: t.LiteralC<"customTx">;
|
2583
3293
|
}>;
|
3294
|
+
}>, t.PartialC<{
|
2584
3295
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2585
3296
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2586
|
-
nonce: t.UnionC<[t.
|
2587
|
-
}>, t.TypeC<{
|
3297
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3298
|
+
}>]>, t.TypeC<{
|
2588
3299
|
intentType: t.LiteralC<"walletRecovery">;
|
2589
|
-
}>]>, t.
|
3300
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
3301
|
+
intentType: t.KeyofC<{
|
3302
|
+
payment: t.LiteralC<"payment">;
|
3303
|
+
transferToken: t.LiteralC<"transferToken">;
|
3304
|
+
consolidate: t.LiteralC<"consolidate">;
|
3305
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
3306
|
+
fanout: t.LiteralC<"fanout">;
|
3307
|
+
stake: t.LiteralC<"stake">;
|
3308
|
+
unstake: t.LiteralC<"unstake">;
|
3309
|
+
delegate: t.LiteralC<"delegate">;
|
3310
|
+
undelegate: t.LiteralC<"undelegate">;
|
3311
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
3312
|
+
claim: t.LiteralC<"claim">;
|
3313
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
3314
|
+
pledge: t.LiteralC<"pledge">;
|
3315
|
+
vote: t.LiteralC<"vote">;
|
3316
|
+
createAccount: t.LiteralC<"createAccount">;
|
3317
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
3318
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
3319
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
3320
|
+
signMessage: t.LiteralC<"signMessage">;
|
3321
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
3322
|
+
enableToken: t.LiteralC<"enableToken">;
|
3323
|
+
authorize: t.LiteralC<"authorize">;
|
3324
|
+
acceleration: t.LiteralC<"acceleration">;
|
3325
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
3326
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
3327
|
+
contractCall: t.LiteralC<"contractCall">;
|
3328
|
+
deactivate: t.LiteralC<"deactivate">;
|
3329
|
+
customTx: t.LiteralC<"customTx">;
|
3330
|
+
}>;
|
3331
|
+
}>, t.PartialC<{
|
3332
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
3333
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
3334
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3335
|
+
}>]>]>;
|
2590
3336
|
export type TransactionIntent = t.TypeOf<typeof TransactionIntent>;
|