@bitgo/public-types 6.5.2 → 6.7.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/atomPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.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/cosmosContractCallIntent.d.ts +70 -0
- package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +71 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.js.map +1 -1
- 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 +5 -0
- package/dist/src/schema/transactionRequest/intents/index.js +5 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +717 -265
- package/dist/src/schema/transactionRequest/intents/intent.js +18 -4
- 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/stakeSwitchValidatorIntent.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 +1434 -530
- 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/atomPaymentIntent.ts +5 -0
- package/src/schema/transactionRequest/intents/atomStakeIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/atomUnstakeIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/atomWithdrawIntent.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/cosmosContractCallIntent.ts +30 -0
- package/src/schema/transactionRequest/intents/cosmosPaymentIntent.ts +5 -0
- package/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.ts +23 -0
- package/src/schema/transactionRequest/intents/cosmosStakeIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/cosmosUnstakeIntent.ts +7 -0
- package/src/schema/transactionRequest/intents/cosmosWithdrawIntent.ts +6 -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 +5 -0
- package/src/schema/transactionRequest/intents/intent.ts +18 -4
- 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/stakeSwitchValidatorIntent.ts +2 -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
|
@@ -811,88 +811,6 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
811
811
|
} & {
|
|
812
812
|
data?: string | undefined;
|
|
813
813
|
})[], unknown>, t.UndefinedC]>;
|
|
814
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
815
|
-
intentType: t.KeyofC<{
|
|
816
|
-
payment: t.LiteralC<"payment">;
|
|
817
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
818
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
819
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
820
|
-
fanout: t.LiteralC<"fanout">;
|
|
821
|
-
stake: t.LiteralC<"stake">;
|
|
822
|
-
unstake: t.LiteralC<"unstake">;
|
|
823
|
-
delegate: t.LiteralC<"delegate">;
|
|
824
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
825
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
826
|
-
claim: t.LiteralC<"claim">;
|
|
827
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
828
|
-
pledge: t.LiteralC<"pledge">;
|
|
829
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
830
|
-
vote: t.LiteralC<"vote">;
|
|
831
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
832
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
833
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
834
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
835
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
836
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
837
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
838
|
-
authorize: t.LiteralC<"authorize">;
|
|
839
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
840
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
841
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
842
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
843
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
844
|
-
customTx: t.LiteralC<"customTx">;
|
|
845
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
846
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
847
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
848
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
849
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
850
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
851
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
852
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
853
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
854
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
855
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
856
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
857
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
858
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
859
|
-
enableBridging: t.LiteralC<"enableBridging">;
|
|
860
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
861
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
862
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
863
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
864
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
865
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
866
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
867
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
868
|
-
delegateResource: t.LiteralC<"delegateResource">;
|
|
869
|
-
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
870
|
-
}>;
|
|
871
|
-
}>, t.PartialC<{
|
|
872
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
873
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
874
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
875
|
-
}>]>, t.TypeC<{
|
|
876
|
-
stakingRequestId: t.StringC;
|
|
877
|
-
}>, t.PartialC<{
|
|
878
|
-
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
879
|
-
}>]>, t.TypeC<{
|
|
880
|
-
intentType: t.LiteralC<"claim">;
|
|
881
|
-
}>, t.PartialC<{
|
|
882
|
-
amount: t.UnionC<[t.Type<{
|
|
883
|
-
value: string;
|
|
884
|
-
symbol: string;
|
|
885
|
-
}, {
|
|
886
|
-
value: string;
|
|
887
|
-
symbol: string;
|
|
888
|
-
}, unknown>, t.UndefinedC]>;
|
|
889
|
-
}>]>, t.TypeC<{
|
|
890
|
-
amount: t.TypeC<{
|
|
891
|
-
value: t.StringC;
|
|
892
|
-
symbol: t.StringC;
|
|
893
|
-
}>;
|
|
894
|
-
}>, t.TypeC<{
|
|
895
|
-
validatorAddress: t.StringC;
|
|
896
814
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
897
815
|
intentType: t.KeyofC<{
|
|
898
816
|
payment: t.LiteralC<"payment">;
|
|
@@ -1679,30 +1597,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1679
1597
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1680
1598
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1681
1599
|
}>]>, t.TypeC<{
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
[x: string]: unknown;
|
|
1689
|
-
}, unknown>, t.UndefinedC]>;
|
|
1690
|
-
}>;
|
|
1691
|
-
amount: t.TypeC<{
|
|
1692
|
-
value: t.StringC;
|
|
1693
|
-
symbol: t.StringC;
|
|
1694
|
-
}>;
|
|
1695
|
-
}>, t.PartialC<{
|
|
1696
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1697
|
-
}>]>>;
|
|
1698
|
-
}>, t.UnionC<[t.TypeC<{
|
|
1699
|
-
intentType: t.LiteralC<"payment">;
|
|
1700
|
-
}>, t.TypeC<{
|
|
1701
|
-
intentType: t.LiteralC<"payment">;
|
|
1702
|
-
isTestTransaction: t.BooleanC;
|
|
1703
|
-
}>]>]>, t.TypeC<{
|
|
1704
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1705
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1600
|
+
stakingRequestId: t.StringC;
|
|
1601
|
+
}>, t.PartialC<{
|
|
1602
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
1603
|
+
}>]>, t.TypeC<{
|
|
1604
|
+
intentType: t.LiteralC<"claim">;
|
|
1605
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1706
1606
|
intentType: t.KeyofC<{
|
|
1707
1607
|
payment: t.LiteralC<"payment">;
|
|
1708
1608
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -1764,45 +1664,96 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1764
1664
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1765
1665
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1766
1666
|
}>]>, t.TypeC<{
|
|
1767
|
-
|
|
1667
|
+
intentType: t.LiteralC<"contractCall">;
|
|
1668
|
+
contract: t.StringC;
|
|
1669
|
+
msgHex: t.StringC;
|
|
1768
1670
|
}>, t.PartialC<{
|
|
1769
|
-
|
|
1770
|
-
}>]>, t.TypeC<{
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1671
|
+
feeGranter: t.StringC;
|
|
1672
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1673
|
+
intentType: t.KeyofC<{
|
|
1674
|
+
payment: t.LiteralC<"payment">;
|
|
1675
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
1676
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
1677
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
1678
|
+
fanout: t.LiteralC<"fanout">;
|
|
1679
|
+
stake: t.LiteralC<"stake">;
|
|
1680
|
+
unstake: t.LiteralC<"unstake">;
|
|
1681
|
+
delegate: t.LiteralC<"delegate">;
|
|
1682
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
1683
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
1684
|
+
claim: t.LiteralC<"claim">;
|
|
1685
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
1686
|
+
pledge: t.LiteralC<"pledge">;
|
|
1687
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
1688
|
+
vote: t.LiteralC<"vote">;
|
|
1689
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
1690
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
1691
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
1692
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
1693
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
1694
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
1695
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
1696
|
+
authorize: t.LiteralC<"authorize">;
|
|
1697
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
1698
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
1699
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
1700
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
1701
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
1702
|
+
customTx: t.LiteralC<"customTx">;
|
|
1703
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
1704
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
1705
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
1706
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
1707
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
1708
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
1709
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
1710
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
1711
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
1712
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
1713
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
1714
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
1715
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
1716
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
1717
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
1718
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
1719
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
1720
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
1721
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
1722
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
1723
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
1724
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
1725
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
1726
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
1727
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
1774
1728
|
}>;
|
|
1775
|
-
}>, t.TypeC<{
|
|
1776
|
-
intentType: t.LiteralC<"delegate">;
|
|
1777
|
-
validatorAddress: t.StringC;
|
|
1778
1729
|
}>, t.PartialC<{
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1730
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1731
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1732
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1733
|
+
}>]>, t.TypeC<{
|
|
1734
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
1735
|
+
address: t.PartialC<{
|
|
1736
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1737
|
+
option: t.UnionC<[t.Type<{
|
|
1783
1738
|
[x: string]: unknown;
|
|
1784
|
-
}
|
|
1785
|
-
};
|
|
1786
|
-
amount: {
|
|
1787
|
-
value: string;
|
|
1788
|
-
symbol: string;
|
|
1789
|
-
};
|
|
1790
|
-
} & {
|
|
1791
|
-
data?: string | undefined;
|
|
1792
|
-
})[], ({
|
|
1793
|
-
address: {
|
|
1794
|
-
address?: string | undefined;
|
|
1795
|
-
option?: {
|
|
1739
|
+
}, {
|
|
1796
1740
|
[x: string]: unknown;
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
amount: {
|
|
1800
|
-
value:
|
|
1801
|
-
symbol:
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
data
|
|
1805
|
-
}
|
|
1741
|
+
}, unknown>, t.UndefinedC]>;
|
|
1742
|
+
}>;
|
|
1743
|
+
amount: t.TypeC<{
|
|
1744
|
+
value: t.StringC;
|
|
1745
|
+
symbol: t.StringC;
|
|
1746
|
+
}>;
|
|
1747
|
+
}>, t.PartialC<{
|
|
1748
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1749
|
+
}>]>>;
|
|
1750
|
+
}>, t.UnionC<[t.TypeC<{
|
|
1751
|
+
intentType: t.LiteralC<"payment">;
|
|
1752
|
+
}>, t.TypeC<{
|
|
1753
|
+
intentType: t.LiteralC<"payment">;
|
|
1754
|
+
isTestTransaction: t.BooleanC;
|
|
1755
|
+
}>]>]>, t.TypeC<{
|
|
1756
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1806
1757
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1807
1758
|
intentType: t.KeyofC<{
|
|
1808
1759
|
payment: t.LiteralC<"payment">;
|
|
@@ -1869,14 +1820,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1869
1820
|
}>, t.PartialC<{
|
|
1870
1821
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
1871
1822
|
}>]>, t.TypeC<{
|
|
1872
|
-
|
|
1873
|
-
value: t.StringC;
|
|
1874
|
-
symbol: t.StringC;
|
|
1875
|
-
}>;
|
|
1876
|
-
}>, t.TypeC<{
|
|
1877
|
-
intentType: t.LiteralC<"switchValidator">;
|
|
1823
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
1878
1824
|
validatorAddress: t.StringC;
|
|
1879
|
-
destValidatorAddress: t.StringC;
|
|
1880
1825
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1881
1826
|
intentType: t.KeyofC<{
|
|
1882
1827
|
payment: t.LiteralC<"payment">;
|
|
@@ -1948,7 +1893,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1948
1893
|
symbol: t.StringC;
|
|
1949
1894
|
}>;
|
|
1950
1895
|
}>, t.TypeC<{
|
|
1951
|
-
intentType: t.LiteralC<"
|
|
1896
|
+
intentType: t.LiteralC<"delegate">;
|
|
1952
1897
|
validatorAddress: t.StringC;
|
|
1953
1898
|
}>, t.PartialC<{
|
|
1954
1899
|
recipients: t.UnionC<[t.Type<({
|
|
@@ -1978,7 +1923,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1978
1923
|
} & {
|
|
1979
1924
|
data?: string | undefined;
|
|
1980
1925
|
})[], unknown>, t.UndefinedC]>;
|
|
1981
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
1926
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1982
1927
|
intentType: t.KeyofC<{
|
|
1983
1928
|
payment: t.LiteralC<"payment">;
|
|
1984
1929
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -2044,17 +1989,115 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2044
1989
|
}>, t.PartialC<{
|
|
2045
1990
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
2046
1991
|
}>]>, t.TypeC<{
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
value: string;
|
|
2054
|
-
symbol: string;
|
|
2055
|
-
}, unknown>, t.UndefinedC]>;
|
|
2056
|
-
}>]>, t.TypeC<{
|
|
1992
|
+
amount: t.TypeC<{
|
|
1993
|
+
value: t.StringC;
|
|
1994
|
+
symbol: t.StringC;
|
|
1995
|
+
}>;
|
|
1996
|
+
}>, t.TypeC<{
|
|
1997
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
2057
1998
|
validatorAddress: t.StringC;
|
|
1999
|
+
destValidatorAddress: t.StringC;
|
|
2000
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2001
|
+
intentType: t.KeyofC<{
|
|
2002
|
+
payment: t.LiteralC<"payment">;
|
|
2003
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
2004
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
2005
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
2006
|
+
fanout: t.LiteralC<"fanout">;
|
|
2007
|
+
stake: t.LiteralC<"stake">;
|
|
2008
|
+
unstake: t.LiteralC<"unstake">;
|
|
2009
|
+
delegate: t.LiteralC<"delegate">;
|
|
2010
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
2011
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
2012
|
+
claim: t.LiteralC<"claim">;
|
|
2013
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
2014
|
+
pledge: t.LiteralC<"pledge">;
|
|
2015
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
2016
|
+
vote: t.LiteralC<"vote">;
|
|
2017
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
2018
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
2019
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
2020
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
2021
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
2022
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
2023
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
2024
|
+
authorize: t.LiteralC<"authorize">;
|
|
2025
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
2026
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
2027
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
2028
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
2029
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
2030
|
+
customTx: t.LiteralC<"customTx">;
|
|
2031
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
2032
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
2033
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
2034
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
2035
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
2036
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
2037
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
2038
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
2039
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
2040
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
2041
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
2042
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
2043
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
2044
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
2045
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
2046
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
2047
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
2048
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
2049
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
2050
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
2051
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
2052
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
2053
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
2054
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
2055
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
2056
|
+
}>;
|
|
2057
|
+
}>, t.PartialC<{
|
|
2058
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2059
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2060
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
2061
|
+
}>]>, t.TypeC<{
|
|
2062
|
+
stakingRequestId: t.StringC;
|
|
2063
|
+
}>, t.PartialC<{
|
|
2064
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
2065
|
+
}>]>, t.TypeC<{
|
|
2066
|
+
amount: t.TypeC<{
|
|
2067
|
+
value: t.StringC;
|
|
2068
|
+
symbol: t.StringC;
|
|
2069
|
+
}>;
|
|
2070
|
+
}>, t.TypeC<{
|
|
2071
|
+
intentType: t.LiteralC<"undelegate">;
|
|
2072
|
+
validatorAddress: t.StringC;
|
|
2073
|
+
}>, t.PartialC<{
|
|
2074
|
+
recipients: t.UnionC<[t.Type<({
|
|
2075
|
+
address: {
|
|
2076
|
+
address?: string | undefined;
|
|
2077
|
+
option?: {
|
|
2078
|
+
[x: string]: unknown;
|
|
2079
|
+
} | undefined;
|
|
2080
|
+
};
|
|
2081
|
+
amount: {
|
|
2082
|
+
value: string;
|
|
2083
|
+
symbol: string;
|
|
2084
|
+
};
|
|
2085
|
+
} & {
|
|
2086
|
+
data?: string | undefined;
|
|
2087
|
+
})[], ({
|
|
2088
|
+
address: {
|
|
2089
|
+
address?: string | undefined;
|
|
2090
|
+
option?: {
|
|
2091
|
+
[x: string]: unknown;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
};
|
|
2094
|
+
amount: {
|
|
2095
|
+
value: string;
|
|
2096
|
+
symbol: string;
|
|
2097
|
+
};
|
|
2098
|
+
} & {
|
|
2099
|
+
data?: string | undefined;
|
|
2100
|
+
})[], unknown>, t.UndefinedC]>;
|
|
2058
2101
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2059
2102
|
intentType: t.KeyofC<{
|
|
2060
2103
|
payment: t.LiteralC<"payment">;
|
|
@@ -2804,6 +2847,73 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2804
2847
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2805
2848
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2806
2849
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
2850
|
+
}>]>, t.TypeC<{
|
|
2851
|
+
stakingRequestId: t.StringC;
|
|
2852
|
+
}>, t.PartialC<{
|
|
2853
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
2854
|
+
}>]>, t.TypeC<{
|
|
2855
|
+
intentType: t.LiteralC<"delegate">;
|
|
2856
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2857
|
+
intentType: t.KeyofC<{
|
|
2858
|
+
payment: t.LiteralC<"payment">;
|
|
2859
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
2860
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
2861
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
2862
|
+
fanout: t.LiteralC<"fanout">;
|
|
2863
|
+
stake: t.LiteralC<"stake">;
|
|
2864
|
+
unstake: t.LiteralC<"unstake">;
|
|
2865
|
+
delegate: t.LiteralC<"delegate">;
|
|
2866
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
2867
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
2868
|
+
claim: t.LiteralC<"claim">;
|
|
2869
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
2870
|
+
pledge: t.LiteralC<"pledge">;
|
|
2871
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
2872
|
+
vote: t.LiteralC<"vote">;
|
|
2873
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
2874
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
2875
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
2876
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
2877
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
2878
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
2879
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
2880
|
+
authorize: t.LiteralC<"authorize">;
|
|
2881
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
2882
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
2883
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
2884
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
2885
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
2886
|
+
customTx: t.LiteralC<"customTx">;
|
|
2887
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
2888
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
2889
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
2890
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
2891
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
2892
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
2893
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
2894
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
2895
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
2896
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
2897
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
2898
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
2899
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
2900
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
2901
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
2902
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
2903
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
2904
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
2905
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
2906
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
2907
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
2908
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
2909
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
2910
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
2911
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
2912
|
+
}>;
|
|
2913
|
+
}>, t.PartialC<{
|
|
2914
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2915
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
2916
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
2807
2917
|
}>]>, t.TypeC<{
|
|
2808
2918
|
intentType: t.LiteralC<"acceleration">;
|
|
2809
2919
|
txid: t.StringC;
|
|
@@ -3147,6 +3257,71 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
3147
3257
|
}, unknown>, t.UndefinedC]>;
|
|
3148
3258
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3149
3259
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3260
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3261
|
+
intentType: t.KeyofC<{
|
|
3262
|
+
payment: t.LiteralC<"payment">;
|
|
3263
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
3264
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
3265
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
3266
|
+
fanout: t.LiteralC<"fanout">;
|
|
3267
|
+
stake: t.LiteralC<"stake">;
|
|
3268
|
+
unstake: t.LiteralC<"unstake">;
|
|
3269
|
+
delegate: t.LiteralC<"delegate">;
|
|
3270
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
3271
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
3272
|
+
claim: t.LiteralC<"claim">;
|
|
3273
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
3274
|
+
pledge: t.LiteralC<"pledge">;
|
|
3275
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
3276
|
+
vote: t.LiteralC<"vote">;
|
|
3277
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
3278
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
3279
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
3280
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
3281
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
3282
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
3283
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
3284
|
+
authorize: t.LiteralC<"authorize">;
|
|
3285
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
3286
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
3287
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
3288
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
3289
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
3290
|
+
customTx: t.LiteralC<"customTx">;
|
|
3291
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
3292
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
3293
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
3294
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
3295
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
3296
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
3297
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
3298
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
3299
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
3300
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
3301
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
3302
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
3303
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
3304
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
3305
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
3306
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
3307
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
3308
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
3309
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
3310
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
3311
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
3312
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
3313
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
3314
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
3315
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
3316
|
+
}>;
|
|
3317
|
+
}>, t.PartialC<{
|
|
3318
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3319
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3320
|
+
}>]>, t.TypeC<{
|
|
3321
|
+
intentType: t.LiteralC<"fillNonce">;
|
|
3322
|
+
nonce: t.UnionC<[t.StringC, t.NumberC]>;
|
|
3323
|
+
}>, t.PartialC<{
|
|
3324
|
+
senderAddress: t.StringC;
|
|
3150
3325
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3151
3326
|
intentType: t.KeyofC<{
|
|
3152
3327
|
payment: t.LiteralC<"payment">;
|
|
@@ -3333,47 +3508,246 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
3333
3508
|
}>, t.PartialC<{
|
|
3334
3509
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
3335
3510
|
}>]>, t.TypeC<{
|
|
3336
|
-
intentType: t.LiteralC<"stake">;
|
|
3337
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
3338
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3339
|
-
}>, t.PartialC<{
|
|
3340
|
-
feeOptions: t.UnionC<[t.Type<{
|
|
3341
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3342
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3343
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
3344
|
-
gasLimit?: number | undefined;
|
|
3345
|
-
gasPrice?: number | undefined;
|
|
3346
|
-
} | {
|
|
3347
|
-
gasLimit?: number | undefined;
|
|
3348
|
-
maxFeePerGas?: number | undefined;
|
|
3349
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
3350
|
-
}, {
|
|
3351
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3352
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3353
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
3354
|
-
gasLimit?: number | undefined;
|
|
3355
|
-
gasPrice?: number | undefined;
|
|
3356
|
-
} | {
|
|
3357
|
-
gasLimit?: number | undefined;
|
|
3358
|
-
maxFeePerGas?: number | undefined;
|
|
3359
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
3360
|
-
}, unknown>, t.UndefinedC]>;
|
|
3361
|
-
hopParams: t.UnionC<[t.Type<{
|
|
3362
|
-
paymentId: string | undefined;
|
|
3363
|
-
userReqSig: string | undefined;
|
|
3364
|
-
gasPriceMax: number | undefined;
|
|
3365
|
-
}, {
|
|
3366
|
-
paymentId: string | undefined;
|
|
3367
|
-
userReqSig: string | undefined;
|
|
3368
|
-
gasPriceMax: number | undefined;
|
|
3369
|
-
}, unknown>, t.UndefinedC]>;
|
|
3370
|
-
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3371
|
-
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3372
|
-
}>]>, t.TypeC<{
|
|
3373
|
-
pubkey: t.StringC;
|
|
3374
|
-
withdrawalCredentials: t.StringC;
|
|
3375
|
-
signature: t.StringC;
|
|
3376
|
-
depositDataRoot: t.StringC;
|
|
3511
|
+
intentType: t.LiteralC<"stake">;
|
|
3512
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
3513
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3514
|
+
}>, t.PartialC<{
|
|
3515
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
3516
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3517
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3518
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
3519
|
+
gasLimit?: number | undefined;
|
|
3520
|
+
gasPrice?: number | undefined;
|
|
3521
|
+
} | {
|
|
3522
|
+
gasLimit?: number | undefined;
|
|
3523
|
+
maxFeePerGas?: number | undefined;
|
|
3524
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
3525
|
+
}, {
|
|
3526
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3527
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3528
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
3529
|
+
gasLimit?: number | undefined;
|
|
3530
|
+
gasPrice?: number | undefined;
|
|
3531
|
+
} | {
|
|
3532
|
+
gasLimit?: number | undefined;
|
|
3533
|
+
maxFeePerGas?: number | undefined;
|
|
3534
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
3535
|
+
}, unknown>, t.UndefinedC]>;
|
|
3536
|
+
hopParams: t.UnionC<[t.Type<{
|
|
3537
|
+
paymentId: string | undefined;
|
|
3538
|
+
userReqSig: string | undefined;
|
|
3539
|
+
gasPriceMax: number | undefined;
|
|
3540
|
+
}, {
|
|
3541
|
+
paymentId: string | undefined;
|
|
3542
|
+
userReqSig: string | undefined;
|
|
3543
|
+
gasPriceMax: number | undefined;
|
|
3544
|
+
}, unknown>, t.UndefinedC]>;
|
|
3545
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3546
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3547
|
+
}>]>, t.TypeC<{
|
|
3548
|
+
pubkey: t.StringC;
|
|
3549
|
+
withdrawalCredentials: t.StringC;
|
|
3550
|
+
signature: t.StringC;
|
|
3551
|
+
depositDataRoot: t.StringC;
|
|
3552
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3553
|
+
intentType: t.KeyofC<{
|
|
3554
|
+
payment: t.LiteralC<"payment">;
|
|
3555
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
3556
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
3557
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
3558
|
+
fanout: t.LiteralC<"fanout">;
|
|
3559
|
+
stake: t.LiteralC<"stake">;
|
|
3560
|
+
unstake: t.LiteralC<"unstake">;
|
|
3561
|
+
delegate: t.LiteralC<"delegate">;
|
|
3562
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
3563
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
3564
|
+
claim: t.LiteralC<"claim">;
|
|
3565
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
3566
|
+
pledge: t.LiteralC<"pledge">;
|
|
3567
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
3568
|
+
vote: t.LiteralC<"vote">;
|
|
3569
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
3570
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
3571
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
3572
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
3573
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
3574
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
3575
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
3576
|
+
authorize: t.LiteralC<"authorize">;
|
|
3577
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
3578
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
3579
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
3580
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
3581
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
3582
|
+
customTx: t.LiteralC<"customTx">;
|
|
3583
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
3584
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
3585
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
3586
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
3587
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
3588
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
3589
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
3590
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
3591
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
3592
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
3593
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
3594
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
3595
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
3596
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
3597
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
3598
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
3599
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
3600
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
3601
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
3602
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
3603
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
3604
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
3605
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
3606
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
3607
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
3608
|
+
}>;
|
|
3609
|
+
}>, t.PartialC<{
|
|
3610
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3611
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3612
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3613
|
+
}>]>, t.TypeC<{
|
|
3614
|
+
recipients: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3615
|
+
address: t.PartialC<{
|
|
3616
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3617
|
+
option: t.UnionC<[t.Type<{
|
|
3618
|
+
[x: string]: unknown;
|
|
3619
|
+
}, {
|
|
3620
|
+
[x: string]: unknown;
|
|
3621
|
+
}, unknown>, t.UndefinedC]>;
|
|
3622
|
+
}>;
|
|
3623
|
+
amount: t.TypeC<{
|
|
3624
|
+
value: t.StringC;
|
|
3625
|
+
symbol: t.StringC;
|
|
3626
|
+
}>;
|
|
3627
|
+
}>, t.PartialC<{
|
|
3628
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3629
|
+
}>]>, t.PartialC<{
|
|
3630
|
+
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3631
|
+
tokenQuantity: t.StringC;
|
|
3632
|
+
tokenType: t.StringC;
|
|
3633
|
+
}>, t.PartialC<{
|
|
3634
|
+
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3635
|
+
}>]>, t.TypeC<{
|
|
3636
|
+
tokenName: t.StringC;
|
|
3637
|
+
}>, t.PartialC<{
|
|
3638
|
+
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3639
|
+
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3640
|
+
}>]>;
|
|
3641
|
+
}>]>>;
|
|
3642
|
+
}>, t.TypeC<{
|
|
3643
|
+
intentType: t.LiteralC<"transferToken">;
|
|
3644
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
3645
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3646
|
+
}>, t.PartialC<{
|
|
3647
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
3648
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3649
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3650
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
3651
|
+
gasLimit?: number | undefined;
|
|
3652
|
+
gasPrice?: number | undefined;
|
|
3653
|
+
} | {
|
|
3654
|
+
gasLimit?: number | undefined;
|
|
3655
|
+
maxFeePerGas?: number | undefined;
|
|
3656
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
3657
|
+
}, {
|
|
3658
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3659
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3660
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
3661
|
+
gasLimit?: number | undefined;
|
|
3662
|
+
gasPrice?: number | undefined;
|
|
3663
|
+
} | {
|
|
3664
|
+
gasLimit?: number | undefined;
|
|
3665
|
+
maxFeePerGas?: number | undefined;
|
|
3666
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
3667
|
+
}, unknown>, t.UndefinedC]>;
|
|
3668
|
+
hopParams: t.UnionC<[t.Type<{
|
|
3669
|
+
paymentId: string | undefined;
|
|
3670
|
+
userReqSig: string | undefined;
|
|
3671
|
+
gasPriceMax: number | undefined;
|
|
3672
|
+
}, {
|
|
3673
|
+
paymentId: string | undefined;
|
|
3674
|
+
userReqSig: string | undefined;
|
|
3675
|
+
gasPriceMax: number | undefined;
|
|
3676
|
+
}, unknown>, t.UndefinedC]>;
|
|
3677
|
+
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3678
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3679
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3680
|
+
intentType: t.KeyofC<{
|
|
3681
|
+
payment: t.LiteralC<"payment">;
|
|
3682
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
3683
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
3684
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
3685
|
+
fanout: t.LiteralC<"fanout">;
|
|
3686
|
+
stake: t.LiteralC<"stake">;
|
|
3687
|
+
unstake: t.LiteralC<"unstake">;
|
|
3688
|
+
delegate: t.LiteralC<"delegate">;
|
|
3689
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
3690
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
3691
|
+
claim: t.LiteralC<"claim">;
|
|
3692
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
3693
|
+
pledge: t.LiteralC<"pledge">;
|
|
3694
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
3695
|
+
vote: t.LiteralC<"vote">;
|
|
3696
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
3697
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
3698
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
3699
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
3700
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
3701
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
3702
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
3703
|
+
authorize: t.LiteralC<"authorize">;
|
|
3704
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
3705
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
3706
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
3707
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
3708
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
3709
|
+
customTx: t.LiteralC<"customTx">;
|
|
3710
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
3711
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
3712
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
3713
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
3714
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
3715
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
3716
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
3717
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
3718
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
3719
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
3720
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
3721
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
3722
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
3723
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
3724
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
3725
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
3726
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
3727
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
3728
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
3729
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
3730
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
3731
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
3732
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
3733
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
3734
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
3735
|
+
}>;
|
|
3736
|
+
}>, t.PartialC<{
|
|
3737
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3738
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3739
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3740
|
+
}>]>, t.TypeC<{
|
|
3741
|
+
stakingRequestId: t.StringC;
|
|
3742
|
+
}>, t.PartialC<{
|
|
3743
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
3744
|
+
}>]>, t.TypeC<{
|
|
3745
|
+
amount: t.TypeC<{
|
|
3746
|
+
value: t.StringC;
|
|
3747
|
+
symbol: t.StringC;
|
|
3748
|
+
}>;
|
|
3749
|
+
}>, t.TypeC<{
|
|
3750
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
3377
3751
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3378
3752
|
intentType: t.KeyofC<{
|
|
3379
3753
|
payment: t.LiteralC<"payment">;
|
|
@@ -3436,72 +3810,12 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
3436
3810
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3437
3811
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3438
3812
|
}>]>, t.TypeC<{
|
|
3439
|
-
|
|
3440
|
-
address: t.PartialC<{
|
|
3441
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3442
|
-
option: t.UnionC<[t.Type<{
|
|
3443
|
-
[x: string]: unknown;
|
|
3444
|
-
}, {
|
|
3445
|
-
[x: string]: unknown;
|
|
3446
|
-
}, unknown>, t.UndefinedC]>;
|
|
3447
|
-
}>;
|
|
3448
|
-
amount: t.TypeC<{
|
|
3449
|
-
value: t.StringC;
|
|
3450
|
-
symbol: t.StringC;
|
|
3451
|
-
}>;
|
|
3452
|
-
}>, t.PartialC<{
|
|
3453
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3454
|
-
}>]>, t.PartialC<{
|
|
3455
|
-
tokenData: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3456
|
-
tokenQuantity: t.StringC;
|
|
3457
|
-
tokenType: t.StringC;
|
|
3458
|
-
}>, t.PartialC<{
|
|
3459
|
-
tokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3460
|
-
}>]>, t.TypeC<{
|
|
3461
|
-
tokenName: t.StringC;
|
|
3462
|
-
}>, t.PartialC<{
|
|
3463
|
-
tokenContractAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3464
|
-
decimals: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3465
|
-
}>]>;
|
|
3466
|
-
}>]>>;
|
|
3467
|
-
}>, t.TypeC<{
|
|
3468
|
-
intentType: t.LiteralC<"transferToken">;
|
|
3469
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
3470
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
3813
|
+
stakingRequestId: t.StringC;
|
|
3471
3814
|
}>, t.PartialC<{
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
gasLimit?: number | undefined;
|
|
3477
|
-
gasPrice?: number | undefined;
|
|
3478
|
-
} | {
|
|
3479
|
-
gasLimit?: number | undefined;
|
|
3480
|
-
maxFeePerGas?: number | undefined;
|
|
3481
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
3482
|
-
}, {
|
|
3483
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
3484
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
3485
|
-
feeType?: "max" | "base" | "tip" | undefined;
|
|
3486
|
-
gasLimit?: number | undefined;
|
|
3487
|
-
gasPrice?: number | undefined;
|
|
3488
|
-
} | {
|
|
3489
|
-
gasLimit?: number | undefined;
|
|
3490
|
-
maxFeePerGas?: number | undefined;
|
|
3491
|
-
maxPriorityFeePerGas?: number | undefined;
|
|
3492
|
-
}, unknown>, t.UndefinedC]>;
|
|
3493
|
-
hopParams: t.UnionC<[t.Type<{
|
|
3494
|
-
paymentId: string | undefined;
|
|
3495
|
-
userReqSig: string | undefined;
|
|
3496
|
-
gasPriceMax: number | undefined;
|
|
3497
|
-
}, {
|
|
3498
|
-
paymentId: string | undefined;
|
|
3499
|
-
userReqSig: string | undefined;
|
|
3500
|
-
gasPriceMax: number | undefined;
|
|
3501
|
-
}, unknown>, t.UndefinedC]>;
|
|
3502
|
-
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3503
|
-
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3504
|
-
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3815
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
3816
|
+
}>]>, t.TypeC<{
|
|
3817
|
+
intentType: t.LiteralC<"undelegate">;
|
|
3818
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3505
3819
|
intentType: t.KeyofC<{
|
|
3506
3820
|
payment: t.LiteralC<"payment">;
|
|
3507
3821
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -9842,6 +10156,144 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
9842
10156
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
9843
10157
|
}>]>, t.TypeC<{
|
|
9844
10158
|
calldata: t.StringC;
|
|
10159
|
+
}>]>, t.TypeC<{
|
|
10160
|
+
intentType: t.LiteralC<"stakeWithCallData">;
|
|
10161
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10162
|
+
intentType: t.KeyofC<{
|
|
10163
|
+
payment: t.LiteralC<"payment">;
|
|
10164
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
10165
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
10166
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
10167
|
+
fanout: t.LiteralC<"fanout">;
|
|
10168
|
+
stake: t.LiteralC<"stake">;
|
|
10169
|
+
unstake: t.LiteralC<"unstake">;
|
|
10170
|
+
delegate: t.LiteralC<"delegate">;
|
|
10171
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
10172
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
10173
|
+
claim: t.LiteralC<"claim">;
|
|
10174
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
10175
|
+
pledge: t.LiteralC<"pledge">;
|
|
10176
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
10177
|
+
vote: t.LiteralC<"vote">;
|
|
10178
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
10179
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
10180
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
10181
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
10182
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
10183
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
10184
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
10185
|
+
authorize: t.LiteralC<"authorize">;
|
|
10186
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
10187
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
10188
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
10189
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
10190
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
10191
|
+
customTx: t.LiteralC<"customTx">;
|
|
10192
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
10193
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
10194
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
10195
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
10196
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
10197
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
10198
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
10199
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
10200
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
10201
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
10202
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
10203
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
10204
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
10205
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
10206
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
10207
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
10208
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
10209
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
10210
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
10211
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
10212
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
10213
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
10214
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
10215
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
10216
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
10217
|
+
}>;
|
|
10218
|
+
}>, t.PartialC<{
|
|
10219
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10220
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10221
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
10222
|
+
}>]>, t.TypeC<{
|
|
10223
|
+
stakingRequestId: t.StringC;
|
|
10224
|
+
}>, t.PartialC<{
|
|
10225
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
10226
|
+
}>]>, t.TypeC<{
|
|
10227
|
+
calldata: t.StringC;
|
|
10228
|
+
}>]>, t.TypeC<{
|
|
10229
|
+
intentType: t.LiteralC<"switchValidatorWithCallData">;
|
|
10230
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
10231
|
+
intentType: t.KeyofC<{
|
|
10232
|
+
payment: t.LiteralC<"payment">;
|
|
10233
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
10234
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
10235
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
10236
|
+
fanout: t.LiteralC<"fanout">;
|
|
10237
|
+
stake: t.LiteralC<"stake">;
|
|
10238
|
+
unstake: t.LiteralC<"unstake">;
|
|
10239
|
+
delegate: t.LiteralC<"delegate">;
|
|
10240
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
10241
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
10242
|
+
claim: t.LiteralC<"claim">;
|
|
10243
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
10244
|
+
pledge: t.LiteralC<"pledge">;
|
|
10245
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
10246
|
+
vote: t.LiteralC<"vote">;
|
|
10247
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
10248
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
10249
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
10250
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
10251
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
10252
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
10253
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
10254
|
+
authorize: t.LiteralC<"authorize">;
|
|
10255
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
10256
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
10257
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
10258
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
10259
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
10260
|
+
customTx: t.LiteralC<"customTx">;
|
|
10261
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
10262
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
10263
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
10264
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
10265
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
10266
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
10267
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
10268
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
10269
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
10270
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
10271
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
10272
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
10273
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
10274
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
10275
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
10276
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
10277
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
10278
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
10279
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
10280
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
10281
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
10282
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
10283
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
10284
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
10285
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
10286
|
+
}>;
|
|
10287
|
+
}>, t.PartialC<{
|
|
10288
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10289
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
10290
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
10291
|
+
}>]>, t.TypeC<{
|
|
10292
|
+
stakingRequestId: t.StringC;
|
|
10293
|
+
}>, t.PartialC<{
|
|
10294
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
10295
|
+
}>]>, t.TypeC<{
|
|
10296
|
+
calldata: t.StringC;
|
|
9845
10297
|
}>]>, t.TypeC<{
|
|
9846
10298
|
amount: t.TypeC<{
|
|
9847
10299
|
value: t.StringC;
|