@boostxyz/sdk 6.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) 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.js +40 -40
  6. package/dist/Actions/EventAction.js.map +1 -1
  7. package/dist/AllowLists/AllowList.cjs +1 -1
  8. package/dist/AllowLists/AllowList.js +3 -3
  9. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  10. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
  11. package/dist/AllowLists/SimpleAllowList.d.ts +2 -2
  12. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
  13. package/dist/AllowLists/SimpleAllowList.js +3 -3
  14. package/dist/AllowLists/SimpleAllowList.js.map +1 -1
  15. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  16. package/dist/AllowLists/SimpleDenyList.js +3 -3
  17. package/dist/Auth/PassthroughAuth.cjs +1 -1
  18. package/dist/Auth/PassthroughAuth.js +1 -1
  19. package/dist/BoostCore.cjs +2 -2
  20. package/dist/BoostCore.cjs.map +1 -1
  21. package/dist/BoostCore.d.ts +14 -0
  22. package/dist/BoostCore.d.ts.map +1 -1
  23. package/dist/BoostCore.js +119 -101
  24. package/dist/BoostCore.js.map +1 -1
  25. package/dist/BoostRegistry.cjs +1 -1
  26. package/dist/BoostRegistry.js +2 -2
  27. package/dist/Budget-CsqSI4NH.cjs +2 -0
  28. package/dist/Budget-CsqSI4NH.cjs.map +1 -0
  29. package/dist/Budget-bMiAGF8s.js +922 -0
  30. package/dist/Budget-bMiAGF8s.js.map +1 -0
  31. package/dist/Budgets/Budget.cjs +1 -1
  32. package/dist/Budgets/Budget.d.ts +5 -4
  33. package/dist/Budgets/Budget.d.ts.map +1 -1
  34. package/dist/Budgets/Budget.js +3 -3
  35. package/dist/Budgets/ManagedBudget.cjs +1 -1
  36. package/dist/Budgets/ManagedBudget.js +2 -2
  37. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts +1331 -0
  38. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts.map +1 -0
  39. package/dist/Deployable/DeployableTarget.cjs +1 -1
  40. package/dist/Deployable/DeployableTarget.js +1 -1
  41. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  42. package/dist/Deployable/DeployableTargetWithRBAC.js +2 -2
  43. package/dist/{Incentive-Boviez4z.js → Incentive-DZLG6T1-.js} +27 -27
  44. package/dist/{Incentive-Boviez4z.js.map → Incentive-DZLG6T1-.js.map} +1 -1
  45. package/dist/{Incentive-wM4zizTH.cjs → Incentive-DvNdIJ_x.cjs} +2 -2
  46. package/dist/{Incentive-wM4zizTH.cjs.map → Incentive-DvNdIJ_x.cjs.map} +1 -1
  47. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  48. package/dist/Incentives/AllowListIncentive.js +3 -3
  49. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  50. package/dist/Incentives/CGDAIncentive.js +2 -2
  51. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  52. package/dist/Incentives/ERC20Incentive.js +2 -2
  53. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  54. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +2 -2
  55. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  56. package/dist/Incentives/ERC20VariableIncentive.js +2 -2
  57. package/dist/Incentives/Incentive.cjs +1 -1
  58. package/dist/Incentives/Incentive.js +3 -3
  59. package/dist/Incentives/PointsIncentive.cjs +1 -1
  60. package/dist/Incentives/PointsIncentive.js +2 -2
  61. package/dist/{SimpleDenyList-Cybtz7AK.cjs → SimpleDenyList-BAIrFBAW.cjs} +2 -2
  62. package/dist/{SimpleDenyList-Cybtz7AK.cjs.map → SimpleDenyList-BAIrFBAW.cjs.map} +1 -1
  63. package/dist/{SimpleDenyList-CW4RwwRw.js → SimpleDenyList-C734XLxt.js} +11 -11
  64. package/dist/{SimpleDenyList-CW4RwwRw.js.map → SimpleDenyList-C734XLxt.js.map} +1 -1
  65. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  66. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  67. package/dist/Validators/LimitedSignerValidator.d.ts +1 -1
  68. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  69. package/dist/Validators/LimitedSignerValidator.js +2 -2
  70. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  71. package/dist/Validators/SignerValidator.cjs +1 -1
  72. package/dist/Validators/SignerValidator.cjs.map +1 -1
  73. package/dist/Validators/SignerValidator.d.ts +1 -1
  74. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  75. package/dist/Validators/SignerValidator.js +2 -2
  76. package/dist/Validators/SignerValidator.js.map +1 -1
  77. package/dist/Validators/Validator.cjs +1 -1
  78. package/dist/Validators/Validator.js +2 -2
  79. package/dist/componentInterfaces-5Ezh3Pvx.js +19 -0
  80. package/dist/componentInterfaces-5Ezh3Pvx.js.map +1 -0
  81. package/dist/componentInterfaces-Cm4Zfn1v.cjs +2 -0
  82. package/dist/componentInterfaces-Cm4Zfn1v.cjs.map +1 -0
  83. package/dist/{deployments-DqjtOTUr.js → deployments-3RHH-eW7.js} +3 -3
  84. package/dist/{deployments-DqjtOTUr.js.map → deployments-3RHH-eW7.js.map} +1 -1
  85. package/dist/errors.cjs +1 -1
  86. package/dist/errors.cjs.map +1 -1
  87. package/dist/errors.js +1 -1
  88. package/dist/errors.js.map +1 -1
  89. package/dist/generated-BPiHi7W2.cjs +3 -0
  90. package/dist/{generated-DgXPUgXl.cjs.map → generated-BPiHi7W2.cjs.map} +1 -1
  91. package/dist/{generated-pJZHmRCK.js → generated-CElkFqkY.js} +1315 -682
  92. package/dist/{generated-pJZHmRCK.js.map → generated-CElkFqkY.js.map} +1 -1
  93. package/dist/index.cjs +1 -1
  94. package/dist/index.d.ts +1 -0
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +155 -152
  97. package/package.json +2 -2
  98. package/src/AllowLists/SimpleAllowList.ts +2 -2
  99. package/src/BoostCore.ts +36 -4
  100. package/src/Budgets/Budget.ts +8 -2
  101. package/src/Budgets/ManagedBudgetWithFees.test.ts +0 -1
  102. package/src/Budgets/ManagedBudgetWithFeesV2.test.ts +327 -0
  103. package/src/Budgets/ManagedBudgetWithFeesV2.ts +713 -0
  104. package/src/Validators/LimitedSignerValidator.ts +1 -1
  105. package/src/Validators/SignerValidator.ts +1 -1
  106. package/src/errors.ts +1 -1
  107. package/src/index.ts +1 -0
  108. package/dist/Budget-DMbfdTom.cjs +0 -2
  109. package/dist/Budget-DMbfdTom.cjs.map +0 -1
  110. package/dist/Budget-DO6sGTIR.js +0 -463
  111. package/dist/Budget-DO6sGTIR.js.map +0 -1
  112. package/dist/componentInterfaces-D7r9xJmt.cjs +0 -2
  113. package/dist/componentInterfaces-D7r9xJmt.cjs.map +0 -1
  114. package/dist/componentInterfaces-PR3ijhgZ.js +0 -18
  115. package/dist/componentInterfaces-PR3ijhgZ.js.map +0 -1
  116. package/dist/generated-DgXPUgXl.cjs +0 -3
@@ -1,9 +1,9 @@
1
- import { bL as V, bM as u0, bN as o0, bO as p0, bP as c0 } from "../generated-pJZHmRCK.js";
1
+ import { bG as V, bH as u0, bI as o0, bJ as p0, bK as c0 } from "../generated-CElkFqkY.js";
2
2
  import { getTransaction as B, getTransactionReceipt as Q } from "@wagmi/core";
3
- import { isAddressEqual as N, toEventSelector as j, decodeFunctionData as X, isAddress as z, decodeEventLog as O, zeroHash as E, fromHex as k, encodeAbiParameters as y0, pad as G, zeroAddress as b0, trim as l0 } from "viem";
4
- import { f as h0 } from "../deployments-DqjtOTUr.js";
3
+ import { isAddressEqual as E, toEventSelector as j, decodeFunctionData as K, isAddress as X, decodeEventLog as O, zeroHash as N, fromHex as k, encodeAbiParameters as y0, pad as F, zeroAddress as b0, trim as l0 } from "viem";
4
+ import { e as h0 } from "../deployments-3RHH-eW7.js";
5
5
  import { DeployableTarget as g0 } from "../Deployable/DeployableTarget.js";
6
- import { ValidationAbiMissingError as R, FunctionDataDecodeError as K, UnparseableAbiParamError as $, DecodedArgsMalformedError as x0, DecodedArgsError as d0, FieldValueUndefinedError as Y, InvalidTupleDecodingError as T, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as Z, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as q } from "../errors.js";
6
+ import { ValidationAbiMissingError as R, FunctionDataDecodeError as z, UnparseableAbiParamError as $, DecodedArgsMalformedError as x0, DecodedArgsError as d0, FieldValueUndefinedError as Y, InvalidTupleDecodingError as T, UnrecognizedFilterTypeError as m0, FieldValueNotComparableError as J, InvalidNumericalCriteriaError as _, NoEventActionStepsProvidedError as w0, TooManyEventActionStepsProvidedError as A0, InvalidTupleEncodingError as Z } from "../errors.js";
7
7
  import { RegistryType as T0, CheatCodes as S, TRANSFER_SIGNATURE as M } from "../utils.js";
8
8
  const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b8160c01c808260011c146073578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b608051611c276100905f395f6101510152611c275ff3fe6080604052600436106100ad575f3560e01c80639bc1cf8111610066578063d7768c471161004c578063d7768c4714610206578063dbdf211014610232578063ddd6ab0814610253575f80fd5b80639bc1cf81146101b9578063c26624e8146101da575f80fd5b806328d6183b1161009657806328d6183b14610106578063393df8cb14610140578063439fab9114610198575f80fd5b806301ffc9a7146100b157806309c5eabe146100e5575b5f80fd5b3480156100bc575f80fd5b506100d06100cb366004611281565b610270565b60405190151581526020015b60405180910390f35b6100f86100f33660046112c7565b6102cb565b6040516100dc929190611381565b348015610111575f80fd5b506040517f7687b0ed0000000000000000000000000000000000000000000000000000000081526020016100dc565b34801561014b575f80fd5b506101737f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dc565b3480156101a3575f80fd5b506101b76101b23660046112c7565b610300565b005b3480156101c4575f80fd5b506101cd6103a0565b6040516100dc919061149b565b3480156101e5575f80fd5b506101f96101f436600461151c565b61059f565b6040516100dc9190611533565b348015610211575f80fd5b506102256102203660046112c7565b61077a565b6040516100dc9190611545565b34801561023d575f80fd5b506102466107ae565b6040516100dc91906115a7565b34801561025e575f80fd5b506004546040519081526020016100dc565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7687b0ed0000000000000000000000000000000000000000000000000000000014806102c557506102c582610858565b92915050565b5f60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156103515760018160011c14303b106103485763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610366610361838501856118a8565b6108ad565b801561039b576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610596578382905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff166001811115610410576104106113a3565b6001811115610421576104216113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610494576104946113a3565b60078111156104a5576104a56113a3565b81528154602090910190610100900460ff1660058111156104c8576104c86113a3565b60058111156104d9576104d96113a3565b8152815462010000900463ffffffff166020820152600182018054604090920191610503906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461052f906119a9565b801561057a5780601f106105515761010080835404028352916020019161057a565b820191905f5260205f20905b81548152906001019060200180831161055d57829003601f168201915b50505050508152505081525050815260200190600101906103c3565b50505050905090565b6105a7611226565b600482815481106105ba576105ba6119fa565b905f5260205f2090600502016040518060c00160405290815f8201548152602001600182015f9054906101000a900460ff1660018111156105fd576105fd6113a3565b600181111561060e5761060e6113a3565b81526001820154610100810460ff90811660208401526201000090910473ffffffffffffffffffffffffffffffffffffffff1660408084019190915260028401546060840152805160808082019092526003850180549290940193909290918391166007811115610681576106816113a3565b6007811115610692576106926113a3565b81528154602090910190610100900460ff1660058111156106b5576106b56113a3565b60058111156106c6576106c66113a3565b8152815462010000900463ffffffff1660208201526001820180546040909201916106f0906119a9565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906119a9565b80156107675780601f1061073e57610100808354040283529160200191610767565b820191905f5260205f20905b81548152906001019060200180831161074a57829003601f168201915b5050509190925250505090525092915050565b60606040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040805160a081019091525f8054829060ff1660018111156107fc576107fc6113a3565b600181111561080d5761080d6113a3565b815260018201546020820152600282015460ff81166040830152610100900473ffffffffffffffffffffffffffffffffffffffff166060820152600390910154608090910152919050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe67157950000000000000000000000000000000000000000000000000000000014806102c557506102c582611156565b6108b56111ec565b805180515f8054909190829060ff1916600183818111156108d8576108d86113a3565b02179055506020828101516001808401919091556040840151600284018054606087015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff00000000000000000000000000000000000000000090911660ff90931692909217919091179055608090930151600390920191909155828101516004805480850182555f91909152815160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b8101918255928201517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c90930180549294919392909160ff19919091169083818111156109e1576109e16113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610aa257610aa26113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ae757610ae76113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610b3b9082611a72565b505050604083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610bcc57610bcc6113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610c8d57610c8d6113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610cd257610cd26113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610d269082611a72565b505050606083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610db757610db76113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115610e7857610e786113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100836005811115610ebd57610ebd6113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff90911617815560608201516001820190610f119082611a72565b505050608083015160048054600181810183555f92909252825160059091027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b810191825560208401517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c909101805494965091945092909160ff19909116908381811115610fa257610fa26113a3565b0217905550604082015160018083018054606086015173ffffffffffffffffffffffffffffffffffffffff1662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff60ff90951661010002949094167fffffffffffffffffffff000000000000000000000000000000000000000000ff90911617929092179091556080830151600283015560a0830151805160038401805492939092839160ff1990911690836007811115611063576110636113a3565b02179055506020820151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101008360058111156110a8576110a86113a3565b02179055506040820151815463ffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff909116178155606082015160018201906110fc9082611a72565b50505050507fdc8145a6c863ebd27b18aa903b7f82f1015527a05a81f227ef06ab79616082b4815f0151826020015183604001518460600151856080015160405161114b959493929190611b89565b60405180910390a150565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806102c557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146102c5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546001166112235763d7e6bcf85f526004601cfd5b50565b6040805160c081019091525f808252602082019081525f6020820181905260408201819052606082015260800161127c6040805160808101909152805f81526020015f81525f6020820152606060409091015290565b905290565b5f60208284031215611291575f80fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146112c0575f80fd5b9392505050565b5f80602083850312156112d8575f80fd5b823567ffffffffffffffff8111156112ee575f80fd5b8301601f810185136112fe575f80fd5b803567ffffffffffffffff811115611314575f80fd5b856020828401011115611325575f80fd5b6020919091019590945092505050565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b8215158152604060208201525f61139b6040830184611335565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600281106113e0576113e06113a3565b9052565b805182525f60208201516113fb60208501826113d0565b5060ff604083015116604084015273ffffffffffffffffffffffffffffffffffffffff60608301511660608401526080820151608084015260a082015160c060a0850152805160088110611451576114516113a3565b60c085015260208101516006811061146b5761146b6113a3565b60e0850152604081015163ffffffff1661010085015260600151608061012085015261139b610140850182611335565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b82811015611510577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08786030184526114fb8583516113e4565b945060209384019391909101906001016114c1565b50929695505050505050565b5f6020828403121561152c575f80fd5b5035919050565b602081525f6112c060208301846113e4565b602081525f6112c06020830184611335565b6115628282516113d0565b6020810151602083015260ff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff6060820151166060830152608081015160808301525050565b60a081016102c58284611557565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff81118282101715611605576116056115b5565b60405290565b60405160c0810167ffffffffffffffff81118282101715611605576116056115b5565b6040516080810167ffffffffffffffff81118282101715611605576116056115b5565b80356002811061165f575f80fd5b919050565b803560ff8116811461165f575f80fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461165f575f80fd5b5f60a082840312156116a7575f80fd5b6116af6115e2565b90506116ba82611651565b8152602082810135908201526116d260408301611664565b60408201526116e360608301611674565b606082015260809182013591810191909152919050565b5f82601f830112611709575f80fd5b813567ffffffffffffffff811115611723576117236115b5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810167ffffffffffffffff81118282101715611770576117706115b5565b604052818152838201602001851015611787575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60c082840312156117b3575f80fd5b6117bb61160b565b8235815290506117cd60208301611651565b60208201526117de60408301611664565b60408201526117ef60608301611674565b60608201526080828101359082015260a082013567ffffffffffffffff811115611817575f80fd5b820160808185031215611828575f80fd5b61183061162e565b81356008811061183e575f80fd5b8152602082013560068110611851575f80fd5b6020820152604082013563ffffffff8116811461186c575f80fd5b6040820152606082013567ffffffffffffffff81111561188a575f80fd5b611896868285016116fa565b60608301525060a08301525092915050565b5f602082840312156118b8575f80fd5b813567ffffffffffffffff8111156118ce575f80fd5b820161012081850312156118e0575f80fd5b6118e86115e2565b6118f28583611697565b815260a082013567ffffffffffffffff81111561190d575f80fd5b611919868285016117a3565b60208301525060c082013567ffffffffffffffff811115611938575f80fd5b611944868285016117a3565b60408301525060e082013567ffffffffffffffff811115611963575f80fd5b61196f868285016117a3565b60608301525061010082013567ffffffffffffffff81111561198f575f80fd5b61199b868285016117a3565b608083015250949350505050565b600181811c908216806119bd57607f821691505b6020821081036119f4577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b601f82111561039b57805f5260205f20601f840160051c81016020851015611a4c5750805b601f840160051c820191505b81811015611a6b575f8155600101611a58565b5050505050565b815167ffffffffffffffff811115611a8c57611a8c6115b5565b611aa081611a9a84546119a9565b84611a27565b6020601f821160018114611af1575f8315611abb5750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b178455611a6b565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611b3e5787850151825560209485019460019092019101611b1e565b5084821015611b7a57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b611b938187611557565b61012060a08201525f611baa6101208301876113e4565b82810360c0840152611bbc81876113e4565b905082810360e0840152611bd081866113e4565b9050828103610100840152611be581856113e4565b9897505050505050505056fea2646970667358221220d56d85089e2c998c805bbe0d4e5ad7257c3cb379f303d0012771ee0f026004f864736f6c634300081a0033", I0 = {
9
9
  "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": {
@@ -1380,7 +1380,7 @@ const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd1980
1380
1380
  }
1381
1381
  ]
1382
1382
  }
1383
- }, h = Symbol.for("@ts-pattern/matcher"), N0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), L = (t) => t && !!t[h], l = (t, f, e) => {
1383
+ }, h = Symbol.for("@ts-pattern/matcher"), E0 = Symbol.for("@ts-pattern/isVariadic"), D = "@ts-pattern/anonymous-select-key", H = (t) => !!(t && typeof t == "object"), L = (t) => t && !!t[h], l = (t, f, e) => {
1384
1384
  if (L(t)) {
1385
1385
  const n = t[h](), { matched: d, selections: i } = n.match(f);
1386
1386
  return d && i && Object.keys(i).forEach((a) => e(a, i[a])), d;
@@ -1392,7 +1392,7 @@ const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd1980
1392
1392
  let n = [], d = [], i = [];
1393
1393
  for (const a of t.keys()) {
1394
1394
  const s = t[a];
1395
- L(s) && s[N0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
1395
+ L(s) && s[E0] ? i.push(s) : i.length ? d.push(s) : n.push(s);
1396
1396
  }
1397
1397
  if (i.length) {
1398
1398
  if (i.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
@@ -1414,9 +1414,9 @@ const v0 = "0x60a0604052348015600e575f80fd5b5060156019565b6078565b63409feecd1980
1414
1414
  return H(t) ? L(t) ? (f = (e = (n = t[h]()).getSelectionKeys) == null ? void 0 : e.call(n)) != null ? f : [] : Array.isArray(t) ? C(t, A) : C(Object.values(t), A) : [];
1415
1415
  }, C = (t, f) => t.reduce((e, n) => e.concat(f(n)), []);
1416
1416
  function c(t) {
1417
- return Object.assign(t, { optional: () => E0(t), and: (f) => o(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? J(t) : J(f, t) });
1417
+ return Object.assign(t, { optional: () => N0(t), and: (f) => o(t, f), or: (f) => S0(t, f), select: (f) => f === void 0 ? q(t) : q(f, t) });
1418
1418
  }
1419
- function E0(t) {
1419
+ function N0(t) {
1420
1420
  return c({ [h]: () => ({ match: (f) => {
1421
1421
  let e = {};
1422
1422
  const n = (d, i) => {
@@ -1446,7 +1446,7 @@ function S0(...t) {
1446
1446
  function u(t) {
1447
1447
  return { [h]: () => ({ match: (f) => ({ matched: !!t(f) }) }) };
1448
1448
  }
1449
- function J(...t) {
1449
+ function q(...t) {
1450
1450
  const f = typeof t[0] == "string" ? t[0] : void 0, e = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
1451
1451
  return c({ [h]: () => ({ match: (n) => {
1452
1452
  let d = { [f ?? D]: n };
@@ -1508,9 +1508,9 @@ class C0 extends Error {
1508
1508
  super(`Pattern matching error: no pattern matches value ${e}`), this.input = void 0, this.input = f;
1509
1509
  }
1510
1510
  }
1511
- const F = { matched: !1, value: void 0 };
1511
+ const G = { matched: !1, value: void 0 };
1512
1512
  function f0(t) {
1513
- return new U(t, F);
1513
+ return new U(t, G);
1514
1514
  }
1515
1515
  class U {
1516
1516
  constructor(f, e) {
@@ -1524,13 +1524,13 @@ class U {
1524
1524
  let i = !1, a = {};
1525
1525
  const s = (p, I) => {
1526
1526
  i = !0, a[p] = I;
1527
- }, r = !n.some((p) => l(p, this.input, s)) || d && !d(this.input) ? F : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
1527
+ }, r = !n.some((p) => l(p, this.input, s)) || d && !d(this.input) ? G : { matched: !0, value: e(i ? D in a ? a[D] : a : this.input, this.input) };
1528
1528
  return new U(this.input, r);
1529
1529
  }
1530
1530
  when(f, e) {
1531
1531
  if (this.state.matched) return this;
1532
1532
  const n = !!f(this.input);
1533
- return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } : F);
1533
+ return new U(this.input, n ? { matched: !0, value: e(this.input, this.input) } : G);
1534
1534
  }
1535
1535
  otherwise(f) {
1536
1536
  return this.state.matched ? this.state.value : f(this.input);
@@ -1705,7 +1705,7 @@ const W = class W extends g0 {
1705
1705
  let i;
1706
1706
  if ("logs" in e) {
1707
1707
  for (let r of e.logs) {
1708
- if (!N(r.address, f.targetContract)) continue;
1708
+ if (!E(r.address, f.targetContract)) continue;
1709
1709
  let p = this.validateClaimantAgainstArgs(
1710
1710
  f,
1711
1711
  r
@@ -1723,7 +1723,7 @@ const W = class W extends g0 {
1723
1723
  let s;
1724
1724
  n === M ? { decodedLogs: s } = await this.decodeTransferLogs(a) : s = a.logs.filter((r) => r.topics[0] === j(d)).map((r) => n0(d, r));
1725
1725
  for (let r of s) {
1726
- if (!N(r.address, f.targetContract)) continue;
1726
+ if (!E(r.address, f.targetContract)) continue;
1727
1727
  let p = this.validateClaimantAgainstArgs(f, r);
1728
1728
  p && (i = p);
1729
1729
  }
@@ -1734,18 +1734,18 @@ const W = class W extends g0 {
1734
1734
  ...e,
1735
1735
  chainId: f.chainid
1736
1736
  });
1737
- if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !N(d.to, f.targetContract)) return;
1737
+ if (e.notBeforeBlockNumber && d.blockNumber < e.notBeforeBlockNumber || !E(d.to, f.targetContract)) return;
1738
1738
  let i;
1739
1739
  if (e.abiItem ? i = e.abiItem : i = e.knownSignatures[n], !i)
1740
1740
  throw new R(f.signature);
1741
1741
  let a;
1742
1742
  try {
1743
- a = X({
1743
+ a = K({
1744
1744
  abi: [i],
1745
1745
  data: d.input
1746
1746
  });
1747
1747
  } catch (s) {
1748
- throw new K([i], s);
1748
+ throw new z([i], s);
1749
1749
  }
1750
1750
  return this.validateClaimantAgainstArgs(f, a);
1751
1751
  }
@@ -1762,7 +1762,7 @@ const W = class W extends g0 {
1762
1762
  if (!e || !Array.isArray(e == null ? void 0 : e.args) || (e == null ? void 0 : e.args.length) <= f.fieldIndex)
1763
1763
  return;
1764
1764
  const n = e.args.at(f.fieldIndex);
1765
- if (z(n)) return n;
1765
+ if (X(n)) return n;
1766
1766
  }
1767
1767
  /**
1768
1768
  * Retrieves action steps, and uses them to validate against, and optionally fetch logs that match the step's signature.
@@ -1925,7 +1925,7 @@ const W = class W extends g0 {
1925
1925
  parseFieldFromAbi(f, e, n, d) {
1926
1926
  if (e === S.ANY_ACTION_PARAM)
1927
1927
  return {
1928
- value: E,
1928
+ value: N,
1929
1929
  type: 2
1930
1930
  /* BYTES */
1931
1931
  };
@@ -1937,21 +1937,21 @@ const W = class W extends g0 {
1937
1937
  filterType: 0,
1938
1938
  fieldType: d,
1939
1939
  fieldIndex: e,
1940
- filterData: E
1940
+ filterData: N
1941
1941
  }
1942
1942
  });
1943
1943
  const a = n[e];
1944
1944
  if (!a || !a.type)
1945
1945
  throw new $(e, a);
1946
1946
  const s = f[e], r = a0(a.type);
1947
- if (r === 1 && (typeof s != "string" || !z(s)))
1947
+ if (r === 1 && (typeof s != "string" || !X(s)))
1948
1948
  throw new Y({
1949
1949
  fieldValue: s,
1950
1950
  criteria: {
1951
1951
  fieldIndex: e,
1952
1952
  filterType: 0,
1953
1953
  fieldType: r,
1954
- filterData: E
1954
+ filterData: N
1955
1955
  }
1956
1956
  });
1957
1957
  return { value: s, type: r };
@@ -1979,12 +1979,12 @@ const W = class W extends g0 {
1979
1979
  throw new R(i);
1980
1980
  let s;
1981
1981
  try {
1982
- s = X({
1982
+ s = K({
1983
1983
  abi: [a],
1984
1984
  data: e.input
1985
1985
  });
1986
1986
  } catch (r) {
1987
- throw new K([a], r);
1987
+ throw new z([a], r);
1988
1988
  }
1989
1989
  if (!(s != null && s.args))
1990
1990
  return !1;
@@ -2026,7 +2026,7 @@ const W = class W extends g0 {
2026
2026
  case 0:
2027
2027
  return f0(d).with(
2028
2028
  1,
2029
- () => N(f.filterData, e)
2029
+ () => E(f.filterData, e)
2030
2030
  ).with(
2031
2031
  0,
2032
2032
  () => BigInt(e) === BigInt(f.filterData)
@@ -2037,7 +2037,7 @@ const W = class W extends g0 {
2037
2037
  case 1:
2038
2038
  return f0(d).with(
2039
2039
  1,
2040
- () => !N(f.filterData, e)
2040
+ () => !E(f.filterData, e)
2041
2041
  ).with(
2042
2042
  0,
2043
2043
  () => BigInt(e) !== BigInt(f.filterData)
@@ -2085,14 +2085,14 @@ const W = class W extends g0 {
2085
2085
  let i;
2086
2086
  return d === 3 ? i = k(f.filterData, "string") : i = f.filterData.slice(2), e.includes(i);
2087
2087
  }
2088
- throw new Z({
2088
+ throw new J({
2089
2089
  ...n,
2090
2090
  criteria: f,
2091
2091
  fieldValue: e
2092
2092
  });
2093
2093
  case 5:
2094
2094
  if (typeof e != "string")
2095
- throw new Z({
2095
+ throw new J({
2096
2096
  ...n,
2097
2097
  criteria: f,
2098
2098
  fieldValue: e
@@ -2238,13 +2238,13 @@ function r0(t) {
2238
2238
  throw new Error("Invalid signature format");
2239
2239
  }
2240
2240
  function D0(t) {
2241
- return l0(G(t));
2241
+ return l0(F(t));
2242
2242
  }
2243
2243
  function P(t) {
2244
2244
  return {
2245
2245
  ...s0(t),
2246
2246
  signatureType: t.signatureType ?? r0(t.signature),
2247
- signature: G(t.signature),
2247
+ signature: F(t.signature),
2248
2248
  actionType: t.actionType || 0,
2249
2249
  actionParameter: t.actionParameter.fieldType === 0 ? {
2250
2250
  ...t.actionParameter,
@@ -2368,7 +2368,7 @@ function U0({
2368
2368
  actionClaimant: {
2369
2369
  ...s0(t),
2370
2370
  signatureType: t.signatureType ?? r0(t.signature),
2371
- signature: G(t.signature)
2371
+ signature: F(t.signature)
2372
2372
  },
2373
2373
  actionStepOne: P(f),
2374
2374
  actionStepTwo: P(e),
@@ -2383,26 +2383,26 @@ function j0() {
2383
2383
  filterType: 0,
2384
2384
  fieldType: 2,
2385
2385
  fieldIndex: S.ANY_ACTION_PARAM,
2386
- filterData: E
2386
+ filterData: N
2387
2387
  };
2388
2388
  }
2389
- function X0(t) {
2389
+ function K0(t) {
2390
2390
  return {
2391
2391
  signatureType: 0,
2392
- signature: E,
2392
+ signature: N,
2393
2393
  fieldIndex: S.TX_SENDER_CLAIMANT,
2394
2394
  targetContract: b0,
2395
2395
  chainid: t
2396
2396
  };
2397
2397
  }
2398
2398
  const v = 63;
2399
- function z0(t) {
2399
+ function X0(t) {
2400
2400
  if (t.length > 5)
2401
- throw new q("Can only pack up to 5 indexes.");
2401
+ throw new Z("Can only pack up to 5 indexes.");
2402
2402
  let f = 0;
2403
2403
  return t.forEach((e, n) => {
2404
2404
  if (e > v)
2405
- throw new q(
2405
+ throw new Z(
2406
2406
  `Index ${e} exceeds the maximum allowed value (${v}).`
2407
2407
  );
2408
2408
  f |= (e & v) << n * 6;
@@ -2452,9 +2452,9 @@ export {
2452
2452
  n0 as decodeAndReorderLogArgs,
2453
2453
  r0 as detectSignatureType,
2454
2454
  _0 as isEventActionPayloadSimple,
2455
- z0 as packFieldIndexes,
2455
+ X0 as packFieldIndexes,
2456
2456
  U0 as prepareEventActionPayload,
2457
- X0 as transactionSenderClaimant,
2457
+ K0 as transactionSenderClaimant,
2458
2458
  W0 as unpackFieldIndexes
2459
2459
  };
2460
2460
  //# sourceMappingURL=EventAction.js.map