@bitgo/public-types 4.18.1 → 4.18.3
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/fillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +79 -1
- 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 +11 -1
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.js +2 -2
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.js.map +1 -1
- 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/intentType.ts +1 -0
- package/src/schema/transactionRequest/intents/taoUnstakeIntent.ts +2 -2
@@ -31,6 +31,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -31,6 +31,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -31,6 +31,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SubstrateBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SubstratePaymentIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -67,6 +67,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
|
|
67
67
|
deactivate: t.LiteralC<"deactivate">;
|
68
68
|
customTx: t.LiteralC<"customTx">;
|
69
69
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
70
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
70
71
|
}>;
|
71
72
|
}>, t.PartialC<{
|
72
73
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -68,6 +69,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
68
69
|
deactivate: t.LiteralC<"deactivate">;
|
69
70
|
customTx: t.LiteralC<"customTx">;
|
70
71
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
72
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
71
73
|
}>;
|
72
74
|
}>, t.PartialC<{
|
73
75
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -86,6 +87,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
86
87
|
deactivate: t.LiteralC<"deactivate">;
|
87
88
|
customTx: t.LiteralC<"customTx">;
|
88
89
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
90
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
89
91
|
}>;
|
90
92
|
}>, t.PartialC<{
|
91
93
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -72,6 +73,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
72
73
|
deactivate: t.LiteralC<"deactivate">;
|
73
74
|
customTx: t.LiteralC<"customTx">;
|
74
75
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
76
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
75
77
|
}>;
|
76
78
|
}>, t.PartialC<{
|
77
79
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TaoStakingBaseIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -39,7 +40,15 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
39
40
|
}>]>, t.TypeC<{
|
40
41
|
stakingRequestId: t.StringC;
|
41
42
|
}>]>, t.TypeC<{
|
42
|
-
intentType: t.LiteralC<"
|
43
|
+
intentType: t.LiteralC<"claim">;
|
44
|
+
}>, t.PartialC<{
|
45
|
+
amount: t.UnionC<[t.Type<{
|
46
|
+
value: string;
|
47
|
+
symbol: string;
|
48
|
+
}, {
|
49
|
+
value: string;
|
50
|
+
symbol: string;
|
51
|
+
}, unknown>, t.UndefinedC]>;
|
43
52
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
44
53
|
intentType: t.KeyofC<{
|
45
54
|
payment: t.LiteralC<"payment">;
|
@@ -72,6 +81,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
72
81
|
deactivate: t.LiteralC<"deactivate">;
|
73
82
|
customTx: t.LiteralC<"customTx">;
|
74
83
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
84
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
75
85
|
}>;
|
76
86
|
}>, t.PartialC<{
|
77
87
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
26
|
exports.TaoUnstakeIntent = void 0;
|
27
27
|
const t = __importStar(require("io-ts"));
|
28
|
-
const
|
28
|
+
const withdrawIntent_1 = require("./withdrawIntent");
|
29
29
|
const taoStakingBaseIntent_1 = require("./taoStakingBaseIntent");
|
30
30
|
exports.TaoUnstakeIntent = t.intersection([
|
31
|
-
|
31
|
+
withdrawIntent_1.WithdrawIntent,
|
32
32
|
taoStakingBaseIntent_1.TaoStakingBaseIntent,
|
33
33
|
t.type({
|
34
34
|
amountUnstaked: t.string,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,
|
1
|
+
{"version":3,"file":"taoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/taoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,iEAA8D;AAKjD,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,+BAAc;IACd,2CAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC"}
|
@@ -31,6 +31,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,6 +31,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
31
31
|
deactivate: t.LiteralC<"deactivate">;
|
32
32
|
customTx: t.LiteralC<"customTx">;
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
35
|
}>;
|
35
36
|
}>, t.PartialC<{
|
36
37
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/package.json
CHANGED
@@ -31,6 +31,7 @@ export const intentTypes = {
|
|
31
31
|
deactivate: t.literal("deactivate"),
|
32
32
|
customTx: t.literal("customTx"),
|
33
33
|
closeAssociatedTokenAccount: t.literal("closeAssociatedTokenAccount"),
|
34
|
+
stakeWithCallData: t.literal("stakeWithCallData"),
|
34
35
|
};
|
35
36
|
|
36
37
|
export const IntentType = t.keyof(intentTypes);
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as t from "io-ts";
|
2
|
-
import {
|
2
|
+
import { WithdrawIntent } from "./withdrawIntent";
|
3
3
|
import { TaoStakingBaseIntent } from "./taoStakingBaseIntent";
|
4
4
|
|
5
5
|
/**
|
6
6
|
* @title Tao Unstake Intent
|
7
7
|
*/
|
8
8
|
export const TaoUnstakeIntent = t.intersection([
|
9
|
-
|
9
|
+
WithdrawIntent,
|
10
10
|
TaoStakingBaseIntent,
|
11
11
|
t.type({
|
12
12
|
amountUnstaked: t.string,
|