@bitgo/public-types 6.6.0 → 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/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/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/index.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +199 -158
- package/dist/src/schema/transactionRequest/intents/intent.js +6 -4
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +416 -334
- package/package.json +1 -1
- 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/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/index.ts +2 -0
- package/src/schema/transactionRequest/intents/intent.ts +6 -4
- package/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.ts +2 -0
|
@@ -909,88 +909,6 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
909
909
|
} & {
|
|
910
910
|
data?: string | undefined;
|
|
911
911
|
})[], unknown>, t.UndefinedC]>;
|
|
912
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
913
|
-
intentType: t.KeyofC<{
|
|
914
|
-
payment: t.LiteralC<"payment">;
|
|
915
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
916
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
917
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
918
|
-
fanout: t.LiteralC<"fanout">;
|
|
919
|
-
stake: t.LiteralC<"stake">;
|
|
920
|
-
unstake: t.LiteralC<"unstake">;
|
|
921
|
-
delegate: t.LiteralC<"delegate">;
|
|
922
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
923
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
924
|
-
claim: t.LiteralC<"claim">;
|
|
925
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
926
|
-
pledge: t.LiteralC<"pledge">;
|
|
927
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
928
|
-
vote: t.LiteralC<"vote">;
|
|
929
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
930
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
931
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
932
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
933
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
934
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
935
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
936
|
-
authorize: t.LiteralC<"authorize">;
|
|
937
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
938
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
939
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
940
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
941
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
942
|
-
customTx: t.LiteralC<"customTx">;
|
|
943
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
944
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
945
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
946
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
947
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
948
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
949
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
950
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
951
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
952
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
953
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
954
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
955
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
956
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
957
|
-
enableBridging: t.LiteralC<"enableBridging">;
|
|
958
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
959
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
960
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
961
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
962
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
963
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
964
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
965
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
966
|
-
delegateResource: t.LiteralC<"delegateResource">;
|
|
967
|
-
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
968
|
-
}>;
|
|
969
|
-
}>, t.PartialC<{
|
|
970
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
971
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
972
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
973
|
-
}>]>, t.TypeC<{
|
|
974
|
-
stakingRequestId: t.StringC;
|
|
975
|
-
}>, t.PartialC<{
|
|
976
|
-
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
977
|
-
}>]>, t.TypeC<{
|
|
978
|
-
intentType: t.LiteralC<"claim">;
|
|
979
|
-
}>, t.PartialC<{
|
|
980
|
-
amount: t.UnionC<[t.Type<{
|
|
981
|
-
value: string;
|
|
982
|
-
symbol: string;
|
|
983
|
-
}, {
|
|
984
|
-
value: string;
|
|
985
|
-
symbol: string;
|
|
986
|
-
}, unknown>, t.UndefinedC]>;
|
|
987
|
-
}>]>, t.TypeC<{
|
|
988
|
-
amount: t.TypeC<{
|
|
989
|
-
value: t.StringC;
|
|
990
|
-
symbol: t.StringC;
|
|
991
|
-
}>;
|
|
992
|
-
}>, t.TypeC<{
|
|
993
|
-
validatorAddress: t.StringC;
|
|
994
912
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
995
913
|
intentType: t.KeyofC<{
|
|
996
914
|
payment: t.LiteralC<"payment">;
|
|
@@ -1782,6 +1700,73 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1782
1700
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
1783
1701
|
}>]>, t.TypeC<{
|
|
1784
1702
|
intentType: t.LiteralC<"claim">;
|
|
1703
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1704
|
+
intentType: t.KeyofC<{
|
|
1705
|
+
payment: t.LiteralC<"payment">;
|
|
1706
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
1707
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
1708
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
1709
|
+
fanout: t.LiteralC<"fanout">;
|
|
1710
|
+
stake: t.LiteralC<"stake">;
|
|
1711
|
+
unstake: t.LiteralC<"unstake">;
|
|
1712
|
+
delegate: t.LiteralC<"delegate">;
|
|
1713
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
1714
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
1715
|
+
claim: t.LiteralC<"claim">;
|
|
1716
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
1717
|
+
pledge: t.LiteralC<"pledge">;
|
|
1718
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
1719
|
+
vote: t.LiteralC<"vote">;
|
|
1720
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
1721
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
1722
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
1723
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
1724
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
1725
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
1726
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
1727
|
+
authorize: t.LiteralC<"authorize">;
|
|
1728
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
1729
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
1730
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
1731
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
1732
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
1733
|
+
customTx: t.LiteralC<"customTx">;
|
|
1734
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
1735
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
1736
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
1737
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
1738
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
1739
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
1740
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
1741
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
1742
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
1743
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
1744
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
1745
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
1746
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
1747
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
1748
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
1749
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
1750
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
1751
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
1752
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
1753
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
1754
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
1755
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
1756
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
1757
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
1758
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
1759
|
+
}>;
|
|
1760
|
+
}>, t.PartialC<{
|
|
1761
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1762
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1763
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1764
|
+
}>]>, t.TypeC<{
|
|
1765
|
+
intentType: t.LiteralC<"contractCall">;
|
|
1766
|
+
contract: t.StringC;
|
|
1767
|
+
msgHex: t.StringC;
|
|
1768
|
+
}>, t.PartialC<{
|
|
1769
|
+
feeGranter: t.StringC;
|
|
1785
1770
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1786
1771
|
intentType: t.KeyofC<{
|
|
1787
1772
|
payment: t.LiteralC<"payment">;
|
|
@@ -1933,41 +1918,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1933
1918
|
}>, t.PartialC<{
|
|
1934
1919
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
1935
1920
|
}>]>, t.TypeC<{
|
|
1936
|
-
|
|
1937
|
-
value: t.StringC;
|
|
1938
|
-
symbol: t.StringC;
|
|
1939
|
-
}>;
|
|
1940
|
-
}>, t.TypeC<{
|
|
1941
|
-
intentType: t.LiteralC<"delegate">;
|
|
1921
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
1942
1922
|
validatorAddress: t.StringC;
|
|
1943
|
-
}>, t.PartialC<{
|
|
1944
|
-
recipients: t.UnionC<[t.Type<({
|
|
1945
|
-
address: {
|
|
1946
|
-
address?: string | undefined;
|
|
1947
|
-
option?: {
|
|
1948
|
-
[x: string]: unknown;
|
|
1949
|
-
} | undefined;
|
|
1950
|
-
};
|
|
1951
|
-
amount: {
|
|
1952
|
-
value: string;
|
|
1953
|
-
symbol: string;
|
|
1954
|
-
};
|
|
1955
|
-
} & {
|
|
1956
|
-
data?: string | undefined;
|
|
1957
|
-
})[], ({
|
|
1958
|
-
address: {
|
|
1959
|
-
address?: string | undefined;
|
|
1960
|
-
option?: {
|
|
1961
|
-
[x: string]: unknown;
|
|
1962
|
-
} | undefined;
|
|
1963
|
-
};
|
|
1964
|
-
amount: {
|
|
1965
|
-
value: string;
|
|
1966
|
-
symbol: string;
|
|
1967
|
-
};
|
|
1968
|
-
} & {
|
|
1969
|
-
data?: string | undefined;
|
|
1970
|
-
})[], unknown>, t.UndefinedC]>;
|
|
1971
1923
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1972
1924
|
intentType: t.KeyofC<{
|
|
1973
1925
|
payment: t.LiteralC<"payment">;
|
|
@@ -2039,9 +1991,36 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2039
1991
|
symbol: t.StringC;
|
|
2040
1992
|
}>;
|
|
2041
1993
|
}>, t.TypeC<{
|
|
2042
|
-
intentType: t.LiteralC<"
|
|
1994
|
+
intentType: t.LiteralC<"delegate">;
|
|
2043
1995
|
validatorAddress: t.StringC;
|
|
2044
|
-
|
|
1996
|
+
}>, t.PartialC<{
|
|
1997
|
+
recipients: t.UnionC<[t.Type<({
|
|
1998
|
+
address: {
|
|
1999
|
+
address?: string | undefined;
|
|
2000
|
+
option?: {
|
|
2001
|
+
[x: string]: unknown;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
};
|
|
2004
|
+
amount: {
|
|
2005
|
+
value: string;
|
|
2006
|
+
symbol: string;
|
|
2007
|
+
};
|
|
2008
|
+
} & {
|
|
2009
|
+
data?: string | undefined;
|
|
2010
|
+
})[], ({
|
|
2011
|
+
address: {
|
|
2012
|
+
address?: string | undefined;
|
|
2013
|
+
option?: {
|
|
2014
|
+
[x: string]: unknown;
|
|
2015
|
+
} | undefined;
|
|
2016
|
+
};
|
|
2017
|
+
amount: {
|
|
2018
|
+
value: string;
|
|
2019
|
+
symbol: string;
|
|
2020
|
+
};
|
|
2021
|
+
} & {
|
|
2022
|
+
data?: string | undefined;
|
|
2023
|
+
})[], unknown>, t.UndefinedC]>;
|
|
2045
2024
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2046
2025
|
intentType: t.KeyofC<{
|
|
2047
2026
|
payment: t.LiteralC<"payment">;
|
|
@@ -2113,37 +2092,10 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2113
2092
|
symbol: t.StringC;
|
|
2114
2093
|
}>;
|
|
2115
2094
|
}>, t.TypeC<{
|
|
2116
|
-
intentType: t.LiteralC<"
|
|
2095
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
2117
2096
|
validatorAddress: t.StringC;
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
address: {
|
|
2121
|
-
address?: string | undefined;
|
|
2122
|
-
option?: {
|
|
2123
|
-
[x: string]: unknown;
|
|
2124
|
-
} | undefined;
|
|
2125
|
-
};
|
|
2126
|
-
amount: {
|
|
2127
|
-
value: string;
|
|
2128
|
-
symbol: string;
|
|
2129
|
-
};
|
|
2130
|
-
} & {
|
|
2131
|
-
data?: string | undefined;
|
|
2132
|
-
})[], ({
|
|
2133
|
-
address: {
|
|
2134
|
-
address?: string | undefined;
|
|
2135
|
-
option?: {
|
|
2136
|
-
[x: string]: unknown;
|
|
2137
|
-
} | undefined;
|
|
2138
|
-
};
|
|
2139
|
-
amount: {
|
|
2140
|
-
value: string;
|
|
2141
|
-
symbol: string;
|
|
2142
|
-
};
|
|
2143
|
-
} & {
|
|
2144
|
-
data?: string | undefined;
|
|
2145
|
-
})[], unknown>, t.UndefinedC]>;
|
|
2146
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2097
|
+
destValidatorAddress: t.StringC;
|
|
2098
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2147
2099
|
intentType: t.KeyofC<{
|
|
2148
2100
|
payment: t.LiteralC<"payment">;
|
|
2149
2101
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -2209,17 +2161,41 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
2209
2161
|
}>, t.PartialC<{
|
|
2210
2162
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
2211
2163
|
}>]>, t.TypeC<{
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
value: string;
|
|
2219
|
-
symbol: string;
|
|
2220
|
-
}, unknown>, t.UndefinedC]>;
|
|
2221
|
-
}>]>, t.TypeC<{
|
|
2164
|
+
amount: t.TypeC<{
|
|
2165
|
+
value: t.StringC;
|
|
2166
|
+
symbol: t.StringC;
|
|
2167
|
+
}>;
|
|
2168
|
+
}>, t.TypeC<{
|
|
2169
|
+
intentType: t.LiteralC<"undelegate">;
|
|
2222
2170
|
validatorAddress: t.StringC;
|
|
2171
|
+
}>, t.PartialC<{
|
|
2172
|
+
recipients: t.UnionC<[t.Type<({
|
|
2173
|
+
address: {
|
|
2174
|
+
address?: string | undefined;
|
|
2175
|
+
option?: {
|
|
2176
|
+
[x: string]: unknown;
|
|
2177
|
+
} | undefined;
|
|
2178
|
+
};
|
|
2179
|
+
amount: {
|
|
2180
|
+
value: string;
|
|
2181
|
+
symbol: string;
|
|
2182
|
+
};
|
|
2183
|
+
} & {
|
|
2184
|
+
data?: string | undefined;
|
|
2185
|
+
})[], ({
|
|
2186
|
+
address: {
|
|
2187
|
+
address?: string | undefined;
|
|
2188
|
+
option?: {
|
|
2189
|
+
[x: string]: unknown;
|
|
2190
|
+
} | undefined;
|
|
2191
|
+
};
|
|
2192
|
+
amount: {
|
|
2193
|
+
value: string;
|
|
2194
|
+
symbol: string;
|
|
2195
|
+
};
|
|
2196
|
+
} & {
|
|
2197
|
+
data?: string | undefined;
|
|
2198
|
+
})[], unknown>, t.UndefinedC]>;
|
|
2223
2199
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2224
2200
|
intentType: t.KeyofC<{
|
|
2225
2201
|
payment: t.LiteralC<"payment">;
|
|
@@ -3379,6 +3355,71 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
3379
3355
|
}, unknown>, t.UndefinedC]>;
|
|
3380
3356
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3381
3357
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
3358
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3359
|
+
intentType: t.KeyofC<{
|
|
3360
|
+
payment: t.LiteralC<"payment">;
|
|
3361
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
3362
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
3363
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
3364
|
+
fanout: t.LiteralC<"fanout">;
|
|
3365
|
+
stake: t.LiteralC<"stake">;
|
|
3366
|
+
unstake: t.LiteralC<"unstake">;
|
|
3367
|
+
delegate: t.LiteralC<"delegate">;
|
|
3368
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
3369
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
3370
|
+
claim: t.LiteralC<"claim">;
|
|
3371
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
3372
|
+
pledge: t.LiteralC<"pledge">;
|
|
3373
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
3374
|
+
vote: t.LiteralC<"vote">;
|
|
3375
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
3376
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
3377
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
3378
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
3379
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
3380
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
3381
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
3382
|
+
authorize: t.LiteralC<"authorize">;
|
|
3383
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
3384
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
3385
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
3386
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
3387
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
3388
|
+
customTx: t.LiteralC<"customTx">;
|
|
3389
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
3390
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
3391
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
3392
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
3393
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
3394
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
3395
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
3396
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
3397
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
3398
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
3399
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
3400
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
3401
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
3402
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
3403
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
3404
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
3405
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
3406
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
3407
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
3408
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
3409
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
3410
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
3411
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
3412
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
3413
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
3414
|
+
}>;
|
|
3415
|
+
}>, t.PartialC<{
|
|
3416
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3417
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3418
|
+
}>]>, t.TypeC<{
|
|
3419
|
+
intentType: t.LiteralC<"fillNonce">;
|
|
3420
|
+
nonce: t.UnionC<[t.StringC, t.NumberC]>;
|
|
3421
|
+
}>, t.PartialC<{
|
|
3422
|
+
senderAddress: t.StringC;
|
|
3382
3423
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3383
3424
|
intentType: t.KeyofC<{
|
|
3384
3425
|
payment: t.LiteralC<"payment">;
|
|
@@ -12566,7 +12607,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12566
12607
|
} & {
|
|
12567
12608
|
data?: string | undefined;
|
|
12568
12609
|
})[], unknown>, t.UndefinedC]>;
|
|
12569
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
12610
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12570
12611
|
intentType: t.KeyofC<{
|
|
12571
12612
|
payment: t.LiteralC<"payment">;
|
|
12572
12613
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -12632,22 +12673,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12632
12673
|
}>, t.PartialC<{
|
|
12633
12674
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
12634
12675
|
}>]>, t.TypeC<{
|
|
12635
|
-
intentType: t.LiteralC<"
|
|
12636
|
-
|
|
12637
|
-
amount: t.UnionC<[t.Type<{
|
|
12638
|
-
value: string;
|
|
12639
|
-
symbol: string;
|
|
12640
|
-
}, {
|
|
12641
|
-
value: string;
|
|
12642
|
-
symbol: string;
|
|
12643
|
-
}, unknown>, t.UndefinedC]>;
|
|
12644
|
-
}>]>, t.TypeC<{
|
|
12645
|
-
amount: t.TypeC<{
|
|
12646
|
-
value: t.StringC;
|
|
12647
|
-
symbol: t.StringC;
|
|
12648
|
-
}>;
|
|
12649
|
-
}>, t.TypeC<{
|
|
12650
|
-
validatorAddress: t.StringC;
|
|
12676
|
+
intentType: t.LiteralC<"createBtcDelegation">;
|
|
12677
|
+
createBtcDelegationBytes: t.StringC;
|
|
12651
12678
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12652
12679
|
intentType: t.KeyofC<{
|
|
12653
12680
|
payment: t.LiteralC<"payment">;
|
|
@@ -12714,8 +12741,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12714
12741
|
}>, t.PartialC<{
|
|
12715
12742
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
12716
12743
|
}>]>, t.TypeC<{
|
|
12717
|
-
intentType: t.LiteralC<"
|
|
12718
|
-
|
|
12744
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
12745
|
+
type: t.StringC;
|
|
12719
12746
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12720
12747
|
intentType: t.KeyofC<{
|
|
12721
12748
|
payment: t.LiteralC<"payment">;
|
|
@@ -12782,8 +12809,16 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12782
12809
|
}>, t.PartialC<{
|
|
12783
12810
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
12784
12811
|
}>]>, t.TypeC<{
|
|
12785
|
-
|
|
12786
|
-
|
|
12812
|
+
amount: t.TypeC<{
|
|
12813
|
+
value: t.StringC;
|
|
12814
|
+
symbol: t.StringC;
|
|
12815
|
+
}>;
|
|
12816
|
+
}>, t.TypeC<{
|
|
12817
|
+
intentType: t.LiteralC<"delegate">;
|
|
12818
|
+
validatorAddress: t.StringC;
|
|
12819
|
+
}>, t.PartialC<{
|
|
12820
|
+
relayerFee: t.StringC;
|
|
12821
|
+
delegateVotePower: t.StringC;
|
|
12787
12822
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12788
12823
|
intentType: t.KeyofC<{
|
|
12789
12824
|
payment: t.LiteralC<"payment">;
|
|
@@ -12855,12 +12890,11 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12855
12890
|
symbol: t.StringC;
|
|
12856
12891
|
}>;
|
|
12857
12892
|
}>, t.TypeC<{
|
|
12858
|
-
intentType: t.LiteralC<"
|
|
12893
|
+
intentType: t.LiteralC<"undelegate">;
|
|
12859
12894
|
validatorAddress: t.StringC;
|
|
12860
12895
|
}>, t.PartialC<{
|
|
12861
12896
|
relayerFee: t.StringC;
|
|
12862
|
-
|
|
12863
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12897
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12864
12898
|
intentType: t.KeyofC<{
|
|
12865
12899
|
payment: t.LiteralC<"payment">;
|
|
12866
12900
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -12926,16 +12960,19 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12926
12960
|
}>, t.PartialC<{
|
|
12927
12961
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
12928
12962
|
}>]>, t.TypeC<{
|
|
12929
|
-
|
|
12930
|
-
value: t.StringC;
|
|
12931
|
-
symbol: t.StringC;
|
|
12932
|
-
}>;
|
|
12933
|
-
}>, t.TypeC<{
|
|
12934
|
-
intentType: t.LiteralC<"undelegate">;
|
|
12935
|
-
validatorAddress: t.StringC;
|
|
12963
|
+
intentType: t.LiteralC<"claim">;
|
|
12936
12964
|
}>, t.PartialC<{
|
|
12937
|
-
|
|
12938
|
-
|
|
12965
|
+
amount: t.UnionC<[t.Type<{
|
|
12966
|
+
value: string;
|
|
12967
|
+
symbol: string;
|
|
12968
|
+
}, {
|
|
12969
|
+
value: string;
|
|
12970
|
+
symbol: string;
|
|
12971
|
+
}, unknown>, t.UndefinedC]>;
|
|
12972
|
+
}>]>, t.TypeC<{
|
|
12973
|
+
validatorAddress: t.StringC;
|
|
12974
|
+
requestNumber: t.NumberC;
|
|
12975
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12939
12976
|
intentType: t.KeyofC<{
|
|
12940
12977
|
payment: t.LiteralC<"payment">;
|
|
12941
12978
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -12997,23 +13034,33 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
12997
13034
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
12998
13035
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
12999
13036
|
}>]>, t.TypeC<{
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
}
|
|
13037
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
13038
|
+
address: t.PartialC<{
|
|
13039
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13040
|
+
option: t.UnionC<[t.Type<{
|
|
13041
|
+
[x: string]: unknown;
|
|
13042
|
+
}, {
|
|
13043
|
+
[x: string]: unknown;
|
|
13044
|
+
}, unknown>, t.UndefinedC]>;
|
|
13045
|
+
}>;
|
|
13046
|
+
amount: t.TypeC<{
|
|
13047
|
+
value: t.StringC;
|
|
13048
|
+
symbol: t.StringC;
|
|
13049
|
+
}>;
|
|
13050
|
+
}>, t.PartialC<{
|
|
13051
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13052
|
+
}>]>>;
|
|
13053
|
+
}>, t.UnionC<[t.TypeC<{
|
|
13054
|
+
intentType: t.LiteralC<"payment">;
|
|
13055
|
+
}>, t.TypeC<{
|
|
13056
|
+
intentType: t.LiteralC<"payment">;
|
|
13057
|
+
isTestTransaction: t.BooleanC;
|
|
13058
|
+
}>]>]>, t.PartialC<{
|
|
13059
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13060
|
+
isConsolidate: t.BooleanC;
|
|
13061
|
+
}>, t.TypeC<{
|
|
13062
|
+
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
13063
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13017
13064
|
intentType: t.KeyofC<{
|
|
13018
13065
|
payment: t.LiteralC<"payment">;
|
|
13019
13066
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -13073,34 +13120,13 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13073
13120
|
}>, t.PartialC<{
|
|
13074
13121
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13075
13122
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13076
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13077
|
-
}>]>, t.TypeC<{
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
}, {
|
|
13084
|
-
[x: string]: unknown;
|
|
13085
|
-
}, unknown>, t.UndefinedC]>;
|
|
13086
|
-
}>;
|
|
13087
|
-
amount: t.TypeC<{
|
|
13088
|
-
value: t.StringC;
|
|
13089
|
-
symbol: t.StringC;
|
|
13090
|
-
}>;
|
|
13091
|
-
}>, t.PartialC<{
|
|
13092
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13093
|
-
}>]>>;
|
|
13094
|
-
}>, t.UnionC<[t.TypeC<{
|
|
13095
|
-
intentType: t.LiteralC<"payment">;
|
|
13096
|
-
}>, t.TypeC<{
|
|
13097
|
-
intentType: t.LiteralC<"payment">;
|
|
13098
|
-
isTestTransaction: t.BooleanC;
|
|
13099
|
-
}>]>]>, t.PartialC<{
|
|
13100
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13101
|
-
isConsolidate: t.BooleanC;
|
|
13102
|
-
}>, t.TypeC<{
|
|
13103
|
-
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
13123
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13124
|
+
}>]>, t.TypeC<{
|
|
13125
|
+
intentType: t.LiteralC<"transferAccept">;
|
|
13126
|
+
txRequestId: t.StringC;
|
|
13127
|
+
}>, t.PartialC<{
|
|
13128
|
+
token: t.StringC;
|
|
13129
|
+
expiry: t.NumberC;
|
|
13104
13130
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13105
13131
|
intentType: t.KeyofC<{
|
|
13106
13132
|
payment: t.LiteralC<"payment">;
|
|
@@ -13163,11 +13189,15 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13163
13189
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13164
13190
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13165
13191
|
}>]>, t.TypeC<{
|
|
13166
|
-
intentType: t.LiteralC<"
|
|
13167
|
-
|
|
13192
|
+
intentType: t.LiteralC<"transferAcknowledge">;
|
|
13193
|
+
contractId: t.StringC;
|
|
13194
|
+
senderPartyId: t.StringC;
|
|
13195
|
+
updateId: t.StringC;
|
|
13196
|
+
amount: import("io-ts-types").NumberFromStringC;
|
|
13197
|
+
expiry: t.NumberC;
|
|
13168
13198
|
}>, t.PartialC<{
|
|
13199
|
+
memoId: t.StringC;
|
|
13169
13200
|
token: t.StringC;
|
|
13170
|
-
expiry: t.NumberC;
|
|
13171
13201
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13172
13202
|
intentType: t.KeyofC<{
|
|
13173
13203
|
payment: t.LiteralC<"payment">;
|
|
@@ -13230,14 +13260,9 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13230
13260
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13231
13261
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13232
13262
|
}>]>, t.TypeC<{
|
|
13233
|
-
intentType: t.LiteralC<"
|
|
13234
|
-
|
|
13235
|
-
senderPartyId: t.StringC;
|
|
13236
|
-
updateId: t.StringC;
|
|
13237
|
-
amount: import("io-ts-types").NumberFromStringC;
|
|
13238
|
-
expiry: t.NumberC;
|
|
13263
|
+
intentType: t.LiteralC<"transferOfferWithdrawn">;
|
|
13264
|
+
transferOfferId: t.StringC;
|
|
13239
13265
|
}>, t.PartialC<{
|
|
13240
|
-
memoId: t.StringC;
|
|
13241
13266
|
token: t.StringC;
|
|
13242
13267
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13243
13268
|
intentType: t.KeyofC<{
|
|
@@ -13301,11 +13326,12 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13301
13326
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13302
13327
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13303
13328
|
}>]>, t.TypeC<{
|
|
13304
|
-
intentType: t.LiteralC<"
|
|
13305
|
-
|
|
13329
|
+
intentType: t.LiteralC<"transferReject">;
|
|
13330
|
+
txRequestId: t.StringC;
|
|
13306
13331
|
}>, t.PartialC<{
|
|
13307
13332
|
token: t.StringC;
|
|
13308
|
-
|
|
13333
|
+
expiry: t.NumberC;
|
|
13334
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13309
13335
|
intentType: t.KeyofC<{
|
|
13310
13336
|
payment: t.LiteralC<"payment">;
|
|
13311
13337
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -13367,12 +13393,12 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13367
13393
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13368
13394
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13369
13395
|
}>]>, t.TypeC<{
|
|
13370
|
-
|
|
13371
|
-
txRequestId: t.StringC;
|
|
13396
|
+
stakingRequestId: t.StringC;
|
|
13372
13397
|
}>, t.PartialC<{
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13398
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
13399
|
+
}>]>, t.TypeC<{
|
|
13400
|
+
intentType: t.LiteralC<"claim">;
|
|
13401
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13376
13402
|
intentType: t.KeyofC<{
|
|
13377
13403
|
payment: t.LiteralC<"payment">;
|
|
13378
13404
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -13434,11 +13460,11 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13434
13460
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
13435
13461
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
13436
13462
|
}>]>, t.TypeC<{
|
|
13437
|
-
|
|
13463
|
+
intentType: t.LiteralC<"contractCall">;
|
|
13464
|
+
contract: t.StringC;
|
|
13465
|
+
msgHex: t.StringC;
|
|
13438
13466
|
}>, t.PartialC<{
|
|
13439
|
-
|
|
13440
|
-
}>]>, t.TypeC<{
|
|
13441
|
-
intentType: t.LiteralC<"claim">;
|
|
13467
|
+
feeGranter: t.StringC;
|
|
13442
13468
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13443
13469
|
intentType: t.KeyofC<{
|
|
13444
13470
|
payment: t.LiteralC<"payment">;
|
|
@@ -13590,41 +13616,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13590
13616
|
}>, t.PartialC<{
|
|
13591
13617
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
13592
13618
|
}>]>, t.TypeC<{
|
|
13593
|
-
|
|
13594
|
-
value: t.StringC;
|
|
13595
|
-
symbol: t.StringC;
|
|
13596
|
-
}>;
|
|
13597
|
-
}>, t.TypeC<{
|
|
13598
|
-
intentType: t.LiteralC<"delegate">;
|
|
13619
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
13599
13620
|
validatorAddress: t.StringC;
|
|
13600
|
-
}>, t.PartialC<{
|
|
13601
|
-
recipients: t.UnionC<[t.Type<({
|
|
13602
|
-
address: {
|
|
13603
|
-
address?: string | undefined;
|
|
13604
|
-
option?: {
|
|
13605
|
-
[x: string]: unknown;
|
|
13606
|
-
} | undefined;
|
|
13607
|
-
};
|
|
13608
|
-
amount: {
|
|
13609
|
-
value: string;
|
|
13610
|
-
symbol: string;
|
|
13611
|
-
};
|
|
13612
|
-
} & {
|
|
13613
|
-
data?: string | undefined;
|
|
13614
|
-
})[], ({
|
|
13615
|
-
address: {
|
|
13616
|
-
address?: string | undefined;
|
|
13617
|
-
option?: {
|
|
13618
|
-
[x: string]: unknown;
|
|
13619
|
-
} | undefined;
|
|
13620
|
-
};
|
|
13621
|
-
amount: {
|
|
13622
|
-
value: string;
|
|
13623
|
-
symbol: string;
|
|
13624
|
-
};
|
|
13625
|
-
} & {
|
|
13626
|
-
data?: string | undefined;
|
|
13627
|
-
})[], unknown>, t.UndefinedC]>;
|
|
13628
13621
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13629
13622
|
intentType: t.KeyofC<{
|
|
13630
13623
|
payment: t.LiteralC<"payment">;
|
|
@@ -13696,9 +13689,36 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13696
13689
|
symbol: t.StringC;
|
|
13697
13690
|
}>;
|
|
13698
13691
|
}>, t.TypeC<{
|
|
13699
|
-
intentType: t.LiteralC<"
|
|
13692
|
+
intentType: t.LiteralC<"delegate">;
|
|
13700
13693
|
validatorAddress: t.StringC;
|
|
13701
|
-
|
|
13694
|
+
}>, t.PartialC<{
|
|
13695
|
+
recipients: t.UnionC<[t.Type<({
|
|
13696
|
+
address: {
|
|
13697
|
+
address?: string | undefined;
|
|
13698
|
+
option?: {
|
|
13699
|
+
[x: string]: unknown;
|
|
13700
|
+
} | undefined;
|
|
13701
|
+
};
|
|
13702
|
+
amount: {
|
|
13703
|
+
value: string;
|
|
13704
|
+
symbol: string;
|
|
13705
|
+
};
|
|
13706
|
+
} & {
|
|
13707
|
+
data?: string | undefined;
|
|
13708
|
+
})[], ({
|
|
13709
|
+
address: {
|
|
13710
|
+
address?: string | undefined;
|
|
13711
|
+
option?: {
|
|
13712
|
+
[x: string]: unknown;
|
|
13713
|
+
} | undefined;
|
|
13714
|
+
};
|
|
13715
|
+
amount: {
|
|
13716
|
+
value: string;
|
|
13717
|
+
symbol: string;
|
|
13718
|
+
};
|
|
13719
|
+
} & {
|
|
13720
|
+
data?: string | undefined;
|
|
13721
|
+
})[], unknown>, t.UndefinedC]>;
|
|
13702
13722
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13703
13723
|
intentType: t.KeyofC<{
|
|
13704
13724
|
payment: t.LiteralC<"payment">;
|
|
@@ -13770,37 +13790,10 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13770
13790
|
symbol: t.StringC;
|
|
13771
13791
|
}>;
|
|
13772
13792
|
}>, t.TypeC<{
|
|
13773
|
-
intentType: t.LiteralC<"
|
|
13793
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
13774
13794
|
validatorAddress: t.StringC;
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
address: {
|
|
13778
|
-
address?: string | undefined;
|
|
13779
|
-
option?: {
|
|
13780
|
-
[x: string]: unknown;
|
|
13781
|
-
} | undefined;
|
|
13782
|
-
};
|
|
13783
|
-
amount: {
|
|
13784
|
-
value: string;
|
|
13785
|
-
symbol: string;
|
|
13786
|
-
};
|
|
13787
|
-
} & {
|
|
13788
|
-
data?: string | undefined;
|
|
13789
|
-
})[], ({
|
|
13790
|
-
address: {
|
|
13791
|
-
address?: string | undefined;
|
|
13792
|
-
option?: {
|
|
13793
|
-
[x: string]: unknown;
|
|
13794
|
-
} | undefined;
|
|
13795
|
-
};
|
|
13796
|
-
amount: {
|
|
13797
|
-
value: string;
|
|
13798
|
-
symbol: string;
|
|
13799
|
-
};
|
|
13800
|
-
} & {
|
|
13801
|
-
data?: string | undefined;
|
|
13802
|
-
})[], unknown>, t.UndefinedC]>;
|
|
13803
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13795
|
+
destValidatorAddress: t.StringC;
|
|
13796
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13804
13797
|
intentType: t.KeyofC<{
|
|
13805
13798
|
payment: t.LiteralC<"payment">;
|
|
13806
13799
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -13866,17 +13859,41 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13866
13859
|
}>, t.PartialC<{
|
|
13867
13860
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
13868
13861
|
}>]>, t.TypeC<{
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
|
|
13872
|
-
|
|
13873
|
-
|
|
13874
|
-
|
|
13875
|
-
value: string;
|
|
13876
|
-
symbol: string;
|
|
13877
|
-
}, unknown>, t.UndefinedC]>;
|
|
13878
|
-
}>]>, t.TypeC<{
|
|
13862
|
+
amount: t.TypeC<{
|
|
13863
|
+
value: t.StringC;
|
|
13864
|
+
symbol: t.StringC;
|
|
13865
|
+
}>;
|
|
13866
|
+
}>, t.TypeC<{
|
|
13867
|
+
intentType: t.LiteralC<"undelegate">;
|
|
13879
13868
|
validatorAddress: t.StringC;
|
|
13869
|
+
}>, t.PartialC<{
|
|
13870
|
+
recipients: t.UnionC<[t.Type<({
|
|
13871
|
+
address: {
|
|
13872
|
+
address?: string | undefined;
|
|
13873
|
+
option?: {
|
|
13874
|
+
[x: string]: unknown;
|
|
13875
|
+
} | undefined;
|
|
13876
|
+
};
|
|
13877
|
+
amount: {
|
|
13878
|
+
value: string;
|
|
13879
|
+
symbol: string;
|
|
13880
|
+
};
|
|
13881
|
+
} & {
|
|
13882
|
+
data?: string | undefined;
|
|
13883
|
+
})[], ({
|
|
13884
|
+
address: {
|
|
13885
|
+
address?: string | undefined;
|
|
13886
|
+
option?: {
|
|
13887
|
+
[x: string]: unknown;
|
|
13888
|
+
} | undefined;
|
|
13889
|
+
};
|
|
13890
|
+
amount: {
|
|
13891
|
+
value: string;
|
|
13892
|
+
symbol: string;
|
|
13893
|
+
};
|
|
13894
|
+
} & {
|
|
13895
|
+
data?: string | undefined;
|
|
13896
|
+
})[], unknown>, t.UndefinedC]>;
|
|
13880
13897
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
13881
13898
|
intentType: t.KeyofC<{
|
|
13882
13899
|
payment: t.LiteralC<"payment">;
|
|
@@ -15036,6 +15053,71 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
15036
15053
|
}, unknown>, t.UndefinedC]>;
|
|
15037
15054
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15038
15055
|
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
15056
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15057
|
+
intentType: t.KeyofC<{
|
|
15058
|
+
payment: t.LiteralC<"payment">;
|
|
15059
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
15060
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
15061
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
15062
|
+
fanout: t.LiteralC<"fanout">;
|
|
15063
|
+
stake: t.LiteralC<"stake">;
|
|
15064
|
+
unstake: t.LiteralC<"unstake">;
|
|
15065
|
+
delegate: t.LiteralC<"delegate">;
|
|
15066
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
15067
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
15068
|
+
claim: t.LiteralC<"claim">;
|
|
15069
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
15070
|
+
pledge: t.LiteralC<"pledge">;
|
|
15071
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
15072
|
+
vote: t.LiteralC<"vote">;
|
|
15073
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
15074
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
15075
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
15076
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
15077
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
15078
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
15079
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
15080
|
+
authorize: t.LiteralC<"authorize">;
|
|
15081
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
15082
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
15083
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
15084
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
15085
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
15086
|
+
customTx: t.LiteralC<"customTx">;
|
|
15087
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
15088
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
15089
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
15090
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
15091
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
15092
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
15093
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
15094
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
15095
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
15096
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
15097
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
15098
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
15099
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
15100
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
15101
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
15102
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
15103
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
15104
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
15105
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
15106
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
15107
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
15108
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
15109
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
15110
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
15111
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
15112
|
+
}>;
|
|
15113
|
+
}>, t.PartialC<{
|
|
15114
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15115
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
15116
|
+
}>]>, t.TypeC<{
|
|
15117
|
+
intentType: t.LiteralC<"fillNonce">;
|
|
15118
|
+
nonce: t.UnionC<[t.StringC, t.NumberC]>;
|
|
15119
|
+
}>, t.PartialC<{
|
|
15120
|
+
senderAddress: t.StringC;
|
|
15039
15121
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15040
15122
|
intentType: t.KeyofC<{
|
|
15041
15123
|
payment: t.LiteralC<"payment">;
|