@bitgo/public-types 6.22.0 → 6.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -2
- package/dist/src/schema/transactionRequest/intents/index.js +1 -2
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +94 -168
- package/dist/src/schema/transactionRequest/intents/intent.js +2 -4
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/{irysPledgeIntent.d.ts → polyxSwitchValidatorIntent.d.ts} +20 -20
- package/dist/src/schema/transactionRequest/intents/{irysPledgeIntent.js → polyxSwitchValidatorIntent.js} +7 -12
- package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxVoteIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetStakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.js +5 -1
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +188 -336
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/index.ts +1 -2
- package/src/schema/transactionRequest/intents/intent.ts +2 -4
- package/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.ts +20 -0
- package/src/schema/transactionRequest/intents/trxClaimRewardsIntent.ts +6 -0
- package/src/schema/transactionRequest/intents/trxDelegateResourceIntent.ts +9 -0
- package/src/schema/transactionRequest/intents/trxFreezeIntent.ts +9 -0
- package/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.ts +9 -0
- package/src/schema/transactionRequest/intents/trxUnfreezeIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/trxVoteIntent.ts +11 -0
- package/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts +7 -0
- package/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.ts +6 -6
- package/src/schema/transactionRequest/intents/vetDelegateIntent.ts +7 -5
- package/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.ts +6 -6
- package/src/schema/transactionRequest/intents/vetSignalExitIntent.ts +7 -6
- package/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.ts +6 -8
- package/src/schema/transactionRequest/intents/vetStakingIntent.ts +6 -7
- package/src/schema/transactionRequest/intents/vetUnstakingIntent.ts +10 -15
- package/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts +11 -8
- package/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.ts +7 -6
- package/dist/src/schema/transactionRequest/intents/irysPledgeIntent.js.map +0 -1
- package/dist/src/schema/transactionRequest/intents/irysStakeIntent.d.ts +0 -93
- package/dist/src/schema/transactionRequest/intents/irysStakeIntent.js +0 -41
- package/dist/src/schema/transactionRequest/intents/irysStakeIntent.js.map +0 -1
- package/src/schema/transactionRequest/intents/irysPledgeIntent.ts +0 -38
- package/src/schema/transactionRequest/intents/irysStakeIntent.ts +0 -35
|
@@ -102,8 +102,6 @@ export * from "./iotaBuildOptions";
|
|
|
102
102
|
export * from "./iotaConsolidateIntent";
|
|
103
103
|
export * from "./iotaFeeOptions";
|
|
104
104
|
export * from "./iotaPaymentIntent";
|
|
105
|
-
export * from "./irysPledgeIntent";
|
|
106
|
-
export * from "./irysStakeIntent";
|
|
107
105
|
export * from "./lightningPaymentIntent";
|
|
108
106
|
export * from "./mmiSignMessageIntent";
|
|
109
107
|
export * from "./mmiSignTransactionIntent";
|
|
@@ -115,6 +113,7 @@ export * from "./polyxBaseIntent";
|
|
|
115
113
|
export * from "./polyxCreateAccountIntent";
|
|
116
114
|
export * from "./polyxPreApproveAssetIntent";
|
|
117
115
|
export * from "./polyxStakeIntent";
|
|
116
|
+
export * from "./polyxSwitchValidatorIntent";
|
|
118
117
|
export * from "./polyxUnstakeIntent";
|
|
119
118
|
export * from "./polyxWithdrawIntent";
|
|
120
119
|
export * from "./recipientEntry";
|
|
@@ -118,8 +118,6 @@ __exportStar(require("./iotaBuildOptions"), exports);
|
|
|
118
118
|
__exportStar(require("./iotaConsolidateIntent"), exports);
|
|
119
119
|
__exportStar(require("./iotaFeeOptions"), exports);
|
|
120
120
|
__exportStar(require("./iotaPaymentIntent"), exports);
|
|
121
|
-
__exportStar(require("./irysPledgeIntent"), exports);
|
|
122
|
-
__exportStar(require("./irysStakeIntent"), exports);
|
|
123
121
|
__exportStar(require("./lightningPaymentIntent"), exports);
|
|
124
122
|
__exportStar(require("./mmiSignMessageIntent"), exports);
|
|
125
123
|
__exportStar(require("./mmiSignTransactionIntent"), exports);
|
|
@@ -131,6 +129,7 @@ __exportStar(require("./polyxBaseIntent"), exports);
|
|
|
131
129
|
__exportStar(require("./polyxCreateAccountIntent"), exports);
|
|
132
130
|
__exportStar(require("./polyxPreApproveAssetIntent"), exports);
|
|
133
131
|
__exportStar(require("./polyxStakeIntent"), exports);
|
|
132
|
+
__exportStar(require("./polyxSwitchValidatorIntent"), exports);
|
|
134
133
|
__exportStar(require("./polyxUnstakeIntent"), exports);
|
|
135
134
|
__exportStar(require("./polyxWithdrawIntent"), exports);
|
|
136
135
|
__exportStar(require("./recipientEntry"), 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,mEAAiD;AACjD,kEAAgD;AAChD,wDAAsC;AACtC,uEAAqD;AACrD,yEAAuD;AACvD,wDAAsC;AACtC,+DAA6C;AAC7C,oEAAkD;AAClD,uEAAqD;AACrD,+DAA6C;AAC7C,gDAA8B;AAC9B,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC;AACtC,kEAAgD;AAChD,sDAAoC;AACpC,gEAA8C;AAC9C,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,sDAAoC;AACpC,+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;AAC3C,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,kDAAgC;AAChC,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,4DAA0C;AAC1C,8CAA4B;AAC5B,6DAA2C;AAC3C,8DAA4C;AAC5C,gEAA8C;AAC9C,qDAAmC;AACnC,kDAAgC;AAChC,2CAAyB;AACzB,+CAA6B;AAC7B,qDAAmC;AACnC,0DAAwC;AACxC,mDAAiC;AACjC,sDAAoC;AACpC,
|
|
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,0D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AqC;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"}
|
|
@@ -5143,173 +5143,6 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
5143
5143
|
isTestTransaction: t.BooleanC;
|
|
5144
5144
|
}>]>]>, t.PartialC<{
|
|
5145
5145
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5146
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5147
|
-
intentType: t.KeyofC<{
|
|
5148
|
-
payment: t.LiteralC<"payment">;
|
|
5149
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
5150
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
5151
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
5152
|
-
fanout: t.LiteralC<"fanout">;
|
|
5153
|
-
stake: t.LiteralC<"stake">;
|
|
5154
|
-
unstake: t.LiteralC<"unstake">;
|
|
5155
|
-
delegate: t.LiteralC<"delegate">;
|
|
5156
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
5157
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
5158
|
-
claim: t.LiteralC<"claim">;
|
|
5159
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
5160
|
-
pledge: t.LiteralC<"pledge">;
|
|
5161
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
5162
|
-
vote: t.LiteralC<"vote">;
|
|
5163
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
5164
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
5165
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
5166
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
5167
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
5168
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
5169
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
5170
|
-
authorize: t.LiteralC<"authorize">;
|
|
5171
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
5172
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
5173
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
5174
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
5175
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
5176
|
-
customTx: t.LiteralC<"customTx">;
|
|
5177
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
5178
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
5179
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
5180
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
5181
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
5182
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
5183
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
5184
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
5185
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
5186
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
5187
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
5188
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
5189
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
5190
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
5191
|
-
enableBridging: t.LiteralC<"enableBridging">;
|
|
5192
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
5193
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
5194
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
5195
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
5196
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
5197
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
5198
|
-
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
5199
|
-
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
5200
|
-
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
5201
|
-
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
5202
|
-
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
5203
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
5204
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
5205
|
-
"defi-approve": t.LiteralC<"defi-approve">;
|
|
5206
|
-
delegateResource: t.LiteralC<"delegateResource">;
|
|
5207
|
-
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
5208
|
-
export: t.LiteralC<"export">;
|
|
5209
|
-
import: t.LiteralC<"import">;
|
|
5210
|
-
importtoc: t.LiteralC<"importtoc">;
|
|
5211
|
-
}>;
|
|
5212
|
-
}>, t.PartialC<{
|
|
5213
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5214
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5215
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5216
|
-
}>]>, t.TypeC<{
|
|
5217
|
-
stakingRequestId: t.StringC;
|
|
5218
|
-
}>, t.PartialC<{
|
|
5219
|
-
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
5220
|
-
}>]>, t.TypeC<{
|
|
5221
|
-
intentType: t.LiteralC<"pledge">;
|
|
5222
|
-
commitmentParams: t.IntersectionC<[t.TypeC<{
|
|
5223
|
-
commitmentFee: t.StringC;
|
|
5224
|
-
commitmentValue: t.StringC;
|
|
5225
|
-
signerAddress: t.StringC;
|
|
5226
|
-
chainId: t.NumberC;
|
|
5227
|
-
}>, t.TypeC<{
|
|
5228
|
-
pledgeCount: t.NumberC;
|
|
5229
|
-
}>]>;
|
|
5230
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5231
|
-
intentType: t.KeyofC<{
|
|
5232
|
-
payment: t.LiteralC<"payment">;
|
|
5233
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
5234
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
5235
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
5236
|
-
fanout: t.LiteralC<"fanout">;
|
|
5237
|
-
stake: t.LiteralC<"stake">;
|
|
5238
|
-
unstake: t.LiteralC<"unstake">;
|
|
5239
|
-
delegate: t.LiteralC<"delegate">;
|
|
5240
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
5241
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
5242
|
-
claim: t.LiteralC<"claim">;
|
|
5243
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
5244
|
-
pledge: t.LiteralC<"pledge">;
|
|
5245
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
5246
|
-
vote: t.LiteralC<"vote">;
|
|
5247
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
5248
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
5249
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
5250
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
5251
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
5252
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
5253
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
5254
|
-
authorize: t.LiteralC<"authorize">;
|
|
5255
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
5256
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
5257
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
5258
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
5259
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
5260
|
-
customTx: t.LiteralC<"customTx">;
|
|
5261
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
5262
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
5263
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
5264
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
5265
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
5266
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
5267
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
5268
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
5269
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
5270
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
5271
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
5272
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
5273
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
5274
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
5275
|
-
enableBridging: t.LiteralC<"enableBridging">;
|
|
5276
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
5277
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
5278
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
5279
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
5280
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
5281
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
5282
|
-
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
5283
|
-
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
5284
|
-
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
5285
|
-
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
5286
|
-
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
5287
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
5288
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
5289
|
-
"defi-approve": t.LiteralC<"defi-approve">;
|
|
5290
|
-
delegateResource: t.LiteralC<"delegateResource">;
|
|
5291
|
-
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
5292
|
-
export: t.LiteralC<"export">;
|
|
5293
|
-
import: t.LiteralC<"import">;
|
|
5294
|
-
importtoc: t.LiteralC<"importtoc">;
|
|
5295
|
-
}>;
|
|
5296
|
-
}>, t.PartialC<{
|
|
5297
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5298
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5299
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5300
|
-
}>]>, t.TypeC<{
|
|
5301
|
-
stakingRequestId: t.StringC;
|
|
5302
|
-
}>, t.PartialC<{
|
|
5303
|
-
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
5304
|
-
}>]>, t.TypeC<{
|
|
5305
|
-
intentType: t.LiteralC<"stake">;
|
|
5306
|
-
}>]>, t.TypeC<{
|
|
5307
|
-
commitmentParams: t.TypeC<{
|
|
5308
|
-
commitmentFee: t.StringC;
|
|
5309
|
-
commitmentValue: t.StringC;
|
|
5310
|
-
signerAddress: t.StringC;
|
|
5311
|
-
chainId: t.NumberC;
|
|
5312
|
-
}>;
|
|
5313
5146
|
}>]>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5314
5147
|
intentType: t.KeyofC<{
|
|
5315
5148
|
payment: t.LiteralC<"payment">;
|
|
@@ -6261,6 +6094,99 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6261
6094
|
}>, t.PartialC<{
|
|
6262
6095
|
addToStake: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
6263
6096
|
validators: t.ArrayC<t.StringC>;
|
|
6097
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6098
|
+
intentType: t.KeyofC<{
|
|
6099
|
+
payment: t.LiteralC<"payment">;
|
|
6100
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
6101
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
6102
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
6103
|
+
fanout: t.LiteralC<"fanout">;
|
|
6104
|
+
stake: t.LiteralC<"stake">;
|
|
6105
|
+
unstake: t.LiteralC<"unstake">;
|
|
6106
|
+
delegate: t.LiteralC<"delegate">;
|
|
6107
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
6108
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
6109
|
+
claim: t.LiteralC<"claim">;
|
|
6110
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
6111
|
+
pledge: t.LiteralC<"pledge">;
|
|
6112
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
6113
|
+
vote: t.LiteralC<"vote">;
|
|
6114
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
6115
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
6116
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
6117
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
6118
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
6119
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
6120
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
6121
|
+
authorize: t.LiteralC<"authorize">;
|
|
6122
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
6123
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
6124
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
6125
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
6126
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
6127
|
+
customTx: t.LiteralC<"customTx">;
|
|
6128
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
6129
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
6130
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
6131
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
6132
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
6133
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
6134
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
6135
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
6136
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
6137
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
6138
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
6139
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
6140
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
6141
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
6142
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
6143
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
6144
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
6145
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
6146
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
6147
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
6148
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
6149
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
6150
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
6151
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
6152
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
6153
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
6154
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
6155
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
6156
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
6157
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
6158
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
6159
|
+
export: t.LiteralC<"export">;
|
|
6160
|
+
import: t.LiteralC<"import">;
|
|
6161
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
6162
|
+
}>;
|
|
6163
|
+
}>, t.PartialC<{
|
|
6164
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6165
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6166
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6167
|
+
}>]>, t.TypeC<{
|
|
6168
|
+
stakingRequestId: t.StringC;
|
|
6169
|
+
}>, t.PartialC<{
|
|
6170
|
+
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
6171
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6172
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6173
|
+
}>, t.PartialC<{
|
|
6174
|
+
fee: t.UnionC<[t.Type<{
|
|
6175
|
+
amount: string | number;
|
|
6176
|
+
} & {
|
|
6177
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6178
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6179
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6180
|
+
}, {
|
|
6181
|
+
amount: string | number;
|
|
6182
|
+
} & {
|
|
6183
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6184
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6185
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6186
|
+
}, unknown>, t.UndefinedC]>;
|
|
6187
|
+
}>]>, t.TypeC<{
|
|
6188
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
6189
|
+
validators: t.ArrayC<t.StringC>;
|
|
6264
6190
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6265
6191
|
intentType: t.KeyofC<{
|
|
6266
6192
|
payment: t.LiteralC<"payment">;
|
|
@@ -11111,7 +11037,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
11111
11037
|
}>;
|
|
11112
11038
|
}>, t.TypeC<{
|
|
11113
11039
|
validatorAddress: import("io-ts-types").NonEmptyStringC;
|
|
11114
|
-
stakingPeriod: t.
|
|
11040
|
+
stakingPeriod: t.UnionC<[t.LiteralC<60480>, t.LiteralC<129600>, t.LiteralC<259200>]>;
|
|
11115
11041
|
stakingContractAddress: import("io-ts-types").NonEmptyStringC;
|
|
11116
11042
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
11117
11043
|
intentType: t.KeyofC<{
|
|
@@ -61,8 +61,6 @@ const feeAddressTransferIntent_1 = require("./feeAddressTransferIntent");
|
|
|
61
61
|
const hbarUpdateAccountIntent_1 = require("./hbarUpdateAccountIntent");
|
|
62
62
|
const hypeevmSpotTransferIntent_1 = require("./hypeevmSpotTransferIntent");
|
|
63
63
|
const icpPaymentIntent_1 = require("./icpPaymentIntent");
|
|
64
|
-
const irysPledgeIntent_1 = require("./irysPledgeIntent");
|
|
65
|
-
const irysStakeIntent_1 = require("./irysStakeIntent");
|
|
66
64
|
const lightningPaymentIntent_1 = require("./lightningPaymentIntent");
|
|
67
65
|
const mmiSignMessageIntent_1 = require("./mmiSignMessageIntent");
|
|
68
66
|
const nearStakeIntent_1 = require("./nearStakeIntent");
|
|
@@ -71,6 +69,7 @@ const nearWithdrawIntent_1 = require("./nearWithdrawIntent");
|
|
|
71
69
|
const polyxCreateAccountIntent_1 = require("./polyxCreateAccountIntent");
|
|
72
70
|
const polyxPreApproveAssetIntent_1 = require("./polyxPreApproveAssetIntent");
|
|
73
71
|
const polyxStakeIntent_1 = require("./polyxStakeIntent");
|
|
72
|
+
const polyxSwitchValidatorIntent_1 = require("./polyxSwitchValidatorIntent");
|
|
74
73
|
const polyxUnstakeIntent_1 = require("./polyxUnstakeIntent");
|
|
75
74
|
const polyxWithdrawIntent_1 = require("./polyxWithdrawIntent");
|
|
76
75
|
const solAuthorizeIntent_1 = require("./solAuthorizeIntent");
|
|
@@ -222,8 +221,6 @@ exports.TransactionIntent = t.union([
|
|
|
222
221
|
hypeevmSpotTransferIntent_1.HypeevmSpotTransferIntent,
|
|
223
222
|
hypeevmEnableBridgingIntent_1.HypeevmEnableBridgingIntent,
|
|
224
223
|
icpPaymentIntent_1.IcpPaymentIntent,
|
|
225
|
-
irysPledgeIntent_1.IrysPledgeIntent,
|
|
226
|
-
irysStakeIntent_1.IrysStakeIntent,
|
|
227
224
|
lightningPaymentIntent_1.LightningPaymentIntent,
|
|
228
225
|
mmiSignMessageIntent_1.MmiSignMessageIntent,
|
|
229
226
|
mmiSignTransactionIntent_1.MmiSignTransactionIntent,
|
|
@@ -233,6 +230,7 @@ exports.TransactionIntent = t.union([
|
|
|
233
230
|
polyxCreateAccountIntent_1.PolyxCreateAccountIntent,
|
|
234
231
|
polyxPreApproveAssetIntent_1.PolyxPreApproveAssetIntent,
|
|
235
232
|
polyxStakeIntent_1.PolyxStakeIntent,
|
|
233
|
+
polyxSwitchValidatorIntent_1.PolyxSwitchValidatorIntent,
|
|
236
234
|
polyxUnstakeIntent_1.PolyxUnstakeIntent,
|
|
237
235
|
polyxWithdrawIntent_1.PolyxWithdrawIntent,
|
|
238
236
|
solAuthorizeIntent_1.SolAuthorizeIntent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+CAA4C;AAC5C,6DAG8B;AAC9B,2DAAwD;AACxD,yDAAsD;AACtD,yEAAsE;AACtE,+DAA4D;AAC5D,mFAAgF;AAChF,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,yEAAsE;AACtE,uEAAoE;AACpE,2EAAwE;AACxE,yDAAsD;AACtD,
|
|
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,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+CAA4C;AAC5C,6DAG8B;AAC9B,2DAAwD;AACxD,yDAAsD;AACtD,yEAAsE;AACtE,+DAA4D;AAC5D,mFAAgF;AAChF,2DAAwD;AACxD,+EAA4E;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AsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAChB,oCAAe;IACf,sCAAiB;IAKjB,uBAAU;CACX,CAAC,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
export declare const
|
|
3
|
-
commitmentFee: t.StringC;
|
|
4
|
-
commitmentValue: t.StringC;
|
|
5
|
-
signerAddress: t.StringC;
|
|
6
|
-
chainId: t.NumberC;
|
|
7
|
-
}>, t.TypeC<{
|
|
8
|
-
pledgeCount: t.NumberC;
|
|
9
|
-
}>]>;
|
|
10
|
-
export type IrysPledgeCommitmentParams = t.TypeOf<typeof IrysPledgeCommitmentParams>;
|
|
11
|
-
export declare const IrysPledgeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
2
|
+
export declare const PolyxSwitchValidatorIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
12
3
|
intentType: t.KeyofC<{
|
|
13
4
|
payment: t.LiteralC<"payment">;
|
|
14
5
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -82,15 +73,24 @@ export declare const IrysPledgeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
82
73
|
stakingRequestId: t.StringC;
|
|
83
74
|
}>, t.PartialC<{
|
|
84
75
|
source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
|
|
76
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
77
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
78
|
+
}>, t.PartialC<{
|
|
79
|
+
fee: t.UnionC<[t.Type<{
|
|
80
|
+
amount: string | number;
|
|
81
|
+
} & {
|
|
82
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
83
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
84
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
amount: string | number;
|
|
87
|
+
} & {
|
|
88
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
89
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
90
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
91
|
+
}, unknown>, t.UndefinedC]>;
|
|
85
92
|
}>]>, t.TypeC<{
|
|
86
|
-
intentType: t.LiteralC<"
|
|
87
|
-
|
|
88
|
-
commitmentFee: t.StringC;
|
|
89
|
-
commitmentValue: t.StringC;
|
|
90
|
-
signerAddress: t.StringC;
|
|
91
|
-
chainId: t.NumberC;
|
|
92
|
-
}>, t.TypeC<{
|
|
93
|
-
pledgeCount: t.NumberC;
|
|
94
|
-
}>]>;
|
|
93
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
94
|
+
validators: t.ArrayC<t.StringC>;
|
|
95
95
|
}>]>;
|
|
96
|
-
export type
|
|
96
|
+
export type PolyxSwitchValidatorIntent = t.TypeOf<typeof PolyxSwitchValidatorIntent>;
|
|
@@ -23,22 +23,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.PolyxSwitchValidatorIntent = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const baseStakeIntent_1 = require("./baseStakeIntent");
|
|
29
|
+
const substrateAccountBaseBuildOptions_1 = require("./substrateAccountBaseBuildOptions");
|
|
29
30
|
const intentType_1 = require("./intentType");
|
|
30
|
-
|
|
31
|
-
exports.IrysPledgeCommitmentParams = t.intersection([
|
|
32
|
-
irysStakeIntent_1.IrysCommitmentParams,
|
|
33
|
-
t.type({
|
|
34
|
-
pledgeCount: t.number,
|
|
35
|
-
}),
|
|
36
|
-
]);
|
|
37
|
-
exports.IrysPledgeIntent = t.intersection([
|
|
31
|
+
exports.PolyxSwitchValidatorIntent = t.intersection([
|
|
38
32
|
baseStakeIntent_1.BaseStakeIntent,
|
|
33
|
+
substrateAccountBaseBuildOptions_1.SubstrateAccountBaseBuildOptions,
|
|
39
34
|
t.type({
|
|
40
|
-
intentType: intentType_1.intentTypes.
|
|
41
|
-
|
|
35
|
+
intentType: intentType_1.intentTypes.switchValidator,
|
|
36
|
+
validators: t.array(t.string),
|
|
42
37
|
}),
|
|
43
38
|
]);
|
|
44
|
-
//# sourceMappingURL=
|
|
39
|
+
//# sourceMappingURL=polyxSwitchValidatorIntent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyxSwitchValidatorIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,yFAAsF;AACtF,6CAA2C;AAK9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,iCAAe;IACf,mEAAgC;IAChC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,eAAe;QACvC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"trxClaimRewardsIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxClaimRewardsIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAS9B,QAAA,qBAAqB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;QAEzC,YAAY,EAAE,CAAC,CAAC,MAAM;KACvB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxDelegateResourceIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxDelegateResourceIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAoD;AACpD,uDAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"trxDelegateResourceIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxDelegateResourceIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAoD;AACpD,uDAAoD;AACpD,6CAA2C;AAU9B,QAAA,yBAAyB,GAAG,CAAC,CAAC,YAAY,CAAC;IACtD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,gBAAgB;QAExC,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,eAAe,EAAE,CAAC,CAAC,MAAM;QAEzB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxFreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxFreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"trxFreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxFreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAU9B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,KAAK;QAE7B,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAE1B,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxUndelegateResourceIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxUndelegateResourceIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAoD;AACpD,uDAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"trxUndelegateResourceIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxUndelegateResourceIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAoD;AACpD,uDAAoD;AACpD,6CAA2C;AAU9B,QAAA,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC;IACxD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,kBAAkB;QAE1C,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,eAAe,EAAE,CAAC,CAAC,MAAM;QAEzB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"trxUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAU9B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,OAAO;QAE/B,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxVoteIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxVoteIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAE9B,QAAA,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"trxVoteIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxVoteIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAE9B,QAAA,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;IAE5B,YAAY,EAAE,CAAC,CAAC,MAAM;IAEtB,UAAU,EAAE,CAAC,CAAC,MAAM;CACrB,CAAC,CAAC;AAYU,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,cAAc;QAEtC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAE1B,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,eAAO,CAAC;KACxB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trxWithdrawExpireUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"trxWithdrawExpireUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAU9B,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,KAAK;QAE7B,YAAY,EAAE,CAAC,CAAC,MAAM;KACvB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetDecreaseStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetDecreaseStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"vetDecreaseStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetDecreaseStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAAoD;AACpD,6CAA2C;AAO9B,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,aAAa;QAErC,gBAAgB,EAAE,4BAAc;QAEhC,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,6CAA6C;
|
|
1
|
+
{"version":3,"file":"vetDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,6CAA6C;AAQhC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,+BAAc;IACd,CAAC,CAAC,IAAI,CAAC;QAEL,OAAO,EAAE,4BAAc;QAEvB,sBAAsB,EAAE,4BAAc;QAEtC,gBAAgB,EAAE,4BAAc;KACjC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetIncreaseStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetIncreaseStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAAoD;AACpD,6CAA2C;
|
|
1
|
+
{"version":3,"file":"vetIncreaseStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetIncreaseStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAAoD;AACpD,6CAA2C;AAO9B,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,aAAa;QAErC,gBAAgB,EAAE,4BAAc;QAEhC,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetSignalExitIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetSignalExitIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"vetSignalExitIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetSignalExitIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAA2C;AAQ9B,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,UAAU;QAElC,gBAAgB,EAAE,4BAAc;QAEhC,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetStakeClaimRewardsIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA6C;AAC7C,uEAAoE;
|
|
1
|
+
{"version":3,"file":"vetStakeClaimRewardsIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA6C;AAC7C,uEAAoE;AAQvD,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QAEL,OAAO,EAAE,4BAAc;QAEvB,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetStakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetStakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,6CAAoD;AACpD,6CAA6C;
|
|
1
|
+
{"version":3,"file":"vetStakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetStakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+CAA4C;AAC5C,6CAAoD;AACpD,6CAA6C;AAQhC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,yBAAW;IACX,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,sBAAsB,EAAE,4BAAc;QAEtC,OAAO,EAAE,4BAAc;KACxB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetUnstakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetUnstakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,6CAA6C;AAC7C,yDAAsD;
|
|
1
|
+
{"version":3,"file":"vetUnstakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetUnstakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,6CAA6C;AAC7C,yDAAsD;AAEtD,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAEpC,OAAO,EAAE,4BAAc;IAEvB,sBAAsB,EAAE,4BAAc;CACvC,CAAC,CAAC;AAQU,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,mCAAgB;IAChB,sBAAsB;CACvB,CAAC,CAAC;AAUU,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,sBAAsB;CACvB,CAAC,CAAC"}
|
|
@@ -82,7 +82,7 @@ export declare const VetValidatorRegistrationIntent: t.IntersectionC<[t.Intersec
|
|
|
82
82
|
}>;
|
|
83
83
|
}>, t.TypeC<{
|
|
84
84
|
validatorAddress: import("io-ts-types").NonEmptyStringC;
|
|
85
|
-
stakingPeriod: t.
|
|
85
|
+
stakingPeriod: t.UnionC<[t.LiteralC<60480>, t.LiteralC<129600>, t.LiteralC<259200>]>;
|
|
86
86
|
stakingContractAddress: import("io-ts-types").NonEmptyStringC;
|
|
87
87
|
}>]>;
|
|
88
88
|
export type VetValidatorRegistrationIntent = t.TypeOf<typeof VetValidatorRegistrationIntent>;
|
|
@@ -33,7 +33,11 @@ exports.VetValidatorRegistrationIntent = t.intersection([
|
|
|
33
33
|
baseIntent_1.BaseIntentWithAmount,
|
|
34
34
|
t.type({
|
|
35
35
|
validatorAddress: io_ts_types_1.NonEmptyString,
|
|
36
|
-
stakingPeriod: t.
|
|
36
|
+
stakingPeriod: t.union([
|
|
37
|
+
t.literal(60480),
|
|
38
|
+
t.literal(129600),
|
|
39
|
+
t.literal(259200),
|
|
40
|
+
]),
|
|
37
41
|
stakingContractAddress: io_ts_types_1.NonEmptyString,
|
|
38
42
|
}),
|
|
39
43
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetValidatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+EAA4E;AAC5E,6CAA6C;AAC7C,6CAAoD;
|
|
1
|
+
{"version":3,"file":"vetValidatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+EAA4E;AAC5E,6CAA6C;AAC7C,6CAAoD;AAOvC,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,yDAA2B;IAC3B,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,gBAAgB,EAAE,4BAAc;QAEhC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC;YACrB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;YAChB,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;YACjB,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;SAClB,CAAC;QAEF,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetWithdrawStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetWithdrawStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"vetWithdrawStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetWithdrawStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA6C;AAC7C,6CAA2C;AAQ9B,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,aAAa;QAErC,gBAAgB,EAAE,4BAAc;QAEhC,sBAAsB,EAAE,4BAAc;KACvC,CAAC;CACH,CAAC,CAAC"}
|