@boostxyz/sdk 7.0.0-canary.0 → 7.0.0-canary.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 (118) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +7 -7
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.js +56 -56
  5. package/dist/AllowLists/AllowList.cjs +1 -1
  6. package/dist/AllowLists/AllowList.js +5 -5
  7. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  8. package/dist/AllowLists/SimpleAllowList.js +17 -17
  9. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  10. package/dist/AllowLists/SimpleDenyList.js +3 -3
  11. package/dist/Auth/PassthroughAuth.cjs +1 -1
  12. package/dist/Auth/PassthroughAuth.js +1 -1
  13. package/dist/BoostCore.cjs +2 -2
  14. package/dist/BoostCore.js +141 -141
  15. package/dist/BoostRegistry.cjs +1 -1
  16. package/dist/BoostRegistry.js +11 -11
  17. package/dist/{Budget-Bvi5Qjqp.js → Budget-D2aQ8V__.js} +54 -54
  18. package/dist/{Budget-Bvi5Qjqp.js.map → Budget-D2aQ8V__.js.map} +1 -1
  19. package/dist/{Budget-B_kgJGDu.cjs → Budget-lcBEy-fx.cjs} +2 -2
  20. package/dist/{Budget-B_kgJGDu.cjs.map → Budget-lcBEy-fx.cjs.map} +1 -1
  21. package/dist/Budgets/Budget.cjs +1 -1
  22. package/dist/Budgets/Budget.js +3 -3
  23. package/dist/Budgets/ManagedBudget.cjs +1 -1
  24. package/dist/Budgets/ManagedBudget.js +29 -29
  25. package/dist/Deployable/DeployableTarget.cjs +1 -1
  26. package/dist/Deployable/DeployableTarget.js +1 -1
  27. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  28. package/dist/Deployable/DeployableTargetWithRBAC.js +16 -16
  29. package/dist/Incentive-DJZmgtA9.js +449 -0
  30. package/dist/{Incentive-CLKutfnD.js.map → Incentive-DJZmgtA9.js.map} +1 -1
  31. package/dist/{Incentive-CLSVNxDz.cjs → Incentive-DfVj0SE5.cjs} +2 -2
  32. package/dist/{Incentive-CLSVNxDz.cjs.map → Incentive-DfVj0SE5.cjs.map} +1 -1
  33. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  34. package/dist/Incentives/AllowListIncentive.js +15 -15
  35. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  36. package/dist/Incentives/CGDAIncentive.js +9 -9
  37. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  38. package/dist/Incentives/ERC20Incentive.js +15 -15
  39. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs +2 -0
  40. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs.map +1 -0
  41. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts +1093 -0
  42. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +1 -0
  43. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js +604 -0
  44. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js.map +1 -0
  45. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +1 -1
  46. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs.map +1 -1
  47. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.d.ts +4 -4
  48. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.d.ts.map +1 -1
  49. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +33 -33
  50. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js.map +1 -1
  51. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +2 -0
  52. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +1 -0
  53. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +884 -0
  54. package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -0
  55. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +239 -0
  56. package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +1 -0
  57. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +1 -1
  58. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs.map +1 -1
  59. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts +7 -7
  60. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts.map +1 -1
  61. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +11 -11
  62. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js.map +1 -1
  63. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  64. package/dist/Incentives/ERC20VariableIncentive.js +12 -12
  65. package/dist/Incentives/Incentive.cjs +1 -1
  66. package/dist/Incentives/Incentive.d.ts +6 -4
  67. package/dist/Incentives/Incentive.d.ts.map +1 -1
  68. package/dist/Incentives/Incentive.js +23 -19
  69. package/dist/Incentives/Incentive.js.map +1 -1
  70. package/dist/Incentives/PointsIncentive.cjs +1 -1
  71. package/dist/Incentives/PointsIncentive.js +8 -8
  72. package/dist/{SimpleDenyList-C1C_BHkY.js → SimpleDenyList-C-T2RCgi.js} +14 -14
  73. package/dist/{SimpleDenyList-C1C_BHkY.js.map → SimpleDenyList-C-T2RCgi.js.map} +1 -1
  74. package/dist/{SimpleDenyList-CWthbyj7.cjs → SimpleDenyList-Dxle-6uU.cjs} +2 -2
  75. package/dist/{SimpleDenyList-CWthbyj7.cjs.map → SimpleDenyList-Dxle-6uU.cjs.map} +1 -1
  76. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  77. package/dist/Validators/LimitedSignerValidator.js +17 -17
  78. package/dist/Validators/SignerValidator.cjs +1 -1
  79. package/dist/Validators/SignerValidator.js +6 -6
  80. package/dist/Validators/Validator.cjs +1 -1
  81. package/dist/Validators/Validator.js +2 -2
  82. package/dist/componentInterfaces-C5ig8mCK.cjs +2 -0
  83. package/dist/componentInterfaces-C5ig8mCK.cjs.map +1 -0
  84. package/dist/componentInterfaces-Ddus5rIA.js +23 -0
  85. package/dist/componentInterfaces-Ddus5rIA.js.map +1 -0
  86. package/dist/{deployments-De8_J7SS.js → deployments-C-e2CGJJ.js} +47 -35
  87. package/dist/{deployments-De8_J7SS.js.map → deployments-C-e2CGJJ.js.map} +1 -1
  88. package/dist/deployments-YkNK95HE.cjs +2 -0
  89. package/dist/deployments-YkNK95HE.cjs.map +1 -0
  90. package/dist/deployments.json +12 -12
  91. package/dist/{generated-BJfQ-EBO.js → generated-CINzoGbl.js} +1890 -765
  92. package/dist/generated-CINzoGbl.js.map +1 -0
  93. package/dist/generated-C_JEoLDO.cjs +3 -0
  94. package/dist/generated-C_JEoLDO.cjs.map +1 -0
  95. package/dist/index.cjs +1 -1
  96. package/dist/index.d.ts +2 -0
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +150 -141
  99. package/dist/index.js.map +1 -1
  100. package/package.json +13 -1
  101. package/src/Incentives/ERC20PeggedVariableCriteriaIncentive.ts +852 -0
  102. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.test.ts +6 -6
  103. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.ts +5 -5
  104. package/src/Incentives/ERC20VariableCriteriaIncentive.ts +437 -0
  105. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.test.ts +6 -6
  106. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.ts +7 -7
  107. package/src/Incentives/Incentive.ts +11 -0
  108. package/src/index.ts +2 -0
  109. package/dist/Incentive-CLKutfnD.js +0 -445
  110. package/dist/componentInterfaces-BVHB4Fjw.js +0 -21
  111. package/dist/componentInterfaces-BVHB4Fjw.js.map +0 -1
  112. package/dist/componentInterfaces-BqhL-meV.cjs +0 -2
  113. package/dist/componentInterfaces-BqhL-meV.cjs.map +0 -1
  114. package/dist/deployments-D9QxJGrC.cjs +0 -2
  115. package/dist/deployments-D9QxJGrC.cjs.map +0 -1
  116. package/dist/generated-BJfQ-EBO.js.map +0 -1
  117. package/dist/generated-mJJNq-xb.cjs +0 -3
  118. package/dist/generated-mJJNq-xb.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"),A=require("./Boost.cjs"),C=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),E=require("./AllowLists/AllowList.cjs"),y=require("./AllowLists/SimpleAllowList.cjs"),I=require("./SimpleDenyList-CWthbyj7.cjs"),t=require("./Budget-B_kgJGDu.cjs"),o=require("./Budgets/ManagedBudget.cjs"),T=require("./Deployable/Deployable.cjs"),D=require("./Deployable/Contract.cjs"),F=require("./Deployable/DeployableTarget.cjs"),P=require("./Deployable/DeployableTargetWithRBAC.cjs"),v=require("./Incentives/AllowListIncentive.cjs"),R=require("./Incentives/CGDAIncentive.cjs"),S=require("./Incentives/ERC20Incentive.cjs"),l=require("./Incentive-CLSVNxDz.cjs"),b=require("./Incentives/ERC20VariableIncentive.cjs"),u=require("./Incentives/ERC20VariableCriteriaIncentiveV2.cjs"),m=require("./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs"),B=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"),V=require("./claiming.cjs"),n=require("./transfers.cjs"),L=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-mJJNq-xb.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=A.Boost;exports.prepareBoostPayload=A.prepareBoostPayload;exports.ActionByComponentInterface=C.ActionByComponentInterface;exports.actionFromAddress=C.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.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.packFieldIndexes=a.packFieldIndexes;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.unpackFieldIndexes=a.unpackFieldIndexes;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=I.SimpleDenyList;exports.prepareSimpleDenyListPayload=I.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=o.ManagedBudget;exports.ManagedBudgetRoles=o.ManagedBudgetRoles;exports.isERC1155TransferPayload=o.isERC1155TransferPayload;exports.isFungibleTransfer=o.isFungibleTransfer;exports.prepareManagedBudgetPayload=o.prepareManagedBudgetPayload;exports.prepareTransfer=o.prepareTransfer;exports.Deployable=T.Deployable;exports.Contract=D.Contract;exports.DeployableTarget=F.DeployableTarget;exports.DeployableTargetWithRBAC=P.DeployableTargetWithRBAC;exports.Roles=P.Roles;exports.AllowListIncentive=v.AllowListIncentive;exports.prepareAllowListIncentivePayload=v.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=b.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=b.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentiveV2=u.ERC20VariableCriteriaIncentiveV2;exports.gasRebateIncentiveCriteria=u.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentiveV2Payload=u.prepareERC20VariableCriteriaIncentiveV2Payload;exports.ERC20PeggedVariableCriteriaIncentiveV2=m.ERC20PeggedVariableCriteriaIncentiveV2;exports.prepareERC20PeggedVariableCriteriaIncentiveV2Payload=m.prepareERC20PeggedVariableCriteriaIncentiveV2Payload;exports.PointsIncentive=B.PointsIncentive;exports.preparePointsIncentivePayload=B.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=V.StrategyType;exports.prepareClaimPayload=V.prepareClaimPayload;exports.AssetType=n.AssetType;exports.prepareERC1155Payload=n.prepareERC1155Payload;exports.prepareERC1155Transfer=n.prepareERC1155Transfer;exports.prepareFungiblePayload=n.prepareFungiblePayload;exports.prepareFungibleTransfer=n.prepareFungibleTransfer;exports.prepareTransferPayload=n.prepareTransferPayload;exports.PassthroughAuth=L.PassthroughAuth;exports.allowListIncentiveAbi=r.S;exports.boostCoreAbi=r.h;exports.boostRegistryAbi=r.Te;exports.cgdaIncentiveAbi=r.R;exports.erc20IncentiveAbi=r.b;exports.erc20PeggedIncentiveAbi=r.v;exports.erc20PeggedVariableCriteriaIncentiveV2Abi=r.y;exports.erc20VariableCriteriaIncentiveV2Abi=r.d;exports.erc20VariableIncentiveAbi=r.I;exports.limitedSignerValidatorAbi=r._;exports.managedBudgetAbi=r.N;exports.managedBudgetWithFeesAbi=r.p;exports.managedBudgetWithFeesV2Abi=r.r;exports.passthroughAuthAbi=r.Ye;exports.pointsIncentiveAbi=r.C;exports.rbacAbi=r.x;exports.signerValidatorAbi=r.D;exports.simpleAllowListAbi=r.z;exports.simpleDenyListAbi=r.F;exports.transparentBudgetAbi=r.c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./BoostRegistry.cjs"),d=require("./BoostCore.cjs"),A=require("./Boost.cjs"),I=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),E=require("./AllowLists/AllowList.cjs"),C=require("./AllowLists/SimpleAllowList.cjs"),v=require("./SimpleDenyList-Dxle-6uU.cjs"),t=require("./Budget-lcBEy-fx.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-DfVj0SE5.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=A.Boost;exports.prepareBoostPayload=A.prepareBoostPayload;exports.ActionByComponentInterface=I.ActionByComponentInterface;exports.actionFromAddress=I.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.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.packFieldIndexes=a.packFieldIndexes;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;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;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -20,6 +20,8 @@ export * from './Incentives/CGDAIncentive';
20
20
  export * from './Incentives/ERC20Incentive';
21
21
  export * from './Incentives/ERC20PeggedIncentive';
22
22
  export * from './Incentives/ERC20VariableIncentive';
23
+ export * from './Incentives/ERC20VariableCriteriaIncentive';
24
+ export * from './Incentives/ERC20PeggedVariableCriteriaIncentive';
23
25
  export * from './Incentives/ERC20VariableCriteriaIncentiveV2';
24
26
  export * from './Incentives/ERC20PeggedVariableCriteriaIncentiveV2';
25
27
  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;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,+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,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,185 +1,194 @@
1
- import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as o, BoostRegistry as t } from "./BoostRegistry.js";
1
+ import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as o, BoostRegistry as i } from "./BoostRegistry.js";
2
2
  import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as d, BoostCore as p, FEE_DENOMINATOR as l } from "./BoostCore.js";
3
3
  import { Boost as c, prepareBoostPayload as g } from "./Boost.js";
4
4
  import { ActionByComponentInterface as E, actionFromAddress as A } from "./Actions/Action.js";
5
- import { EventAction as C, FilterType as I, PrimitiveType as b, SignatureType as f, ValueType as u, anyActionParameter as v, decodeAndReorderLogArgs as P, detectSignatureType as R, isEventActionPayloadSimple as S, packFieldIndexes as B, prepareEventActionPayload as V, transactionSenderClaimant as T, unpackFieldIndexes as x } from "./Actions/EventAction.js";
6
- import { AllowListByComponentInterface as F, OpenAllowList as h, allowListFromAddress as L } from "./AllowLists/AllowList.js";
7
- import { LIST_MANAGER_ROLE as N, SimpleAllowList as O, prepareSimpleAllowListPayload as w } from "./AllowLists/SimpleAllowList.js";
8
- import { S as U, p as W } from "./SimpleDenyList-C1C_BHkY.js";
9
- import { B as k, M as z, a as Y, T as q, b as j, p as H, c as J } from "./Budget-Bvi5Qjqp.js";
5
+ import { EventAction as y, FilterType as b, PrimitiveType as I, SignatureType as v, ValueType as f, anyActionParameter as P, decodeAndReorderLogArgs as R, detectSignatureType as u, isEventActionPayloadSimple as V, packFieldIndexes as S, prepareEventActionPayload as B, transactionSenderClaimant as x, unpackFieldIndexes as T } from "./Actions/EventAction.js";
6
+ import { AllowListByComponentInterface as F, OpenAllowList as L, allowListFromAddress as h } from "./AllowLists/AllowList.js";
7
+ import { LIST_MANAGER_ROLE as O, SimpleAllowList as N, prepareSimpleAllowListPayload as w } from "./AllowLists/SimpleAllowList.js";
8
+ import { S as U, p as W } from "./SimpleDenyList-C-T2RCgi.js";
9
+ import { B as k, M as z, a as q, T as Y, b as j, p as H, c as J } from "./Budget-D2aQ8V__.js";
10
10
  import { ManagedBudget as Q, ManagedBudgetRoles as X, isERC1155TransferPayload as Z, isFungibleTransfer as $, prepareManagedBudgetPayload as ee, prepareTransfer as re } from "./Budgets/ManagedBudget.js";
11
11
  import { Deployable as oe } from "./Deployable/Deployable.js";
12
- import { Contract as ie } from "./Deployable/Contract.js";
12
+ import { Contract as te } from "./Deployable/Contract.js";
13
13
  import { DeployableTarget as de } from "./Deployable/DeployableTarget.js";
14
14
  import { DeployableTargetWithRBAC as le, Roles as se } from "./Deployable/DeployableTargetWithRBAC.js";
15
15
  import { AllowListIncentive as ge, prepareAllowListIncentivePayload as me } from "./Incentives/AllowListIncentive.js";
16
- import { CGDAIncentive as Ae, prepareCGDAIncentivePayload as ye } from "./Incentives/CGDAIncentive.js";
17
- import { ERC20Incentive as Ie, prepareERC20IncentivePayload as be } from "./Incentives/ERC20Incentive.js";
18
- import { E as ue, I as ve, i as Pe, p as Re } from "./Incentive-CLKutfnD.js";
19
- import { ERC20VariableIncentive as Be, prepareERC20VariableIncentivePayload as Ve } from "./Incentives/ERC20VariableIncentive.js";
20
- import { ERC20VariableCriteriaIncentiveV2 as xe, gasRebateIncentiveCriteria as De, prepareERC20VariableCriteriaIncentiveV2Payload as Fe } from "./Incentives/ERC20VariableCriteriaIncentiveV2.js";
21
- import { ERC20PeggedVariableCriteriaIncentiveV2 as Le, prepareERC20PeggedVariableCriteriaIncentiveV2Payload as Me } from "./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js";
22
- import { PointsIncentive as Oe, preparePointsIncentivePayload as we } from "./Incentives/PointsIncentive.js";
23
- import { SignerValidator as Ue, prepareSignerValidatorClaimDataPayload as We, prepareSignerValidatorInputParams as Ge, prepareSignerValidatorPayload as ke } from "./Validators/SignerValidator.js";
24
- import { LimitedSignerValidator as Ye, prepareLimitedSignerValidatorClaimDataPayload as qe, prepareLimitedSignerValidatorInputParams as je, prepareLimitedSignerValidatorPayload as He } from "./Validators/LimitedSignerValidator.js";
25
- import { BoostValidatorEOA as Ke, ValidatorByComponentInterface as Qe, decodeClaimData as Xe, validatorFromAddress as Ze } from "./Validators/Validator.js";
26
- import { BoostCoreNoIdentifierEmitted as er, BoostNotFoundError as rr, BudgetMustAuthorizeBoostCore as ar, ContractAddressRequiredError as or, DecodedArgsError as tr, DecodedArgsMalformedError as ir, DeployableAlreadyDeployedError as nr, DeployableBuildParametersUnspecifiedError as dr, DeployableMissingPayloadError as pr, DeployableUnknownOwnerProvidedError as lr, DeployableWagmiConfigurationRequiredError as sr, FieldActionValidationError as cr, FieldValueNotComparableError as gr, FieldValueUndefinedError as mr, FunctionDataDecodeError as Er, IncentiveCriteriaNotFoundError as Ar, IncentiveNotCloneableError as yr, InvalidComponentInterfaceError as Cr, InvalidCriteriaTypeError as Ir, InvalidNumericalCriteriaError as br, InvalidProtocolChainIdError as fr, InvalidTupleDecodingError as ur, InvalidTupleEncodingError as vr, MustInitializeBudgetError as Pr, NoConnectedChainIdError as Rr, NoContractAddressUponReceiptError as Sr, NoEventActionStepsProvidedError as Br, NoMatchingLogsError as Vr, TooManyEventActionStepsProvidedError as Tr, UnknownTransferPayloadSupplied as xr, UnparseableAbiParamError as Dr, UnrecognizedFilterTypeError as Fr, ValidationAbiMissingError as hr } from "./errors.js";
27
- import { CheatCodes as Mr, RegistryType as Nr, TRANSFER_SIGNATURE as Or, assertValidAddressByChainId as wr, awaitResult as _r, bytes4 as Ur, getDeployedContractAddress as Wr, getErc20Balance as Gr } from "./utils.js";
28
- import { StrategyType as zr, prepareClaimPayload as Yr } from "./claiming.js";
29
- import { AssetType as jr, prepareERC1155Payload as Hr, prepareERC1155Transfer as Jr, prepareFungiblePayload as Kr, prepareFungibleTransfer as Qr, prepareTransferPayload as Xr } from "./transfers.js";
30
- import { PassthroughAuth as $r } from "./Auth/PassthroughAuth.js";
31
- import { S as ra, h as aa, T as oa, R as ta, b as ia, v as na, y as da, d as pa, I as la, _ as sa, N as ca, p as ga, r as ma, Y as Ea, C as Aa, x as ya, D as Ca, z as Ia, F as ba, c as fa } from "./generated-BJfQ-EBO.js";
16
+ import { CGDAIncentive as Ae, prepareCGDAIncentivePayload as Ce } from "./Incentives/CGDAIncentive.js";
17
+ import { ERC20Incentive as be, prepareERC20IncentivePayload as Ie } from "./Incentives/ERC20Incentive.js";
18
+ import { E as fe, I as Pe, i as Re, p as ue } from "./Incentive-DJZmgtA9.js";
19
+ import { ERC20VariableIncentive as Se, prepareERC20VariableIncentivePayload as Be } from "./Incentives/ERC20VariableIncentive.js";
20
+ import { ERC20VariableCriteriaIncentive as Te, gasRebateIncentiveCriteria as De, prepareERC20VariableCriteriaIncentivePayload as Fe } from "./Incentives/ERC20VariableCriteriaIncentive.js";
21
+ import { ERC20PeggedVariableCriteriaIncentive as he, prepareERC20PeggedVariableCriteriaIncentivePayload as Me } from "./Incentives/ERC20PeggedVariableCriteriaIncentive.js";
22
+ import { ERC20VariableCriteriaIncentiveV2 as Ne, gasRebateIncentiveCriteriaV2 as we, prepareERC20VariableCriteriaIncentiveV2Payload as _e } from "./Incentives/ERC20VariableCriteriaIncentiveV2.js";
23
+ import { ERC20PeggedVariableCriteriaIncentiveV2 as We, prepareERC20PeggedVariableCriteriaIncentiveV2Payload as Ge } from "./Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js";
24
+ import { PointsIncentive as ze, preparePointsIncentivePayload as qe } from "./Incentives/PointsIncentive.js";
25
+ import { SignerValidator as je, prepareSignerValidatorClaimDataPayload as He, prepareSignerValidatorInputParams as Je, prepareSignerValidatorPayload as Ke } from "./Validators/SignerValidator.js";
26
+ import { LimitedSignerValidator as Xe, prepareLimitedSignerValidatorClaimDataPayload as Ze, prepareLimitedSignerValidatorInputParams as $e, prepareLimitedSignerValidatorPayload as er } from "./Validators/LimitedSignerValidator.js";
27
+ import { BoostValidatorEOA as ar, ValidatorByComponentInterface as or, decodeClaimData as ir, validatorFromAddress as tr } from "./Validators/Validator.js";
28
+ import { BoostCoreNoIdentifierEmitted as dr, BoostNotFoundError as pr, BudgetMustAuthorizeBoostCore as lr, ContractAddressRequiredError as sr, DecodedArgsError as cr, DecodedArgsMalformedError as gr, DeployableAlreadyDeployedError as mr, DeployableBuildParametersUnspecifiedError as Er, DeployableMissingPayloadError as Ar, DeployableUnknownOwnerProvidedError as Cr, DeployableWagmiConfigurationRequiredError as yr, FieldActionValidationError as br, FieldValueNotComparableError as Ir, FieldValueUndefinedError as vr, FunctionDataDecodeError as fr, IncentiveCriteriaNotFoundError as Pr, IncentiveNotCloneableError as Rr, InvalidComponentInterfaceError as ur, InvalidCriteriaTypeError as Vr, InvalidNumericalCriteriaError as Sr, InvalidProtocolChainIdError as Br, InvalidTupleDecodingError as xr, InvalidTupleEncodingError as Tr, MustInitializeBudgetError as Dr, NoConnectedChainIdError as Fr, NoContractAddressUponReceiptError as Lr, NoEventActionStepsProvidedError as hr, NoMatchingLogsError as Mr, TooManyEventActionStepsProvidedError as Or, UnknownTransferPayloadSupplied as Nr, UnparseableAbiParamError as wr, UnrecognizedFilterTypeError as _r, ValidationAbiMissingError as Ur } from "./errors.js";
29
+ import { CheatCodes as Gr, RegistryType as kr, TRANSFER_SIGNATURE as zr, assertValidAddressByChainId as qr, awaitResult as Yr, bytes4 as jr, getDeployedContractAddress as Hr, getErc20Balance as Jr } from "./utils.js";
30
+ import { StrategyType as Qr, prepareClaimPayload as Xr } from "./claiming.js";
31
+ import { AssetType as $r, prepareERC1155Payload as ea, prepareERC1155Transfer as ra, prepareFungiblePayload as aa, prepareFungibleTransfer as oa, prepareTransferPayload as ia } from "./transfers.js";
32
+ import { PassthroughAuth as na } from "./Auth/PassthroughAuth.js";
33
+ import { _ as pa, M as la, A as sa, E as ca, T as ga, g as ma, y as Ea, d as Aa, c as Ca, m as ya, R as ba, D as Ia, C as va, p as fa, r as Pa, a as Ra, z as ua, S as Va, G as Sa, F as Ba, k as xa, b as Ta } from "./generated-CINzoGbl.js";
32
34
  export {
33
35
  E as ActionByComponentInterface,
34
36
  F as AllowListByComponentInterface,
35
37
  ge as AllowListIncentive,
36
- jr as AssetType,
38
+ $r as AssetType,
37
39
  n as BOOST_CORE_ADDRESS,
38
40
  d as BOOST_CORE_ADDRESSES,
39
41
  a as BOOST_REGISTRY_ADDRESS,
40
42
  o as BOOST_REGISTRY_ADDRESSES,
41
43
  c as Boost,
42
44
  p as BoostCore,
43
- er as BoostCoreNoIdentifierEmitted,
44
- rr as BoostNotFoundError,
45
- t as BoostRegistry,
46
- Ke as BoostValidatorEOA,
45
+ dr as BoostCoreNoIdentifierEmitted,
46
+ pr as BoostNotFoundError,
47
+ i as BoostRegistry,
48
+ ar as BoostValidatorEOA,
47
49
  k as BudgetByComponentInterface,
48
- ar as BudgetMustAuthorizeBoostCore,
50
+ lr as BudgetMustAuthorizeBoostCore,
49
51
  Ae as CGDAIncentive,
50
- Mr as CheatCodes,
51
- ie as Contract,
52
- or as ContractAddressRequiredError,
53
- tr as DecodedArgsError,
54
- ir as DecodedArgsMalformedError,
52
+ Gr as CheatCodes,
53
+ te as Contract,
54
+ sr as ContractAddressRequiredError,
55
+ cr as DecodedArgsError,
56
+ gr as DecodedArgsMalformedError,
55
57
  oe as Deployable,
56
- nr as DeployableAlreadyDeployedError,
57
- dr as DeployableBuildParametersUnspecifiedError,
58
- pr as DeployableMissingPayloadError,
58
+ mr as DeployableAlreadyDeployedError,
59
+ Er as DeployableBuildParametersUnspecifiedError,
60
+ Ar as DeployableMissingPayloadError,
59
61
  de as DeployableTarget,
60
62
  le as DeployableTargetWithRBAC,
61
- lr as DeployableUnknownOwnerProvidedError,
62
- sr as DeployableWagmiConfigurationRequiredError,
63
- Ie as ERC20Incentive,
64
- ue as ERC20PeggedIncentive,
65
- Le as ERC20PeggedVariableCriteriaIncentiveV2,
66
- xe as ERC20VariableCriteriaIncentiveV2,
67
- Be as ERC20VariableIncentive,
68
- C as EventAction,
63
+ Cr as DeployableUnknownOwnerProvidedError,
64
+ yr as DeployableWagmiConfigurationRequiredError,
65
+ be as ERC20Incentive,
66
+ fe as ERC20PeggedIncentive,
67
+ he as ERC20PeggedVariableCriteriaIncentive,
68
+ We as ERC20PeggedVariableCriteriaIncentiveV2,
69
+ Te as ERC20VariableCriteriaIncentive,
70
+ Ne as ERC20VariableCriteriaIncentiveV2,
71
+ Se as ERC20VariableIncentive,
72
+ y as EventAction,
69
73
  l as FEE_DENOMINATOR,
70
- cr as FieldActionValidationError,
71
- gr as FieldValueNotComparableError,
72
- mr as FieldValueUndefinedError,
73
- I as FilterType,
74
- Er as FunctionDataDecodeError,
75
- ve as IncentiveByComponentInterface,
76
- Ar as IncentiveCriteriaNotFoundError,
77
- yr as IncentiveNotCloneableError,
78
- Cr as InvalidComponentInterfaceError,
79
- Ir as InvalidCriteriaTypeError,
80
- br as InvalidNumericalCriteriaError,
81
- fr as InvalidProtocolChainIdError,
82
- ur as InvalidTupleDecodingError,
83
- vr as InvalidTupleEncodingError,
84
- N as LIST_MANAGER_ROLE,
85
- Ye as LimitedSignerValidator,
74
+ br as FieldActionValidationError,
75
+ Ir as FieldValueNotComparableError,
76
+ vr as FieldValueUndefinedError,
77
+ b as FilterType,
78
+ fr as FunctionDataDecodeError,
79
+ Pe as IncentiveByComponentInterface,
80
+ Pr as IncentiveCriteriaNotFoundError,
81
+ Rr as IncentiveNotCloneableError,
82
+ ur as InvalidComponentInterfaceError,
83
+ Vr as InvalidCriteriaTypeError,
84
+ Sr as InvalidNumericalCriteriaError,
85
+ Br as InvalidProtocolChainIdError,
86
+ xr as InvalidTupleDecodingError,
87
+ Tr as InvalidTupleEncodingError,
88
+ O as LIST_MANAGER_ROLE,
89
+ Xe as LimitedSignerValidator,
86
90
  Q as ManagedBudget,
87
91
  X as ManagedBudgetRoles,
88
92
  z as ManagedBudgetWithFees,
89
- Y as ManagedBudgetWithFeesV2,
90
- Pr as MustInitializeBudgetError,
91
- Rr as NoConnectedChainIdError,
92
- Sr as NoContractAddressUponReceiptError,
93
- Br as NoEventActionStepsProvidedError,
94
- Vr as NoMatchingLogsError,
95
- h as OpenAllowList,
96
- $r as PassthroughAuth,
97
- Oe as PointsIncentive,
98
- b as PrimitiveType,
99
- Nr as RegistryType,
93
+ q as ManagedBudgetWithFeesV2,
94
+ Dr as MustInitializeBudgetError,
95
+ Fr as NoConnectedChainIdError,
96
+ Lr as NoContractAddressUponReceiptError,
97
+ hr as NoEventActionStepsProvidedError,
98
+ Mr as NoMatchingLogsError,
99
+ L as OpenAllowList,
100
+ na as PassthroughAuth,
101
+ ze as PointsIncentive,
102
+ I as PrimitiveType,
103
+ kr as RegistryType,
100
104
  se as Roles,
101
- f as SignatureType,
102
- Ue as SignerValidator,
103
- O as SimpleAllowList,
105
+ v as SignatureType,
106
+ je as SignerValidator,
107
+ N as SimpleAllowList,
104
108
  U as SimpleDenyList,
105
- zr as StrategyType,
106
- Or as TRANSFER_SIGNATURE,
107
- Tr as TooManyEventActionStepsProvidedError,
108
- q as TransparentBudget,
109
- xr as UnknownTransferPayloadSupplied,
110
- Dr as UnparseableAbiParamError,
111
- Fr as UnrecognizedFilterTypeError,
112
- hr as ValidationAbiMissingError,
113
- Qe as ValidatorByComponentInterface,
114
- u as ValueType,
109
+ Qr as StrategyType,
110
+ zr as TRANSFER_SIGNATURE,
111
+ Or as TooManyEventActionStepsProvidedError,
112
+ Y as TransparentBudget,
113
+ Nr as UnknownTransferPayloadSupplied,
114
+ wr as UnparseableAbiParamError,
115
+ _r as UnrecognizedFilterTypeError,
116
+ Ur as ValidationAbiMissingError,
117
+ or as ValidatorByComponentInterface,
118
+ f as ValueType,
115
119
  A as actionFromAddress,
116
- L as allowListFromAddress,
117
- ra as allowListIncentiveAbi,
118
- v as anyActionParameter,
119
- wr as assertValidAddressByChainId,
120
- _r as awaitResult,
121
- aa as boostCoreAbi,
122
- oa as boostRegistryAbi,
120
+ h as allowListFromAddress,
121
+ pa as allowListIncentiveAbi,
122
+ P as anyActionParameter,
123
+ qr as assertValidAddressByChainId,
124
+ Yr as awaitResult,
125
+ la as boostCoreAbi,
126
+ sa as boostRegistryAbi,
123
127
  j as budgetFromAddress,
124
- Ur as bytes4,
125
- ta as cgdaIncentiveAbi,
126
- P as decodeAndReorderLogArgs,
127
- Xe as decodeClaimData,
128
- R as detectSignatureType,
129
- ia as erc20IncentiveAbi,
130
- na as erc20PeggedIncentiveAbi,
131
- da as erc20PeggedVariableCriteriaIncentiveV2Abi,
132
- pa as erc20VariableCriteriaIncentiveV2Abi,
133
- la as erc20VariableIncentiveAbi,
128
+ jr as bytes4,
129
+ ca as cgdaIncentiveAbi,
130
+ R as decodeAndReorderLogArgs,
131
+ ir as decodeClaimData,
132
+ u as detectSignatureType,
133
+ ga as erc20IncentiveAbi,
134
+ ma as erc20PeggedIncentiveAbi,
135
+ Ea as erc20PeggedVariableCriteriaIncentiveAbi,
136
+ Aa as erc20PeggedVariableCriteriaIncentiveV2Abi,
137
+ Ca as erc20VariableCriteriaIncentiveAbi,
138
+ ya as erc20VariableCriteriaIncentiveV2Abi,
139
+ ba as erc20VariableIncentiveAbi,
134
140
  De as gasRebateIncentiveCriteria,
135
- Wr as getDeployedContractAddress,
136
- Gr as getErc20Balance,
137
- Pe as incentiveFromAddress,
141
+ we as gasRebateIncentiveCriteriaV2,
142
+ Hr as getDeployedContractAddress,
143
+ Jr as getErc20Balance,
144
+ Re as incentiveFromAddress,
138
145
  Z as isERC1155TransferPayload,
139
- S as isEventActionPayloadSimple,
146
+ V as isEventActionPayloadSimple,
140
147
  $ as isFungibleTransfer,
141
- sa as limitedSignerValidatorAbi,
142
- ca as managedBudgetAbi,
143
- ga as managedBudgetWithFeesAbi,
144
- ma as managedBudgetWithFeesV2Abi,
145
- B as packFieldIndexes,
146
- Ea as passthroughAuthAbi,
147
- Aa as pointsIncentiveAbi,
148
+ Ia as limitedSignerValidatorAbi,
149
+ va as managedBudgetAbi,
150
+ fa as managedBudgetWithFeesAbi,
151
+ Pa as managedBudgetWithFeesV2Abi,
152
+ S as packFieldIndexes,
153
+ Ra as passthroughAuthAbi,
154
+ ua as pointsIncentiveAbi,
148
155
  me as prepareAllowListIncentivePayload,
149
156
  g as prepareBoostPayload,
150
- ye as prepareCGDAIncentivePayload,
151
- Yr as prepareClaimPayload,
152
- Hr as prepareERC1155Payload,
153
- Jr as prepareERC1155Transfer,
154
- be as prepareERC20IncentivePayload,
155
- Re as prepareERC20PeggedIncentivePayload,
156
- Me as prepareERC20PeggedVariableCriteriaIncentiveV2Payload,
157
- Fe as prepareERC20VariableCriteriaIncentiveV2Payload,
158
- Ve as prepareERC20VariableIncentivePayload,
159
- V as prepareEventActionPayload,
160
- Kr as prepareFungiblePayload,
161
- Qr as prepareFungibleTransfer,
162
- qe as prepareLimitedSignerValidatorClaimDataPayload,
163
- je as prepareLimitedSignerValidatorInputParams,
164
- He as prepareLimitedSignerValidatorPayload,
157
+ Ce as prepareCGDAIncentivePayload,
158
+ Xr as prepareClaimPayload,
159
+ ea as prepareERC1155Payload,
160
+ ra as prepareERC1155Transfer,
161
+ Ie as prepareERC20IncentivePayload,
162
+ ue as prepareERC20PeggedIncentivePayload,
163
+ Me as prepareERC20PeggedVariableCriteriaIncentivePayload,
164
+ Ge as prepareERC20PeggedVariableCriteriaIncentiveV2Payload,
165
+ Fe as prepareERC20VariableCriteriaIncentivePayload,
166
+ _e as prepareERC20VariableCriteriaIncentiveV2Payload,
167
+ Be as prepareERC20VariableIncentivePayload,
168
+ B as prepareEventActionPayload,
169
+ aa as prepareFungiblePayload,
170
+ oa as prepareFungibleTransfer,
171
+ Ze as prepareLimitedSignerValidatorClaimDataPayload,
172
+ $e as prepareLimitedSignerValidatorInputParams,
173
+ er as prepareLimitedSignerValidatorPayload,
165
174
  ee as prepareManagedBudgetPayload,
166
175
  H as prepareManagedBudgetWithFeesPayload,
167
176
  J as prepareManagedBudgetWithFeesV2Payload,
168
- we as preparePointsIncentivePayload,
169
- We as prepareSignerValidatorClaimDataPayload,
170
- Ge as prepareSignerValidatorInputParams,
171
- ke as prepareSignerValidatorPayload,
177
+ qe as preparePointsIncentivePayload,
178
+ He as prepareSignerValidatorClaimDataPayload,
179
+ Je as prepareSignerValidatorInputParams,
180
+ Ke as prepareSignerValidatorPayload,
172
181
  w as prepareSimpleAllowListPayload,
173
182
  W as prepareSimpleDenyListPayload,
174
183
  re as prepareTransfer,
175
- Xr as prepareTransferPayload,
176
- ya as rbacAbi,
177
- Ca as signerValidatorAbi,
178
- Ia as simpleAllowListAbi,
179
- ba as simpleDenyListAbi,
180
- T as transactionSenderClaimant,
181
- fa as transparentBudgetAbi,
182
- x as unpackFieldIndexes,
183
- Ze as validatorFromAddress
184
+ ia as prepareTransferPayload,
185
+ Va as rbacAbi,
186
+ Sa as signerValidatorAbi,
187
+ Ba as simpleAllowListAbi,
188
+ xa as simpleDenyListAbi,
189
+ x as transactionSenderClaimant,
190
+ Ta as transparentBudgetAbi,
191
+ T as unpackFieldIndexes,
192
+ tr as validatorFromAddress
184
193
  };
185
194
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostxyz/sdk",
3
- "version": "7.0.0-canary.0",
3
+ "version": "7.0.0-canary.2",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "files": [
@@ -175,12 +175,24 @@
175
175
  "node": "./dist/Incentives/ERC20VariableIncentive.js",
176
176
  "types": "./dist/Incentives/ERC20VariableIncentive.d.ts"
177
177
  },
178
+ "./Incentives/ERC20VariableCriteriaIncentive": {
179
+ "require": "./dist/Incentives/ERC20VariableCriteriaIncentive.cjs",
180
+ "import": "./dist/Incentives/ERC20VariableCriteriaIncentive.js",
181
+ "node": "./dist/Incentives/ERC20VariableCriteriaIncentive.js",
182
+ "types": "./dist/Incentives/ERC20VariableCriteriaIncentive.d.ts"
183
+ },
178
184
  "./Incentives/ERC20VariableCriteriaIncentiveV2": {
179
185
  "require": "./dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs",
180
186
  "import": "./dist/Incentives/ERC20VariableCriteriaIncentiveV2.js",
181
187
  "node": "./dist/Incentives/ERC20VariableCriteriaIncentiveV2.js",
182
188
  "types": "./dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts"
183
189
  },
190
+ "./Incentives/ERC20PeggedVariableCriteriaIncentive": {
191
+ "require": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs",
192
+ "import": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js",
193
+ "node": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js",
194
+ "types": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts"
195
+ },
184
196
  "./Incentives/ERC20PeggedVariableCriteriaIncentiveV2": {
185
197
  "require": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs",
186
198
  "import": "./dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js",