@bitgo/public-types 6.5.2 → 6.6.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.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/baseIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +70 -0
- package/dist/src/schema/transactionRequest/intents/claimIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/claimIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/delegateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/index.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +412 -1
- package/dist/src/schema/transactionRequest/intents/intent.js +12 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/paymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/stakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/undelegateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +1082 -260
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/accelerationIntent.ts +7 -0
- package/src/schema/transactionRequest/intents/accountBaseBuildOptions.ts +1 -0
- package/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/baseBridgeFundsIntent.ts +4 -5
- package/src/schema/transactionRequest/intents/baseIntent.ts +9 -0
- package/src/schema/transactionRequest/intents/baseStakeIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.ts +1 -0
- package/src/schema/transactionRequest/intents/claimIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/delegateIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/ethAccelerationIntent.ts +5 -0
- package/src/schema/transactionRequest/intents/ethBuildOptions.ts +10 -0
- package/src/schema/transactionRequest/intents/ethConsolidateIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/ethFillNonceIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/ethPaymentIntent.ts +5 -0
- package/src/schema/transactionRequest/intents/ethStakingIntent.ts +9 -0
- package/src/schema/transactionRequest/intents/ethTransferTokenIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/fillNonceIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.ts +4 -4
- package/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/index.ts +3 -0
- package/src/schema/transactionRequest/intents/intent.ts +12 -0
- package/src/schema/transactionRequest/intents/paymentIntent.ts +3 -0
- package/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/stakeIntent.ts +1 -0
- package/src/schema/transactionRequest/intents/stakeWithCallDataIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.ts +22 -0
- package/src/schema/transactionRequest/intents/tokenApprovalIntent.ts +5 -1
- package/src/schema/transactionRequest/intents/transferTokenIntent.ts +1 -0
- package/src/schema/transactionRequest/intents/undelegateIntent.ts +6 -0
|
@@ -1776,6 +1776,73 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1776
1776
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1777
1777
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1778
1778
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1779
|
+
}>]>, t.TypeC<{
|
|
1780
|
+
stakingRequestId: t.StringC;
|
|
1781
|
+
}>, t.PartialC<{
|
|
1782
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
1783
|
+
}>]>, t.TypeC<{
|
|
1784
|
+
intentType: t.LiteralC<"claim">;
|
|
1785
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1786
|
+
intentType: t.KeyofC<{
|
|
1787
|
+
payment: t.LiteralC<"payment">;
|
|
1788
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
1789
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
1790
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
1791
|
+
fanout: t.LiteralC<"fanout">;
|
|
1792
|
+
stake: t.LiteralC<"stake">;
|
|
1793
|
+
unstake: t.LiteralC<"unstake">;
|
|
1794
|
+
delegate: t.LiteralC<"delegate">;
|
|
1795
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
1796
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
1797
|
+
claim: t.LiteralC<"claim">;
|
|
1798
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
1799
|
+
pledge: t.LiteralC<"pledge">;
|
|
1800
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
1801
|
+
vote: t.LiteralC<"vote">;
|
|
1802
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
1803
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
1804
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
1805
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
1806
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
1807
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
1808
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
1809
|
+
authorize: t.LiteralC<"authorize">;
|
|
1810
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
1811
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
1812
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
1813
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
1814
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
1815
|
+
customTx: t.LiteralC<"customTx">;
|
|
1816
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
1817
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
1818
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
1819
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
1820
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
1821
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
1822
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
1823
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
1824
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
1825
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
1826
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
1827
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
1828
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
1829
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
1830
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
1831
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
1832
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
1833
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
1834
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
1835
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
1836
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
1837
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
1838
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
1839
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
1840
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
1841
|
+
}>;
|
|
1842
|
+
}>, t.PartialC<{
|
|
1843
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1844
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1845
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1779
1846
|
}>]>, t.TypeC<{
|
|
1780
1847
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
1781
1848
|
address: t.PartialC<{
|
|
@@ -2902,6 +2969,73 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2902
2969
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2903
2970
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2904
2971
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
2972
|
+
}>]>, t.TypeC<{
|
|
2973
|
+
stakingRequestId: t.StringC;
|
|
2974
|
+
}>, t.PartialC<{
|
|
2975
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
2976
|
+
}>]>, t.TypeC<{
|
|
2977
|
+
intentType: t.LiteralC<"delegate">;
|
|
2978
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2979
|
+
intentType: t.KeyofC<{
|
|
2980
|
+
payment: t.LiteralC<"payment">;
|
|
2981
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
2982
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
2983
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
2984
|
+
fanout: t.LiteralC<"fanout">;
|
|
2985
|
+
stake: t.LiteralC<"stake">;
|
|
2986
|
+
unstake: t.LiteralC<"unstake">;
|
|
2987
|
+
delegate: t.LiteralC<"delegate">;
|
|
2988
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
2989
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
2990
|
+
claim: t.LiteralC<"claim">;
|
|
2991
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
2992
|
+
pledge: t.LiteralC<"pledge">;
|
|
2993
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
2994
|
+
vote: t.LiteralC<"vote">;
|
|
2995
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
2996
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
2997
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
2998
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
2999
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
3000
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
3001
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
3002
|
+
authorize: t.LiteralC<"authorize">;
|
|
3003
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
3004
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
3005
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
3006
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
3007
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
3008
|
+
customTx: t.LiteralC<"customTx">;
|
|
3009
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
3010
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
3011
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
3012
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
3013
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
3014
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
3015
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
3016
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
3017
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
3018
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
3019
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
3020
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
3021
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
3022
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
3023
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
3024
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
3025
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
3026
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
3027
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
3028
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
3029
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
3030
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
3031
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
3032
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
3033
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
3034
|
+
}>;
|
|
3035
|
+
}>, t.PartialC<{
|
|
3036
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3037
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3038
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
2905
3039
|
}>]>, t.TypeC<{
|
|
2906
3040
|
intentType: t.LiteralC<"acceleration">;
|
|
2907
3041
|
txid: t.StringC;
|
|
@@ -3599,7 +3733,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3599
3733
|
}, unknown>, t.UndefinedC]>;
|
|
3600
3734
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3601
3735
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3602
|
-
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3736
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3603
3737
|
intentType: t.KeyofC<{
|
|
3604
3738
|
payment: t.LiteralC<"payment">;
|
|
3605
3739
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -3661,23 +3795,16 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3661
3795
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3662
3796
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3663
3797
|
}>]>, t.TypeC<{
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
amount: t.TypeC<{
|
|
3675
|
-
value: t.StringC;
|
|
3676
|
-
symbol: t.StringC;
|
|
3677
|
-
}>;
|
|
3678
|
-
}>, t.PartialC<{
|
|
3679
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3680
|
-
}>]>>;
|
|
3798
|
+
stakingRequestId: t.StringC;
|
|
3799
|
+
}>, t.PartialC<{
|
|
3800
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
3801
|
+
}>]>, t.TypeC<{
|
|
3802
|
+
amount: t.TypeC<{
|
|
3803
|
+
value: t.StringC;
|
|
3804
|
+
symbol: t.StringC;
|
|
3805
|
+
}>;
|
|
3806
|
+
}>, t.TypeC<{
|
|
3807
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
3681
3808
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3682
3809
|
intentType: t.KeyofC<{
|
|
3683
3810
|
payment: t.LiteralC<"payment">;
|
|
@@ -3739,20 +3866,13 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3739
3866
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3740
3867
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3741
3868
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3742
|
-
}>]>, t.
|
|
3743
|
-
|
|
3744
|
-
}>, t.TypeC<{
|
|
3745
|
-
intentType: t.LiteralC<"updateAccount">;
|
|
3869
|
+
}>]>, t.TypeC<{
|
|
3870
|
+
stakingRequestId: t.StringC;
|
|
3746
3871
|
}>, t.PartialC<{
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
}, unknown>, t.UndefinedC]>;
|
|
3752
|
-
}>]>, t.PartialC<{
|
|
3753
|
-
stakedNodeId: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3754
|
-
declineStakingReward: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
3755
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3872
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
3873
|
+
}>]>, t.TypeC<{
|
|
3874
|
+
intentType: t.LiteralC<"undelegate">;
|
|
3875
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3756
3876
|
intentType: t.KeyofC<{
|
|
3757
3877
|
payment: t.LiteralC<"payment">;
|
|
3758
3878
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -3814,35 +3934,24 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3814
3934
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3815
3935
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3816
3936
|
}>]>, t.TypeC<{
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3836
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3837
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
3838
|
-
gasLimit?: number | undefined;
|
|
3839
|
-
gasPrice?: number | undefined;
|
|
3840
|
-
} | {
|
|
3841
|
-
gasLimit?: number | undefined;
|
|
3842
|
-
maxFeePerGas?: number | undefined;
|
|
3843
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
3844
|
-
}, unknown>, t.UndefinedC]>;
|
|
3845
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3937
|
+
intentType: t.LiteralC<"feeAddressTransfer">;
|
|
3938
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
3939
|
+
address: t.PartialC<{
|
|
3940
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3941
|
+
option: t.UnionC<[t.Type<{
|
|
3942
|
+
[x: string]: unknown;
|
|
3943
|
+
}, {
|
|
3944
|
+
[x: string]: unknown;
|
|
3945
|
+
}, unknown>, t.UndefinedC]>;
|
|
3946
|
+
}>;
|
|
3947
|
+
amount: t.TypeC<{
|
|
3948
|
+
value: t.StringC;
|
|
3949
|
+
symbol: t.StringC;
|
|
3950
|
+
}>;
|
|
3951
|
+
}>, t.PartialC<{
|
|
3952
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3953
|
+
}>]>>;
|
|
3954
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3846
3955
|
intentType: t.KeyofC<{
|
|
3847
3956
|
payment: t.LiteralC<"payment">;
|
|
3848
3957
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -3903,32 +4012,196 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3903
4012
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3904
4013
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3905
4014
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3906
|
-
}>]>, t.
|
|
3907
|
-
|
|
3908
|
-
address: t.PartialC<{
|
|
3909
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3910
|
-
option: t.UnionC<[t.Type<{
|
|
3911
|
-
[x: string]: unknown;
|
|
3912
|
-
}, {
|
|
3913
|
-
[x: string]: unknown;
|
|
3914
|
-
}, unknown>, t.UndefinedC]>;
|
|
3915
|
-
}>;
|
|
3916
|
-
amount: t.TypeC<{
|
|
3917
|
-
value: t.StringC;
|
|
3918
|
-
symbol: t.StringC;
|
|
3919
|
-
}>;
|
|
3920
|
-
}>, t.PartialC<{
|
|
3921
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3922
|
-
}>]>>;
|
|
4015
|
+
}>]>, t.PartialC<{
|
|
4016
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3923
4017
|
}>, t.TypeC<{
|
|
3924
|
-
intentType: t.LiteralC<"
|
|
3925
|
-
}
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
4018
|
+
intentType: t.LiteralC<"updateAccount">;
|
|
4019
|
+
}>, t.PartialC<{
|
|
4020
|
+
options: t.UnionC<[t.Type<{
|
|
4021
|
+
[x: string]: unknown;
|
|
4022
|
+
}, {
|
|
4023
|
+
[x: string]: unknown;
|
|
4024
|
+
}, unknown>, t.UndefinedC]>;
|
|
4025
|
+
}>]>, t.PartialC<{
|
|
4026
|
+
stakedNodeId: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
4027
|
+
declineStakingReward: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
4028
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
4029
|
+
intentType: t.KeyofC<{
|
|
4030
|
+
payment: t.LiteralC<"payment">;
|
|
4031
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
4032
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
4033
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
4034
|
+
fanout: t.LiteralC<"fanout">;
|
|
4035
|
+
stake: t.LiteralC<"stake">;
|
|
4036
|
+
unstake: t.LiteralC<"unstake">;
|
|
4037
|
+
delegate: t.LiteralC<"delegate">;
|
|
4038
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
4039
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
4040
|
+
claim: t.LiteralC<"claim">;
|
|
4041
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
4042
|
+
pledge: t.LiteralC<"pledge">;
|
|
4043
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
4044
|
+
vote: t.LiteralC<"vote">;
|
|
4045
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
4046
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
4047
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
4048
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
4049
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
4050
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
4051
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
4052
|
+
authorize: t.LiteralC<"authorize">;
|
|
4053
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
4054
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
4055
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
4056
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
4057
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
4058
|
+
customTx: t.LiteralC<"customTx">;
|
|
4059
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
4060
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
4061
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
4062
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
4063
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
4064
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
4065
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
4066
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
4067
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
4068
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
4069
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
4070
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
4071
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
4072
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
4073
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
4074
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
4075
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
4076
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
4077
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
4078
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
4079
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
4080
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
4081
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
4082
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
4083
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
4084
|
+
}>;
|
|
4085
|
+
}>, t.PartialC<{
|
|
4086
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4087
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4088
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
4089
|
+
}>]>, t.TypeC<{
|
|
4090
|
+
amount: t.TypeC<{
|
|
4091
|
+
value: t.StringC;
|
|
4092
|
+
symbol: t.StringC;
|
|
4093
|
+
}>;
|
|
4094
|
+
}>, t.TypeC<{
|
|
4095
|
+
intentType: t.LiteralC<"bridgeFunds">;
|
|
4096
|
+
}>]>, t.PartialC<{
|
|
4097
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
4098
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
4099
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
4100
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
4101
|
+
gasLimit?: number | undefined;
|
|
4102
|
+
gasPrice?: number | undefined;
|
|
4103
|
+
} | {
|
|
4104
|
+
gasLimit?: number | undefined;
|
|
4105
|
+
maxFeePerGas?: number | undefined;
|
|
4106
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
4107
|
+
}, {
|
|
4108
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
4109
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
4110
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
4111
|
+
gasLimit?: number | undefined;
|
|
4112
|
+
gasPrice?: number | undefined;
|
|
4113
|
+
} | {
|
|
4114
|
+
gasLimit?: number | undefined;
|
|
4115
|
+
maxFeePerGas?: number | undefined;
|
|
4116
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
4117
|
+
}, unknown>, t.UndefinedC]>;
|
|
4118
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
4119
|
+
intentType: t.KeyofC<{
|
|
4120
|
+
payment: t.LiteralC<"payment">;
|
|
4121
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
4122
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
4123
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
4124
|
+
fanout: t.LiteralC<"fanout">;
|
|
4125
|
+
stake: t.LiteralC<"stake">;
|
|
4126
|
+
unstake: t.LiteralC<"unstake">;
|
|
4127
|
+
delegate: t.LiteralC<"delegate">;
|
|
4128
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
4129
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
4130
|
+
claim: t.LiteralC<"claim">;
|
|
4131
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
4132
|
+
pledge: t.LiteralC<"pledge">;
|
|
4133
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
4134
|
+
vote: t.LiteralC<"vote">;
|
|
4135
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
4136
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
4137
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
4138
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
4139
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
4140
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
4141
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
4142
|
+
authorize: t.LiteralC<"authorize">;
|
|
4143
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
4144
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
4145
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
4146
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
4147
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
4148
|
+
customTx: t.LiteralC<"customTx">;
|
|
4149
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
4150
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
4151
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
4152
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
4153
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
4154
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
4155
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
4156
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
4157
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
4158
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
4159
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
4160
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
4161
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
4162
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
4163
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
4164
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
4165
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
4166
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
4167
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
4168
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
4169
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
4170
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
4171
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
4172
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
4173
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
4174
|
+
}>;
|
|
4175
|
+
}>, t.PartialC<{
|
|
4176
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4177
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4178
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
4179
|
+
}>]>, t.TypeC<{
|
|
4180
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
4181
|
+
address: t.PartialC<{
|
|
4182
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4183
|
+
option: t.UnionC<[t.Type<{
|
|
4184
|
+
[x: string]: unknown;
|
|
4185
|
+
}, {
|
|
4186
|
+
[x: string]: unknown;
|
|
4187
|
+
}, unknown>, t.UndefinedC]>;
|
|
4188
|
+
}>;
|
|
4189
|
+
amount: t.TypeC<{
|
|
4190
|
+
value: t.StringC;
|
|
4191
|
+
symbol: t.StringC;
|
|
4192
|
+
}>;
|
|
4193
|
+
}>, t.PartialC<{
|
|
4194
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
4195
|
+
}>]>>;
|
|
4196
|
+
}>, t.TypeC<{
|
|
4197
|
+
intentType: t.LiteralC<"spotTransfer">;
|
|
4198
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
4199
|
+
intentType: t.KeyofC<{
|
|
4200
|
+
payment: t.LiteralC<"payment">;
|
|
4201
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
4202
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
4203
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
4204
|
+
fanout: t.LiteralC<"fanout">;
|
|
3932
4205
|
stake: t.LiteralC<"stake">;
|
|
3933
4206
|
unstake: t.LiteralC<"unstake">;
|
|
3934
4207
|
delegate: t.LiteralC<"delegate">;
|
|
@@ -9941,13 +10214,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
9941
10214
|
}>]>, t.TypeC<{
|
|
9942
10215
|
calldata: t.StringC;
|
|
9943
10216
|
}>]>, t.TypeC<{
|
|
9944
|
-
|
|
9945
|
-
value: t.StringC;
|
|
9946
|
-
symbol: t.StringC;
|
|
9947
|
-
}>;
|
|
9948
|
-
}>, t.TypeC<{
|
|
9949
|
-
intentType: t.LiteralC<"delegate">;
|
|
9950
|
-
validatorAddress: t.StringC;
|
|
10217
|
+
intentType: t.LiteralC<"stakeWithCallData">;
|
|
9951
10218
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
9952
10219
|
intentType: t.KeyofC<{
|
|
9953
10220
|
payment: t.LiteralC<"payment">;
|
|
@@ -10016,13 +10283,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
10016
10283
|
}>]>, t.TypeC<{
|
|
10017
10284
|
calldata: t.StringC;
|
|
10018
10285
|
}>]>, t.TypeC<{
|
|
10019
|
-
|
|
10020
|
-
value: t.StringC;
|
|
10021
|
-
symbol: t.StringC;
|
|
10022
|
-
}>;
|
|
10023
|
-
}>, t.TypeC<{
|
|
10024
|
-
intentType: t.LiteralC<"undelegate">;
|
|
10025
|
-
validatorAddress: t.StringC;
|
|
10286
|
+
intentType: t.LiteralC<"switchValidatorWithCallData">;
|
|
10026
10287
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10027
10288
|
intentType: t.KeyofC<{
|
|
10028
10289
|
payment: t.LiteralC<"payment">;
|
|
@@ -10091,8 +10352,14 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
10091
10352
|
}>]>, t.TypeC<{
|
|
10092
10353
|
calldata: t.StringC;
|
|
10093
10354
|
}>]>, t.TypeC<{
|
|
10094
|
-
|
|
10095
|
-
|
|
10355
|
+
amount: t.TypeC<{
|
|
10356
|
+
value: t.StringC;
|
|
10357
|
+
symbol: t.StringC;
|
|
10358
|
+
}>;
|
|
10359
|
+
}>, t.TypeC<{
|
|
10360
|
+
intentType: t.LiteralC<"delegate">;
|
|
10361
|
+
validatorAddress: t.StringC;
|
|
10362
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10096
10363
|
intentType: t.KeyofC<{
|
|
10097
10364
|
payment: t.LiteralC<"payment">;
|
|
10098
10365
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -10158,6 +10425,16 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
10158
10425
|
}>, t.PartialC<{
|
|
10159
10426
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
10160
10427
|
}>]>, t.TypeC<{
|
|
10428
|
+
calldata: t.StringC;
|
|
10429
|
+
}>]>, t.TypeC<{
|
|
10430
|
+
amount: t.TypeC<{
|
|
10431
|
+
value: t.StringC;
|
|
10432
|
+
symbol: t.StringC;
|
|
10433
|
+
}>;
|
|
10434
|
+
}>, t.TypeC<{
|
|
10435
|
+
intentType: t.LiteralC<"undelegate">;
|
|
10436
|
+
validatorAddress: t.StringC;
|
|
10437
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10161
10438
|
intentType: t.KeyofC<{
|
|
10162
10439
|
payment: t.LiteralC<"payment">;
|
|
10163
10440
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -10215,41 +10492,175 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
10215
10492
|
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
10216
10493
|
}>;
|
|
10217
10494
|
}>, t.PartialC<{
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10495
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10496
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10497
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
10498
|
+
}>]>, t.TypeC<{
|
|
10499
|
+
stakingRequestId: t.StringC;
|
|
10500
|
+
}>, t.PartialC<{
|
|
10501
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
10502
|
+
}>]>, t.TypeC<{
|
|
10503
|
+
calldata: t.StringC;
|
|
10504
|
+
}>]>, t.TypeC<{
|
|
10505
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
10506
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10507
|
+
intentType: t.KeyofC<{
|
|
10508
|
+
payment: t.LiteralC<"payment">;
|
|
10509
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
10510
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
10511
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
10512
|
+
fanout: t.LiteralC<"fanout">;
|
|
10513
|
+
stake: t.LiteralC<"stake">;
|
|
10514
|
+
unstake: t.LiteralC<"unstake">;
|
|
10515
|
+
delegate: t.LiteralC<"delegate">;
|
|
10516
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
10517
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
10518
|
+
claim: t.LiteralC<"claim">;
|
|
10519
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
10520
|
+
pledge: t.LiteralC<"pledge">;
|
|
10521
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
10522
|
+
vote: t.LiteralC<"vote">;
|
|
10523
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
10524
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
10525
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
10526
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
10527
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
10528
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
10529
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
10530
|
+
authorize: t.LiteralC<"authorize">;
|
|
10531
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
10532
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
10533
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
10534
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
10535
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
10536
|
+
customTx: t.LiteralC<"customTx">;
|
|
10537
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
10538
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
10539
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
10540
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
10541
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
10542
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
10543
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
10544
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
10545
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
10546
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
10547
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
10548
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
10549
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
10550
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
10551
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
10552
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
10553
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
10554
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
10555
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
10556
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
10557
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
10558
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
10559
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
10560
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
10561
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
10562
|
+
}>;
|
|
10563
|
+
}>, t.PartialC<{
|
|
10564
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10565
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10566
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
10567
|
+
}>]>, t.TypeC<{
|
|
10568
|
+
stakingRequestId: t.StringC;
|
|
10569
|
+
}>, t.PartialC<{
|
|
10570
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
10571
|
+
}>]>, t.TypeC<{
|
|
10572
|
+
intentType: t.KeyofC<{
|
|
10573
|
+
payment: t.LiteralC<"payment">;
|
|
10574
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
10575
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
10576
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
10577
|
+
fanout: t.LiteralC<"fanout">;
|
|
10578
|
+
stake: t.LiteralC<"stake">;
|
|
10579
|
+
unstake: t.LiteralC<"unstake">;
|
|
10580
|
+
delegate: t.LiteralC<"delegate">;
|
|
10581
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
10582
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
10583
|
+
claim: t.LiteralC<"claim">;
|
|
10584
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
10585
|
+
pledge: t.LiteralC<"pledge">;
|
|
10586
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
10587
|
+
vote: t.LiteralC<"vote">;
|
|
10588
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
10589
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
10590
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
10591
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
10592
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
10593
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
10594
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
10595
|
+
authorize: t.LiteralC<"authorize">;
|
|
10596
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
10597
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
10598
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
10599
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
10600
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
10601
|
+
customTx: t.LiteralC<"customTx">;
|
|
10602
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
10603
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
10604
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
10605
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
10606
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
10607
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
10608
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
10609
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
10610
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
10611
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
10612
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
10613
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
10614
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
10615
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
10616
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
10617
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
10618
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
10619
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
10620
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
10621
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
10622
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
10623
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
10624
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
10625
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
10626
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
10627
|
+
}>;
|
|
10628
|
+
}>, t.PartialC<{
|
|
10629
|
+
recipients: t.UnionC<[t.Type<({
|
|
10630
|
+
address: {
|
|
10631
|
+
address?: string | undefined;
|
|
10632
|
+
option?: {
|
|
10633
|
+
[x: string]: unknown;
|
|
10634
|
+
} | undefined;
|
|
10635
|
+
};
|
|
10636
|
+
amount: {
|
|
10637
|
+
value: string;
|
|
10638
|
+
symbol: string;
|
|
10639
|
+
};
|
|
10640
|
+
} & {
|
|
10641
|
+
data?: string | undefined;
|
|
10642
|
+
})[], ({
|
|
10643
|
+
address: {
|
|
10644
|
+
address?: string | undefined;
|
|
10645
|
+
option?: {
|
|
10646
|
+
[x: string]: unknown;
|
|
10647
|
+
} | undefined;
|
|
10648
|
+
};
|
|
10649
|
+
amount: {
|
|
10650
|
+
value: string;
|
|
10651
|
+
symbol: string;
|
|
10652
|
+
};
|
|
10653
|
+
} & {
|
|
10654
|
+
data?: string | undefined;
|
|
10655
|
+
})[], unknown>, t.UndefinedC]>;
|
|
10656
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10657
|
+
intentType: t.KeyofC<{
|
|
10658
|
+
payment: t.LiteralC<"payment">;
|
|
10659
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
10660
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
10661
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
10662
|
+
fanout: t.LiteralC<"fanout">;
|
|
10663
|
+
stake: t.LiteralC<"stake">;
|
|
10253
10664
|
unstake: t.LiteralC<"unstake">;
|
|
10254
10665
|
delegate: t.LiteralC<"delegate">;
|
|
10255
10666
|
undelegate: t.LiteralC<"undelegate">;
|
|
@@ -13022,6 +13433,73 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13022
13433
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13023
13434
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13024
13435
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13436
|
+
}>]>, t.TypeC<{
|
|
13437
|
+
stakingRequestId: t.StringC;
|
|
13438
|
+
}>, t.PartialC<{
|
|
13439
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
13440
|
+
}>]>, t.TypeC<{
|
|
13441
|
+
intentType: t.LiteralC<"claim">;
|
|
13442
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13443
|
+
intentType: t.KeyofC<{
|
|
13444
|
+
payment: t.LiteralC<"payment">;
|
|
13445
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
13446
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
13447
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
13448
|
+
fanout: t.LiteralC<"fanout">;
|
|
13449
|
+
stake: t.LiteralC<"stake">;
|
|
13450
|
+
unstake: t.LiteralC<"unstake">;
|
|
13451
|
+
delegate: t.LiteralC<"delegate">;
|
|
13452
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
13453
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
13454
|
+
claim: t.LiteralC<"claim">;
|
|
13455
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
13456
|
+
pledge: t.LiteralC<"pledge">;
|
|
13457
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
13458
|
+
vote: t.LiteralC<"vote">;
|
|
13459
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
13460
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
13461
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
13462
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
13463
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
13464
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
13465
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
13466
|
+
authorize: t.LiteralC<"authorize">;
|
|
13467
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
13468
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
13469
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
13470
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
13471
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
13472
|
+
customTx: t.LiteralC<"customTx">;
|
|
13473
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
13474
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
13475
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
13476
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
13477
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
13478
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
13479
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
13480
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
13481
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
13482
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
13483
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
13484
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
13485
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
13486
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
13487
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
13488
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
13489
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
13490
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
13491
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
13492
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
13493
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
13494
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
13495
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
13496
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
13497
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
13498
|
+
}>;
|
|
13499
|
+
}>, t.PartialC<{
|
|
13500
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13501
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13502
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13025
13503
|
}>]>, t.TypeC<{
|
|
13026
13504
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
13027
13505
|
address: t.PartialC<{
|
|
@@ -14149,26 +14627,93 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
14149
14627
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14150
14628
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14151
14629
|
}>]>, t.TypeC<{
|
|
14152
|
-
|
|
14153
|
-
txid: t.StringC;
|
|
14154
|
-
}>, t.PartialC<{
|
|
14155
|
-
senderAddress: t.StringC;
|
|
14156
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
14157
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14630
|
+
stakingRequestId: t.StringC;
|
|
14158
14631
|
}>, t.PartialC<{
|
|
14159
|
-
|
|
14160
|
-
paymentId: string | undefined;
|
|
14161
|
-
userReqSig: string | undefined;
|
|
14162
|
-
gasPriceMax: number | undefined;
|
|
14163
|
-
}, {
|
|
14164
|
-
paymentId: string | undefined;
|
|
14165
|
-
userReqSig: string | undefined;
|
|
14166
|
-
gasPriceMax: number | undefined;
|
|
14167
|
-
}, unknown>, t.UndefinedC]>;
|
|
14168
|
-
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14169
|
-
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
14632
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
14170
14633
|
}>]>, t.TypeC<{
|
|
14171
|
-
|
|
14634
|
+
intentType: t.LiteralC<"delegate">;
|
|
14635
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
14636
|
+
intentType: t.KeyofC<{
|
|
14637
|
+
payment: t.LiteralC<"payment">;
|
|
14638
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
14639
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
14640
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
14641
|
+
fanout: t.LiteralC<"fanout">;
|
|
14642
|
+
stake: t.LiteralC<"stake">;
|
|
14643
|
+
unstake: t.LiteralC<"unstake">;
|
|
14644
|
+
delegate: t.LiteralC<"delegate">;
|
|
14645
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
14646
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
14647
|
+
claim: t.LiteralC<"claim">;
|
|
14648
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
14649
|
+
pledge: t.LiteralC<"pledge">;
|
|
14650
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
14651
|
+
vote: t.LiteralC<"vote">;
|
|
14652
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
14653
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
14654
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
14655
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
14656
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
14657
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
14658
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
14659
|
+
authorize: t.LiteralC<"authorize">;
|
|
14660
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
14661
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
14662
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
14663
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
14664
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
14665
|
+
customTx: t.LiteralC<"customTx">;
|
|
14666
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
14667
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
14668
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
14669
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
14670
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
14671
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
14672
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
14673
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
14674
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
14675
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
14676
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
14677
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
14678
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
14679
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
14680
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
14681
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
14682
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
14683
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
14684
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
14685
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
14686
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
14687
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
14688
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
14689
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
14690
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
14691
|
+
}>;
|
|
14692
|
+
}>, t.PartialC<{
|
|
14693
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14694
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14695
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14696
|
+
}>]>, t.TypeC<{
|
|
14697
|
+
intentType: t.LiteralC<"acceleration">;
|
|
14698
|
+
txid: t.StringC;
|
|
14699
|
+
}>, t.PartialC<{
|
|
14700
|
+
senderAddress: t.StringC;
|
|
14701
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
14702
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14703
|
+
}>, t.PartialC<{
|
|
14704
|
+
hopParams: t.UnionC<[t.Type<{
|
|
14705
|
+
paymentId: string | undefined;
|
|
14706
|
+
userReqSig: string | undefined;
|
|
14707
|
+
gasPriceMax: number | undefined;
|
|
14708
|
+
}, {
|
|
14709
|
+
paymentId: string | undefined;
|
|
14710
|
+
userReqSig: string | undefined;
|
|
14711
|
+
gasPriceMax: number | undefined;
|
|
14712
|
+
}, unknown>, t.UndefinedC]>;
|
|
14713
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14714
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
14715
|
+
}>]>, t.TypeC<{
|
|
14716
|
+
feeOptions: t.UnionC<[t.PartialC<{
|
|
14172
14717
|
unit: t.UnionC<[t.Type<"baseUnit" | "cpu" | "ram", "baseUnit" | "cpu" | "ram", unknown>, t.UndefinedC]>;
|
|
14173
14718
|
formula: t.UnionC<[t.Type<"fixed" | "feeRate" | "perKB" | "custom" | "perVKB", "fixed" | "feeRate" | "perKB" | "custom" | "perVKB", unknown>, t.UndefinedC]>;
|
|
14174
14719
|
feeType: t.UnionC<[t.Type<"max" | "base" | "tip", "max" | "base" | "tip", unknown>, t.UndefinedC]>;
|
|
@@ -14677,47 +15222,246 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
14677
15222
|
}>, t.PartialC<{
|
|
14678
15223
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
14679
15224
|
}>]>, t.TypeC<{
|
|
14680
|
-
intentType: t.LiteralC<"stake">;
|
|
14681
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
14682
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14683
|
-
}>, t.PartialC<{
|
|
14684
|
-
feeOptions: t.UnionC<[t.Type<{
|
|
14685
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
14686
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
14687
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
14688
|
-
gasLimit?: number | undefined;
|
|
14689
|
-
gasPrice?: number | undefined;
|
|
14690
|
-
} | {
|
|
14691
|
-
gasLimit?: number | undefined;
|
|
14692
|
-
maxFeePerGas?: number | undefined;
|
|
14693
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
14694
|
-
}, {
|
|
14695
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
14696
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
14697
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
14698
|
-
gasLimit?: number | undefined;
|
|
14699
|
-
gasPrice?: number | undefined;
|
|
14700
|
-
} | {
|
|
14701
|
-
gasLimit?: number | undefined;
|
|
14702
|
-
maxFeePerGas?: number | undefined;
|
|
14703
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
14704
|
-
}, unknown>, t.UndefinedC]>;
|
|
14705
|
-
hopParams: t.UnionC<[t.Type<{
|
|
14706
|
-
paymentId: string | undefined;
|
|
14707
|
-
userReqSig: string | undefined;
|
|
14708
|
-
gasPriceMax: number | undefined;
|
|
14709
|
-
}, {
|
|
14710
|
-
paymentId: string | undefined;
|
|
14711
|
-
userReqSig: string | undefined;
|
|
14712
|
-
gasPriceMax: number | undefined;
|
|
14713
|
-
}, unknown>, t.UndefinedC]>;
|
|
14714
|
-
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14715
|
-
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
14716
|
-
}>]>, t.TypeC<{
|
|
14717
|
-
pubkey: t.StringC;
|
|
14718
|
-
withdrawalCredentials: t.StringC;
|
|
14719
|
-
signature: t.StringC;
|
|
14720
|
-
depositDataRoot: t.StringC;
|
|
15225
|
+
intentType: t.LiteralC<"stake">;
|
|
15226
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
15227
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
15228
|
+
}>, t.PartialC<{
|
|
15229
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
15230
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
15231
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
15232
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
15233
|
+
gasLimit?: number | undefined;
|
|
15234
|
+
gasPrice?: number | undefined;
|
|
15235
|
+
} | {
|
|
15236
|
+
gasLimit?: number | undefined;
|
|
15237
|
+
maxFeePerGas?: number | undefined;
|
|
15238
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
15239
|
+
}, {
|
|
15240
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
15241
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
15242
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
15243
|
+
gasLimit?: number | undefined;
|
|
15244
|
+
gasPrice?: number | undefined;
|
|
15245
|
+
} | {
|
|
15246
|
+
gasLimit?: number | undefined;
|
|
15247
|
+
maxFeePerGas?: number | undefined;
|
|
15248
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
15249
|
+
}, unknown>, t.UndefinedC]>;
|
|
15250
|
+
hopParams: t.UnionC<[t.Type<{
|
|
15251
|
+
paymentId: string | undefined;
|
|
15252
|
+
userReqSig: string | undefined;
|
|
15253
|
+
gasPriceMax: number | undefined;
|
|
15254
|
+
}, {
|
|
15255
|
+
paymentId: string | undefined;
|
|
15256
|
+
userReqSig: string | undefined;
|
|
15257
|
+
gasPriceMax: number | undefined;
|
|
15258
|
+
}, unknown>, t.UndefinedC]>;
|
|
15259
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15260
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
15261
|
+
}>]>, t.TypeC<{
|
|
15262
|
+
pubkey: t.StringC;
|
|
15263
|
+
withdrawalCredentials: t.StringC;
|
|
15264
|
+
signature: t.StringC;
|
|
15265
|
+
depositDataRoot: t.StringC;
|
|
15266
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15267
|
+
intentType: t.KeyofC<{
|
|
15268
|
+
payment: t.LiteralC<"payment">;
|
|
15269
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
15270
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
15271
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
15272
|
+
fanout: t.LiteralC<"fanout">;
|
|
15273
|
+
stake: t.LiteralC<"stake">;
|
|
15274
|
+
unstake: t.LiteralC<"unstake">;
|
|
15275
|
+
delegate: t.LiteralC<"delegate">;
|
|
15276
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
15277
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
15278
|
+
claim: t.LiteralC<"claim">;
|
|
15279
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
15280
|
+
pledge: t.LiteralC<"pledge">;
|
|
15281
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
15282
|
+
vote: t.LiteralC<"vote">;
|
|
15283
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
15284
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
15285
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
15286
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
15287
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
15288
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
15289
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
15290
|
+
authorize: t.LiteralC<"authorize">;
|
|
15291
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
15292
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
15293
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
15294
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
15295
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
15296
|
+
customTx: t.LiteralC<"customTx">;
|
|
15297
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
15298
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
15299
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
15300
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
15301
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
15302
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
15303
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
15304
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
15305
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
15306
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
15307
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
15308
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
15309
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
15310
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
15311
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
15312
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
15313
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
15314
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
15315
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
15316
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
15317
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
15318
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
15319
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
15320
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
15321
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
15322
|
+
}>;
|
|
15323
|
+
}>, t.PartialC<{
|
|
15324
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15325
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15326
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
15327
|
+
}>]>, t.TypeC<{
|
|
15328
|
+
recipients: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15329
|
+
address: t.PartialC<{
|
|
15330
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15331
|
+
option: t.UnionC<[t.Type<{
|
|
15332
|
+
[x: string]: unknown;
|
|
15333
|
+
}, {
|
|
15334
|
+
[x: string]: unknown;
|
|
15335
|
+
}, unknown>, t.UndefinedC]>;
|
|
15336
|
+
}>;
|
|
15337
|
+
amount: t.TypeC<{
|
|
15338
|
+
value: t.StringC;
|
|
15339
|
+
symbol: t.StringC;
|
|
15340
|
+
}>;
|
|
15341
|
+
}>, t.PartialC<{
|
|
15342
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15343
|
+
}>]>, t.PartialC<{
|
|
15344
|
+
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15345
|
+
tokenQuantity: t.StringC;
|
|
15346
|
+
tokenType: t.StringC;
|
|
15347
|
+
}>, t.PartialC<{
|
|
15348
|
+
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15349
|
+
}>]>, t.TypeC<{
|
|
15350
|
+
tokenName: t.StringC;
|
|
15351
|
+
}>, t.PartialC<{
|
|
15352
|
+
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15353
|
+
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
15354
|
+
}>]>;
|
|
15355
|
+
}>]>>;
|
|
15356
|
+
}>, t.TypeC<{
|
|
15357
|
+
intentType: t.LiteralC<"transferToken">;
|
|
15358
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
15359
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
15360
|
+
}>, t.PartialC<{
|
|
15361
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
15362
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
15363
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
15364
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
15365
|
+
gasLimit?: number | undefined;
|
|
15366
|
+
gasPrice?: number | undefined;
|
|
15367
|
+
} | {
|
|
15368
|
+
gasLimit?: number | undefined;
|
|
15369
|
+
maxFeePerGas?: number | undefined;
|
|
15370
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
15371
|
+
}, {
|
|
15372
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
15373
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
15374
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
15375
|
+
gasLimit?: number | undefined;
|
|
15376
|
+
gasPrice?: number | undefined;
|
|
15377
|
+
} | {
|
|
15378
|
+
gasLimit?: number | undefined;
|
|
15379
|
+
maxFeePerGas?: number | undefined;
|
|
15380
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
15381
|
+
}, unknown>, t.UndefinedC]>;
|
|
15382
|
+
hopParams: t.UnionC<[t.Type<{
|
|
15383
|
+
paymentId: string | undefined;
|
|
15384
|
+
userReqSig: string | undefined;
|
|
15385
|
+
gasPriceMax: number | undefined;
|
|
15386
|
+
}, {
|
|
15387
|
+
paymentId: string | undefined;
|
|
15388
|
+
userReqSig: string | undefined;
|
|
15389
|
+
gasPriceMax: number | undefined;
|
|
15390
|
+
}, unknown>, t.UndefinedC]>;
|
|
15391
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15392
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
15393
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15394
|
+
intentType: t.KeyofC<{
|
|
15395
|
+
payment: t.LiteralC<"payment">;
|
|
15396
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
15397
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
15398
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
15399
|
+
fanout: t.LiteralC<"fanout">;
|
|
15400
|
+
stake: t.LiteralC<"stake">;
|
|
15401
|
+
unstake: t.LiteralC<"unstake">;
|
|
15402
|
+
delegate: t.LiteralC<"delegate">;
|
|
15403
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
15404
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
15405
|
+
claim: t.LiteralC<"claim">;
|
|
15406
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
15407
|
+
pledge: t.LiteralC<"pledge">;
|
|
15408
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
15409
|
+
vote: t.LiteralC<"vote">;
|
|
15410
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
15411
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
15412
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
15413
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
15414
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
15415
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
15416
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
15417
|
+
authorize: t.LiteralC<"authorize">;
|
|
15418
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
15419
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
15420
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
15421
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
15422
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
15423
|
+
customTx: t.LiteralC<"customTx">;
|
|
15424
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
15425
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
15426
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
15427
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
15428
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
15429
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
15430
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
15431
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
15432
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
15433
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
15434
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
15435
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
15436
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
15437
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
15438
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
15439
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
15440
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
15441
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
15442
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
15443
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
15444
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
15445
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
15446
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
15447
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
15448
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
15449
|
+
}>;
|
|
15450
|
+
}>, t.PartialC<{
|
|
15451
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15452
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15453
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
15454
|
+
}>]>, t.TypeC<{
|
|
15455
|
+
stakingRequestId: t.StringC;
|
|
15456
|
+
}>, t.PartialC<{
|
|
15457
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
15458
|
+
}>]>, t.TypeC<{
|
|
15459
|
+
amount: t.TypeC<{
|
|
15460
|
+
value: t.StringC;
|
|
15461
|
+
symbol: t.StringC;
|
|
15462
|
+
}>;
|
|
15463
|
+
}>, t.TypeC<{
|
|
15464
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
14721
15465
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
14722
15466
|
intentType: t.KeyofC<{
|
|
14723
15467
|
payment: t.LiteralC<"payment">;
|
|
@@ -14780,72 +15524,12 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
14780
15524
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14781
15525
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
14782
15526
|
}>]>, t.TypeC<{
|
|
14783
|
-
|
|
14784
|
-
address: t.PartialC<{
|
|
14785
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14786
|
-
option: t.UnionC<[t.Type<{
|
|
14787
|
-
[x: string]: unknown;
|
|
14788
|
-
}, {
|
|
14789
|
-
[x: string]: unknown;
|
|
14790
|
-
}, unknown>, t.UndefinedC]>;
|
|
14791
|
-
}>;
|
|
14792
|
-
amount: t.TypeC<{
|
|
14793
|
-
value: t.StringC;
|
|
14794
|
-
symbol: t.StringC;
|
|
14795
|
-
}>;
|
|
14796
|
-
}>, t.PartialC<{
|
|
14797
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14798
|
-
}>]>, t.PartialC<{
|
|
14799
|
-
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
14800
|
-
tokenQuantity: t.StringC;
|
|
14801
|
-
tokenType: t.StringC;
|
|
14802
|
-
}>, t.PartialC<{
|
|
14803
|
-
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14804
|
-
}>]>, t.TypeC<{
|
|
14805
|
-
tokenName: t.StringC;
|
|
14806
|
-
}>, t.PartialC<{
|
|
14807
|
-
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14808
|
-
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
14809
|
-
}>]>;
|
|
14810
|
-
}>]>>;
|
|
14811
|
-
}>, t.TypeC<{
|
|
14812
|
-
intentType: t.LiteralC<"transferToken">;
|
|
14813
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
14814
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
15527
|
+
stakingRequestId: t.StringC;
|
|
14815
15528
|
}>, t.PartialC<{
|
|
14816
|
-
|
|
14817
|
-
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
gasLimit?: number | undefined;
|
|
14821
|
-
gasPrice?: number | undefined;
|
|
14822
|
-
} | {
|
|
14823
|
-
gasLimit?: number | undefined;
|
|
14824
|
-
maxFeePerGas?: number | undefined;
|
|
14825
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
14826
|
-
}, {
|
|
14827
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
14828
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
14829
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
14830
|
-
gasLimit?: number | undefined;
|
|
14831
|
-
gasPrice?: number | undefined;
|
|
14832
|
-
} | {
|
|
14833
|
-
gasLimit?: number | undefined;
|
|
14834
|
-
maxFeePerGas?: number | undefined;
|
|
14835
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
14836
|
-
}, unknown>, t.UndefinedC]>;
|
|
14837
|
-
hopParams: t.UnionC<[t.Type<{
|
|
14838
|
-
paymentId: string | undefined;
|
|
14839
|
-
userReqSig: string | undefined;
|
|
14840
|
-
gasPriceMax: number | undefined;
|
|
14841
|
-
}, {
|
|
14842
|
-
paymentId: string | undefined;
|
|
14843
|
-
userReqSig: string | undefined;
|
|
14844
|
-
gasPriceMax: number | undefined;
|
|
14845
|
-
}, unknown>, t.UndefinedC]>;
|
|
14846
|
-
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
14847
|
-
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
14848
|
-
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15529
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
15530
|
+
}>]>, t.TypeC<{
|
|
15531
|
+
intentType: t.LiteralC<"undelegate">;
|
|
15532
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
14849
15533
|
intentType: t.KeyofC<{
|
|
14850
15534
|
payment: t.LiteralC<"payment">;
|
|
14851
15535
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -21186,6 +21870,144 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
21186
21870
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
21187
21871
|
}>]>, t.TypeC<{
|
|
21188
21872
|
calldata: t.StringC;
|
|
21873
|
+
}>]>, t.TypeC<{
|
|
21874
|
+
intentType: t.LiteralC<"stakeWithCallData">;
|
|
21875
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
21876
|
+
intentType: t.KeyofC<{
|
|
21877
|
+
payment: t.LiteralC<"payment">;
|
|
21878
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
21879
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
21880
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
21881
|
+
fanout: t.LiteralC<"fanout">;
|
|
21882
|
+
stake: t.LiteralC<"stake">;
|
|
21883
|
+
unstake: t.LiteralC<"unstake">;
|
|
21884
|
+
delegate: t.LiteralC<"delegate">;
|
|
21885
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
21886
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
21887
|
+
claim: t.LiteralC<"claim">;
|
|
21888
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
21889
|
+
pledge: t.LiteralC<"pledge">;
|
|
21890
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
21891
|
+
vote: t.LiteralC<"vote">;
|
|
21892
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
21893
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
21894
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
21895
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
21896
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
21897
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
21898
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
21899
|
+
authorize: t.LiteralC<"authorize">;
|
|
21900
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
21901
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
21902
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
21903
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
21904
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
21905
|
+
customTx: t.LiteralC<"customTx">;
|
|
21906
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
21907
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
21908
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
21909
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
21910
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
21911
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
21912
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
21913
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
21914
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
21915
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
21916
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
21917
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
21918
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
21919
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
21920
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
21921
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
21922
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
21923
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
21924
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
21925
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
21926
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
21927
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
21928
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
21929
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
21930
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
21931
|
+
}>;
|
|
21932
|
+
}>, t.PartialC<{
|
|
21933
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
21934
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
21935
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
21936
|
+
}>]>, t.TypeC<{
|
|
21937
|
+
stakingRequestId: t.StringC;
|
|
21938
|
+
}>, t.PartialC<{
|
|
21939
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
21940
|
+
}>]>, t.TypeC<{
|
|
21941
|
+
calldata: t.StringC;
|
|
21942
|
+
}>]>, t.TypeC<{
|
|
21943
|
+
intentType: t.LiteralC<"switchValidatorWithCallData">;
|
|
21944
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
21945
|
+
intentType: t.KeyofC<{
|
|
21946
|
+
payment: t.LiteralC<"payment">;
|
|
21947
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
21948
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
21949
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
21950
|
+
fanout: t.LiteralC<"fanout">;
|
|
21951
|
+
stake: t.LiteralC<"stake">;
|
|
21952
|
+
unstake: t.LiteralC<"unstake">;
|
|
21953
|
+
delegate: t.LiteralC<"delegate">;
|
|
21954
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
21955
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
21956
|
+
claim: t.LiteralC<"claim">;
|
|
21957
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
21958
|
+
pledge: t.LiteralC<"pledge">;
|
|
21959
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
21960
|
+
vote: t.LiteralC<"vote">;
|
|
21961
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
21962
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
21963
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
21964
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
21965
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
21966
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
21967
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
21968
|
+
authorize: t.LiteralC<"authorize">;
|
|
21969
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
21970
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
21971
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
21972
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
21973
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
21974
|
+
customTx: t.LiteralC<"customTx">;
|
|
21975
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
21976
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
21977
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
21978
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
21979
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
21980
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
21981
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
21982
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
21983
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
21984
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
21985
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
21986
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
21987
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
21988
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
21989
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
21990
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
21991
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
21992
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
21993
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
21994
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
21995
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
21996
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
21997
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
21998
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
21999
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
22000
|
+
}>;
|
|
22001
|
+
}>, t.PartialC<{
|
|
22002
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
22003
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
22004
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
22005
|
+
}>]>, t.TypeC<{
|
|
22006
|
+
stakingRequestId: t.StringC;
|
|
22007
|
+
}>, t.PartialC<{
|
|
22008
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
22009
|
+
}>]>, t.TypeC<{
|
|
22010
|
+
calldata: t.StringC;
|
|
21189
22011
|
}>]>, t.TypeC<{
|
|
21190
22012
|
amount: t.TypeC<{
|
|
21191
22013
|
value: t.StringC;
|