@boostxyz/sdk 7.3.0 → 7.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +2 -2
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.d.ts.map +1 -1
  6. package/dist/Actions/EventAction.js +160 -159
  7. package/dist/Actions/EventAction.js.map +1 -1
  8. package/dist/AllowLists/AllowList.cjs +1 -1
  9. package/dist/AllowLists/AllowList.js +3 -3
  10. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  11. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
  12. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
  13. package/dist/AllowLists/SimpleAllowList.js +30 -30
  14. package/dist/AllowLists/SimpleAllowList.js.map +1 -1
  15. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  16. package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
  17. package/dist/AllowLists/SimpleDenyList.js +3 -3
  18. package/dist/Auth/PassthroughAuth.cjs +1 -1
  19. package/dist/Auth/PassthroughAuth.js +1 -1
  20. package/dist/BoostCore.cjs +2 -2
  21. package/dist/BoostCore.cjs.map +1 -1
  22. package/dist/BoostCore.d.ts +14 -0
  23. package/dist/BoostCore.d.ts.map +1 -1
  24. package/dist/BoostCore.js +199 -180
  25. package/dist/BoostCore.js.map +1 -1
  26. package/dist/BoostRegistry.cjs +1 -1
  27. package/dist/BoostRegistry.cjs.map +1 -1
  28. package/dist/BoostRegistry.d.ts.map +1 -1
  29. package/dist/BoostRegistry.js +31 -31
  30. package/dist/BoostRegistry.js.map +1 -1
  31. package/dist/Budget-DGg1wCa6.cjs +2 -0
  32. package/dist/Budget-DGg1wCa6.cjs.map +1 -0
  33. package/dist/{Budget-B-grnRq9.js → Budget-ZnzzZsjK.js} +102 -102
  34. package/dist/Budget-ZnzzZsjK.js.map +1 -0
  35. package/dist/Budgets/Budget.cjs +1 -1
  36. package/dist/Budgets/Budget.js +3 -3
  37. package/dist/Budgets/ManagedBudget.cjs +1 -1
  38. package/dist/Budgets/ManagedBudget.cjs.map +1 -1
  39. package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
  40. package/dist/Budgets/ManagedBudget.js +48 -48
  41. package/dist/Budgets/ManagedBudget.js.map +1 -1
  42. package/dist/Budgets/ManagedBudgetWithFees.d.ts.map +1 -1
  43. package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts.map +1 -1
  44. package/dist/Budgets/TransparentBudget.d.ts.map +1 -1
  45. package/dist/Budgets/VestingBudget.d.ts.map +1 -1
  46. package/dist/Deployable/DeployableTarget.cjs +1 -1
  47. package/dist/Deployable/DeployableTarget.cjs.map +1 -1
  48. package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
  49. package/dist/Deployable/DeployableTarget.js +5 -8
  50. package/dist/Deployable/DeployableTarget.js.map +1 -1
  51. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  52. package/dist/Deployable/DeployableTargetWithRBAC.js +19 -19
  53. package/dist/{Incentive-Bz_g-nID.js → Incentive-CYj6lbM5.js} +64 -64
  54. package/dist/Incentive-CYj6lbM5.js.map +1 -0
  55. package/dist/{Incentive-Dufx0ZjH.cjs → Incentive-Ckxpw7EN.cjs} +2 -2
  56. package/dist/Incentive-Ckxpw7EN.cjs.map +1 -0
  57. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  58. package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
  59. package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
  60. package/dist/Incentives/AllowListIncentive.js +36 -36
  61. package/dist/Incentives/AllowListIncentive.js.map +1 -1
  62. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  63. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  64. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
  65. package/dist/Incentives/CGDAIncentive.js +37 -37
  66. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  67. package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
  68. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  69. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  70. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
  71. package/dist/Incentives/ERC20Incentive.js +44 -44
  72. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  73. package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
  74. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs +1 -1
  75. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs.map +1 -1
  76. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +1 -1
  77. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js +63 -63
  78. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js.map +1 -1
  79. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +1 -1
  80. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs.map +1 -1
  81. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.d.ts.map +1 -1
  82. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +55 -53
  83. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js.map +1 -1
  84. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  85. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
  86. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  87. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +45 -45
  88. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
  89. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +1 -1
  90. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs.map +1 -1
  91. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts.map +1 -1
  92. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +51 -49
  93. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js.map +1 -1
  94. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  95. package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
  96. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  97. package/dist/Incentives/ERC20VariableIncentive.js +38 -38
  98. package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
  99. package/dist/Incentives/Incentive.cjs +1 -1
  100. package/dist/Incentives/Incentive.js +3 -3
  101. package/dist/Incentives/PointsIncentive.cjs +1 -1
  102. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  103. package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
  104. package/dist/Incentives/PointsIncentive.js +35 -35
  105. package/dist/Incentives/PointsIncentive.js.map +1 -1
  106. package/dist/{SimpleDenyList-BlLgvhjE.js → SimpleDenyList-DUO4ex__.js} +32 -32
  107. package/dist/SimpleDenyList-DUO4ex__.js.map +1 -0
  108. package/dist/{SimpleDenyList-B2YDJ_gk.cjs → SimpleDenyList-v5G-fPfm.cjs} +2 -2
  109. package/dist/SimpleDenyList-v5G-fPfm.cjs.map +1 -0
  110. package/dist/Validator-BA8RC2J6.cjs +2 -0
  111. package/dist/Validator-BA8RC2J6.cjs.map +1 -0
  112. package/dist/Validator-D4CzwdB9.js +409 -0
  113. package/dist/Validator-D4CzwdB9.js.map +1 -0
  114. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  115. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  116. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  117. package/dist/Validators/LimitedSignerValidator.js +39 -39
  118. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  119. package/dist/Validators/PayableLimitedSignerValidator.d.ts +829 -0
  120. package/dist/Validators/PayableLimitedSignerValidator.d.ts.map +1 -0
  121. package/dist/Validators/SignerValidator.cjs +1 -1
  122. package/dist/Validators/SignerValidator.cjs.map +1 -1
  123. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  124. package/dist/Validators/SignerValidator.js +48 -48
  125. package/dist/Validators/SignerValidator.js.map +1 -1
  126. package/dist/Validators/Validator.cjs +1 -1
  127. package/dist/Validators/Validator.cjs.map +1 -1
  128. package/dist/Validators/Validator.d.ts +4 -3
  129. package/dist/Validators/Validator.d.ts.map +1 -1
  130. package/dist/Validators/Validator.js +14 -50
  131. package/dist/Validators/Validator.js.map +1 -1
  132. package/dist/componentInterfaces-D4QdH2Qz.cjs +2 -0
  133. package/dist/componentInterfaces-D4QdH2Qz.cjs.map +1 -0
  134. package/dist/componentInterfaces-DCTot4_O.js +24 -0
  135. package/dist/componentInterfaces-DCTot4_O.js.map +1 -0
  136. package/dist/{deployments-DKtAq6BT.js → deployments-B-ZU0zVY.js} +61 -34
  137. package/dist/{deployments-DKtAq6BT.js.map → deployments-B-ZU0zVY.js.map} +1 -1
  138. package/dist/deployments-CaacquP1.cjs +2 -0
  139. package/dist/deployments-CaacquP1.cjs.map +1 -0
  140. package/dist/deployments.json +32 -4
  141. package/dist/generated-BOBQ2ut4.cjs +3 -0
  142. package/dist/generated-BOBQ2ut4.cjs.map +1 -0
  143. package/dist/{generated-CINzoGbl.js → generated-ffteMTHN.js} +1157 -776
  144. package/dist/generated-ffteMTHN.js.map +1 -0
  145. package/dist/index.cjs +1 -1
  146. package/dist/index.d.ts +1 -0
  147. package/dist/index.d.ts.map +1 -1
  148. package/dist/index.js +123 -118
  149. package/package.json +1 -1
  150. package/src/Actions/EventAction.ts +3 -1
  151. package/src/AllowLists/SimpleAllowList.ts +3 -1
  152. package/src/AllowLists/SimpleDenyList.ts +3 -1
  153. package/src/BoostCore.ts +30 -1
  154. package/src/BoostRegistry.ts +3 -1
  155. package/src/Budgets/ManagedBudget.ts +3 -1
  156. package/src/Budgets/ManagedBudgetWithFees.ts +3 -1
  157. package/src/Budgets/ManagedBudgetWithFeesV2.ts +3 -1
  158. package/src/Budgets/TransparentBudget.ts +3 -1
  159. package/src/Budgets/VestingBudget.ts +3 -1
  160. package/src/Deployable/DeployableTarget.ts +2 -3
  161. package/src/Incentives/AllowListIncentive.ts +3 -1
  162. package/src/Incentives/CGDAIncentive.ts +3 -1
  163. package/src/Incentives/ERC1155Incentive.ts +3 -1
  164. package/src/Incentives/ERC20Incentive.ts +3 -1
  165. package/src/Incentives/ERC20PeggedIncentive.ts +3 -1
  166. package/src/Incentives/ERC20PeggedVariableCriteriaIncentive.ts +3 -1
  167. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.ts +6 -2
  168. package/src/Incentives/ERC20VariableCriteriaIncentive.ts +3 -1
  169. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.ts +5 -1
  170. package/src/Incentives/ERC20VariableIncentive.ts +3 -1
  171. package/src/Incentives/PointsIncentive.ts +3 -1
  172. package/src/Validators/LimitedSignerValidator.ts +3 -1
  173. package/src/Validators/PayableLimitedSignerValidator.test.ts +202 -0
  174. package/src/Validators/PayableLimitedSignerValidator.ts +667 -0
  175. package/src/Validators/SignerValidator.ts +3 -1
  176. package/src/Validators/Validator.ts +7 -1
  177. package/src/index.ts +1 -0
  178. package/dist/Budget-B-grnRq9.js.map +0 -1
  179. package/dist/Budget-uGKa2qzz.cjs +0 -2
  180. package/dist/Budget-uGKa2qzz.cjs.map +0 -1
  181. package/dist/Incentive-Bz_g-nID.js.map +0 -1
  182. package/dist/Incentive-Dufx0ZjH.cjs.map +0 -1
  183. package/dist/SimpleDenyList-B2YDJ_gk.cjs.map +0 -1
  184. package/dist/SimpleDenyList-BlLgvhjE.js.map +0 -1
  185. package/dist/componentInterfaces-C5ig8mCK.cjs +0 -2
  186. package/dist/componentInterfaces-C5ig8mCK.cjs.map +0 -1
  187. package/dist/componentInterfaces-Ddus5rIA.js +0 -23
  188. package/dist/componentInterfaces-Ddus5rIA.js.map +0 -1
  189. package/dist/deployments-Dk-Z1L2X.cjs +0 -2
  190. package/dist/deployments-Dk-Z1L2X.cjs.map +0 -1
  191. package/dist/generated-CINzoGbl.js.map +0 -1
  192. package/dist/generated-C_JEoLDO.cjs +0 -3
  193. package/dist/generated-C_JEoLDO.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./BoostRegistry.cjs"),d=require("./BoostCore.cjs"),I=require("./Boost.cjs"),A=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),E=require("./AllowLists/AllowList.cjs"),C=require("./AllowLists/SimpleAllowList.cjs"),v=require("./SimpleDenyList-B2YDJ_gk.cjs"),t=require("./Budget-uGKa2qzz.cjs"),n=require("./Budgets/ManagedBudget.cjs"),F=require("./Deployable/Deployable.cjs"),L=require("./Deployable/Contract.cjs"),f=require("./Deployable/DeployableTarget.cjs"),P=require("./Deployable/DeployableTargetWithRBAC.cjs"),b=require("./Incentives/AllowListIncentive.cjs"),R=require("./Incentives/CGDAIncentive.cjs"),S=require("./Incentives/ERC20Incentive.cjs"),l=require("./Incentive-Dufx0ZjH.cjs"),V=require("./Incentives/ERC20VariableIncentive.cjs"),y=require("./Incentives/ERC20VariableCriteriaIncentive.cjs"),m=require("./Incentives/ERC20PeggedVariableCriteriaIncentive.cjs"),u=require("./Incentives/ERC20VariableCriteriaIncentiveV2.cjs"),B=require("./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs"),T=require("./Incentives/PointsIncentive.cjs"),s=require("./Validators/SignerValidator.cjs"),p=require("./Validators/LimitedSignerValidator.cjs"),c=require("./Validators/Validator.cjs"),e=require("./errors.cjs"),i=require("./utils.cjs"),D=require("./claiming.cjs"),o=require("./transfers.cjs"),h=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-C_JEoLDO.cjs");exports.BOOST_REGISTRY_ADDRESS=g.BOOST_REGISTRY_ADDRESS;exports.BOOST_REGISTRY_ADDRESSES=g.BOOST_REGISTRY_ADDRESSES;exports.BoostRegistry=g.BoostRegistry;exports.BOOST_CORE_ADDRESS=d.BOOST_CORE_ADDRESS;exports.BOOST_CORE_ADDRESSES=d.BOOST_CORE_ADDRESSES;exports.BoostCore=d.BoostCore;exports.FEE_DENOMINATOR=d.FEE_DENOMINATOR;exports.Boost=I.Boost;exports.prepareBoostPayload=I.prepareBoostPayload;exports.ActionByComponentInterface=A.ActionByComponentInterface;exports.actionFromAddress=A.actionFromAddress;exports.EventAction=a.EventAction;exports.FilterType=a.FilterType;exports.PrimitiveType=a.PrimitiveType;exports.SignatureType=a.SignatureType;exports.ValueType=a.ValueType;exports.anyActionParameter=a.anyActionParameter;exports.decodeAndReorderLogArgs=a.decodeAndReorderLogArgs;exports.detectSignatureType=a.detectSignatureType;exports.getScalarValueFromTuple=a.getScalarValueFromTuple;exports.isCriteriaFieldIndexTuple=a.isCriteriaFieldIndexTuple;exports.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.packCriteriaFieldIndexes=a.packCriteriaFieldIndexes;exports.packFieldIndexes=a.packFieldIndexes;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.unpackCriteriaFieldIndexes=a.unpackCriteriaFieldIndexes;exports.unpackFieldIndexes=a.unpackFieldIndexes;exports.AllowListByComponentInterface=E.AllowListByComponentInterface;exports.OpenAllowList=E.OpenAllowList;exports.allowListFromAddress=E.allowListFromAddress;exports.LIST_MANAGER_ROLE=C.LIST_MANAGER_ROLE;exports.SimpleAllowList=C.SimpleAllowList;exports.prepareSimpleAllowListPayload=C.prepareSimpleAllowListPayload;exports.SimpleDenyList=v.SimpleDenyList;exports.prepareSimpleDenyListPayload=v.prepareSimpleDenyListPayload;exports.BudgetByComponentInterface=t.BudgetByComponentInterface;exports.ManagedBudgetWithFees=t.ManagedBudgetWithFees;exports.ManagedBudgetWithFeesV2=t.ManagedBudgetWithFeesV2;exports.TransparentBudget=t.TransparentBudget;exports.budgetFromAddress=t.budgetFromAddress;exports.prepareManagedBudgetWithFeesPayload=t.prepareManagedBudgetWithFeesPayload;exports.prepareManagedBudgetWithFeesV2Payload=t.prepareManagedBudgetWithFeesV2Payload;exports.ManagedBudget=n.ManagedBudget;exports.ManagedBudgetRoles=n.ManagedBudgetRoles;exports.isERC1155TransferPayload=n.isERC1155TransferPayload;exports.isFungibleTransfer=n.isFungibleTransfer;exports.prepareManagedBudgetPayload=n.prepareManagedBudgetPayload;exports.prepareTransfer=n.prepareTransfer;exports.Deployable=F.Deployable;exports.Contract=L.Contract;exports.DeployableTarget=f.DeployableTarget;exports.DeployableTargetWithRBAC=P.DeployableTargetWithRBAC;exports.Roles=P.Roles;exports.AllowListIncentive=b.AllowListIncentive;exports.prepareAllowListIncentivePayload=b.prepareAllowListIncentivePayload;exports.CGDAIncentive=R.CGDAIncentive;exports.prepareCGDAIncentivePayload=R.prepareCGDAIncentivePayload;exports.ERC20Incentive=S.ERC20Incentive;exports.prepareERC20IncentivePayload=S.prepareERC20IncentivePayload;exports.ERC20PeggedIncentive=l.ERC20PeggedIncentive;exports.IncentiveByComponentInterface=l.IncentiveByComponentInterface;exports.incentiveFromAddress=l.incentiveFromAddress;exports.prepareERC20PeggedIncentivePayload=l.prepareERC20PeggedIncentivePayload;exports.ERC20VariableIncentive=V.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=V.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentive=y.ERC20VariableCriteriaIncentive;exports.gasRebateIncentiveCriteria=y.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentivePayload=y.prepareERC20VariableCriteriaIncentivePayload;exports.ERC20PeggedVariableCriteriaIncentive=m.ERC20PeggedVariableCriteriaIncentive;exports.prepareERC20PeggedVariableCriteriaIncentivePayload=m.prepareERC20PeggedVariableCriteriaIncentivePayload;exports.ERC20VariableCriteriaIncentiveV2=u.ERC20VariableCriteriaIncentiveV2;exports.gasRebateIncentiveCriteriaV2=u.gasRebateIncentiveCriteriaV2;exports.prepareERC20VariableCriteriaIncentiveV2Payload=u.prepareERC20VariableCriteriaIncentiveV2Payload;exports.ERC20PeggedVariableCriteriaIncentiveV2=B.ERC20PeggedVariableCriteriaIncentiveV2;exports.prepareERC20PeggedVariableCriteriaIncentiveV2Payload=B.prepareERC20PeggedVariableCriteriaIncentiveV2Payload;exports.PointsIncentive=T.PointsIncentive;exports.preparePointsIncentivePayload=T.preparePointsIncentivePayload;exports.SignerValidator=s.SignerValidator;exports.prepareSignerValidatorClaimDataPayload=s.prepareSignerValidatorClaimDataPayload;exports.prepareSignerValidatorInputParams=s.prepareSignerValidatorInputParams;exports.prepareSignerValidatorPayload=s.prepareSignerValidatorPayload;exports.LimitedSignerValidator=p.LimitedSignerValidator;exports.prepareLimitedSignerValidatorClaimDataPayload=p.prepareLimitedSignerValidatorClaimDataPayload;exports.prepareLimitedSignerValidatorInputParams=p.prepareLimitedSignerValidatorInputParams;exports.prepareLimitedSignerValidatorPayload=p.prepareLimitedSignerValidatorPayload;exports.BoostValidatorEOA=c.BoostValidatorEOA;exports.ValidatorByComponentInterface=c.ValidatorByComponentInterface;exports.decodeClaimData=c.decodeClaimData;exports.validatorFromAddress=c.validatorFromAddress;exports.BoostCoreNoIdentifierEmitted=e.BoostCoreNoIdentifierEmitted;exports.BoostNotFoundError=e.BoostNotFoundError;exports.BudgetMustAuthorizeBoostCore=e.BudgetMustAuthorizeBoostCore;exports.ContractAddressRequiredError=e.ContractAddressRequiredError;exports.DecodedArgsError=e.DecodedArgsError;exports.DecodedArgsMalformedError=e.DecodedArgsMalformedError;exports.DeployableAlreadyDeployedError=e.DeployableAlreadyDeployedError;exports.DeployableBuildParametersUnspecifiedError=e.DeployableBuildParametersUnspecifiedError;exports.DeployableMissingPayloadError=e.DeployableMissingPayloadError;exports.DeployableUnknownOwnerProvidedError=e.DeployableUnknownOwnerProvidedError;exports.DeployableWagmiConfigurationRequiredError=e.DeployableWagmiConfigurationRequiredError;exports.FieldActionValidationError=e.FieldActionValidationError;exports.FieldValueNotComparableError=e.FieldValueNotComparableError;exports.FieldValueUndefinedError=e.FieldValueUndefinedError;exports.FunctionDataDecodeError=e.FunctionDataDecodeError;exports.IncentiveCriteriaNotFoundError=e.IncentiveCriteriaNotFoundError;exports.IncentiveNotCloneableError=e.IncentiveNotCloneableError;exports.InvalidComponentInterfaceError=e.InvalidComponentInterfaceError;exports.InvalidCriteriaTypeError=e.InvalidCriteriaTypeError;exports.InvalidNumericalCriteriaError=e.InvalidNumericalCriteriaError;exports.InvalidProtocolChainIdError=e.InvalidProtocolChainIdError;exports.InvalidTupleDecodingError=e.InvalidTupleDecodingError;exports.InvalidTupleEncodingError=e.InvalidTupleEncodingError;exports.MustInitializeBudgetError=e.MustInitializeBudgetError;exports.NoConnectedChainIdError=e.NoConnectedChainIdError;exports.NoContractAddressUponReceiptError=e.NoContractAddressUponReceiptError;exports.NoEventActionStepsProvidedError=e.NoEventActionStepsProvidedError;exports.NoMatchingLogsError=e.NoMatchingLogsError;exports.TooManyEventActionStepsProvidedError=e.TooManyEventActionStepsProvidedError;exports.UnknownTransferPayloadSupplied=e.UnknownTransferPayloadSupplied;exports.UnparseableAbiParamError=e.UnparseableAbiParamError;exports.UnrecognizedFilterTypeError=e.UnrecognizedFilterTypeError;exports.ValidationAbiMissingError=e.ValidationAbiMissingError;exports.CheatCodes=i.CheatCodes;exports.RegistryType=i.RegistryType;exports.TRANSFER_SIGNATURE=i.TRANSFER_SIGNATURE;exports.assertValidAddressByChainId=i.assertValidAddressByChainId;exports.awaitResult=i.awaitResult;exports.bytes4=i.bytes4;exports.getDeployedContractAddress=i.getDeployedContractAddress;exports.getErc20Balance=i.getErc20Balance;exports.StrategyType=D.StrategyType;exports.prepareClaimPayload=D.prepareClaimPayload;exports.AssetType=o.AssetType;exports.prepareERC1155Payload=o.prepareERC1155Payload;exports.prepareERC1155Transfer=o.prepareERC1155Transfer;exports.prepareFungiblePayload=o.prepareFungiblePayload;exports.prepareFungibleTransfer=o.prepareFungibleTransfer;exports.prepareTransferPayload=o.prepareTransferPayload;exports.PassthroughAuth=h.PassthroughAuth;exports.allowListIncentiveAbi=r._;exports.boostCoreAbi=r.M;exports.boostRegistryAbi=r.Ae;exports.cgdaIncentiveAbi=r.E;exports.erc20IncentiveAbi=r.T;exports.erc20PeggedIncentiveAbi=r.g;exports.erc20PeggedVariableCriteriaIncentiveAbi=r.y;exports.erc20PeggedVariableCriteriaIncentiveV2Abi=r.d;exports.erc20VariableCriteriaIncentiveAbi=r.c;exports.erc20VariableCriteriaIncentiveV2Abi=r.m;exports.erc20VariableIncentiveAbi=r.R;exports.limitedSignerValidatorAbi=r.D;exports.managedBudgetAbi=r.C;exports.managedBudgetWithFeesAbi=r.p;exports.managedBudgetWithFeesV2Abi=r.r;exports.passthroughAuthAbi=r.at;exports.pointsIncentiveAbi=r.z;exports.rbacAbi=r.S;exports.signerValidatorAbi=r.G;exports.simpleAllowListAbi=r.F;exports.simpleDenyListAbi=r.k;exports.transparentBudgetAbi=r.b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./BoostRegistry.cjs"),l=require("./BoostCore.cjs"),I=require("./Boost.cjs"),A=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),E=require("./AllowLists/AllowList.cjs"),C=require("./AllowLists/SimpleAllowList.cjs"),P=require("./SimpleDenyList-v5G-fPfm.cjs"),n=require("./Budget-DGg1wCa6.cjs"),o=require("./Budgets/ManagedBudget.cjs"),F=require("./Deployable/Deployable.cjs"),L=require("./Deployable/Contract.cjs"),f=require("./Deployable/DeployableTarget.cjs"),b=require("./Deployable/DeployableTargetWithRBAC.cjs"),v=require("./Incentives/AllowListIncentive.cjs"),R=require("./Incentives/CGDAIncentive.cjs"),m=require("./Incentives/ERC20Incentive.cjs"),p=require("./Incentive-Ckxpw7EN.cjs"),V=require("./Incentives/ERC20VariableIncentive.cjs"),y=require("./Incentives/ERC20VariableCriteriaIncentive.cjs"),S=require("./Incentives/ERC20PeggedVariableCriteriaIncentive.cjs"),u=require("./Incentives/ERC20VariableCriteriaIncentiveV2.cjs"),B=require("./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs"),T=require("./Incentives/PointsIncentive.cjs"),s=require("./Validators/SignerValidator.cjs"),c=require("./Validators/LimitedSignerValidator.cjs"),i=require("./Validator-BA8RC2J6.cjs"),e=require("./errors.cjs"),t=require("./utils.cjs"),D=require("./claiming.cjs"),d=require("./transfers.cjs"),q=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-BOBQ2ut4.cjs");exports.BOOST_REGISTRY_ADDRESS=g.BOOST_REGISTRY_ADDRESS;exports.BOOST_REGISTRY_ADDRESSES=g.BOOST_REGISTRY_ADDRESSES;exports.BoostRegistry=g.BoostRegistry;exports.BOOST_CORE_ADDRESS=l.BOOST_CORE_ADDRESS;exports.BOOST_CORE_ADDRESSES=l.BOOST_CORE_ADDRESSES;exports.BoostCore=l.BoostCore;exports.FEE_DENOMINATOR=l.FEE_DENOMINATOR;exports.Boost=I.Boost;exports.prepareBoostPayload=I.prepareBoostPayload;exports.ActionByComponentInterface=A.ActionByComponentInterface;exports.actionFromAddress=A.actionFromAddress;exports.EventAction=a.EventAction;exports.FilterType=a.FilterType;exports.PrimitiveType=a.PrimitiveType;exports.SignatureType=a.SignatureType;exports.ValueType=a.ValueType;exports.anyActionParameter=a.anyActionParameter;exports.decodeAndReorderLogArgs=a.decodeAndReorderLogArgs;exports.detectSignatureType=a.detectSignatureType;exports.getScalarValueFromTuple=a.getScalarValueFromTuple;exports.isCriteriaFieldIndexTuple=a.isCriteriaFieldIndexTuple;exports.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.packCriteriaFieldIndexes=a.packCriteriaFieldIndexes;exports.packFieldIndexes=a.packFieldIndexes;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.unpackCriteriaFieldIndexes=a.unpackCriteriaFieldIndexes;exports.unpackFieldIndexes=a.unpackFieldIndexes;exports.AllowListByComponentInterface=E.AllowListByComponentInterface;exports.OpenAllowList=E.OpenAllowList;exports.allowListFromAddress=E.allowListFromAddress;exports.LIST_MANAGER_ROLE=C.LIST_MANAGER_ROLE;exports.SimpleAllowList=C.SimpleAllowList;exports.prepareSimpleAllowListPayload=C.prepareSimpleAllowListPayload;exports.SimpleDenyList=P.SimpleDenyList;exports.prepareSimpleDenyListPayload=P.prepareSimpleDenyListPayload;exports.BudgetByComponentInterface=n.BudgetByComponentInterface;exports.ManagedBudgetWithFees=n.ManagedBudgetWithFees;exports.ManagedBudgetWithFeesV2=n.ManagedBudgetWithFeesV2;exports.TransparentBudget=n.TransparentBudget;exports.budgetFromAddress=n.budgetFromAddress;exports.prepareManagedBudgetWithFeesPayload=n.prepareManagedBudgetWithFeesPayload;exports.prepareManagedBudgetWithFeesV2Payload=n.prepareManagedBudgetWithFeesV2Payload;exports.ManagedBudget=o.ManagedBudget;exports.ManagedBudgetRoles=o.ManagedBudgetRoles;exports.isERC1155TransferPayload=o.isERC1155TransferPayload;exports.isFungibleTransfer=o.isFungibleTransfer;exports.prepareManagedBudgetPayload=o.prepareManagedBudgetPayload;exports.prepareTransfer=o.prepareTransfer;exports.Deployable=F.Deployable;exports.Contract=L.Contract;exports.DeployableTarget=f.DeployableTarget;exports.DeployableTargetWithRBAC=b.DeployableTargetWithRBAC;exports.Roles=b.Roles;exports.AllowListIncentive=v.AllowListIncentive;exports.prepareAllowListIncentivePayload=v.prepareAllowListIncentivePayload;exports.CGDAIncentive=R.CGDAIncentive;exports.prepareCGDAIncentivePayload=R.prepareCGDAIncentivePayload;exports.ERC20Incentive=m.ERC20Incentive;exports.prepareERC20IncentivePayload=m.prepareERC20IncentivePayload;exports.ERC20PeggedIncentive=p.ERC20PeggedIncentive;exports.IncentiveByComponentInterface=p.IncentiveByComponentInterface;exports.incentiveFromAddress=p.incentiveFromAddress;exports.prepareERC20PeggedIncentivePayload=p.prepareERC20PeggedIncentivePayload;exports.ERC20VariableIncentive=V.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=V.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentive=y.ERC20VariableCriteriaIncentive;exports.gasRebateIncentiveCriteria=y.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentivePayload=y.prepareERC20VariableCriteriaIncentivePayload;exports.ERC20PeggedVariableCriteriaIncentive=S.ERC20PeggedVariableCriteriaIncentive;exports.prepareERC20PeggedVariableCriteriaIncentivePayload=S.prepareERC20PeggedVariableCriteriaIncentivePayload;exports.ERC20VariableCriteriaIncentiveV2=u.ERC20VariableCriteriaIncentiveV2;exports.gasRebateIncentiveCriteriaV2=u.gasRebateIncentiveCriteriaV2;exports.prepareERC20VariableCriteriaIncentiveV2Payload=u.prepareERC20VariableCriteriaIncentiveV2Payload;exports.ERC20PeggedVariableCriteriaIncentiveV2=B.ERC20PeggedVariableCriteriaIncentiveV2;exports.prepareERC20PeggedVariableCriteriaIncentiveV2Payload=B.prepareERC20PeggedVariableCriteriaIncentiveV2Payload;exports.PointsIncentive=T.PointsIncentive;exports.preparePointsIncentivePayload=T.preparePointsIncentivePayload;exports.SignerValidator=s.SignerValidator;exports.prepareSignerValidatorClaimDataPayload=s.prepareSignerValidatorClaimDataPayload;exports.prepareSignerValidatorInputParams=s.prepareSignerValidatorInputParams;exports.prepareSignerValidatorPayload=s.prepareSignerValidatorPayload;exports.LimitedSignerValidator=c.LimitedSignerValidator;exports.prepareLimitedSignerValidatorClaimDataPayload=c.prepareLimitedSignerValidatorClaimDataPayload;exports.prepareLimitedSignerValidatorInputParams=c.prepareLimitedSignerValidatorInputParams;exports.prepareLimitedSignerValidatorPayload=c.prepareLimitedSignerValidatorPayload;exports.BoostValidatorEOA=i.BoostValidatorEOA;exports.PayableLimitedSignerValidator=i.PayableLimitedSignerValidator;exports.ValidatorByComponentInterface=i.ValidatorByComponentInterface;exports.decodeClaimData=i.decodeClaimData;exports.preparePayableLimitedSignerValidatorClaimDataPayload=i.preparePayableLimitedSignerValidatorClaimDataPayload;exports.preparePayableLimitedSignerValidatorInputParams=i.preparePayableLimitedSignerValidatorInputParams;exports.preparePayableLimitedSignerValidatorPayload=i.preparePayableLimitedSignerValidatorPayload;exports.validatorFromAddress=i.validatorFromAddress;exports.BoostCoreNoIdentifierEmitted=e.BoostCoreNoIdentifierEmitted;exports.BoostNotFoundError=e.BoostNotFoundError;exports.BudgetMustAuthorizeBoostCore=e.BudgetMustAuthorizeBoostCore;exports.ContractAddressRequiredError=e.ContractAddressRequiredError;exports.DecodedArgsError=e.DecodedArgsError;exports.DecodedArgsMalformedError=e.DecodedArgsMalformedError;exports.DeployableAlreadyDeployedError=e.DeployableAlreadyDeployedError;exports.DeployableBuildParametersUnspecifiedError=e.DeployableBuildParametersUnspecifiedError;exports.DeployableMissingPayloadError=e.DeployableMissingPayloadError;exports.DeployableUnknownOwnerProvidedError=e.DeployableUnknownOwnerProvidedError;exports.DeployableWagmiConfigurationRequiredError=e.DeployableWagmiConfigurationRequiredError;exports.FieldActionValidationError=e.FieldActionValidationError;exports.FieldValueNotComparableError=e.FieldValueNotComparableError;exports.FieldValueUndefinedError=e.FieldValueUndefinedError;exports.FunctionDataDecodeError=e.FunctionDataDecodeError;exports.IncentiveCriteriaNotFoundError=e.IncentiveCriteriaNotFoundError;exports.IncentiveNotCloneableError=e.IncentiveNotCloneableError;exports.InvalidComponentInterfaceError=e.InvalidComponentInterfaceError;exports.InvalidCriteriaTypeError=e.InvalidCriteriaTypeError;exports.InvalidNumericalCriteriaError=e.InvalidNumericalCriteriaError;exports.InvalidProtocolChainIdError=e.InvalidProtocolChainIdError;exports.InvalidTupleDecodingError=e.InvalidTupleDecodingError;exports.InvalidTupleEncodingError=e.InvalidTupleEncodingError;exports.MustInitializeBudgetError=e.MustInitializeBudgetError;exports.NoConnectedChainIdError=e.NoConnectedChainIdError;exports.NoContractAddressUponReceiptError=e.NoContractAddressUponReceiptError;exports.NoEventActionStepsProvidedError=e.NoEventActionStepsProvidedError;exports.NoMatchingLogsError=e.NoMatchingLogsError;exports.TooManyEventActionStepsProvidedError=e.TooManyEventActionStepsProvidedError;exports.UnknownTransferPayloadSupplied=e.UnknownTransferPayloadSupplied;exports.UnparseableAbiParamError=e.UnparseableAbiParamError;exports.UnrecognizedFilterTypeError=e.UnrecognizedFilterTypeError;exports.ValidationAbiMissingError=e.ValidationAbiMissingError;exports.CheatCodes=t.CheatCodes;exports.RegistryType=t.RegistryType;exports.TRANSFER_SIGNATURE=t.TRANSFER_SIGNATURE;exports.assertValidAddressByChainId=t.assertValidAddressByChainId;exports.awaitResult=t.awaitResult;exports.bytes4=t.bytes4;exports.getDeployedContractAddress=t.getDeployedContractAddress;exports.getErc20Balance=t.getErc20Balance;exports.StrategyType=D.StrategyType;exports.prepareClaimPayload=D.prepareClaimPayload;exports.AssetType=d.AssetType;exports.prepareERC1155Payload=d.prepareERC1155Payload;exports.prepareERC1155Transfer=d.prepareERC1155Transfer;exports.prepareFungiblePayload=d.prepareFungiblePayload;exports.prepareFungibleTransfer=d.prepareFungibleTransfer;exports.prepareTransferPayload=d.prepareTransferPayload;exports.PassthroughAuth=q.PassthroughAuth;exports.allowListIncentiveAbi=r.L;exports.boostCoreAbi=r.M;exports.boostRegistryAbi=r.Ne;exports.cgdaIncentiveAbi=r.E;exports.erc20IncentiveAbi=r.T;exports.erc20PeggedIncentiveAbi=r.g;exports.erc20PeggedVariableCriteriaIncentiveAbi=r.y;exports.erc20PeggedVariableCriteriaIncentiveV2Abi=r.d;exports.erc20VariableCriteriaIncentiveAbi=r.c;exports.erc20VariableCriteriaIncentiveV2Abi=r.m;exports.erc20VariableIncentiveAbi=r.R;exports.limitedSignerValidatorAbi=r.q;exports.managedBudgetAbi=r.C;exports.managedBudgetWithFeesAbi=r.p;exports.managedBudgetWithFeesV2Abi=r.r;exports.passthroughAuthAbi=r.rt;exports.payableLimitedSignerValidatorAbi=r.k;exports.pointsIncentiveAbi=r.z;exports.rbacAbi=r._;exports.signerValidatorAbi=r.U;exports.simpleAllowListAbi=r.F;exports.simpleDenyListAbi=r.P;exports.transparentBudgetAbi=r.b;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from './Incentives/Incentive';
28
28
  export * from './Incentives/PointsIncentive';
29
29
  export * from './Validators/SignerValidator';
30
30
  export * from './Validators/LimitedSignerValidator';
31
+ export * from './Validators/PayableLimitedSignerValidator';
31
32
  export * from './Validators/Validator';
32
33
  export * from './errors';
33
34
  export * from './utils';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAIxB,cAAc,kBAAkB,CAAC;AAGjC,cAAc,uBAAuB,CAAC;AAItC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAI5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAG5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAIlD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AAItD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mDAAmD,CAAC;AAClE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AAEpE,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAI7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AAIvC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAI5B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAIxB,cAAc,kBAAkB,CAAC;AAGjC,cAAc,uBAAuB,CAAC;AAItC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAI5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAG5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAIlD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AAItD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mDAAmD,CAAC;AAClE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AAEpE,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAI7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wBAAwB,CAAC;AAIvC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAI5B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -1,182 +1,187 @@
1
1
  import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as i, BoostRegistry as o } from "./BoostRegistry.js";
2
- import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as d, BoostCore as p, FEE_DENOMINATOR as l } from "./BoostCore.js";
3
- import { Boost as c, prepareBoostPayload as g } from "./Boost.js";
4
- import { ActionByComponentInterface as E, actionFromAddress as A } from "./Actions/Action.js";
5
- import { EventAction as y, FilterType as I, PrimitiveType as b, SignatureType as v, ValueType as f, anyActionParameter as P, decodeAndReorderLogArgs as u, detectSignatureType as R, getScalarValueFromTuple as V, isCriteriaFieldIndexTuple as S, isEventActionPayloadSimple as x, packCriteriaFieldIndexes as B, packFieldIndexes as T, prepareEventActionPayload as D, transactionSenderClaimant as F, unpackCriteriaFieldIndexes as L, unpackFieldIndexes as h } from "./Actions/EventAction.js";
6
- import { AllowListByComponentInterface as O, OpenAllowList as N, allowListFromAddress as w } from "./AllowLists/AllowList.js";
2
+ import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as d, BoostCore as l, FEE_DENOMINATOR as p } from "./BoostCore.js";
3
+ import { Boost as g, prepareBoostPayload as c } from "./Boost.js";
4
+ import { ActionByComponentInterface as E, actionFromAddress as y } from "./Actions/Action.js";
5
+ import { EventAction as A, FilterType as b, PrimitiveType as I, SignatureType as P, ValueType as v, anyActionParameter as f, decodeAndReorderLogArgs as u, detectSignatureType as V, getScalarValueFromTuple as R, isCriteriaFieldIndexTuple as S, isEventActionPayloadSimple as x, packCriteriaFieldIndexes as B, packFieldIndexes as T, prepareEventActionPayload as D, transactionSenderClaimant as F, unpackCriteriaFieldIndexes as L, unpackFieldIndexes as h } from "./Actions/EventAction.js";
6
+ import { AllowListByComponentInterface as N, OpenAllowList as O, allowListFromAddress as w } from "./AllowLists/AllowList.js";
7
7
  import { LIST_MANAGER_ROLE as U, SimpleAllowList as W, prepareSimpleAllowListPayload as k } from "./AllowLists/SimpleAllowList.js";
8
- import { S as z, p as q } from "./SimpleDenyList-BlLgvhjE.js";
9
- import { B as j, M as H, a as J, T as K, b as Q, p as X, c as Z } from "./Budget-B-grnRq9.js";
8
+ import { S as z, p as q } from "./SimpleDenyList-DUO4ex__.js";
9
+ import { B as j, M as H, a as J, T as K, b as Q, p as X, c as Z } from "./Budget-ZnzzZsjK.js";
10
10
  import { ManagedBudget as ee, ManagedBudgetRoles as re, isERC1155TransferPayload as ae, isFungibleTransfer as ie, prepareManagedBudgetPayload as oe, prepareTransfer as te } from "./Budgets/ManagedBudget.js";
11
11
  import { Deployable as de } from "./Deployable/Deployable.js";
12
- import { Contract as le } from "./Deployable/Contract.js";
13
- import { DeployableTarget as ce } from "./Deployable/DeployableTarget.js";
12
+ import { Contract as pe } from "./Deployable/Contract.js";
13
+ import { DeployableTarget as ge } from "./Deployable/DeployableTarget.js";
14
14
  import { DeployableTargetWithRBAC as me, Roles as Ee } from "./Deployable/DeployableTargetWithRBAC.js";
15
- import { AllowListIncentive as Ce, prepareAllowListIncentivePayload as ye } from "./Incentives/AllowListIncentive.js";
16
- import { CGDAIncentive as be, prepareCGDAIncentivePayload as ve } from "./Incentives/CGDAIncentive.js";
17
- import { ERC20Incentive as Pe, prepareERC20IncentivePayload as ue } from "./Incentives/ERC20Incentive.js";
18
- import { E as Ve, I as Se, i as xe, p as Be } from "./Incentive-Bz_g-nID.js";
15
+ import { AllowListIncentive as Ce, prepareAllowListIncentivePayload as Ae } from "./Incentives/AllowListIncentive.js";
16
+ import { CGDAIncentive as Ie, prepareCGDAIncentivePayload as Pe } from "./Incentives/CGDAIncentive.js";
17
+ import { ERC20Incentive as fe, prepareERC20IncentivePayload as ue } from "./Incentives/ERC20Incentive.js";
18
+ import { E as Re, I as Se, i as xe, p as Be } from "./Incentive-CYj6lbM5.js";
19
19
  import { ERC20VariableIncentive as De, prepareERC20VariableIncentivePayload as Fe } from "./Incentives/ERC20VariableIncentive.js";
20
- import { ERC20VariableCriteriaIncentive as he, gasRebateIncentiveCriteria as Me, prepareERC20VariableCriteriaIncentivePayload as Oe } from "./Incentives/ERC20VariableCriteriaIncentive.js";
20
+ import { ERC20VariableCriteriaIncentive as he, gasRebateIncentiveCriteria as Me, prepareERC20VariableCriteriaIncentivePayload as Ne } from "./Incentives/ERC20VariableCriteriaIncentive.js";
21
21
  import { ERC20PeggedVariableCriteriaIncentive as we, prepareERC20PeggedVariableCriteriaIncentivePayload as _e } from "./Incentives/ERC20PeggedVariableCriteriaIncentive.js";
22
22
  import { ERC20VariableCriteriaIncentiveV2 as We, gasRebateIncentiveCriteriaV2 as ke, prepareERC20VariableCriteriaIncentiveV2Payload as Ge } from "./Incentives/ERC20VariableCriteriaIncentiveV2.js";
23
23
  import { ERC20PeggedVariableCriteriaIncentiveV2 as qe, prepareERC20PeggedVariableCriteriaIncentiveV2Payload as Ye } from "./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js";
24
24
  import { PointsIncentive as He, preparePointsIncentivePayload as Je } from "./Incentives/PointsIncentive.js";
25
25
  import { SignerValidator as Qe, prepareSignerValidatorClaimDataPayload as Xe, prepareSignerValidatorInputParams as Ze, prepareSignerValidatorPayload as $e } from "./Validators/SignerValidator.js";
26
26
  import { LimitedSignerValidator as rr, prepareLimitedSignerValidatorClaimDataPayload as ar, prepareLimitedSignerValidatorInputParams as ir, prepareLimitedSignerValidatorPayload as or } from "./Validators/LimitedSignerValidator.js";
27
- import { BoostValidatorEOA as nr, ValidatorByComponentInterface as dr, decodeClaimData as pr, validatorFromAddress as lr } from "./Validators/Validator.js";
28
- import { BoostCoreNoIdentifierEmitted as cr, BoostNotFoundError as gr, BudgetMustAuthorizeBoostCore as mr, ContractAddressRequiredError as Er, DecodedArgsError as Ar, DecodedArgsMalformedError as Cr, DeployableAlreadyDeployedError as yr, DeployableBuildParametersUnspecifiedError as Ir, DeployableMissingPayloadError as br, DeployableUnknownOwnerProvidedError as vr, DeployableWagmiConfigurationRequiredError as fr, FieldActionValidationError as Pr, FieldValueNotComparableError as ur, FieldValueUndefinedError as Rr, FunctionDataDecodeError as Vr, IncentiveCriteriaNotFoundError as Sr, IncentiveNotCloneableError as xr, InvalidComponentInterfaceError as Br, InvalidCriteriaTypeError as Tr, InvalidNumericalCriteriaError as Dr, InvalidProtocolChainIdError as Fr, InvalidTupleDecodingError as Lr, InvalidTupleEncodingError as hr, MustInitializeBudgetError as Mr, NoConnectedChainIdError as Or, NoContractAddressUponReceiptError as Nr, NoEventActionStepsProvidedError as wr, NoMatchingLogsError as _r, TooManyEventActionStepsProvidedError as Ur, UnknownTransferPayloadSupplied as Wr, UnparseableAbiParamError as kr, UnrecognizedFilterTypeError as Gr, ValidationAbiMissingError as zr } from "./errors.js";
29
- import { CheatCodes as Yr, RegistryType as jr, TRANSFER_SIGNATURE as Hr, assertValidAddressByChainId as Jr, awaitResult as Kr, bytes4 as Qr, getDeployedContractAddress as Xr, getErc20Balance as Zr } from "./utils.js";
30
- import { StrategyType as ea, prepareClaimPayload as ra } from "./claiming.js";
31
- import { AssetType as ia, prepareERC1155Payload as oa, prepareERC1155Transfer as ta, prepareFungiblePayload as na, prepareFungibleTransfer as da, prepareTransferPayload as pa } from "./transfers.js";
32
- import { PassthroughAuth as sa } from "./Auth/PassthroughAuth.js";
33
- import { _ as ga, M as ma, A as Ea, E as Aa, T as Ca, g as ya, y as Ia, d as ba, c as va, m as fa, R as Pa, D as ua, C as Ra, p as Va, r as Sa, a as xa, z as Ba, S as Ta, G as Da, F as Fa, k as La, b as ha } from "./generated-CINzoGbl.js";
27
+ import { B as nr, P as dr, V as lr, d as pr, p as sr, a as gr, b as cr, v as mr } from "./Validator-D4CzwdB9.js";
28
+ import { BoostCoreNoIdentifierEmitted as yr, BoostNotFoundError as Cr, BudgetMustAuthorizeBoostCore as Ar, ContractAddressRequiredError as br, DecodedArgsError as Ir, DecodedArgsMalformedError as Pr, DeployableAlreadyDeployedError as vr, DeployableBuildParametersUnspecifiedError as fr, DeployableMissingPayloadError as ur, DeployableUnknownOwnerProvidedError as Vr, DeployableWagmiConfigurationRequiredError as Rr, FieldActionValidationError as Sr, FieldValueNotComparableError as xr, FieldValueUndefinedError as Br, FunctionDataDecodeError as Tr, IncentiveCriteriaNotFoundError as Dr, IncentiveNotCloneableError as Fr, InvalidComponentInterfaceError as Lr, InvalidCriteriaTypeError as hr, InvalidNumericalCriteriaError as Mr, InvalidProtocolChainIdError as Nr, InvalidTupleDecodingError as Or, InvalidTupleEncodingError as wr, MustInitializeBudgetError as _r, NoConnectedChainIdError as Ur, NoContractAddressUponReceiptError as Wr, NoEventActionStepsProvidedError as kr, NoMatchingLogsError as Gr, TooManyEventActionStepsProvidedError as zr, UnknownTransferPayloadSupplied as qr, UnparseableAbiParamError as Yr, UnrecognizedFilterTypeError as jr, ValidationAbiMissingError as Hr } from "./errors.js";
29
+ import { CheatCodes as Kr, RegistryType as Qr, TRANSFER_SIGNATURE as Xr, assertValidAddressByChainId as Zr, awaitResult as $r, bytes4 as ea, getDeployedContractAddress as ra, getErc20Balance as aa } from "./utils.js";
30
+ import { StrategyType as oa, prepareClaimPayload as ta } from "./claiming.js";
31
+ import { AssetType as da, prepareERC1155Payload as la, prepareERC1155Transfer as pa, prepareFungiblePayload as sa, prepareFungibleTransfer as ga, prepareTransferPayload as ca } from "./transfers.js";
32
+ import { PassthroughAuth as Ea } from "./Auth/PassthroughAuth.js";
33
+ import { L as Ca, M as Aa, N as ba, E as Ia, T as Pa, g as va, y as fa, d as ua, c as Va, m as Ra, R as Sa, q as xa, C as Ba, p as Ta, r as Da, a as Fa, k as La, z as ha, _ as Ma, U as Na, F as Oa, P as wa, b as _a } from "./generated-ffteMTHN.js";
34
34
  export {
35
35
  E as ActionByComponentInterface,
36
- O as AllowListByComponentInterface,
36
+ N as AllowListByComponentInterface,
37
37
  Ce as AllowListIncentive,
38
- ia as AssetType,
38
+ da as AssetType,
39
39
  n as BOOST_CORE_ADDRESS,
40
40
  d as BOOST_CORE_ADDRESSES,
41
41
  a as BOOST_REGISTRY_ADDRESS,
42
42
  i as BOOST_REGISTRY_ADDRESSES,
43
- c as Boost,
44
- p as BoostCore,
45
- cr as BoostCoreNoIdentifierEmitted,
46
- gr as BoostNotFoundError,
43
+ g as Boost,
44
+ l as BoostCore,
45
+ yr as BoostCoreNoIdentifierEmitted,
46
+ Cr as BoostNotFoundError,
47
47
  o as BoostRegistry,
48
48
  nr as BoostValidatorEOA,
49
49
  j as BudgetByComponentInterface,
50
- mr as BudgetMustAuthorizeBoostCore,
51
- be as CGDAIncentive,
52
- Yr as CheatCodes,
53
- le as Contract,
54
- Er as ContractAddressRequiredError,
55
- Ar as DecodedArgsError,
56
- Cr as DecodedArgsMalformedError,
50
+ Ar as BudgetMustAuthorizeBoostCore,
51
+ Ie as CGDAIncentive,
52
+ Kr as CheatCodes,
53
+ pe as Contract,
54
+ br as ContractAddressRequiredError,
55
+ Ir as DecodedArgsError,
56
+ Pr as DecodedArgsMalformedError,
57
57
  de as Deployable,
58
- yr as DeployableAlreadyDeployedError,
59
- Ir as DeployableBuildParametersUnspecifiedError,
60
- br as DeployableMissingPayloadError,
61
- ce as DeployableTarget,
58
+ vr as DeployableAlreadyDeployedError,
59
+ fr as DeployableBuildParametersUnspecifiedError,
60
+ ur as DeployableMissingPayloadError,
61
+ ge as DeployableTarget,
62
62
  me as DeployableTargetWithRBAC,
63
- vr as DeployableUnknownOwnerProvidedError,
64
- fr as DeployableWagmiConfigurationRequiredError,
65
- Pe as ERC20Incentive,
66
- Ve as ERC20PeggedIncentive,
63
+ Vr as DeployableUnknownOwnerProvidedError,
64
+ Rr as DeployableWagmiConfigurationRequiredError,
65
+ fe as ERC20Incentive,
66
+ Re as ERC20PeggedIncentive,
67
67
  we as ERC20PeggedVariableCriteriaIncentive,
68
68
  qe as ERC20PeggedVariableCriteriaIncentiveV2,
69
69
  he as ERC20VariableCriteriaIncentive,
70
70
  We as ERC20VariableCriteriaIncentiveV2,
71
71
  De as ERC20VariableIncentive,
72
- y as EventAction,
73
- l as FEE_DENOMINATOR,
74
- Pr as FieldActionValidationError,
75
- ur as FieldValueNotComparableError,
76
- Rr as FieldValueUndefinedError,
77
- I as FilterType,
78
- Vr as FunctionDataDecodeError,
72
+ A as EventAction,
73
+ p as FEE_DENOMINATOR,
74
+ Sr as FieldActionValidationError,
75
+ xr as FieldValueNotComparableError,
76
+ Br as FieldValueUndefinedError,
77
+ b as FilterType,
78
+ Tr as FunctionDataDecodeError,
79
79
  Se as IncentiveByComponentInterface,
80
- Sr as IncentiveCriteriaNotFoundError,
81
- xr as IncentiveNotCloneableError,
82
- Br as InvalidComponentInterfaceError,
83
- Tr as InvalidCriteriaTypeError,
84
- Dr as InvalidNumericalCriteriaError,
85
- Fr as InvalidProtocolChainIdError,
86
- Lr as InvalidTupleDecodingError,
87
- hr as InvalidTupleEncodingError,
80
+ Dr as IncentiveCriteriaNotFoundError,
81
+ Fr as IncentiveNotCloneableError,
82
+ Lr as InvalidComponentInterfaceError,
83
+ hr as InvalidCriteriaTypeError,
84
+ Mr as InvalidNumericalCriteriaError,
85
+ Nr as InvalidProtocolChainIdError,
86
+ Or as InvalidTupleDecodingError,
87
+ wr as InvalidTupleEncodingError,
88
88
  U as LIST_MANAGER_ROLE,
89
89
  rr as LimitedSignerValidator,
90
90
  ee as ManagedBudget,
91
91
  re as ManagedBudgetRoles,
92
92
  H as ManagedBudgetWithFees,
93
93
  J as ManagedBudgetWithFeesV2,
94
- Mr as MustInitializeBudgetError,
95
- Or as NoConnectedChainIdError,
96
- Nr as NoContractAddressUponReceiptError,
97
- wr as NoEventActionStepsProvidedError,
98
- _r as NoMatchingLogsError,
99
- N as OpenAllowList,
100
- sa as PassthroughAuth,
94
+ _r as MustInitializeBudgetError,
95
+ Ur as NoConnectedChainIdError,
96
+ Wr as NoContractAddressUponReceiptError,
97
+ kr as NoEventActionStepsProvidedError,
98
+ Gr as NoMatchingLogsError,
99
+ O as OpenAllowList,
100
+ Ea as PassthroughAuth,
101
+ dr as PayableLimitedSignerValidator,
101
102
  He as PointsIncentive,
102
- b as PrimitiveType,
103
- jr as RegistryType,
103
+ I as PrimitiveType,
104
+ Qr as RegistryType,
104
105
  Ee as Roles,
105
- v as SignatureType,
106
+ P as SignatureType,
106
107
  Qe as SignerValidator,
107
108
  W as SimpleAllowList,
108
109
  z as SimpleDenyList,
109
- ea as StrategyType,
110
- Hr as TRANSFER_SIGNATURE,
111
- Ur as TooManyEventActionStepsProvidedError,
110
+ oa as StrategyType,
111
+ Xr as TRANSFER_SIGNATURE,
112
+ zr as TooManyEventActionStepsProvidedError,
112
113
  K as TransparentBudget,
113
- Wr as UnknownTransferPayloadSupplied,
114
- kr as UnparseableAbiParamError,
115
- Gr as UnrecognizedFilterTypeError,
116
- zr as ValidationAbiMissingError,
117
- dr as ValidatorByComponentInterface,
118
- f as ValueType,
119
- A as actionFromAddress,
114
+ qr as UnknownTransferPayloadSupplied,
115
+ Yr as UnparseableAbiParamError,
116
+ jr as UnrecognizedFilterTypeError,
117
+ Hr as ValidationAbiMissingError,
118
+ lr as ValidatorByComponentInterface,
119
+ v as ValueType,
120
+ y as actionFromAddress,
120
121
  w as allowListFromAddress,
121
- ga as allowListIncentiveAbi,
122
- P as anyActionParameter,
123
- Jr as assertValidAddressByChainId,
124
- Kr as awaitResult,
125
- ma as boostCoreAbi,
126
- Ea as boostRegistryAbi,
122
+ Ca as allowListIncentiveAbi,
123
+ f as anyActionParameter,
124
+ Zr as assertValidAddressByChainId,
125
+ $r as awaitResult,
126
+ Aa as boostCoreAbi,
127
+ ba as boostRegistryAbi,
127
128
  Q as budgetFromAddress,
128
- Qr as bytes4,
129
- Aa as cgdaIncentiveAbi,
129
+ ea as bytes4,
130
+ Ia as cgdaIncentiveAbi,
130
131
  u as decodeAndReorderLogArgs,
131
132
  pr as decodeClaimData,
132
- R as detectSignatureType,
133
- Ca as erc20IncentiveAbi,
134
- ya as erc20PeggedIncentiveAbi,
135
- Ia as erc20PeggedVariableCriteriaIncentiveAbi,
136
- ba as erc20PeggedVariableCriteriaIncentiveV2Abi,
137
- va as erc20VariableCriteriaIncentiveAbi,
138
- fa as erc20VariableCriteriaIncentiveV2Abi,
139
- Pa as erc20VariableIncentiveAbi,
133
+ V as detectSignatureType,
134
+ Pa as erc20IncentiveAbi,
135
+ va as erc20PeggedIncentiveAbi,
136
+ fa as erc20PeggedVariableCriteriaIncentiveAbi,
137
+ ua as erc20PeggedVariableCriteriaIncentiveV2Abi,
138
+ Va as erc20VariableCriteriaIncentiveAbi,
139
+ Ra as erc20VariableCriteriaIncentiveV2Abi,
140
+ Sa as erc20VariableIncentiveAbi,
140
141
  Me as gasRebateIncentiveCriteria,
141
142
  ke as gasRebateIncentiveCriteriaV2,
142
- Xr as getDeployedContractAddress,
143
- Zr as getErc20Balance,
144
- V as getScalarValueFromTuple,
143
+ ra as getDeployedContractAddress,
144
+ aa as getErc20Balance,
145
+ R as getScalarValueFromTuple,
145
146
  xe as incentiveFromAddress,
146
147
  S as isCriteriaFieldIndexTuple,
147
148
  ae as isERC1155TransferPayload,
148
149
  x as isEventActionPayloadSimple,
149
150
  ie as isFungibleTransfer,
150
- ua as limitedSignerValidatorAbi,
151
- Ra as managedBudgetAbi,
152
- Va as managedBudgetWithFeesAbi,
153
- Sa as managedBudgetWithFeesV2Abi,
151
+ xa as limitedSignerValidatorAbi,
152
+ Ba as managedBudgetAbi,
153
+ Ta as managedBudgetWithFeesAbi,
154
+ Da as managedBudgetWithFeesV2Abi,
154
155
  B as packCriteriaFieldIndexes,
155
156
  T as packFieldIndexes,
156
- xa as passthroughAuthAbi,
157
- Ba as pointsIncentiveAbi,
158
- ye as prepareAllowListIncentivePayload,
159
- g as prepareBoostPayload,
160
- ve as prepareCGDAIncentivePayload,
161
- ra as prepareClaimPayload,
162
- oa as prepareERC1155Payload,
163
- ta as prepareERC1155Transfer,
157
+ Fa as passthroughAuthAbi,
158
+ La as payableLimitedSignerValidatorAbi,
159
+ ha as pointsIncentiveAbi,
160
+ Ae as prepareAllowListIncentivePayload,
161
+ c as prepareBoostPayload,
162
+ Pe as prepareCGDAIncentivePayload,
163
+ ta as prepareClaimPayload,
164
+ la as prepareERC1155Payload,
165
+ pa as prepareERC1155Transfer,
164
166
  ue as prepareERC20IncentivePayload,
165
167
  Be as prepareERC20PeggedIncentivePayload,
166
168
  _e as prepareERC20PeggedVariableCriteriaIncentivePayload,
167
169
  Ye as prepareERC20PeggedVariableCriteriaIncentiveV2Payload,
168
- Oe as prepareERC20VariableCriteriaIncentivePayload,
170
+ Ne as prepareERC20VariableCriteriaIncentivePayload,
169
171
  Ge as prepareERC20VariableCriteriaIncentiveV2Payload,
170
172
  Fe as prepareERC20VariableIncentivePayload,
171
173
  D as prepareEventActionPayload,
172
- na as prepareFungiblePayload,
173
- da as prepareFungibleTransfer,
174
+ sa as prepareFungiblePayload,
175
+ ga as prepareFungibleTransfer,
174
176
  ar as prepareLimitedSignerValidatorClaimDataPayload,
175
177
  ir as prepareLimitedSignerValidatorInputParams,
176
178
  or as prepareLimitedSignerValidatorPayload,
177
179
  oe as prepareManagedBudgetPayload,
178
180
  X as prepareManagedBudgetWithFeesPayload,
179
181
  Z as prepareManagedBudgetWithFeesV2Payload,
182
+ sr as preparePayableLimitedSignerValidatorClaimDataPayload,
183
+ gr as preparePayableLimitedSignerValidatorInputParams,
184
+ cr as preparePayableLimitedSignerValidatorPayload,
180
185
  Je as preparePointsIncentivePayload,
181
186
  Xe as prepareSignerValidatorClaimDataPayload,
182
187
  Ze as prepareSignerValidatorInputParams,
@@ -184,15 +189,15 @@ export {
184
189
  k as prepareSimpleAllowListPayload,
185
190
  q as prepareSimpleDenyListPayload,
186
191
  te as prepareTransfer,
187
- pa as prepareTransferPayload,
188
- Ta as rbacAbi,
189
- Da as signerValidatorAbi,
190
- Fa as simpleAllowListAbi,
191
- La as simpleDenyListAbi,
192
+ ca as prepareTransferPayload,
193
+ Ma as rbacAbi,
194
+ Na as signerValidatorAbi,
195
+ Oa as simpleAllowListAbi,
196
+ wa as simpleDenyListAbi,
192
197
  F as transactionSenderClaimant,
193
- ha as transparentBudgetAbi,
198
+ _a as transparentBudgetAbi,
194
199
  L as unpackCriteriaFieldIndexes,
195
200
  h as unpackFieldIndexes,
196
- lr as validatorFromAddress
201
+ mr as validatorFromAddress
197
202
  };
198
203
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostxyz/sdk",
3
- "version": "7.3.0",
3
+ "version": "7.5.0",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "files": [
@@ -380,7 +380,9 @@ export class EventAction extends DeployableTarget<
380
380
  * @type {Record<number, Address>}
381
381
  */
382
382
  public static override bases: Record<number, Address> = {
383
- 31337: import.meta.env.VITE_EVENT_ACTION_BASE,
383
+ ...(import.meta.env?.VITE_EVENT_ACTION_BASE
384
+ ? { 31337: import.meta.env.VITE_EVENT_ACTION_BASE }
385
+ : {}),
384
386
  ...(EventActionBases as Record<number, Address>),
385
387
  };
386
388
  /**
@@ -99,7 +99,9 @@ export class SimpleAllowList extends DeployableTargetWithRBAC<
99
99
  * @type {Record<number, Address>}
100
100
  */
101
101
  public static override bases: Record<number, Address> = {
102
- 31337: import.meta.env.VITE_SIMPLE_ALLOWLIST_BASE,
102
+ ...(import.meta.env?.VITE_SIMPLE_ALLOWLIST_BASE
103
+ ? { 31337: import.meta.env.VITE_SIMPLE_ALLOWLIST_BASE }
104
+ : {}),
103
105
  ...(SimpleAllowListBases as Record<number, Address>),
104
106
  };
105
107
  /**
@@ -91,7 +91,9 @@ export class SimpleDenyList<
91
91
  * @type {Record<number, Address>}
92
92
  */
93
93
  public static override bases: Record<number, Address> = {
94
- 31337: import.meta.env.VITE_SIMPLE_DENYLIST_BASE,
94
+ ...(import.meta.env?.VITE_SIMPLE_DENYLIST_BASE
95
+ ? { 31337: import.meta.env.VITE_SIMPLE_DENYLIST_BASE }
96
+ : {}),
95
97
  ...(SimpleDenyListBases as Record<number, Address>),
96
98
  };
97
99
  /**
package/src/BoostCore.ts CHANGED
@@ -127,6 +127,10 @@ import {
127
127
  LimitedSignerValidator,
128
128
  type LimitedSignerValidatorPayload,
129
129
  } from './Validators/LimitedSignerValidator';
130
+ import {
131
+ PayableLimitedSignerValidator,
132
+ type PayableLimitedSignerValidatorPayload,
133
+ } from './Validators/PayableLimitedSignerValidator';
130
134
  import {
131
135
  SignerValidator,
132
136
  type SignerValidatorPayload,
@@ -179,7 +183,9 @@ export const FEE_DENOMINATOR = 10000n;
179
183
  * @type {Record<number, Address>}
180
184
  */
181
185
  export const BOOST_CORE_ADDRESSES: Record<number, Address> = {
182
- 31337: import.meta.env.VITE_BOOST_CORE_ADDRESS,
186
+ ...(import.meta.env?.VITE_BOOST_CORE_ADDRESS
187
+ ? { 31337: import.meta.env.VITE_BOOST_CORE_ADDRESS }
188
+ : {}),
183
189
  ...(BoostCoreBases as Record<number, Address>),
184
190
  };
185
191
 
@@ -2012,6 +2018,29 @@ export class BoostCore extends Deployable<
2012
2018
  );
2013
2019
  }
2014
2020
 
2021
+ /**
2022
+ * Bound {@link PayableLimitedSignerValidator} constructor that reuses the same configuration as the Boost Core instance.
2023
+ *
2024
+ * @example
2025
+ * ```ts
2026
+ * const validator = core.PayableLimitedSignerValidator({ ... }) // is roughly equivalent to
2027
+ * const validator = new PayableLimitedSignerValidator({ config: core._config, account: core._account }, { ... })
2028
+ * ```
2029
+ * @param {DeployablePayloadOrAddress<PayableLimitedSignerValidatorPayload>} options
2030
+ * @param {?boolean} [isBase]
2031
+ * @returns {PayableLimitedSignerValidator}
2032
+ */
2033
+ PayableLimitedSignerValidator(
2034
+ options: DeployablePayloadOrAddress<PayableLimitedSignerValidatorPayload>,
2035
+ isBase?: boolean,
2036
+ ) {
2037
+ return new PayableLimitedSignerValidator(
2038
+ { config: this._config, account: this._account },
2039
+ options,
2040
+ isBase ?? false,
2041
+ );
2042
+ }
2043
+
2015
2044
  /**
2016
2045
  * Bound {@link ERC20VariableCriteriaIncentiveV2} constructor that reuses the same configuration as the Boost Core instance.
2017
2046
  *
@@ -48,7 +48,9 @@ export { boostRegistryAbi };
48
48
  * @type {Record<number, Address>}
49
49
  */
50
50
  export const BOOST_REGISTRY_ADDRESSES: Record<number, Address> = {
51
- 31337: import.meta.env.VITE_BOOST_REGISTRY_ADDRESS,
51
+ ...(import.meta.env?.VITE_BOOST_REGISTRY_ADDRESS
52
+ ? { 31337: import.meta.env.VITE_BOOST_REGISTRY_ADDRESS }
53
+ : {}),
52
54
  ...(BoostRegistryBases as Record<number, Address>),
53
55
  };
54
56
 
@@ -191,7 +191,9 @@ export class ManagedBudget extends DeployableTargetWithRBAC<
191
191
  * @type {Record<number, Address>}
192
192
  */
193
193
  public static override bases: Record<number, Address> = {
194
- 31337: import.meta.env.VITE_MANAGED_BUDGET_BASE,
194
+ ...(import.meta.env?.VITE_MANAGED_BUDGET_BASE
195
+ ? { 31337: import.meta.env.VITE_MANAGED_BUDGET_BASE }
196
+ : {}),
195
197
  ...(ManagedBudgetBases as Record<number, Address>),
196
198
  };
197
199
  /**
@@ -132,7 +132,9 @@ export class ManagedBudgetWithFees extends DeployableTargetWithRBAC<
132
132
  * @type {Record<number, Address>}
133
133
  */
134
134
  public static override bases: Record<number, Address> = {
135
- 31337: import.meta.env.VITE_MANAGED_BUDGET_WITH_FEES_BASE,
135
+ ...(import.meta.env?.VITE_MANAGED_BUDGET_WITH_FEES_BASE
136
+ ? { 31337: import.meta.env.VITE_MANAGED_BUDGET_WITH_FEES_BASE }
137
+ : {}),
136
138
  ...(ManagedBudgetWithFeesBases as Record<number, Address>),
137
139
  };
138
140
  /**
@@ -134,7 +134,9 @@ export class ManagedBudgetWithFeesV2 extends DeployableTargetWithRBAC<
134
134
  * @type {Record<number, Address>}
135
135
  */
136
136
  public static override bases: Record<number, Address> = {
137
- 31337: import.meta.env.VITE_MANAGED_BUDGET_WITH_FEES_BASE,
137
+ ...(import.meta.env?.VITE_MANAGED_BUDGET_WITH_FEES_BASE
138
+ ? { 31337: import.meta.env.VITE_MANAGED_BUDGET_WITH_FEES_BASE }
139
+ : {}),
138
140
  ...(ManagedBudgetWithFeesV2Bases as Record<number, Address>),
139
141
  };
140
142
  /**
@@ -82,7 +82,9 @@ export class TransparentBudget extends DeployableTargetWithRBAC<
82
82
  * @type {Record<number, Address>}
83
83
  */
84
84
  public static override bases: Record<number, Address> = {
85
- 31337: import.meta.env.VITE_TRANSPARENT_BUDGET_BASE,
85
+ ...(import.meta.env?.VITE_TRANSPARENT_BUDGET_BASE
86
+ ? { 31337: import.meta.env.VITE_TRANSPARENT_BUDGET_BASE }
87
+ : {}),
86
88
  ...(TransparentBudgetBases as Record<number, Address>),
87
89
  };
88
90
  /**
@@ -130,7 +130,9 @@ export class VestingBudget extends DeployableTargetWithRBAC<
130
130
  * @type {Record<number, Address>}
131
131
  */
132
132
  public static override bases: Record<number, Address> = {
133
- 31337: import.meta.env.VITE_VESTING_BUDGET_BASE,
133
+ ...(import.meta.env?.VITE_VESTING_BUDGET_BASE
134
+ ? { 31337: import.meta.env.VITE_VESTING_BUDGET_BASE }
135
+ : {}),
134
136
  };
135
137
  /**
136
138
  * @inheritdoc
@@ -64,9 +64,8 @@ export class DeployableTarget<
64
64
  public get isBase() {
65
65
  if (
66
66
  !!this.address &&
67
- Object.values(this.bases).some((base) =>
68
- // biome-ignore lint/style/noNonNullAssertion: won't evaluate this if address checked and defined above
69
- isAddressEqual(this.address!, base),
67
+ Object.values(this.bases).some(
68
+ (base) => base && this.address && isAddressEqual(this.address, base),
70
69
  )
71
70
  )
72
71
  return true;
@@ -97,7 +97,9 @@ export class AllowListIncentive extends DeployableTarget<
97
97
  * @type {Record<number, Address>}
98
98
  */
99
99
  public static override bases: Record<number, Address> = {
100
- 31337: import.meta.env.VITE_ALLOWLIST_INCENTIVE_BASE,
100
+ ...(import.meta.env?.VITE_ALLOWLIST_INCENTIVE_BASE
101
+ ? { 31337: import.meta.env.VITE_ALLOWLIST_INCENTIVE_BASE }
102
+ : {}),
101
103
  ...(AllowListIncentiveBases as Record<number, Address>),
102
104
  };
103
105
  /**
@@ -156,7 +156,9 @@ export class CGDAIncentive extends DeployableTarget<
156
156
  * @type {Record<number, Address>}
157
157
  */
158
158
  public static override bases: Record<number, Address> = {
159
- 31337: import.meta.env.VITE_CGDA_INCENTIVE_BASE,
159
+ ...(import.meta.env?.VITE_CGDA_INCENTIVE_BASE
160
+ ? { 31337: import.meta.env.VITE_CGDA_INCENTIVE_BASE }
161
+ : {}),
160
162
  ...(CGDAIncentiveBases as Record<number, Address>),
161
163
  };
162
164
  /**
@@ -130,7 +130,9 @@ export class ERC1155Incentive extends DeployableTarget<
130
130
  * @type {Record<number, Address>}
131
131
  */
132
132
  public static override bases: Record<number, Address> = {
133
- 31337: import.meta.env.VITE_ERC1155_INCENTIVE_BASE,
133
+ ...(import.meta.env?.VITE_ERC1155_INCENTIVE_BASE
134
+ ? { 31337: import.meta.env.VITE_ERC1155_INCENTIVE_BASE }
135
+ : {}),
134
136
  };
135
137
  /**
136
138
  * @inheritdoc