@bitgo/public-types 5.14.0 → 5.16.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.
@@ -127,6 +127,7 @@ export * from "./transferTokenIntent";
127
127
  export * from "./unstakeIntent";
128
128
  export * from "./unsupportedTokenRecipientEntryItem";
129
129
  export * from "./vetStakingIntent";
130
+ export * from "./vetStakeClaimRewardsIntent";
130
131
  export * from "./voteDelegationIntent";
131
132
  export * from "./walletRecoveryIntent";
132
133
  export * from "./walrusStakingIntent";
@@ -134,3 +135,4 @@ export * from "./walrusUndelegateIntent";
134
135
  export * from "./walrusWithdrawIntent";
135
136
  export * from "./withdrawIntent";
136
137
  export * from "./tokenApprovalIntent";
138
+ export * from "./vetUnstakingIntent";
@@ -143,6 +143,7 @@ __exportStar(require("./transferTokenIntent"), exports);
143
143
  __exportStar(require("./unstakeIntent"), exports);
144
144
  __exportStar(require("./unsupportedTokenRecipientEntryItem"), exports);
145
145
  __exportStar(require("./vetStakingIntent"), exports);
146
+ __exportStar(require("./vetStakeClaimRewardsIntent"), exports);
146
147
  __exportStar(require("./voteDelegationIntent"), exports);
147
148
  __exportStar(require("./walletRecoveryIntent"), exports);
148
149
  __exportStar(require("./walrusStakingIntent"), exports);
@@ -150,4 +151,5 @@ __exportStar(require("./walrusUndelegateIntent"), exports);
150
151
  __exportStar(require("./walrusWithdrawIntent"), exports);
151
152
  __exportStar(require("./withdrawIntent"), exports);
152
153
  __exportStar(require("./tokenApprovalIntent"), exports);
154
+ __exportStar(require("./vetUnstakingIntent"), exports);
153
155
  //# sourceMappingURL=index.js.map
@@ -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,oDAA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AAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,qDAAmC;AACnC,4DAA0C;AAC1C,gDAA8B;AAC9B,+DAA6C;AAC7C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,8DAA4C;AAC5C,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC;AACnC,oDAAkC;AAClC,yDAAuC;AACvC,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,uDAAqC;AACrC,qEAAmD;AACnD,8CAA4B;AAC5B,oDAAkC;AAClC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,wDAAsC;AACtC,kDAAgC;AAChC,uEAAqD;AACrD,qDAAmC;AACnC,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC"}
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,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,uDAAqC;AACrC,kEAAgD;AAChD,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,gEAA8C;AAC9C,uDAAqC;AACrC,sDAAoC;AACpC,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C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EAAmD;AACnD,8CAA4B;AAC5B,oDAAkC;AAClC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,wDAAsC;AACtC,kDAAgC;AAChC,uEAAqD;AACrD,qDAAmC;AACnC,+DAA6C;AAC7C,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,uDAAqC"}
@@ -5134,6 +5134,150 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
5134
5134
  stakingContractAddress: import("io-ts-types").NonEmptyStringC;
5135
5135
  }>, t.PartialC<{
5136
5136
  nftTokenId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5137
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5138
+ intentType: t.KeyofC<{
5139
+ payment: t.LiteralC<"payment">;
5140
+ transferToken: t.LiteralC<"transferToken">;
5141
+ consolidate: t.LiteralC<"consolidate">;
5142
+ consolidateToken: t.LiteralC<"consolidateToken">;
5143
+ fanout: t.LiteralC<"fanout">;
5144
+ stake: t.LiteralC<"stake">;
5145
+ unstake: t.LiteralC<"unstake">;
5146
+ delegate: t.LiteralC<"delegate">;
5147
+ undelegate: t.LiteralC<"undelegate">;
5148
+ switchValidator: t.LiteralC<"switchValidator">;
5149
+ claim: t.LiteralC<"claim">;
5150
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
5151
+ pledge: t.LiteralC<"pledge">;
5152
+ voteDelegation: t.LiteralC<"voteDelegation">;
5153
+ vote: t.LiteralC<"vote">;
5154
+ createAccount: t.LiteralC<"createAccount">;
5155
+ updateAccount: t.LiteralC<"updateAccount">;
5156
+ addTrustLine: t.LiteralC<"addTrustLine">;
5157
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
5158
+ signMessage: t.LiteralC<"signMessage">;
5159
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
5160
+ enableToken: t.LiteralC<"enableToken">;
5161
+ authorize: t.LiteralC<"authorize">;
5162
+ acceleration: t.LiteralC<"acceleration">;
5163
+ fillNonce: t.LiteralC<"fillNonce">;
5164
+ walletRecovery: t.LiteralC<"walletRecovery">;
5165
+ contractCall: t.LiteralC<"contractCall">;
5166
+ deactivate: t.LiteralC<"deactivate">;
5167
+ customTx: t.LiteralC<"customTx">;
5168
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
5169
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
5170
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
5171
+ tokenApproval: t.LiteralC<"tokenApproval">;
5172
+ goUnstake: t.LiteralC<"goUnstake">;
5173
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
5174
+ }>;
5175
+ }>, t.PartialC<{
5176
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5177
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5178
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5179
+ }>]>, t.TypeC<{
5180
+ stakingRequestId: t.StringC;
5181
+ }>]>, t.TypeC<{
5182
+ intentType: t.LiteralC<"undelegate">;
5183
+ tokenId: t.StringC;
5184
+ delegationContractAddress: t.StringC;
5185
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5186
+ intentType: t.KeyofC<{
5187
+ payment: t.LiteralC<"payment">;
5188
+ transferToken: t.LiteralC<"transferToken">;
5189
+ consolidate: t.LiteralC<"consolidate">;
5190
+ consolidateToken: t.LiteralC<"consolidateToken">;
5191
+ fanout: t.LiteralC<"fanout">;
5192
+ stake: t.LiteralC<"stake">;
5193
+ unstake: t.LiteralC<"unstake">;
5194
+ delegate: t.LiteralC<"delegate">;
5195
+ undelegate: t.LiteralC<"undelegate">;
5196
+ switchValidator: t.LiteralC<"switchValidator">;
5197
+ claim: t.LiteralC<"claim">;
5198
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
5199
+ pledge: t.LiteralC<"pledge">;
5200
+ voteDelegation: t.LiteralC<"voteDelegation">;
5201
+ vote: t.LiteralC<"vote">;
5202
+ createAccount: t.LiteralC<"createAccount">;
5203
+ updateAccount: t.LiteralC<"updateAccount">;
5204
+ addTrustLine: t.LiteralC<"addTrustLine">;
5205
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
5206
+ signMessage: t.LiteralC<"signMessage">;
5207
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
5208
+ enableToken: t.LiteralC<"enableToken">;
5209
+ authorize: t.LiteralC<"authorize">;
5210
+ acceleration: t.LiteralC<"acceleration">;
5211
+ fillNonce: t.LiteralC<"fillNonce">;
5212
+ walletRecovery: t.LiteralC<"walletRecovery">;
5213
+ contractCall: t.LiteralC<"contractCall">;
5214
+ deactivate: t.LiteralC<"deactivate">;
5215
+ customTx: t.LiteralC<"customTx">;
5216
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
5217
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
5218
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
5219
+ tokenApproval: t.LiteralC<"tokenApproval">;
5220
+ goUnstake: t.LiteralC<"goUnstake">;
5221
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
5222
+ }>;
5223
+ }>, t.PartialC<{
5224
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5225
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5226
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5227
+ }>]>, t.TypeC<{
5228
+ stakingRequestId: t.StringC;
5229
+ }>]>, t.TypeC<{
5230
+ intentType: t.LiteralC<"unstake">;
5231
+ tokenId: t.StringC;
5232
+ nftContractAddress: t.StringC;
5233
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5234
+ intentType: t.KeyofC<{
5235
+ payment: t.LiteralC<"payment">;
5236
+ transferToken: t.LiteralC<"transferToken">;
5237
+ consolidate: t.LiteralC<"consolidate">;
5238
+ consolidateToken: t.LiteralC<"consolidateToken">;
5239
+ fanout: t.LiteralC<"fanout">;
5240
+ stake: t.LiteralC<"stake">;
5241
+ unstake: t.LiteralC<"unstake">;
5242
+ delegate: t.LiteralC<"delegate">;
5243
+ undelegate: t.LiteralC<"undelegate">;
5244
+ switchValidator: t.LiteralC<"switchValidator">;
5245
+ claim: t.LiteralC<"claim">;
5246
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
5247
+ pledge: t.LiteralC<"pledge">;
5248
+ voteDelegation: t.LiteralC<"voteDelegation">;
5249
+ vote: t.LiteralC<"vote">;
5250
+ createAccount: t.LiteralC<"createAccount">;
5251
+ updateAccount: t.LiteralC<"updateAccount">;
5252
+ addTrustLine: t.LiteralC<"addTrustLine">;
5253
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
5254
+ signMessage: t.LiteralC<"signMessage">;
5255
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
5256
+ enableToken: t.LiteralC<"enableToken">;
5257
+ authorize: t.LiteralC<"authorize">;
5258
+ acceleration: t.LiteralC<"acceleration">;
5259
+ fillNonce: t.LiteralC<"fillNonce">;
5260
+ walletRecovery: t.LiteralC<"walletRecovery">;
5261
+ contractCall: t.LiteralC<"contractCall">;
5262
+ deactivate: t.LiteralC<"deactivate">;
5263
+ customTx: t.LiteralC<"customTx">;
5264
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
5265
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
5266
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
5267
+ tokenApproval: t.LiteralC<"tokenApproval">;
5268
+ goUnstake: t.LiteralC<"goUnstake">;
5269
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
5270
+ }>;
5271
+ }>, t.PartialC<{
5272
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5273
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
5274
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
5275
+ }>]>, t.TypeC<{
5276
+ stakingRequestId: t.StringC;
5277
+ }>]>, t.TypeC<{
5278
+ intentType: t.LiteralC<"stakeClaimRewards">;
5279
+ tokenId: import("io-ts-types").NonEmptyStringC;
5280
+ delegationContractAddress: import("io-ts-types").NonEmptyStringC;
5137
5281
  }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5138
5282
  intentType: t.KeyofC<{
5139
5283
  payment: t.LiteralC<"payment">;
@@ -38,6 +38,7 @@ const babyWithdrawRewardIntent_1 = require("./babyWithdrawRewardIntent");
38
38
  const bscDelegateIntent_1 = require("./bscDelegateIntent");
39
39
  const bscUndelegateIntent_1 = require("./bscUndelegateIntent");
40
40
  const bscWithdrawUndelegateIntent_1 = require("./bscWithdrawUndelegateIntent");
41
+ const vetUnstakingIntent_1 = require("./vetUnstakingIntent");
41
42
  const cosmosPaymentIntent_1 = require("./cosmosPaymentIntent");
42
43
  const cosmosStakeIntent_1 = require("./cosmosStakeIntent");
43
44
  const cosmosSwitchValidatorIntent_1 = require("./cosmosSwitchValidatorIntent");
@@ -109,6 +110,7 @@ const walrusWithdrawIntent_1 = require("./walrusWithdrawIntent");
109
110
  const solGoUnstakeIntent_1 = require("./solGoUnstakeIntent");
110
111
  const suiGoUnstakeIntent_1 = require("./suiGoUnstakeIntent");
111
112
  const vetStakingIntent_1 = require("./vetStakingIntent");
113
+ const vetStakeClaimRewardsIntent_1 = require("./vetStakeClaimRewardsIntent");
112
114
  exports.TransactionIntent = t.union([
113
115
  adaConsolidateIntent_1.AdaConsolidateIntent,
114
116
  adaPaymentIntent_1.AdaPaymentIntent,
@@ -183,6 +185,9 @@ exports.TransactionIntent = t.union([
183
185
  tonPaymentIntent_1.TonPaymentIntent,
184
186
  tonUndelegateIntent_1.TonUndelegateIntent,
185
187
  vetStakingIntent_1.VetStakingIntent,
188
+ vetUnstakingIntent_1.VetExitDelegationIntent,
189
+ vetUnstakingIntent_1.VetBurnNFTIntent,
190
+ vetStakeClaimRewardsIntent_1.VetStakeClaimRewardsIntent,
186
191
  walletRecoveryIntent_1.WalletRecoveryIntent,
187
192
  baseStakeIntentWithCalldata_1.BaseStakeIntentWithCalldata,
188
193
  coredaoDelegateIntent_1.CoreDaoDelegateIntent,
@@ -1 +1 @@
1
- {"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,yEAAsE;AACtE,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,yEAAsE;AACtE,yDAAsD;AACtD,6DAA0D;AAC1D,+DAA4D;AAC5D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,2DAAwD;AACxD,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,2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AkB;IAClB,yCAAmB;IACnB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,qCAAiB;IACjB,yCAAmB;IACnB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,mCAAgB;IAChB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IAKpB,uBAAU;CACX,CAAC,CAAC"}
1
+ {"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,uEAAoE;AACpE,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,6DAG8B;AAC9B,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,yEAAsE;AACtE,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;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AAoB;IACpB,qDAAyB;IACzB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,+CAAsB;IACtB,mDAAwB;IACxB,mCAAgB;IAChB,+CAAsB;IACtB,2CAAoB;IACpB,mDAAwB;IACxB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,mDAAwB;IACxB,mCAAgB;IAChB,uCAAkB;IAClB,yCAAmB;IACnB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,qCAAiB;IACjB,yCAAmB;IACnB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,mCAAgB;IAChB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IAKpB,uBAAU;CACX,CAAC,CAAC"}
@@ -0,0 +1,51 @@
1
+ import * as t from "io-ts";
2
+ export declare const VetStakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
37
+ goUnstake: t.LiteralC<"goUnstake">;
38
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
39
+ }>;
40
+ }>, t.PartialC<{
41
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
42
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
43
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
44
+ }>]>, t.TypeC<{
45
+ stakingRequestId: t.StringC;
46
+ }>]>, t.TypeC<{
47
+ intentType: t.LiteralC<"stakeClaimRewards">;
48
+ tokenId: import("io-ts-types").NonEmptyStringC;
49
+ delegationContractAddress: import("io-ts-types").NonEmptyStringC;
50
+ }>]>;
51
+ export type VetStakeClaimRewardsIntent = t.TypeOf<typeof VetStakeClaimRewardsIntent>;
@@ -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.VetStakeClaimRewardsIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const baseStakeIntent_1 = require("./baseStakeIntent");
30
+ const io_ts_types_1 = require("io-ts-types");
31
+ exports.VetStakeClaimRewardsIntent = t.intersection([
32
+ baseStakeIntent_1.BaseStakeIntent,
33
+ t.type({
34
+ intentType: intentType_1.intentTypes.stakeClaimRewards,
35
+ tokenId: io_ts_types_1.NonEmptyString,
36
+ delegationContractAddress: io_ts_types_1.NonEmptyString,
37
+ }),
38
+ ]);
39
+ //# sourceMappingURL=vetStakeClaimRewardsIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vetStakeClaimRewardsIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,uDAAoD;AACpD,6CAA6C;AAYhC,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,iBAAiB;QACzC,OAAO,EAAE,4BAAc;QACvB,yBAAyB,EAAE,4BAAc;KAC1C,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,101 @@
1
+ import * as t from "io-ts";
2
+ export declare const VetExitDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
37
+ goUnstake: t.LiteralC<"goUnstake">;
38
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
39
+ }>;
40
+ }>, t.PartialC<{
41
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
42
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
43
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
44
+ }>]>, t.TypeC<{
45
+ stakingRequestId: t.StringC;
46
+ }>]>, t.TypeC<{
47
+ intentType: t.LiteralC<"undelegate">;
48
+ tokenId: t.StringC;
49
+ delegationContractAddress: t.StringC;
50
+ }>]>;
51
+ export type VetExitDelegationIntent = t.TypeOf<typeof VetExitDelegationIntent>;
52
+ export declare const VetBurnNFTIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
53
+ intentType: t.KeyofC<{
54
+ payment: t.LiteralC<"payment">;
55
+ transferToken: t.LiteralC<"transferToken">;
56
+ consolidate: t.LiteralC<"consolidate">;
57
+ consolidateToken: t.LiteralC<"consolidateToken">;
58
+ fanout: t.LiteralC<"fanout">;
59
+ stake: t.LiteralC<"stake">;
60
+ unstake: t.LiteralC<"unstake">;
61
+ delegate: t.LiteralC<"delegate">;
62
+ undelegate: t.LiteralC<"undelegate">;
63
+ switchValidator: t.LiteralC<"switchValidator">;
64
+ claim: t.LiteralC<"claim">;
65
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
66
+ pledge: t.LiteralC<"pledge">;
67
+ voteDelegation: t.LiteralC<"voteDelegation">;
68
+ vote: t.LiteralC<"vote">;
69
+ createAccount: t.LiteralC<"createAccount">;
70
+ updateAccount: t.LiteralC<"updateAccount">;
71
+ addTrustLine: t.LiteralC<"addTrustLine">;
72
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
73
+ signMessage: t.LiteralC<"signMessage">;
74
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
75
+ enableToken: t.LiteralC<"enableToken">;
76
+ authorize: t.LiteralC<"authorize">;
77
+ acceleration: t.LiteralC<"acceleration">;
78
+ fillNonce: t.LiteralC<"fillNonce">;
79
+ walletRecovery: t.LiteralC<"walletRecovery">;
80
+ contractCall: t.LiteralC<"contractCall">;
81
+ deactivate: t.LiteralC<"deactivate">;
82
+ customTx: t.LiteralC<"customTx">;
83
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
84
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
85
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
86
+ tokenApproval: t.LiteralC<"tokenApproval">;
87
+ goUnstake: t.LiteralC<"goUnstake">;
88
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
89
+ }>;
90
+ }>, t.PartialC<{
91
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
92
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
93
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
94
+ }>]>, t.TypeC<{
95
+ stakingRequestId: t.StringC;
96
+ }>]>, t.TypeC<{
97
+ intentType: t.LiteralC<"unstake">;
98
+ tokenId: t.StringC;
99
+ nftContractAddress: t.StringC;
100
+ }>]>;
101
+ export type VetBurnNFTIntent = t.TypeOf<typeof VetBurnNFTIntent>;
@@ -0,0 +1,46 @@
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.VetBurnNFTIntent = exports.VetExitDelegationIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const baseStakeIntent_1 = require("./baseStakeIntent");
30
+ exports.VetExitDelegationIntent = t.intersection([
31
+ baseStakeIntent_1.BaseStakeIntent,
32
+ t.type({
33
+ intentType: intentType_1.intentTypes.undelegate,
34
+ tokenId: t.string,
35
+ delegationContractAddress: t.string,
36
+ }),
37
+ ]);
38
+ exports.VetBurnNFTIntent = t.intersection([
39
+ baseStakeIntent_1.BaseStakeIntent,
40
+ t.type({
41
+ intentType: intentType_1.intentTypes.unstake,
42
+ tokenId: t.string,
43
+ nftContractAddress: t.string,
44
+ }),
45
+ ]);
46
+ //# sourceMappingURL=vetUnstakingIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vetUnstakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetUnstakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,uDAAoD;AAWvC,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,UAAU;QAClC,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,yBAAyB,EAAE,CAAC,CAAC,MAAM;KACpC,CAAC;CACH,CAAC,CAAC;AAaU,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,OAAO;QAC/B,OAAO,EAAE,CAAC,CAAC,MAAM;QACjB,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;CACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.14.0",
3
+ "version": "5.16.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -127,6 +127,7 @@ export * from "./transferTokenIntent";
127
127
  export * from "./unstakeIntent";
128
128
  export * from "./unsupportedTokenRecipientEntryItem";
129
129
  export * from "./vetStakingIntent";
130
+ export * from "./vetStakeClaimRewardsIntent";
130
131
  export * from "./voteDelegationIntent";
131
132
  export * from "./walletRecoveryIntent";
132
133
  export * from "./walrusStakingIntent";
@@ -134,3 +135,4 @@ export * from "./walrusUndelegateIntent";
134
135
  export * from "./walrusWithdrawIntent";
135
136
  export * from "./withdrawIntent";
136
137
  export * from "./tokenApprovalIntent";
138
+ export * from "./vetUnstakingIntent";
@@ -12,6 +12,10 @@ import { BabyWithdrawRewardIntent } from "./babyWithdrawRewardIntent";
12
12
  import { BscDelegateIntent } from "./bscDelegateIntent";
13
13
  import { BscUnDelegateIntent } from "./bscUndelegateIntent";
14
14
  import { BscWithdrawUndelegateIntent } from "./bscWithdrawUndelegateIntent";
15
+ import {
16
+ VetExitDelegationIntent,
17
+ VetBurnNFTIntent,
18
+ } from "./vetUnstakingIntent";
15
19
  import { CosmosPaymentIntent } from "./cosmosPaymentIntent";
16
20
  import { CosmosStakeIntent } from "./cosmosStakeIntent";
17
21
  import { CosmosSwitchValidatorIntent } from "./cosmosSwitchValidatorIntent";
@@ -83,6 +87,7 @@ import { WalrusWithdrawIntent } from "./walrusWithdrawIntent";
83
87
  import { SolGoUnstakeIntent } from "./solGoUnstakeIntent";
84
88
  import { SuiGoUnstakeIntent } from "./suiGoUnstakeIntent";
85
89
  import { VetStakingIntent } from "./vetStakingIntent";
90
+ import { VetStakeClaimRewardsIntent } from "./vetStakeClaimRewardsIntent";
86
91
 
87
92
  export const TransactionIntent = t.union([
88
93
  AdaConsolidateIntent,
@@ -158,6 +163,9 @@ export const TransactionIntent = t.union([
158
163
  TonPaymentIntent,
159
164
  TonUndelegateIntent,
160
165
  VetStakingIntent,
166
+ VetExitDelegationIntent,
167
+ VetBurnNFTIntent,
168
+ VetStakeClaimRewardsIntent,
161
169
  WalletRecoveryIntent,
162
170
  BaseStakeIntentWithCalldata,
163
171
  CoreDaoDelegateIntent,
@@ -0,0 +1,27 @@
1
+ import * as t from "io-ts";
2
+ import { intentTypes } from "./intentType";
3
+ import { BaseStakeIntent } from "./baseStakeIntent";
4
+ import { NonEmptyString } from "io-ts-types";
5
+
6
+ /**
7
+ * @title VET Stake Claim Rewards Intent
8
+ *
9
+ * Intent for claiming rewards from VeChain (VET) staking
10
+ * VET staking rewards are accumulated by NFTs that represent stakes in the delegation contract.
11
+ * This intent calls the claimRewards function on the delegation contract for a specific NFT token.
12
+ *
13
+ * @param {string} tokenId - The ID of the NFT token to claim rewards for
14
+ * @param {string} delegationContractAddress - The address of the delegation contract
15
+ */
16
+ export const VetStakeClaimRewardsIntent = t.intersection([
17
+ BaseStakeIntent,
18
+ t.type({
19
+ intentType: intentTypes.stakeClaimRewards,
20
+ tokenId: NonEmptyString,
21
+ delegationContractAddress: NonEmptyString,
22
+ }),
23
+ ]);
24
+
25
+ export type VetStakeClaimRewardsIntent = t.TypeOf<
26
+ typeof VetStakeClaimRewardsIntent
27
+ >;
@@ -0,0 +1,43 @@
1
+ import * as t from "io-ts";
2
+ import { intentTypes } from "./intentType";
3
+ import { BaseStakeIntent } from "./baseStakeIntent";
4
+
5
+ /**
6
+ * @title VET Exit Delegation Intent
7
+ *
8
+ * Intent for the first step of VET unstaking process - exiting delegation
9
+ * This calls the exitDelegation function on the delegation contract
10
+ *
11
+ * @param {string} tokenId - The ID of the NFT token representing the stake
12
+ * @param {string} delegationContractAddress - The address of the delegation contract
13
+ */
14
+ export const VetExitDelegationIntent = t.intersection([
15
+ BaseStakeIntent,
16
+ t.type({
17
+ intentType: intentTypes.undelegate,
18
+ tokenId: t.string,
19
+ delegationContractAddress: t.string,
20
+ }),
21
+ ]);
22
+
23
+ export type VetExitDelegationIntent = t.TypeOf<typeof VetExitDelegationIntent>;
24
+
25
+ /**
26
+ * @title VET Burn NFT Intent
27
+ *
28
+ * Intent for the second step of VET unstaking process - burning the NFT
29
+ * This calls the burn function on the NFT contract after the cooldown period
30
+ *
31
+ * @param {string} tokenId - The ID of the NFT token to burn
32
+ * @param {string} nftContractAddress - The address of the NFT contract
33
+ */
34
+ export const VetBurnNFTIntent = t.intersection([
35
+ BaseStakeIntent,
36
+ t.type({
37
+ intentType: intentTypes.unstake,
38
+ tokenId: t.string,
39
+ nftContractAddress: t.string,
40
+ }),
41
+ ]);
42
+
43
+ export type VetBurnNFTIntent = t.TypeOf<typeof VetBurnNFTIntent>;