@bitgo/public-types 5.5.1 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/schema/transactionRequest/intents/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 +1 -0
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +47 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.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/goUnstakeIntent.d.ts +65 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js +2 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +257 -2
- package/dist/src/schema/transactionRequest/intents/intent.js +4 -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 +2 -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/polyxBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.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/solGoUnstakeIntent.d.ts +69 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js.map +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/suiGoUnstakeIntent.d.ts +112 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js.map +1 -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/tokenApprovalIntent.d.ts +1 -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/baseGoStakeIntent.ts +19 -0
- package/src/schema/transactionRequest/intents/goUnstakeIntent.ts +22 -0
- package/src/schema/transactionRequest/intents/index.ts +2 -0
- package/src/schema/transactionRequest/intents/intent.ts +4 -0
- package/src/schema/transactionRequest/intents/intentType.ts +4 -0
- package/src/schema/transactionRequest/intents/solGoUnstakeIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts +16 -0
@@ -105,6 +105,8 @@ const beraDelegateIntent_1 = require("./beraDelegateIntent");
|
|
105
105
|
const walrusStakingIntent_1 = require("./walrusStakingIntent");
|
106
106
|
const walrusUndelegateIntent_1 = require("./walrusUndelegateIntent");
|
107
107
|
const walrusWithdrawIntent_1 = require("./walrusWithdrawIntent");
|
108
|
+
const solGoUnstakeIntent_1 = require("./solGoUnstakeIntent");
|
109
|
+
const suiGoUnstakeIntent_1 = require("./suiGoUnstakeIntent");
|
108
110
|
exports.TransactionIntent = t.union([
|
109
111
|
adaConsolidateIntent_1.AdaConsolidateIntent,
|
110
112
|
adaPaymentIntent_1.AdaPaymentIntent,
|
@@ -158,6 +160,7 @@ exports.TransactionIntent = t.union([
|
|
158
160
|
solCreateAssociatedTokenAccountIntent_1.SolCreateAssociatedTokenAccountIntent,
|
159
161
|
solDeactivateIntent_1.SolDeactivateIntent,
|
160
162
|
solDelegateIntent_1.SolDelegateIntent,
|
163
|
+
solGoUnstakeIntent_1.SolGoUnstakeIntent,
|
161
164
|
solPaymentIntent_1.SolPaymentIntent,
|
162
165
|
solStakeIntent_1.SolStakeIntent,
|
163
166
|
solUnstakeIntent_1.SolUnstakeIntent,
|
@@ -165,6 +168,7 @@ exports.TransactionIntent = t.union([
|
|
165
168
|
substratePaymentIntent_1.SubstratePaymentIntent,
|
166
169
|
suiConsolidateIntent_1.SuiConsolidateIntent,
|
167
170
|
suiCustomTxIntent_1.SuiCustomTxIntent,
|
171
|
+
suiGoUnstakeIntent_1.SuiGoUnstakeIntent,
|
168
172
|
suiPaymentIntent_1.SuiPaymentIntent,
|
169
173
|
suiStakingIntent_1.SuiStakingIntent,
|
170
174
|
suiUnstakingIntent_1.SuiUnstakingIntent,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,yEAAsE;AACtE,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,yEAAsE;AACtE,yDAAsD;AACtD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,6EAA0E;AAC1E,qEAAkE;AAClE,qDAAkD;AAClD,yDAAsD;AACtD,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,6EAA0E;AAC1E,yDAAsD;AACtD,yDAAsD;AACtD,iEAA8D;AAC9D,yEAAsE;AACtE,iEAA8D;AAC9D,2EAAwE;AACxE,qEAAkE;AAClE,6CAA0C;AAC1C,iEAA8D;AAC9D,iGAA8F;AAC9F,+EAA4E;AAC5E,mEAAgE;AAChE,uEAAoE;AACpE,6DAA0D;AAC1D,6DAA0D;AAC1D,6DAA0D;AAC1D,+DAA4D;AAC5D,qEAAkE;AAClE,iEAA8D;
|
1
|
+
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,yEAAsE;AACtE,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,yEAAsE;AACtE,yDAAsD;AACtD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,6EAA0E;AAC1E,qEAAkE;AAClE,qDAAkD;AAClD,yDAAsD;AACtD,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,6EAA0E;AAC1E,yDAAsD;AACtD,yDAAsD;AACtD,iEAA8D;AAC9D,yEAAsE;AACtE,iEAA8D;AAC9D,2EAAwE;AACxE,qEAAkE;AAClE,6CAA0C;AAC1C,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IACjB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IAKpB,uBAAU;CACX,CAAC,CAAC"}
|
@@ -33,6 +33,7 @@ export declare const intentTypes: {
|
|
33
33
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
34
34
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
35
35
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
36
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
36
37
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
37
38
|
};
|
38
39
|
export declare const IntentType: t.KeyofC<{
|
@@ -69,6 +70,7 @@ export declare const IntentType: t.KeyofC<{
|
|
69
70
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
70
71
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
71
72
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
73
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
72
74
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
73
75
|
}>;
|
74
76
|
export type IntentType = t.TypeOf<typeof IntentType>;
|
@@ -59,6 +59,7 @@ exports.intentTypes = {
|
|
59
59
|
stakeWithCallData: t.literal("stakeWithCallData"),
|
60
60
|
feeAddressTransfer: t.literal("feeAddressTransfer"),
|
61
61
|
tokenApproval: t.literal("tokenApproval"),
|
62
|
+
goUnstake: t.literal("goUnstake"),
|
62
63
|
createBtcDelegation: t.literal("createBtcDelegation"),
|
63
64
|
};
|
64
65
|
exports.IntentType = t.keyof(exports.intentTypes);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"intentType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACrE,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACjD,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IACnD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAIzC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAIjC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CACtD,CAAC;AAEW,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,mBAAW,CAAC,CAAC"}
|
@@ -34,6 +34,7 @@ export declare const LightningPaymentIntent: t.UnionC<[t.IntersectionC<[t.Inters
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -86,6 +87,7 @@ export declare const LightningPaymentIntent: t.UnionC<[t.IntersectionC<[t.Inters
|
|
86
87
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
87
88
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
88
89
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
90
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
89
91
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
90
92
|
}>;
|
91
93
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const MmiSignTransactionIntent: t.IntersectionC<[t.IntersectionC<
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const NearStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const NearUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const NearWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PolyxBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PolyxCreateAccountIntent: t.IntersectionC<[t.IntersectionC<
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PolyxStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PolyxUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const PolyxWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -34,6 +34,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -34,6 +34,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
18
|
+
vote: t.LiteralC<"vote">;
|
19
|
+
createAccount: t.LiteralC<"createAccount">;
|
20
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
21
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
22
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
23
|
+
signMessage: t.LiteralC<"signMessage">;
|
24
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
25
|
+
enableToken: t.LiteralC<"enableToken">;
|
26
|
+
authorize: t.LiteralC<"authorize">;
|
27
|
+
acceleration: t.LiteralC<"acceleration">;
|
28
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
29
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
30
|
+
contractCall: t.LiteralC<"contractCall">;
|
31
|
+
deactivate: t.LiteralC<"deactivate">;
|
32
|
+
customTx: t.LiteralC<"customTx">;
|
33
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
38
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
39
|
+
}>;
|
40
|
+
}>, t.PartialC<{
|
41
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
42
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
43
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
44
|
+
}>]>, t.TypeC<{
|
45
|
+
goStakingRequestId: t.StringC;
|
46
|
+
}>]>, t.TypeC<{
|
47
|
+
intentType: t.LiteralC<"goUnstake">;
|
48
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
49
|
+
address: t.PartialC<{
|
50
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
51
|
+
option: t.UnionC<[t.Type<{
|
52
|
+
[x: string]: unknown;
|
53
|
+
}, {
|
54
|
+
[x: string]: unknown;
|
55
|
+
}, unknown>, t.UndefinedC]>;
|
56
|
+
}>;
|
57
|
+
amount: t.TypeC<{
|
58
|
+
value: t.StringC;
|
59
|
+
symbol: t.StringC;
|
60
|
+
}>;
|
61
|
+
}>, t.PartialC<{
|
62
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
63
|
+
}>]>>;
|
64
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
65
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
66
|
+
}>, t.TypeC<{
|
67
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
68
|
+
}>]>]>;
|
69
|
+
export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.SolGoUnstakeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const solBuildOptions_1 = require("./solBuildOptions");
|
29
|
+
const goUnstakeIntent_1 = require("./goUnstakeIntent");
|
30
|
+
exports.SolGoUnstakeIntent = t.intersection([
|
31
|
+
goUnstakeIntent_1.GoUnstakeIntent,
|
32
|
+
solBuildOptions_1.SolBuildOptions,
|
33
|
+
]);
|
34
|
+
//# sourceMappingURL=solGoUnstakeIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"solGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;AAQvC,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IACf,iCAAe;CAChB,CAAC,CAAC"}
|
@@ -34,6 +34,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SubstrateBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SubstratePaymentIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -94,6 +94,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
|
|
94
94
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
95
95
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
96
96
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
97
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
97
98
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
98
99
|
}>;
|
99
100
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -75,6 +76,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
75
76
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
76
77
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
77
78
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
79
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
78
80
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
79
81
|
}>;
|
80
82
|
}>, t.PartialC<{
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const SuiGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
3
|
+
intentType: t.KeyofC<{
|
4
|
+
payment: t.LiteralC<"payment">;
|
5
|
+
transferToken: t.LiteralC<"transferToken">;
|
6
|
+
consolidate: t.LiteralC<"consolidate">;
|
7
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
8
|
+
fanout: t.LiteralC<"fanout">;
|
9
|
+
stake: t.LiteralC<"stake">;
|
10
|
+
unstake: t.LiteralC<"unstake">;
|
11
|
+
delegate: t.LiteralC<"delegate">;
|
12
|
+
undelegate: t.LiteralC<"undelegate">;
|
13
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
14
|
+
claim: t.LiteralC<"claim">;
|
15
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
|
+
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
18
|
+
vote: t.LiteralC<"vote">;
|
19
|
+
createAccount: t.LiteralC<"createAccount">;
|
20
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
21
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
22
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
23
|
+
signMessage: t.LiteralC<"signMessage">;
|
24
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
25
|
+
enableToken: t.LiteralC<"enableToken">;
|
26
|
+
authorize: t.LiteralC<"authorize">;
|
27
|
+
acceleration: t.LiteralC<"acceleration">;
|
28
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
29
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
30
|
+
contractCall: t.LiteralC<"contractCall">;
|
31
|
+
deactivate: t.LiteralC<"deactivate">;
|
32
|
+
customTx: t.LiteralC<"customTx">;
|
33
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
34
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
38
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
39
|
+
}>;
|
40
|
+
}>, t.PartialC<{
|
41
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
42
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
43
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
44
|
+
}>]>, t.TypeC<{
|
45
|
+
goStakingRequestId: t.StringC;
|
46
|
+
}>]>, t.TypeC<{
|
47
|
+
intentType: t.LiteralC<"goUnstake">;
|
48
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
49
|
+
address: t.PartialC<{
|
50
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
51
|
+
option: t.UnionC<[t.Type<{
|
52
|
+
[x: string]: unknown;
|
53
|
+
}, {
|
54
|
+
[x: string]: unknown;
|
55
|
+
}, unknown>, t.UndefinedC]>;
|
56
|
+
}>;
|
57
|
+
amount: t.TypeC<{
|
58
|
+
value: t.StringC;
|
59
|
+
symbol: t.StringC;
|
60
|
+
}>;
|
61
|
+
}>, t.PartialC<{
|
62
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
63
|
+
}>]>>;
|
64
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
65
|
+
intentType: t.KeyofC<{
|
66
|
+
payment: t.LiteralC<"payment">;
|
67
|
+
transferToken: t.LiteralC<"transferToken">;
|
68
|
+
consolidate: t.LiteralC<"consolidate">;
|
69
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
70
|
+
fanout: t.LiteralC<"fanout">;
|
71
|
+
stake: t.LiteralC<"stake">;
|
72
|
+
unstake: t.LiteralC<"unstake">;
|
73
|
+
delegate: t.LiteralC<"delegate">;
|
74
|
+
undelegate: t.LiteralC<"undelegate">;
|
75
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
76
|
+
claim: t.LiteralC<"claim">;
|
77
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
78
|
+
pledge: t.LiteralC<"pledge">;
|
79
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
80
|
+
vote: t.LiteralC<"vote">;
|
81
|
+
createAccount: t.LiteralC<"createAccount">;
|
82
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
83
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
84
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
85
|
+
signMessage: t.LiteralC<"signMessage">;
|
86
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
87
|
+
enableToken: t.LiteralC<"enableToken">;
|
88
|
+
authorize: t.LiteralC<"authorize">;
|
89
|
+
acceleration: t.LiteralC<"acceleration">;
|
90
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
91
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
92
|
+
contractCall: t.LiteralC<"contractCall">;
|
93
|
+
deactivate: t.LiteralC<"deactivate">;
|
94
|
+
customTx: t.LiteralC<"customTx">;
|
95
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
96
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
97
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
98
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
99
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
100
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
101
|
+
}>;
|
102
|
+
}>, t.PartialC<{
|
103
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
104
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
105
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
106
|
+
}>]>, t.TypeC<{
|
107
|
+
feeOptions: t.TypeC<{
|
108
|
+
gasLimit: t.NumberC;
|
109
|
+
}>;
|
110
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
111
|
+
}>]>]>;
|
112
|
+
export type SuiGoUnstakeIntent = t.TypeOf<typeof SuiGoUnstakeIntent>;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.SuiGoUnstakeIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const suiBuildOptions_1 = require("./suiBuildOptions");
|
29
|
+
const goUnstakeIntent_1 = require("./goUnstakeIntent");
|
30
|
+
exports.SuiGoUnstakeIntent = t.intersection([
|
31
|
+
goUnstakeIntent_1.GoUnstakeIntent,
|
32
|
+
suiBuildOptions_1.SuiBuildOptions,
|
33
|
+
]);
|
34
|
+
//# sourceMappingURL=suiGoUnstakeIntent.js.map
|