@bitgo/public-types 5.71.0 → 5.73.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.
Files changed (30) hide show
  1. package/dist/src/schema/transactionRequest/intents/index.d.ts +4 -0
  2. package/dist/src/schema/transactionRequest/intents/index.js +4 -0
  3. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  4. package/dist/src/schema/transactionRequest/intents/intent.d.ts +236 -0
  5. package/dist/src/schema/transactionRequest/intents/intent.js +8 -0
  6. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  7. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +64 -0
  8. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.js +40 -0
  9. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.js.map +1 -0
  10. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +59 -0
  11. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.js +39 -0
  12. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.js.map +1 -0
  13. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +65 -0
  14. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.js +41 -0
  15. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.js.map +1 -0
  16. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +64 -0
  17. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.js +40 -0
  18. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.js.map +1 -0
  19. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +472 -0
  20. package/dist/src/schema/webhook/webhookType.d.ts +2 -1
  21. package/dist/src/schema/webhook/webhookType.js +1 -0
  22. package/dist/src/schema/webhook/webhookType.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/schema/transactionRequest/intents/index.ts +4 -0
  25. package/src/schema/transactionRequest/intents/intent.ts +8 -0
  26. package/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.ts +27 -0
  27. package/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.ts +26 -0
  28. package/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.ts +29 -0
  29. package/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.ts +27 -0
  30. package/src/schema/webhook/webhookType.ts +3 -0
@@ -147,7 +147,11 @@ export * from "./tokenRecipientEntry";
147
147
  export * from "./tokenRecipientEntryItem";
148
148
  export * from "./tonConsolidateIntent";
149
149
  export * from "./tonDelegateIntent";
150
+ export * from "./tonMultiNominatorDelegateIntent";
151
+ export * from "./tonMultiNominatorUndelegateIntent";
150
152
  export * from "./tonPaymentIntent";
153
+ export * from "./tonSingleNominatorDelegateIntent";
154
+ export * from "./tonSingleNominatorUndelegateIntent";
151
155
  export * from "./tonStakingType";
152
156
  export * from "./tonUndelegateIntent";
153
157
  export * from "./tonWhalesDelegateIntent";
@@ -163,7 +163,11 @@ __exportStar(require("./tokenRecipientEntry"), exports);
163
163
  __exportStar(require("./tokenRecipientEntryItem"), exports);
164
164
  __exportStar(require("./tonConsolidateIntent"), exports);
165
165
  __exportStar(require("./tonDelegateIntent"), exports);
166
+ __exportStar(require("./tonMultiNominatorDelegateIntent"), exports);
167
+ __exportStar(require("./tonMultiNominatorUndelegateIntent"), exports);
166
168
  __exportStar(require("./tonPaymentIntent"), exports);
169
+ __exportStar(require("./tonSingleNominatorDelegateIntent"), exports);
170
+ __exportStar(require("./tonSingleNominatorUndelegateIntent"), exports);
167
171
  __exportStar(require("./tonStakingType"), exports);
168
172
  __exportStar(require("./tonUndelegateIntent"), exports);
169
173
  __exportStar(require("./tonWhalesDelegateIntent"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src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yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC"}
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,+DAA6C;AAC7C,oEAAkD;AAClD,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,sDAAoC;AACpC,gEAA8C;AAC9C,wDAAsC;AACtC,yDAAuC;AACvC,+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;AAC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;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,yDAAuC;AACvC,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,qDAAmC"}
@@ -6356,6 +6356,121 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
6356
6356
  }>, t.PartialC<{
6357
6357
  ownerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6358
6358
  tonStakingType: t.KeyofC<typeof import("./tonStakingType").TonStakingTypeEnum>;
6359
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6360
+ intentType: t.KeyofC<{
6361
+ payment: t.LiteralC<"payment">;
6362
+ transferToken: t.LiteralC<"transferToken">;
6363
+ consolidate: t.LiteralC<"consolidate">;
6364
+ consolidateToken: t.LiteralC<"consolidateToken">;
6365
+ fanout: t.LiteralC<"fanout">;
6366
+ stake: t.LiteralC<"stake">;
6367
+ unstake: t.LiteralC<"unstake">;
6368
+ delegate: t.LiteralC<"delegate">;
6369
+ undelegate: t.LiteralC<"undelegate">;
6370
+ switchValidator: t.LiteralC<"switchValidator">;
6371
+ claim: t.LiteralC<"claim">;
6372
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
6373
+ pledge: t.LiteralC<"pledge">;
6374
+ voteDelegation: t.LiteralC<"voteDelegation">;
6375
+ vote: t.LiteralC<"vote">;
6376
+ createAccount: t.LiteralC<"createAccount">;
6377
+ updateAccount: t.LiteralC<"updateAccount">;
6378
+ addTrustLine: t.LiteralC<"addTrustLine">;
6379
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
6380
+ signMessage: t.LiteralC<"signMessage">;
6381
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
6382
+ enableToken: t.LiteralC<"enableToken">;
6383
+ authorize: t.LiteralC<"authorize">;
6384
+ acceleration: t.LiteralC<"acceleration">;
6385
+ fillNonce: t.LiteralC<"fillNonce">;
6386
+ walletRecovery: t.LiteralC<"walletRecovery">;
6387
+ contractCall: t.LiteralC<"contractCall">;
6388
+ deactivate: t.LiteralC<"deactivate">;
6389
+ customTx: t.LiteralC<"customTx">;
6390
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
6391
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
6392
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
6393
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
6394
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
6395
+ tokenApproval: t.LiteralC<"tokenApproval">;
6396
+ transferStake: t.LiteralC<"transferStake">;
6397
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
6398
+ spotTransfer: t.LiteralC<"spotTransfer">;
6399
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
6400
+ goUnstake: t.LiteralC<"goUnstake">;
6401
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
6402
+ transferAccept: t.LiteralC<"transferAccept">;
6403
+ transferReject: t.LiteralC<"transferReject">;
6404
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
6405
+ }>;
6406
+ }>, t.PartialC<{
6407
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6408
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6409
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
6410
+ }>]>, t.TypeC<{
6411
+ amount: t.TypeC<{
6412
+ value: t.StringC;
6413
+ symbol: t.StringC;
6414
+ }>;
6415
+ }>, t.TypeC<{
6416
+ intentType: t.LiteralC<"delegate">;
6417
+ validatorAddress: t.StringC;
6418
+ tonStakingType: t.LiteralC<import("./tonStakingType").TonStakingTypeEnum.MULTI_NOMINATOR>;
6419
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6420
+ intentType: t.KeyofC<{
6421
+ payment: t.LiteralC<"payment">;
6422
+ transferToken: t.LiteralC<"transferToken">;
6423
+ consolidate: t.LiteralC<"consolidate">;
6424
+ consolidateToken: t.LiteralC<"consolidateToken">;
6425
+ fanout: t.LiteralC<"fanout">;
6426
+ stake: t.LiteralC<"stake">;
6427
+ unstake: t.LiteralC<"unstake">;
6428
+ delegate: t.LiteralC<"delegate">;
6429
+ undelegate: t.LiteralC<"undelegate">;
6430
+ switchValidator: t.LiteralC<"switchValidator">;
6431
+ claim: t.LiteralC<"claim">;
6432
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
6433
+ pledge: t.LiteralC<"pledge">;
6434
+ voteDelegation: t.LiteralC<"voteDelegation">;
6435
+ vote: t.LiteralC<"vote">;
6436
+ createAccount: t.LiteralC<"createAccount">;
6437
+ updateAccount: t.LiteralC<"updateAccount">;
6438
+ addTrustLine: t.LiteralC<"addTrustLine">;
6439
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
6440
+ signMessage: t.LiteralC<"signMessage">;
6441
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
6442
+ enableToken: t.LiteralC<"enableToken">;
6443
+ authorize: t.LiteralC<"authorize">;
6444
+ acceleration: t.LiteralC<"acceleration">;
6445
+ fillNonce: t.LiteralC<"fillNonce">;
6446
+ walletRecovery: t.LiteralC<"walletRecovery">;
6447
+ contractCall: t.LiteralC<"contractCall">;
6448
+ deactivate: t.LiteralC<"deactivate">;
6449
+ customTx: t.LiteralC<"customTx">;
6450
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
6451
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
6452
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
6453
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
6454
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
6455
+ tokenApproval: t.LiteralC<"tokenApproval">;
6456
+ transferStake: t.LiteralC<"transferStake">;
6457
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
6458
+ spotTransfer: t.LiteralC<"spotTransfer">;
6459
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
6460
+ goUnstake: t.LiteralC<"goUnstake">;
6461
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
6462
+ transferAccept: t.LiteralC<"transferAccept">;
6463
+ transferReject: t.LiteralC<"transferReject">;
6464
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
6465
+ }>;
6466
+ }>, t.PartialC<{
6467
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6468
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6469
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
6470
+ }>]>, t.TypeC<{
6471
+ intentType: t.LiteralC<"undelegate">;
6472
+ validatorAddress: t.StringC;
6473
+ tonStakingType: t.LiteralC<import("./tonStakingType").TonStakingTypeEnum.MULTI_NOMINATOR>;
6359
6474
  }>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6360
6475
  intentType: t.KeyofC<{
6361
6476
  payment: t.LiteralC<"payment">;
@@ -6482,6 +6597,127 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
6482
6597
  sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6483
6598
  comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6484
6599
  nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
6600
+ }>]>, t.TypeC<{
6601
+ amount: t.TypeC<{
6602
+ value: t.StringC;
6603
+ symbol: t.StringC;
6604
+ }>;
6605
+ }>, t.TypeC<{
6606
+ intentType: t.LiteralC<"delegate">;
6607
+ validatorAddress: t.StringC;
6608
+ ownerAddress: t.StringC;
6609
+ tonStakingType: t.LiteralC<import("./tonStakingType").TonStakingTypeEnum.SINGLE_NOMINATOR>;
6610
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6611
+ intentType: t.KeyofC<{
6612
+ payment: t.LiteralC<"payment">;
6613
+ transferToken: t.LiteralC<"transferToken">;
6614
+ consolidate: t.LiteralC<"consolidate">;
6615
+ consolidateToken: t.LiteralC<"consolidateToken">;
6616
+ fanout: t.LiteralC<"fanout">;
6617
+ stake: t.LiteralC<"stake">;
6618
+ unstake: t.LiteralC<"unstake">;
6619
+ delegate: t.LiteralC<"delegate">;
6620
+ undelegate: t.LiteralC<"undelegate">;
6621
+ switchValidator: t.LiteralC<"switchValidator">;
6622
+ claim: t.LiteralC<"claim">;
6623
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
6624
+ pledge: t.LiteralC<"pledge">;
6625
+ voteDelegation: t.LiteralC<"voteDelegation">;
6626
+ vote: t.LiteralC<"vote">;
6627
+ createAccount: t.LiteralC<"createAccount">;
6628
+ updateAccount: t.LiteralC<"updateAccount">;
6629
+ addTrustLine: t.LiteralC<"addTrustLine">;
6630
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
6631
+ signMessage: t.LiteralC<"signMessage">;
6632
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
6633
+ enableToken: t.LiteralC<"enableToken">;
6634
+ authorize: t.LiteralC<"authorize">;
6635
+ acceleration: t.LiteralC<"acceleration">;
6636
+ fillNonce: t.LiteralC<"fillNonce">;
6637
+ walletRecovery: t.LiteralC<"walletRecovery">;
6638
+ contractCall: t.LiteralC<"contractCall">;
6639
+ deactivate: t.LiteralC<"deactivate">;
6640
+ customTx: t.LiteralC<"customTx">;
6641
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
6642
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
6643
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
6644
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
6645
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
6646
+ tokenApproval: t.LiteralC<"tokenApproval">;
6647
+ transferStake: t.LiteralC<"transferStake">;
6648
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
6649
+ spotTransfer: t.LiteralC<"spotTransfer">;
6650
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
6651
+ goUnstake: t.LiteralC<"goUnstake">;
6652
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
6653
+ transferAccept: t.LiteralC<"transferAccept">;
6654
+ transferReject: t.LiteralC<"transferReject">;
6655
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
6656
+ }>;
6657
+ }>, t.PartialC<{
6658
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6659
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6660
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
6661
+ }>]>, t.TypeC<{
6662
+ amount: t.TypeC<{
6663
+ value: t.StringC;
6664
+ symbol: t.StringC;
6665
+ }>;
6666
+ }>, t.TypeC<{
6667
+ intentType: t.LiteralC<"undelegate">;
6668
+ validatorAddress: t.StringC;
6669
+ tonStakingType: t.LiteralC<import("./tonStakingType").TonStakingTypeEnum.SINGLE_NOMINATOR>;
6670
+ }>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
6671
+ intentType: t.KeyofC<{
6672
+ payment: t.LiteralC<"payment">;
6673
+ transferToken: t.LiteralC<"transferToken">;
6674
+ consolidate: t.LiteralC<"consolidate">;
6675
+ consolidateToken: t.LiteralC<"consolidateToken">;
6676
+ fanout: t.LiteralC<"fanout">;
6677
+ stake: t.LiteralC<"stake">;
6678
+ unstake: t.LiteralC<"unstake">;
6679
+ delegate: t.LiteralC<"delegate">;
6680
+ undelegate: t.LiteralC<"undelegate">;
6681
+ switchValidator: t.LiteralC<"switchValidator">;
6682
+ claim: t.LiteralC<"claim">;
6683
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
6684
+ pledge: t.LiteralC<"pledge">;
6685
+ voteDelegation: t.LiteralC<"voteDelegation">;
6686
+ vote: t.LiteralC<"vote">;
6687
+ createAccount: t.LiteralC<"createAccount">;
6688
+ updateAccount: t.LiteralC<"updateAccount">;
6689
+ addTrustLine: t.LiteralC<"addTrustLine">;
6690
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
6691
+ signMessage: t.LiteralC<"signMessage">;
6692
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
6693
+ enableToken: t.LiteralC<"enableToken">;
6694
+ authorize: t.LiteralC<"authorize">;
6695
+ acceleration: t.LiteralC<"acceleration">;
6696
+ fillNonce: t.LiteralC<"fillNonce">;
6697
+ walletRecovery: t.LiteralC<"walletRecovery">;
6698
+ contractCall: t.LiteralC<"contractCall">;
6699
+ deactivate: t.LiteralC<"deactivate">;
6700
+ customTx: t.LiteralC<"customTx">;
6701
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
6702
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
6703
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
6704
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
6705
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
6706
+ tokenApproval: t.LiteralC<"tokenApproval">;
6707
+ transferStake: t.LiteralC<"transferStake">;
6708
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
6709
+ spotTransfer: t.LiteralC<"spotTransfer">;
6710
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
6711
+ goUnstake: t.LiteralC<"goUnstake">;
6712
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
6713
+ transferAccept: t.LiteralC<"transferAccept">;
6714
+ transferReject: t.LiteralC<"transferReject">;
6715
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
6716
+ }>;
6717
+ }>, t.PartialC<{
6718
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6719
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
6720
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
6485
6721
  }>]>, t.TypeC<{
6486
6722
  intentType: t.LiteralC<"undelegate">;
6487
6723
  validatorAddress: t.StringC;
@@ -88,7 +88,11 @@ const taoTransferStakeIntent_1 = require("./taoTransferStakeIntent");
88
88
  const taoUnstakeIntent_1 = require("./taoUnstakeIntent");
89
89
  const tokenApprovalIntent_1 = require("./tokenApprovalIntent");
90
90
  const tonDelegateIntent_1 = require("./tonDelegateIntent");
91
+ const tonMultiNominatorDelegateIntent_1 = require("./tonMultiNominatorDelegateIntent");
92
+ const tonMultiNominatorUndelegateIntent_1 = require("./tonMultiNominatorUndelegateIntent");
91
93
  const tonPaymentIntent_1 = require("./tonPaymentIntent");
94
+ const tonSingleNominatorDelegateIntent_1 = require("./tonSingleNominatorDelegateIntent");
95
+ const tonSingleNominatorUndelegateIntent_1 = require("./tonSingleNominatorUndelegateIntent");
92
96
  const tonUndelegateIntent_1 = require("./tonUndelegateIntent");
93
97
  const walletRecoveryIntent_1 = require("./walletRecoveryIntent");
94
98
  const solConsolidateIntent_1 = require("./solConsolidateIntent");
@@ -208,7 +212,11 @@ exports.TransactionIntent = t.union([
208
212
  tokenApprovalIntent_1.TokenApprovalIntent,
209
213
  tonConsolidateIntent_1.TonConsolidateIntent,
210
214
  tonDelegateIntent_1.TonDelegateIntent,
215
+ tonMultiNominatorDelegateIntent_1.TonMultiNominatorDelegateIntent,
216
+ tonMultiNominatorUndelegateIntent_1.TonMultiNominatorUndelegateIntent,
211
217
  tonPaymentIntent_1.TonPaymentIntent,
218
+ tonSingleNominatorDelegateIntent_1.TonSingleNominatorDelegateIntent,
219
+ tonSingleNominatorUndelegateIntent_1.TonSingleNominatorUndelegateIntent,
212
220
  tonUndelegateIntent_1.TonUndelegateIntent,
213
221
  tonWhalesDelegateIntent_1.TonWhalesDelegateIntent,
214
222
  tonWhalesUndelegateIntent_1.TonWhalesUndelegateIntent,
@@ -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,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,2EAAwE;AACxE,yDAAsD;AACtD,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,2DAAw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AAgB;IAChB,+CAAsB;IACtB,2CAAoB;IACpB,mDAAwB;IACxB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,mDAAwB;IACxB,uDAA0B;IAC1B,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,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mDAAwB;IACxB,+CAAsB;IACtB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,iDAAuB;IACvB,qDAAyB;IACzB,mCAAgB;IAChB,qCAAiB;IACjB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,+DAA8B;IAC9B,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAKhB,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,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,mFAAgF;AAChF,yEAAsE;AACtE,2DAAwD;AACxD,+D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ClB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mDAAwB;IACxB,+CAAsB;IACtB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,iEAA+B;IAC/B,qEAAiC;IACjC,mCAAgB;IAChB,mEAAgC;IAChC,uEAAkC;IAClC,yCAAmB;IACnB,iDAAuB;IACvB,qDAAyB;IACzB,mCAAgB;IAChB,qCAAiB;IACjB,4CAAuB;IACvB,qCAAgB;IAChB,uDAA0B;IAC1B,+DAA8B;IAC9B,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IACpB,qCAAkB;IAClB,mCAAgB;IAKhB,uBAAU;CACX,CAAC,CAAC"}
@@ -0,0 +1,64 @@
1
+ import * as t from "io-ts";
2
+ import { TonStakingTypeEnum } from "./tonStakingType";
3
+ export declare const TonMultiNominatorDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4
+ intentType: t.KeyofC<{
5
+ payment: t.LiteralC<"payment">;
6
+ transferToken: t.LiteralC<"transferToken">;
7
+ consolidate: t.LiteralC<"consolidate">;
8
+ consolidateToken: t.LiteralC<"consolidateToken">;
9
+ fanout: t.LiteralC<"fanout">;
10
+ stake: t.LiteralC<"stake">;
11
+ unstake: t.LiteralC<"unstake">;
12
+ delegate: t.LiteralC<"delegate">;
13
+ undelegate: t.LiteralC<"undelegate">;
14
+ switchValidator: t.LiteralC<"switchValidator">;
15
+ claim: t.LiteralC<"claim">;
16
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
17
+ pledge: t.LiteralC<"pledge">;
18
+ voteDelegation: t.LiteralC<"voteDelegation">;
19
+ vote: t.LiteralC<"vote">;
20
+ createAccount: t.LiteralC<"createAccount">;
21
+ updateAccount: t.LiteralC<"updateAccount">;
22
+ addTrustLine: t.LiteralC<"addTrustLine">;
23
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
24
+ signMessage: t.LiteralC<"signMessage">;
25
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
26
+ enableToken: t.LiteralC<"enableToken">;
27
+ authorize: t.LiteralC<"authorize">;
28
+ acceleration: t.LiteralC<"acceleration">;
29
+ fillNonce: t.LiteralC<"fillNonce">;
30
+ walletRecovery: t.LiteralC<"walletRecovery">;
31
+ contractCall: t.LiteralC<"contractCall">;
32
+ deactivate: t.LiteralC<"deactivate">;
33
+ customTx: t.LiteralC<"customTx">;
34
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
35
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
36
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
37
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
38
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
39
+ tokenApproval: t.LiteralC<"tokenApproval">;
40
+ transferStake: t.LiteralC<"transferStake">;
41
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
42
+ spotTransfer: t.LiteralC<"spotTransfer">;
43
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
44
+ goUnstake: t.LiteralC<"goUnstake">;
45
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
46
+ transferAccept: t.LiteralC<"transferAccept">;
47
+ transferReject: t.LiteralC<"transferReject">;
48
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
49
+ }>;
50
+ }>, t.PartialC<{
51
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
52
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
53
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
54
+ }>]>, t.TypeC<{
55
+ amount: t.TypeC<{
56
+ value: t.StringC;
57
+ symbol: t.StringC;
58
+ }>;
59
+ }>, t.TypeC<{
60
+ intentType: t.LiteralC<"delegate">;
61
+ validatorAddress: t.StringC;
62
+ tonStakingType: t.LiteralC<TonStakingTypeEnum.MULTI_NOMINATOR>;
63
+ }>]>;
64
+ export type TonMultiNominatorDelegateIntent = t.TypeOf<typeof TonMultiNominatorDelegateIntent>;
@@ -0,0 +1,40 @@
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.TonMultiNominatorDelegateIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const tonStakingType_1 = require("./tonStakingType");
30
+ const baseIntent_1 = require("./baseIntent");
31
+ exports.TonMultiNominatorDelegateIntent = t.intersection([
32
+ baseIntent_1.BaseIntent,
33
+ baseIntent_1.BaseIntentWithAmount,
34
+ t.type({
35
+ intentType: intentType_1.intentTypes.delegate,
36
+ validatorAddress: t.string,
37
+ tonStakingType: t.literal(tonStakingType_1.TonStakingTypeEnum.MULTI_NOMINATOR),
38
+ }),
39
+ ]);
40
+ //# sourceMappingURL=tonMultiNominatorDelegateIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonMultiNominatorDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,qDAAsD;AACtD,6CAAgE;AAWnD,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,uBAAU;IACV,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAkB,CAAC,eAAe,CAAC;KAC9D,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import * as t from "io-ts";
2
+ import { TonStakingTypeEnum } from "./tonStakingType";
3
+ export declare const TonMultiNominatorUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4
+ intentType: t.KeyofC<{
5
+ payment: t.LiteralC<"payment">;
6
+ transferToken: t.LiteralC<"transferToken">;
7
+ consolidate: t.LiteralC<"consolidate">;
8
+ consolidateToken: t.LiteralC<"consolidateToken">;
9
+ fanout: t.LiteralC<"fanout">;
10
+ stake: t.LiteralC<"stake">;
11
+ unstake: t.LiteralC<"unstake">;
12
+ delegate: t.LiteralC<"delegate">;
13
+ undelegate: t.LiteralC<"undelegate">;
14
+ switchValidator: t.LiteralC<"switchValidator">;
15
+ claim: t.LiteralC<"claim">;
16
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
17
+ pledge: t.LiteralC<"pledge">;
18
+ voteDelegation: t.LiteralC<"voteDelegation">;
19
+ vote: t.LiteralC<"vote">;
20
+ createAccount: t.LiteralC<"createAccount">;
21
+ updateAccount: t.LiteralC<"updateAccount">;
22
+ addTrustLine: t.LiteralC<"addTrustLine">;
23
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
24
+ signMessage: t.LiteralC<"signMessage">;
25
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
26
+ enableToken: t.LiteralC<"enableToken">;
27
+ authorize: t.LiteralC<"authorize">;
28
+ acceleration: t.LiteralC<"acceleration">;
29
+ fillNonce: t.LiteralC<"fillNonce">;
30
+ walletRecovery: t.LiteralC<"walletRecovery">;
31
+ contractCall: t.LiteralC<"contractCall">;
32
+ deactivate: t.LiteralC<"deactivate">;
33
+ customTx: t.LiteralC<"customTx">;
34
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
35
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
36
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
37
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
38
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
39
+ tokenApproval: t.LiteralC<"tokenApproval">;
40
+ transferStake: t.LiteralC<"transferStake">;
41
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
42
+ spotTransfer: t.LiteralC<"spotTransfer">;
43
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
44
+ goUnstake: t.LiteralC<"goUnstake">;
45
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
46
+ transferAccept: t.LiteralC<"transferAccept">;
47
+ transferReject: t.LiteralC<"transferReject">;
48
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
49
+ }>;
50
+ }>, t.PartialC<{
51
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
52
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
53
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
54
+ }>]>, t.TypeC<{
55
+ intentType: t.LiteralC<"undelegate">;
56
+ validatorAddress: t.StringC;
57
+ tonStakingType: t.LiteralC<TonStakingTypeEnum.MULTI_NOMINATOR>;
58
+ }>]>;
59
+ export type TonMultiNominatorUndelegateIntent = t.TypeOf<typeof TonMultiNominatorUndelegateIntent>;
@@ -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.TonMultiNominatorUndelegateIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const tonStakingType_1 = require("./tonStakingType");
30
+ const baseIntent_1 = require("./baseIntent");
31
+ exports.TonMultiNominatorUndelegateIntent = t.intersection([
32
+ baseIntent_1.BaseIntent,
33
+ t.type({
34
+ intentType: intentType_1.intentTypes.undelegate,
35
+ validatorAddress: t.string,
36
+ tonStakingType: t.literal(tonStakingType_1.TonStakingTypeEnum.MULTI_NOMINATOR),
37
+ }),
38
+ ]);
39
+ //# sourceMappingURL=tonMultiNominatorUndelegateIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonMultiNominatorUndelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,qDAAsD;AACtD,6CAA0C;AAW7B,QAAA,iCAAiC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9D,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,UAAU;QAClC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAkB,CAAC,eAAe,CAAC;KAC9D,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,65 @@
1
+ import * as t from "io-ts";
2
+ import { TonStakingTypeEnum } from "./tonStakingType";
3
+ export declare const TonSingleNominatorDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4
+ intentType: t.KeyofC<{
5
+ payment: t.LiteralC<"payment">;
6
+ transferToken: t.LiteralC<"transferToken">;
7
+ consolidate: t.LiteralC<"consolidate">;
8
+ consolidateToken: t.LiteralC<"consolidateToken">;
9
+ fanout: t.LiteralC<"fanout">;
10
+ stake: t.LiteralC<"stake">;
11
+ unstake: t.LiteralC<"unstake">;
12
+ delegate: t.LiteralC<"delegate">;
13
+ undelegate: t.LiteralC<"undelegate">;
14
+ switchValidator: t.LiteralC<"switchValidator">;
15
+ claim: t.LiteralC<"claim">;
16
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
17
+ pledge: t.LiteralC<"pledge">;
18
+ voteDelegation: t.LiteralC<"voteDelegation">;
19
+ vote: t.LiteralC<"vote">;
20
+ createAccount: t.LiteralC<"createAccount">;
21
+ updateAccount: t.LiteralC<"updateAccount">;
22
+ addTrustLine: t.LiteralC<"addTrustLine">;
23
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
24
+ signMessage: t.LiteralC<"signMessage">;
25
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
26
+ enableToken: t.LiteralC<"enableToken">;
27
+ authorize: t.LiteralC<"authorize">;
28
+ acceleration: t.LiteralC<"acceleration">;
29
+ fillNonce: t.LiteralC<"fillNonce">;
30
+ walletRecovery: t.LiteralC<"walletRecovery">;
31
+ contractCall: t.LiteralC<"contractCall">;
32
+ deactivate: t.LiteralC<"deactivate">;
33
+ customTx: t.LiteralC<"customTx">;
34
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
35
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
36
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
37
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
38
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
39
+ tokenApproval: t.LiteralC<"tokenApproval">;
40
+ transferStake: t.LiteralC<"transferStake">;
41
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
42
+ spotTransfer: t.LiteralC<"spotTransfer">;
43
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
44
+ goUnstake: t.LiteralC<"goUnstake">;
45
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
46
+ transferAccept: t.LiteralC<"transferAccept">;
47
+ transferReject: t.LiteralC<"transferReject">;
48
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
49
+ }>;
50
+ }>, t.PartialC<{
51
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
52
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
53
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
54
+ }>]>, t.TypeC<{
55
+ amount: t.TypeC<{
56
+ value: t.StringC;
57
+ symbol: t.StringC;
58
+ }>;
59
+ }>, t.TypeC<{
60
+ intentType: t.LiteralC<"delegate">;
61
+ validatorAddress: t.StringC;
62
+ ownerAddress: t.StringC;
63
+ tonStakingType: t.LiteralC<TonStakingTypeEnum.SINGLE_NOMINATOR>;
64
+ }>]>;
65
+ export type TonSingleNominatorDelegateIntent = t.TypeOf<typeof TonSingleNominatorDelegateIntent>;