@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
@@ -14,6 +14,7 @@ export declare const AccelerationIntent: 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 AccountBaseCreateAccountIntent: 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">;
|
@@ -14,6 +14,7 @@ export declare const AccountBaseUpdateAccountIntent: 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">;
|
@@ -14,6 +14,7 @@ export declare const AdaPaymentIntent: 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 AdaPledgeIntent: 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 AdaStakeClaimRewardsIntent: 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 AdaStakeIntent: 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">;
|
@@ -41,6 +42,7 @@ export declare const AdaStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
41
42
|
intentType: t.LiteralC<"stake">;
|
42
43
|
}>]>, t.TypeC<{
|
43
44
|
poolKeyHash: t.StringC;
|
45
|
+
dRepId: t.StringC;
|
44
46
|
}>, t.PartialC<{
|
45
47
|
amount: t.UnionC<[t.Type<{
|
46
48
|
value: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"adaStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,qCAAkC;AAClC,0CAA0C;
|
1
|
+
{"version":3,"file":"adaStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,qCAAkC;AAClC,0CAA0C;AAW7B,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,yBAAW;IACX,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,MAAM;QACrB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;KACzB,CAAC;CACH,CAAC,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const AdaUnstakeIntent: 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">;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const AdaVoteDelegationIntent: 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
|
+
}>;
|
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
|
+
}>]>, t.TypeC<{
|
44
|
+
dRepId: t.StringC;
|
45
|
+
}>]>;
|
46
|
+
export type AdaVoteDelegationIntent = t.TypeOf<typeof AdaVoteDelegationIntent>;
|
@@ -0,0 +1,35 @@
|
|
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.AdaVoteDelegationIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const voteDelegationIntent_1 = require("./voteDelegationIntent");
|
29
|
+
exports.AdaVoteDelegationIntent = t.intersection([
|
30
|
+
voteDelegationIntent_1.VoteDelegationIntent,
|
31
|
+
t.type({
|
32
|
+
dRepId: t.string,
|
33
|
+
}),
|
34
|
+
]);
|
35
|
+
//# sourceMappingURL=adaVoteDelegationIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"adaVoteDelegationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/adaVoteDelegationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AASjD,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,2CAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
@@ -14,6 +14,7 @@ export declare const AtomPaymentIntent: 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 AtomStakeIntent: 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 AtomUnstakeIntent: 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 AtomWithdrawIntent: 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 BaseIntent: 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">;
|
@@ -52,6 +53,7 @@ export declare const BaseIntentWithoutNonce: t.IntersectionC<[t.TypeC<{
|
|
52
53
|
claim: t.LiteralC<"claim">;
|
53
54
|
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
54
55
|
pledge: t.LiteralC<"pledge">;
|
56
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
55
57
|
vote: t.LiteralC<"vote">;
|
56
58
|
createAccount: t.LiteralC<"createAccount">;
|
57
59
|
updateAccount: t.LiteralC<"updateAccount">;
|
@@ -14,6 +14,7 @@ export declare const BaseStakeIntent: 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 BaseStakeIntentWithCalldata: t.IntersectionC<[t.Intersectio
|
|
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 BscDelegateIntent: 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 BscStakeClaimRewardsIntent: 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 BscUnDelegateIntent: t.IntersectionC<[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">;
|
@@ -14,6 +14,7 @@ export declare const BscWithdrawUndelegateIntent: t.IntersectionC<[t.Intersectio
|
|
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 ConsolidateTokenIntent: 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 CoreDaoClaimIntent: 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 CoreDaoDelegateIntent: 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 CoreDaoUndelegateIntent: 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 CosmosPaymentIntent: t.IntersectionC<[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">;
|
@@ -14,6 +14,7 @@ export declare const CosmosStakeIntent: 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 CosmosSwitchValidatorIntent: t.IntersectionC<[t.Intersectio
|
|
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 CosmosUnstakeIntent: t.IntersectionC<[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">;
|
@@ -14,6 +14,7 @@ export declare const CosmosWithdrawIntent: 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 DotBaseIntent: 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 DotCreateAccountIntent: 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 DotPaymentIntent: 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 DotStakingIntent: 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 DotUnstakingIntent: 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 DotWithdrawStakeIntent: 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 EnableTokenIntent: 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 EthAccelerationIntent: 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 EthConsolidateTokenIntent: 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 EthFillNonceIntent: 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">;
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
export declare const EthLikeClaimIntent: 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<"stakeClaimRewards">;
|
43
|
+
}>, t.PartialC<{
|
44
|
+
recipients: t.UnionC<[t.Type<({
|
45
|
+
address: {
|
46
|
+
address?: string | undefined;
|
47
|
+
option?: {
|
48
|
+
[x: string]: unknown;
|
49
|
+
} | undefined;
|
50
|
+
};
|
51
|
+
amount: {
|
52
|
+
value: string;
|
53
|
+
symbol: string;
|
54
|
+
};
|
55
|
+
} & {
|
56
|
+
data?: string | undefined;
|
57
|
+
})[], ({
|
58
|
+
address: {
|
59
|
+
address?: string | undefined;
|
60
|
+
option?: {
|
61
|
+
[x: string]: unknown;
|
62
|
+
} | undefined;
|
63
|
+
};
|
64
|
+
amount: {
|
65
|
+
value: string;
|
66
|
+
symbol: string;
|
67
|
+
};
|
68
|
+
} & {
|
69
|
+
data?: string | undefined;
|
70
|
+
})[], unknown>, t.UndefinedC]>;
|
71
|
+
}>]>;
|
72
|
+
export type EthLikeClaimIntent = t.TypeOf<typeof EthLikeClaimIntent>;
|
@@ -0,0 +1,41 @@
|
|
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.EthLikeClaimIntent = void 0;
|
27
|
+
const t = __importStar(require("io-ts"));
|
28
|
+
const baseStakeIntent_1 = require("./baseStakeIntent");
|
29
|
+
const intentType_1 = require("./intentType");
|
30
|
+
const utils_1 = require("../../../utils");
|
31
|
+
const recipientEntry_1 = require("./recipientEntry");
|
32
|
+
exports.EthLikeClaimIntent = t.intersection([
|
33
|
+
baseStakeIntent_1.BaseStakeIntent,
|
34
|
+
t.type({
|
35
|
+
intentType: intentType_1.intentTypes.stakeClaimRewards,
|
36
|
+
}),
|
37
|
+
t.partial({
|
38
|
+
recipients: (0, utils_1.Optional)(t.array(recipientEntry_1.RecipientEntry)),
|
39
|
+
}),
|
40
|
+
]);
|
41
|
+
//# sourceMappingURL=ethLikeClaimIntent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ethLikeClaimIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/ethLikeClaimIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAC3C,0CAA0C;AAC1C,qDAAkD;AAUrC,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;KAC1C,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC"}
|