@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
|
@@ -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">;
|
|
@@ -1684,6 +1602,73 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1684
1602
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
1685
1603
|
}>]>, t.TypeC<{
|
|
1686
1604
|
intentType: t.LiteralC<"claim">;
|
|
1605
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1606
|
+
intentType: t.KeyofC<{
|
|
1607
|
+
payment: t.LiteralC<"payment">;
|
|
1608
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
1609
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
1610
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
1611
|
+
fanout: t.LiteralC<"fanout">;
|
|
1612
|
+
stake: t.LiteralC<"stake">;
|
|
1613
|
+
unstake: t.LiteralC<"unstake">;
|
|
1614
|
+
delegate: t.LiteralC<"delegate">;
|
|
1615
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
1616
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
1617
|
+
claim: t.LiteralC<"claim">;
|
|
1618
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
1619
|
+
pledge: t.LiteralC<"pledge">;
|
|
1620
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
1621
|
+
vote: t.LiteralC<"vote">;
|
|
1622
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
1623
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
1624
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
1625
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
1626
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
1627
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
1628
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
1629
|
+
authorize: t.LiteralC<"authorize">;
|
|
1630
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
1631
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
1632
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
1633
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
1634
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
1635
|
+
customTx: t.LiteralC<"customTx">;
|
|
1636
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
1637
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
1638
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
1639
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
1640
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
1641
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
1642
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
1643
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
1644
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
1645
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
1646
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
1647
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
1648
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
1649
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
1650
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
1651
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
1652
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
1653
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
1654
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
1655
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
1656
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
1657
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
1658
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
1659
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
1660
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
1661
|
+
}>;
|
|
1662
|
+
}>, t.PartialC<{
|
|
1663
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1664
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
1665
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
1666
|
+
}>]>, t.TypeC<{
|
|
1667
|
+
intentType: t.LiteralC<"contractCall">;
|
|
1668
|
+
contract: t.StringC;
|
|
1669
|
+
msgHex: t.StringC;
|
|
1670
|
+
}>, t.PartialC<{
|
|
1671
|
+
feeGranter: t.StringC;
|
|
1687
1672
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1688
1673
|
intentType: t.KeyofC<{
|
|
1689
1674
|
payment: t.LiteralC<"payment">;
|
|
@@ -1835,41 +1820,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1835
1820
|
}>, t.PartialC<{
|
|
1836
1821
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
1837
1822
|
}>]>, t.TypeC<{
|
|
1838
|
-
|
|
1839
|
-
value: t.StringC;
|
|
1840
|
-
symbol: t.StringC;
|
|
1841
|
-
}>;
|
|
1842
|
-
}>, t.TypeC<{
|
|
1843
|
-
intentType: t.LiteralC<"delegate">;
|
|
1823
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
1844
1824
|
validatorAddress: t.StringC;
|
|
1845
|
-
}>, t.PartialC<{
|
|
1846
|
-
recipients: t.UnionC<[t.Type<({
|
|
1847
|
-
address: {
|
|
1848
|
-
address?: string | undefined;
|
|
1849
|
-
option?: {
|
|
1850
|
-
[x: string]: unknown;
|
|
1851
|
-
} | undefined;
|
|
1852
|
-
};
|
|
1853
|
-
amount: {
|
|
1854
|
-
value: string;
|
|
1855
|
-
symbol: string;
|
|
1856
|
-
};
|
|
1857
|
-
} & {
|
|
1858
|
-
data?: string | undefined;
|
|
1859
|
-
})[], ({
|
|
1860
|
-
address: {
|
|
1861
|
-
address?: string | undefined;
|
|
1862
|
-
option?: {
|
|
1863
|
-
[x: string]: unknown;
|
|
1864
|
-
} | undefined;
|
|
1865
|
-
};
|
|
1866
|
-
amount: {
|
|
1867
|
-
value: string;
|
|
1868
|
-
symbol: string;
|
|
1869
|
-
};
|
|
1870
|
-
} & {
|
|
1871
|
-
data?: string | undefined;
|
|
1872
|
-
})[], unknown>, t.UndefinedC]>;
|
|
1873
1825
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1874
1826
|
intentType: t.KeyofC<{
|
|
1875
1827
|
payment: t.LiteralC<"payment">;
|
|
@@ -1941,9 +1893,36 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1941
1893
|
symbol: t.StringC;
|
|
1942
1894
|
}>;
|
|
1943
1895
|
}>, t.TypeC<{
|
|
1944
|
-
intentType: t.LiteralC<"
|
|
1896
|
+
intentType: t.LiteralC<"delegate">;
|
|
1945
1897
|
validatorAddress: t.StringC;
|
|
1946
|
-
|
|
1898
|
+
}>, t.PartialC<{
|
|
1899
|
+
recipients: t.UnionC<[t.Type<({
|
|
1900
|
+
address: {
|
|
1901
|
+
address?: string | undefined;
|
|
1902
|
+
option?: {
|
|
1903
|
+
[x: string]: unknown;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
};
|
|
1906
|
+
amount: {
|
|
1907
|
+
value: string;
|
|
1908
|
+
symbol: string;
|
|
1909
|
+
};
|
|
1910
|
+
} & {
|
|
1911
|
+
data?: string | undefined;
|
|
1912
|
+
})[], ({
|
|
1913
|
+
address: {
|
|
1914
|
+
address?: string | undefined;
|
|
1915
|
+
option?: {
|
|
1916
|
+
[x: string]: unknown;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
};
|
|
1919
|
+
amount: {
|
|
1920
|
+
value: string;
|
|
1921
|
+
symbol: string;
|
|
1922
|
+
};
|
|
1923
|
+
} & {
|
|
1924
|
+
data?: string | undefined;
|
|
1925
|
+
})[], unknown>, t.UndefinedC]>;
|
|
1947
1926
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1948
1927
|
intentType: t.KeyofC<{
|
|
1949
1928
|
payment: t.LiteralC<"payment">;
|
|
@@ -2015,37 +1994,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2015
1994
|
symbol: t.StringC;
|
|
2016
1995
|
}>;
|
|
2017
1996
|
}>, t.TypeC<{
|
|
2018
|
-
intentType: t.LiteralC<"
|
|
1997
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
2019
1998
|
validatorAddress: t.StringC;
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
address: {
|
|
2023
|
-
address?: string | undefined;
|
|
2024
|
-
option?: {
|
|
2025
|
-
[x: string]: unknown;
|
|
2026
|
-
} | undefined;
|
|
2027
|
-
};
|
|
2028
|
-
amount: {
|
|
2029
|
-
value: string;
|
|
2030
|
-
symbol: string;
|
|
2031
|
-
};
|
|
2032
|
-
} & {
|
|
2033
|
-
data?: string | undefined;
|
|
2034
|
-
})[], ({
|
|
2035
|
-
address: {
|
|
2036
|
-
address?: string | undefined;
|
|
2037
|
-
option?: {
|
|
2038
|
-
[x: string]: unknown;
|
|
2039
|
-
} | undefined;
|
|
2040
|
-
};
|
|
2041
|
-
amount: {
|
|
2042
|
-
value: string;
|
|
2043
|
-
symbol: string;
|
|
2044
|
-
};
|
|
2045
|
-
} & {
|
|
2046
|
-
data?: string | undefined;
|
|
2047
|
-
})[], unknown>, t.UndefinedC]>;
|
|
2048
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1999
|
+
destValidatorAddress: t.StringC;
|
|
2000
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2049
2001
|
intentType: t.KeyofC<{
|
|
2050
2002
|
payment: t.LiteralC<"payment">;
|
|
2051
2003
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -2111,17 +2063,41 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
2111
2063
|
}>, t.PartialC<{
|
|
2112
2064
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
2113
2065
|
}>]>, t.TypeC<{
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
value: string;
|
|
2121
|
-
symbol: string;
|
|
2122
|
-
}, unknown>, t.UndefinedC]>;
|
|
2123
|
-
}>]>, t.TypeC<{
|
|
2066
|
+
amount: t.TypeC<{
|
|
2067
|
+
value: t.StringC;
|
|
2068
|
+
symbol: t.StringC;
|
|
2069
|
+
}>;
|
|
2070
|
+
}>, t.TypeC<{
|
|
2071
|
+
intentType: t.LiteralC<"undelegate">;
|
|
2124
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]>;
|
|
2125
2101
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2126
2102
|
intentType: t.KeyofC<{
|
|
2127
2103
|
payment: t.LiteralC<"payment">;
|
|
@@ -3281,6 +3257,71 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
3281
3257
|
}, unknown>, t.UndefinedC]>;
|
|
3282
3258
|
receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
3283
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;
|
|
3284
3325
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3285
3326
|
intentType: t.KeyofC<{
|
|
3286
3327
|
payment: t.LiteralC<"payment">;
|
|
@@ -33,7 +33,6 @@ const aptCustomTxIntent_1 = require("./aptCustomTxIntent");
|
|
|
33
33
|
const atomPaymentIntent_1 = require("./atomPaymentIntent");
|
|
34
34
|
const atomStakeIntent_1 = require("./atomStakeIntent");
|
|
35
35
|
const atomUnstakeIntent_1 = require("./atomUnstakeIntent");
|
|
36
|
-
const atomWithdrawIntent_1 = require("./atomWithdrawIntent");
|
|
37
36
|
const babyCreateBtcDelegationIntent_1 = require("./babyCreateBtcDelegationIntent");
|
|
38
37
|
const babyWithdrawRewardIntent_1 = require("./babyWithdrawRewardIntent");
|
|
39
38
|
const bscDelegateIntent_1 = require("./bscDelegateIntent");
|
|
@@ -43,11 +42,12 @@ const claimIntent_1 = require("./claimIntent");
|
|
|
43
42
|
const vetUnstakingIntent_1 = require("./vetUnstakingIntent");
|
|
44
43
|
const defiDepositIntent_1 = require("./defiDepositIntent");
|
|
45
44
|
const defiRedeemIntent_1 = require("./defiRedeemIntent");
|
|
45
|
+
const cosmosContractCallIntent_1 = require("./cosmosContractCallIntent");
|
|
46
46
|
const cosmosPaymentIntent_1 = require("./cosmosPaymentIntent");
|
|
47
|
+
const cosmosStakeClaimRewardsIntent_1 = require("./cosmosStakeClaimRewardsIntent");
|
|
47
48
|
const cosmosStakeIntent_1 = require("./cosmosStakeIntent");
|
|
48
49
|
const cosmosSwitchValidatorIntent_1 = require("./cosmosSwitchValidatorIntent");
|
|
49
50
|
const cosmosUnstakeIntent_1 = require("./cosmosUnstakeIntent");
|
|
50
|
-
const cosmosWithdrawIntent_1 = require("./cosmosWithdrawIntent");
|
|
51
51
|
const dotCreateAccountIntent_1 = require("./dotCreateAccountIntent");
|
|
52
52
|
const dotPaymentIntent_1 = require("./dotPaymentIntent");
|
|
53
53
|
const dotStakingIntent_1 = require("./dotStakingIntent");
|
|
@@ -153,6 +153,7 @@ const xdcStakingIntent_1 = require("./xdcStakingIntent");
|
|
|
153
153
|
const xdcStakingIntent_2 = require("./xdcStakingIntent");
|
|
154
154
|
const xdcUnstakingIntent_1 = require("./xdcUnstakingIntent");
|
|
155
155
|
const xdcUnstakingIntent_2 = require("./xdcUnstakingIntent");
|
|
156
|
+
const fillNonceIntent_1 = require("./fillNonceIntent");
|
|
156
157
|
const hypeevmBridgeFundsIntent_1 = require("./hypeevmBridgeFundsIntent");
|
|
157
158
|
const hypeevmEnableBridgingIntent_1 = require("./hypeevmEnableBridgingIntent");
|
|
158
159
|
const delegateIntent_1 = require("./delegateIntent");
|
|
@@ -169,7 +170,6 @@ exports.TransactionIntent = t.union([
|
|
|
169
170
|
atomPaymentIntent_1.AtomPaymentIntent,
|
|
170
171
|
atomStakeIntent_1.AtomStakeIntent,
|
|
171
172
|
atomUnstakeIntent_1.AtomUnstakeIntent,
|
|
172
|
-
atomWithdrawIntent_1.AtomWithdrawIntent,
|
|
173
173
|
babyCreateBtcDelegationIntent_1.BabyCreateBtcDelegationIntent,
|
|
174
174
|
babyWithdrawRewardIntent_1.BabyWithdrawRewardIntent,
|
|
175
175
|
bscDelegateIntent_1.BscDelegateIntent,
|
|
@@ -181,11 +181,12 @@ exports.TransactionIntent = t.union([
|
|
|
181
181
|
cantonTransferOfferWithdrawnIntent_1.CantonTransferOfferWithdrawnIntent,
|
|
182
182
|
cantonTransferRejectIntent_1.CantonTransferRejectIntent,
|
|
183
183
|
claimIntent_1.ClaimIntent,
|
|
184
|
+
cosmosContractCallIntent_1.CosmosContractCallIntent,
|
|
184
185
|
cosmosPaymentIntent_1.CosmosPaymentIntent,
|
|
186
|
+
cosmosStakeClaimRewardsIntent_1.CosmosStakeClaimRewardsIntent,
|
|
185
187
|
cosmosStakeIntent_1.CosmosStakeIntent,
|
|
186
188
|
cosmosSwitchValidatorIntent_1.CosmosSwitchValidatorIntent,
|
|
187
189
|
cosmosUnstakeIntent_1.CosmosUnstakeIntent,
|
|
188
|
-
cosmosWithdrawIntent_1.CosmosWithdrawIntent,
|
|
189
190
|
defiDepositIntent_1.DefiDepositIntent,
|
|
190
191
|
defiRedeemIntent_1.DefiRedeemIntent,
|
|
191
192
|
dotConsolidateIntent_1.DotConsolidateIntent,
|
|
@@ -199,6 +200,7 @@ exports.TransactionIntent = t.union([
|
|
|
199
200
|
ethConsolidateIntent_1.EthConsolidateIntent,
|
|
200
201
|
ethConsolidateTokenIntent_1.EthConsolidateTokenIntent,
|
|
201
202
|
ethFillNonceIntent_1.EthFillNonceIntent,
|
|
203
|
+
fillNonceIntent_1.FillNonceIntent,
|
|
202
204
|
ethPaymentIntent_1.EthPaymentIntent,
|
|
203
205
|
ethStakingIntent_1.EthStakingIntent,
|
|
204
206
|
ethTransferTokenIntent_1.EthTransferTokenIntent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+CAA4C;AAC5C,6DAG8B;AAC9B,2DAAwD;AACxD,yDAAsD;AACtD,yEAAsE;AACtE,+DAA4D;AAC5D,mFAAgF;AAChF,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAA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IACjB,uCAAkB;IAClB,mDAAwB;IACxB,uDAA0B;IAC1B,mCAAgB;IAChB,uCAAkB;IAClB,yCAAmB;IACnB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,qCAAiB;IACjB,yCAAmB;IACnB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mDAAwB;IACxB,+CAAsB;IACtB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,iEAA+B;IAC/B,qEAAiC;IACjC,mCAAgB;IAChB,mEAAgC;IAChC,uEAAkC;IAClC,yCAAmB;IACnB,iDAAuB;IACvB,qDAAyB;IACzB,6CAAqB;IACrB,qDAAyB;IACzB,iCAAe;IACf,yDAA2B;IAC3B,qCAAiB;IACjB,6BAAa;IACb,iEAA+B;IAC/B,mCAAgB;IAChB,qCAAiB;IACjB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,+DAA8B;IAC9B,+CAAsB;IACtB,+CAAsB;IACtB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,yDAA2B;IAC3B,iDAAuB;IACvB,qEAAiC;IACjC,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAChB,oCAAe;IACf,sCAAiB;IAKjB,uBAAU;CACX,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stakeSwitchValidatorIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAE9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"stakeSwitchValidatorIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAE9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,eAAe;QAEvC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAE1B,oBAAoB,EAAE,CAAC,CAAC,MAAM;KAC/B,CAAC;CACH,CAAC,CAAC"}
|