@boostxyz/sdk 8.0.0 → 8.0.2

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 (95) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +1 -1
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.d.ts +1 -2
  6. package/dist/Actions/EventAction.d.ts.map +1 -1
  7. package/dist/Actions/EventAction.js +233 -232
  8. package/dist/Actions/EventAction.js.map +1 -1
  9. package/dist/{AllowList-CEZesjn_.js → AllowList-DUj0hGiq.js} +30 -30
  10. package/dist/{AllowList-CEZesjn_.js.map → AllowList-DUj0hGiq.js.map} +1 -1
  11. package/dist/{AllowList-5E4YwWg0.cjs → AllowList-DZ3X-4qV.cjs} +2 -2
  12. package/dist/{AllowList-5E4YwWg0.cjs.map → AllowList-DZ3X-4qV.cjs.map} +1 -1
  13. package/dist/AllowLists/AllowList.cjs +1 -1
  14. package/dist/AllowLists/AllowList.js +3 -3
  15. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  16. package/dist/AllowLists/SimpleAllowList.js +2 -2
  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.js +1 -1
  21. package/dist/BoostCore.cjs +2 -2
  22. package/dist/BoostCore.cjs.map +1 -1
  23. package/dist/BoostCore.js +89 -89
  24. package/dist/BoostCore.js.map +1 -1
  25. package/dist/BoostRegistry.cjs +1 -1
  26. package/dist/BoostRegistry.js +5 -5
  27. package/dist/{Budget-CsOc5UQe.cjs → Budget-DKvOVE2j.cjs} +2 -2
  28. package/dist/{Budget-CsOc5UQe.cjs.map → Budget-DKvOVE2j.cjs.map} +1 -1
  29. package/dist/{Budget-BJ2IQkPq.js → Budget-_gnLxiVE.js} +28 -28
  30. package/dist/{Budget-BJ2IQkPq.js.map → Budget-_gnLxiVE.js.map} +1 -1
  31. package/dist/Budgets/Budget.cjs +1 -1
  32. package/dist/Budgets/Budget.js +2 -2
  33. package/dist/Budgets/ManagedBudget.cjs +1 -1
  34. package/dist/Budgets/ManagedBudget.js +18 -18
  35. package/dist/Deployable/DeployableTarget.cjs +1 -1
  36. package/dist/Deployable/DeployableTarget.js +6 -6
  37. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  38. package/dist/Deployable/DeployableTargetWithRBAC.js +6 -6
  39. package/dist/{Incentive-DRQttkJy.js → Incentive-CFBxsPr1.js} +31 -31
  40. package/dist/{Incentive-DRQttkJy.js.map → Incentive-CFBxsPr1.js.map} +1 -1
  41. package/dist/{Incentive-CcgYNFRy.cjs → Incentive-_0zak2Ja.cjs} +2 -2
  42. package/dist/{Incentive-CcgYNFRy.cjs.map → Incentive-_0zak2Ja.cjs.map} +1 -1
  43. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  44. package/dist/Incentives/AllowListIncentive.js +3 -3
  45. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  46. package/dist/Incentives/CGDAIncentive.js +2 -2
  47. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  48. package/dist/Incentives/ERC20Incentive.js +2 -2
  49. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs +1 -1
  50. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js +30 -30
  51. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +1 -1
  52. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +27 -27
  53. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  54. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +11 -11
  55. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +1 -1
  56. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +2 -2
  57. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  58. package/dist/Incentives/ERC20VariableIncentive.js +4 -4
  59. package/dist/Incentives/Incentive.cjs +1 -1
  60. package/dist/Incentives/Incentive.js +2 -2
  61. package/dist/Incentives/PointsIncentive.cjs +1 -1
  62. package/dist/Incentives/PointsIncentive.js +7 -7
  63. package/dist/{SimpleDenyList-3RWW58zH.cjs → SimpleDenyList-CzmLwpsK.cjs} +2 -2
  64. package/dist/{SimpleDenyList-3RWW58zH.cjs.map → SimpleDenyList-CzmLwpsK.cjs.map} +1 -1
  65. package/dist/{SimpleDenyList-OdQKzde5.js → SimpleDenyList-rcNrFez9.js} +9 -9
  66. package/dist/{SimpleDenyList-OdQKzde5.js.map → SimpleDenyList-rcNrFez9.js.map} +1 -1
  67. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  68. package/dist/Validators/LimitedSignerValidator.js +17 -17
  69. package/dist/Validators/LimitedSignerValidatorV2.cjs +1 -1
  70. package/dist/Validators/LimitedSignerValidatorV2.js +6 -6
  71. package/dist/Validators/PayableLimitedSignerValidator.cjs +1 -1
  72. package/dist/Validators/PayableLimitedSignerValidator.js +9 -9
  73. package/dist/Validators/PayableLimitedSignerValidatorV2.cjs +1 -1
  74. package/dist/Validators/PayableLimitedSignerValidatorV2.js +8 -8
  75. package/dist/Validators/SignerValidator.cjs +1 -1
  76. package/dist/Validators/SignerValidator.js +8 -8
  77. package/dist/Validators/SignerValidatorV2.cjs +1 -1
  78. package/dist/Validators/SignerValidatorV2.js +12 -12
  79. package/dist/Validators/Validator.cjs +1 -1
  80. package/dist/Validators/Validator.js +1 -1
  81. package/dist/{deployments-CQ0jtRxR.js → deployments-BU9mZtfo.js} +11 -11
  82. package/dist/{deployments-CQ0jtRxR.js.map → deployments-BU9mZtfo.js.map} +1 -1
  83. package/dist/{deployments-DlN-f7oW.cjs → deployments-B_RFh6ly.cjs} +2 -2
  84. package/dist/deployments-B_RFh6ly.cjs.map +1 -0
  85. package/dist/deployments.json +10 -2
  86. package/dist/{generated-DRbljODL.js → generated-BHVNIVNJ.js} +184 -184
  87. package/dist/{generated-DRbljODL.js.map → generated-BHVNIVNJ.js.map} +1 -1
  88. package/dist/{generated-CkZm1EVH.cjs → generated-CL9QQpF0.cjs} +3 -3
  89. package/dist/{generated-CkZm1EVH.cjs.map → generated-CL9QQpF0.cjs.map} +1 -1
  90. package/dist/index.cjs +1 -1
  91. package/dist/index.js +5 -5
  92. package/package.json +1 -1
  93. package/src/Actions/EventAction.test.ts +42 -0
  94. package/src/Actions/EventAction.ts +45 -33
  95. package/dist/deployments-DlN-f7oW.cjs.map +0 -1
@@ -1,11 +1,11 @@
1
- import { du as Y, dv as c0, dw as p0, dx as y0, dy as b0 } from "../generated-DRbljODL.js";
2
- import { getTransaction as L, getTransactionReceipt as G } from "@wagmi/core";
3
- import { isAddressEqual as h, zeroAddress as S, decodeFunctionData as Z, isAddress as H, decodeEventLog as j, zeroHash as B, fromHex as _, encodeAbiParameters as l0, pad as K, trim as g0 } from "viem";
4
- import { m as h0 } from "../deployments-CQ0jtRxR.js";
5
- import { DeployableTarget as x0 } from "../Deployable/DeployableTarget.js";
6
- import { ValidationAbiMissingError as N, FunctionDataDecodeError as q, UnparseableAbiParamError as J, DecodedArgsMalformedError as m0, DecodedArgsError as I, FieldValueUndefinedError as f0, InvalidTupleDecodingError as E, UnrecognizedFilterTypeError as w0, FieldValueNotComparableError as e0, InvalidNumericalCriteriaError as P, NoEventActionStepsProvidedError as A0, TooManyEventActionStepsProvidedError as T0, InvalidTupleEncodingError as U } from "../errors.js";
7
- import { RegistryType as v0, CheatCodes as k, TRANSFER_SIGNATURE as D } from "../utils.js";
8
- const I0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c666100945f395f6101510152611c665ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb36600461128c565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112d2565b6102cb565b6040516100dc92919061138c565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112d2565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc91906114a6565b3480156101e5575f80fd5b506101f96101f4366004611527565b61059f565b6040516100dc919061153e565b348015610211575f80fd5b506102256102203660046112d2565b61077a565b6040516100dc9190611550565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115b5565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c58261085e565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118e7565b6108b3565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113ae565b6001811115610421576104216113ae565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113ae565b60078111156104a5576104a56113ae565b81528154602090910190610100900460ff1660058111156104c8576104c86113ae565b60058111156104d9576104d96113ae565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119e8565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119e8565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611231565b600482815481106105ba576105ba611a39565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113ae565b600181111561060e5761060e6113ae565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113ae565b6007811115610692576106926113ae565b81528154602090910190610100900460ff1660058111156106b5576106b56113ae565b60058111156106c6576106c66113ae565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119e8565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119e8565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113ae565b600181111561080d5761080d6113ae565b815260018201546020820152600282015463ffffffff81166040830152640100000000900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611161565b6108bb6111f7565b805180515f8054909190829060ff1916600183818111156108de576108de6113ae565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16640100000000027fffffffffffffffff00000000000000000000000000000000000000000000000090911663ffffffff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff199091169083818111156109ec576109ec6113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aad57610aad6113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610af257610af26113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b469082611ab1565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bd757610bd76113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c9857610c986113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cdd57610cdd6113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d319082611ab1565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610dc257610dc26113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e8357610e836113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ec857610ec86113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f1c9082611ab1565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fad57610fad6113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff199091169083600781111561106e5761106e6113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110b3576110b36113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906111079082611ab1565b50505050507f7c54f3f7ef1d1e3acbe06bce75dbb6f17c64cb446c13bf354da8d7735b99f2a6815f01518260200151836040015184606001518560800151604051611156959493929190611bc8565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf601132805460011661122e5763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f602082018190526040820181905260608201526080016112876040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f6020828403121561129c575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112cb575f80fd5b9392505050565b5f80602083850312156112e3575f80fd5b823567ffffffffffffffff8111156112f9575f80fd5b8301601f81018513611309575f80fd5b803567ffffffffffffffff81111561131f575f80fd5b856020828401011115611330575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f6113a66040830184611340565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113eb576113eb6113ae565b9052565b805182525f602082015161140660208501826113db565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a085015280516008811061145c5761145c6113ae565b60c0850152602081015160068110611476576114766113ae565b60e0850152604081015163ffffffff166101008501526060015160806101208501526113a6610140850182611340565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561151b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526115068583516113ef565b945060209384019391909101906001016114cc565b50929695505050505050565b5f60208284031215611537575f80fd5b5035919050565b602081525f6112cb60208301846113ef565b602081525f6112cb6020830184611340565b61156d8282516113db565b6020810151602083015263ffffffff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611562565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611613576116136115c3565b60405290565b6040516080810167ffffffffffffffff81118282101715611613576116136115c3565b60405160c0810167ffffffffffffffff81118282101715611613576116136115c3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156116a6576116a66115c3565b604052919050565b8035600281106116bc575f80fd5b919050565b803563ffffffff811681146116bc575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff811681146116bc575f80fd5b5f60a08284031215611707575f80fd5b61170f6115f0565b905061171a826116ae565b815260208281013590820152611732604083016116c1565b6040820152611743606083016116d4565b606082015260809182013591810191909152919050565b5f6080828403121561176a575f80fd5b611772611619565b9050813560088110611782575f80fd5b8152602082013560068110611795575f80fd5b60208201526117a6604083016116c1565b6040820152606082013567ffffffffffffffff8111156117c4575f80fd5b8201601f810184136117d4575f80fd5b803567ffffffffffffffff8111156117ee576117ee6115c3565b61181f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161165f565b818152856020838501011115611833575f80fd5b816020840160208301375f6020838301015280606085015250505092915050565b5f60c08284031215611864575f80fd5b61186c61163c565b82358152905061187e602083016116ae565b6020820152604082013560ff81168114611896575f80fd5b60408201526118a7606083016116d4565b60608201526080828101359082015260a082013567ffffffffffffffff8111156118cf575f80fd5b6118db8482850161175a565b60a08301525092915050565b5f602082840312156118f7575f80fd5b813567ffffffffffffffff81111561190d575f80fd5b8201610120818503121561191f575f80fd5b6119276115f0565b61193185836116f7565b815260a082013567ffffffffffffffff81111561194c575f80fd5b61195886828501611854565b60208301525060c082013567ffffffffffffffff811115611977575f80fd5b61198386828501611854565b60408301525060e082013567ffffffffffffffff8111156119a2575f80fd5b6119ae86828501611854565b60608301525061010082013567ffffffffffffffff8111156119ce575f80fd5b6119da86828501611854565b608083015250949350505050565b600181811c908216806119fc57607f821691505b602082108103611a33577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a8b5750805b601f840160051c820191505b81811015611aaa575f8155600101611a97565b5050505050565b815167ffffffffffffffff811115611acb57611acb6115c3565b611adf81611ad984546119e8565b84611a66565b6020601f821160018114611b30575f8315611afa5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611aaa565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b7d5787850151825560209485019460019092019101611b5d565b5084821015611bb957868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611bd28187611562565b61012060a08201525f611be96101208301876113ef565b82810360c0840152611bfb81876113ef565b905082810360e0840152611c0f81866113ef565b9050828103610100840152611c2481856113ef565b9897505050505050505056fea2646970667358221220ec29c85e9420d542351535cfbb2c79285bfb5d86014ee966669d793fa2a4481264736f6c634300081a0033", E0 = {
1
+ import { du as K, dv as y0, dw as b0, dx as l0, dy as g0 } from "../generated-BHVNIVNJ.js";
2
+ import { getTransaction as P, getTransactionReceipt as G } from "@wagmi/core";
3
+ import { isAddressEqual as h, zeroAddress as S, decodeFunctionData as Y, isAddress as H, decodeEventLog as Z, zeroHash as k, fromHex as _, encodeAbiParameters as h0, pad as j, decodeAbiParameters as q, trim as x0 } from "viem";
4
+ import { m as m0 } from "../deployments-BU9mZtfo.js";
5
+ import { DeployableTarget as w0 } from "../Deployable/DeployableTarget.js";
6
+ import { ValidationAbiMissingError as N, FunctionDataDecodeError as J, UnparseableAbiParamError as f0, DecodedArgsMalformedError as A0, DecodedArgsError as v, FieldValueUndefinedError as e0, InvalidTupleDecodingError as E, UnrecognizedFilterTypeError as T0, FieldValueNotComparableError as t0, InvalidNumericalCriteriaError as D, NoEventActionStepsProvidedError as v0, TooManyEventActionStepsProvidedError as I0, InvalidTupleEncodingError as U } from "../errors.js";
7
+ import { RegistryType as E0, CheatCodes as R, TRANSFER_SIGNATURE as B } from "../utils.js";
8
+ const C0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c666100945f395f6101510152611c665ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb36600461128c565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112d2565b6102cb565b6040516100dc92919061138c565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112d2565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc91906114a6565b3480156101e5575f80fd5b506101f96101f4366004611527565b61059f565b6040516100dc919061153e565b348015610211575f80fd5b506102256102203660046112d2565b61077a565b6040516100dc9190611550565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115b5565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c58261085e565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118e7565b6108b3565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113ae565b6001811115610421576104216113ae565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113ae565b60078111156104a5576104a56113ae565b81528154602090910190610100900460ff1660058111156104c8576104c86113ae565b60058111156104d9576104d96113ae565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119e8565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119e8565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611231565b600482815481106105ba576105ba611a39565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113ae565b600181111561060e5761060e6113ae565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113ae565b6007811115610692576106926113ae565b81528154602090910190610100900460ff1660058111156106b5576106b56113ae565b60058111156106c6576106c66113ae565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119e8565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119e8565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113ae565b600181111561080d5761080d6113ae565b815260018201546020820152600282015463ffffffff81166040830152640100000000900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611161565b6108bb6111f7565b805180515f8054909190829060ff1916600183818111156108de576108de6113ae565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16640100000000027fffffffffffffffff00000000000000000000000000000000000000000000000090911663ffffffff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff199091169083818111156109ec576109ec6113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aad57610aad6113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610af257610af26113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b469082611ab1565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bd757610bd76113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c9857610c986113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cdd57610cdd6113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d319082611ab1565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610dc257610dc26113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e8357610e836113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ec857610ec86113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f1c9082611ab1565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fad57610fad6113ae565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff199091169083600781111561106e5761106e6113ae565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110b3576110b36113ae565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906111079082611ab1565b50505050507f7c54f3f7ef1d1e3acbe06bce75dbb6f17c64cb446c13bf354da8d7735b99f2a6815f01518260200151836040015184606001518560800151604051611156959493929190611bc8565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf601132805460011661122e5763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f602082018190526040820181905260608201526080016112876040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f6020828403121561129c575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112cb575f80fd5b9392505050565b5f80602083850312156112e3575f80fd5b823567ffffffffffffffff8111156112f9575f80fd5b8301601f81018513611309575f80fd5b803567ffffffffffffffff81111561131f575f80fd5b856020828401011115611330575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f6113a66040830184611340565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113eb576113eb6113ae565b9052565b805182525f602082015161140660208501826113db565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a085015280516008811061145c5761145c6113ae565b60c0850152602081015160068110611476576114766113ae565b60e0850152604081015163ffffffff166101008501526060015160806101208501526113a6610140850182611340565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561151b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526115068583516113ef565b945060209384019391909101906001016114cc565b50929695505050505050565b5f60208284031215611537575f80fd5b5035919050565b602081525f6112cb60208301846113ef565b602081525f6112cb6020830184611340565b61156d8282516113db565b6020810151602083015263ffffffff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611562565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611613576116136115c3565b60405290565b6040516080810167ffffffffffffffff81118282101715611613576116136115c3565b60405160c0810167ffffffffffffffff81118282101715611613576116136115c3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156116a6576116a66115c3565b604052919050565b8035600281106116bc575f80fd5b919050565b803563ffffffff811681146116bc575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff811681146116bc575f80fd5b5f60a08284031215611707575f80fd5b61170f6115f0565b905061171a826116ae565b815260208281013590820152611732604083016116c1565b6040820152611743606083016116d4565b606082015260809182013591810191909152919050565b5f6080828403121561176a575f80fd5b611772611619565b9050813560088110611782575f80fd5b8152602082013560068110611795575f80fd5b60208201526117a6604083016116c1565b6040820152606082013567ffffffffffffffff8111156117c4575f80fd5b8201601f810184136117d4575f80fd5b803567ffffffffffffffff8111156117ee576117ee6115c3565b61181f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161165f565b818152856020838501011115611833575f80fd5b816020840160208301375f6020838301015280606085015250505092915050565b5f60c08284031215611864575f80fd5b61186c61163c565b82358152905061187e602083016116ae565b6020820152604082013560ff81168114611896575f80fd5b60408201526118a7606083016116d4565b60608201526080828101359082015260a082013567ffffffffffffffff8111156118cf575f80fd5b6118db8482850161175a565b60a08301525092915050565b5f602082840312156118f7575f80fd5b813567ffffffffffffffff81111561190d575f80fd5b8201610120818503121561191f575f80fd5b6119276115f0565b61193185836116f7565b815260a082013567ffffffffffffffff81111561194c575f80fd5b61195886828501611854565b60208301525060c082013567ffffffffffffffff811115611977575f80fd5b61198386828501611854565b60408301525060e082013567ffffffffffffffff8111156119a2575f80fd5b6119ae86828501611854565b60608301525061010082013567ffffffffffffffff8111156119ce575f80fd5b6119da86828501611854565b608083015250949350505050565b600181811c908216806119fc57607f821691505b602082108103611a33577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a8b5750805b601f840160051c820191505b81811015611aaa575f8155600101611a97565b5050505050565b815167ffffffffffffffff811115611acb57611acb6115c3565b611adf81611ad984546119e8565b84611a66565b6020601f821160018114611b30575f8315611afa5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611aaa565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b7d5787850151825560209485019460019092019101611b5d565b5084821015611bb957868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611bd28187611562565b61012060a08201525f611be96101208301876113ef565b82810360c0840152611bfb81876113ef565b905082810360e0840152611c0f81866113ef565b9050828103610100840152611c2481856113ef565b9897505050505050505056fea2646970667358221220ec29c85e9420d542351535cfbb2c79285bfb5d86014ee966669d793fa2a4481264736f6c634300081a0033", N0 = {
9
9
  "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
10
10
  name: "Transfer",
11
11
  type: "event",
@@ -1380,7 +1380,7 @@ const I0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1380
1380
  }
1381
1381
  ]
1382
1382
  }
1383
- }, x = Symbol.for("@ts-pattern/matcher"), C0 = Symbol.for("@ts-pattern/isVariadic"), M = "@ts-pattern/anonymous-select-key", z = (t) => !!(t && typeof t == "object"), O = (t) => t && !!t[x], g = (t, f, e) => {
1383
+ }, x = Symbol.for("@ts-pattern/matcher"), S0 = Symbol.for("@ts-pattern/isVariadic"), M = "@ts-pattern/anonymous-select-key", z = (t) => !!(t && typeof t == "object"), O = (t) => t && !!t[x], g = (t, f, e) => {
1384
1384
  if (O(t)) {
1385
1385
  const n = t[x](), { matched: d, selections: i } = n.match(f);
1386
1386
  return d && i && Object.keys(i).forEach((r) => e(r, i[r])), d;
@@ -1392,13 +1392,13 @@ const I0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1392
1392
  let n = [], d = [], i = [];
1393
1393
  for (const r of t.keys()) {
1394
1394
  const a = t[r];
1395
- O(a) && a[C0] ? i.push(a) : i.length ? d.push(a) : n.push(a);
1395
+ O(a) && a[S0] ? 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.");
1399
1399
  if (f.length < n.length + d.length) return !1;
1400
- const r = f.slice(0, n.length), a = d.length === 0 ? [] : f.slice(-d.length), s = f.slice(n.length, d.length === 0 ? 1 / 0 : -d.length);
1401
- return n.every((c, y) => g(c, r[y], e)) && d.every((c, y) => g(c, a[y], e)) && (i.length === 0 || g(i[0], s, e));
1400
+ const r = f.slice(0, n.length), a = d.length === 0 ? [] : f.slice(-d.length), u = f.slice(n.length, d.length === 0 ? 1 / 0 : -d.length);
1401
+ return n.every((s, p) => g(s, r[p], e)) && d.every((s, p) => g(s, a[p], e)) && (i.length === 0 || g(i[0], u, e));
1402
1402
  }
1403
1403
  return t.length === f.length && t.every((r, a) => g(r, f[a], e));
1404
1404
  }
@@ -1409,51 +1409,51 @@ const I0 = "0x60a0604052348015600e575f80fd5b5060156019565b607c565b63409feecd1980
1409
1409
  });
1410
1410
  }
1411
1411
  return Object.is(f, t);
1412
- }, v = (t) => {
1412
+ }, I = (t) => {
1413
1413
  var f, e, n;
1414
- return z(t) ? O(t) ? (f = (e = (n = t[x]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? R(t, v) : R(Object.values(t), v) : [];
1415
- }, R = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
1416
- function p(t) {
1417
- return Object.assign(t, { optional: () => N0(t), and: (f) => o(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? t0(t) : t0(f, t) });
1414
+ return z(t) ? O(t) ? (f = (e = (n = t[x]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? L(t, I) : L(Object.values(t), I) : [];
1415
+ }, L = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
1416
+ function y(t) {
1417
+ return Object.assign(t, { optional: () => B0(t), and: (f) => c(t, f), or: (f) => k0(t, f), select: (f) => f === void 0 ? n0(t) : n0(f, t) });
1418
1418
  }
1419
- function N0(t) {
1420
- return p({ [x]: () => ({ match: (f) => {
1419
+ function B0(t) {
1420
+ return y({ [x]: () => ({ 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: g(t, f, n), selections: e };
1426
- }, getSelectionKeys: () => v(t), matcherType: "optional" }) });
1425
+ return f === void 0 ? (I(t).forEach((d) => n(d, void 0)), { matched: !0, selections: e }) : { matched: g(t, f, n), selections: e };
1426
+ }, getSelectionKeys: () => I(t), matcherType: "optional" }) });
1427
1427
  }
1428
- function o(...t) {
1429
- return p({ [x]: () => ({ match: (f) => {
1428
+ function c(...t) {
1429
+ return y({ [x]: () => ({ match: (f) => {
1430
1430
  let e = {};
1431
1431
  const n = (d, i) => {
1432
1432
  e[d] = i;
1433
1433
  };
1434
1434
  return { matched: t.every((d) => g(d, f, n)), selections: e };
1435
- }, getSelectionKeys: () => R(t, v), matcherType: "and" }) });
1435
+ }, getSelectionKeys: () => L(t, I), matcherType: "and" }) });
1436
1436
  }
1437
- function S0(...t) {
1438
- return p({ [x]: () => ({ match: (f) => {
1437
+ function k0(...t) {
1438
+ return y({ [x]: () => ({ match: (f) => {
1439
1439
  let e = {};
1440
1440
  const n = (d, i) => {
1441
1441
  e[d] = i;
1442
1442
  };
1443
- return R(t, v).forEach((d) => n(d, void 0)), { matched: t.some((d) => g(d, f, n)), selections: e };
1444
- }, getSelectionKeys: () => R(t, v), matcherType: "or" }) });
1443
+ return L(t, I).forEach((d) => n(d, void 0)), { matched: t.some((d) => g(d, f, n)), selections: e };
1444
+ }, getSelectionKeys: () => L(t, I), matcherType: "or" }) });
1445
1445
  }
1446
- function u(t) {
1446
+ function o(t) {
1447
1447
  return { [x]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
1448
1448
  }
1449
- function t0(...t) {
1449
+ function n0(...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
- return p({ [x]: () => ({ match: (n) => {
1451
+ return y({ [x]: () => ({ match: (n) => {
1452
1452
  let d = { [f ?? M]: n };
1453
1453
  return { matched: e === void 0 || g(e, n, (i, r) => {
1454
1454
  d[i] = r;
1455
1455
  }), selections: d };
1456
- }, getSelectionKeys: () => [f ?? M].concat(e === void 0 ? [] : v(e)) }) });
1456
+ }, getSelectionKeys: () => [f ?? M].concat(e === void 0 ? [] : I(e)) }) });
1457
1457
  }
1458
1458
  function b(t) {
1459
1459
  return typeof t == "number";
@@ -1464,40 +1464,40 @@ function m(t) {
1464
1464
  function w(t) {
1465
1465
  return typeof t == "bigint";
1466
1466
  }
1467
- p(u(function(t) {
1467
+ y(o(function(t) {
1468
1468
  return !0;
1469
1469
  }));
1470
- const A = (t) => Object.assign(p(t), { startsWith: (f) => {
1471
- return A(o(t, (e = f, u((n) => m(n) && n.startsWith(e)))));
1470
+ const A = (t) => Object.assign(y(t), { startsWith: (f) => {
1471
+ return A(c(t, (e = f, o((n) => m(n) && n.startsWith(e)))));
1472
1472
  var e;
1473
1473
  }, endsWith: (f) => {
1474
- return A(o(t, (e = f, u((n) => m(n) && n.endsWith(e)))));
1474
+ return A(c(t, (e = f, o((n) => m(n) && n.endsWith(e)))));
1475
1475
  var e;
1476
- }, minLength: (f) => A(o(t, ((e) => u((n) => m(n) && n.length >= e))(f))), length: (f) => A(o(t, ((e) => u((n) => m(n) && n.length === e))(f))), maxLength: (f) => A(o(t, ((e) => u((n) => m(n) && n.length <= e))(f))), includes: (f) => {
1477
- return A(o(t, (e = f, u((n) => m(n) && n.includes(e)))));
1476
+ }, minLength: (f) => A(c(t, ((e) => o((n) => m(n) && n.length >= e))(f))), length: (f) => A(c(t, ((e) => o((n) => m(n) && n.length === e))(f))), maxLength: (f) => A(c(t, ((e) => o((n) => m(n) && n.length <= e))(f))), includes: (f) => {
1477
+ return A(c(t, (e = f, o((n) => m(n) && n.includes(e)))));
1478
1478
  var e;
1479
1479
  }, regex: (f) => {
1480
- return A(o(t, (e = f, u((n) => m(n) && !!n.match(e)))));
1480
+ return A(c(t, (e = f, o((n) => m(n) && !!n.match(e)))));
1481
1481
  var e;
1482
1482
  } });
1483
- A(u(m));
1484
- const l = (t) => Object.assign(p(t), { between: (f, e) => l(o(t, ((n, d) => u((i) => b(i) && n <= i && d >= i))(f, e))), lt: (f) => l(o(t, ((e) => u((n) => b(n) && n < e))(f))), gt: (f) => l(o(t, ((e) => u((n) => b(n) && n > e))(f))), lte: (f) => l(o(t, ((e) => u((n) => b(n) && n <= e))(f))), gte: (f) => l(o(t, ((e) => u((n) => b(n) && n >= e))(f))), int: () => l(o(t, u((f) => b(f) && Number.isInteger(f)))), finite: () => l(o(t, u((f) => b(f) && Number.isFinite(f)))), positive: () => l(o(t, u((f) => b(f) && f > 0))), negative: () => l(o(t, u((f) => b(f) && f < 0))) });
1485
- l(u(b));
1486
- const T = (t) => Object.assign(p(t), { between: (f, e) => T(o(t, ((n, d) => u((i) => w(i) && n <= i && d >= i))(f, e))), lt: (f) => T(o(t, ((e) => u((n) => w(n) && n < e))(f))), gt: (f) => T(o(t, ((e) => u((n) => w(n) && n > e))(f))), lte: (f) => T(o(t, ((e) => u((n) => w(n) && n <= e))(f))), gte: (f) => T(o(t, ((e) => u((n) => w(n) && n >= e))(f))), positive: () => T(o(t, u((f) => w(f) && f > 0))), negative: () => T(o(t, u((f) => w(f) && f < 0))) });
1487
- T(u(w));
1488
- p(u(function(t) {
1483
+ A(o(m));
1484
+ const l = (t) => Object.assign(y(t), { between: (f, e) => l(c(t, ((n, d) => o((i) => b(i) && n <= i && d >= i))(f, e))), lt: (f) => l(c(t, ((e) => o((n) => b(n) && n < e))(f))), gt: (f) => l(c(t, ((e) => o((n) => b(n) && n > e))(f))), lte: (f) => l(c(t, ((e) => o((n) => b(n) && n <= e))(f))), gte: (f) => l(c(t, ((e) => o((n) => b(n) && n >= e))(f))), int: () => l(c(t, o((f) => b(f) && Number.isInteger(f)))), finite: () => l(c(t, o((f) => b(f) && Number.isFinite(f)))), positive: () => l(c(t, o((f) => b(f) && f > 0))), negative: () => l(c(t, o((f) => b(f) && f < 0))) });
1485
+ l(o(b));
1486
+ const T = (t) => Object.assign(y(t), { between: (f, e) => T(c(t, ((n, d) => o((i) => w(i) && n <= i && d >= i))(f, e))), lt: (f) => T(c(t, ((e) => o((n) => w(n) && n < e))(f))), gt: (f) => T(c(t, ((e) => o((n) => w(n) && n > e))(f))), lte: (f) => T(c(t, ((e) => o((n) => w(n) && n <= e))(f))), gte: (f) => T(c(t, ((e) => o((n) => w(n) && n >= e))(f))), positive: () => T(c(t, o((f) => w(f) && f > 0))), negative: () => T(c(t, o((f) => w(f) && f < 0))) });
1487
+ T(o(w));
1488
+ y(o(function(t) {
1489
1489
  return typeof t == "boolean";
1490
1490
  }));
1491
- p(u(function(t) {
1491
+ y(o(function(t) {
1492
1492
  return typeof t == "symbol";
1493
1493
  }));
1494
- p(u(function(t) {
1494
+ y(o(function(t) {
1495
1495
  return t == null;
1496
1496
  }));
1497
- p(u(function(t) {
1497
+ y(o(function(t) {
1498
1498
  return t != null;
1499
1499
  }));
1500
- class B0 extends Error {
1500
+ class R0 extends Error {
1501
1501
  constructor(f) {
1502
1502
  let e;
1503
1503
  try {
@@ -1509,7 +1509,7 @@ class B0 extends Error {
1509
1509
  }
1510
1510
  }
1511
1511
  const X = { matched: !1, value: void 0 };
1512
- function n0(t) {
1512
+ function d0(t) {
1513
1513
  return new $(t, X);
1514
1514
  }
1515
1515
  class $ {
@@ -1522,10 +1522,10 @@ class $ {
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, r = {};
1525
- const a = (c, y) => {
1526
- i = !0, r[c] = y;
1527
- }, s = !n.some((c) => g(c, this.input, a)) || d && !d(this.input) ? X : { matched: !0, value: e(i ? M in r ? r[M] : r : this.input, this.input) };
1528
- return new $(this.input, s);
1525
+ const a = (s, p) => {
1526
+ i = !0, r[s] = p;
1527
+ }, u = !n.some((s) => g(s, this.input, a)) || d && !d(this.input) ? X : { matched: !0, value: e(i ? M in r ? r[M] : r : this.input, this.input) };
1528
+ return new $(this.input, u);
1529
1529
  }
1530
1530
  when(f, e) {
1531
1531
  if (this.state.matched) return this;
@@ -1537,7 +1537,7 @@ class $ {
1537
1537
  }
1538
1538
  exhaustive() {
1539
1539
  if (this.state.matched) return this.state.value;
1540
- throw new B0(this.input);
1540
+ throw new R0(this.input);
1541
1541
  }
1542
1542
  run() {
1543
1543
  return this.exhaustive();
@@ -1547,13 +1547,13 @@ class $ {
1547
1547
  }
1548
1548
  }
1549
1549
  const Q = { 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) {
1550
+ var L0 = /* @__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))(L0 || {}), P0 = /* @__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))(P0 || {}), _0 = /* @__PURE__ */ ((t) => (t[t.EVENT = 0] = "EVENT", t[t.FUNC = 1] = "FUNC", t))(_0 || {}), D0 = /* @__PURE__ */ ((t) => (t[t.RAW = 0] = "RAW", t[t.WAD = 1] = "WAD", t))(D0 || {});
1551
+ function F0(t) {
1552
1552
  return Array.isArray(t.actionSteps);
1553
1553
  }
1554
- const V = class V extends x0 {
1554
+ const V = class V extends w0 {
1555
1555
  constructor() {
1556
- super(...arguments), this.abi = Y;
1556
+ super(...arguments), this.abi = K;
1557
1557
  }
1558
1558
  /**
1559
1559
  * Gets a specific action event by index
@@ -1576,13 +1576,13 @@ const V = class V extends x0 {
1576
1576
  * @returns {Promise<ActionStep[]>}
1577
1577
  */
1578
1578
  async getActionSteps(f) {
1579
- const e = await c0(this._config, {
1579
+ const e = await y0(this._config, {
1580
1580
  address: this.assertValidAddress(),
1581
1581
  ...this.optionallyAttachAccount(),
1582
1582
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
1583
1583
  ...f
1584
1584
  });
1585
- return F0(e.map(i0));
1585
+ return O0(e.map(r0));
1586
1586
  }
1587
1587
  /**
1588
1588
  * Gets the count of action events
@@ -1604,12 +1604,12 @@ const V = class V extends x0 {
1604
1604
  * @returns {Promise<ActionClaimant>}
1605
1605
  */
1606
1606
  async getActionClaimant(f) {
1607
- const e = await p0(this._config, {
1607
+ const e = await b0(this._config, {
1608
1608
  address: this.assertValidAddress(),
1609
1609
  ...this.optionallyAttachAccount(),
1610
1610
  ...f
1611
1611
  });
1612
- return i0(e);
1612
+ return r0(e);
1613
1613
  }
1614
1614
  /**
1615
1615
  * Executes a prepared event action
@@ -1633,14 +1633,14 @@ const V = class V extends x0 {
1633
1633
  * @returns {Promise<{ hash: `0x${string}`; result: readonly [boolean, `0x${string}`]; }>}
1634
1634
  */
1635
1635
  async executeRaw(f, e) {
1636
- const { request: n, result: d } = await y0(this._config, {
1636
+ const { request: n, result: d } = await l0(this._config, {
1637
1637
  address: this.assertValidAddress(),
1638
1638
  ...this.optionallyAttachAccount(),
1639
1639
  // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally
1640
1640
  ...e,
1641
1641
  args: [f]
1642
1642
  });
1643
- return { hash: await b0(this._config, n), result: d };
1643
+ return { hash: await g0(this._config, n), result: d };
1644
1644
  }
1645
1645
  /**
1646
1646
  * Derives the action claimant address from a transaction based on the provided ActionClaimant configuration.
@@ -1677,9 +1677,9 @@ const V = class V extends x0 {
1677
1677
  * @throws {FunctionDataDecodeError} If there's an error decoding function data (for function-based derivation).
1678
1678
  */
1679
1679
  async deriveActionClaimantFromTransaction(f, e) {
1680
- if (f.fieldIndex === k.TX_SENDER_CLAIMANT) {
1680
+ if (f.fieldIndex === R.TX_SENDER_CLAIMANT) {
1681
1681
  if ("hash" in e) {
1682
- const i = await L(this._config, {
1682
+ const i = await P(this._config, {
1683
1683
  ...e,
1684
1684
  chainId: f.chainid
1685
1685
  });
@@ -1688,7 +1688,7 @@ const V = class V extends x0 {
1688
1688
  if ("logs" in e) {
1689
1689
  for (let i of e.logs)
1690
1690
  if (i.transactionHash) {
1691
- const r = await L(this._config, {
1691
+ const r = await P(this._config, {
1692
1692
  ...e,
1693
1693
  hash: i.transactionHash,
1694
1694
  chainId: f.chainid
@@ -1707,15 +1707,15 @@ const V = class V extends x0 {
1707
1707
  if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
1708
1708
  throw new N(n);
1709
1709
  if ("logs" in e) {
1710
- const s = e.logs.filter((c) => c.topics[0] === n).map((c) => W(i, c));
1711
- for (const c of s) {
1712
- if (!d && !h(c.address, f.targetContract))
1710
+ const u = e.logs.filter((s) => s.topics[0] === n).map((s) => W(i, s));
1711
+ for (const s of u) {
1712
+ if (!d && !h(s.address, f.targetContract))
1713
1713
  continue;
1714
- const y = this.validateClaimantAgainstArgs(
1714
+ const p = this.validateClaimantAgainstArgs(
1715
1715
  f,
1716
- c
1716
+ s
1717
1717
  );
1718
- if (y) return y;
1718
+ if (p) return p;
1719
1719
  }
1720
1720
  }
1721
1721
  if (!("hash" in e))
@@ -1727,16 +1727,16 @@ const V = class V extends x0 {
1727
1727
  if (e.notBeforeBlockNumber && r.blockNumber < e.notBeforeBlockNumber)
1728
1728
  return;
1729
1729
  let a;
1730
- n === D ? { decodedLogs: a } = await this.decodeTransferLogs(r) : a = r.logs.filter((s) => s.topics[0] === n).map((s) => W(i, s));
1731
- for (let s of a) {
1732
- if (!d && !h(s.address, f.targetContract))
1730
+ n === B ? { decodedLogs: a } = await this.decodeTransferLogs(r) : a = r.logs.filter((u) => u.topics[0] === n).map((u) => W(i, u));
1731
+ for (let u of a) {
1732
+ if (!d && !h(u.address, f.targetContract))
1733
1733
  continue;
1734
- let c = this.validateClaimantAgainstArgs(f, s);
1735
- if (c) return c;
1734
+ let s = this.validateClaimantAgainstArgs(f, u);
1735
+ if (s) return s;
1736
1736
  }
1737
1737
  }
1738
1738
  if (f.signatureType === 1 && "hash" in e) {
1739
- const i = await L(this._config, {
1739
+ const i = await P(this._config, {
1740
1740
  ...e,
1741
1741
  chainId: f.chainid
1742
1742
  });
@@ -1747,12 +1747,12 @@ const V = class V extends x0 {
1747
1747
  throw new N(f.signature);
1748
1748
  let a;
1749
1749
  try {
1750
- a = Z({
1750
+ a = Y({
1751
1751
  abi: [r],
1752
1752
  data: i.input
1753
1753
  });
1754
- } catch (s) {
1755
- throw new q([r], s);
1754
+ } catch (u) {
1755
+ throw new J([r], u);
1756
1756
  }
1757
1757
  return this.validateClaimantAgainstArgs(f, a);
1758
1758
  }
@@ -1768,8 +1768,8 @@ const V = class V extends x0 {
1768
1768
  validateClaimantAgainstArgs(f, e) {
1769
1769
  if (!e || !Array.isArray(e == null ? void 0 : e.args))
1770
1770
  return;
1771
- if (V0(f.fieldIndex)) {
1772
- const [d, i] = G0(f.fieldIndex);
1771
+ if (H0(f.fieldIndex)) {
1772
+ const [d, i] = Q0(f.fieldIndex);
1773
1773
  if (e.args.length <= d)
1774
1774
  return;
1775
1775
  const r = e.args[d];
@@ -1817,7 +1817,7 @@ const V = class V extends x0 {
1817
1817
  if (e.abiItem ? d = e.abiItem : d = e.knownSignatures[n], !d)
1818
1818
  throw new N(n);
1819
1819
  if (this.isArraylikeIndexed(f, d))
1820
- throw new J(
1820
+ throw new f0(
1821
1821
  f.actionParameter.fieldIndex,
1822
1822
  d
1823
1823
  );
@@ -1829,15 +1829,15 @@ const V = class V extends x0 {
1829
1829
  });
1830
1830
  if (e.notBeforeBlockNumber && i.blockNumber < e.notBeforeBlockNumber)
1831
1831
  return !1;
1832
- if (f.signature === D) {
1833
- const { decodedLogs: a, event: s } = await this.decodeTransferLogs(i);
1834
- return this.isActionEventValid(f, a, s);
1832
+ if (f.signature === B) {
1833
+ const { decodedLogs: a, event: u } = await this.decodeTransferLogs(i);
1834
+ return this.isActionEventValid(f, a, u);
1835
1835
  }
1836
1836
  const r = i.logs.filter((a) => a.topics[0] === n).map((a) => W(d, a));
1837
1837
  return this.isActionEventValid(f, r, d);
1838
1838
  }
1839
1839
  if (f.signatureType === 1 && "hash" in e) {
1840
- const n = await L(this._config, {
1840
+ const n = await P(this._config, {
1841
1841
  ...e,
1842
1842
  chainId: f.chainid
1843
1843
  });
@@ -1861,7 +1861,7 @@ const V = class V extends x0 {
1861
1861
  if (!(f.targetContract !== S && !h(i.address, f.targetContract)))
1862
1862
  try {
1863
1863
  if (!Array.isArray(i.args))
1864
- throw new m0({
1864
+ throw new A0({
1865
1865
  log: i,
1866
1866
  criteria: d,
1867
1867
  fieldValue: void 0
@@ -1871,8 +1871,8 @@ const V = class V extends x0 {
1871
1871
  d.fieldIndex,
1872
1872
  n.inputs || [],
1873
1873
  d.fieldType
1874
- ), s = { ...d, fieldType: a };
1875
- if (this.validateFieldAgainstCriteria(s, r, { log: i }))
1874
+ ), u = { ...d, fieldType: a };
1875
+ if (this.validateFieldAgainstCriteria(u, r, { log: i }))
1876
1876
  return !0;
1877
1877
  } catch {
1878
1878
  }
@@ -1896,14 +1896,14 @@ const V = class V extends x0 {
1896
1896
  */
1897
1897
  async decodeTransferLogs(f) {
1898
1898
  const e = f.logs.filter(
1899
- (d) => d.topics[0] === D
1899
+ (d) => d.topics[0] === B
1900
1900
  ), n = structuredClone(
1901
- E0["Transfer(address indexed,address indexed,uint256 indexed)"]
1901
+ N0["Transfer(address indexed,address indexed,uint256 indexed)"]
1902
1902
  );
1903
1903
  try {
1904
1904
  return {
1905
1905
  decodedLogs: e.map((i) => {
1906
- const { eventName: r, args: a } = j({
1906
+ const { eventName: r, args: a } = Z({
1907
1907
  abi: [n],
1908
1908
  data: i.data,
1909
1909
  topics: i.topics
@@ -1916,7 +1916,7 @@ const V = class V extends x0 {
1916
1916
  try {
1917
1917
  return n.inputs[2].indexed = !1, {
1918
1918
  decodedLogs: e.map((i) => {
1919
- const { eventName: r, args: a } = j({
1919
+ const { eventName: r, args: a } = Z({
1920
1920
  abi: [n],
1921
1921
  data: i.data,
1922
1922
  topics: i.topics
@@ -1926,7 +1926,7 @@ const V = class V extends x0 {
1926
1926
  event: n
1927
1927
  };
1928
1928
  } catch {
1929
- throw new I("Failed to decode transfer logs");
1929
+ throw new v("Failed to decode transfer logs");
1930
1930
  }
1931
1931
  }
1932
1932
  }
@@ -1943,41 +1943,41 @@ const V = class V extends x0 {
1943
1943
  * @returns {{ value: string | bigint | Hex; type: Exclude<PrimitiveType, PrimitiveType.TUPLE> }}
1944
1944
  */
1945
1945
  parseFieldFromAbi(f, e, n, d) {
1946
- if (e === k.ANY_ACTION_PARAM)
1946
+ if (e === R.ANY_ACTION_PARAM)
1947
1947
  return {
1948
- value: B,
1948
+ value: k,
1949
1949
  type: 2
1950
1950
  /* BYTES */
1951
1951
  };
1952
1952
  if (d !== 4) {
1953
1953
  if (!Array.isArray(f) || e >= f.length)
1954
- throw new f0({
1954
+ throw new e0({
1955
1955
  fieldValue: f,
1956
1956
  criteria: {
1957
1957
  filterType: 0,
1958
1958
  fieldType: d,
1959
1959
  fieldIndex: e,
1960
- filterData: B
1960
+ filterData: k
1961
1961
  }
1962
1962
  });
1963
1963
  const r = n[e];
1964
1964
  if (!r || !r.type)
1965
- throw new J(e, r);
1966
- const a = f[e], s = a0(r.type);
1967
- if (s === 1 && (typeof a != "string" || !H(a)))
1968
- throw new f0({
1965
+ throw new f0(e, r);
1966
+ const a = f[e], u = s0(r.type);
1967
+ if (u === 1 && (typeof a != "string" || !H(a)))
1968
+ throw new e0({
1969
1969
  fieldValue: a,
1970
1970
  criteria: {
1971
1971
  fieldIndex: e,
1972
1972
  filterType: 0,
1973
- fieldType: s,
1974
- filterData: B
1973
+ fieldType: u,
1974
+ filterData: k
1975
1975
  }
1976
1976
  });
1977
- return { value: a, type: s };
1977
+ return { value: a, type: u };
1978
1978
  }
1979
- const i = o0(e);
1980
- return r0(f, i, n);
1979
+ const i = c0(e);
1980
+ return a0(f, i, n);
1981
1981
  }
1982
1982
  /**
1983
1983
  * Validates a single action function with a given criteria against the transaction input.
@@ -2001,23 +2001,23 @@ const V = class V extends x0 {
2001
2001
  throw new N(i);
2002
2002
  let a;
2003
2003
  try {
2004
- a = Z({
2004
+ a = Y({
2005
2005
  abi: [r],
2006
2006
  data: e.input
2007
2007
  });
2008
- } catch (s) {
2009
- throw new q([r], s);
2008
+ } catch (u) {
2009
+ throw new J([r], u);
2010
2010
  }
2011
2011
  if (!(a != null && a.args))
2012
2012
  return !1;
2013
2013
  try {
2014
- const { value: s, type: c } = this.parseFieldFromAbi(
2014
+ const { value: u, type: s } = this.parseFieldFromAbi(
2015
2015
  a.args,
2016
2016
  d.fieldIndex,
2017
2017
  r.inputs || [],
2018
2018
  d.fieldType
2019
- ), y = { ...d, fieldType: c };
2020
- return this.validateFieldAgainstCriteria(y, s, {
2019
+ ), p = { ...d, fieldType: s };
2020
+ return this.validateFieldAgainstCriteria(p, u, {
2021
2021
  decodedArgs: a.args
2022
2022
  });
2023
2023
  } catch {
@@ -2037,7 +2037,7 @@ const V = class V extends x0 {
2037
2037
  * @returns {boolean} - Returns true if the field passes the criteria, false otherwise.
2038
2038
  */
2039
2039
  validateFieldAgainstCriteria(f, e, n) {
2040
- if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === k.ANY_ACTION_PARAM)
2040
+ if (f.filterType === 0 && f.fieldType === 2 && f.fieldIndex === R.ANY_ACTION_PARAM)
2041
2041
  return !0;
2042
2042
  if (f.fieldType === 4)
2043
2043
  throw new E(
@@ -2046,7 +2046,7 @@ const V = class V extends x0 {
2046
2046
  const d = f.fieldType;
2047
2047
  switch (f.filterType) {
2048
2048
  case 0:
2049
- return n0(d).with(
2049
+ return d0(d).with(
2050
2050
  1,
2051
2051
  () => h(f.filterData, e)
2052
2052
  ).with(
@@ -2057,7 +2057,7 @@ const V = class V extends x0 {
2057
2057
  () => e === _(f.filterData, "string")
2058
2058
  ).otherwise(() => e === f.filterData);
2059
2059
  case 1:
2060
- return n0(d).with(
2060
+ return d0(d).with(
2061
2061
  1,
2062
2062
  () => !h(f.filterData, e)
2063
2063
  ).with(
@@ -2073,7 +2073,7 @@ const V = class V extends x0 {
2073
2073
  case 2:
2074
2074
  if (d === 0 || d === 5)
2075
2075
  return BigInt(e) > BigInt(f.filterData);
2076
- throw new P({
2076
+ throw new D({
2077
2077
  ...n,
2078
2078
  criteria: f,
2079
2079
  fieldValue: e
@@ -2081,7 +2081,7 @@ const V = class V extends x0 {
2081
2081
  case 6:
2082
2082
  if (d === 0 || d === 5)
2083
2083
  return BigInt(e) >= BigInt(f.filterData);
2084
- throw new P({
2084
+ throw new D({
2085
2085
  ...n,
2086
2086
  criteria: f,
2087
2087
  fieldValue: e
@@ -2089,7 +2089,7 @@ const V = class V extends x0 {
2089
2089
  case 3:
2090
2090
  if (d === 0 || d === 5)
2091
2091
  return BigInt(e) < BigInt(f.filterData);
2092
- throw new P({
2092
+ throw new D({
2093
2093
  ...n,
2094
2094
  criteria: f,
2095
2095
  fieldValue: e
@@ -2097,7 +2097,7 @@ const V = class V extends x0 {
2097
2097
  case 7:
2098
2098
  if (d === 0 || d === 5)
2099
2099
  return BigInt(e) <= BigInt(f.filterData);
2100
- throw new P({
2100
+ throw new D({
2101
2101
  ...n,
2102
2102
  criteria: f,
2103
2103
  fieldValue: e
@@ -2107,14 +2107,14 @@ const V = class V extends x0 {
2107
2107
  let i;
2108
2108
  return d === 3 ? i = _(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
2109
2109
  }
2110
- throw new e0({
2110
+ throw new t0({
2111
2111
  ...n,
2112
2112
  criteria: f,
2113
2113
  fieldValue: e
2114
2114
  });
2115
2115
  case 5:
2116
2116
  if (typeof e != "string")
2117
- throw new e0({
2117
+ throw new t0({
2118
2118
  ...n,
2119
2119
  criteria: f,
2120
2120
  fieldValue: e
@@ -2124,7 +2124,7 @@ const V = class V extends x0 {
2124
2124
  return new RegExp(i).test(e);
2125
2125
  }
2126
2126
  default:
2127
- throw new w0({
2127
+ throw new T0({
2128
2128
  ...n,
2129
2129
  criteria: f,
2130
2130
  fieldValue: e
@@ -2145,13 +2145,13 @@ const V = class V extends x0 {
2145
2145
  e
2146
2146
  );
2147
2147
  let i;
2148
- if (P0(n)) {
2149
- let r = n.actionSteps.filter((s) => !!s);
2148
+ if (F0(n)) {
2149
+ let r = n.actionSteps.filter((u) => !!u);
2150
2150
  if (r.length === 0)
2151
- throw new A0();
2151
+ throw new v0();
2152
2152
  if (r.length > 4)
2153
- throw new T0();
2154
- let a = Array.from({ length: 4 }, (s, c) => r.at(c) || r.at(-1));
2153
+ throw new I0();
2154
+ let a = Array.from({ length: 4 }, (u, s) => r.at(s) || r.at(-1));
2155
2155
  i = {
2156
2156
  actionClaimant: n.actionClaimant,
2157
2157
  actionStepOne: a[0],
@@ -2162,9 +2162,9 @@ const V = class V extends x0 {
2162
2162
  } else
2163
2163
  i = n;
2164
2164
  return {
2165
- abi: Y,
2166
- bytecode: I0,
2167
- args: [O0(i)],
2165
+ abi: K,
2166
+ bytecode: C0,
2167
+ args: [M0(i)],
2168
2168
  ...this.optionallyAttachAccount(d.account)
2169
2169
  };
2170
2170
  }
@@ -2226,12 +2226,12 @@ const V = class V extends x0 {
2226
2226
  });
2227
2227
  if (e.notBeforeBlockNumber && i.blockNumber < e.notBeforeBlockNumber)
2228
2228
  return [];
2229
- if (f.signature === D) {
2230
- const { decodedLogs: a, event: s } = await this.decodeTransferLogs(i);
2229
+ if (f.signature === B) {
2230
+ const { decodedLogs: a, event: u } = await this.decodeTransferLogs(i);
2231
2231
  return this.filterLogsByActionStepCriteria(
2232
2232
  f,
2233
2233
  a,
2234
- s
2234
+ u
2235
2235
  );
2236
2236
  }
2237
2237
  const r = i.logs.filter((a) => a.topics[0] === n).map((a) => W(d, a));
@@ -2254,13 +2254,13 @@ const V = class V extends x0 {
2254
2254
  try {
2255
2255
  if (!Array.isArray(r.args))
2256
2256
  continue;
2257
- const { value: a, type: s } = this.parseFieldFromAbi(
2257
+ const { value: a, type: u } = this.parseFieldFromAbi(
2258
2258
  r.args,
2259
2259
  d.fieldIndex,
2260
2260
  n.inputs || [],
2261
2261
  d.fieldType
2262
- ), c = { ...d, fieldType: s };
2263
- this.validateFieldAgainstCriteria(c, a, { log: r }) && i.push(r);
2262
+ ), s = { ...d, fieldType: u };
2263
+ this.validateFieldAgainstCriteria(s, a, { log: r }) && i.push(r);
2264
2264
  } catch {
2265
2265
  }
2266
2266
  return i;
@@ -2268,13 +2268,13 @@ const V = class V extends x0 {
2268
2268
  };
2269
2269
  V.bases = {
2270
2270
  ...Q != null && Q.VITE_EVENT_ACTION_BASE ? { 31337: void 0 } : {},
2271
- ...h0
2272
- }, V.registryType = v0.ACTION;
2273
- let d0 = V;
2274
- function D0(t) {
2271
+ ...m0
2272
+ }, V.registryType = E0.ACTION;
2273
+ let i0 = V;
2274
+ function W0(t) {
2275
2275
  return t.type === "tuple" || t.type.startsWith("tuple[");
2276
2276
  }
2277
- function r0(t, f, e) {
2277
+ function a0(t, f, e) {
2278
2278
  if (!f.length)
2279
2279
  throw new E(
2280
2280
  "No indexes found; cannot parse TUPLE field"
@@ -2283,9 +2283,9 @@ function r0(t, f, e) {
2283
2283
  if (n >= e.length)
2284
2284
  throw new E(void 0, n);
2285
2285
  const d = e[n], i = t[n];
2286
- if (!D0(d)) {
2287
- const s = a0(d.type);
2288
- return { value: i, type: s };
2286
+ if (!W0(d)) {
2287
+ const u = s0(d.type);
2288
+ return { value: i, type: u };
2289
2289
  }
2290
2290
  if (!Array.isArray(i))
2291
2291
  throw new E(
@@ -2297,9 +2297,9 @@ function r0(t, f, e) {
2297
2297
  const a = r[0] ?? d.components.length + 1;
2298
2298
  if (a >= d.components.length)
2299
2299
  throw new E(void 0, a);
2300
- return r0(i, r, d.components);
2300
+ return a0(i, r, d.components);
2301
2301
  }
2302
- function a0(t) {
2302
+ function s0(t) {
2303
2303
  const f = t.toLowerCase();
2304
2304
  if (f.startsWith("uint"))
2305
2305
  return 0;
@@ -2311,9 +2311,9 @@ function a0(t) {
2311
2311
  return 2;
2312
2312
  if (f === "string")
2313
2313
  return 3;
2314
- throw new I(`Unrecognized ABI type: ${t}`);
2314
+ throw new v(`Unrecognized ABI type: ${t}`);
2315
2315
  }
2316
- function F0(t) {
2316
+ function O0(t) {
2317
2317
  const f = [], e = {};
2318
2318
  for (let n of t) {
2319
2319
  const d = JSON.stringify(n);
@@ -2321,13 +2321,13 @@ function F0(t) {
2321
2321
  }
2322
2322
  return f;
2323
2323
  }
2324
- function s0(t) {
2324
+ function u0(t) {
2325
2325
  return {
2326
2326
  ...t,
2327
2327
  chainid: BigInt(t.chainid)
2328
2328
  };
2329
2329
  }
2330
- function i0(t) {
2330
+ function r0(t) {
2331
2331
  if (t.chainid > BigInt(Number.MAX_SAFE_INTEGER))
2332
2332
  throw new Error("Chain ID exceeds max safe integer");
2333
2333
  return {
@@ -2335,7 +2335,7 @@ function i0(t) {
2335
2335
  chainid: Number(t.chainid)
2336
2336
  };
2337
2337
  }
2338
- function u0(t) {
2338
+ function o0(t) {
2339
2339
  const f = t.slice(2);
2340
2340
  if (f.length === 8)
2341
2341
  return 1;
@@ -2343,29 +2343,29 @@ function u0(t) {
2343
2343
  return f.slice(0, 56) === "0".repeat(56) ? 1 : 0;
2344
2344
  throw new Error("Invalid signature format");
2345
2345
  }
2346
- function W0(t) {
2347
- return g0(K(t));
2346
+ function U0(t) {
2347
+ return x0(j(t));
2348
2348
  }
2349
2349
  function F(t) {
2350
2350
  return {
2351
- ...s0(t),
2352
- signatureType: t.signatureType ?? u0(t.signature),
2353
- signature: K(t.signature),
2351
+ ...u0(t),
2352
+ signatureType: t.signatureType ?? o0(t.signature),
2353
+ signature: j(t.signature),
2354
2354
  actionType: t.actionType || 0,
2355
2355
  actionParameter: t.actionParameter.fieldType === 0 ? {
2356
2356
  ...t.actionParameter,
2357
- filterData: W0(t.actionParameter.filterData)
2357
+ filterData: U0(t.actionParameter.filterData)
2358
2358
  } : t.actionParameter
2359
2359
  };
2360
2360
  }
2361
- function O0({
2361
+ function M0({
2362
2362
  actionClaimant: t,
2363
2363
  actionStepOne: f,
2364
2364
  actionStepTwo: e,
2365
2365
  actionStepThree: n,
2366
2366
  actionStepFour: d
2367
2367
  }) {
2368
- return l0(
2368
+ return h0(
2369
2369
  [
2370
2370
  {
2371
2371
  type: "tuple",
@@ -2472,9 +2472,9 @@ function O0({
2472
2472
  [
2473
2473
  {
2474
2474
  actionClaimant: {
2475
- ...s0(t),
2476
- signatureType: t.signatureType ?? u0(t.signature),
2477
- signature: K(t.signature)
2475
+ ...u0(t),
2476
+ signatureType: t.signatureType ?? o0(t.signature),
2477
+ signature: j(t.signature)
2478
2478
  },
2479
2479
  actionStepOne: F(f),
2480
2480
  actionStepTwo: F(e),
@@ -2484,25 +2484,25 @@ function O0({
2484
2484
  ]
2485
2485
  );
2486
2486
  }
2487
- function q0() {
2487
+ function ff() {
2488
2488
  return {
2489
2489
  filterType: 0,
2490
2490
  fieldType: 2,
2491
- fieldIndex: k.ANY_ACTION_PARAM,
2492
- filterData: B
2491
+ fieldIndex: R.ANY_ACTION_PARAM,
2492
+ filterData: k
2493
2493
  };
2494
2494
  }
2495
- function J0(t) {
2495
+ function ef(t) {
2496
2496
  return {
2497
2497
  signatureType: 0,
2498
- signature: B,
2499
- fieldIndex: k.TX_SENDER_CLAIMANT,
2498
+ signature: k,
2499
+ fieldIndex: R.TX_SENDER_CLAIMANT,
2500
2500
  targetContract: S,
2501
2501
  chainid: t
2502
2502
  };
2503
2503
  }
2504
2504
  const C = 63;
2505
- function ff(t) {
2505
+ function tf(t) {
2506
2506
  if (t.length > 5)
2507
2507
  throw new U("Can only pack up to 5 indexes.");
2508
2508
  let f = 0;
@@ -2514,7 +2514,7 @@ function ff(t) {
2514
2514
  f |= (e & C) << n * 6;
2515
2515
  }), t.length < 5 && (f |= C << t.length * 6), f;
2516
2516
  }
2517
- function o0(t) {
2517
+ function c0(t) {
2518
2518
  const f = [];
2519
2519
  for (let e = 0; e < 5; e++) {
2520
2520
  const n = t >> e * 6 & C;
@@ -2524,39 +2524,40 @@ function o0(t) {
2524
2524
  return f;
2525
2525
  }
2526
2526
  function W(t, f) {
2527
- const e = j({
2528
- abi: [t],
2529
- data: f.data,
2530
- topics: f.topics
2531
- }), n = Array.isArray(e.args) ? e.args : Object.values(e.args);
2532
- if (!t.inputs.some((s) => s.indexed))
2533
- return {
2534
- ...f,
2535
- ...e
2536
- };
2537
- const d = [], i = [];
2527
+ t.name === "Transfer" && f.topics[0] === B && f.topics.length === 4 && (t = structuredClone(t), t.inputs[2].indexed = !0);
2528
+ const e = [], n = [];
2529
+ for (let s = 0; s < t.inputs.length; s++) {
2530
+ const p = t.inputs[s];
2531
+ p.indexed ? e.push(p) : n.push(p);
2532
+ }
2533
+ const d = [];
2534
+ for (let s = 0; s < e.length; s++) {
2535
+ const p = f.topics[s + 1];
2536
+ if (!p)
2537
+ throw new v(
2538
+ `Missing topic at index ${s + 1} for indexed parameter "${e[s].name ?? s}"`
2539
+ );
2540
+ const [p0] = q([e[s]], p);
2541
+ d.push(p0);
2542
+ }
2543
+ const i = n.length > 0 && f.data && f.data !== "0x" ? q(n, f.data) : [], r = new Array(t.inputs.length);
2544
+ let a = 0, u = 0;
2538
2545
  for (let s = 0; s < t.inputs.length; s++)
2539
- t.inputs[s].indexed ? d.push(s) : i.push(s);
2540
- const r = Array.from({ length: t.inputs.length });
2541
- let a = 0;
2542
- for (let s = 0; s < d.length; s++)
2543
- r[d[s]] = n[a++];
2544
- for (let s = 0; s < i.length; s++)
2545
- r[i[s]] = n[a++];
2546
+ t.inputs[s].indexed ? r[s] = d[a++] : r[s] = i[u++];
2546
2547
  return {
2547
2548
  ...f,
2548
- eventName: e.eventName,
2549
+ eventName: t.name,
2549
2550
  args: r
2550
2551
  };
2551
2552
  }
2552
- function U0([t, f]) {
2553
+ function $0([t, f]) {
2553
2554
  if (t < 0 || t > 13 || f < 0 || f > 13)
2554
2555
  throw new U(
2555
2556
  `Tuple indices must be between 0-13, got: [${t}, ${f}]`
2556
2557
  );
2557
2558
  return 32 + (t << 4) + f;
2558
2559
  }
2559
- function M0(t) {
2560
+ function V0(t) {
2560
2561
  if (t < 32 || t > 253)
2561
2562
  throw new U(
2562
2563
  `Field index must be between 32-253, got: ${t}`
@@ -2564,71 +2565,71 @@ function M0(t) {
2564
2565
  const f = t - 32, e = f >> 4 & 15, n = f & 15;
2565
2566
  return [e, n];
2566
2567
  }
2567
- function $0(t) {
2568
+ function G0(t) {
2568
2569
  return t >= 32;
2569
2570
  }
2570
- function V0(t) {
2571
- return $0(t);
2571
+ function H0(t) {
2572
+ return G0(t);
2572
2573
  }
2573
- function ef(t) {
2574
- return U0(t);
2574
+ function nf(t) {
2575
+ return $0(t);
2575
2576
  }
2576
- function G0(t) {
2577
- return M0(t);
2577
+ function Q0(t) {
2578
+ return V0(t);
2578
2579
  }
2579
- function H0(t, f) {
2580
- const e = o0(f);
2580
+ function z0(t, f) {
2581
+ const e = c0(f);
2581
2582
  if (e.length === 0)
2582
- throw new I(
2583
+ throw new v(
2583
2584
  `Failed to unpack any indexes from fieldIndex ${f}`
2584
2585
  );
2585
2586
  let n = t;
2586
2587
  for (let d = 0; d < e.length; d++) {
2587
2588
  const i = e[d];
2588
2589
  if (i === void 0)
2589
- throw new I(`Undefined index at level ${d}`);
2590
+ throw new v(`Undefined index at level ${d}`);
2590
2591
  if (typeof n == "bigint")
2591
2592
  return n;
2592
2593
  if (!Array.isArray(n))
2593
- throw new I(
2594
+ throw new v(
2594
2595
  `Expected array at level ${d}, but got ${typeof n}`
2595
2596
  );
2596
2597
  if (i >= n.length)
2597
- throw new I(
2598
+ throw new v(
2598
2599
  `Index ${i} is out of bounds at level ${d}. Array length is ${n.length}`
2599
2600
  );
2600
2601
  n = n[i];
2601
2602
  }
2602
2603
  if (typeof n != "bigint")
2603
- throw new I(
2604
+ throw new v(
2604
2605
  `Expected bigint at final position, but got ${typeof n}`
2605
2606
  );
2606
2607
  return n;
2607
2608
  }
2608
- function tf(t, f) {
2609
- return H0(t, f);
2609
+ function df(t, f) {
2610
+ return z0(t, f);
2610
2611
  }
2611
2612
  export {
2612
- d0 as EventAction,
2613
- k0 as FilterType,
2614
- R0 as PrimitiveType,
2615
- L0 as SignatureType,
2616
- _0 as ValueType,
2617
- q0 as anyActionParameter,
2613
+ i0 as EventAction,
2614
+ L0 as FilterType,
2615
+ P0 as PrimitiveType,
2616
+ _0 as SignatureType,
2617
+ D0 as ValueType,
2618
+ ff as anyActionParameter,
2618
2619
  W as decodeAndReorderLogArgs,
2619
- u0 as detectSignatureType,
2620
- H0 as getScalarValue,
2621
- tf as getScalarValueFromTuple,
2622
- V0 as isClaimantFieldIndexTuple,
2623
- $0 as isCriteriaFieldIndexTuple,
2624
- P0 as isEventActionPayloadSimple,
2625
- ef as packClaimantFieldIndexes,
2626
- U0 as packCriteriaFieldIndexes,
2627
- ff as packFieldIndexes,
2628
- O0 as prepareEventActionPayload,
2629
- J0 as transactionSenderClaimant,
2630
- G0 as unpackClaimantFieldIndexes,
2631
- M0 as unpackCriteriaFieldIndexes,
2632
- o0 as unpackFieldIndexes
2620
+ o0 as detectSignatureType,
2621
+ z0 as getScalarValue,
2622
+ df as getScalarValueFromTuple,
2623
+ H0 as isClaimantFieldIndexTuple,
2624
+ G0 as isCriteriaFieldIndexTuple,
2625
+ F0 as isEventActionPayloadSimple,
2626
+ nf as packClaimantFieldIndexes,
2627
+ $0 as packCriteriaFieldIndexes,
2628
+ tf as packFieldIndexes,
2629
+ M0 as prepareEventActionPayload,
2630
+ ef as transactionSenderClaimant,
2631
+ Q0 as unpackClaimantFieldIndexes,
2632
+ V0 as unpackCriteriaFieldIndexes,
2633
+ c0 as unpackFieldIndexes
2633
2634
  };
2634
2635
  //# sourceMappingURL=EventAction.js.map