@bitgo/public-types 4.18.3 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressRecoveryIntent.d.ts +60 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressRecoveryIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressRecoveryIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +70 -0
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/feeAddressRecoveryIntent.ts +14 -0
- package/src/schema/transactionRequest/intents/intentType.ts +1 -0
@@ -32,6 +32,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -32,6 +32,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -32,6 +32,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SubstrateBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SubstratePaymentIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -68,6 +68,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
|
|
68
68
|
customTx: t.LiteralC<"customTx">;
|
69
69
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
70
70
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
71
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
71
72
|
}>;
|
72
73
|
}>, t.PartialC<{
|
73
74
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -70,6 +71,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
70
71
|
customTx: t.LiteralC<"customTx">;
|
71
72
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
72
73
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
74
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
73
75
|
}>;
|
74
76
|
}>, t.PartialC<{
|
75
77
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -88,6 +89,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
88
89
|
customTx: t.LiteralC<"customTx">;
|
89
90
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
90
91
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
92
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
91
93
|
}>;
|
92
94
|
}>, t.PartialC<{
|
93
95
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -74,6 +75,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
74
75
|
customTx: t.LiteralC<"customTx">;
|
75
76
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
76
77
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
78
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
77
79
|
}>;
|
78
80
|
}>, t.PartialC<{
|
79
81
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TaoStakingBaseIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -82,6 +83,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
82
83
|
customTx: t.LiteralC<"customTx">;
|
83
84
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
84
85
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
86
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
85
87
|
}>;
|
86
88
|
}>, t.PartialC<{
|
87
89
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -32,6 +32,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressRecovery: t.LiteralC<"feeAddressRecovery">;
|
35
36
|
}>;
|
36
37
|
}>, t.PartialC<{
|
37
38
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/package.json
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
3
|
+
import { intentTypes } from "./intentType";
|
4
|
+
import { RecipientEntry } from "./recipientEntry";
|
5
|
+
|
6
|
+
export const FeeAddressRecoveryIntent = t.intersection([
|
7
|
+
BaseIntent,
|
8
|
+
t.type({
|
9
|
+
intentType: intentTypes.feeAddressRecovery,
|
10
|
+
recipients: t.array(RecipientEntry),
|
11
|
+
}),
|
12
|
+
]);
|
13
|
+
|
14
|
+
export type PaymentIntent = t.TypeOf<typeof FeeAddressRecoveryIntent>;
|
@@ -32,6 +32,7 @@ export const intentTypes = {
|
|
32
32
|
customTx: t.literal("customTx"),
|
33
33
|
closeAssociatedTokenAccount: t.literal("closeAssociatedTokenAccount"),
|
34
34
|
stakeWithCallData: t.literal("stakeWithCallData"),
|
35
|
+
feeAddressRecovery: t.literal("feeAddressRecovery"),
|
35
36
|
};
|
36
37
|
|
37
38
|
export const IntentType = t.keyof(intentTypes);
|