@bitgo/public-types 4.3.1 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +2 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +46 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.js.map +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/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/ethLikeClaimIntent.d.ts +72 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeClaimIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeClaimIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeDelegateIntent.d.ts +77 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeDelegateIntent.js +44 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeDelegateIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeUndelegateIntent.d.ts +77 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeUndelegateIntent.js +44 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeUndelegateIntent.js.map +1 -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/index.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js +3 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +319 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +8 -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 +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/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/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 +44 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.js +36 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.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/adaStakeIntent.ts +7 -0
- package/src/schema/transactionRequest/intents/adaVoteDelegationIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/ethLikeClaimIntent.ts +25 -0
- package/src/schema/transactionRequest/intents/ethLikeDelegateIntent.ts +30 -0
- package/src/schema/transactionRequest/intents/ethLikeUndelegateIntent.ts +30 -0
- package/src/schema/transactionRequest/intents/index.ts +3 -0
- package/src/schema/transactionRequest/intents/intent.ts +9 -0
- package/src/schema/transactionRequest/intents/intentType.ts +1 -0
- package/src/schema/transactionRequest/intents/voteDelegationIntent.ts +19 -0
@@ -28,6 +28,7 @@ const t = __importStar(require("io-ts"));
|
|
28
28
|
const adaConsolidateIntent_1 = require("./adaConsolidateIntent");
|
29
29
|
const adaPaymentIntent_1 = require("./adaPaymentIntent");
|
30
30
|
const adaStakeIntent_1 = require("./adaStakeIntent");
|
31
|
+
const adaVoteDelegationIntent_1 = require("./adaVoteDelegationIntent");
|
31
32
|
const atomPaymentIntent_1 = require("./atomPaymentIntent");
|
32
33
|
const atomStakeIntent_1 = require("./atomStakeIntent");
|
33
34
|
const atomUnstakeIntent_1 = require("./atomUnstakeIntent");
|
@@ -86,12 +87,16 @@ const baseStakeIntentWithCalldata_1 = require("./baseStakeIntentWithCalldata");
|
|
86
87
|
const coredaoDelegateIntent_1 = require("./coredaoDelegateIntent");
|
87
88
|
const coredaoUndelegateIntent_1 = require("./coredaoUndelegateIntent");
|
88
89
|
const coredaoClaimIntent_1 = require("./coredaoClaimIntent");
|
90
|
+
const ethLikeDelegateIntent_1 = require("./ethLikeDelegateIntent");
|
91
|
+
const ethLikeUndelegateIntent_1 = require("./ethLikeUndelegateIntent");
|
92
|
+
const ethLikeClaimIntent_1 = require("./ethLikeClaimIntent");
|
89
93
|
exports.TransactionIntent = t.union([
|
90
94
|
adaConsolidateIntent_1.AdaConsolidateIntent,
|
91
95
|
adaPaymentIntent_1.AdaPaymentIntent,
|
92
96
|
adaStakeClaimRewardsIntent_1.AdaStakeClaimRewardsIntent,
|
93
97
|
adaStakeIntent_1.AdaStakeIntent,
|
94
98
|
adaUnstakeIntent_1.AdaUnstakeIntent,
|
99
|
+
adaVoteDelegationIntent_1.AdaVoteDelegationIntent,
|
95
100
|
atomPaymentIntent_1.AtomPaymentIntent,
|
96
101
|
atomStakeIntent_1.AtomStakeIntent,
|
97
102
|
atomUnstakeIntent_1.AtomUnstakeIntent,
|
@@ -147,6 +152,9 @@ exports.TransactionIntent = t.union([
|
|
147
152
|
coredaoDelegateIntent_1.CoreDaoDelegateIntent,
|
148
153
|
coredaoUndelegateIntent_1.CoreDaoUndelegateIntent,
|
149
154
|
coredaoClaimIntent_1.CoreDaoClaimIntent,
|
155
|
+
ethLikeDelegateIntent_1.EthLikeDelegateIntent,
|
156
|
+
ethLikeUndelegateIntent_1.EthLikeUndelegateIntent,
|
157
|
+
ethLikeClaimIntent_1.EthLikeClaimIntent,
|
150
158
|
baseIntent_1.BaseIntent,
|
151
159
|
]);
|
152
160
|
//# sourceMappingURL=intent.js.map
|
@@ -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,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC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;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,yCAAmB;IACnB,qCAAiB;IACjB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;
|
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,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,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,2DAAwD;AACxD,yDAAsD;AACtD,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,6EAA0E;AAC1E,yDAAsD;AACtD,yDAAsD;AACtD,iEAA8D;AAC9D,yEAAsE;AACtE,iEAA8D;AA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t.LiteralC<"claim">;
|
14
14
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
15
15
|
pledge: t.LiteralC<"pledge">;
|
16
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
16
17
|
vote: t.LiteralC<"vote">;
|
17
18
|
createAccount: t.LiteralC<"createAccount">;
|
18
19
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -44,6 +45,7 @@ export declare const IntentType: t.KeyofC<{
|
|
44
45
|
claim: t.LiteralC<"claim">;
|
45
46
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
46
47
|
pledge: t.LiteralC<"pledge">;
|
48
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
47
49
|
vote: t.LiteralC<"vote">;
|
48
50
|
createAccount: t.LiteralC<"createAccount">;
|
49
51
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -39,6 +39,7 @@ exports.intentTypes = {
|
|
39
39
|
claim: t.literal("claim"),
|
40
40
|
stakeClaimRewards: t.literal("stakeClaimRewards"),
|
41
41
|
pledge: t.literal("pledge"),
|
42
|
+
voteDelegation: t.literal("voteDelegation"),
|
42
43
|
vote: t.literal("vote"),
|
43
44
|
createAccount: t.literal("createAccount"),
|
44
45
|
updateAccount: t.literal("updateAccount"),
|
@@ -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,CAAC,OAAO,C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,OAAO,CAAC,eAAe,CAAC;IACzC,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAC7C,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;IAC7D,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IAC3C,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,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;CACtE,CAAC;AAEW,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,mBAAW,CAAC,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const LightningPaymentIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const MmiSignTransactionIntent: t.IntersectionC<[t.IntersectionC<
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const NearStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const NearUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const NearWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -14,6 +14,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
@@ -14,6 +14,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -50,6 +50,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
|
|
50
50
|
claim: t.LiteralC<"claim">;
|
51
51
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
52
52
|
pledge: t.LiteralC<"pledge">;
|
53
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
53
54
|
vote: t.LiteralC<"vote">;
|
54
55
|
createAccount: t.LiteralC<"createAccount">;
|
55
56
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -50,6 +51,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
50
51
|
claim: t.LiteralC<"claim">;
|
51
52
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
52
53
|
pledge: t.LiteralC<"pledge">;
|
54
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
53
55
|
vote: t.LiteralC<"vote">;
|
54
56
|
createAccount: t.LiteralC<"createAccount">;
|
55
57
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -68,6 +69,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
68
69
|
claim: t.LiteralC<"claim">;
|
69
70
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
70
71
|
pledge: t.LiteralC<"pledge">;
|
72
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
71
73
|
vote: t.LiteralC<"vote">;
|
72
74
|
createAccount: t.LiteralC<"createAccount">;
|
73
75
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const VoteDelegationIntent: 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
|
+
}>;
|
35
|
+
}>, t.PartialC<{
|
36
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
38
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
39
|
+
}>]>, t.TypeC<{
|
40
|
+
stakingRequestId: t.StringC;
|
41
|
+
}>]>, t.TypeC<{
|
42
|
+
intentType: t.LiteralC<"voteDelegation">;
|
43
|
+
}>]>;
|
44
|
+
export type VoteDelegationIntent = t.TypeOf<typeof VoteDelegationIntent>;
|
@@ -0,0 +1,36 @@
|
|
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.VoteDelegationIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const baseStakeIntent_1 = require("./baseStakeIntent");
|
29
|
+
const intentType_1 = require("./intentType");
|
30
|
+
exports.VoteDelegationIntent = t.intersection([
|
31
|
+
baseStakeIntent_1.BaseStakeIntent,
|
32
|
+
t.type({
|
33
|
+
intentType: intentType_1.intentTypes.voteDelegation,
|
34
|
+
}),
|
35
|
+
]);
|
36
|
+
//# sourceMappingURL=voteDelegationIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"voteDelegationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/voteDelegationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAS9B,QAAA,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
14
14
|
claim: t.LiteralC<"claim">;
|
15
15
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
16
16
|
pledge: t.LiteralC<"pledge">;
|
17
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
17
18
|
vote: t.LiteralC<"vote">;
|
18
19
|
createAccount: t.LiteralC<"createAccount">;
|
19
20
|
updateAccount: t.LiteralC<"updateAccount">;
|
package/package.json
CHANGED
@@ -5,11 +5,18 @@ import { Optional } from "../../../utils";
|
|
5
5
|
|
6
6
|
/**
|
7
7
|
* @title ADA Stake Intent
|
8
|
+
*
|
9
|
+
* @description The intent to stake ADA
|
10
|
+
*
|
11
|
+
* @param {string} poolKeyHash The key hash for the staking pool
|
12
|
+
* @param {string} dRepId The identifier for a DRep
|
13
|
+
* @param {Amount} amount The amount to stake
|
8
14
|
*/
|
9
15
|
export const AdaStakeIntent = t.intersection([
|
10
16
|
StakeIntent,
|
11
17
|
t.type({
|
12
18
|
poolKeyHash: t.string,
|
19
|
+
dRepId: t.string,
|
13
20
|
}),
|
14
21
|
t.partial({
|
15
22
|
amount: Optional(Amount),
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { VoteDelegationIntent } from "./voteDelegationIntent";
|
3
|
+
|
4
|
+
/**
|
5
|
+
* @title ADA Vote Delegation Intent
|
6
|
+
*
|
7
|
+
* @description The intent used for delegating ADA voting to a DRep
|
8
|
+
*
|
9
|
+
* @param {string} dRepId The identifier for a DRep
|
10
|
+
*/
|
11
|
+
export const AdaVoteDelegationIntent = t.intersection([
|
12
|
+
VoteDelegationIntent,
|
13
|
+
t.type({
|
14
|
+
dRepId: t.string,
|
15
|
+
}),
|
16
|
+
]);
|
17
|
+
|
18
|
+
export type AdaVoteDelegationIntent = t.TypeOf<typeof AdaVoteDelegationIntent>;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { BaseStakeIntent } from "./baseStakeIntent";
|
3
|
+
import { intentTypes } from "./intentType";
|
4
|
+
import { Optional } from "../../../utils";
|
5
|
+
import { RecipientEntry } from "./recipientEntry";
|
6
|
+
|
7
|
+
/**
|
8
|
+
* @title EthLike Claim Rewards Intent
|
9
|
+
*
|
10
|
+
* @description The intent for claim rewards requests and transactions for EthLike
|
11
|
+
*
|
12
|
+
* @param {string} intentType The type of intent (always set to stakeClaimRewards)
|
13
|
+
* @param {RecipientEntry[]} recipients The recipients of the claimed rewards
|
14
|
+
*/
|
15
|
+
export const EthLikeClaimIntent = t.intersection([
|
16
|
+
BaseStakeIntent,
|
17
|
+
t.type({
|
18
|
+
intentType: intentTypes.stakeClaimRewards,
|
19
|
+
}),
|
20
|
+
t.partial({
|
21
|
+
recipients: Optional(t.array(RecipientEntry)),
|
22
|
+
}),
|
23
|
+
]);
|
24
|
+
|
25
|
+
export type EthLikeClaimIntent = t.TypeOf<typeof EthLikeClaimIntent>;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { BaseStakeIntent } from "./baseStakeIntent";
|
3
|
+
import { intentTypes } from "./intentType";
|
4
|
+
import { Amount } from "./amount";
|
5
|
+
import { RecipientEntry } from "./recipientEntry";
|
6
|
+
import { Optional } from "../../../utils";
|
7
|
+
|
8
|
+
/**
|
9
|
+
* @title EthLike Delegate Intent
|
10
|
+
*
|
11
|
+
* @description The intent for delegate (stake) requests and transactions for EthLike
|
12
|
+
*
|
13
|
+
* @param {string} intentType The type of intent (always set to delegate)
|
14
|
+
* @param {string} validatorAddress The address of the validator
|
15
|
+
* @param {Amount} amount The amount to delegate
|
16
|
+
* @param {RecipientEntry[]} recipients The recipients of the delegated amount
|
17
|
+
*/
|
18
|
+
export const EthLikeDelegateIntent = t.intersection([
|
19
|
+
BaseStakeIntent,
|
20
|
+
t.type({
|
21
|
+
intentType: intentTypes.delegate,
|
22
|
+
validatorAddress: t.string,
|
23
|
+
amount: Amount,
|
24
|
+
}),
|
25
|
+
t.partial({
|
26
|
+
recipients: Optional(t.array(RecipientEntry)),
|
27
|
+
}),
|
28
|
+
]);
|
29
|
+
|
30
|
+
export type EthLikeDelegateIntent = t.TypeOf<typeof EthLikeDelegateIntent>;
|