@boostxyz/sdk 5.2.1 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/Actions/Action.cjs +1 -1
- package/dist/Actions/Action.js +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +84 -41
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +1866 -378
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.js +2 -2
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.js +2 -2
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +3 -3
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +42 -1
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +360 -318
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +2 -2
- package/dist/{Budget-N0YEfSt2.cjs → Budget-AoNx7uFd.cjs} +2 -2
- package/dist/{Budget-N0YEfSt2.cjs.map → Budget-AoNx7uFd.cjs.map} +1 -1
- package/dist/{Budget-C0SMvfEl.js → Budget-DYIV9iNK.js} +3 -3
- package/dist/{Budget-C0SMvfEl.js.map → Budget-DYIV9iNK.js.map} +1 -1
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.js +2 -2
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.js +2 -2
- package/dist/Incentive-BbkfwGOb.cjs +2 -0
- package/dist/Incentive-BbkfwGOb.cjs.map +1 -0
- package/dist/{Incentive-DBZHQ9Np.js → Incentive-qlnv5kQB.js} +77 -50
- package/dist/Incentive-qlnv5kQB.js.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.js +3 -3
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.js +2 -2
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.js +6 -6
- package/dist/Incentives/ERC20PeggedIncentive.d.ts +10 -1
- package/dist/Incentives/ERC20PeggedIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +2 -2
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +2 -2
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.js +2 -2
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.js +2 -2
- package/dist/{SimpleDenyList-B8QeJthf.js → SimpleDenyList-ByAr4X1r.js} +3 -3
- package/dist/{SimpleDenyList-B8QeJthf.js.map → SimpleDenyList-ByAr4X1r.js.map} +1 -1
- package/dist/{SimpleDenyList-DIb4xX3j.cjs → SimpleDenyList-CsRXJPwm.cjs} +2 -2
- package/dist/{SimpleDenyList-DIb4xX3j.cjs.map → SimpleDenyList-CsRXJPwm.cjs.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.js +2 -2
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.js +2 -2
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +1 -1
- package/dist/{deployments-COxshLqt.js → deployments-D0fs26TV.js} +16 -16
- package/dist/{deployments-COxshLqt.js.map → deployments-D0fs26TV.js.map} +1 -1
- package/dist/{deployments-BGpr4ppG.cjs → deployments-DoIOqxco.cjs} +2 -2
- package/dist/deployments-DoIOqxco.cjs.map +1 -0
- package/dist/deployments.json +3 -3
- package/dist/errors.cjs +1 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.ts +40 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +42 -16
- package/dist/errors.js.map +1 -1
- package/dist/{generated-ClbO_ULI.js → generated-Cyvr_Tjx.js} +446 -438
- package/dist/generated-Cyvr_Tjx.js.map +1 -0
- package/dist/{generated-CRD9XfOT.cjs → generated-DtYPHhtX.cjs} +2 -2
- package/dist/generated-DtYPHhtX.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +160 -155
- package/package.json +1 -1
- package/src/Actions/EventAction.test.ts +294 -3
- package/src/Actions/EventAction.ts +417 -154
- package/src/BoostCore.test.ts +51 -3
- package/src/BoostCore.ts +73 -0
- package/src/Incentives/ERC20PeggedIncentive.ts +33 -4
- package/src/errors.ts +50 -0
- package/dist/Incentive-BpZePiOD.cjs +0 -2
- package/dist/Incentive-BpZePiOD.cjs.map +0 -1
- package/dist/Incentive-DBZHQ9Np.js.map +0 -1
- package/dist/deployments-BGpr4ppG.cjs.map +0 -1
- package/dist/generated-CRD9XfOT.cjs.map +0 -1
- package/dist/generated-ClbO_ULI.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BoostRegistry.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BoostRegistry.cjs"),d=require("./BoostCore.cjs"),C=require("./Boost.cjs"),u=require("./Actions/Action.cjs"),a=require("./Actions/EventAction.cjs"),g=require("./AllowLists/AllowList.cjs"),y=require("./AllowLists/SimpleAllowList.cjs"),I=require("./SimpleDenyList-CsRXJPwm.cjs"),l=require("./Budget-AoNx7uFd.cjs"),o=require("./Budgets/ManagedBudget.cjs"),B=require("./Deployable/Deployable.cjs"),T=require("./Deployable/Contract.cjs"),V=require("./Deployable/DeployableTarget.cjs"),v=require("./Deployable/DeployableTargetWithRBAC.cjs"),P=require("./Incentives/AllowListIncentive.cjs"),R=require("./Incentives/CGDAIncentive.cjs"),S=require("./Incentives/ERC20Incentive.cjs"),t=require("./Incentive-BbkfwGOb.cjs"),m=require("./Incentives/ERC20VariableIncentive.cjs"),A=require("./Incentives/ERC20VariableCriteriaIncentive.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"),D=require("./claiming.cjs"),n=require("./transfers.cjs"),F=require("./Auth/PassthroughAuth.cjs"),r=require("./generated-DtYPHhtX.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=d.BOOST_CORE_ADDRESS;exports.BOOST_CORE_ADDRESSES=d.BOOST_CORE_ADDRESSES;exports.BoostCore=d.BoostCore;exports.FEE_DENOMINATOR=d.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.decodeAndReorderLogArgs=a.decodeAndReorderLogArgs;exports.isEventActionPayloadSimple=a.isEventActionPayloadSimple;exports.packFieldIndexes=a.packFieldIndexes;exports.prepareEventActionPayload=a.prepareEventActionPayload;exports.transactionSenderClaimant=a.transactionSenderClaimant;exports.unpackFieldIndexes=a.unpackFieldIndexes;exports.AllowListByComponentInterface=g.AllowListByComponentInterface;exports.OpenAllowList=g.OpenAllowList;exports.allowListFromAddress=g.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=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=B.Deployable;exports.Contract=T.Contract;exports.DeployableTarget=V.DeployableTarget;exports.DeployableTargetWithRBAC=v.DeployableTargetWithRBAC;exports.Roles=v.Roles;exports.AllowListIncentive=P.AllowListIncentive;exports.prepareAllowListIncentivePayload=P.prepareAllowListIncentivePayload;exports.CGDAIncentive=R.CGDAIncentive;exports.prepareCGDAIncentivePayload=R.prepareCGDAIncentivePayload;exports.ERC20Incentive=S.ERC20Incentive;exports.prepareERC20IncentivePayload=S.prepareERC20IncentivePayload;exports.ERC20PeggedIncentive=t.ERC20PeggedIncentive;exports.ERC20PeggedVariableCriteriaIncentive=t.ERC20PeggedVariableCriteriaIncentive;exports.IncentiveByComponentInterface=t.IncentiveByComponentInterface;exports.incentiveFromAddress=t.incentiveFromAddress;exports.prepareERC20PeggedIncentivePayload=t.prepareERC20PeggedIncentivePayload;exports.prepareERC20PeggedVariableCriteriaIncentivePayload=t.prepareERC20PeggedVariableCriteriaIncentivePayload;exports.ERC20VariableIncentive=m.ERC20VariableIncentive;exports.prepareERC20VariableIncentivePayload=m.prepareERC20VariableIncentivePayload;exports.ERC20VariableCriteriaIncentive=A.ERC20VariableCriteriaIncentive;exports.gasRebateIncentiveCriteria=A.gasRebateIncentiveCriteria;exports.prepareERC20VariableCriteriaIncentivePayload=A.prepareERC20VariableCriteriaIncentivePayload;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=D.StrategyType;exports.prepareClaimPayload=D.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=F.PassthroughAuth;exports.allowListIncentiveAbi=r.B;exports.boostCoreAbi=r.I;exports.boostRegistryAbi=r.ce;exports.cgdaIncentiveAbi=r.A;exports.erc20IncentiveAbi=r.f;exports.erc20PeggedIncentiveAbi=r.v;exports.erc20PeggedVariableCriteriaIncentiveAbi=r.l;exports.erc20VariableCriteriaIncentiveAbi=r.d;exports.erc20VariableIncentiveAbi=r.g;exports.limitedSignerValidatorAbi=r.V;exports.managedBudgetAbi=r.w;exports.managedBudgetWithFeesAbi=r.o;exports.passthroughAuthAbi=r.We;exports.pointsIncentiveAbi=r.N;exports.rbacAbi=r.H;exports.signerValidatorAbi=r.k;exports.simpleAllowListAbi=r.C;exports.simpleDenyListAbi=r.E;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,172 +1,177 @@
|
|
|
1
|
-
import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as o, BoostRegistry as
|
|
2
|
-
import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as d, BoostCore as
|
|
1
|
+
import { BOOST_REGISTRY_ADDRESS as a, BOOST_REGISTRY_ADDRESSES as o, BoostRegistry as i } from "./BoostRegistry.js";
|
|
2
|
+
import { BOOST_CORE_ADDRESS as n, BOOST_CORE_ADDRESSES as d, BoostCore as l, FEE_DENOMINATOR as p } from "./BoostCore.js";
|
|
3
3
|
import { Boost as c, prepareBoostPayload as m } from "./Boost.js";
|
|
4
4
|
import { ActionByComponentInterface as g, actionFromAddress as A } from "./Actions/Action.js";
|
|
5
|
-
import { EventAction as C, FilterType as I, PrimitiveType as b, SignatureType as f, anyActionParameter as P, isEventActionPayloadSimple as
|
|
6
|
-
import { AllowListByComponentInterface as
|
|
7
|
-
import { LIST_MANAGER_ROLE as
|
|
8
|
-
import { S as
|
|
9
|
-
import { B as
|
|
10
|
-
import { ManagedBudget as
|
|
11
|
-
import { Deployable as
|
|
12
|
-
import { Contract as
|
|
13
|
-
import { DeployableTarget as
|
|
14
|
-
import { DeployableTargetWithRBAC as
|
|
15
|
-
import { AllowListIncentive as
|
|
16
|
-
import { CGDAIncentive as
|
|
17
|
-
import { ERC20Incentive as
|
|
18
|
-
import { E as
|
|
19
|
-
import { ERC20VariableIncentive as
|
|
20
|
-
import { ERC20VariableCriteriaIncentive as
|
|
21
|
-
import { PointsIncentive as
|
|
22
|
-
import { SignerValidator as
|
|
23
|
-
import { LimitedSignerValidator as
|
|
24
|
-
import { BoostValidatorEOA as
|
|
25
|
-
import { BoostCoreNoIdentifierEmitted as
|
|
26
|
-
import { CheatCodes as
|
|
27
|
-
import { StrategyType as
|
|
28
|
-
import { AssetType as
|
|
29
|
-
import { PassthroughAuth as
|
|
30
|
-
import { B as
|
|
5
|
+
import { EventAction as C, FilterType as I, PrimitiveType as b, SignatureType as f, anyActionParameter as v, decodeAndReorderLogArgs as P, isEventActionPayloadSimple as R, packFieldIndexes as S, prepareEventActionPayload as u, transactionSenderClaimant as B, unpackFieldIndexes as x } from "./Actions/EventAction.js";
|
|
6
|
+
import { AllowListByComponentInterface as T, OpenAllowList as V, allowListFromAddress as F } from "./AllowLists/AllowList.js";
|
|
7
|
+
import { LIST_MANAGER_ROLE as h, SimpleAllowList as N, prepareSimpleAllowListPayload as O } from "./AllowLists/SimpleAllowList.js";
|
|
8
|
+
import { S as w, p as _ } from "./SimpleDenyList-ByAr4X1r.js";
|
|
9
|
+
import { B as G, M as W, b as k, p as z } from "./Budget-DYIV9iNK.js";
|
|
10
|
+
import { ManagedBudget as Y, ManagedBudgetRoles as H, isERC1155TransferPayload as j, isFungibleTransfer as J, prepareManagedBudgetPayload as K, prepareTransfer as Q } from "./Budgets/ManagedBudget.js";
|
|
11
|
+
import { Deployable as Z } from "./Deployable/Deployable.js";
|
|
12
|
+
import { Contract as ee } from "./Deployable/Contract.js";
|
|
13
|
+
import { DeployableTarget as ae } from "./Deployable/DeployableTarget.js";
|
|
14
|
+
import { DeployableTargetWithRBAC as ie, Roles as te } from "./Deployable/DeployableTargetWithRBAC.js";
|
|
15
|
+
import { AllowListIncentive as de, prepareAllowListIncentivePayload as le } from "./Incentives/AllowListIncentive.js";
|
|
16
|
+
import { CGDAIncentive as se, prepareCGDAIncentivePayload as ce } from "./Incentives/CGDAIncentive.js";
|
|
17
|
+
import { ERC20Incentive as Ee, prepareERC20IncentivePayload as ge } from "./Incentives/ERC20Incentive.js";
|
|
18
|
+
import { E as ye, a as Ce, I as Ie, i as be, p as fe, b as ve } from "./Incentive-qlnv5kQB.js";
|
|
19
|
+
import { ERC20VariableIncentive as Re, prepareERC20VariableIncentivePayload as Se } from "./Incentives/ERC20VariableIncentive.js";
|
|
20
|
+
import { ERC20VariableCriteriaIncentive as Be, gasRebateIncentiveCriteria as xe, prepareERC20VariableCriteriaIncentivePayload as De } from "./Incentives/ERC20VariableCriteriaIncentive.js";
|
|
21
|
+
import { PointsIncentive as Ve, preparePointsIncentivePayload as Fe } from "./Incentives/PointsIncentive.js";
|
|
22
|
+
import { SignerValidator as he, prepareSignerValidatorClaimDataPayload as Ne, prepareSignerValidatorInputParams as Oe, prepareSignerValidatorPayload as Me } from "./Validators/SignerValidator.js";
|
|
23
|
+
import { LimitedSignerValidator as _e, prepareLimitedSignerValidatorClaimDataPayload as Ue, prepareLimitedSignerValidatorInputParams as Ge, prepareLimitedSignerValidatorPayload as We } from "./Validators/LimitedSignerValidator.js";
|
|
24
|
+
import { BoostValidatorEOA as ze, ValidatorByComponentInterface as qe, decodeClaimData as Ye, validatorFromAddress as He } from "./Validators/Validator.js";
|
|
25
|
+
import { BoostCoreNoIdentifierEmitted as Je, BoostNotFoundError as Ke, BudgetMustAuthorizeBoostCore as Qe, ContractAddressRequiredError as Xe, DecodedArgsError as Ze, DecodedArgsMalformedError as $e, DeployableAlreadyDeployedError as er, DeployableBuildParametersUnspecifiedError as rr, DeployableMissingPayloadError as ar, DeployableUnknownOwnerProvidedError as or, DeployableWagmiConfigurationRequiredError as ir, FieldActionValidationError as tr, FieldValueNotComparableError as nr, FieldValueUndefinedError as dr, FunctionDataDecodeError as lr, IncentiveCriteriaNotFoundError as pr, IncentiveNotCloneableError as sr, InvalidComponentInterfaceError as cr, InvalidCriteriaTypeError as mr, InvalidNumericalCriteriaError as Er, InvalidProtocolChainIdError as gr, InvalidTupleDecodingError as Ar, InvalidTupleEncodingError as yr, MustInitializeBudgetError as Cr, NoConnectedChainIdError as Ir, NoContractAddressUponReceiptError as br, NoEventActionStepsProvidedError as fr, NoMatchingLogsError as vr, TooManyEventActionStepsProvidedError as Pr, UnknownTransferPayloadSupplied as Rr, UnparseableAbiParamError as Sr, UnrecognizedFilterTypeError as ur, ValidationAbiMissingError as Br } from "./errors.js";
|
|
26
|
+
import { CheatCodes as Dr, RegistryType as Tr, TRANSFER_SIGNATURE as Vr, assertValidAddressByChainId as Fr, awaitResult as Lr, bytes4 as hr, getDeployedContractAddress as Nr, getErc20Balance as Or } from "./utils.js";
|
|
27
|
+
import { StrategyType as wr, prepareClaimPayload as _r } from "./claiming.js";
|
|
28
|
+
import { AssetType as Gr, prepareERC1155Payload as Wr, prepareERC1155Transfer as kr, prepareFungiblePayload as zr, prepareFungibleTransfer as qr, prepareTransferPayload as Yr } from "./transfers.js";
|
|
29
|
+
import { PassthroughAuth as jr } from "./Auth/PassthroughAuth.js";
|
|
30
|
+
import { B as Kr, I as Qr, c as Xr, A as Zr, f as $r, v as ea, l as ra, d as aa, g as oa, V as ia, w as ta, o as na, W as da, N as la, H as pa, k as sa, C as ca, E as ma } from "./generated-Cyvr_Tjx.js";
|
|
31
31
|
export {
|
|
32
32
|
g as ActionByComponentInterface,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
T as AllowListByComponentInterface,
|
|
34
|
+
de as AllowListIncentive,
|
|
35
|
+
Gr as AssetType,
|
|
36
36
|
n as BOOST_CORE_ADDRESS,
|
|
37
37
|
d as BOOST_CORE_ADDRESSES,
|
|
38
38
|
a as BOOST_REGISTRY_ADDRESS,
|
|
39
39
|
o as BOOST_REGISTRY_ADDRESSES,
|
|
40
40
|
c as Boost,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
41
|
+
l as BoostCore,
|
|
42
|
+
Je as BoostCoreNoIdentifierEmitted,
|
|
43
|
+
Ke as BoostNotFoundError,
|
|
44
|
+
i as BoostRegistry,
|
|
45
|
+
ze as BoostValidatorEOA,
|
|
46
|
+
G as BudgetByComponentInterface,
|
|
47
|
+
Qe as BudgetMustAuthorizeBoostCore,
|
|
48
|
+
se as CGDAIncentive,
|
|
49
|
+
Dr as CheatCodes,
|
|
50
|
+
ee as Contract,
|
|
51
|
+
Xe as ContractAddressRequiredError,
|
|
52
|
+
Ze as DecodedArgsError,
|
|
53
|
+
$e as DecodedArgsMalformedError,
|
|
54
|
+
Z as Deployable,
|
|
55
|
+
er as DeployableAlreadyDeployedError,
|
|
56
|
+
rr as DeployableBuildParametersUnspecifiedError,
|
|
57
|
+
ar as DeployableMissingPayloadError,
|
|
58
|
+
ae as DeployableTarget,
|
|
59
|
+
ie as DeployableTargetWithRBAC,
|
|
60
|
+
or as DeployableUnknownOwnerProvidedError,
|
|
61
|
+
ir as DeployableWagmiConfigurationRequiredError,
|
|
62
|
+
Ee as ERC20Incentive,
|
|
63
|
+
ye as ERC20PeggedIncentive,
|
|
64
|
+
Ce as ERC20PeggedVariableCriteriaIncentive,
|
|
65
|
+
Be as ERC20VariableCriteriaIncentive,
|
|
66
|
+
Re as ERC20VariableIncentive,
|
|
67
67
|
C as EventAction,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
p as FEE_DENOMINATOR,
|
|
69
|
+
tr as FieldActionValidationError,
|
|
70
|
+
nr as FieldValueNotComparableError,
|
|
71
|
+
dr as FieldValueUndefinedError,
|
|
72
72
|
I as FilterType,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
73
|
+
lr as FunctionDataDecodeError,
|
|
74
|
+
Ie as IncentiveByComponentInterface,
|
|
75
|
+
pr as IncentiveCriteriaNotFoundError,
|
|
76
|
+
sr as IncentiveNotCloneableError,
|
|
77
|
+
cr as InvalidComponentInterfaceError,
|
|
78
|
+
mr as InvalidCriteriaTypeError,
|
|
79
|
+
Er as InvalidNumericalCriteriaError,
|
|
80
|
+
gr as InvalidProtocolChainIdError,
|
|
81
|
+
Ar as InvalidTupleDecodingError,
|
|
82
|
+
yr as InvalidTupleEncodingError,
|
|
83
|
+
h as LIST_MANAGER_ROLE,
|
|
84
|
+
_e as LimitedSignerValidator,
|
|
85
|
+
Y as ManagedBudget,
|
|
86
|
+
H as ManagedBudgetRoles,
|
|
87
|
+
W as ManagedBudgetWithFees,
|
|
88
|
+
Cr as MustInitializeBudgetError,
|
|
89
|
+
Ir as NoConnectedChainIdError,
|
|
90
|
+
br as NoContractAddressUponReceiptError,
|
|
91
|
+
fr as NoEventActionStepsProvidedError,
|
|
92
|
+
vr as NoMatchingLogsError,
|
|
93
|
+
V as OpenAllowList,
|
|
94
|
+
jr as PassthroughAuth,
|
|
95
|
+
Ve as PointsIncentive,
|
|
94
96
|
b as PrimitiveType,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
+
Tr as RegistryType,
|
|
98
|
+
te as Roles,
|
|
97
99
|
f as SignatureType,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
100
|
+
he as SignerValidator,
|
|
101
|
+
N as SimpleAllowList,
|
|
102
|
+
w as SimpleDenyList,
|
|
103
|
+
wr as StrategyType,
|
|
104
|
+
Vr as TRANSFER_SIGNATURE,
|
|
105
|
+
Pr as TooManyEventActionStepsProvidedError,
|
|
106
|
+
Rr as UnknownTransferPayloadSupplied,
|
|
107
|
+
Sr as UnparseableAbiParamError,
|
|
108
|
+
ur as UnrecognizedFilterTypeError,
|
|
109
|
+
Br as ValidationAbiMissingError,
|
|
110
|
+
qe as ValidatorByComponentInterface,
|
|
109
111
|
A as actionFromAddress,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
112
|
+
F as allowListFromAddress,
|
|
113
|
+
Kr as allowListIncentiveAbi,
|
|
114
|
+
v as anyActionParameter,
|
|
115
|
+
Fr as assertValidAddressByChainId,
|
|
116
|
+
Lr as awaitResult,
|
|
117
|
+
Qr as boostCoreAbi,
|
|
118
|
+
Xr as boostRegistryAbi,
|
|
119
|
+
k as budgetFromAddress,
|
|
120
|
+
hr as bytes4,
|
|
121
|
+
Zr as cgdaIncentiveAbi,
|
|
122
|
+
P as decodeAndReorderLogArgs,
|
|
123
|
+
Ye as decodeClaimData,
|
|
124
|
+
$r as erc20IncentiveAbi,
|
|
125
|
+
ea as erc20PeggedIncentiveAbi,
|
|
126
|
+
ra as erc20PeggedVariableCriteriaIncentiveAbi,
|
|
127
|
+
aa as erc20VariableCriteriaIncentiveAbi,
|
|
128
|
+
oa as erc20VariableIncentiveAbi,
|
|
129
|
+
xe as gasRebateIncentiveCriteria,
|
|
130
|
+
Nr as getDeployedContractAddress,
|
|
131
|
+
Or as getErc20Balance,
|
|
132
|
+
be as incentiveFromAddress,
|
|
133
|
+
j as isERC1155TransferPayload,
|
|
134
|
+
R as isEventActionPayloadSimple,
|
|
135
|
+
J as isFungibleTransfer,
|
|
136
|
+
ia as limitedSignerValidatorAbi,
|
|
137
|
+
ta as managedBudgetAbi,
|
|
138
|
+
na as managedBudgetWithFeesAbi,
|
|
139
|
+
S as packFieldIndexes,
|
|
140
|
+
da as passthroughAuthAbi,
|
|
141
|
+
la as pointsIncentiveAbi,
|
|
142
|
+
le as prepareAllowListIncentivePayload,
|
|
139
143
|
m as prepareBoostPayload,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
144
|
+
ce as prepareCGDAIncentivePayload,
|
|
145
|
+
_r as prepareClaimPayload,
|
|
146
|
+
Wr as prepareERC1155Payload,
|
|
147
|
+
kr as prepareERC1155Transfer,
|
|
148
|
+
ge as prepareERC20IncentivePayload,
|
|
149
|
+
fe as prepareERC20PeggedIncentivePayload,
|
|
150
|
+
ve as prepareERC20PeggedVariableCriteriaIncentivePayload,
|
|
151
|
+
De as prepareERC20VariableCriteriaIncentivePayload,
|
|
152
|
+
Se as prepareERC20VariableIncentivePayload,
|
|
153
|
+
u as prepareEventActionPayload,
|
|
154
|
+
zr as prepareFungiblePayload,
|
|
155
|
+
qr as prepareFungibleTransfer,
|
|
156
|
+
Ue as prepareLimitedSignerValidatorClaimDataPayload,
|
|
157
|
+
Ge as prepareLimitedSignerValidatorInputParams,
|
|
158
|
+
We as prepareLimitedSignerValidatorPayload,
|
|
159
|
+
K as prepareManagedBudgetPayload,
|
|
160
|
+
z as prepareManagedBudgetWithFeesPayload,
|
|
161
|
+
Fe as preparePointsIncentivePayload,
|
|
162
|
+
Ne as prepareSignerValidatorClaimDataPayload,
|
|
163
|
+
Oe as prepareSignerValidatorInputParams,
|
|
164
|
+
Me as prepareSignerValidatorPayload,
|
|
165
|
+
O as prepareSimpleAllowListPayload,
|
|
166
|
+
_ as prepareSimpleDenyListPayload,
|
|
167
|
+
Q as prepareTransfer,
|
|
168
|
+
Yr as prepareTransferPayload,
|
|
169
|
+
pa as rbacAbi,
|
|
170
|
+
sa as signerValidatorAbi,
|
|
171
|
+
ca as simpleAllowListAbi,
|
|
172
|
+
ma as simpleDenyListAbi,
|
|
173
|
+
B as transactionSenderClaimant,
|
|
174
|
+
x as unpackFieldIndexes,
|
|
175
|
+
He as validatorFromAddress
|
|
171
176
|
};
|
|
172
177
|
//# sourceMappingURL=index.js.map
|