@boostxyz/sdk 5.5.0 → 6.0.1

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 (178) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +4 -4
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.d.ts +2 -1
  6. package/dist/Actions/EventAction.d.ts.map +1 -1
  7. package/dist/Actions/EventAction.js +110 -105
  8. package/dist/Actions/EventAction.js.map +1 -1
  9. package/dist/AllowLists/AllowList.cjs +1 -1
  10. package/dist/AllowLists/AllowList.js +3 -3
  11. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  12. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
  13. package/dist/AllowLists/SimpleAllowList.d.ts +2 -2
  14. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
  15. package/dist/AllowLists/SimpleAllowList.js +25 -25
  16. package/dist/AllowLists/SimpleAllowList.js.map +1 -1
  17. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  18. package/dist/AllowLists/SimpleDenyList.js +3 -3
  19. package/dist/Auth/PassthroughAuth.cjs +1 -1
  20. package/dist/Auth/PassthroughAuth.cjs.map +1 -1
  21. package/dist/Auth/PassthroughAuth.js +14 -14
  22. package/dist/Boost.cjs.map +1 -1
  23. package/dist/Boost.js.map +1 -1
  24. package/dist/BoostCore.cjs +2 -2
  25. package/dist/BoostCore.cjs.map +1 -1
  26. package/dist/BoostCore.d.ts +261 -0
  27. package/dist/BoostCore.d.ts.map +1 -1
  28. package/dist/BoostCore.js +442 -262
  29. package/dist/BoostCore.js.map +1 -1
  30. package/dist/BoostRegistry.cjs +1 -1
  31. package/dist/BoostRegistry.cjs.map +1 -1
  32. package/dist/BoostRegistry.js +43 -43
  33. package/dist/BoostRegistry.js.map +1 -1
  34. package/dist/Budget-CsqSI4NH.cjs +2 -0
  35. package/dist/Budget-CsqSI4NH.cjs.map +1 -0
  36. package/dist/Budget-bMiAGF8s.js +922 -0
  37. package/dist/Budget-bMiAGF8s.js.map +1 -0
  38. package/dist/Budgets/Budget.cjs +1 -1
  39. package/dist/Budgets/Budget.d.ts +5 -4
  40. package/dist/Budgets/Budget.d.ts.map +1 -1
  41. package/dist/Budgets/Budget.js +3 -3
  42. package/dist/Budgets/ManagedBudget.cjs +1 -1
  43. package/dist/Budgets/ManagedBudget.cjs.map +1 -1
  44. package/dist/Budgets/ManagedBudget.js +53 -53
  45. package/dist/Budgets/ManagedBudgetWithFees.d.ts +26 -0
  46. package/dist/Budgets/ManagedBudgetWithFees.d.ts.map +1 -1
  47. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts +1331 -0
  48. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts.map +1 -0
  49. package/dist/Deployable/DeployableTarget.cjs +1 -1
  50. package/dist/Deployable/DeployableTarget.js +1 -1
  51. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  52. package/dist/Deployable/DeployableTargetWithRBAC.js +15 -15
  53. package/dist/Incentive-DZLG6T1-.js +1036 -0
  54. package/dist/Incentive-DZLG6T1-.js.map +1 -0
  55. package/dist/Incentive-DvNdIJ_x.cjs +2 -0
  56. package/dist/Incentive-DvNdIJ_x.cjs.map +1 -0
  57. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  58. package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
  59. package/dist/Incentives/AllowListIncentive.d.ts +9 -1
  60. package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
  61. package/dist/Incentives/AllowListIncentive.js +64 -47
  62. package/dist/Incentives/AllowListIncentive.js.map +1 -1
  63. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  64. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  65. package/dist/Incentives/CGDAIncentive.d.ts +12 -1
  66. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
  67. package/dist/Incentives/CGDAIncentive.js +64 -33
  68. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  69. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  70. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  71. package/dist/Incentives/ERC20Incentive.d.ts +37 -1
  72. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
  73. package/dist/Incentives/ERC20Incentive.js +73 -49
  74. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  75. package/dist/Incentives/ERC20PeggedIncentive.d.ts +35 -0
  76. package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
  77. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts +35 -0
  78. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +1 -1
  79. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  80. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
  81. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +25 -0
  82. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  83. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +24 -24
  84. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
  85. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  86. package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
  87. package/dist/Incentives/ERC20VariableIncentive.d.ts +35 -0
  88. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  89. package/dist/Incentives/ERC20VariableIncentive.js +55 -38
  90. package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
  91. package/dist/Incentives/Incentive.cjs +1 -1
  92. package/dist/Incentives/Incentive.d.ts +25 -0
  93. package/dist/Incentives/Incentive.d.ts.map +1 -1
  94. package/dist/Incentives/Incentive.js +3 -3
  95. package/dist/Incentives/PointsIncentive.cjs +1 -1
  96. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  97. package/dist/Incentives/PointsIncentive.d.ts +8 -0
  98. package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
  99. package/dist/Incentives/PointsIncentive.js +50 -28
  100. package/dist/Incentives/PointsIncentive.js.map +1 -1
  101. package/dist/SimpleDenyList-BAIrFBAW.cjs +2 -0
  102. package/dist/{SimpleDenyList-CsRXJPwm.cjs.map → SimpleDenyList-BAIrFBAW.cjs.map} +1 -1
  103. package/dist/SimpleDenyList-C734XLxt.js +133 -0
  104. package/dist/{SimpleDenyList-ByAr4X1r.js.map → SimpleDenyList-C734XLxt.js.map} +1 -1
  105. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  106. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  107. package/dist/Validators/LimitedSignerValidator.d.ts +1 -1
  108. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  109. package/dist/Validators/LimitedSignerValidator.js +33 -33
  110. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  111. package/dist/Validators/SignerValidator.cjs +1 -1
  112. package/dist/Validators/SignerValidator.cjs.map +1 -1
  113. package/dist/Validators/SignerValidator.d.ts +1 -1
  114. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  115. package/dist/Validators/SignerValidator.js +26 -26
  116. package/dist/Validators/SignerValidator.js.map +1 -1
  117. package/dist/Validators/Validator.cjs +1 -1
  118. package/dist/Validators/Validator.js +4 -4
  119. package/dist/componentInterfaces-5Ezh3Pvx.js +19 -0
  120. package/dist/componentInterfaces-5Ezh3Pvx.js.map +1 -0
  121. package/dist/componentInterfaces-Cm4Zfn1v.cjs +2 -0
  122. package/dist/componentInterfaces-Cm4Zfn1v.cjs.map +1 -0
  123. package/dist/{deployments-D0fs26TV.js → deployments-3RHH-eW7.js} +47 -47
  124. package/dist/{deployments-D0fs26TV.js.map → deployments-3RHH-eW7.js.map} +1 -1
  125. package/dist/deployments-CIXw_WKk.cjs +2 -0
  126. package/dist/deployments-CIXw_WKk.cjs.map +1 -0
  127. package/dist/deployments.json +24 -24
  128. package/dist/errors.cjs +1 -1
  129. package/dist/errors.cjs.map +1 -1
  130. package/dist/errors.js +1 -1
  131. package/dist/errors.js.map +1 -1
  132. package/dist/generated-BPiHi7W2.cjs +3 -0
  133. package/dist/generated-BPiHi7W2.cjs.map +1 -0
  134. package/dist/{generated-Cyvr_Tjx.js → generated-CElkFqkY.js} +1510 -608
  135. package/dist/generated-CElkFqkY.js.map +1 -0
  136. package/dist/index.cjs +1 -1
  137. package/dist/index.d.ts +1 -0
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/index.js +153 -150
  140. package/package.json +2 -2
  141. package/src/Actions/EventAction.ts +25 -6
  142. package/src/AllowLists/SimpleAllowList.ts +2 -2
  143. package/src/BoostCore.test.ts +124 -2
  144. package/src/BoostCore.ts +259 -0
  145. package/src/Budgets/Budget.ts +8 -2
  146. package/src/Budgets/ManagedBudgetWithFees.test.ts +0 -1
  147. package/src/Budgets/ManagedBudgetWithFeesV2.test.ts +327 -0
  148. package/src/Budgets/ManagedBudgetWithFeesV2.ts +713 -0
  149. package/src/Incentives/AllowListIncentive.ts +17 -0
  150. package/src/Incentives/CGDAIncentive.ts +31 -0
  151. package/src/Incentives/ERC20Incentive.ts +27 -0
  152. package/src/Incentives/ERC20PeggedIncentive.ts +18 -0
  153. package/src/Incentives/ERC20PeggedVariableCriteriaIncentive.ts +26 -0
  154. package/src/Incentives/ERC20VariableIncentive.ts +18 -0
  155. package/src/Incentives/PointsIncentive.ts +22 -0
  156. package/src/Validators/LimitedSignerValidator.ts +1 -1
  157. package/src/Validators/SignerValidator.ts +1 -1
  158. package/src/errors.ts +1 -1
  159. package/src/index.ts +1 -0
  160. package/dist/Budget-AoNx7uFd.cjs +0 -2
  161. package/dist/Budget-AoNx7uFd.cjs.map +0 -1
  162. package/dist/Budget-DYIV9iNK.js +0 -463
  163. package/dist/Budget-DYIV9iNK.js.map +0 -1
  164. package/dist/Incentive-BbkfwGOb.cjs +0 -2
  165. package/dist/Incentive-BbkfwGOb.cjs.map +0 -1
  166. package/dist/Incentive-qlnv5kQB.js +0 -991
  167. package/dist/Incentive-qlnv5kQB.js.map +0 -1
  168. package/dist/SimpleDenyList-ByAr4X1r.js +0 -133
  169. package/dist/SimpleDenyList-CsRXJPwm.cjs +0 -2
  170. package/dist/componentInterfaces-D7r9xJmt.cjs +0 -2
  171. package/dist/componentInterfaces-D7r9xJmt.cjs.map +0 -1
  172. package/dist/componentInterfaces-PR3ijhgZ.js +0 -18
  173. package/dist/componentInterfaces-PR3ijhgZ.js.map +0 -1
  174. package/dist/deployments-DoIOqxco.cjs +0 -2
  175. package/dist/deployments-DoIOqxco.cjs.map +0 -1
  176. package/dist/generated-Cyvr_Tjx.js.map +0 -1
  177. package/dist/generated-DtYPHhtX.cjs +0 -3
  178. package/dist/generated-DtYPHhtX.cjs.map +0 -1
@@ -1,11 +1,11 @@
1
- import { bL as V, bM as b0, bN as u0, bO as o0, bP as c0 } from "../generated-Cyvr_Tjx.js";
1
+ import { bG as V, bH as u0, bI as o0, bJ as p0, bK as c0 } from "../generated-CElkFqkY.js";
2
2
  import { getTransaction as B, getTransactionReceipt as Q } from "@wagmi/core";
3
- import { isAddressEqual as I, toEventSelector as j, decodeFunctionData as X, isAddress as z, decodeEventLog as O, zeroHash as N, fromHex as k, encodeAbiParameters as p0, pad as G, zeroAddress as y0, trim as l0 } from "viem";
4
- import { f as h0 } from "../deployments-D0fs26TV.js";
3
+ import { isAddressEqual as E, toEventSelector as j, decodeFunctionData as K, isAddress as X, decodeEventLog as O, zeroHash as N, fromHex as k, encodeAbiParameters as y0, pad as F, zeroAddress as b0, trim as l0 } from "viem";
4
+ import { e as h0 } from "../deployments-3RHH-eW7.js";
5
5
  import { DeployableTarget as g0 } from "../Deployable/DeployableTarget.js";
6
- import { ValidationAbiMissingError as R, FunctionDataDecodeError as K, UnparseableAbiParamError as $, DecodedArgsMalformedError as x0, DecodedArgsError as d0, FieldValueUndefinedError as Y, InvalidTupleDecodingError as v, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as Z, InvalidNumericalCriteriaError as P, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as q } from "../errors.js";
7
- import { RegistryType as v0, CheatCodes as S, TRANSFER_SIGNATURE as M } from "../utils.js";
8
- const T0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f602c608760201b60201c565b90508054600181161560455763f92ee8a95f526004601cfd5b8160c01c808260011c146082578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b6080516124506100c85f395f61034a01526124505ff3fe608060405260043610610090575f3560e01c80639bc1cf81116100585780639bc1cf811461017d578063c26624e8146101a7578063d7768c47146101e3578063dbdf21101461021f578063ddd6ab081461024957610090565b806301ffc9a71461009457806309c5eabe146100d057806328d6183b14610101578063393df8cb1461012b578063439fab9114610155575b5f80fd5b34801561009f575f80fd5b506100ba60048036038101906100b591906113b2565b610273565b6040516100c791906113f7565b60405180910390f35b6100ea60048036038101906100e59190611471565b6102ec565b6040516100f892919061152c565b60405180910390f35b34801561010c575f80fd5b50610115610321565b6040516101229190611569565b60405180910390f35b348015610136575f80fd5b5061013f610348565b60405161014c91906115fc565b60405180910390f35b348015610160575f80fd5b5061017b60048036038101906101769190611471565b61036c565b005b348015610188575f80fd5b506101916103f9565b60405161019e9190611986565b60405180910390f35b3480156101b2575f80fd5b506101cd60048036038101906101c891906119d0565b610651565b6040516101da9190611a81565b60405180910390f35b3480156101ee575f80fd5b5061020960048036038101906102049190611471565b610887565b6040516102169190611aa1565b60405180910390f35b34801561022a575f80fd5b506102336108bb565b6040516102409190611b27565b60405180910390f35b348015610254575f80fd5b5061025d610993565b60405161026a9190611b4f565b60405180910390f35b5f7f7687b0ed000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102e557506102e48261099f565b5b9050919050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f7f7687b0ed00000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f610375610a18565b905080546003825580156103a75760018160011c14303b1061039e5763f92ee8a95f526004601cfd5b818160ff1b1b91505b506103bf83838101906103ba9190612077565b610a41565b80156103f4576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610648578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff16600181111561046a57610469611656565b5b600181111561047c5761047b611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff1660078111156105305761052f611656565b5b600781111561054257610541611656565b5b81526020015f820160019054906101000a900460ff16600481111561056a57610569611656565b5b600481111561057c5761057b611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546105b5906120eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906120eb565b801561062c5780601f106106035761010080835404028352916020019161062c565b820191905f5260205f20905b81548152906001019060200180831161060f57829003601f168201915b505050505081525050815250508152602001906001019061041c565b50505050905090565b610659611240565b6004828154811061066d5761066c61211b565b5b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156106b1576106b0611656565b5b60018111156106c3576106c2611656565b5b81526020016001820160019054906101000a900460ff1660ff1660ff1681526020016001820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382016040518060800160405290815f82015f9054906101000a900460ff16600781111561077757610776611656565b5b600781111561078957610788611656565b5b81526020015f820160019054906101000a900460ff1660048111156107b1576107b0611656565b5b60048111156107c3576107c2611656565b5b81526020015f820160029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820180546107fc906120eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610828906120eb565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b505050505081525050815250509050919050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108c36112a5565b5f6040518060a00160405290815f82015f9054906101000a900460ff1660018111156108f2576108f1611656565b5b600181111561090457610903611656565b5b815260200160018201548152602001600282015f9054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481525050905090565b5f600480549050905090565b5f7fe6715795000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a115750610a108261113a565b5b9050919050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011325f1b905090565b610a496111b3565b805f01515f80820151815f015f6101000a81548160ff02191690836001811115610a7657610a75611656565b5b0217905550602082015181600101556040820151816002015f6101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816003015590505060048160200151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610b5857610b57611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610c0057610bff611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610c2f57610c2e611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610c6f91906122dc565b505050505060048160400151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610cd357610cd2611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610d7b57610d7a611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610daa57610da9611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610dea91906122dc565b505050505060048160600151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610e4e57610e4d611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff02191690836007811115610ef657610ef5611656565b5b02179055506020820151815f0160016101000a81548160ff02191690836004811115610f2557610f24611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019081610f6591906122dc565b505050505060048160800151908060018154018082558091505060019003905f5260205f2090600502015f909190919091505f820151815f01556020820151816001015f6101000a81548160ff02191690836001811115610fc957610fc8611656565b5b021790555060408201518160010160016101000a81548160ff021916908360ff16021790555060608201518160010160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816002015560a0820151816003015f820151815f015f6101000a81548160ff0219169083600781111561107157611070611656565b5b02179055506020820151815f0160016101000a81548160ff021916908360048111156110a05761109f611656565b5b02179055506040820151815f0160026101000a81548163ffffffff021916908363ffffffff16021790555060608201518160010190816110e091906122dc565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161112f9594939291906123ab565b60405180910390a150565b5f7f6ab67a0d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ac57506111ab826111d7565b5b9050919050565b5f6111bc610a18565b905080546001166111d45763d7e6bcf85f526004601cfd5b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6040518060c001604052805f80191681526020015f600181111561126757611266611656565b5b81526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f815260200161129f6112fd565b81525090565b6040518060a001604052805f60018111156112c3576112c2611656565b5b81526020015f80191681526020015f60ff1681526020015f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81525090565b60405180608001604052805f600781111561131b5761131a611656565b5b81526020015f600481111561133357611332611656565b5b81526020015f63ffffffff168152602001606081525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6113918161135d565b811461139b575f80fd5b50565b5f813590506113ac81611388565b92915050565b5f602082840312156113c7576113c6611355565b5b5f6113d48482850161139e565b91505092915050565b5f8115159050919050565b6113f1816113dd565b82525050565b5f60208201905061140a5f8301846113e8565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261143157611430611410565b5b8235905067ffffffffffffffff81111561144e5761144d611414565b5b60208301915083600182028301111561146a57611469611418565b5b9250929050565b5f806020838503121561148757611486611355565b5b5f83013567ffffffffffffffff8111156114a4576114a3611359565b5b6114b08582860161141c565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114fe826114bc565b61150881856114c6565b93506115188185602086016114d6565b611521816114e4565b840191505092915050565b5f60408201905061153f5f8301856113e8565b818103602083015261155181846114f4565b90509392505050565b6115638161135d565b82525050565b5f60208201905061157c5f83018461155a565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6115c46115bf6115ba84611582565b6115a1565b611582565b9050919050565b5f6115d5826115aa565b9050919050565b5f6115e6826115cb565b9050919050565b6115f6816115dc565b82525050565b5f60208201905061160f5f8301846115ed565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f819050919050565b6116508161163e565b82525050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6002811061169457611693611656565b5b50565b5f8190506116a482611683565b919050565b5f6116b382611697565b9050919050565b6116c3816116a9565b82525050565b5f60ff82169050919050565b6116de816116c9565b82525050565b5f6116ee82611582565b9050919050565b6116fe816116e4565b82525050565b5f819050919050565b61171681611704565b82525050565b6008811061172d5761172c611656565b5b50565b5f81905061173d8261171c565b919050565b5f61174c82611730565b9050919050565b61175c81611742565b82525050565b6005811061177357611772611656565b5b50565b5f81905061178382611762565b919050565b5f61179282611776565b9050919050565b6117a281611788565b82525050565b5f63ffffffff82169050919050565b6117c0816117a8565b82525050565b5f82825260208201905092915050565b5f6117e0826114bc565b6117ea81856117c6565b93506117fa8185602086016114d6565b611803816114e4565b840191505092915050565b5f608083015f8301516118235f860182611753565b5060208301516118366020860182611799565b50604083015161184960408601826117b7565b506060830151848203606086015261186182826117d6565b9150508091505092915050565b5f60c083015f8301516118835f860182611647565b50602083015161189660208601826116ba565b5060408301516118a960408601826116d5565b5060608301516118bc60608601826116f5565b5060808301516118cf608086018261170d565b5060a083015184820360a08601526118e7828261180e565b9150508091505092915050565b5f6118ff838361186e565b905092915050565b5f602082019050919050565b5f61191d82611615565b611927818561161f565b9350836020820285016119398561162f565b805f5b85811015611974578484038952815161195585826118f4565b945061196083611907565b925060208a0199505060018101905061193c565b50829750879550505050505092915050565b5f6020820190508181035f83015261199e8184611913565b905092915050565b6119af81611704565b81146119b9575f80fd5b50565b5f813590506119ca816119a6565b92915050565b5f602082840312156119e5576119e4611355565b5b5f6119f2848285016119bc565b91505092915050565b5f60c083015f830151611a105f860182611647565b506020830151611a2360208601826116ba565b506040830151611a3660408601826116d5565b506060830151611a4960608601826116f5565b506080830151611a5c608086018261170d565b5060a083015184820360a0860152611a74828261180e565b9150508091505092915050565b5f6020820190508181035f830152611a9981846119fb565b905092915050565b5f6020820190508181035f830152611ab981846114f4565b905092915050565b60a082015f820151611ad55f8501826116ba565b506020820151611ae86020850182611647565b506040820151611afb60408501826116d5565b506060820151611b0e60608501826116f5565b506080820151611b21608085018261170d565b50505050565b5f60a082019050611b3a5f830184611ac1565b92915050565b611b4981611704565b82525050565b5f602082019050611b625f830184611b40565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611ba2826114e4565b810181811067ffffffffffffffff82111715611bc157611bc0611b6c565b5b80604052505050565b5f611bd361134c565b9050611bdf8282611b99565b919050565b5f80fd5b60028110611bf4575f80fd5b50565b5f81359050611c0581611be8565b92915050565b611c148161163e565b8114611c1e575f80fd5b50565b5f81359050611c2f81611c0b565b92915050565b611c3e816116c9565b8114611c48575f80fd5b50565b5f81359050611c5981611c35565b92915050565b611c68816116e4565b8114611c72575f80fd5b50565b5f81359050611c8381611c5f565b92915050565b5f60a08284031215611c9e57611c9d611b68565b5b611ca860a0611bca565b90505f611cb784828501611bf7565b5f830152506020611cca84828501611c21565b6020830152506040611cde84828501611c4b565b6040830152506060611cf284828501611c75565b6060830152506080611d06848285016119bc565b60808301525092915050565b60088110611d1e575f80fd5b50565b5f81359050611d2f81611d12565b92915050565b60058110611d41575f80fd5b50565b5f81359050611d5281611d35565b92915050565b611d61816117a8565b8114611d6b575f80fd5b50565b5f81359050611d7c81611d58565b92915050565b5f80fd5b5f67ffffffffffffffff821115611da057611d9f611b6c565b5b611da9826114e4565b9050602081019050919050565b828183375f83830152505050565b5f611dd6611dd184611d86565b611bca565b905082815260208101848484011115611df257611df1611d82565b5b611dfd848285611db6565b509392505050565b5f82601f830112611e1957611e18611410565b5b8135611e29848260208601611dc4565b91505092915050565b5f60808284031215611e4757611e46611b68565b5b611e516080611bca565b90505f611e6084828501611d21565b5f830152506020611e7384828501611d44565b6020830152506040611e8784828501611d6e565b604083015250606082013567ffffffffffffffff811115611eab57611eaa611be4565b5b611eb784828501611e05565b60608301525092915050565b5f60c08284031215611ed857611ed7611b68565b5b611ee260c0611bca565b90505f611ef184828501611c21565b5f830152506020611f0484828501611bf7565b6020830152506040611f1884828501611c4b565b6040830152506060611f2c84828501611c75565b6060830152506080611f40848285016119bc565b60808301525060a082013567ffffffffffffffff811115611f6457611f63611be4565b5b611f7084828501611e32565b60a08301525092915050565b5f6101208284031215611f9257611f91611b68565b5b611f9c60a0611bca565b90505f611fab84828501611c89565b5f8301525060a082013567ffffffffffffffff811115611fce57611fcd611be4565b5b611fda84828501611ec3565b60208301525060c082013567ffffffffffffffff811115611ffe57611ffd611be4565b5b61200a84828501611ec3565b60408301525060e082013567ffffffffffffffff81111561202e5761202d611be4565b5b61203a84828501611ec3565b60608301525061010082013567ffffffffffffffff81111561205f5761205e611be4565b5b61206b84828501611ec3565b60808301525092915050565b5f6020828403121561208c5761208b611355565b5b5f82013567ffffffffffffffff8111156120a9576120a8611359565b5b6120b584828501611f7c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061210257607f821691505b602082108103612115576121146120be565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026121a47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612169565b6121ae8683612169565b95508019841693508086168417925050509392505050565b5f6121e06121db6121d684611704565b6115a1565b611704565b9050919050565b5f819050919050565b6121f9836121c6565b61220d612205826121e7565b848454612175565b825550505050565b5f90565b612221612215565b61222c8184846121f0565b505050565b5b8181101561224f576122445f82612219565b600181019050612232565b5050565b601f8211156122945761226581612148565b61226e8461215a565b8101602085101561227d578190505b6122916122898561215a565b830182612231565b50505b505050565b5f82821c905092915050565b5f6122b45f1984600802612299565b1980831691505092915050565b5f6122cc83836122a5565b9150826002028217905092915050565b6122e5826114bc565b67ffffffffffffffff8111156122fe576122fd611b6c565b5b61230882546120eb565b612313828285612253565b5f60209050601f831160018114612344575f8415612332578287015190505b61233c85826122c1565b8655506123a3565b601f19841661235286612148565b5f5b8281101561237957848901518255600182019150602085019450602081019050612354565b868310156123965784890151612392601f8916826122a5565b8355505b6001600288020188555050505b505050505050565b5f610120820190506123bf5f830188611ac1565b81810360a08301526123d181876119fb565b905081810360c08301526123e581866119fb565b905081810360e08301526123f981856119fb565b905081810361010083015261240e81846119fb565b9050969550505050505056fea2646970667358221220c7ff4a150897568d1b0cf381b80c7477adfb1d4a61c0f1dbe23de1a9fd54af2f64736f6c634300081a0033", E0 = {
6
+ import { ValidationAbiMissingError as R, FunctionDataDecodeError as z, UnparseableAbiParamError as $, DecodedArgsMalformedError as x0, DecodedArgsError as d0, FieldValueUndefinedError as Y, InvalidTupleDecodingError as T, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as J, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as Z } from "../errors.js";
7
+ import { RegistryType as T0, CheatCodes as S, TRANSFER_SIGNATURE as M } from "../utils.js";
8
+ const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b8160c01c808260011c146073578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c276100905f395f6101510152611c275ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb366004611281565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112c7565b6102cb565b6040516100dc929190611381565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112c7565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc919061149b565b3480156101e5575f80fd5b506101f96101f436600461151c565b61059f565b6040516100dc9190611533565b348015610211575f80fd5b506102256102203660046112c7565b61077a565b6040516100dc9190611545565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115a7565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c582610858565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118a8565b6108ad565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113a3565b6001811115610421576104216113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113a3565b60078111156104a5576104a56113a3565b81528154602090910190610100900460ff1660058111156104c8576104c86113a3565b60058111156104d9576104d96113a3565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119a9565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611226565b600482815481106105ba576105ba6119fa565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113a3565b600181111561060e5761060e6113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113a3565b6007811115610692576106926113a3565b81528154602090910190610100900460ff1660058111156106b5576106b56113a3565b60058111156106c6576106c66113a3565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119a9565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113a3565b600181111561080d5761080d6113a3565b815260018201546020820152600282015460ff81166040830152610100900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611156565b6108b56111ec565b805180515f8054909190829060ff1916600183818111156108d8576108d86113a3565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff00000000000000000000000000000000000000000090911660ff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff19919091169083818111156109e1576109e16113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aa257610aa26113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ae757610ae76113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b3b9082611a72565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bcc57610bcc6113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c8d57610c8d6113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cd257610cd26113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d269082611a72565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610db757610db76113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e7857610e786113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ebd57610ebd6113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f119082611a72565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fa257610fa26113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115611063576110636113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110a8576110a86113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906110fc9082611a72565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161114b959493929190611b89565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546001166112235763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f6020820181905260408201819052606082015260800161127c6040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f60208284031215611291575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112c0575f80fd5b9392505050565b5f80602083850312156112d8575f80fd5b823567ffffffffffffffff8111156112ee575f80fd5b8301601f810185136112fe575f80fd5b803567ffffffffffffffff811115611314575f80fd5b856020828401011115611325575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f61139b6040830184611335565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113e0576113e06113a3565b9052565b805182525f60208201516113fb60208501826113d0565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a0850152805160088110611451576114516113a3565b60c085015260208101516006811061146b5761146b6113a3565b60e0850152604081015163ffffffff1661010085015260600151608061012085015261139b610140850182611335565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015611510577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526114fb8583516113e4565b945060209384019391909101906001016114c1565b50929695505050505050565b5f6020828403121561152c575f80fd5b5035919050565b602081525f6112c060208301846113e4565b602081525f6112c06020830184611335565b6115628282516113d0565b6020810151602083015260ff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611557565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611605576116056115b5565b60405290565b60405160c0810167ffffffffffffffff81118282101715611605576116056115b5565b6040516080810167ffffffffffffffff81118282101715611605576116056115b5565b80356002811061165f575f80fd5b919050565b803560ff8116811461165f575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461165f575f80fd5b5f60a082840312156116a7575f80fd5b6116af6115e2565b90506116ba82611651565b8152602082810135908201526116d260408301611664565b60408201526116e360608301611674565b606082015260809182013591810191909152919050565b5f82601f830112611709575f80fd5b813567ffffffffffffffff811115611723576117236115b5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810167ffffffffffffffff81118282101715611770576117706115b5565b604052818152838201602001851015611787575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60c082840312156117b3575f80fd5b6117bb61160b565b8235815290506117cd60208301611651565b60208201526117de60408301611664565b60408201526117ef60608301611674565b60608201526080828101359082015260a082013567ffffffffffffffff811115611817575f80fd5b820160808185031215611828575f80fd5b61183061162e565b81356008811061183e575f80fd5b8152602082013560068110611851575f80fd5b6020820152604082013563ffffffff8116811461186c575f80fd5b6040820152606082013567ffffffffffffffff81111561188a575f80fd5b611896868285016116fa565b60608301525060a08301525092915050565b5f602082840312156118b8575f80fd5b813567ffffffffffffffff8111156118ce575f80fd5b820161012081850312156118e0575f80fd5b6118e86115e2565b6118f28583611697565b815260a082013567ffffffffffffffff81111561190d575f80fd5b611919868285016117a3565b60208301525060c082013567ffffffffffffffff811115611938575f80fd5b611944868285016117a3565b60408301525060e082013567ffffffffffffffff811115611963575f80fd5b61196f868285016117a3565b60608301525061010082013567ffffffffffffffff81111561198f575f80fd5b61199b868285016117a3565b608083015250949350505050565b600181811c908216806119bd57607f821691505b6020821081036119f4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b81811015611a6b575f8155600101611a58565b5050505050565b815167ffffffffffffffff811115611a8c57611a8c6115b5565b611aa081611a9a84546119a9565b84611a27565b6020601f821160018114611af1575f8315611abb5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611a6b565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b3e5787850151825560209485019460019092019101611b1e565b5084821015611b7a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611b938187611557565b61012060a08201525f611baa6101208301876113e4565b82810360c0840152611bbc81876113e4565b905082810360e0840152611bd081866113e4565b9050828103610100840152611be581856113e4565b9897505050505050505056fea2646970667358221220d56d85089e2c998c805bbe0d4e5ad7257c3cb379f303d0012771ee0f026004f864736f6c634300081a0033", I0 = {
9
9
  "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
10
10
  name: "Transfer",
11
11
  type: "event",
@@ -1380,7 +1380,7 @@ const T0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f
1380
1380
  }
1381
1381
  ]
1382
1382
  }
1383
- }, h = Symbol.for("@ts-pattern/matcher"), I0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), L = (t) => t && !!t[h], l = (t, f, e) => {
1383
+ }, h = Symbol.for("@ts-pattern/matcher"), E0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), L = (t) => t && !!t[h], l = (t, f, e) => {
1384
1384
  if (L(t)) {
1385
1385
  const n = t[h](), { matched: d, selections: i } = n.match(f);
1386
1386
  return d && i && Object.keys(i).forEach((a) => e(a, i[a])), d;
@@ -1392,13 +1392,13 @@ const T0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f
1392
1392
  let n = [], d = [], i = [];
1393
1393
  for (const a of t.keys()) {
1394
1394
  const s = t[a];
1395
- L(s) && s[I0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
1395
+ L(s) && s[E0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
1396
1396
  }
1397
1397
  if (i.length) {
1398
1398
  if (i.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
1399
1399
  if (f.length < n.length + d.length) return !1;
1400
1400
  const a = f.slice(0, n.length), s = d.length === 0 ? [] : f.slice(-d.length), r = f.slice(n.length, d.length === 0 ? 1 / 0 : -d.length);
1401
- return n.every((o, E) => l(o, a[E], e)) && d.every((o, E) => l(o, s[E], e)) && (i.length === 0 || l(i[0], r, e));
1401
+ return n.every((p, I) => l(p, a[I], e)) && d.every((p, I) => l(p, s[I], e)) && (i.length === 0 || l(i[0], r, e));
1402
1402
  }
1403
1403
  return t.length === f.length && t.every((a, s) => l(a, f[s], e));
1404
1404
  }
@@ -1414,7 +1414,7 @@ const T0 = "0x60a0604052348015600e575f80fd5b50601b601f60201b60201c565b60b0565b5f
1414
1414
  return H(t) ? L(t) ? (f = (e = (n = t[h]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? C(t, A) : C(Object.values(t), A) : [];
1415
1415
  }, C = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
1416
1416
  function c(t) {
1417
- return Object.assign(t, { optional: () => N0(t), and: (f) => u(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? J(t) : J(f, t) });
1417
+ return Object.assign(t, { optional: () => N0(t), and: (f) => o(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? q(t) : q(f, t) });
1418
1418
  }
1419
1419
  function N0(t) {
1420
1420
  return c({ [h]: () => ({ match: (f) => {
@@ -1425,7 +1425,7 @@ function N0(t) {
1425
1425
  return f === void 0 ? (A(t).forEach((d) => n(d, void 0)), { matched: !0, selections: e }) : { matched: l(t, f, n), selections: e };
1426
1426
  }, getSelectionKeys: () => A(t), matcherType: "optional" }) });
1427
1427
  }
1428
- function u(...t) {
1428
+ function o(...t) {
1429
1429
  return c({ [h]: () => ({ match: (f) => {
1430
1430
  let e = {};
1431
1431
  const n = (d, i) => {
@@ -1443,10 +1443,10 @@ function S0(...t) {
1443
1443
  return C(t, A).forEach((d) => n(d, void 0)), { matched: t.some((d) => l(d, f, n)), selections: e };
1444
1444
  }, getSelectionKeys: () => C(t, A), matcherType: "or" }) });
1445
1445
  }
1446
- function b(t) {
1446
+ function u(t) {
1447
1447
  return { [h]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
1448
1448
  }
1449
- function J(...t) {
1449
+ function q(...t) {
1450
1450
  const f = typeof t[0] == "string" ? t[0] : void 0, e = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
1451
1451
  return c({ [h]: () => ({ match: (n) => {
1452
1452
  let d = { [f ?? D]: n };
@@ -1455,7 +1455,7 @@ function J(...t) {
1455
1455
  }), selections: d };
1456
1456
  }, getSelectionKeys: () => [f ?? D].concat(e === void 0 ? [] : A(e)) }) });
1457
1457
  }
1458
- function p(t) {
1458
+ function y(t) {
1459
1459
  return typeof t == "number";
1460
1460
  }
1461
1461
  function g(t) {
@@ -1464,37 +1464,37 @@ function g(t) {
1464
1464
  function x(t) {
1465
1465
  return typeof t == "bigint";
1466
1466
  }
1467
- c(b(function(t) {
1467
+ c(u(function(t) {
1468
1468
  return !0;
1469
1469
  }));
1470
1470
  const m = (t) => Object.assign(c(t), { startsWith: (f) => {
1471
- return m(u(t, (e = f, b((n) => g(n) && n.startsWith(e)))));
1471
+ return m(o(t, (e = f, u((n) => g(n) && n.startsWith(e)))));
1472
1472
  var e;
1473
1473
  }, endsWith: (f) => {
1474
- return m(u(t, (e = f, b((n) => g(n) && n.endsWith(e)))));
1474
+ return m(o(t, (e = f, u((n) => g(n) && n.endsWith(e)))));
1475
1475
  var e;
1476
- }, minLength: (f) => m(u(t, ((e) => b((n) => g(n) && n.length >= e))(f))), length: (f) => m(u(t, ((e) => b((n) => g(n) && n.length === e))(f))), maxLength: (f) => m(u(t, ((e) => b((n) => g(n) && n.length <= e))(f))), includes: (f) => {
1477
- return m(u(t, (e = f, b((n) => g(n) && n.includes(e)))));
1476
+ }, minLength: (f) => m(o(t, ((e) => u((n) => g(n) && n.length >= e))(f))), length: (f) => m(o(t, ((e) => u((n) => g(n) && n.length === e))(f))), maxLength: (f) => m(o(t, ((e) => u((n) => g(n) && n.length <= e))(f))), includes: (f) => {
1477
+ return m(o(t, (e = f, u((n) => g(n) && n.includes(e)))));
1478
1478
  var e;
1479
1479
  }, regex: (f) => {
1480
- return m(u(t, (e = f, b((n) => g(n) && !!n.match(e)))));
1480
+ return m(o(t, (e = f, u((n) => g(n) && !!n.match(e)))));
1481
1481
  var e;
1482
1482
  } });
1483
- m(b(g));
1484
- const y = (t) => Object.assign(c(t), { between: (f, e) => y(u(t, ((n, d) => b((i) => p(i) && n <= i && d >= i))(f, e))), lt: (f) => y(u(t, ((e) => b((n) => p(n) && n < e))(f))), gt: (f) => y(u(t, ((e) => b((n) => p(n) && n > e))(f))), lte: (f) => y(u(t, ((e) => b((n) => p(n) && n <= e))(f))), gte: (f) => y(u(t, ((e) => b((n) => p(n) && n >= e))(f))), int: () => y(u(t, b((f) => p(f) && Number.isInteger(f)))), finite: () => y(u(t, b((f) => p(f) && Number.isFinite(f)))), positive: () => y(u(t, b((f) => p(f) && f > 0))), negative: () => y(u(t, b((f) => p(f) && f < 0))) });
1485
- y(b(p));
1486
- const w = (t) => Object.assign(c(t), { between: (f, e) => w(u(t, ((n, d) => b((i) => x(i) && n <= i && d >= i))(f, e))), lt: (f) => w(u(t, ((e) => b((n) => x(n) && n < e))(f))), gt: (f) => w(u(t, ((e) => b((n) => x(n) && n > e))(f))), lte: (f) => w(u(t, ((e) => b((n) => x(n) && n <= e))(f))), gte: (f) => w(u(t, ((e) => b((n) => x(n) && n >= e))(f))), positive: () => w(u(t, b((f) => x(f) && f > 0))), negative: () => w(u(t, b((f) => x(f) && f < 0))) });
1487
- w(b(x));
1488
- c(b(function(t) {
1483
+ m(u(g));
1484
+ const b = (t) => Object.assign(c(t), { between: (f, e) => b(o(t, ((n, d) => u((i) => y(i) && n <= i && d >= i))(f, e))), lt: (f) => b(o(t, ((e) => u((n) => y(n) && n < e))(f))), gt: (f) => b(o(t, ((e) => u((n) => y(n) && n > e))(f))), lte: (f) => b(o(t, ((e) => u((n) => y(n) && n <= e))(f))), gte: (f) => b(o(t, ((e) => u((n) => y(n) && n >= e))(f))), int: () => b(o(t, u((f) => y(f) && Number.isInteger(f)))), finite: () => b(o(t, u((f) => y(f) && Number.isFinite(f)))), positive: () => b(o(t, u((f) => y(f) && f > 0))), negative: () => b(o(t, u((f) => y(f) && f < 0))) });
1485
+ b(u(y));
1486
+ const w = (t) => Object.assign(c(t), { between: (f, e) => w(o(t, ((n, d) => u((i) => x(i) && n <= i && d >= i))(f, e))), lt: (f) => w(o(t, ((e) => u((n) => x(n) && n < e))(f))), gt: (f) => w(o(t, ((e) => u((n) => x(n) && n > e))(f))), lte: (f) => w(o(t, ((e) => u((n) => x(n) && n <= e))(f))), gte: (f) => w(o(t, ((e) => u((n) => x(n) && n >= e))(f))), positive: () => w(o(t, u((f) => x(f) && f > 0))), negative: () => w(o(t, u((f) => x(f) && f < 0))) });
1487
+ w(u(x));
1488
+ c(u(function(t) {
1489
1489
  return typeof t == "boolean";
1490
1490
  }));
1491
- c(b(function(t) {
1491
+ c(u(function(t) {
1492
1492
  return typeof t == "symbol";
1493
1493
  }));
1494
- c(b(function(t) {
1494
+ c(u(function(t) {
1495
1495
  return t == null;
1496
1496
  }));
1497
- c(b(function(t) {
1497
+ c(u(function(t) {
1498
1498
  return t != null;
1499
1499
  }));
1500
1500
  class C0 extends Error {
@@ -1508,9 +1508,9 @@ class C0 extends Error {
1508
1508
  super(`Pattern matching error: no pattern matches value ${e}`), this.input = void 0, this.input = f;
1509
1509
  }
1510
1510
  }
1511
- const F = { matched: !1, value: void 0 };
1511
+ const G = { matched: !1, value: void 0 };
1512
1512
  function f0(t) {
1513
- return new U(t, F);
1513
+ return new U(t, G);
1514
1514
  }
1515
1515
  class U {
1516
1516
  constructor(f, e) {
@@ -1522,15 +1522,15 @@ class U {
1522
1522
  let d;
1523
1523
  f.length === 3 && typeof f[1] == "function" ? d = f[1] : f.length > 2 && n.push(...f.slice(1, f.length - 1));
1524
1524
  let i = !1, a = {};
1525
- const s = (o, E) => {
1526
- i = !0, a[o] = E;
1527
- }, r = !n.some((o) => l(o, this.input, s)) || d && !d(this.input) ? F : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
1525
+ const s = (p, I) => {
1526
+ i = !0, a[p] = I;
1527
+ }, r = !n.some((p) => l(p, this.input, s)) || d && !d(this.input) ? G : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
1528
1528
  return new U(this.input, r);
1529
1529
  }
1530
1530
  when(f, e) {
1531
1531
  if (this.state.matched) return this;
1532
1532
  const n = !!f(this.input);
1533
- return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } : F);
1533
+ return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } : G);
1534
1534
  }
1535
1535
  otherwise(f) {
1536
1536
  return this.state.matched ? this.state.value : f(this.input);
@@ -1546,8 +1546,8 @@ class U {
1546
1546
  return this;
1547
1547
  }
1548
1548
  }
1549
- var B0 = /* @__PURE__ */ ((t) => (t[t.EQUAL = 0] = "EQUAL", t[t.NOT_EQUAL = 1] = "NOT_EQUAL", t[t.GREATER_THAN = 2] = "GREATER_THAN", t[t.LESS_THAN = 3] = "LESS_THAN", t[t.CONTAINS = 4] = "CONTAINS", t[t.REGEX = 5] = "REGEX", t[t.GREATER_THAN_OR_EQUAL = 6] = "GREATER_THAN_OR_EQUAL", t[t.LESS_THAN_OR_EQUAL = 7] = "LESS_THAN_OR_EQUAL", t))(B0 || {}), k0 = /* @__PURE__ */ ((t) => (t[t.UINT = 0] = "UINT", t[t.ADDRESS = 1] = "ADDRESS", t[t.BYTES = 2] = "BYTES", t[t.STRING = 3] = "STRING", t[t.TUPLE = 4] = "TUPLE", t))(k0 || {}), R0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(R0 || {});
1550
- function P0(t) {
1549
+ var B0 = /* @__PURE__ */ ((t) => (t[t.EQUAL = 0] = "EQUAL", t[t.NOT_EQUAL = 1] = "NOT_EQUAL", t[t.GREATER_THAN = 2] = "GREATER_THAN", t[t.LESS_THAN = 3] = "LESS_THAN", t[t.CONTAINS = 4] = "CONTAINS", t[t.REGEX = 5] = "REGEX", t[t.GREATER_THAN_OR_EQUAL = 6] = "GREATER_THAN_OR_EQUAL", t[t.LESS_THAN_OR_EQUAL = 7] = "LESS_THAN_OR_EQUAL", t))(B0 || {}), k0 = /* @__PURE__ */ ((t) => (t[t.UINT = 0] = "UINT", t[t.ADDRESS = 1] = "ADDRESS", t[t.BYTES = 2] = "BYTES", t[t.STRING = 3] = "STRING", t[t.TUPLE = 4] = "TUPLE", t[t.INT = 5] = "INT", t))(k0 || {}), R0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(R0 || {});
1550
+ function _0(t) {
1551
1551
  return Array.isArray(t.actionSteps);
1552
1552
  }
1553
1553
  const W = class W extends g0 {
@@ -1575,7 +1575,7 @@ const W = class W extends g0 {
1575
1575
  * @returns {Promise<ActionStep[]>}
1576
1576
  */
1577
1577
  async getActionSteps(f) {
1578
- const e = await b0(this._config, {
1578
+ const e = await u0(this._config, {
1579
1579
  address: this.assertValidAddress(),
1580
1580
  ...this.optionallyAttachAccount(),
1581
1581
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
@@ -1603,7 +1603,7 @@ const W = class W extends g0 {
1603
1603
  * @returns {Promise<ActionClaimant>}
1604
1604
  */
1605
1605
  async getActionClaimant(f) {
1606
- const e = await u0(this._config, {
1606
+ const e = await o0(this._config, {
1607
1607
  address: this.assertValidAddress(),
1608
1608
  ...this.optionallyAttachAccount(),
1609
1609
  ...f
@@ -1632,7 +1632,7 @@ const W = class W extends g0 {
1632
1632
  * @returns {Promise<{ hash: `0x${string}`; result: readonly [boolean, `0x${string}`]; }>}
1633
1633
  */
1634
1634
  async executeRaw(f, e) {
1635
- const { request: n, result: d } = await o0(this._config, {
1635
+ const { request: n, result: d } = await p0(this._config, {
1636
1636
  address: this.assertValidAddress(),
1637
1637
  ...this.optionallyAttachAccount(),
1638
1638
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
@@ -1705,12 +1705,12 @@ const W = class W extends g0 {
1705
1705
  let i;
1706
1706
  if ("logs" in e) {
1707
1707
  for (let r of e.logs) {
1708
- if (!I(r.address, f.targetContract)) continue;
1709
- let o = this.validateClaimantAgainstArgs(
1708
+ if (!E(r.address, f.targetContract)) continue;
1709
+ let p = this.validateClaimantAgainstArgs(
1710
1710
  f,
1711
1711
  r
1712
1712
  );
1713
- o && (i = o);
1713
+ p && (i = p);
1714
1714
  }
1715
1715
  return i;
1716
1716
  }
@@ -1723,9 +1723,9 @@ const W = class W extends g0 {
1723
1723
  let s;
1724
1724
  n === M ? { decodedLogs: s } = await this.decodeTransferLogs(a) : s = a.logs.filter((r) => r.topics[0] === j(d)).map((r) => n0(d, r));
1725
1725
  for (let r of s) {
1726
- if (!I(r.address, f.targetContract)) continue;
1727
- let o = this.validateClaimantAgainstArgs(f, r);
1728
- o && (i = o);
1726
+ if (!E(r.address, f.targetContract)) continue;
1727
+ let p = this.validateClaimantAgainstArgs(f, r);
1728
+ p && (i = p);
1729
1729
  }
1730
1730
  return i;
1731
1731
  }
@@ -1734,18 +1734,18 @@ const W = class W extends g0 {
1734
1734
  ...e,
1735
1735
  chainId: f.chainid
1736
1736
  });
1737
- if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !I(d.to, f.targetContract)) return;
1737
+ if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !E(d.to, f.targetContract)) return;
1738
1738
  let i;
1739
1739
  if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
1740
1740
  throw new R(f.signature);
1741
1741
  let a;
1742
1742
  try {
1743
- a = X({
1743
+ a = K({
1744
1744
  abi: [i],
1745
1745
  data: d.input
1746
1746
  });
1747
1747
  } catch (s) {
1748
- throw new K([i], s);
1748
+ throw new z([i], s);
1749
1749
  }
1750
1750
  return this.validateClaimantAgainstArgs(f, a);
1751
1751
  }
@@ -1762,7 +1762,7 @@ const W = class W extends g0 {
1762
1762
  if (!e || !Array.isArray(e == null ? void 0 : e.args) || (e == null ? void 0 : e.args.length) <= f.fieldIndex)
1763
1763
  return;
1764
1764
  const n = e.args.at(f.fieldIndex);
1765
- if (z(n)) return n;
1765
+ if (X(n)) return n;
1766
1766
  }
1767
1767
  /**
1768
1768
  * Retrieves action steps, and uses them to validate against, and optionally fetch logs that match the step's signature.
@@ -1878,7 +1878,7 @@ const W = class W extends g0 {
1878
1878
  const e = f.logs.filter(
1879
1879
  (d) => d.topics[0] === M
1880
1880
  ), n = structuredClone(
1881
- E0["Transfer(address indexed,address indexed,uint256 indexed)"]
1881
+ I0["Transfer(address indexed,address indexed,uint256 indexed)"]
1882
1882
  );
1883
1883
  try {
1884
1884
  return {
@@ -1944,7 +1944,7 @@ const W = class W extends g0 {
1944
1944
  if (!a || !a.type)
1945
1945
  throw new $(e, a);
1946
1946
  const s = f[e], r = a0(a.type);
1947
- if (r === 1 && (typeof s != "string" || !z(s)))
1947
+ if (r === 1 && (typeof s != "string" || !X(s)))
1948
1948
  throw new Y({
1949
1949
  fieldValue: s,
1950
1950
  criteria: {
@@ -1979,23 +1979,23 @@ const W = class W extends g0 {
1979
1979
  throw new R(i);
1980
1980
  let s;
1981
1981
  try {
1982
- s = X({
1982
+ s = K({
1983
1983
  abi: [a],
1984
1984
  data: e.input
1985
1985
  });
1986
1986
  } catch (r) {
1987
- throw new K([a], r);
1987
+ throw new z([a], r);
1988
1988
  }
1989
1989
  if (!(s != null && s.args))
1990
1990
  return !1;
1991
1991
  try {
1992
- const { value: r, type: o } = this.parseFieldFromAbi(
1992
+ const { value: r, type: p } = this.parseFieldFromAbi(
1993
1993
  s.args,
1994
1994
  d.fieldIndex,
1995
1995
  a.inputs || [],
1996
1996
  d.fieldType
1997
1997
  );
1998
- return d.fieldType = o, this.validateFieldAgainstCriteria(d, r, {
1998
+ return d.fieldType = p, this.validateFieldAgainstCriteria(d, r, {
1999
1999
  decodedArgs: s.args
2000
2000
  });
2001
2001
  } catch {
@@ -2018,7 +2018,7 @@ const W = class W extends g0 {
2018
2018
  if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === S.ANY_ACTION_PARAM)
2019
2019
  return !0;
2020
2020
  if (f.fieldType === 4)
2021
- throw new v(
2021
+ throw new T(
2022
2022
  "Tuples should not be passed into validateFieldAgainstCriteria"
2023
2023
  );
2024
2024
  const d = f.fieldType;
@@ -2026,7 +2026,7 @@ const W = class W extends g0 {
2026
2026
  case 0:
2027
2027
  return f0(d).with(
2028
2028
  1,
2029
- () => I(f.filterData, e)
2029
+ () => E(f.filterData, e)
2030
2030
  ).with(
2031
2031
  0,
2032
2032
  () => BigInt(e) === BigInt(f.filterData)
@@ -2037,42 +2037,45 @@ const W = class W extends g0 {
2037
2037
  case 1:
2038
2038
  return f0(d).with(
2039
2039
  1,
2040
- () => !I(f.filterData, e)
2040
+ () => !E(f.filterData, e)
2041
2041
  ).with(
2042
2042
  0,
2043
2043
  () => BigInt(e) !== BigInt(f.filterData)
2044
+ ).with(
2045
+ 5,
2046
+ () => BigInt(e) !== BigInt(f.filterData)
2044
2047
  ).with(
2045
2048
  3,
2046
2049
  () => e !== k(f.filterData, "string")
2047
2050
  ).otherwise(() => e !== f.filterData);
2048
2051
  case 2:
2049
- if (d === 0)
2052
+ if (d === 0 || d === 5)
2050
2053
  return BigInt(e) > BigInt(f.filterData);
2051
- throw new P({
2054
+ throw new _({
2052
2055
  ...n,
2053
2056
  criteria: f,
2054
2057
  fieldValue: e
2055
2058
  });
2056
2059
  case 6:
2057
- if (d === 0)
2060
+ if (d === 0 || d === 5)
2058
2061
  return BigInt(e) >= BigInt(f.filterData);
2059
- throw new P({
2062
+ throw new _({
2060
2063
  ...n,
2061
2064
  criteria: f,
2062
2065
  fieldValue: e
2063
2066
  });
2064
2067
  case 3:
2065
- if (d === 0)
2068
+ if (d === 0 || d === 5)
2066
2069
  return BigInt(e) < BigInt(f.filterData);
2067
- throw new P({
2070
+ throw new _({
2068
2071
  ...n,
2069
2072
  criteria: f,
2070
2073
  fieldValue: e
2071
2074
  });
2072
2075
  case 7:
2073
- if (d === 0)
2076
+ if (d === 0 || d === 5)
2074
2077
  return BigInt(e) <= BigInt(f.filterData);
2075
- throw new P({
2078
+ throw new _({
2076
2079
  ...n,
2077
2080
  criteria: f,
2078
2081
  fieldValue: e
@@ -2082,14 +2085,14 @@ const W = class W extends g0 {
2082
2085
  let i;
2083
2086
  return d === 3 ? i = k(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
2084
2087
  }
2085
- throw new Z({
2088
+ throw new J({
2086
2089
  ...n,
2087
2090
  criteria: f,
2088
2091
  fieldValue: e
2089
2092
  });
2090
2093
  case 5:
2091
2094
  if (typeof e != "string")
2092
- throw new Z({
2095
+ throw new J({
2093
2096
  ...n,
2094
2097
  criteria: f,
2095
2098
  fieldValue: e
@@ -2120,13 +2123,13 @@ const W = class W extends g0 {
2120
2123
  e
2121
2124
  );
2122
2125
  let i;
2123
- if (P0(n)) {
2126
+ if (_0(n)) {
2124
2127
  let a = n.actionSteps.filter((r) => !!r);
2125
2128
  if (a.length === 0)
2126
2129
  throw new w0();
2127
2130
  if (a.length > 4)
2128
2131
  throw new A0();
2129
- let s = Array.from({ length: 4 }, (r, o) => a.at(o) || a.at(-1));
2132
+ let s = Array.from({ length: 4 }, (r, p) => a.at(p) || a.at(-1));
2130
2133
  i = {
2131
2134
  actionClaimant: n.actionClaimant,
2132
2135
  actionStepOne: s[0],
@@ -2138,7 +2141,7 @@ const W = class W extends g0 {
2138
2141
  i = n;
2139
2142
  return {
2140
2143
  abi: V,
2141
- bytecode: T0,
2144
+ bytecode: v0,
2142
2145
  args: [U0(i)],
2143
2146
  ...this.optionallyAttachAccount(d.account)
2144
2147
  };
@@ -2160,40 +2163,42 @@ const W = class W extends g0 {
2160
2163
  W.bases = {
2161
2164
  31337: void 0,
2162
2165
  ...h0
2163
- }, W.registryType = v0.ACTION;
2166
+ }, W.registryType = T0.ACTION;
2164
2167
  let e0 = W;
2165
- function _0(t) {
2168
+ function P0(t) {
2166
2169
  return t.type === "tuple" || t.type.startsWith("tuple[");
2167
2170
  }
2168
2171
  function i0(t, f, e) {
2169
2172
  if (!f.length)
2170
- throw new v(
2173
+ throw new T(
2171
2174
  "No indexes found; cannot parse TUPLE field"
2172
2175
  );
2173
2176
  const n = f[0] ?? e.length + 1;
2174
2177
  if (n >= e.length)
2175
- throw new v(void 0, n);
2178
+ throw new T(void 0, n);
2176
2179
  const d = e[n], i = t[n];
2177
- if (!_0(d)) {
2180
+ if (!P0(d)) {
2178
2181
  const r = a0(d.type);
2179
2182
  return { value: i, type: r };
2180
2183
  }
2181
2184
  if (!Array.isArray(i))
2182
- throw new v(
2185
+ throw new T(
2183
2186
  "rawValue is not an array, but param.type is tuple"
2184
2187
  );
2185
2188
  const a = f.slice(1);
2186
2189
  if (!a.length)
2187
- throw new v(void 0, -1);
2190
+ throw new T(void 0, -1);
2188
2191
  const s = a[0] ?? d.components.length + 1;
2189
2192
  if (s >= d.components.length)
2190
- throw new v(void 0, s);
2193
+ throw new T(void 0, s);
2191
2194
  return i0(i, a, d.components);
2192
2195
  }
2193
2196
  function a0(t) {
2194
2197
  const f = t.toLowerCase();
2195
- if (f.startsWith("uint") || f.startsWith("int"))
2198
+ if (f.startsWith("uint"))
2196
2199
  return 0;
2200
+ if (f.startsWith("int"))
2201
+ return 5;
2197
2202
  if (f === "address")
2198
2203
  return 1;
2199
2204
  if (f === "bytes" || f.startsWith("bytes"))
@@ -2233,13 +2238,13 @@ function r0(t) {
2233
2238
  throw new Error("Invalid signature format");
2234
2239
  }
2235
2240
  function D0(t) {
2236
- return l0(G(t));
2241
+ return l0(F(t));
2237
2242
  }
2238
- function _(t) {
2243
+ function P(t) {
2239
2244
  return {
2240
2245
  ...s0(t),
2241
2246
  signatureType: t.signatureType ?? r0(t.signature),
2242
- signature: G(t.signature),
2247
+ signature: F(t.signature),
2243
2248
  actionType: t.actionType || 0,
2244
2249
  actionParameter: t.actionParameter.fieldType === 0 ? {
2245
2250
  ...t.actionParameter,
@@ -2254,7 +2259,7 @@ function U0({
2254
2259
  actionStepThree: n,
2255
2260
  actionStepFour: d
2256
2261
  }) {
2257
- return p0(
2262
+ return y0(
2258
2263
  [
2259
2264
  {
2260
2265
  type: "tuple",
@@ -2363,12 +2368,12 @@ function U0({
2363
2368
  actionClaimant: {
2364
2369
  ...s0(t),
2365
2370
  signatureType: t.signatureType ?? r0(t.signature),
2366
- signature: G(t.signature)
2371
+ signature: F(t.signature)
2367
2372
  },
2368
- actionStepOne: _(f),
2369
- actionStepTwo: _(e),
2370
- actionStepThree: _(n),
2371
- actionStepFour: _(d)
2373
+ actionStepOne: P(f),
2374
+ actionStepTwo: P(e),
2375
+ actionStepThree: P(n),
2376
+ actionStepFour: P(d)
2372
2377
  }
2373
2378
  ]
2374
2379
  );
@@ -2381,33 +2386,33 @@ function j0() {
2381
2386
  filterData: N
2382
2387
  };
2383
2388
  }
2384
- function X0(t) {
2389
+ function K0(t) {
2385
2390
  return {
2386
2391
  signatureType: 0,
2387
2392
  signature: N,
2388
2393
  fieldIndex: S.TX_SENDER_CLAIMANT,
2389
- targetContract: y0,
2394
+ targetContract: b0,
2390
2395
  chainid: t
2391
2396
  };
2392
2397
  }
2393
- const T = 63;
2394
- function z0(t) {
2398
+ const v = 63;
2399
+ function X0(t) {
2395
2400
  if (t.length > 5)
2396
- throw new q("Can only pack up to 5 indexes.");
2401
+ throw new Z("Can only pack up to 5 indexes.");
2397
2402
  let f = 0;
2398
2403
  return t.forEach((e, n) => {
2399
- if (e > T)
2400
- throw new q(
2401
- `Index ${e} exceeds the maximum allowed value (${T}).`
2404
+ if (e > v)
2405
+ throw new Z(
2406
+ `Index ${e} exceeds the maximum allowed value (${v}).`
2402
2407
  );
2403
- f |= (e & T) << n * 6;
2404
- }), t.length < 5 && (f |= T << t.length * 6), f;
2408
+ f |= (e & v) << n * 6;
2409
+ }), t.length < 5 && (f |= v << t.length * 6), f;
2405
2410
  }
2406
2411
  function W0(t) {
2407
2412
  const f = [];
2408
2413
  for (let e = 0; e < 5; e++) {
2409
- const n = t >> e * 6 & T;
2410
- if (n === T) break;
2414
+ const n = t >> e * 6 & v;
2415
+ if (n === v) break;
2411
2416
  f.push(n);
2412
2417
  }
2413
2418
  return f;
@@ -2446,10 +2451,10 @@ export {
2446
2451
  j0 as anyActionParameter,
2447
2452
  n0 as decodeAndReorderLogArgs,
2448
2453
  r0 as detectSignatureType,
2449
- P0 as isEventActionPayloadSimple,
2450
- z0 as packFieldIndexes,
2454
+ _0 as isEventActionPayloadSimple,
2455
+ X0 as packFieldIndexes,
2451
2456
  U0 as prepareEventActionPayload,
2452
- X0 as transactionSenderClaimant,
2457
+ K0 as transactionSenderClaimant,
2453
2458
  W0 as unpackFieldIndexes
2454
2459
  };
2455
2460
  //# sourceMappingURL=EventAction.js.map