@boostxyz/sdk 7.3.0 → 7.5.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 (193) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +2 -2
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.d.ts.map +1 -1
  6. package/dist/Actions/EventAction.js +160 -159
  7. package/dist/Actions/EventAction.js.map +1 -1
  8. package/dist/AllowLists/AllowList.cjs +1 -1
  9. package/dist/AllowLists/AllowList.js +3 -3
  10. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  11. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
  12. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
  13. package/dist/AllowLists/SimpleAllowList.js +30 -30
  14. package/dist/AllowLists/SimpleAllowList.js.map +1 -1
  15. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  16. package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
  17. package/dist/AllowLists/SimpleDenyList.js +3 -3
  18. package/dist/Auth/PassthroughAuth.cjs +1 -1
  19. package/dist/Auth/PassthroughAuth.js +1 -1
  20. package/dist/BoostCore.cjs +2 -2
  21. package/dist/BoostCore.cjs.map +1 -1
  22. package/dist/BoostCore.d.ts +14 -0
  23. package/dist/BoostCore.d.ts.map +1 -1
  24. package/dist/BoostCore.js +199 -180
  25. package/dist/BoostCore.js.map +1 -1
  26. package/dist/BoostRegistry.cjs +1 -1
  27. package/dist/BoostRegistry.cjs.map +1 -1
  28. package/dist/BoostRegistry.d.ts.map +1 -1
  29. package/dist/BoostRegistry.js +31 -31
  30. package/dist/BoostRegistry.js.map +1 -1
  31. package/dist/Budget-DGg1wCa6.cjs +2 -0
  32. package/dist/Budget-DGg1wCa6.cjs.map +1 -0
  33. package/dist/{Budget-B-grnRq9.js → Budget-ZnzzZsjK.js} +102 -102
  34. package/dist/Budget-ZnzzZsjK.js.map +1 -0
  35. package/dist/Budgets/Budget.cjs +1 -1
  36. package/dist/Budgets/Budget.js +3 -3
  37. package/dist/Budgets/ManagedBudget.cjs +1 -1
  38. package/dist/Budgets/ManagedBudget.cjs.map +1 -1
  39. package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
  40. package/dist/Budgets/ManagedBudget.js +48 -48
  41. package/dist/Budgets/ManagedBudget.js.map +1 -1
  42. package/dist/Budgets/ManagedBudgetWithFees.d.ts.map +1 -1
  43. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts.map +1 -1
  44. package/dist/Budgets/TransparentBudget.d.ts.map +1 -1
  45. package/dist/Budgets/VestingBudget.d.ts.map +1 -1
  46. package/dist/Deployable/DeployableTarget.cjs +1 -1
  47. package/dist/Deployable/DeployableTarget.cjs.map +1 -1
  48. package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
  49. package/dist/Deployable/DeployableTarget.js +5 -8
  50. package/dist/Deployable/DeployableTarget.js.map +1 -1
  51. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  52. package/dist/Deployable/DeployableTargetWithRBAC.js +19 -19
  53. package/dist/{Incentive-Bz_g-nID.js → Incentive-CYj6lbM5.js} +64 -64
  54. package/dist/Incentive-CYj6lbM5.js.map +1 -0
  55. package/dist/{Incentive-Dufx0ZjH.cjs → Incentive-Ckxpw7EN.cjs} +2 -2
  56. package/dist/Incentive-Ckxpw7EN.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.map +1 -1
  60. package/dist/Incentives/AllowListIncentive.js +36 -36
  61. package/dist/Incentives/AllowListIncentive.js.map +1 -1
  62. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  63. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  64. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
  65. package/dist/Incentives/CGDAIncentive.js +37 -37
  66. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  67. package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
  68. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  69. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  70. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
  71. package/dist/Incentives/ERC20Incentive.js +44 -44
  72. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  73. package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
  74. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs +1 -1
  75. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs.map +1 -1
  76. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +1 -1
  77. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js +63 -63
  78. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js.map +1 -1
  79. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +1 -1
  80. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs.map +1 -1
  81. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.d.ts.map +1 -1
  82. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +55 -53
  83. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js.map +1 -1
  84. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  85. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
  86. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  87. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +45 -45
  88. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
  89. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +1 -1
  90. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs.map +1 -1
  91. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts.map +1 -1
  92. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +51 -49
  93. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js.map +1 -1
  94. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  95. package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
  96. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  97. package/dist/Incentives/ERC20VariableIncentive.js +38 -38
  98. package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
  99. package/dist/Incentives/Incentive.cjs +1 -1
  100. package/dist/Incentives/Incentive.js +3 -3
  101. package/dist/Incentives/PointsIncentive.cjs +1 -1
  102. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  103. package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
  104. package/dist/Incentives/PointsIncentive.js +35 -35
  105. package/dist/Incentives/PointsIncentive.js.map +1 -1
  106. package/dist/{SimpleDenyList-BlLgvhjE.js → SimpleDenyList-DUO4ex__.js} +32 -32
  107. package/dist/SimpleDenyList-DUO4ex__.js.map +1 -0
  108. package/dist/{SimpleDenyList-B2YDJ_gk.cjs → SimpleDenyList-v5G-fPfm.cjs} +2 -2
  109. package/dist/SimpleDenyList-v5G-fPfm.cjs.map +1 -0
  110. package/dist/Validator-BA8RC2J6.cjs +2 -0
  111. package/dist/Validator-BA8RC2J6.cjs.map +1 -0
  112. package/dist/Validator-D4CzwdB9.js +409 -0
  113. package/dist/Validator-D4CzwdB9.js.map +1 -0
  114. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  115. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  116. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  117. package/dist/Validators/LimitedSignerValidator.js +39 -39
  118. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  119. package/dist/Validators/PayableLimitedSignerValidator.d.ts +829 -0
  120. package/dist/Validators/PayableLimitedSignerValidator.d.ts.map +1 -0
  121. package/dist/Validators/SignerValidator.cjs +1 -1
  122. package/dist/Validators/SignerValidator.cjs.map +1 -1
  123. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  124. package/dist/Validators/SignerValidator.js +48 -48
  125. package/dist/Validators/SignerValidator.js.map +1 -1
  126. package/dist/Validators/Validator.cjs +1 -1
  127. package/dist/Validators/Validator.cjs.map +1 -1
  128. package/dist/Validators/Validator.d.ts +4 -3
  129. package/dist/Validators/Validator.d.ts.map +1 -1
  130. package/dist/Validators/Validator.js +14 -50
  131. package/dist/Validators/Validator.js.map +1 -1
  132. package/dist/componentInterfaces-D4QdH2Qz.cjs +2 -0
  133. package/dist/componentInterfaces-D4QdH2Qz.cjs.map +1 -0
  134. package/dist/componentInterfaces-DCTot4_O.js +24 -0
  135. package/dist/componentInterfaces-DCTot4_O.js.map +1 -0
  136. package/dist/{deployments-DKtAq6BT.js → deployments-B-ZU0zVY.js} +61 -34
  137. package/dist/{deployments-DKtAq6BT.js.map → deployments-B-ZU0zVY.js.map} +1 -1
  138. package/dist/deployments-CaacquP1.cjs +2 -0
  139. package/dist/deployments-CaacquP1.cjs.map +1 -0
  140. package/dist/deployments.json +32 -4
  141. package/dist/generated-BOBQ2ut4.cjs +3 -0
  142. package/dist/generated-BOBQ2ut4.cjs.map +1 -0
  143. package/dist/{generated-CINzoGbl.js → generated-ffteMTHN.js} +1157 -776
  144. package/dist/generated-ffteMTHN.js.map +1 -0
  145. package/dist/index.cjs +1 -1
  146. package/dist/index.d.ts +1 -0
  147. package/dist/index.d.ts.map +1 -1
  148. package/dist/index.js +123 -118
  149. package/package.json +1 -1
  150. package/src/Actions/EventAction.ts +3 -1
  151. package/src/AllowLists/SimpleAllowList.ts +3 -1
  152. package/src/AllowLists/SimpleDenyList.ts +3 -1
  153. package/src/BoostCore.ts +30 -1
  154. package/src/BoostRegistry.ts +3 -1
  155. package/src/Budgets/ManagedBudget.ts +3 -1
  156. package/src/Budgets/ManagedBudgetWithFees.ts +3 -1
  157. package/src/Budgets/ManagedBudgetWithFeesV2.ts +3 -1
  158. package/src/Budgets/TransparentBudget.ts +3 -1
  159. package/src/Budgets/VestingBudget.ts +3 -1
  160. package/src/Deployable/DeployableTarget.ts +2 -3
  161. package/src/Incentives/AllowListIncentive.ts +3 -1
  162. package/src/Incentives/CGDAIncentive.ts +3 -1
  163. package/src/Incentives/ERC1155Incentive.ts +3 -1
  164. package/src/Incentives/ERC20Incentive.ts +3 -1
  165. package/src/Incentives/ERC20PeggedIncentive.ts +3 -1
  166. package/src/Incentives/ERC20PeggedVariableCriteriaIncentive.ts +3 -1
  167. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.ts +6 -2
  168. package/src/Incentives/ERC20VariableCriteriaIncentive.ts +3 -1
  169. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.ts +5 -1
  170. package/src/Incentives/ERC20VariableIncentive.ts +3 -1
  171. package/src/Incentives/PointsIncentive.ts +3 -1
  172. package/src/Validators/LimitedSignerValidator.ts +3 -1
  173. package/src/Validators/PayableLimitedSignerValidator.test.ts +202 -0
  174. package/src/Validators/PayableLimitedSignerValidator.ts +667 -0
  175. package/src/Validators/SignerValidator.ts +3 -1
  176. package/src/Validators/Validator.ts +7 -1
  177. package/src/index.ts +1 -0
  178. package/dist/Budget-B-grnRq9.js.map +0 -1
  179. package/dist/Budget-uGKa2qzz.cjs +0 -2
  180. package/dist/Budget-uGKa2qzz.cjs.map +0 -1
  181. package/dist/Incentive-Bz_g-nID.js.map +0 -1
  182. package/dist/Incentive-Dufx0ZjH.cjs.map +0 -1
  183. package/dist/SimpleDenyList-B2YDJ_gk.cjs.map +0 -1
  184. package/dist/SimpleDenyList-BlLgvhjE.js.map +0 -1
  185. package/dist/componentInterfaces-C5ig8mCK.cjs +0 -2
  186. package/dist/componentInterfaces-C5ig8mCK.cjs.map +0 -1
  187. package/dist/componentInterfaces-Ddus5rIA.js +0 -23
  188. package/dist/componentInterfaces-Ddus5rIA.js.map +0 -1
  189. package/dist/deployments-Dk-Z1L2X.cjs +0 -2
  190. package/dist/deployments-Dk-Z1L2X.cjs.map +0 -1
  191. package/dist/generated-CINzoGbl.js.map +0 -1
  192. package/dist/generated-C_JEoLDO.cjs +0 -3
  193. package/dist/generated-C_JEoLDO.cjs.map +0 -1
@@ -1,11 +1,11 @@
1
- import { cx as K, cy as u0, cz as o0, cA as c0, cB as p0 } from "../generated-CINzoGbl.js";
2
- import { getTransaction as L, getTransactionReceipt as O } from "@wagmi/core";
3
- import { isAddressEqual as T, toEventSelector as G, decodeFunctionData as X, isAddress as Y, decodeEventLog as V, zeroHash as C, fromHex as R, encodeAbiParameters as y0, pad as z, zeroAddress as b0, trim as l0 } from "viem";
4
- import { i as g0 } from "../deployments-DKtAq6BT.js";
5
- import { DeployableTarget as h0 } from "../Deployable/DeployableTarget.js";
6
- import { ValidationAbiMissingError as N, FunctionDataDecodeError as q, UnparseableAbiParamError as Z, DecodedArgsMalformedError as x0, DecodedArgsError as A, FieldValueUndefinedError as J, InvalidTupleDecodingError as S, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as f0, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as U } from "../errors.js";
7
- import { RegistryType as v0, CheatCodes as B, TRANSFER_SIGNATURE as P } from "../utils.js";
8
- const T0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c276100945f395f6101510152611c275ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb366004611281565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112c7565b6102cb565b6040516100dc929190611381565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112c7565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc919061149b565b3480156101e5575f80fd5b506101f96101f436600461151c565b61059f565b6040516100dc9190611533565b348015610211575f80fd5b506102256102203660046112c7565b61077a565b6040516100dc9190611545565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115a7565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c582610858565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118a8565b6108ad565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113a3565b6001811115610421576104216113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113a3565b60078111156104a5576104a56113a3565b81528154602090910190610100900460ff1660058111156104c8576104c86113a3565b60058111156104d9576104d96113a3565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119a9565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611226565b600482815481106105ba576105ba6119fa565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113a3565b600181111561060e5761060e6113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113a3565b6007811115610692576106926113a3565b81528154602090910190610100900460ff1660058111156106b5576106b56113a3565b60058111156106c6576106c66113a3565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119a9565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113a3565b600181111561080d5761080d6113a3565b815260018201546020820152600282015460ff81166040830152610100900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611156565b6108b56111ec565b805180515f8054909190829060ff1916600183818111156108d8576108d86113a3565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff00000000000000000000000000000000000000000090911660ff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff19919091169083818111156109e1576109e16113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aa257610aa26113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ae757610ae76113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b3b9082611a72565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bcc57610bcc6113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c8d57610c8d6113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cd257610cd26113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d269082611a72565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610db757610db76113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e7857610e786113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ebd57610ebd6113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f119082611a72565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fa257610fa26113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115611063576110636113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110a8576110a86113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906110fc9082611a72565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161114b959493929190611b89565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546001166112235763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f6020820181905260408201819052606082015260800161127c6040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f60208284031215611291575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112c0575f80fd5b9392505050565b5f80602083850312156112d8575f80fd5b823567ffffffffffffffff8111156112ee575f80fd5b8301601f810185136112fe575f80fd5b803567ffffffffffffffff811115611314575f80fd5b856020828401011115611325575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f61139b6040830184611335565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113e0576113e06113a3565b9052565b805182525f60208201516113fb60208501826113d0565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a0850152805160088110611451576114516113a3565b60c085015260208101516006811061146b5761146b6113a3565b60e0850152604081015163ffffffff1661010085015260600151608061012085015261139b610140850182611335565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015611510577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526114fb8583516113e4565b945060209384019391909101906001016114c1565b50929695505050505050565b5f6020828403121561152c575f80fd5b5035919050565b602081525f6112c060208301846113e4565b602081525f6112c06020830184611335565b6115628282516113d0565b6020810151602083015260ff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611557565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611605576116056115b5565b60405290565b60405160c0810167ffffffffffffffff81118282101715611605576116056115b5565b6040516080810167ffffffffffffffff81118282101715611605576116056115b5565b80356002811061165f575f80fd5b919050565b803560ff8116811461165f575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461165f575f80fd5b5f60a082840312156116a7575f80fd5b6116af6115e2565b90506116ba82611651565b8152602082810135908201526116d260408301611664565b60408201526116e360608301611674565b606082015260809182013591810191909152919050565b5f82601f830112611709575f80fd5b813567ffffffffffffffff811115611723576117236115b5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810167ffffffffffffffff81118282101715611770576117706115b5565b604052818152838201602001851015611787575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60c082840312156117b3575f80fd5b6117bb61160b565b8235815290506117cd60208301611651565b60208201526117de60408301611664565b60408201526117ef60608301611674565b60608201526080828101359082015260a082013567ffffffffffffffff811115611817575f80fd5b820160808185031215611828575f80fd5b61183061162e565b81356008811061183e575f80fd5b8152602082013560068110611851575f80fd5b6020820152604082013563ffffffff8116811461186c575f80fd5b6040820152606082013567ffffffffffffffff81111561188a575f80fd5b611896868285016116fa565b60608301525060a08301525092915050565b5f602082840312156118b8575f80fd5b813567ffffffffffffffff8111156118ce575f80fd5b820161012081850312156118e0575f80fd5b6118e86115e2565b6118f28583611697565b815260a082013567ffffffffffffffff81111561190d575f80fd5b611919868285016117a3565b60208301525060c082013567ffffffffffffffff811115611938575f80fd5b611944868285016117a3565b60408301525060e082013567ffffffffffffffff811115611963575f80fd5b61196f868285016117a3565b60608301525061010082013567ffffffffffffffff81111561198f575f80fd5b61199b868285016117a3565b608083015250949350505050565b600181811c908216806119bd57607f821691505b6020821081036119f4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b81811015611a6b575f8155600101611a58565b5050505050565b815167ffffffffffffffff811115611a8c57611a8c6115b5565b611aa081611a9a84546119a9565b84611a27565b6020601f821160018114611af1575f8315611abb5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611a6b565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b3e5787850151825560209485019460019092019101611b1e565b5084821015611b7a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611b938187611557565b61012060a08201525f611baa6101208301876113e4565b82810360c0840152611bbc81876113e4565b905082810360e0840152611bd081866113e4565b9050828103610100840152611be581856113e4565b9897505050505050505056fea2646970667358221220a8f9468bd81df646b95b9d19599966d6a1b1f344117e00f66aa985f1fdfee66b64736f6c634300081a0033", S0 = {
1
+ import { cJ as z, cK as o0, cL as c0, cM as p0, cN as y0 } from "../generated-ffteMTHN.js";
2
+ import { getTransaction as R, getTransactionReceipt as V } from "@wagmi/core";
3
+ import { isAddressEqual as v, toEventSelector as G, decodeFunctionData as Y, isAddress as J, decodeEventLog as j, zeroHash as B, fromHex as L, encodeAbiParameters as b0, pad as X, zeroAddress as l0, trim as g0 } from "viem";
4
+ import { j as h0 } from "../deployments-B-ZU0zVY.js";
5
+ import { DeployableTarget as x0 } from "../Deployable/DeployableTarget.js";
6
+ import { ValidationAbiMissingError as N, FunctionDataDecodeError as Z, UnparseableAbiParamError as q, DecodedArgsMalformedError as m0, DecodedArgsError as A, FieldValueUndefinedError as f0, InvalidTupleDecodingError as E, UnrecognizedFilterTypeError as w0, FieldValueNotComparableError as e0, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as A0, TooManyEventActionStepsProvidedError as T0, InvalidTupleEncodingError as O } from "../errors.js";
7
+ import { RegistryType as v0, CheatCodes as C, TRANSFER_SIGNATURE as P } from "../utils.js";
8
+ const E0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c276100945f395f6101510152611c275ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb366004611281565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112c7565b6102cb565b6040516100dc929190611381565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112c7565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc919061149b565b3480156101e5575f80fd5b506101f96101f436600461151c565b61059f565b6040516100dc9190611533565b348015610211575f80fd5b506102256102203660046112c7565b61077a565b6040516100dc9190611545565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115a7565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c582610858565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118a8565b6108ad565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113a3565b6001811115610421576104216113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113a3565b60078111156104a5576104a56113a3565b81528154602090910190610100900460ff1660058111156104c8576104c86113a3565b60058111156104d9576104d96113a3565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119a9565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611226565b600482815481106105ba576105ba6119fa565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113a3565b600181111561060e5761060e6113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113a3565b6007811115610692576106926113a3565b81528154602090910190610100900460ff1660058111156106b5576106b56113a3565b60058111156106c6576106c66113a3565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119a9565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113a3565b600181111561080d5761080d6113a3565b815260018201546020820152600282015460ff81166040830152610100900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611156565b6108b56111ec565b805180515f8054909190829060ff1916600183818111156108d8576108d86113a3565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff00000000000000000000000000000000000000000090911660ff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff19919091169083818111156109e1576109e16113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aa257610aa26113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ae757610ae76113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b3b9082611a72565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bcc57610bcc6113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c8d57610c8d6113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cd257610cd26113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d269082611a72565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610db757610db76113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e7857610e786113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ebd57610ebd6113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f119082611a72565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fa257610fa26113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115611063576110636113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110a8576110a86113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906110fc9082611a72565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161114b959493929190611b89565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546001166112235763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f6020820181905260408201819052606082015260800161127c6040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f60208284031215611291575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112c0575f80fd5b9392505050565b5f80602083850312156112d8575f80fd5b823567ffffffffffffffff8111156112ee575f80fd5b8301601f810185136112fe575f80fd5b803567ffffffffffffffff811115611314575f80fd5b856020828401011115611325575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f61139b6040830184611335565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113e0576113e06113a3565b9052565b805182525f60208201516113fb60208501826113d0565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a0850152805160088110611451576114516113a3565b60c085015260208101516006811061146b5761146b6113a3565b60e0850152604081015163ffffffff1661010085015260600151608061012085015261139b610140850182611335565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015611510577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526114fb8583516113e4565b945060209384019391909101906001016114c1565b50929695505050505050565b5f6020828403121561152c575f80fd5b5035919050565b602081525f6112c060208301846113e4565b602081525f6112c06020830184611335565b6115628282516113d0565b6020810151602083015260ff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611557565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611605576116056115b5565b60405290565b60405160c0810167ffffffffffffffff81118282101715611605576116056115b5565b6040516080810167ffffffffffffffff81118282101715611605576116056115b5565b80356002811061165f575f80fd5b919050565b803560ff8116811461165f575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461165f575f80fd5b5f60a082840312156116a7575f80fd5b6116af6115e2565b90506116ba82611651565b8152602082810135908201526116d260408301611664565b60408201526116e360608301611674565b606082015260809182013591810191909152919050565b5f82601f830112611709575f80fd5b813567ffffffffffffffff811115611723576117236115b5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810167ffffffffffffffff81118282101715611770576117706115b5565b604052818152838201602001851015611787575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60c082840312156117b3575f80fd5b6117bb61160b565b8235815290506117cd60208301611651565b60208201526117de60408301611664565b60408201526117ef60608301611674565b60608201526080828101359082015260a082013567ffffffffffffffff811115611817575f80fd5b820160808185031215611828575f80fd5b61183061162e565b81356008811061183e575f80fd5b8152602082013560068110611851575f80fd5b6020820152604082013563ffffffff8116811461186c575f80fd5b6040820152606082013567ffffffffffffffff81111561188a575f80fd5b611896868285016116fa565b60608301525060a08301525092915050565b5f602082840312156118b8575f80fd5b813567ffffffffffffffff8111156118ce575f80fd5b820161012081850312156118e0575f80fd5b6118e86115e2565b6118f28583611697565b815260a082013567ffffffffffffffff81111561190d575f80fd5b611919868285016117a3565b60208301525060c082013567ffffffffffffffff811115611938575f80fd5b611944868285016117a3565b60408301525060e082013567ffffffffffffffff811115611963575f80fd5b61196f868285016117a3565b60608301525061010082013567ffffffffffffffff81111561198f575f80fd5b61199b868285016117a3565b608083015250949350505050565b600181811c908216806119bd57607f821691505b6020821081036119f4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b81811015611a6b575f8155600101611a58565b5050505050565b815167ffffffffffffffff811115611a8c57611a8c6115b5565b611aa081611a9a84546119a9565b84611a27565b6020601f821160018114611af1575f8315611abb5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611a6b565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b3e5787850151825560209485019460019092019101611b1e565b5084821015611b7a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611b938187611557565b61012060a08201525f611baa6101208301876113e4565b82810360c0840152611bbc81876113e4565b905082810360e0840152611bd081866113e4565b9050828103610100840152611be581856113e4565b9897505050505050505056fea2646970667358221220a8f9468bd81df646b95b9d19599966d6a1b1f344117e00f66aa985f1fdfee66b64736f6c634300081a0033", S0 = {
9
9
  "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
10
10
  name: "Transfer",
11
11
  type: "event",
@@ -1380,7 +1380,7 @@ const T0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1380
1380
  }
1381
1381
  ]
1382
1382
  }
1383
- }, g = Symbol.for("@ts-pattern/matcher"), E0 = Symbol.for("@ts-pattern/isVariadic"), $ = "@ts-pattern/anonymous-select-key", Q = (t) => !!(t && typeof t == "object"), F = (t) => t && !!t[g], l = (t, f, e) => {
1383
+ }, g = Symbol.for("@ts-pattern/matcher"), I0 = Symbol.for("@ts-pattern/isVariadic"), U = "@ts-pattern/anonymous-select-key", Q = (t) => !!(t && typeof t == "object"), F = (t) => t && !!t[g], l = (t, f, e) => {
1384
1384
  if (F(t)) {
1385
1385
  const n = t[g](), { matched: d, selections: i } = n.match(f);
1386
1386
  return d && i && Object.keys(i).forEach((r) => e(r, i[r])), d;
@@ -1392,7 +1392,7 @@ const T0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1392
1392
  let n = [], d = [], i = [];
1393
1393
  for (const r of t.keys()) {
1394
1394
  const a = t[r];
1395
- F(a) && a[E0] ? i.push(a) : i.length ? d.push(a) : n.push(a);
1395
+ F(a) && a[I0] ? i.push(a) : i.length ? d.push(a) : n.push(a);
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.");
@@ -1409,21 +1409,21 @@ const T0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1409
1409
  });
1410
1410
  }
1411
1411
  return Object.is(f, t);
1412
- }, v = (t) => {
1412
+ }, T = (t) => {
1413
1413
  var f, e, n;
1414
- return Q(t) ? F(t) ? (f = (e = (n = t[g]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? k(t, v) : k(Object.values(t), v) : [];
1414
+ return Q(t) ? F(t) ? (f = (e = (n = t[g]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? k(t, T) : k(Object.values(t), T) : [];
1415
1415
  }, k = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
1416
1416
  function p(t) {
1417
- return Object.assign(t, { optional: () => I0(t), and: (f) => o(t, f), or: (f) => N0(t, f), select: (f) => f === void 0 ? e0(t) : e0(f, t) });
1417
+ return Object.assign(t, { optional: () => N0(t), and: (f) => o(t, f), or: (f) => B0(t, f), select: (f) => f === void 0 ? t0(t) : t0(f, t) });
1418
1418
  }
1419
- function I0(t) {
1419
+ function N0(t) {
1420
1420
  return p({ [g]: () => ({ match: (f) => {
1421
1421
  let e = {};
1422
1422
  const n = (d, i) => {
1423
1423
  e[d] = i;
1424
1424
  };
1425
- return f === void 0 ? (v(t).forEach((d) => n(d, void 0)), { matched: !0, selections: e }) : { matched: l(t, f, n), selections: e };
1426
- }, getSelectionKeys: () => v(t), matcherType: "optional" }) });
1425
+ return f === void 0 ? (T(t).forEach((d) => n(d, void 0)), { matched: !0, selections: e }) : { matched: l(t, f, n), selections: e };
1426
+ }, getSelectionKeys: () => T(t), matcherType: "optional" }) });
1427
1427
  }
1428
1428
  function o(...t) {
1429
1429
  return p({ [g]: () => ({ match: (f) => {
@@ -1432,28 +1432,28 @@ function o(...t) {
1432
1432
  e[d] = i;
1433
1433
  };
1434
1434
  return { matched: t.every((d) => l(d, f, n)), selections: e };
1435
- }, getSelectionKeys: () => k(t, v), matcherType: "and" }) });
1435
+ }, getSelectionKeys: () => k(t, T), matcherType: "and" }) });
1436
1436
  }
1437
- function N0(...t) {
1437
+ function B0(...t) {
1438
1438
  return p({ [g]: () => ({ match: (f) => {
1439
1439
  let e = {};
1440
1440
  const n = (d, i) => {
1441
1441
  e[d] = i;
1442
1442
  };
1443
- return k(t, v).forEach((d) => n(d, void 0)), { matched: t.some((d) => l(d, f, n)), selections: e };
1444
- }, getSelectionKeys: () => k(t, v), matcherType: "or" }) });
1443
+ return k(t, T).forEach((d) => n(d, void 0)), { matched: t.some((d) => l(d, f, n)), selections: e };
1444
+ }, getSelectionKeys: () => k(t, T), matcherType: "or" }) });
1445
1445
  }
1446
1446
  function u(t) {
1447
1447
  return { [g]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
1448
1448
  }
1449
- function e0(...t) {
1449
+ function t0(...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 p({ [g]: () => ({ match: (n) => {
1452
- let d = { [f ?? $]: n };
1452
+ let d = { [f ?? U]: n };
1453
1453
  return { matched: e === void 0 || l(e, n, (i, r) => {
1454
1454
  d[i] = r;
1455
1455
  }), selections: d };
1456
- }, getSelectionKeys: () => [f ?? $].concat(e === void 0 ? [] : v(e)) }) });
1456
+ }, getSelectionKeys: () => [f ?? U].concat(e === void 0 ? [] : T(e)) }) });
1457
1457
  }
1458
1458
  function y(t) {
1459
1459
  return typeof t == "number";
@@ -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 j = { matched: !1, value: void 0 };
1512
- function t0(t) {
1513
- return new M(t, j);
1511
+ const K = { matched: !1, value: void 0 };
1512
+ function n0(t) {
1513
+ return new M(t, K);
1514
1514
  }
1515
1515
  class M {
1516
1516
  constructor(f, e) {
@@ -1524,13 +1524,13 @@ class M {
1524
1524
  let i = !1, r = {};
1525
1525
  const a = (c, I) => {
1526
1526
  i = !0, r[c] = I;
1527
- }, s = !n.some((c) => l(c, this.input, a)) || d && !d(this.input) ? j : { matched: !0, value: e(i ? $ in r ? r[$] : r : this.input, this.input) };
1527
+ }, s = !n.some((c) => l(c, this.input, a)) || d && !d(this.input) ? K : { matched: !0, value: e(i ? U in r ? r[U] : r : this.input, this.input) };
1528
1528
  return new M(this.input, s);
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 M(this.input, n ? { matched: !0, value: e(this.input, this.input) } : j);
1533
+ return new M(this.input, n ? { matched: !0, value: e(this.input, this.input) } : K);
1534
1534
  }
1535
1535
  otherwise(f) {
1536
1536
  return this.state.matched ? this.state.value : f(this.input);
@@ -1546,13 +1546,14 @@ class M {
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[t.INT = 5] = "INT", t))(k0 || {}), L0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(L0 || {}), R0 = /* @__PURE__ */ ((t) => (t[t.RAW = 0] = "RAW", t[t.WAD = 1] = "WAD", t))(R0 || {});
1550
- function _0(t) {
1549
+ const H = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_BOOST_MAINNET_SIGNER_EOA: "0xCBD0C302040bC803B4B2EDaF21Be0e49Deff5480", VITE_BOOST_TESTNET_SIGNER_EOA: "0xd63167e9db11B108940b2E8236581F961f33f396" };
1550
+ var k0 = /* @__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))(k0 || {}), R0 = /* @__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))(R0 || {}), L0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(L0 || {}), _0 = /* @__PURE__ */ ((t) => (t[t.RAW = 0] = "RAW", t[t.WAD = 1] = "WAD", t))(_0 || {});
1551
+ function P0(t) {
1551
1552
  return Array.isArray(t.actionSteps);
1552
1553
  }
1553
- const H = class H extends h0 {
1554
+ const $ = class $ extends x0 {
1554
1555
  constructor() {
1555
- super(...arguments), this.abi = K;
1556
+ super(...arguments), this.abi = z;
1556
1557
  }
1557
1558
  /**
1558
1559
  * Gets a specific action event by index
@@ -1575,13 +1576,13 @@ const H = class H extends h0 {
1575
1576
  * @returns {Promise<ActionStep[]>}
1576
1577
  */
1577
1578
  async getActionSteps(f) {
1578
- const e = await u0(this._config, {
1579
+ const e = await o0(this._config, {
1579
1580
  address: this.assertValidAddress(),
1580
1581
  ...this.optionallyAttachAccount(),
1581
1582
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
1582
1583
  ...f
1583
1584
  });
1584
- return D0(e.map(d0));
1585
+ return W0(e.map(i0));
1585
1586
  }
1586
1587
  /**
1587
1588
  * Gets the count of action events
@@ -1603,12 +1604,12 @@ const H = class H extends h0 {
1603
1604
  * @returns {Promise<ActionClaimant>}
1604
1605
  */
1605
1606
  async getActionClaimant(f) {
1606
- const e = await o0(this._config, {
1607
+ const e = await c0(this._config, {
1607
1608
  address: this.assertValidAddress(),
1608
1609
  ...this.optionallyAttachAccount(),
1609
1610
  ...f
1610
1611
  });
1611
- return d0(e);
1612
+ return i0(e);
1612
1613
  }
1613
1614
  /**
1614
1615
  * Executes a prepared event action
@@ -1632,14 +1633,14 @@ const H = class H extends h0 {
1632
1633
  * @returns {Promise<{ hash: `0x${string}`; result: readonly [boolean, `0x${string}`]; }>}
1633
1634
  */
1634
1635
  async executeRaw(f, e) {
1635
- const { request: n, result: d } = await c0(this._config, {
1636
+ const { request: n, result: d } = await p0(this._config, {
1636
1637
  address: this.assertValidAddress(),
1637
1638
  ...this.optionallyAttachAccount(),
1638
1639
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
1639
1640
  ...e,
1640
1641
  args: [f]
1641
1642
  });
1642
- return { hash: await p0(this._config, n), result: d };
1643
+ return { hash: await y0(this._config, n), result: d };
1643
1644
  }
1644
1645
  /**
1645
1646
  * Derives the action claimant address from a transaction based on the provided ActionClaimant configuration.
@@ -1676,9 +1677,9 @@ const H = class H extends h0 {
1676
1677
  * @throws {FunctionDataDecodeError} If there's an error decoding function data (for function-based derivation).
1677
1678
  */
1678
1679
  async deriveActionClaimantFromTransaction(f, e) {
1679
- if (f.fieldIndex === B.TX_SENDER_CLAIMANT) {
1680
+ if (f.fieldIndex === C.TX_SENDER_CLAIMANT) {
1680
1681
  if ("hash" in e) {
1681
- const d = await L(this._config, {
1682
+ const d = await R(this._config, {
1682
1683
  ...e,
1683
1684
  chainId: f.chainid
1684
1685
  });
@@ -1687,7 +1688,7 @@ const H = class H extends h0 {
1687
1688
  if ("logs" in e) {
1688
1689
  for (let d of e.logs)
1689
1690
  if (d.transactionHash) {
1690
- const i = await L(this._config, {
1691
+ const i = await R(this._config, {
1691
1692
  ...e,
1692
1693
  hash: d.transactionHash,
1693
1694
  chainId: f.chainid
@@ -1705,7 +1706,7 @@ const H = class H extends h0 {
1705
1706
  if ("logs" in e) {
1706
1707
  const a = e.logs.filter((s) => s.topics[0] === n).map((s) => W(d, s));
1707
1708
  for (const s of a) {
1708
- if (!T(s.address, f.targetContract)) continue;
1709
+ if (!v(s.address, f.targetContract)) continue;
1709
1710
  const c = this.validateClaimantAgainstArgs(
1710
1711
  f,
1711
1712
  s
@@ -1715,7 +1716,7 @@ const H = class H extends h0 {
1715
1716
  }
1716
1717
  if (!("hash" in e))
1717
1718
  return;
1718
- const i = await O(this._config, {
1719
+ const i = await V(this._config, {
1719
1720
  ...e,
1720
1721
  chainId: f.chainid
1721
1722
  });
@@ -1724,28 +1725,28 @@ const H = class H extends h0 {
1724
1725
  let r;
1725
1726
  n === P ? { decodedLogs: r } = await this.decodeTransferLogs(i) : r = i.logs.filter((a) => a.topics[0] === G(d)).map((a) => W(d, a));
1726
1727
  for (let a of r) {
1727
- if (!T(a.address, f.targetContract)) continue;
1728
+ if (!v(a.address, f.targetContract)) continue;
1728
1729
  let s = this.validateClaimantAgainstArgs(f, a);
1729
1730
  if (s) return s;
1730
1731
  }
1731
1732
  }
1732
1733
  if (f.signatureType === 1 && "hash" in e) {
1733
- const d = await L(this._config, {
1734
+ const d = await R(this._config, {
1734
1735
  ...e,
1735
1736
  chainId: f.chainid
1736
1737
  });
1737
- if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !T(d.to, f.targetContract)) return;
1738
+ if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !v(d.to, f.targetContract)) return;
1738
1739
  let i;
1739
1740
  if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
1740
1741
  throw new N(f.signature);
1741
1742
  let r;
1742
1743
  try {
1743
- r = X({
1744
+ r = Y({
1744
1745
  abi: [i],
1745
1746
  data: d.input
1746
1747
  });
1747
1748
  } catch (a) {
1748
- throw new q([i], a);
1749
+ throw new Z([i], a);
1749
1750
  }
1750
1751
  return this.validateClaimantAgainstArgs(f, r);
1751
1752
  }
@@ -1762,7 +1763,7 @@ const H = class H extends h0 {
1762
1763
  if (!e || !Array.isArray(e == null ? void 0 : e.args) || (e == null ? void 0 : e.args.length) <= f.fieldIndex)
1763
1764
  return;
1764
1765
  const n = e.args.at(f.fieldIndex);
1765
- if (Y(n)) return n;
1766
+ if (J(n)) return n;
1766
1767
  }
1767
1768
  /**
1768
1769
  * Retrieves action steps, and uses them to validate against, and optionally fetch logs that match the step's signature.
@@ -1798,13 +1799,13 @@ const H = class H extends h0 {
1798
1799
  if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
1799
1800
  throw new N(n);
1800
1801
  if (this.isArraylikeIndexed(f, d))
1801
- throw new Z(
1802
+ throw new q(
1802
1803
  f.actionParameter.fieldIndex,
1803
1804
  d
1804
1805
  );
1805
1806
  if ("logs" in e)
1806
1807
  return this.isActionEventValid(f, e.logs, d);
1807
- const i = await O(this._config, {
1808
+ const i = await V(this._config, {
1808
1809
  ...e,
1809
1810
  chainId: f.chainid
1810
1811
  });
@@ -1818,7 +1819,7 @@ const H = class H extends h0 {
1818
1819
  return this.isActionEventValid(f, r, d);
1819
1820
  }
1820
1821
  if (f.signatureType === 1 && "hash" in e) {
1821
- const n = await L(this._config, {
1822
+ const n = await R(this._config, {
1822
1823
  ...e,
1823
1824
  chainId: f.chainid
1824
1825
  });
@@ -1841,7 +1842,7 @@ const H = class H extends h0 {
1841
1842
  for (let i of e)
1842
1843
  try {
1843
1844
  if (!Array.isArray(i.args))
1844
- throw new x0({
1845
+ throw new m0({
1845
1846
  log: i,
1846
1847
  criteria: d,
1847
1848
  fieldValue: void 0
@@ -1883,7 +1884,7 @@ const H = class H extends h0 {
1883
1884
  try {
1884
1885
  return {
1885
1886
  decodedLogs: e.map((i) => {
1886
- const { eventName: r, args: a } = V({
1887
+ const { eventName: r, args: a } = j({
1887
1888
  abi: [n],
1888
1889
  data: i.data,
1889
1890
  topics: i.topics
@@ -1896,7 +1897,7 @@ const H = class H extends h0 {
1896
1897
  try {
1897
1898
  return n.inputs[2].indexed = !1, {
1898
1899
  decodedLogs: e.map((i) => {
1899
- const { eventName: r, args: a } = V({
1900
+ const { eventName: r, args: a } = j({
1900
1901
  abi: [n],
1901
1902
  data: i.data,
1902
1903
  topics: i.topics
@@ -1923,41 +1924,41 @@ const H = class H extends h0 {
1923
1924
  * @returns {{ value: string | bigint | Hex; type: Exclude<PrimitiveType, PrimitiveType.TUPLE> }}
1924
1925
  */
1925
1926
  parseFieldFromAbi(f, e, n, d) {
1926
- if (e === B.ANY_ACTION_PARAM)
1927
+ if (e === C.ANY_ACTION_PARAM)
1927
1928
  return {
1928
- value: C,
1929
+ value: B,
1929
1930
  type: 2
1930
1931
  /* BYTES */
1931
1932
  };
1932
1933
  if (d !== 4) {
1933
1934
  if (!Array.isArray(f) || e >= f.length)
1934
- throw new J({
1935
+ throw new f0({
1935
1936
  fieldValue: f,
1936
1937
  criteria: {
1937
1938
  filterType: 0,
1938
1939
  fieldType: d,
1939
1940
  fieldIndex: e,
1940
- filterData: C
1941
+ filterData: B
1941
1942
  }
1942
1943
  });
1943
1944
  const r = n[e];
1944
1945
  if (!r || !r.type)
1945
- throw new Z(e, r);
1946
- const a = f[e], s = a0(r.type);
1947
- if (s === 1 && (typeof a != "string" || !Y(a)))
1948
- throw new J({
1946
+ throw new q(e, r);
1947
+ const a = f[e], s = r0(r.type);
1948
+ if (s === 1 && (typeof a != "string" || !J(a)))
1949
+ throw new f0({
1949
1950
  fieldValue: a,
1950
1951
  criteria: {
1951
1952
  fieldIndex: e,
1952
1953
  filterType: 0,
1953
1954
  fieldType: s,
1954
- filterData: C
1955
+ filterData: B
1955
1956
  }
1956
1957
  });
1957
1958
  return { value: a, type: s };
1958
1959
  }
1959
1960
  const i = U0(e);
1960
- return i0(f, i, n);
1961
+ return a0(f, i, n);
1961
1962
  }
1962
1963
  /**
1963
1964
  * Validates a single action function with a given criteria against the transaction input.
@@ -1979,12 +1980,12 @@ const H = class H extends h0 {
1979
1980
  throw new N(i);
1980
1981
  let a;
1981
1982
  try {
1982
- a = X({
1983
+ a = Y({
1983
1984
  abi: [r],
1984
1985
  data: e.input
1985
1986
  });
1986
1987
  } catch (s) {
1987
- throw new q([r], s);
1988
+ throw new Z([r], s);
1988
1989
  }
1989
1990
  if (!(a != null && a.args))
1990
1991
  return !1;
@@ -2015,29 +2016,29 @@ const H = class H extends h0 {
2015
2016
  * @returns {boolean} - Returns true if the field passes the criteria, false otherwise.
2016
2017
  */
2017
2018
  validateFieldAgainstCriteria(f, e, n) {
2018
- if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === B.ANY_ACTION_PARAM)
2019
+ if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === C.ANY_ACTION_PARAM)
2019
2020
  return !0;
2020
2021
  if (f.fieldType === 4)
2021
- throw new S(
2022
+ throw new E(
2022
2023
  "Tuples should not be passed into validateFieldAgainstCriteria"
2023
2024
  );
2024
2025
  const d = f.fieldType;
2025
2026
  switch (f.filterType) {
2026
2027
  case 0:
2027
- return t0(d).with(
2028
+ return n0(d).with(
2028
2029
  1,
2029
- () => T(f.filterData, e)
2030
+ () => v(f.filterData, e)
2030
2031
  ).with(
2031
2032
  0,
2032
2033
  () => BigInt(e) === BigInt(f.filterData)
2033
2034
  ).with(
2034
2035
  3,
2035
- () => e === R(f.filterData, "string")
2036
+ () => e === L(f.filterData, "string")
2036
2037
  ).otherwise(() => e === f.filterData);
2037
2038
  case 1:
2038
- return t0(d).with(
2039
+ return n0(d).with(
2039
2040
  1,
2040
- () => !T(f.filterData, e)
2041
+ () => !v(f.filterData, e)
2041
2042
  ).with(
2042
2043
  0,
2043
2044
  () => BigInt(e) !== BigInt(f.filterData)
@@ -2046,7 +2047,7 @@ const H = class H extends h0 {
2046
2047
  () => BigInt(e) !== BigInt(f.filterData)
2047
2048
  ).with(
2048
2049
  3,
2049
- () => e !== R(f.filterData, "string")
2050
+ () => e !== L(f.filterData, "string")
2050
2051
  ).otherwise(() => e !== f.filterData);
2051
2052
  case 2:
2052
2053
  if (d === 0 || d === 5)
@@ -2083,26 +2084,26 @@ const H = class H extends h0 {
2083
2084
  case 4:
2084
2085
  if (d === 2 || d === 3) {
2085
2086
  let i;
2086
- return d === 3 ? i = R(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
2087
+ return d === 3 ? i = L(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
2087
2088
  }
2088
- throw new f0({
2089
+ throw new e0({
2089
2090
  ...n,
2090
2091
  criteria: f,
2091
2092
  fieldValue: e
2092
2093
  });
2093
2094
  case 5:
2094
2095
  if (typeof e != "string")
2095
- throw new f0({
2096
+ throw new e0({
2096
2097
  ...n,
2097
2098
  criteria: f,
2098
2099
  fieldValue: e
2099
2100
  });
2100
2101
  if (d === 3) {
2101
- const i = R(f.filterData, "string");
2102
+ const i = L(f.filterData, "string");
2102
2103
  return new RegExp(i).test(e);
2103
2104
  }
2104
2105
  default:
2105
- throw new m0({
2106
+ throw new w0({
2106
2107
  ...n,
2107
2108
  criteria: f,
2108
2109
  fieldValue: e
@@ -2123,12 +2124,12 @@ const H = class H extends h0 {
2123
2124
  e
2124
2125
  );
2125
2126
  let i;
2126
- if (_0(n)) {
2127
+ if (P0(n)) {
2127
2128
  let r = n.actionSteps.filter((s) => !!s);
2128
2129
  if (r.length === 0)
2129
- throw new w0();
2130
- if (r.length > 4)
2131
2130
  throw new A0();
2131
+ if (r.length > 4)
2132
+ throw new T0();
2132
2133
  let a = Array.from({ length: 4 }, (s, c) => r.at(c) || r.at(-1));
2133
2134
  i = {
2134
2135
  actionClaimant: n.actionClaimant,
@@ -2140,9 +2141,9 @@ const H = class H extends h0 {
2140
2141
  } else
2141
2142
  i = n;
2142
2143
  return {
2143
- abi: K,
2144
- bytecode: T0,
2145
- args: [F0(i)],
2144
+ abi: z,
2145
+ bytecode: E0,
2146
+ args: [O0(i)],
2146
2147
  ...this.optionallyAttachAccount(d.account)
2147
2148
  };
2148
2149
  }
@@ -2198,7 +2199,7 @@ const H = class H extends h0 {
2198
2199
  e.logs,
2199
2200
  d
2200
2201
  );
2201
- const i = await O(this._config, {
2202
+ const i = await V(this._config, {
2202
2203
  ...e,
2203
2204
  chainId: f.chainid
2204
2205
  });
@@ -2228,7 +2229,7 @@ const H = class H extends h0 {
2228
2229
  const d = f.actionParameter, i = [];
2229
2230
  if (!e.length) return i;
2230
2231
  for (let r of e)
2231
- if (T(r.address, f.targetContract))
2232
+ if (v(r.address, f.targetContract))
2232
2233
  try {
2233
2234
  if (!Array.isArray(r.args))
2234
2235
  continue;
@@ -2244,40 +2245,40 @@ const H = class H extends h0 {
2244
2245
  return i;
2245
2246
  }
2246
2247
  };
2247
- H.bases = {
2248
- 31337: void 0,
2249
- ...g0
2250
- }, H.registryType = v0.ACTION;
2251
- let n0 = H;
2252
- function P0(t) {
2248
+ $.bases = {
2249
+ ...H != null && H.VITE_EVENT_ACTION_BASE ? { 31337: void 0 } : {},
2250
+ ...h0
2251
+ }, $.registryType = v0.ACTION;
2252
+ let d0 = $;
2253
+ function D0(t) {
2253
2254
  return t.type === "tuple" || t.type.startsWith("tuple[");
2254
2255
  }
2255
- function i0(t, f, e) {
2256
+ function a0(t, f, e) {
2256
2257
  if (!f.length)
2257
- throw new S(
2258
+ throw new E(
2258
2259
  "No indexes found; cannot parse TUPLE field"
2259
2260
  );
2260
2261
  const n = f[0] ?? e.length + 1;
2261
2262
  if (n >= e.length)
2262
- throw new S(void 0, n);
2263
+ throw new E(void 0, n);
2263
2264
  const d = e[n], i = t[n];
2264
- if (!P0(d)) {
2265
- const s = a0(d.type);
2265
+ if (!D0(d)) {
2266
+ const s = r0(d.type);
2266
2267
  return { value: i, type: s };
2267
2268
  }
2268
2269
  if (!Array.isArray(i))
2269
- throw new S(
2270
+ throw new E(
2270
2271
  "rawValue is not an array, but param.type is tuple"
2271
2272
  );
2272
2273
  const r = f.slice(1);
2273
2274
  if (!r.length)
2274
- throw new S(void 0, -1);
2275
+ throw new E(void 0, -1);
2275
2276
  const a = r[0] ?? d.components.length + 1;
2276
2277
  if (a >= d.components.length)
2277
- throw new S(void 0, a);
2278
- return i0(i, r, d.components);
2278
+ throw new E(void 0, a);
2279
+ return a0(i, r, d.components);
2279
2280
  }
2280
- function a0(t) {
2281
+ function r0(t) {
2281
2282
  const f = t.toLowerCase();
2282
2283
  if (f.startsWith("uint"))
2283
2284
  return 0;
@@ -2291,7 +2292,7 @@ function a0(t) {
2291
2292
  return 3;
2292
2293
  throw new A(`Unrecognized ABI type: ${t}`);
2293
2294
  }
2294
- function D0(t) {
2295
+ function W0(t) {
2295
2296
  const f = [], e = {};
2296
2297
  for (let n of t) {
2297
2298
  const d = JSON.stringify(n);
@@ -2299,13 +2300,13 @@ function D0(t) {
2299
2300
  }
2300
2301
  return f;
2301
2302
  }
2302
- function r0(t) {
2303
+ function s0(t) {
2303
2304
  return {
2304
2305
  ...t,
2305
2306
  chainid: BigInt(t.chainid)
2306
2307
  };
2307
2308
  }
2308
- function d0(t) {
2309
+ function i0(t) {
2309
2310
  if (t.chainid > BigInt(Number.MAX_SAFE_INTEGER))
2310
2311
  throw new Error("Chain ID exceeds max safe integer");
2311
2312
  return {
@@ -2313,7 +2314,7 @@ function d0(t) {
2313
2314
  chainid: Number(t.chainid)
2314
2315
  };
2315
2316
  }
2316
- function s0(t) {
2317
+ function u0(t) {
2317
2318
  const f = t.slice(2);
2318
2319
  if (f.length === 8)
2319
2320
  return 1;
@@ -2321,29 +2322,29 @@ function s0(t) {
2321
2322
  return f.slice(0, 56) === "0".repeat(56) ? 1 : 0;
2322
2323
  throw new Error("Invalid signature format");
2323
2324
  }
2324
- function W0(t) {
2325
- return l0(z(t));
2325
+ function F0(t) {
2326
+ return g0(X(t));
2326
2327
  }
2327
2328
  function D(t) {
2328
2329
  return {
2329
- ...r0(t),
2330
- signatureType: t.signatureType ?? s0(t.signature),
2331
- signature: z(t.signature),
2330
+ ...s0(t),
2331
+ signatureType: t.signatureType ?? u0(t.signature),
2332
+ signature: X(t.signature),
2332
2333
  actionType: t.actionType || 0,
2333
2334
  actionParameter: t.actionParameter.fieldType === 0 ? {
2334
2335
  ...t.actionParameter,
2335
- filterData: W0(t.actionParameter.filterData)
2336
+ filterData: F0(t.actionParameter.filterData)
2336
2337
  } : t.actionParameter
2337
2338
  };
2338
2339
  }
2339
- function F0({
2340
+ function O0({
2340
2341
  actionClaimant: t,
2341
2342
  actionStepOne: f,
2342
2343
  actionStepTwo: e,
2343
2344
  actionStepThree: n,
2344
2345
  actionStepFour: d
2345
2346
  }) {
2346
- return y0(
2347
+ return b0(
2347
2348
  [
2348
2349
  {
2349
2350
  type: "tuple",
@@ -2450,9 +2451,9 @@ function F0({
2450
2451
  [
2451
2452
  {
2452
2453
  actionClaimant: {
2453
- ...r0(t),
2454
- signatureType: t.signatureType ?? s0(t.signature),
2455
- signature: z(t.signature)
2454
+ ...s0(t),
2455
+ signatureType: t.signatureType ?? u0(t.signature),
2456
+ signature: X(t.signature)
2456
2457
  },
2457
2458
  actionStepOne: D(f),
2458
2459
  actionStepTwo: D(e),
@@ -2462,47 +2463,47 @@ function F0({
2462
2463
  ]
2463
2464
  );
2464
2465
  }
2465
- function K0() {
2466
+ function z0() {
2466
2467
  return {
2467
2468
  filterType: 0,
2468
2469
  fieldType: 2,
2469
- fieldIndex: B.ANY_ACTION_PARAM,
2470
- filterData: C
2470
+ fieldIndex: C.ANY_ACTION_PARAM,
2471
+ filterData: B
2471
2472
  };
2472
2473
  }
2473
- function X0(t) {
2474
+ function Y0(t) {
2474
2475
  return {
2475
2476
  signatureType: 0,
2476
- signature: C,
2477
- fieldIndex: B.TX_SENDER_CLAIMANT,
2478
- targetContract: b0,
2477
+ signature: B,
2478
+ fieldIndex: C.TX_SENDER_CLAIMANT,
2479
+ targetContract: l0,
2479
2480
  chainid: t
2480
2481
  };
2481
2482
  }
2482
- const E = 63;
2483
- function Y0(t) {
2483
+ const S = 63;
2484
+ function J0(t) {
2484
2485
  if (t.length > 5)
2485
- throw new U("Can only pack up to 5 indexes.");
2486
+ throw new O("Can only pack up to 5 indexes.");
2486
2487
  let f = 0;
2487
2488
  return t.forEach((e, n) => {
2488
- if (e > E)
2489
- throw new U(
2490
- `Index ${e} exceeds the maximum allowed value (${E}).`
2489
+ if (e > S)
2490
+ throw new O(
2491
+ `Index ${e} exceeds the maximum allowed value (${S}).`
2491
2492
  );
2492
- f |= (e & E) << n * 6;
2493
- }), t.length < 5 && (f |= E << t.length * 6), f;
2493
+ f |= (e & S) << n * 6;
2494
+ }), t.length < 5 && (f |= S << t.length * 6), f;
2494
2495
  }
2495
2496
  function U0(t) {
2496
2497
  const f = [];
2497
2498
  for (let e = 0; e < 5; e++) {
2498
- const n = t >> e * 6 & E;
2499
- if (n === E) break;
2499
+ const n = t >> e * 6 & S;
2500
+ if (n === S) break;
2500
2501
  f.push(n);
2501
2502
  }
2502
2503
  return f;
2503
2504
  }
2504
2505
  function W(t, f) {
2505
- const e = V({
2506
+ const e = j({
2506
2507
  abi: [t],
2507
2508
  data: f.data,
2508
2509
  topics: f.topics
@@ -2527,30 +2528,30 @@ function W(t, f) {
2527
2528
  args: r
2528
2529
  };
2529
2530
  }
2530
- function q0([t, f]) {
2531
+ function Z0([t, f]) {
2531
2532
  if (t < 0 || t > 13 || f < 0 || f > 13)
2532
- throw new U(
2533
+ throw new O(
2533
2534
  `Tuple indices must be between 0-13, got: [${t}, ${f}]`
2534
2535
  );
2535
2536
  return 32 + (t << 4) + f;
2536
2537
  }
2537
- function $0(t) {
2538
+ function M0(t) {
2538
2539
  if (t < 32 || t > 253)
2539
- throw new U(
2540
+ throw new O(
2540
2541
  `Field index must be between 32-253, got: ${t}`
2541
2542
  );
2542
2543
  const f = t - 32, e = f >> 4 & 15, n = f & 15;
2543
2544
  return [e, n];
2544
2545
  }
2545
- function M0(t) {
2546
+ function $0(t) {
2546
2547
  return t >= 32;
2547
2548
  }
2548
- function Z0(t, f) {
2549
- if (!M0(f))
2549
+ function q0(t, f) {
2550
+ if (!$0(f))
2550
2551
  throw new A(
2551
2552
  `Field index ${f} is invalid. Expected index >= 32`
2552
2553
  );
2553
- const [e, n] = $0(f);
2554
+ const [e, n] = M0(f);
2554
2555
  if (e === void 0 || n === void 0)
2555
2556
  throw new A(
2556
2557
  `Failed to unpack field indexes from ${f}`
@@ -2574,22 +2575,22 @@ function Z0(t, f) {
2574
2575
  return i;
2575
2576
  }
2576
2577
  export {
2577
- n0 as EventAction,
2578
- B0 as FilterType,
2579
- k0 as PrimitiveType,
2578
+ d0 as EventAction,
2579
+ k0 as FilterType,
2580
+ R0 as PrimitiveType,
2580
2581
  L0 as SignatureType,
2581
- R0 as ValueType,
2582
- K0 as anyActionParameter,
2582
+ _0 as ValueType,
2583
+ z0 as anyActionParameter,
2583
2584
  W as decodeAndReorderLogArgs,
2584
- s0 as detectSignatureType,
2585
- Z0 as getScalarValueFromTuple,
2586
- M0 as isCriteriaFieldIndexTuple,
2587
- _0 as isEventActionPayloadSimple,
2588
- q0 as packCriteriaFieldIndexes,
2589
- Y0 as packFieldIndexes,
2590
- F0 as prepareEventActionPayload,
2591
- X0 as transactionSenderClaimant,
2592
- $0 as unpackCriteriaFieldIndexes,
2585
+ u0 as detectSignatureType,
2586
+ q0 as getScalarValueFromTuple,
2587
+ $0 as isCriteriaFieldIndexTuple,
2588
+ P0 as isEventActionPayloadSimple,
2589
+ Z0 as packCriteriaFieldIndexes,
2590
+ J0 as packFieldIndexes,
2591
+ O0 as prepareEventActionPayload,
2592
+ Y0 as transactionSenderClaimant,
2593
+ M0 as unpackCriteriaFieldIndexes,
2593
2594
  U0 as unpackFieldIndexes
2594
2595
  };
2595
2596
  //# sourceMappingURL=EventAction.js.map