@boostxyz/sdk 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +2 -2
  3. package/dist/Actions/ERC721MintAction.d.ts +1 -1
  4. package/dist/Actions/EventAction.cjs +1 -1
  5. package/dist/Actions/EventAction.cjs.map +1 -1
  6. package/dist/Actions/EventAction.d.ts +219 -0
  7. package/dist/Actions/EventAction.d.ts.map +1 -1
  8. package/dist/Actions/EventAction.js +38 -38
  9. package/dist/Actions/EventAction.js.map +1 -1
  10. package/dist/AllowLists/AllowList.cjs +1 -1
  11. package/dist/AllowLists/AllowList.js +12 -12
  12. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  13. package/dist/AllowLists/SimpleAllowList.js +8 -8
  14. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  15. package/dist/AllowLists/SimpleDenyList.js +3 -3
  16. package/dist/Auth/PassthroughAuth.cjs +1 -1
  17. package/dist/Auth/PassthroughAuth.js +1 -1
  18. package/dist/BoostCore.cjs +2 -2
  19. package/dist/BoostCore.cjs.map +1 -1
  20. package/dist/BoostCore.d.ts +53 -0
  21. package/dist/BoostCore.d.ts.map +1 -1
  22. package/dist/BoostCore.js +100 -83
  23. package/dist/BoostCore.js.map +1 -1
  24. package/dist/BoostRegistry.cjs +1 -1
  25. package/dist/BoostRegistry.js +33 -33
  26. package/dist/{Budget-BA_1sa1e.cjs → Budget-BSqx3xcT.cjs} +2 -2
  27. package/dist/{Budget-BA_1sa1e.cjs.map → Budget-BSqx3xcT.cjs.map} +1 -1
  28. package/dist/{Budget-B0q1S08L.js → Budget-C3eMp8lh.js} +30 -30
  29. package/dist/{Budget-B0q1S08L.js.map → Budget-C3eMp8lh.js.map} +1 -1
  30. package/dist/Budgets/Budget.cjs +1 -1
  31. package/dist/Budgets/Budget.js +3 -3
  32. package/dist/Budgets/ManagedBudget.cjs +1 -1
  33. package/dist/Budgets/ManagedBudget.js +31 -31
  34. package/dist/Deployable/DeployableTarget.cjs +1 -1
  35. package/dist/Deployable/DeployableTarget.js +1 -1
  36. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  37. package/dist/Deployable/DeployableTargetWithRBAC.js +18 -18
  38. package/dist/Incentive-BWC9nRgY.cjs +2 -0
  39. package/dist/Incentive-BWC9nRgY.cjs.map +1 -0
  40. package/dist/Incentive-o0qXIACU.js +397 -0
  41. package/dist/Incentive-o0qXIACU.js.map +1 -0
  42. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  43. package/dist/Incentives/AllowListIncentive.js +3 -3
  44. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  45. package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
  46. package/dist/Incentives/CGDAIncentive.d.ts +30 -0
  47. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
  48. package/dist/Incentives/CGDAIncentive.js +22 -22
  49. package/dist/Incentives/CGDAIncentive.js.map +1 -1
  50. package/dist/Incentives/ERC1155Incentive.d.ts +25 -0
  51. package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
  52. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  53. package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
  54. package/dist/Incentives/ERC20Incentive.d.ts +30 -0
  55. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
  56. package/dist/Incentives/ERC20Incentive.js +20 -20
  57. package/dist/Incentives/ERC20Incentive.js.map +1 -1
  58. package/dist/Incentives/ERC20PeggedIncentive.d.ts +906 -0
  59. package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -0
  60. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  61. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -1
  62. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +67 -0
  63. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -1
  64. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +15 -15
  65. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -1
  66. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  67. package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
  68. package/dist/Incentives/ERC20VariableIncentive.d.ts +20 -0
  69. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
  70. package/dist/Incentives/ERC20VariableIncentive.js +13 -13
  71. package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
  72. package/dist/Incentives/Incentive.cjs +1 -1
  73. package/dist/Incentives/Incentive.cjs.map +1 -1
  74. package/dist/Incentives/Incentive.d.ts +24 -3
  75. package/dist/Incentives/Incentive.d.ts.map +1 -1
  76. package/dist/Incentives/Incentive.js +18 -39
  77. package/dist/Incentives/Incentive.js.map +1 -1
  78. package/dist/Incentives/PointsIncentive.cjs +1 -1
  79. package/dist/Incentives/PointsIncentive.cjs.map +1 -1
  80. package/dist/Incentives/PointsIncentive.d.ts +25 -0
  81. package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
  82. package/dist/Incentives/PointsIncentive.js +16 -16
  83. package/dist/Incentives/PointsIncentive.js.map +1 -1
  84. package/dist/{SimpleDenyList-DrQrJ14i.cjs → SimpleDenyList-Dzs_F7dt.cjs} +2 -2
  85. package/dist/{SimpleDenyList-DrQrJ14i.cjs.map → SimpleDenyList-Dzs_F7dt.cjs.map} +1 -1
  86. package/dist/{SimpleDenyList-DuCoaOlG.js → SimpleDenyList-bCzbBEvY.js} +9 -9
  87. package/dist/{SimpleDenyList-DuCoaOlG.js.map → SimpleDenyList-bCzbBEvY.js.map} +1 -1
  88. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  89. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  90. package/dist/Validators/LimitedSignerValidator.d.ts +11 -1
  91. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  92. package/dist/Validators/LimitedSignerValidator.js +20 -20
  93. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  94. package/dist/Validators/SignerValidator.cjs +1 -1
  95. package/dist/Validators/SignerValidator.cjs.map +1 -1
  96. package/dist/Validators/SignerValidator.d.ts +11 -1
  97. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  98. package/dist/Validators/SignerValidator.js +3 -3
  99. package/dist/Validators/SignerValidator.js.map +1 -1
  100. package/dist/Validators/Validator.cjs +1 -1
  101. package/dist/Validators/Validator.js +8 -8
  102. package/dist/{componentInterfaces-dakxtQHf.js → componentInterfaces-C4uAYjSo.js} +12 -12
  103. package/dist/componentInterfaces-C4uAYjSo.js.map +1 -0
  104. package/dist/deployments-B1Mh8zRA.cjs +2 -0
  105. package/dist/deployments-B1Mh8zRA.cjs.map +1 -0
  106. package/dist/deployments-DNjIZXvl.js +90 -0
  107. package/dist/deployments-DNjIZXvl.js.map +1 -0
  108. package/dist/deployments.json +33 -43
  109. package/dist/{generated-1ZT_mHJx.js → generated-D2xuTYvu.js} +1647 -748
  110. package/dist/generated-D2xuTYvu.js.map +1 -0
  111. package/dist/generated-DAZo6jo9.cjs +3 -0
  112. package/dist/generated-DAZo6jo9.cjs.map +1 -0
  113. package/dist/index.cjs +1 -1
  114. package/dist/index.d.ts +1 -0
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +115 -112
  117. package/package.json +1 -1
  118. package/src/BoostCore.ts +22 -0
  119. package/src/Incentives/ERC20PeggedIncentive.ts +511 -0
  120. package/src/Incentives/Incentive.ts +6 -1
  121. package/src/index.ts +1 -0
  122. package/dist/componentInterfaces-dakxtQHf.js.map +0 -1
  123. package/dist/deployments-BucJ-gwk.cjs +0 -2
  124. package/dist/deployments-BucJ-gwk.cjs.map +0 -1
  125. package/dist/deployments-CQu0bLhU.js +0 -102
  126. package/dist/deployments-CQu0bLhU.js.map +0 -1
  127. package/dist/generated-1ZT_mHJx.js.map +0 -1
  128. package/dist/generated-CgBgbMNe.cjs +0 -3
  129. package/dist/generated-CgBgbMNe.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./BoostRegistry.cjs"),n=require("./BoostCore.cjs"),A=require("./Boost.cjs"),u=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),E=require("./AllowLists/AllowList.cjs"),y=require("./AllowLists/SimpleAllowList.cjs"),C=require("./SimpleDenyList-DrQrJ14i.cjs"),l=require("./Budget-BA_1sa1e.cjs"),o=require("./Budgets/ManagedBudget.cjs"),D=require("./Deployable/Deployable.cjs"),T=require("./Deployable/Contract.cjs"),V=require("./Deployable/DeployableTarget.cjs"),I=require("./Deployable/DeployableTargetWithRBAC.cjs"),m=require("./Incentives/AllowListIncentive.cjs"),S=require("./Incentives/CGDAIncentive.cjs"),v=require("./Incentives/ERC20Incentive.cjs"),P=require("./Incentives/ERC20VariableIncentive.cjs"),g=require("./Incentives/ERC20VariableCriteriaIncentive.cjs"),b=require("./Incentives/Incentive.cjs"),R=require("./Incentives/PointsIncentive.cjs"),d=require("./Validators/SignerValidator.cjs"),s=require("./Validators/LimitedSignerValidator.cjs"),p=require("./Validators/Validator.cjs"),e=require("./errors.cjs"),i=require("./utils.cjs"),B=require("./claiming.cjs"),t=require("./transfers.cjs"),L=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-CgBgbMNe.cjs");exports.BOOST_REGISTRY_ADDRESS=c.BOOST_REGISTRY_ADDRESS;exports.BOOST_REGISTRY_ADDRESSES=c.BOOST_REGISTRY_ADDRESSES;exports.BoostRegistry=c.BoostRegistry;exports.BOOST_CORE_ADDRESS=n.BOOST_CORE_ADDRESS;exports.BOOST_CORE_ADDRESSES=n.BOOST_CORE_ADDRESSES;exports.BoostCore=n.BoostCore;exports.FEE_DENOMINATOR=n.FEE_DENOMINATOR;exports.Boost=A.Boost;exports.prepareBoostPayload=A.prepareBoostPayload;exports.ActionByComponentInterface=u.ActionByComponentInterface;exports.actionFromAddress=u.actionFromAddress;exports.EventAction=a.EventAction;exports.FilterType=a.FilterType;exports.PrimitiveType=a.PrimitiveType;exports.SignatureType=a.SignatureType;exports.anyActionParameter=a.anyActionParameter;exports.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.AllowListByComponentInterface=E.AllowListByComponentInterface;exports.OpenAllowList=E.OpenAllowList;exports.allowListFromAddress=E.allowListFromAddress;exports.LIST_MANAGER_ROLE=y.LIST_MANAGER_ROLE;exports.SimpleAllowList=y.SimpleAllowList;exports.prepareSimpleAllowListPayload=y.prepareSimpleAllowListPayload;exports.SimpleDenyList=C.SimpleDenyList;exports.prepareSimpleDenyListPayload=C.prepareSimpleDenyListPayload;exports.BudgetByComponentInterface=l.BudgetByComponentInterface;exports.ManagedBudgetWithFees=l.ManagedBudgetWithFees;exports.budgetFromAddress=l.budgetFromAddress;exports.prepareManagedBudgetWithFeesPayload=l.prepareManagedBudgetWithFeesPayload;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=D.Deployable;exports.Contract=T.Contract;exports.DeployableTarget=V.DeployableTarget;exports.DeployableTargetWithRBAC=I.DeployableTargetWithRBAC;exports.Roles=I.Roles;exports.AllowListIncentive=m.AllowListIncentive;exports.prepareAllowListIncentivePayload=m.prepareAllowListIncentivePayload;exports.CGDAIncentive=S.CGDAIncentive;exports.prepareCGDAIncentivePayload=S.prepareCGDAIncentivePayload;exports.ERC20Incentive=v.ERC20Incentive;exports.prepareERC20IncentivePayload=v.prepareERC20IncentivePayload;exports.ERC20VariableIncentive=P.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=P.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentive=g.ERC20VariableCriteriaIncentive;exports.gasRebateIncentiveCriteria=g.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentivePayload=g.prepareERC20VariableCriteriaIncentivePayload;exports.IncentiveByComponentInterface=b.IncentiveByComponentInterface;exports.incentiveFromAddress=b.incentiveFromAddress;exports.PointsIncentive=R.PointsIncentive;exports.preparePointsIncentivePayload=R.preparePointsIncentivePayload;exports.SignerValidator=d.SignerValidator;exports.prepareSignerValidatorClaimDataPayload=d.prepareSignerValidatorClaimDataPayload;exports.prepareSignerValidatorInputParams=d.prepareSignerValidatorInputParams;exports.prepareSignerValidatorPayload=d.prepareSignerValidatorPayload;exports.LimitedSignerValidator=s.LimitedSignerValidator;exports.prepareLimitedSignerValidatorClaimDataPayload=s.prepareLimitedSignerValidatorClaimDataPayload;exports.prepareLimitedSignerValidatorInputParams=s.prepareLimitedSignerValidatorInputParams;exports.prepareLimitedSignerValidatorPayload=s.prepareLimitedSignerValidatorPayload;exports.BoostValidatorEOA=p.BoostValidatorEOA;exports.ValidatorByComponentInterface=p.ValidatorByComponentInterface;exports.decodeClaimData=p.decodeClaimData;exports.validatorFromAddress=p.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.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.assertValidAddressByChainId=i.assertValidAddressByChainId;exports.awaitResult=i.awaitResult;exports.bytes4=i.bytes4;exports.getDeployedContractAddress=i.getDeployedContractAddress;exports.getErc20Balance=i.getErc20Balance;exports.StrategyType=B.StrategyType;exports.prepareClaimPayload=B.prepareClaimPayload;exports.AssetType=t.AssetType;exports.prepareERC1155Payload=t.prepareERC1155Payload;exports.prepareERC1155Transfer=t.prepareERC1155Transfer;exports.prepareFungiblePayload=t.prepareFungiblePayload;exports.prepareFungibleTransfer=t.prepareFungibleTransfer;exports.prepareTransferPayload=t.prepareTransferPayload;exports.PassthroughAuth=L.PassthroughAuth;exports.allowListIncentiveAbi=r.z;exports.boostCoreAbi=r.I;exports.boostRegistryAbi=r.ue;exports.cgdaIncentiveAbi=r.w;exports.erc20IncentiveAbi=r.m;exports.erc20VariableCriteriaIncentiveAbi=r.b;exports.erc20VariableIncentiveAbi=r.T;exports.limitedSignerValidatorAbi=r.H;exports.managedBudgetAbi=r.f;exports.managedBudgetWithFeesAbi=r.o;exports.passthroughAuthAbi=r.Le;exports.pointsIncentiveAbi=r.h;exports.rbacAbi=r.E;exports.signerValidatorAbi=r.F;exports.simpleAllowListAbi=r.R;exports.simpleDenyListAbi=r.O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BoostRegistry.cjs"),n=require("./BoostCore.cjs"),C=require("./Boost.cjs"),u=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),y=require("./AllowLists/AllowList.cjs"),g=require("./AllowLists/SimpleAllowList.cjs"),I=require("./SimpleDenyList-Dzs_F7dt.cjs"),l=require("./Budget-BSqx3xcT.cjs"),o=require("./Budgets/ManagedBudget.cjs"),D=require("./Deployable/Deployable.cjs"),T=require("./Deployable/Contract.cjs"),V=require("./Deployable/DeployableTarget.cjs"),P=require("./Deployable/DeployableTargetWithRBAC.cjs"),v=require("./Incentives/AllowListIncentive.cjs"),m=require("./Incentives/CGDAIncentive.cjs"),S=require("./Incentives/ERC20Incentive.cjs"),d=require("./Incentive-BWC9nRgY.cjs"),b=require("./Incentives/ERC20VariableIncentive.cjs"),A=require("./Incentives/ERC20VariableCriteriaIncentive.cjs"),R=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"),B=require("./claiming.cjs"),t=require("./transfers.cjs"),F=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-DAZo6jo9.cjs");exports.BOOST_REGISTRY_ADDRESS=E.BOOST_REGISTRY_ADDRESS;exports.BOOST_REGISTRY_ADDRESSES=E.BOOST_REGISTRY_ADDRESSES;exports.BoostRegistry=E.BoostRegistry;exports.BOOST_CORE_ADDRESS=n.BOOST_CORE_ADDRESS;exports.BOOST_CORE_ADDRESSES=n.BOOST_CORE_ADDRESSES;exports.BoostCore=n.BoostCore;exports.FEE_DENOMINATOR=n.FEE_DENOMINATOR;exports.Boost=C.Boost;exports.prepareBoostPayload=C.prepareBoostPayload;exports.ActionByComponentInterface=u.ActionByComponentInterface;exports.actionFromAddress=u.actionFromAddress;exports.EventAction=a.EventAction;exports.FilterType=a.FilterType;exports.PrimitiveType=a.PrimitiveType;exports.SignatureType=a.SignatureType;exports.anyActionParameter=a.anyActionParameter;exports.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.AllowListByComponentInterface=y.AllowListByComponentInterface;exports.OpenAllowList=y.OpenAllowList;exports.allowListFromAddress=y.allowListFromAddress;exports.LIST_MANAGER_ROLE=g.LIST_MANAGER_ROLE;exports.SimpleAllowList=g.SimpleAllowList;exports.prepareSimpleAllowListPayload=g.prepareSimpleAllowListPayload;exports.SimpleDenyList=I.SimpleDenyList;exports.prepareSimpleDenyListPayload=I.prepareSimpleDenyListPayload;exports.BudgetByComponentInterface=l.BudgetByComponentInterface;exports.ManagedBudgetWithFees=l.ManagedBudgetWithFees;exports.budgetFromAddress=l.budgetFromAddress;exports.prepareManagedBudgetWithFeesPayload=l.prepareManagedBudgetWithFeesPayload;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=D.Deployable;exports.Contract=T.Contract;exports.DeployableTarget=V.DeployableTarget;exports.DeployableTargetWithRBAC=P.DeployableTargetWithRBAC;exports.Roles=P.Roles;exports.AllowListIncentive=v.AllowListIncentive;exports.prepareAllowListIncentivePayload=v.prepareAllowListIncentivePayload;exports.CGDAIncentive=m.CGDAIncentive;exports.prepareCGDAIncentivePayload=m.prepareCGDAIncentivePayload;exports.ERC20Incentive=S.ERC20Incentive;exports.prepareERC20IncentivePayload=S.prepareERC20IncentivePayload;exports.ERC20PeggedIncentive=d.ERC20PeggedIncentive;exports.IncentiveByComponentInterface=d.IncentiveByComponentInterface;exports.incentiveFromAddress=d.incentiveFromAddress;exports.prepareERC20PeggedIncentivePayload=d.prepareERC20PeggedIncentivePayload;exports.ERC20VariableIncentive=b.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=b.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentive=A.ERC20VariableCriteriaIncentive;exports.gasRebateIncentiveCriteria=A.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentivePayload=A.prepareERC20VariableCriteriaIncentivePayload;exports.PointsIncentive=R.PointsIncentive;exports.preparePointsIncentivePayload=R.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.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.assertValidAddressByChainId=i.assertValidAddressByChainId;exports.awaitResult=i.awaitResult;exports.bytes4=i.bytes4;exports.getDeployedContractAddress=i.getDeployedContractAddress;exports.getErc20Balance=i.getErc20Balance;exports.StrategyType=B.StrategyType;exports.prepareClaimPayload=B.prepareClaimPayload;exports.AssetType=t.AssetType;exports.prepareERC1155Payload=t.prepareERC1155Payload;exports.prepareERC1155Transfer=t.prepareERC1155Transfer;exports.prepareFungiblePayload=t.prepareFungiblePayload;exports.prepareFungibleTransfer=t.prepareFungibleTransfer;exports.prepareTransferPayload=t.prepareTransferPayload;exports.PassthroughAuth=F.PassthroughAuth;exports.allowListIncentiveAbi=r.B;exports.boostCoreAbi=r.I;exports.boostRegistryAbi=r.ye;exports.cgdaIncentiveAbi=r.T;exports.erc20IncentiveAbi=r.b;exports.erc20PeggedIncentiveAbi=r.f;exports.erc20VariableCriteriaIncentiveAbi=r.y;exports.erc20VariableIncentiveAbi=r.A;exports.limitedSignerValidatorAbi=r.x;exports.managedBudgetAbi=r.v;exports.managedBudgetWithFeesAbi=r.o;exports.passthroughAuthAbi=r.Ge;exports.pointsIncentiveAbi=r.h;exports.rbacAbi=r.z;exports.signerValidatorAbi=r.F;exports.simpleAllowListAbi=r.O;exports.simpleDenyListAbi=r.C;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './Deployable/DeployableTargetWithRBAC';
16
16
  export * from './Incentives/AllowListIncentive';
17
17
  export * from './Incentives/CGDAIncentive';
18
18
  export * from './Incentives/ERC20Incentive';
19
+ export * from './Incentives/ERC20PeggedIncentive';
19
20
  export * from './Incentives/ERC20VariableIncentive';
20
21
  export * from './Incentives/ERC20VariableCriteriaIncentive';
21
22
  export * from './Incentives/Incentive';
@@ -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;AAGjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAIhD,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,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAE5D,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;AAGjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAIhD,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;AAE5D,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"}
package/dist/index.js CHANGED
@@ -2,12 +2,12 @@ import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as o, BoostRegist
2
2
  import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as p, BoostCore as d, FEE_DENOMINATOR as l } from "./BoostCore.js";
3
3
  import { Boost as m, prepareBoostPayload as c } from "./Boost.js";
4
4
  import { ActionByComponentInterface as A, actionFromAddress as y } from "./Actions/Action.js";
5
- import { EventAction as f, FilterType as C, PrimitiveType as b, SignatureType as I, anyActionParameter as S, isEventActionPayloadSimple as u, prepareEventActionPayload as v, transactionSenderClaimant as P } from "./Actions/EventAction.js";
6
- import { AllowListByComponentInterface as B, OpenAllowList as D, allowListFromAddress as x } from "./AllowLists/AllowList.js";
5
+ import { EventAction as C, FilterType as f, PrimitiveType as I, SignatureType as b, anyActionParameter as v, isEventActionPayloadSimple as P, prepareEventActionPayload as S, transactionSenderClaimant as u } from "./Actions/EventAction.js";
6
+ import { AllowListByComponentInterface as B, OpenAllowList as x, allowListFromAddress as D } from "./AllowLists/AllowList.js";
7
7
  import { LIST_MANAGER_ROLE as V, SimpleAllowList as F, prepareSimpleAllowListPayload as L } from "./AllowLists/SimpleAllowList.js";
8
- import { S as O, p as M } from "./SimpleDenyList-DuCoaOlG.js";
9
- import { B as N, M as _, b as U, p as G } from "./Budget-B0q1S08L.js";
10
- import { ManagedBudget as z, ManagedBudgetRoles as k, isERC1155TransferPayload as q, isFungibleTransfer as Y, prepareManagedBudgetPayload as H, prepareTransfer as j } from "./Budgets/ManagedBudget.js";
8
+ import { S as O, p as M } from "./SimpleDenyList-bCzbBEvY.js";
9
+ import { B as N, M as _, b as U, p as G } from "./Budget-C3eMp8lh.js";
10
+ import { ManagedBudget as z, ManagedBudgetRoles as k, isERC1155TransferPayload as q, isFungibleTransfer as Y, prepareManagedBudgetPayload as j, prepareTransfer as H } from "./Budgets/ManagedBudget.js";
11
11
  import { Deployable as K } from "./Deployable/Deployable.js";
12
12
  import { Contract as X } from "./Deployable/Contract.js";
13
13
  import { DeployableTarget as $ } from "./Deployable/DeployableTarget.js";
@@ -15,151 +15,154 @@ import { DeployableTargetWithRBAC as re, Roles as ae } from "./Deployable/Deploy
15
15
  import { AllowListIncentive as te, prepareAllowListIncentivePayload as ie } from "./Incentives/AllowListIncentive.js";
16
16
  import { CGDAIncentive as pe, prepareCGDAIncentivePayload as de } from "./Incentives/CGDAIncentive.js";
17
17
  import { ERC20Incentive as se, prepareERC20IncentivePayload as me } from "./Incentives/ERC20Incentive.js";
18
- import { ERC20VariableIncentive as Ee, prepareERC20VariableIncentivePayload as Ae } from "./Incentives/ERC20VariableIncentive.js";
19
- import { ERC20VariableCriteriaIncentive as ge, gasRebateIncentiveCriteria as fe, prepareERC20VariableCriteriaIncentivePayload as Ce } from "./Incentives/ERC20VariableCriteriaIncentive.js";
20
- import { IncentiveByComponentInterface as Ie, incentiveFromAddress as Se } from "./Incentives/Incentive.js";
21
- import { PointsIncentive as ve, preparePointsIncentivePayload as Pe } from "./Incentives/PointsIncentive.js";
22
- import { SignerValidator as Be, prepareSignerValidatorClaimDataPayload as De, prepareSignerValidatorInputParams as xe, prepareSignerValidatorPayload as Te } from "./Validators/SignerValidator.js";
23
- import { LimitedSignerValidator as Fe, prepareLimitedSignerValidatorClaimDataPayload as Le, prepareLimitedSignerValidatorInputParams as he, prepareLimitedSignerValidatorPayload as Oe } from "./Validators/LimitedSignerValidator.js";
24
- import { BoostValidatorEOA as we, ValidatorByComponentInterface as Ne, decodeClaimData as _e, validatorFromAddress as Ue } from "./Validators/Validator.js";
25
- import { BoostCoreNoIdentifierEmitted as We, BoostNotFoundError as ze, BudgetMustAuthorizeBoostCore as ke, ContractAddressRequiredError as qe, DecodedArgsError as Ye, DecodedArgsMalformedError as He, DeployableAlreadyDeployedError as je, DeployableBuildParametersUnspecifiedError as Je, DeployableMissingPayloadError as Ke, DeployableUnknownOwnerProvidedError as Qe, DeployableWagmiConfigurationRequiredError as Xe, FieldActionValidationError as Ze, FieldValueNotComparableError as $e, FieldValueUndefinedError as er, FunctionDataDecodeError as rr, IncentiveCriteriaNotFoundError as ar, IncentiveNotCloneableError as or, InvalidComponentInterfaceError as tr, InvalidCriteriaTypeError as ir, InvalidNumericalCriteriaError as nr, InvalidProtocolChainIdError as pr, MustInitializeBudgetError as dr, NoConnectedChainIdError as lr, NoContractAddressUponReceiptError as sr, NoEventActionStepsProvidedError as mr, NoMatchingLogsError as cr, TooManyEventActionStepsProvidedError as Er, UnknownTransferPayloadSupplied as Ar, UnparseableAbiParamError as yr, UnrecognizedFilterTypeError as gr, ValidationAbiMissingError as fr } from "./errors.js";
26
- import { CheatCodes as br, RegistryType as Ir, assertValidAddressByChainId as Sr, awaitResult as ur, bytes4 as vr, getDeployedContractAddress as Pr, getErc20Balance as Rr } from "./utils.js";
27
- import { StrategyType as Dr, prepareClaimPayload as xr } from "./claiming.js";
28
- import { AssetType as Vr, prepareERC1155Payload as Fr, prepareERC1155Transfer as Lr, prepareFungiblePayload as hr, prepareFungibleTransfer as Or, prepareTransferPayload as Mr } from "./transfers.js";
29
- import { PassthroughAuth as Nr } from "./Auth/PassthroughAuth.js";
30
- import { z as Ur, I as Gr, u as Wr, w as zr, m as kr, b as qr, T as Yr, H as Hr, f as jr, o as Jr, L as Kr, h as Qr, E as Xr, F as Zr, R as $r, O as ea } from "./generated-1ZT_mHJx.js";
18
+ import { E as Ee, I as Ae, i as ye, p as ge } from "./Incentive-o0qXIACU.js";
19
+ import { ERC20VariableIncentive as fe, prepareERC20VariableIncentivePayload as Ie } from "./Incentives/ERC20VariableIncentive.js";
20
+ import { ERC20VariableCriteriaIncentive as ve, gasRebateIncentiveCriteria as Pe, prepareERC20VariableCriteriaIncentivePayload as Se } from "./Incentives/ERC20VariableCriteriaIncentive.js";
21
+ import { PointsIncentive as Re, preparePointsIncentivePayload as Be } from "./Incentives/PointsIncentive.js";
22
+ import { SignerValidator as De, prepareSignerValidatorClaimDataPayload as Te, prepareSignerValidatorInputParams as Ve, prepareSignerValidatorPayload as Fe } from "./Validators/SignerValidator.js";
23
+ import { LimitedSignerValidator as he, prepareLimitedSignerValidatorClaimDataPayload as Oe, prepareLimitedSignerValidatorInputParams as Me, prepareLimitedSignerValidatorPayload as we } from "./Validators/LimitedSignerValidator.js";
24
+ import { BoostValidatorEOA as _e, ValidatorByComponentInterface as Ue, decodeClaimData as Ge, validatorFromAddress as We } from "./Validators/Validator.js";
25
+ import { BoostCoreNoIdentifierEmitted as ke, BoostNotFoundError as qe, BudgetMustAuthorizeBoostCore as Ye, ContractAddressRequiredError as je, DecodedArgsError as He, DecodedArgsMalformedError as Je, DeployableAlreadyDeployedError as Ke, DeployableBuildParametersUnspecifiedError as Qe, DeployableMissingPayloadError as Xe, DeployableUnknownOwnerProvidedError as Ze, DeployableWagmiConfigurationRequiredError as $e, FieldActionValidationError as er, FieldValueNotComparableError as rr, FieldValueUndefinedError as ar, FunctionDataDecodeError as or, IncentiveCriteriaNotFoundError as tr, IncentiveNotCloneableError as ir, InvalidComponentInterfaceError as nr, InvalidCriteriaTypeError as pr, InvalidNumericalCriteriaError as dr, InvalidProtocolChainIdError as lr, MustInitializeBudgetError as sr, NoConnectedChainIdError as mr, NoContractAddressUponReceiptError as cr, NoEventActionStepsProvidedError as Er, NoMatchingLogsError as Ar, TooManyEventActionStepsProvidedError as yr, UnknownTransferPayloadSupplied as gr, UnparseableAbiParamError as Cr, UnrecognizedFilterTypeError as fr, ValidationAbiMissingError as Ir } from "./errors.js";
26
+ import { CheatCodes as vr, RegistryType as Pr, assertValidAddressByChainId as Sr, awaitResult as ur, bytes4 as Rr, getDeployedContractAddress as Br, getErc20Balance as xr } from "./utils.js";
27
+ import { StrategyType as Tr, prepareClaimPayload as Vr } from "./claiming.js";
28
+ import { AssetType as Lr, prepareERC1155Payload as hr, prepareERC1155Transfer as Or, prepareFungiblePayload as Mr, prepareFungibleTransfer as wr, prepareTransferPayload as Nr } from "./transfers.js";
29
+ import { PassthroughAuth as Ur } from "./Auth/PassthroughAuth.js";
30
+ import { B as Wr, I as zr, y as kr, T as qr, b as Yr, f as jr, a as Hr, A as Jr, x as Kr, v as Qr, o as Xr, G as Zr, h as $r, z as ea, F as ra, O as aa, C as oa } from "./generated-D2xuTYvu.js";
31
31
  export {
32
32
  A as ActionByComponentInterface,
33
33
  B as AllowListByComponentInterface,
34
34
  te as AllowListIncentive,
35
- Vr as AssetType,
35
+ Lr as AssetType,
36
36
  n as BOOST_CORE_ADDRESS,
37
37
  p as BOOST_CORE_ADDRESSES,
38
38
  a as BOOST_REGISTRY_ADDRESS,
39
39
  o as BOOST_REGISTRY_ADDRESSES,
40
40
  m as Boost,
41
41
  d as BoostCore,
42
- We as BoostCoreNoIdentifierEmitted,
43
- ze as BoostNotFoundError,
42
+ ke as BoostCoreNoIdentifierEmitted,
43
+ qe as BoostNotFoundError,
44
44
  t as BoostRegistry,
45
- we as BoostValidatorEOA,
45
+ _e as BoostValidatorEOA,
46
46
  N as BudgetByComponentInterface,
47
- ke as BudgetMustAuthorizeBoostCore,
47
+ Ye as BudgetMustAuthorizeBoostCore,
48
48
  pe as CGDAIncentive,
49
- br as CheatCodes,
49
+ vr as CheatCodes,
50
50
  X as Contract,
51
- qe as ContractAddressRequiredError,
52
- Ye as DecodedArgsError,
53
- He as DecodedArgsMalformedError,
51
+ je as ContractAddressRequiredError,
52
+ He as DecodedArgsError,
53
+ Je as DecodedArgsMalformedError,
54
54
  K as Deployable,
55
- je as DeployableAlreadyDeployedError,
56
- Je as DeployableBuildParametersUnspecifiedError,
57
- Ke as DeployableMissingPayloadError,
55
+ Ke as DeployableAlreadyDeployedError,
56
+ Qe as DeployableBuildParametersUnspecifiedError,
57
+ Xe as DeployableMissingPayloadError,
58
58
  $ as DeployableTarget,
59
59
  re as DeployableTargetWithRBAC,
60
- Qe as DeployableUnknownOwnerProvidedError,
61
- Xe as DeployableWagmiConfigurationRequiredError,
60
+ Ze as DeployableUnknownOwnerProvidedError,
61
+ $e as DeployableWagmiConfigurationRequiredError,
62
62
  se as ERC20Incentive,
63
- ge as ERC20VariableCriteriaIncentive,
64
- Ee as ERC20VariableIncentive,
65
- f as EventAction,
63
+ Ee as ERC20PeggedIncentive,
64
+ ve as ERC20VariableCriteriaIncentive,
65
+ fe as ERC20VariableIncentive,
66
+ C as EventAction,
66
67
  l as FEE_DENOMINATOR,
67
- Ze as FieldActionValidationError,
68
- $e as FieldValueNotComparableError,
69
- er as FieldValueUndefinedError,
70
- C as FilterType,
71
- rr as FunctionDataDecodeError,
72
- Ie as IncentiveByComponentInterface,
73
- ar as IncentiveCriteriaNotFoundError,
74
- or as IncentiveNotCloneableError,
75
- tr as InvalidComponentInterfaceError,
76
- ir as InvalidCriteriaTypeError,
77
- nr as InvalidNumericalCriteriaError,
78
- pr as InvalidProtocolChainIdError,
68
+ er as FieldActionValidationError,
69
+ rr as FieldValueNotComparableError,
70
+ ar as FieldValueUndefinedError,
71
+ f as FilterType,
72
+ or as FunctionDataDecodeError,
73
+ Ae as IncentiveByComponentInterface,
74
+ tr as IncentiveCriteriaNotFoundError,
75
+ ir as IncentiveNotCloneableError,
76
+ nr as InvalidComponentInterfaceError,
77
+ pr as InvalidCriteriaTypeError,
78
+ dr as InvalidNumericalCriteriaError,
79
+ lr as InvalidProtocolChainIdError,
79
80
  V as LIST_MANAGER_ROLE,
80
- Fe as LimitedSignerValidator,
81
+ he as LimitedSignerValidator,
81
82
  z as ManagedBudget,
82
83
  k as ManagedBudgetRoles,
83
84
  _ as ManagedBudgetWithFees,
84
- dr as MustInitializeBudgetError,
85
- lr as NoConnectedChainIdError,
86
- sr as NoContractAddressUponReceiptError,
87
- mr as NoEventActionStepsProvidedError,
88
- cr as NoMatchingLogsError,
89
- D as OpenAllowList,
90
- Nr as PassthroughAuth,
91
- ve as PointsIncentive,
92
- b as PrimitiveType,
93
- Ir as RegistryType,
85
+ sr as MustInitializeBudgetError,
86
+ mr as NoConnectedChainIdError,
87
+ cr as NoContractAddressUponReceiptError,
88
+ Er as NoEventActionStepsProvidedError,
89
+ Ar as NoMatchingLogsError,
90
+ x as OpenAllowList,
91
+ Ur as PassthroughAuth,
92
+ Re as PointsIncentive,
93
+ I as PrimitiveType,
94
+ Pr as RegistryType,
94
95
  ae as Roles,
95
- I as SignatureType,
96
- Be as SignerValidator,
96
+ b as SignatureType,
97
+ De as SignerValidator,
97
98
  F as SimpleAllowList,
98
99
  O as SimpleDenyList,
99
- Dr as StrategyType,
100
- Er as TooManyEventActionStepsProvidedError,
101
- Ar as UnknownTransferPayloadSupplied,
102
- yr as UnparseableAbiParamError,
103
- gr as UnrecognizedFilterTypeError,
104
- fr as ValidationAbiMissingError,
105
- Ne as ValidatorByComponentInterface,
100
+ Tr as StrategyType,
101
+ yr as TooManyEventActionStepsProvidedError,
102
+ gr as UnknownTransferPayloadSupplied,
103
+ Cr as UnparseableAbiParamError,
104
+ fr as UnrecognizedFilterTypeError,
105
+ Ir as ValidationAbiMissingError,
106
+ Ue as ValidatorByComponentInterface,
106
107
  y as actionFromAddress,
107
- x as allowListFromAddress,
108
- Ur as allowListIncentiveAbi,
109
- S as anyActionParameter,
108
+ D as allowListFromAddress,
109
+ Wr as allowListIncentiveAbi,
110
+ v as anyActionParameter,
110
111
  Sr as assertValidAddressByChainId,
111
112
  ur as awaitResult,
112
- Gr as boostCoreAbi,
113
- Wr as boostRegistryAbi,
113
+ zr as boostCoreAbi,
114
+ kr as boostRegistryAbi,
114
115
  U as budgetFromAddress,
115
- vr as bytes4,
116
- zr as cgdaIncentiveAbi,
117
- _e as decodeClaimData,
118
- kr as erc20IncentiveAbi,
119
- qr as erc20VariableCriteriaIncentiveAbi,
120
- Yr as erc20VariableIncentiveAbi,
121
- fe as gasRebateIncentiveCriteria,
122
- Pr as getDeployedContractAddress,
123
- Rr as getErc20Balance,
124
- Se as incentiveFromAddress,
116
+ Rr as bytes4,
117
+ qr as cgdaIncentiveAbi,
118
+ Ge as decodeClaimData,
119
+ Yr as erc20IncentiveAbi,
120
+ jr as erc20PeggedIncentiveAbi,
121
+ Hr as erc20VariableCriteriaIncentiveAbi,
122
+ Jr as erc20VariableIncentiveAbi,
123
+ Pe as gasRebateIncentiveCriteria,
124
+ Br as getDeployedContractAddress,
125
+ xr as getErc20Balance,
126
+ ye as incentiveFromAddress,
125
127
  q as isERC1155TransferPayload,
126
- u as isEventActionPayloadSimple,
128
+ P as isEventActionPayloadSimple,
127
129
  Y as isFungibleTransfer,
128
- Hr as limitedSignerValidatorAbi,
129
- jr as managedBudgetAbi,
130
- Jr as managedBudgetWithFeesAbi,
131
- Kr as passthroughAuthAbi,
132
- Qr as pointsIncentiveAbi,
130
+ Kr as limitedSignerValidatorAbi,
131
+ Qr as managedBudgetAbi,
132
+ Xr as managedBudgetWithFeesAbi,
133
+ Zr as passthroughAuthAbi,
134
+ $r as pointsIncentiveAbi,
133
135
  ie as prepareAllowListIncentivePayload,
134
136
  c as prepareBoostPayload,
135
137
  de as prepareCGDAIncentivePayload,
136
- xr as prepareClaimPayload,
137
- Fr as prepareERC1155Payload,
138
- Lr as prepareERC1155Transfer,
138
+ Vr as prepareClaimPayload,
139
+ hr as prepareERC1155Payload,
140
+ Or as prepareERC1155Transfer,
139
141
  me as prepareERC20IncentivePayload,
140
- Ce as prepareERC20VariableCriteriaIncentivePayload,
141
- Ae as prepareERC20VariableIncentivePayload,
142
- v as prepareEventActionPayload,
143
- hr as prepareFungiblePayload,
144
- Or as prepareFungibleTransfer,
145
- Le as prepareLimitedSignerValidatorClaimDataPayload,
146
- he as prepareLimitedSignerValidatorInputParams,
147
- Oe as prepareLimitedSignerValidatorPayload,
148
- H as prepareManagedBudgetPayload,
142
+ ge as prepareERC20PeggedIncentivePayload,
143
+ Se as prepareERC20VariableCriteriaIncentivePayload,
144
+ Ie as prepareERC20VariableIncentivePayload,
145
+ S as prepareEventActionPayload,
146
+ Mr as prepareFungiblePayload,
147
+ wr as prepareFungibleTransfer,
148
+ Oe as prepareLimitedSignerValidatorClaimDataPayload,
149
+ Me as prepareLimitedSignerValidatorInputParams,
150
+ we as prepareLimitedSignerValidatorPayload,
151
+ j as prepareManagedBudgetPayload,
149
152
  G as prepareManagedBudgetWithFeesPayload,
150
- Pe as preparePointsIncentivePayload,
151
- De as prepareSignerValidatorClaimDataPayload,
152
- xe as prepareSignerValidatorInputParams,
153
- Te as prepareSignerValidatorPayload,
153
+ Be as preparePointsIncentivePayload,
154
+ Te as prepareSignerValidatorClaimDataPayload,
155
+ Ve as prepareSignerValidatorInputParams,
156
+ Fe as prepareSignerValidatorPayload,
154
157
  L as prepareSimpleAllowListPayload,
155
158
  M as prepareSimpleDenyListPayload,
156
- j as prepareTransfer,
157
- Mr as prepareTransferPayload,
158
- Xr as rbacAbi,
159
- Zr as signerValidatorAbi,
160
- $r as simpleAllowListAbi,
161
- ea as simpleDenyListAbi,
162
- P as transactionSenderClaimant,
163
- Ue as validatorFromAddress
159
+ H as prepareTransfer,
160
+ Nr as prepareTransferPayload,
161
+ ea as rbacAbi,
162
+ ra as signerValidatorAbi,
163
+ aa as simpleAllowListAbi,
164
+ oa as simpleDenyListAbi,
165
+ u as transactionSenderClaimant,
166
+ We as validatorFromAddress
164
167
  };
165
168
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostxyz/sdk",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "files": [
package/src/BoostCore.ts CHANGED
@@ -82,6 +82,10 @@ import {
82
82
  ERC20Incentive,
83
83
  type ERC20IncentivePayload,
84
84
  } from './Incentives/ERC20Incentive';
85
+ import {
86
+ ERC20PeggedIncentive,
87
+ type ERC20PeggedIncentivePayload,
88
+ } from './Incentives/ERC20PeggedIncentive';
85
89
  import {
86
90
  ERC20VariableCriteriaIncentive,
87
91
  type ERC20VariableCriteriaIncentivePayload,
@@ -1371,6 +1375,24 @@ export class BoostCore extends Deployable<
1371
1375
  options,
1372
1376
  );
1373
1377
  }
1378
+
1379
+ /**
1380
+ * Bound {@link ERC20PeggedIncentive} constructor that reuses the same configuration as the Boost Core instance.
1381
+ *
1382
+ * @example
1383
+ * ```ts
1384
+ * const incentive = core.ERC20PeggedIncentive({ ... }) // is roughly equivalent to
1385
+ * const incentive = new ERC20PeggedIncentive({ config: core._config, account: core._account }, { ... })
1386
+ * ```
1387
+ * @param {ERC20PeggedIncentivePayload} options
1388
+ * @returns {ERC20PeggedIncentive}
1389
+ */
1390
+ ERC20PeggedIncentive(options: ERC20PeggedIncentivePayload) {
1391
+ return new ERC20PeggedIncentive(
1392
+ { config: this._config, account: this._account },
1393
+ options,
1394
+ );
1395
+ }
1374
1396
  // /**
1375
1397
  // * Temporarily disabled until low level ABI encoding bugs are resolved
1376
1398
  // * Bound {@link ERC1155Incentive} constructor that reuses the same configuration as the Boost Core instance.