@boostxyz/sdk 1.1.0-alpha.23 → 1.1.0-alpha.24

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/dist/index.js CHANGED
@@ -1,147 +1,148 @@
1
1
  import { BOOST_REGISTRY_ADDRESS as o, BOOST_REGISTRY_ADDRESSES as a, BoostRegistry as t } from "./BoostRegistry.js";
2
2
  import { b as n, a as p, B as s, c as l, E as d, p as E } from "./BoostCore-CD56zbYX.js";
3
- import { Boost as y, prepareBoostPayload as c } from "./Boost.js";
3
+ import { Boost as c, prepareBoostPayload as y } from "./Boost.js";
4
4
  import { ActionByComponentInterface as f, actionFromAddress as C } from "./Actions/Action.js";
5
- import { EventAction as g, FilterType as I, PrimitiveType as v, SignatureType as P, anyActionParameter as R, isEventActionPayloadSimple as S, prepareEventActionPayload as u } from "./Actions/EventAction.js";
6
- import { AllowListByComponentInterface as D, OpenAllowList as x, allowListFromAddress as T } from "./AllowLists/AllowList.js";
7
- import { LIST_MANAGER_ROLE as O, SimpleAllowList as L, prepareSimpleAllowListPayload as V } from "./AllowLists/SimpleAllowList.js";
8
- import { S as h, p as _ } from "./SimpleDenyList-BDXpY74P.js";
9
- import { BudgetByComponentInterface as N, budgetFromAddress as U } from "./Budgets/Budget.js";
10
- import { ManagedBudget as z, ManagedBudgetRoles as k, isERC1155TransferPayload as q, isFungibleTransfer as W, prepareManagedBudgetPayload as Y, prepareTransfer as j } from "./Budgets/ManagedBudget.js";
11
- import { Deployable as J } from "./Deployable/Deployable.js";
12
- import { Contract as Q } from "./Deployable/Contract.js";
13
- import { DeployableTarget as Z } from "./Deployable/DeployableTarget.js";
14
- import { DeployableTargetWithRBAC as ee, Roles as re } from "./Deployable/DeployableTargetWithRBAC.js";
15
- import { AllowListIncentive as ae, prepareAllowListIncentivePayload as te } from "./Incentives/AllowListIncentive.js";
16
- import { CGDAIncentive as ne, prepareCGDAIncentivePayload as pe } from "./Incentives/CGDAIncentive.js";
17
- import { ERC20Incentive as le, prepareERC20IncentivePayload as de } from "./Incentives/ERC20Incentive.js";
18
- import { E as me, I as ye, i as ce, p as Ae } from "./Incentive-rM5nKznp.js";
19
- import { PointsIncentive as Ce, preparePointsIncentivePayload as be } from "./Incentives/PointsIncentive.js";
20
- import { SignerValidator as Ie, prepareSignerValidatorClaimDataPayload as ve, prepareSignerValidatorInputParams as Pe, prepareSignerValidatorPayload as Re } from "./Validators/SignerValidator.js";
21
- import { ValidatorByComponentInterface as ue, validatorFromAddress as Be } from "./Validators/Validator.js";
22
- import { BoostCoreNoIdentifierEmitted as xe, BoostNotFoundError as Te, BudgetMustAuthorizeBoostCore as Fe, ContractAddressRequiredError as Oe, DecodedArgsError as Le, DecodedArgsMalformedError as Ve, DeployableAlreadyDeployedError as we, DeployableBuildParametersUnspecifiedError as he, DeployableMissingPayloadError as _e, DeployableUnknownOwnerProvidedError as Me, DeployableWagmiConfigurationRequiredError as Ne, FieldActionValidationError as Ue, FieldValueNotComparableError as Ge, FieldValueUndefinedError as ze, FunctionDataDecodeError as ke, IncentiveCriteriaNotFoundError as qe, IncentiveNotCloneableError as We, InvalidComponentInterfaceError as Ye, InvalidCriteriaTypeError as je, InvalidNumericalCriteriaError as He, InvalidProtocolChainIdError as Je, MustInitializeBudgetError as Ke, NoConnectedChainIdError as Qe, NoContractAddressUponReceiptError as Xe, NoEventActionStepsProvidedError as Ze, NoMatchingLogsError as $e, TooManyEventActionStepsProvidedError as er, UnknownTransferPayloadSupplied as rr, UnparseableAbiParamError as or, UnrecognizedFilterTypeError as ar, ValidationAbiMissingError as tr } from "./errors.js";
23
- import { RegistryType as nr, assertValidAddressByChainId as pr, awaitResult as sr, bytes4 as lr, getDeployedContractAddress as dr } from "./utils.js";
24
- import { StrategyType as mr, prepareClaimPayload as yr } from "./claiming.js";
25
- import { AssetType as Ar, prepareERC1155Payload as fr, prepareERC1155Transfer as Cr, prepareFungiblePayload as br, prepareFungibleTransfer as gr, prepareTransferPayload as Ir } from "./transfers.js";
5
+ import { EventAction as g, FilterType as I, PrimitiveType as v, SignatureType as S, anyActionParameter as P, isEventActionPayloadSimple as R, prepareEventActionPayload as u, transactionSenderClaimant as B } from "./Actions/EventAction.js";
6
+ import { AllowListByComponentInterface as x, OpenAllowList as T, allowListFromAddress as F } from "./AllowLists/AllowList.js";
7
+ import { LIST_MANAGER_ROLE as L, SimpleAllowList as V, prepareSimpleAllowListPayload as w } from "./AllowLists/SimpleAllowList.js";
8
+ import { S as _, p as M } from "./SimpleDenyList-BDXpY74P.js";
9
+ import { BudgetByComponentInterface as U, budgetFromAddress as G } from "./Budgets/Budget.js";
10
+ import { ManagedBudget as k, ManagedBudgetRoles as q, isERC1155TransferPayload as W, isFungibleTransfer as Y, prepareManagedBudgetPayload as j, prepareTransfer as H } from "./Budgets/ManagedBudget.js";
11
+ import { Deployable as K } from "./Deployable/Deployable.js";
12
+ import { Contract as X } from "./Deployable/Contract.js";
13
+ import { DeployableTarget as $ } from "./Deployable/DeployableTarget.js";
14
+ import { DeployableTargetWithRBAC as re, Roles as oe } from "./Deployable/DeployableTargetWithRBAC.js";
15
+ import { AllowListIncentive as te, prepareAllowListIncentivePayload as ie } from "./Incentives/AllowListIncentive.js";
16
+ import { CGDAIncentive as pe, prepareCGDAIncentivePayload as se } from "./Incentives/CGDAIncentive.js";
17
+ import { ERC20Incentive as de, prepareERC20IncentivePayload as Ee } from "./Incentives/ERC20Incentive.js";
18
+ import { E as ce, I as ye, i as Ae, p as fe } from "./Incentive-rM5nKznp.js";
19
+ import { PointsIncentive as be, preparePointsIncentivePayload as ge } from "./Incentives/PointsIncentive.js";
20
+ import { SignerValidator as ve, prepareSignerValidatorClaimDataPayload as Se, prepareSignerValidatorInputParams as Pe, prepareSignerValidatorPayload as Re } from "./Validators/SignerValidator.js";
21
+ import { ValidatorByComponentInterface as Be, validatorFromAddress as De } from "./Validators/Validator.js";
22
+ import { BoostCoreNoIdentifierEmitted as Te, BoostNotFoundError as Fe, BudgetMustAuthorizeBoostCore as Oe, ContractAddressRequiredError as Le, DecodedArgsError as Ve, DecodedArgsMalformedError as we, DeployableAlreadyDeployedError as he, DeployableBuildParametersUnspecifiedError as _e, DeployableMissingPayloadError as Me, DeployableUnknownOwnerProvidedError as Ne, DeployableWagmiConfigurationRequiredError as Ue, FieldActionValidationError as Ge, FieldValueNotComparableError as ze, FieldValueUndefinedError as ke, FunctionDataDecodeError as qe, IncentiveCriteriaNotFoundError as We, IncentiveNotCloneableError as Ye, InvalidComponentInterfaceError as je, InvalidCriteriaTypeError as He, InvalidNumericalCriteriaError as Je, InvalidProtocolChainIdError as Ke, MustInitializeBudgetError as Qe, NoConnectedChainIdError as Xe, NoContractAddressUponReceiptError as Ze, NoEventActionStepsProvidedError as $e, NoMatchingLogsError as er, TooManyEventActionStepsProvidedError as rr, UnknownTransferPayloadSupplied as or, UnparseableAbiParamError as ar, UnrecognizedFilterTypeError as tr, ValidationAbiMissingError as ir } from "./errors.js";
23
+ import { RegistryType as pr, assertValidAddressByChainId as sr, awaitResult as lr, bytes4 as dr, getDeployedContractAddress as Er } from "./utils.js";
24
+ import { StrategyType as cr, prepareClaimPayload as yr } from "./claiming.js";
25
+ import { AssetType as fr, prepareERC1155Payload as Cr, prepareERC1155Transfer as br, prepareFungiblePayload as gr, prepareFungibleTransfer as Ir, prepareTransferPayload as vr } from "./transfers.js";
26
26
  import { PassthroughAuth as Pr } from "./Auth/PassthroughAuth.js";
27
- import { O as Sr, T as ur, i as Br, b as Dr, y as xr, f as Tr, d as Fr, a as Or, w as Lr, R as Vr, B as wr, h as hr, g as _r } from "./generated-CsNyWPKA.js";
27
+ import { O as ur, T as Br, i as Dr, b as xr, y as Tr, f as Fr, d as Or, a as Lr, w as Vr, R as wr, B as hr, h as _r, g as Mr } from "./generated-CsNyWPKA.js";
28
28
  export {
29
29
  f as ActionByComponentInterface,
30
- D as AllowListByComponentInterface,
31
- ae as AllowListIncentive,
32
- Ar as AssetType,
30
+ x as AllowListByComponentInterface,
31
+ te as AllowListIncentive,
32
+ fr as AssetType,
33
33
  n as BOOST_CORE_ADDRESS,
34
34
  p as BOOST_CORE_ADDRESSES,
35
35
  s as BOOST_CORE_CLAIM_FEE,
36
36
  o as BOOST_REGISTRY_ADDRESS,
37
37
  a as BOOST_REGISTRY_ADDRESSES,
38
- y as Boost,
38
+ c as Boost,
39
39
  l as BoostCore,
40
- xe as BoostCoreNoIdentifierEmitted,
41
- Te as BoostNotFoundError,
40
+ Te as BoostCoreNoIdentifierEmitted,
41
+ Fe as BoostNotFoundError,
42
42
  t as BoostRegistry,
43
- N as BudgetByComponentInterface,
44
- Fe as BudgetMustAuthorizeBoostCore,
45
- ne as CGDAIncentive,
46
- Q as Contract,
47
- Oe as ContractAddressRequiredError,
48
- Le as DecodedArgsError,
49
- Ve as DecodedArgsMalformedError,
50
- J as Deployable,
51
- we as DeployableAlreadyDeployedError,
52
- he as DeployableBuildParametersUnspecifiedError,
53
- _e as DeployableMissingPayloadError,
54
- Z as DeployableTarget,
55
- ee as DeployableTargetWithRBAC,
56
- Me as DeployableUnknownOwnerProvidedError,
57
- Ne as DeployableWagmiConfigurationRequiredError,
58
- le as ERC20Incentive,
43
+ U as BudgetByComponentInterface,
44
+ Oe as BudgetMustAuthorizeBoostCore,
45
+ pe as CGDAIncentive,
46
+ X as Contract,
47
+ Le as ContractAddressRequiredError,
48
+ Ve as DecodedArgsError,
49
+ we as DecodedArgsMalformedError,
50
+ K as Deployable,
51
+ he as DeployableAlreadyDeployedError,
52
+ _e as DeployableBuildParametersUnspecifiedError,
53
+ Me as DeployableMissingPayloadError,
54
+ $ as DeployableTarget,
55
+ re as DeployableTargetWithRBAC,
56
+ Ne as DeployableUnknownOwnerProvidedError,
57
+ Ue as DeployableWagmiConfigurationRequiredError,
58
+ de as ERC20Incentive,
59
59
  d as ERC20VariableCriteriaIncentive,
60
- me as ERC20VariableIncentive,
60
+ ce as ERC20VariableIncentive,
61
61
  g as EventAction,
62
- Ue as FieldActionValidationError,
63
- Ge as FieldValueNotComparableError,
64
- ze as FieldValueUndefinedError,
62
+ Ge as FieldActionValidationError,
63
+ ze as FieldValueNotComparableError,
64
+ ke as FieldValueUndefinedError,
65
65
  I as FilterType,
66
- ke as FunctionDataDecodeError,
66
+ qe as FunctionDataDecodeError,
67
67
  ye as IncentiveByComponentInterface,
68
- qe as IncentiveCriteriaNotFoundError,
69
- We as IncentiveNotCloneableError,
70
- Ye as InvalidComponentInterfaceError,
71
- je as InvalidCriteriaTypeError,
72
- He as InvalidNumericalCriteriaError,
73
- Je as InvalidProtocolChainIdError,
74
- O as LIST_MANAGER_ROLE,
75
- z as ManagedBudget,
76
- k as ManagedBudgetRoles,
77
- Ke as MustInitializeBudgetError,
78
- Qe as NoConnectedChainIdError,
79
- Xe as NoContractAddressUponReceiptError,
80
- Ze as NoEventActionStepsProvidedError,
81
- $e as NoMatchingLogsError,
82
- x as OpenAllowList,
68
+ We as IncentiveCriteriaNotFoundError,
69
+ Ye as IncentiveNotCloneableError,
70
+ je as InvalidComponentInterfaceError,
71
+ He as InvalidCriteriaTypeError,
72
+ Je as InvalidNumericalCriteriaError,
73
+ Ke as InvalidProtocolChainIdError,
74
+ L as LIST_MANAGER_ROLE,
75
+ k as ManagedBudget,
76
+ q as ManagedBudgetRoles,
77
+ Qe as MustInitializeBudgetError,
78
+ Xe as NoConnectedChainIdError,
79
+ Ze as NoContractAddressUponReceiptError,
80
+ $e as NoEventActionStepsProvidedError,
81
+ er as NoMatchingLogsError,
82
+ T as OpenAllowList,
83
83
  Pr as PassthroughAuth,
84
- Ce as PointsIncentive,
84
+ be as PointsIncentive,
85
85
  v as PrimitiveType,
86
- nr as RegistryType,
87
- re as Roles,
88
- P as SignatureType,
89
- Ie as SignerValidator,
90
- L as SimpleAllowList,
91
- h as SimpleDenyList,
92
- mr as StrategyType,
93
- er as TooManyEventActionStepsProvidedError,
94
- rr as UnknownTransferPayloadSupplied,
95
- or as UnparseableAbiParamError,
96
- ar as UnrecognizedFilterTypeError,
97
- tr as ValidationAbiMissingError,
98
- ue as ValidatorByComponentInterface,
86
+ pr as RegistryType,
87
+ oe as Roles,
88
+ S as SignatureType,
89
+ ve as SignerValidator,
90
+ V as SimpleAllowList,
91
+ _ as SimpleDenyList,
92
+ cr as StrategyType,
93
+ rr as TooManyEventActionStepsProvidedError,
94
+ or as UnknownTransferPayloadSupplied,
95
+ ar as UnparseableAbiParamError,
96
+ tr as UnrecognizedFilterTypeError,
97
+ ir as ValidationAbiMissingError,
98
+ Be as ValidatorByComponentInterface,
99
99
  C as actionFromAddress,
100
- T as allowListFromAddress,
101
- Sr as allowListIncentiveAbi,
102
- R as anyActionParameter,
103
- pr as assertValidAddressByChainId,
104
- sr as awaitResult,
105
- ur as boostCoreAbi,
106
- Br as boostRegistryAbi,
107
- U as budgetFromAddress,
108
- lr as bytes4,
109
- Dr as cgdaIncentiveAbi,
110
- xr as erc20IncentiveAbi,
111
- Tr as erc20VariableIncentiveAbi,
112
- dr as getDeployedContractAddress,
113
- ce as incentiveFromAddress,
114
- q as isERC1155TransferPayload,
115
- S as isEventActionPayloadSimple,
116
- W as isFungibleTransfer,
117
- Fr as managedBudgetAbi,
118
- Or as passthroughAuthAbi,
119
- Lr as pointsIncentiveAbi,
120
- te as prepareAllowListIncentivePayload,
121
- c as prepareBoostPayload,
122
- pe as prepareCGDAIncentivePayload,
100
+ F as allowListFromAddress,
101
+ ur as allowListIncentiveAbi,
102
+ P as anyActionParameter,
103
+ sr as assertValidAddressByChainId,
104
+ lr as awaitResult,
105
+ Br as boostCoreAbi,
106
+ Dr as boostRegistryAbi,
107
+ G as budgetFromAddress,
108
+ dr as bytes4,
109
+ xr as cgdaIncentiveAbi,
110
+ Tr as erc20IncentiveAbi,
111
+ Fr as erc20VariableIncentiveAbi,
112
+ Er as getDeployedContractAddress,
113
+ Ae as incentiveFromAddress,
114
+ W as isERC1155TransferPayload,
115
+ R as isEventActionPayloadSimple,
116
+ Y as isFungibleTransfer,
117
+ Or as managedBudgetAbi,
118
+ Lr as passthroughAuthAbi,
119
+ Vr as pointsIncentiveAbi,
120
+ ie as prepareAllowListIncentivePayload,
121
+ y as prepareBoostPayload,
122
+ se as prepareCGDAIncentivePayload,
123
123
  yr as prepareClaimPayload,
124
- fr as prepareERC1155Payload,
125
- Cr as prepareERC1155Transfer,
126
- de as prepareERC20IncentivePayload,
124
+ Cr as prepareERC1155Payload,
125
+ br as prepareERC1155Transfer,
126
+ Ee as prepareERC20IncentivePayload,
127
127
  E as prepareERC20VariableCriteriaIncentivePayload,
128
- Ae as prepareERC20VariableIncentivePayload,
128
+ fe as prepareERC20VariableIncentivePayload,
129
129
  u as prepareEventActionPayload,
130
- br as prepareFungiblePayload,
131
- gr as prepareFungibleTransfer,
132
- Y as prepareManagedBudgetPayload,
133
- be as preparePointsIncentivePayload,
134
- ve as prepareSignerValidatorClaimDataPayload,
130
+ gr as prepareFungiblePayload,
131
+ Ir as prepareFungibleTransfer,
132
+ j as prepareManagedBudgetPayload,
133
+ ge as preparePointsIncentivePayload,
134
+ Se as prepareSignerValidatorClaimDataPayload,
135
135
  Pe as prepareSignerValidatorInputParams,
136
136
  Re as prepareSignerValidatorPayload,
137
- V as prepareSimpleAllowListPayload,
138
- _ as prepareSimpleDenyListPayload,
139
- j as prepareTransfer,
140
- Ir as prepareTransferPayload,
141
- Vr as rbacAbi,
142
- wr as signerValidatorAbi,
143
- hr as simpleAllowListAbi,
144
- _r as simpleDenyListAbi,
145
- Be as validatorFromAddress
137
+ w as prepareSimpleAllowListPayload,
138
+ M as prepareSimpleDenyListPayload,
139
+ H as prepareTransfer,
140
+ vr as prepareTransferPayload,
141
+ wr as rbacAbi,
142
+ hr as signerValidatorAbi,
143
+ _r as simpleAllowListAbi,
144
+ Mr as simpleDenyListAbi,
145
+ B as transactionSenderClaimant,
146
+ De as validatorFromAddress
146
147
  };
147
148
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostxyz/sdk",
3
- "version": "1.1.0-alpha.23",
3
+ "version": "1.1.0-alpha.24",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "files": [
@@ -199,8 +199,8 @@
199
199
  "@boostxyz/signatures": "1.1.0-alpha.23"
200
200
  },
201
201
  "optionalDependencies": {
202
- "@boostxyz/signatures": "1.1.0-alpha.23",
203
- "@boostxyz/evm": "1.1.0-alpha.23"
202
+ "@boostxyz/evm": "1.1.0-alpha.23",
203
+ "@boostxyz/signatures": "1.1.0-alpha.23"
204
204
  },
205
205
  "peerDependencies": {
206
206
  "@wagmi/core": "2.x",