@bitgo/public-types 4.23.0 → 4.25.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/babyCreateBtcDelegationIntent.d.ts +48 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.js.map +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/feeAddressTransferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/index.js +1 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +118 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -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 +2 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -1
- 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/babyCreateBtcDelegationIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/index.ts +1 -0
- package/src/schema/transactionRequest/intents/intent.ts +2 -0
- package/src/schema/transactionRequest/intents/intentType.ts +1 -0
- package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +1 -0
@@ -58,6 +58,7 @@ exports.intentTypes = {
|
|
58
58
|
closeAssociatedTokenAccount: t.literal("closeAssociatedTokenAccount"),
|
59
59
|
stakeWithCallData: t.literal("stakeWithCallData"),
|
60
60
|
feeAddressTransfer: t.literal("feeAddressTransfer"),
|
61
|
+
createBtcDelegation: t.literal("createBtcDelegation"),
|
61
62
|
};
|
62
63
|
exports.IntentType = t.keyof(exports.intentTypes);
|
63
64
|
//# sourceMappingURL=intentType.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"intentType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC7B,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACzC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC/C,MAAM,EAAE,CAAC,CA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t
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const MmiSignTransactionIntent: t.IntersectionC<[t.IntersectionC<
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const NearStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const NearUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const NearWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -33,6 +33,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -33,6 +33,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -63,5 +64,6 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
63
64
|
value: string;
|
64
65
|
symbol: string;
|
65
66
|
}, unknown>, t.UndefinedC]>;
|
67
|
+
isMarinade: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
66
68
|
}>]>;
|
67
69
|
export type SolUnstakeIntent = t.TypeOf<typeof SolUnstakeIntent>;
|
@@ -38,6 +38,7 @@ exports.SolUnstakeIntent = t.intersection([
|
|
38
38
|
t.partial({
|
39
39
|
amount: (0, utils_1.Optional)(amount_1.Amount),
|
40
40
|
remainingStakingAmount: (0, utils_1.Optional)(amount_1.Amount),
|
41
|
+
isMarinade: (0, utils_1.Optional)(t.boolean),
|
41
42
|
}),
|
42
43
|
]);
|
43
44
|
//# sourceMappingURL=solUnstakeIntent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAK7B,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,sBAAsB,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;
|
1
|
+
{"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAK7B,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxB,sBAAsB,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QACxC,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;KAChC,CAAC;CACH,CAAC,CAAC"}
|
@@ -33,6 +33,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SubstrateBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SubstratePaymentIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -69,6 +69,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
|
|
69
69
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
70
70
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
71
71
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
72
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
72
73
|
}>;
|
73
74
|
}>, t.PartialC<{
|
74
75
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -72,6 +73,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
72
73
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
73
74
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
74
75
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
76
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
75
77
|
}>;
|
76
78
|
}>, t.PartialC<{
|
77
79
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -90,6 +91,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
90
91
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
91
92
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
92
93
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
94
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
93
95
|
}>;
|
94
96
|
}>, t.PartialC<{
|
95
97
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -76,6 +77,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
76
77
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
77
78
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
78
79
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
80
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
79
81
|
}>;
|
80
82
|
}>, t.PartialC<{
|
81
83
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TaoStakingBaseIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -84,6 +85,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
84
85
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
85
86
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
86
87
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
88
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
87
89
|
}>;
|
88
90
|
}>, t.PartialC<{
|
89
91
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -33,6 +33,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
33
33
|
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
36
37
|
}>;
|
37
38
|
}>, t.PartialC<{
|
38
39
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
package/package.json
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { intentTypes } from "./intentType";
|
3
|
+
import { BaseStakeIntent } from "./baseStakeIntent";
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @title Baby CreateBtcDelegation Intent
|
7
|
+
*
|
8
|
+
* @param {string} createBtcDelegationBytes - MsgCreateBTCDelegation protobuf bytes encoded as hex
|
9
|
+
*/
|
10
|
+
export const BabyCreateBtcDelegationIntent = t.intersection([
|
11
|
+
BaseStakeIntent,
|
12
|
+
t.type({
|
13
|
+
intentType: intentTypes.createBtcDelegation,
|
14
|
+
createBtcDelegationBytes: t.string,
|
15
|
+
}),
|
16
|
+
]);
|
17
|
+
|
18
|
+
export type BabyCreateBtcDelegationIntent = t.TypeOf<
|
19
|
+
typeof BabyCreateBtcDelegationIntent
|
20
|
+
>;
|
@@ -16,6 +16,7 @@ export * from "./atomPaymentIntent";
|
|
16
16
|
export * from "./atomStakeIntent";
|
17
17
|
export * from "./atomUnstakeIntent";
|
18
18
|
export * from "./atomWithdrawIntent";
|
19
|
+
export * from "./babyCreateBtcDelegationIntent";
|
19
20
|
export * from "./baseIntent";
|
20
21
|
export * from "./baseStakeIntent";
|
21
22
|
export * from "./baseStakeIntentWithCalldata";
|
@@ -7,6 +7,7 @@ import { AtomPaymentIntent } from "./atomPaymentIntent";
|
|
7
7
|
import { AtomStakeIntent } from "./atomStakeIntent";
|
8
8
|
import { AtomUnstakeIntent } from "./atomUnstakeIntent";
|
9
9
|
import { AtomWithdrawIntent } from "./atomWithdrawIntent";
|
10
|
+
import { BabyCreateBtcDelegationIntent } from "./babyCreateBtcDelegationIntent";
|
10
11
|
import { BscDelegateIntent } from "./bscDelegateIntent";
|
11
12
|
import { BscUnDelegateIntent } from "./bscUndelegateIntent";
|
12
13
|
import { BscWithdrawUndelegateIntent } from "./bscWithdrawUndelegateIntent";
|
@@ -84,6 +85,7 @@ export const TransactionIntent = t.union([
|
|
84
85
|
AtomStakeIntent,
|
85
86
|
AtomUnstakeIntent,
|
86
87
|
AtomWithdrawIntent,
|
88
|
+
BabyCreateBtcDelegationIntent,
|
87
89
|
BscDelegateIntent,
|
88
90
|
BscUnDelegateIntent,
|
89
91
|
BscWithdrawUndelegateIntent,
|
@@ -33,6 +33,7 @@ export const intentTypes = {
|
|
33
33
|
closeAssociatedTokenAccount: t.literal("closeAssociatedTokenAccount"),
|
34
34
|
stakeWithCallData: t.literal("stakeWithCallData"),
|
35
35
|
feeAddressTransfer: t.literal("feeAddressTransfer"),
|
36
|
+
createBtcDelegation: t.literal("createBtcDelegation"),
|
36
37
|
};
|
37
38
|
|
38
39
|
export const IntentType = t.keyof(intentTypes);
|