@bitgo/public-types 5.0.0 → 5.1.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 (108) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
  15. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
  16. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
  17. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
  18. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
  19. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
  20. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
  21. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
  22. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
  23. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
  24. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
  25. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
  26. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
  27. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
  28. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
  29. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
  30. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
  31. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
  32. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
  33. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
  34. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
  35. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
  36. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
  37. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
  38. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
  39. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
  40. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
  41. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
  42. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
  43. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
  44. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
  45. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
  46. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
  47. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
  48. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
  49. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
  50. package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
  51. package/dist/src/schema/transactionRequest/intents/index.js +1 -0
  52. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  53. package/dist/src/schema/transactionRequest/intents/intent.d.ts +119 -0
  54. package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
  55. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  56. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
  57. package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
  58. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  59. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
  60. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
  61. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
  62. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
  63. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
  64. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
  65. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
  66. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
  67. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  68. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  69. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  70. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  71. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
  72. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
  73. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  74. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +1 -0
  75. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +1 -0
  76. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
  77. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
  78. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
  79. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
  80. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
  81. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
  82. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
  83. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
  84. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
  85. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
  86. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
  87. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
  88. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
  89. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
  90. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +47 -0
  91. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.js +37 -0
  92. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.js.map +1 -0
  93. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
  94. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
  95. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
  96. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
  97. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
  98. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
  99. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
  100. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
  101. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
  102. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
  103. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
  104. package/package.json +1 -1
  105. package/src/schema/transactionRequest/intents/index.ts +1 -0
  106. package/src/schema/transactionRequest/intents/intent.ts +2 -0
  107. package/src/schema/transactionRequest/intents/intentType.ts +1 -0
  108. package/src/schema/transactionRequest/intents/tokenApprovalIntent.ts +17 -0
@@ -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,mEAAg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yB;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,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,yCAAmB;IACnB,qCAAiB;IACjB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mCAAgB;IAChB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,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,+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,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,+CAAsB;IACtB,mDAAwB;IACxB,mCAAgB;IAChB,+CAAsB;IACtB,2CAAoB;IACpB,mDAAwB;IACxB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,yCAAmB;IACnB,qCAAiB;IACjB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,uDAA0B;IAC1B,+CAAsB;IACtB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+BAAc;IACd,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IACpB,yDAA2B;IAC3B,6CAAqB;IACrB,iDAAuB;IACvB,uCAAkB;IAClB,uCAAkB;IAClB,uCAAkB;IAClB,yCAAmB;IACnB,+CAAsB;IACtB,2CAAoB;IAKpB,uBAAU;CACX,CAAC,CAAC"}
@@ -32,6 +32,7 @@ export declare const intentTypes: {
32
32
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
33
33
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
34
34
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
35
+ tokenApproval: t.LiteralC<"tokenApproval">;
35
36
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
36
37
  };
37
38
  export declare const IntentType: t.KeyofC<{
@@ -67,6 +68,7 @@ export declare const IntentType: t.KeyofC<{
67
68
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
68
69
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
69
70
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
71
+ tokenApproval: t.LiteralC<"tokenApproval">;
70
72
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
71
73
  }>;
72
74
  export type IntentType = t.TypeOf<typeof IntentType>;
@@ -58,6 +58,7 @@ exports.intentTypes = {
58
58
  closeAssociatedTokenAccount: t.literal("closeAssociatedTokenAccount"),
59
59
  stakeWithCallData: t.literal("stakeWithCallData"),
60
60
  feeAddressTransfer: t.literal("feeAddressTransfer"),
61
+ tokenApproval: t.literal("tokenApproval"),
61
62
  createBtcDelegation: t.literal("createBtcDelegation"),
62
63
  };
63
64
  exports.IntentType = t.keyof(exports.intentTypes);
@@ -1 +1 @@
1
- {"version":3,"file":"intentType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAEd,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC7B,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACzC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC3B,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACzB,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAC7C,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACzB,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC3B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;IACvB,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACzC,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAC7C,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;IAC7D,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IAC3C,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACrE,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACjD,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IAInD,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CACtD,CAAC;AAEW,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,mBAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"intentType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intentType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;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WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IAC3C,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACvC,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACrE,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACjD,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IACnD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAIzC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CACtD,CAAC;AAEW,QAAA,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,mBAAW,CAAC,CAAC"}
@@ -33,6 +33,7 @@ export declare const LightningPaymentIntent: t.UnionC<[t.IntersectionC<[t.Inters
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -84,6 +85,7 @@ export declare const LightningPaymentIntent: t.UnionC<[t.IntersectionC<[t.Inters
84
85
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
85
86
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
86
87
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
88
+ tokenApproval: t.LiteralC<"tokenApproval">;
87
89
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
88
90
  }>;
89
91
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const MmiSignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.I
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const MmiSignTransactionIntent: t.IntersectionC<[t.IntersectionC<
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const NearStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const NearUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const NearWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SignMessageIntent: t.IntersectionC<[t.IntersectionC<[t.Type
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const StakeClaimRewardsIntent: t.IntersectionC<[t.IntersectionC<[
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const StakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const StakeSwitchValidatorIntent: t.IntersectionC<[t.Intersection
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SubstrateBaseIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SubstratePaymentIntent: t.IntersectionC<[t.IntersectionC<[t
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SuiBuildOptions: t.IntersectionC<[t.IntersectionC<[t.TypeC<
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -93,6 +93,7 @@ export declare const SuiConsolidateIntent: t.IntersectionC<[t.IntersectionC<[t.P
93
93
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
94
94
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
95
95
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
96
+ tokenApproval: t.LiteralC<"tokenApproval">;
96
97
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
97
98
  }>;
98
99
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -73,6 +74,7 @@ export declare const SuiCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
73
74
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
74
75
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
75
76
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
77
+ tokenApproval: t.LiteralC<"tokenApproval">;
76
78
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
77
79
  }>;
78
80
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -91,6 +92,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
91
92
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
92
93
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
93
94
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
95
+ tokenApproval: t.LiteralC<"tokenApproval">;
94
96
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
95
97
  }>;
96
98
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -77,6 +78,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
77
78
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
78
79
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
79
80
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
81
+ tokenApproval: t.LiteralC<"tokenApproval">;
80
82
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
81
83
  }>;
82
84
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TaoStakingBaseIntent: t.IntersectionC<[t.IntersectionC<[t.I
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -85,6 +86,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
85
86
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
86
87
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
87
88
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
89
+ tokenApproval: t.LiteralC<"tokenApproval">;
88
90
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
89
91
  }>;
90
92
  }>, t.PartialC<{
@@ -0,0 +1,47 @@
1
+ import * as t from "io-ts";
2
+ export declare const TokenApprovalIntent: 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
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
38
+ }>;
39
+ }>, t.PartialC<{
40
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
41
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
42
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
43
+ }>]>, t.TypeC<{
44
+ intentType: t.LiteralC<"tokenApproval">;
45
+ tokenName: t.StringC;
46
+ }>]>;
47
+ export type TokenApprovalIntent = t.TypeOf<typeof TokenApprovalIntent>;
@@ -0,0 +1,37 @@
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.TokenApprovalIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseIntent_1 = require("./baseIntent");
29
+ const intentType_1 = require("./intentType");
30
+ exports.TokenApprovalIntent = t.intersection([
31
+ baseIntent_1.BaseIntent,
32
+ t.type({
33
+ intentType: intentType_1.intentTypes.tokenApproval,
34
+ tokenName: t.string,
35
+ }),
36
+ ]);
37
+ //# sourceMappingURL=tokenApprovalIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenApprovalIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tokenApprovalIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAM9B,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,aAAa;QACrC,SAAS,EAAE,CAAC,CAAC,MAAM;KACpB,CAAC;CACH,CAAC,CAAC"}
@@ -33,6 +33,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
@@ -33,6 +33,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
33
33
  closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
34
  stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
35
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
36
+ tokenApproval: t.LiteralC<"tokenApproval">;
36
37
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
37
38
  }>;
38
39
  }>, t.PartialC<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -125,3 +125,4 @@ export * from "./walrusStakingIntent";
125
125
  export * from "./walrusUndelegateIntent";
126
126
  export * from "./walrusWithdrawIntent";
127
127
  export * from "./withdrawIntent";
128
+ export * from "./tokenApprovalIntent";
@@ -48,6 +48,7 @@ import { SubstrateConsolidateIntent } from "./substrateConsolidateIntent";
48
48
  import { SubstratePaymentIntent } from "./substratePaymentIntent";
49
49
  import { TaoStakeIntent } from "./taoStakeIntent";
50
50
  import { TaoUnstakeIntent } from "./taoUnstakeIntent";
51
+ import { TokenApprovalIntent } from "./tokenApprovalIntent";
51
52
  import { TonDelegateIntent } from "./tonDelegateIntent";
52
53
  import { TonPaymentIntent } from "./tonPaymentIntent";
53
54
  import { TonUndelegateIntent } from "./tonUndelegateIntent";
@@ -136,6 +137,7 @@ export const TransactionIntent = t.union([
136
137
  SuiUnstakingIntent,
137
138
  TaoStakeIntent,
138
139
  TaoUnstakeIntent,
140
+ TokenApprovalIntent,
139
141
  TonConsolidateIntent,
140
142
  TonDelegateIntent,
141
143
  TonPaymentIntent,