@bitgo/public-types 5.94.0 → 5.96.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/keyGen/index.d.ts +1 -0
- package/dist/src/schema/keyGen/index.js +1 -0
- package/dist/src/schema/keyGen/index.js.map +1 -1
- package/dist/src/schema/keyGen/keyCurve.d.ts +7 -0
- package/dist/src/schema/keyGen/keyCurve.js +34 -0
- package/dist/src/schema/keyGen/keyCurve.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +5 -0
- package/dist/src/schema/transactionRequest/intents/index.js +5 -0
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +363 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +10 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +74 -0
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +76 -0
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +75 -0
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.js +40 -0
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +84 -0
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.js +45 -0
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +74 -0
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.js +39 -0
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +2202 -1476
- package/package.json +1 -1
- package/src/schema/keyGen/index.ts +1 -0
- package/src/schema/keyGen/keyCurve.ts +8 -0
- package/src/schema/transactionRequest/intents/index.ts +5 -0
- package/src/schema/transactionRequest/intents/intent.ts +10 -0
- package/src/schema/transactionRequest/intents/trxClaimRewardsIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/trxFreezeIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/trxUnfreezeIntent.ts +19 -0
- package/src/schema/transactionRequest/intents/trxVoteIntent.ts +27 -0
- package/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts +20 -0
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./keyCurve"), exports);
|
|
17
18
|
__exportStar(require("./keyGenState"), exports);
|
|
18
19
|
__exportStar(require("./keyGenType"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
|
|
@@ -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.KeyCurve = exports.KeyCurveEnum = void 0;
|
|
27
|
+
const t = __importStar(require("io-ts"));
|
|
28
|
+
var KeyCurveEnum;
|
|
29
|
+
(function (KeyCurveEnum) {
|
|
30
|
+
KeyCurveEnum["EdDSA"] = "EdDSA";
|
|
31
|
+
KeyCurveEnum["ECDSA"] = "ECDSA";
|
|
32
|
+
})(KeyCurveEnum || (exports.KeyCurveEnum = KeyCurveEnum = {}));
|
|
33
|
+
exports.KeyCurve = t.keyof(KeyCurveEnum);
|
|
34
|
+
//# sourceMappingURL=keyCurve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyCurve.js","sourceRoot":"","sources":["../../../../src/schema/keyGen/keyCurve.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AACY,QAAA,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -165,6 +165,11 @@ export * from "./tonUndelegateIntent";
|
|
|
165
165
|
export * from "./tonWhalesDelegateIntent";
|
|
166
166
|
export * from "./tonWhalesUndelegateIntent";
|
|
167
167
|
export * from "./transferTokenIntent";
|
|
168
|
+
export * from "./trxClaimRewardsIntent";
|
|
169
|
+
export * from "./trxFreezeIntent";
|
|
170
|
+
export * from "./trxUnfreezeIntent";
|
|
171
|
+
export * from "./trxVoteIntent";
|
|
172
|
+
export * from "./trxWithdrawExpireUnfreezeIntent";
|
|
168
173
|
export * from "./unstakeIntent";
|
|
169
174
|
export * from "./unsupportedTokenRecipientEntryItem";
|
|
170
175
|
export * from "./validatorRegistrationIntent";
|
|
@@ -181,6 +181,11 @@ __exportStar(require("./tonUndelegateIntent"), exports);
|
|
|
181
181
|
__exportStar(require("./tonWhalesDelegateIntent"), exports);
|
|
182
182
|
__exportStar(require("./tonWhalesUndelegateIntent"), exports);
|
|
183
183
|
__exportStar(require("./transferTokenIntent"), exports);
|
|
184
|
+
__exportStar(require("./trxClaimRewardsIntent"), exports);
|
|
185
|
+
__exportStar(require("./trxFreezeIntent"), exports);
|
|
186
|
+
__exportStar(require("./trxUnfreezeIntent"), exports);
|
|
187
|
+
__exportStar(require("./trxVoteIntent"), exports);
|
|
188
|
+
__exportStar(require("./trxWithdrawExpireUnfreezeIntent"), exports);
|
|
184
189
|
__exportStar(require("./unstakeIntent"), exports);
|
|
185
190
|
__exportStar(require("./unsupportedTokenRecipientEntryItem"), exports);
|
|
186
191
|
__exportStar(require("./validatorRegistrationIntent"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AACjD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,+DAA6C;AAC7C,mDAAiC;AACjC,qDAAmC;AACnC,4DAA0C;AAC1C,4CAA0B;AAC1B,2CAAyB;AACzB,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,uDAAqC;AACrC,kEAAgD;AAChD,6DAA2C;AAC3C,0DAAwC;AACxC,sDAAoC;AACpC,+CAA6B;AAC7B,oDAAkC;AAClC,gEAA8C;AAC9C,uDAAqC;AACrC,sDAAoC;AACpC,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,wDAAsC;AACtC,+DAA6C;AAC7C,oEAAkD;AAClD,uEAAqD;AACrD,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,kDAAgC;AAChC,yDAAuC;AACvC,2DAAyC;AACzC,wDAAsC;AACtC,kDAAgC;AAChC,qDAAmC;AACnC,6CAA2B;AAC3B,qDAAmC;AACnC,uDAAqC;AACrC,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,0DAAwC;AACxC,oDAAkC;AAClC,yDAAuC;AACvC,8DAA4C;AAC5C,uDAAqC;AACrC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,2DAAyC;AACzC,6DAA2C;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AAkD;AAClD,sEAAoD;AACpD,qDAAmC;AACnC,qEAAmD;AACnD,uEAAqD;AACrD,mDAAiC;AACjC,wDAAsC;AACtC,4DAA0C;AAC1C,8DAA4C;AAC5C,wDAAsC;AACtC,kDAAgC;AAChC,uEAAqD;AACrD,gEAA8C;AAC9C,sDAAoC;AACpC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD;AACjD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,oDAAkC;AAClC,+DAA6C;AAC7C,mDAAiC;AACjC,qDAAmC;AACnC,4DAA0C;AAC1C,4CAA0B;AAC1B,2CAAyB;AACzB,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,uDAAqC;AACrC,kEAAgD;AAChD,6DAA2C;AAC3C,0DAAwC;AACxC,sDAAoC;AACpC,+CAA6B;AAC7B,oDAAkC;AAClC,gEAA8C;AAC9C,uDAAqC;AACrC,sDAAoC;AACpC,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,wDAAsC;AACtC,+DAA6C;AAC7C,oEAAkD;AAClD,uEAAqD;AACrD,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C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AAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,8DAA4C;AAC5C,wDAAsC;AACtC,2DAAyC;AACzC,oDAAkC;AAClC,yDAAuC;AACvC,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,uDAAqC;AACrC,qEAAmD;AACnD,mDAAiC;AACjC,yDAAuC;AACvC,6DAA2C;AAC3C,2DAAyC;AACzC,qDAAmC;AACnC,wDAAsC;AACtC,8CAA4B;AAC5B,oDAAkC;AAClC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,sDAAoC;AACpC,oEAAkD;AAClD,sEAAoD;AACpD,qDAAmC;AACnC,qEAAmD;AACnD,uEAAqD;AACrD,mDAAiC;AACjC,wDAAsC;AACtC,4DAA0C;AAC1C,8DAA4C;AAC5C,wDAAsC;AACtC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,kDAAgC;AAChC,oEAAkD;AAClD,kDAAgC;AAChC,uEAAqD;AACrD,gEAA8C;AAC9C,sDAAoC;AACpC,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC"}
|
|
@@ -8120,6 +8120,369 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
8120
8120
|
symbol: t.StringC;
|
|
8121
8121
|
}>;
|
|
8122
8122
|
tonStakingType: t.LiteralC<import("./tonStakingType").TonStakingTypeEnum.TON_WHALES>;
|
|
8123
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8124
|
+
intentType: t.KeyofC<{
|
|
8125
|
+
payment: t.LiteralC<"payment">;
|
|
8126
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8127
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8128
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8129
|
+
fanout: t.LiteralC<"fanout">;
|
|
8130
|
+
stake: t.LiteralC<"stake">;
|
|
8131
|
+
unstake: t.LiteralC<"unstake">;
|
|
8132
|
+
delegate: t.LiteralC<"delegate">;
|
|
8133
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8134
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8135
|
+
claim: t.LiteralC<"claim">;
|
|
8136
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8137
|
+
pledge: t.LiteralC<"pledge">;
|
|
8138
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8139
|
+
vote: t.LiteralC<"vote">;
|
|
8140
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
8141
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
8142
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
8143
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
8144
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
8145
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
8146
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
8147
|
+
authorize: t.LiteralC<"authorize">;
|
|
8148
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
8149
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
8150
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
8151
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
8152
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
8153
|
+
customTx: t.LiteralC<"customTx">;
|
|
8154
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
8155
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
8156
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
8157
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
8158
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
8159
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
8160
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
8161
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
8162
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
8163
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
8164
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
8165
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
8166
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
8167
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
8168
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
8169
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
8170
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
8171
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
8172
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
8173
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
8174
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
8175
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
8176
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
8177
|
+
}>;
|
|
8178
|
+
}>, t.PartialC<{
|
|
8179
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8180
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8181
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8182
|
+
}>]>, t.TypeC<{
|
|
8183
|
+
stakingRequestId: t.StringC;
|
|
8184
|
+
}>, t.PartialC<{
|
|
8185
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
8186
|
+
}>]>, t.TypeC<{
|
|
8187
|
+
amount: t.TypeC<{
|
|
8188
|
+
value: t.StringC;
|
|
8189
|
+
symbol: t.StringC;
|
|
8190
|
+
}>;
|
|
8191
|
+
}>, t.TypeC<{
|
|
8192
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
8193
|
+
ownerAddress: t.StringC;
|
|
8194
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8195
|
+
intentType: t.KeyofC<{
|
|
8196
|
+
payment: t.LiteralC<"payment">;
|
|
8197
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8198
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8199
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8200
|
+
fanout: t.LiteralC<"fanout">;
|
|
8201
|
+
stake: t.LiteralC<"stake">;
|
|
8202
|
+
unstake: t.LiteralC<"unstake">;
|
|
8203
|
+
delegate: t.LiteralC<"delegate">;
|
|
8204
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8205
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8206
|
+
claim: t.LiteralC<"claim">;
|
|
8207
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8208
|
+
pledge: t.LiteralC<"pledge">;
|
|
8209
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8210
|
+
vote: t.LiteralC<"vote">;
|
|
8211
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
8212
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
8213
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
8214
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
8215
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
8216
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
8217
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
8218
|
+
authorize: t.LiteralC<"authorize">;
|
|
8219
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
8220
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
8221
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
8222
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
8223
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
8224
|
+
customTx: t.LiteralC<"customTx">;
|
|
8225
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
8226
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
8227
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
8228
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
8229
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
8230
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
8231
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
8232
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
8233
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
8234
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
8235
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
8236
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
8237
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
8238
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
8239
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
8240
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
8241
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
8242
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
8243
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
8244
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
8245
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
8246
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
8247
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
8248
|
+
}>;
|
|
8249
|
+
}>, t.PartialC<{
|
|
8250
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8251
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8252
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8253
|
+
}>]>, t.TypeC<{
|
|
8254
|
+
stakingRequestId: t.StringC;
|
|
8255
|
+
}>, t.PartialC<{
|
|
8256
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
8257
|
+
}>]>, t.TypeC<{
|
|
8258
|
+
amount: t.TypeC<{
|
|
8259
|
+
value: t.StringC;
|
|
8260
|
+
symbol: t.StringC;
|
|
8261
|
+
}>;
|
|
8262
|
+
}>, t.TypeC<{
|
|
8263
|
+
intentType: t.LiteralC<"stake">;
|
|
8264
|
+
validatorAddress: t.StringC;
|
|
8265
|
+
ownerAddress: t.StringC;
|
|
8266
|
+
resource: t.UnionC<[t.LiteralC<"BANDWIDTH">, t.LiteralC<"ENERGY">]>;
|
|
8267
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8268
|
+
intentType: t.KeyofC<{
|
|
8269
|
+
payment: t.LiteralC<"payment">;
|
|
8270
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8271
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8272
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8273
|
+
fanout: t.LiteralC<"fanout">;
|
|
8274
|
+
stake: t.LiteralC<"stake">;
|
|
8275
|
+
unstake: t.LiteralC<"unstake">;
|
|
8276
|
+
delegate: t.LiteralC<"delegate">;
|
|
8277
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8278
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8279
|
+
claim: t.LiteralC<"claim">;
|
|
8280
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8281
|
+
pledge: t.LiteralC<"pledge">;
|
|
8282
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8283
|
+
vote: t.LiteralC<"vote">;
|
|
8284
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
8285
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
8286
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
8287
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
8288
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
8289
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
8290
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
8291
|
+
authorize: t.LiteralC<"authorize">;
|
|
8292
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
8293
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
8294
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
8295
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
8296
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
8297
|
+
customTx: t.LiteralC<"customTx">;
|
|
8298
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
8299
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
8300
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
8301
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
8302
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
8303
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
8304
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
8305
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
8306
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
8307
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
8308
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
8309
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
8310
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
8311
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
8312
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
8313
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
8314
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
8315
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
8316
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
8317
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
8318
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
8319
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
8320
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
8321
|
+
}>;
|
|
8322
|
+
}>, t.PartialC<{
|
|
8323
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8324
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8325
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8326
|
+
}>]>, t.TypeC<{
|
|
8327
|
+
stakingRequestId: t.StringC;
|
|
8328
|
+
}>, t.PartialC<{
|
|
8329
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
8330
|
+
}>]>, t.TypeC<{
|
|
8331
|
+
amount: t.TypeC<{
|
|
8332
|
+
value: t.StringC;
|
|
8333
|
+
symbol: t.StringC;
|
|
8334
|
+
}>;
|
|
8335
|
+
}>, t.TypeC<{
|
|
8336
|
+
intentType: t.LiteralC<"unstake">;
|
|
8337
|
+
ownerAddress: t.StringC;
|
|
8338
|
+
resource: t.UnionC<[t.LiteralC<"BANDWIDTH">, t.LiteralC<"ENERGY">]>;
|
|
8339
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8340
|
+
intentType: t.KeyofC<{
|
|
8341
|
+
payment: t.LiteralC<"payment">;
|
|
8342
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8343
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8344
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8345
|
+
fanout: t.LiteralC<"fanout">;
|
|
8346
|
+
stake: t.LiteralC<"stake">;
|
|
8347
|
+
unstake: t.LiteralC<"unstake">;
|
|
8348
|
+
delegate: t.LiteralC<"delegate">;
|
|
8349
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8350
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8351
|
+
claim: t.LiteralC<"claim">;
|
|
8352
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8353
|
+
pledge: t.LiteralC<"pledge">;
|
|
8354
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8355
|
+
vote: t.LiteralC<"vote">;
|
|
8356
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
8357
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
8358
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
8359
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
8360
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
8361
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
8362
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
8363
|
+
authorize: t.LiteralC<"authorize">;
|
|
8364
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
8365
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
8366
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
8367
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
8368
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
8369
|
+
customTx: t.LiteralC<"customTx">;
|
|
8370
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
8371
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
8372
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
8373
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
8374
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
8375
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
8376
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
8377
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
8378
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
8379
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
8380
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
8381
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
8382
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
8383
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
8384
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
8385
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
8386
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
8387
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
8388
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
8389
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
8390
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
8391
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
8392
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
8393
|
+
}>;
|
|
8394
|
+
}>, t.PartialC<{
|
|
8395
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8396
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8397
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8398
|
+
}>]>, t.TypeC<{
|
|
8399
|
+
stakingRequestId: t.StringC;
|
|
8400
|
+
}>, t.PartialC<{
|
|
8401
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
8402
|
+
}>]>, t.TypeC<{
|
|
8403
|
+
amount: t.TypeC<{
|
|
8404
|
+
value: t.StringC;
|
|
8405
|
+
symbol: t.StringC;
|
|
8406
|
+
}>;
|
|
8407
|
+
}>, t.TypeC<{
|
|
8408
|
+
intentType: t.LiteralC<"voteDelegation">;
|
|
8409
|
+
validatorAddress: t.StringC;
|
|
8410
|
+
ownerAddress: t.StringC;
|
|
8411
|
+
votes: t.ArrayC<t.TypeC<{
|
|
8412
|
+
vote_address: t.StringC;
|
|
8413
|
+
vote_count: t.StringC;
|
|
8414
|
+
}>>;
|
|
8415
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8416
|
+
intentType: t.KeyofC<{
|
|
8417
|
+
payment: t.LiteralC<"payment">;
|
|
8418
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8419
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8420
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8421
|
+
fanout: t.LiteralC<"fanout">;
|
|
8422
|
+
stake: t.LiteralC<"stake">;
|
|
8423
|
+
unstake: t.LiteralC<"unstake">;
|
|
8424
|
+
delegate: t.LiteralC<"delegate">;
|
|
8425
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8426
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8427
|
+
claim: t.LiteralC<"claim">;
|
|
8428
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8429
|
+
pledge: t.LiteralC<"pledge">;
|
|
8430
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8431
|
+
vote: t.LiteralC<"vote">;
|
|
8432
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
8433
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
8434
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
8435
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
8436
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
8437
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
8438
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
8439
|
+
authorize: t.LiteralC<"authorize">;
|
|
8440
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
8441
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
8442
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
8443
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
8444
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
8445
|
+
customTx: t.LiteralC<"customTx">;
|
|
8446
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
8447
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
8448
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
8449
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
8450
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
8451
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
8452
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
8453
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
8454
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
8455
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
8456
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
8457
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
8458
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
8459
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
8460
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
8461
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
8462
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
8463
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
8464
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
8465
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
8466
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
8467
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
8468
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
8469
|
+
}>;
|
|
8470
|
+
}>, t.PartialC<{
|
|
8471
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8472
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8473
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8474
|
+
}>]>, t.TypeC<{
|
|
8475
|
+
stakingRequestId: t.StringC;
|
|
8476
|
+
}>, t.PartialC<{
|
|
8477
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
8478
|
+
}>]>, t.TypeC<{
|
|
8479
|
+
amount: t.TypeC<{
|
|
8480
|
+
value: t.StringC;
|
|
8481
|
+
symbol: t.StringC;
|
|
8482
|
+
}>;
|
|
8483
|
+
}>, t.TypeC<{
|
|
8484
|
+
intentType: t.LiteralC<"claim">;
|
|
8485
|
+
ownerAddress: t.StringC;
|
|
8123
8486
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8124
8487
|
intentType: t.KeyofC<{
|
|
8125
8488
|
payment: t.LiteralC<"payment">;
|
|
@@ -138,6 +138,11 @@ const cantonTransferOfferWithdrawnIntent_1 = require("./cantonTransferOfferWithd
|
|
|
138
138
|
const cantonTransferRejectIntent_1 = require("./cantonTransferRejectIntent");
|
|
139
139
|
const tonWhalesDelegateIntent_1 = require("./tonWhalesDelegateIntent");
|
|
140
140
|
const tonWhalesUndelegateIntent_1 = require("./tonWhalesUndelegateIntent");
|
|
141
|
+
const trxClaimRewardsIntent_1 = require("./trxClaimRewardsIntent");
|
|
142
|
+
const trxFreezeIntent_1 = require("./trxFreezeIntent");
|
|
143
|
+
const trxUnfreezeIntent_1 = require("./trxUnfreezeIntent");
|
|
144
|
+
const trxVoteIntent_1 = require("./trxVoteIntent");
|
|
145
|
+
const trxWithdrawExpireUnfreezeIntent_1 = require("./trxWithdrawExpireUnfreezeIntent");
|
|
141
146
|
const xdcStakingIntent_1 = require("./xdcStakingIntent");
|
|
142
147
|
const xdcStakingIntent_2 = require("./xdcStakingIntent");
|
|
143
148
|
const xdcUnstakingIntent_1 = require("./xdcUnstakingIntent");
|
|
@@ -240,6 +245,11 @@ exports.TransactionIntent = t.union([
|
|
|
240
245
|
tonUndelegateIntent_1.TonUndelegateIntent,
|
|
241
246
|
tonWhalesDelegateIntent_1.TonWhalesDelegateIntent,
|
|
242
247
|
tonWhalesUndelegateIntent_1.TonWhalesUndelegateIntent,
|
|
248
|
+
trxClaimRewardsIntent_1.TrxClaimRewardsIntent,
|
|
249
|
+
trxFreezeIntent_1.TrxFreezeIntent,
|
|
250
|
+
trxUnfreezeIntent_1.TrxUnfreezeIntent,
|
|
251
|
+
trxVoteIntent_1.TrxVoteIntent,
|
|
252
|
+
trxWithdrawExpireUnfreezeIntent_1.TrxWithdrawExpireUnfreezeIntent,
|
|
243
253
|
vetStakingIntent_1.VetStakingIntent,
|
|
244
254
|
vetDelegateIntent_1.VetDelegateIntent,
|
|
245
255
|
vetUnstakingIntent_1.VetExitDelegationIntent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../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","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,6DAG8B;AAC9B,2DAAwD;AACxD,yDAAsD;AACtD,+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,2EAAwE;AACxE,yDAAsD;AACtD,yDAAsD;AACtD,uDAAoD;AACpD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,yEAAsE;AACtE,6EAA0E;AAC1E,yDAAsD;AACtD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,2DAAwD;AACxD,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,6EAA0E;AAC1E,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,6EAA0E;AAC1E,qEAAkE;AAClE,qDAAkD;AAClD,yEAAsE;AACtE,qEAAkE;AAClE,yDAAsD;AACtD,+DAA4D;AAC5D,2DAAwD;AACxD,uFAAoF;AACpF,2FAAwF;AACxF,yDAAsD;AACtD,yFAAsF;AACtF,6FAA0F;AAC1F,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEA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ClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAChB,oCAAe;IACf,sCAAiB;IAKjB,uBAAU;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
export declare const TrxClaimRewardsIntent: 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
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
36
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
37
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
38
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
39
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
40
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
41
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
42
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
43
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
44
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
45
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
46
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
47
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
48
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
49
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
50
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
51
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
52
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
53
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
54
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
55
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
56
|
+
}>;
|
|
57
|
+
}>, t.PartialC<{
|
|
58
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
59
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
60
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
61
|
+
}>]>, t.TypeC<{
|
|
62
|
+
stakingRequestId: t.StringC;
|
|
63
|
+
}>, t.PartialC<{
|
|
64
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
65
|
+
}>]>, t.TypeC<{
|
|
66
|
+
amount: t.TypeC<{
|
|
67
|
+
value: t.StringC;
|
|
68
|
+
symbol: t.StringC;
|
|
69
|
+
}>;
|
|
70
|
+
}>, t.TypeC<{
|
|
71
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
72
|
+
ownerAddress: t.StringC;
|
|
73
|
+
}>]>;
|
|
74
|
+
export type TrxClaimRewardsIntent = t.TypeOf<typeof TrxClaimRewardsIntent>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.TrxClaimRewardsIntent = void 0;
|
|
27
|
+
const t = __importStar(require("io-ts"));
|
|
28
|
+
const baseStakeIntent_1 = require("./baseStakeIntent");
|
|
29
|
+
const baseIntent_1 = require("./baseIntent");
|
|
30
|
+
const intentType_1 = require("./intentType");
|
|
31
|
+
exports.TrxClaimRewardsIntent = t.intersection([
|
|
32
|
+
baseStakeIntent_1.BaseStakeIntent,
|
|
33
|
+
baseIntent_1.BaseIntentWithAmount,
|
|
34
|
+
t.type({
|
|
35
|
+
intentType: intentType_1.intentTypes.stakeClaimRewards,
|
|
36
|
+
ownerAddress: t.string,
|
|
37
|
+
}),
|
|
38
|
+
]);
|
|
39
|
+
//# sourceMappingURL=trxClaimRewardsIntent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trxClaimRewardsIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxClaimRewardsIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAK9B,QAAA,qBAAqB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;QACzC,YAAY,EAAE,CAAC,CAAC,MAAM;KACvB,CAAC;CACH,CAAC,CAAC"}
|