@boostxyz/sdk 0.0.0-alpha.2 → 0.0.0-alpha.20
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/Actions/Action.cjs +2 -1
- package/dist/Actions/Action.cjs.map +1 -0
- package/dist/Actions/Action.d.ts +1 -1
- package/dist/Actions/Action.d.ts.map +1 -1
- package/dist/Actions/Action.js +14 -12
- package/dist/Actions/Action.js.map +1 -0
- package/dist/Actions/ContractAction.d.ts +57 -14
- package/dist/Actions/ContractAction.d.ts.map +1 -1
- package/dist/Actions/ERC721MintAction.d.ts +50 -23
- package/dist/Actions/ERC721MintAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.cjs +2 -1
- package/dist/Actions/EventAction.cjs.map +1 -0
- package/dist/Actions/EventAction.d.ts +405 -36
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +15 -209
- package/dist/Actions/EventAction.js.map +1 -0
- package/dist/AllowLists/AllowList.cjs +2 -1
- package/dist/AllowLists/AllowList.cjs.map +1 -0
- package/dist/AllowLists/AllowList.d.ts +6 -5
- package/dist/AllowLists/AllowList.d.ts.map +1 -1
- package/dist/AllowLists/AllowList.js +46 -22
- package/dist/AllowLists/AllowList.js.map +1 -0
- package/dist/AllowLists/OpenAllowList.d.ts +423 -0
- package/dist/AllowLists/OpenAllowList.d.ts.map +1 -0
- package/dist/AllowLists/SimpleAllowList.cjs +2 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -0
- package/dist/AllowLists/SimpleAllowList.d.ts +124 -40
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +77 -77
- package/dist/AllowLists/SimpleAllowList.js.map +1 -0
- package/dist/AllowLists/SimpleDenyList.cjs +2 -1
- package/dist/AllowLists/SimpleDenyList.cjs.map +1 -0
- package/dist/AllowLists/SimpleDenyList.d.ts +234 -13
- package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleDenyList.js +12 -200
- package/dist/AllowLists/SimpleDenyList.js.map +1 -0
- package/dist/Auth/Auth.cjs +1 -0
- package/dist/Auth/Auth.cjs.map +1 -0
- package/dist/Auth/Auth.js +1 -0
- package/dist/Auth/Auth.js.map +1 -0
- package/dist/Auth/PassthroughAuth.cjs +2 -1
- package/dist/Auth/PassthroughAuth.cjs.map +1 -0
- package/dist/Auth/PassthroughAuth.js +5 -4
- package/dist/Auth/PassthroughAuth.js.map +1 -0
- package/dist/Boost.cjs +2 -1
- package/dist/Boost.cjs.map +1 -0
- package/dist/Boost.d.ts +111 -1
- package/dist/Boost.d.ts.map +1 -1
- package/dist/Boost.js +140 -5
- package/dist/Boost.js.map +1 -0
- package/dist/BoostCore-3-U1xTQN.cjs +3 -0
- package/dist/BoostCore-3-U1xTQN.cjs.map +1 -0
- package/dist/BoostCore-DVGBUr2y.js +1477 -0
- package/dist/BoostCore-DVGBUr2y.js.map +1 -0
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -0
- package/dist/BoostCore.d.ts +166 -43
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +30 -1103
- package/dist/BoostCore.js.map +1 -0
- package/dist/BoostRegistry.cjs +2 -1
- package/dist/BoostRegistry.cjs.map +1 -0
- package/dist/BoostRegistry.d.ts +64 -23
- package/dist/BoostRegistry.d.ts.map +1 -1
- package/dist/BoostRegistry.js +162 -88
- package/dist/BoostRegistry.js.map +1 -0
- package/dist/Budgets/Budget.cjs +2 -1
- package/dist/Budgets/Budget.cjs.map +1 -0
- package/dist/Budgets/Budget.d.ts +1 -1
- package/dist/Budgets/Budget.d.ts.map +1 -1
- package/dist/Budgets/Budget.js +15 -13
- package/dist/Budgets/Budget.js.map +1 -0
- package/dist/Budgets/ManagedBudget.cjs +2 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -0
- package/dist/Budgets/ManagedBudget.d.ts +78 -188
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +86 -286
- package/dist/Budgets/ManagedBudget.js.map +1 -0
- package/dist/Budgets/VestingBudget.d.ts +243 -87
- package/dist/Budgets/VestingBudget.d.ts.map +1 -1
- package/dist/Deployable/Contract.cjs +2 -1
- package/dist/Deployable/Contract.cjs.map +1 -0
- package/dist/Deployable/Contract.d.ts +4 -5
- package/dist/Deployable/Contract.d.ts.map +1 -1
- package/dist/Deployable/Contract.js +7 -8
- package/dist/Deployable/Contract.js.map +1 -0
- package/dist/Deployable/Deployable.cjs +1 -0
- package/dist/Deployable/Deployable.cjs.map +1 -0
- package/dist/Deployable/Deployable.d.ts +9 -3
- package/dist/Deployable/Deployable.d.ts.map +1 -1
- package/dist/Deployable/Deployable.js +10 -5
- package/dist/Deployable/Deployable.js.map +1 -0
- package/dist/Deployable/DeployableTarget.cjs +2 -1
- package/dist/Deployable/DeployableTarget.cjs.map +1 -0
- package/dist/Deployable/DeployableTarget.d.ts +16 -15
- package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.js +49 -42
- package/dist/Deployable/DeployableTarget.js.map +1 -0
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +2 -0
- package/dist/Deployable/DeployableTargetWithRBAC.cjs.map +1 -0
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts +179 -0
- package/dist/Deployable/DeployableTargetWithRBAC.d.ts.map +1 -0
- package/dist/Deployable/DeployableTargetWithRBAC.js +222 -0
- package/dist/Deployable/DeployableTargetWithRBAC.js.map +1 -0
- package/dist/EventAction-CIPqmAoP.js +1450 -0
- package/dist/EventAction-CIPqmAoP.js.map +1 -0
- package/dist/EventAction-d-oeqZQs.cjs +2 -0
- package/dist/EventAction-d-oeqZQs.cjs.map +1 -0
- package/dist/Incentive-Bp8Sez7M.js +298 -0
- package/dist/Incentive-Bp8Sez7M.js.map +1 -0
- package/dist/Incentive-Djnzseoj.cjs +2 -0
- package/dist/Incentive-Djnzseoj.cjs.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +2 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -0
- package/dist/Incentives/AllowListIncentive.d.ts +49 -19
- package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +50 -34
- package/dist/Incentives/AllowListIncentive.js.map +1 -0
- package/dist/Incentives/CGDAIncentive.cjs +2 -1
- package/dist/Incentives/CGDAIncentive.cjs.map +1 -0
- package/dist/Incentives/CGDAIncentive.d.ts +118 -22
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +67 -42
- package/dist/Incentives/CGDAIncentive.js.map +1 -0
- package/dist/Incentives/ERC1155Incentive.d.ts +99 -38
- package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +2 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -0
- package/dist/Incentives/ERC20Incentive.d.ts +73 -29
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +71 -48
- package/dist/Incentives/ERC20Incentive.js.map +1 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts +523 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -0
- package/dist/Incentives/ERC20VariableIncentive.d.ts +65 -28
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.cjs +2 -1
- package/dist/Incentives/Incentive.cjs.map +1 -0
- package/dist/Incentives/Incentive.d.ts +4 -7
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +17 -278
- package/dist/Incentives/Incentive.js.map +1 -0
- package/dist/Incentives/PointsIncentive.cjs +2 -1
- package/dist/Incentives/PointsIncentive.cjs.map +1 -0
- package/dist/Incentives/PointsIncentive.d.ts +65 -21
- package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
- package/dist/Incentives/PointsIncentive.js +57 -36
- package/dist/Incentives/PointsIncentive.js.map +1 -0
- package/dist/SimpleDenyList-BwfNjRsg.cjs +2 -0
- package/dist/SimpleDenyList-BwfNjRsg.cjs.map +1 -0
- package/dist/SimpleDenyList-Cn5WpNn0.js +132 -0
- package/dist/SimpleDenyList-Cn5WpNn0.js.map +1 -0
- package/dist/Validators/SignerValidator.cjs +2 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -0
- package/dist/Validators/SignerValidator.d.ts +310 -17
- package/dist/Validators/SignerValidator.d.ts.map +1 -1
- package/dist/Validators/SignerValidator.js +165 -36
- package/dist/Validators/SignerValidator.js.map +1 -0
- package/dist/Validators/Validator.cjs +2 -1
- package/dist/Validators/Validator.cjs.map +1 -0
- package/dist/Validators/Validator.d.ts +2 -2
- package/dist/Validators/Validator.d.ts.map +1 -1
- package/dist/Validators/Validator.js +12 -10
- package/dist/Validators/Validator.js.map +1 -0
- package/dist/claiming.cjs +2 -0
- package/dist/claiming.cjs.map +1 -0
- package/dist/claiming.d.ts +43 -0
- package/dist/claiming.d.ts.map +1 -0
- package/dist/claiming.js +17 -0
- package/dist/claiming.js.map +1 -0
- package/dist/componentInterfaces-D09mhzxO.cjs +2 -0
- package/dist/componentInterfaces-D09mhzxO.cjs.map +1 -0
- package/dist/componentInterfaces-RXBMI5yH.js +14 -0
- package/dist/componentInterfaces-RXBMI5yH.js.map +1 -0
- package/dist/deployments-BM42vImE.js +43 -0
- package/dist/deployments-BM42vImE.js.map +1 -0
- package/dist/deployments-CMdF5uEC.cjs +2 -0
- package/dist/deployments-CMdF5uEC.cjs.map +1 -0
- package/dist/deployments.json +41 -0
- package/dist/errors.cjs +2 -1
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +403 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +285 -39
- package/dist/errors.js.map +1 -0
- package/dist/generated-B0tk-c9b.cjs +3 -0
- package/dist/generated-B0tk-c9b.cjs.map +1 -0
- package/dist/{generated-x_abr3Yv.js → generated-B7VaSah4.js} +2058 -2541
- package/dist/generated-B7VaSah4.js.map +1 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +10 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +143 -1353
- package/dist/index.js.map +1 -0
- package/dist/transfers.cjs +2 -0
- package/dist/transfers.cjs.map +1 -0
- package/dist/transfers.d.ts +198 -0
- package/dist/transfers.d.ts.map +1 -0
- package/dist/transfers.js +84 -0
- package/dist/transfers.js.map +1 -0
- package/dist/utils.cjs +2 -1
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.ts +26 -1350
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +38 -636
- package/dist/utils.js.map +1 -0
- package/package.json +37 -11
- package/src/Actions/Action.test.ts +79 -0
- package/src/Actions/Action.ts +61 -0
- package/src/Actions/ContractAction.test.ts +197 -0
- package/src/Actions/ContractAction.ts +300 -0
- package/src/Actions/ERC721MintAction.test.ts +112 -0
- package/src/Actions/ERC721MintAction.ts +291 -0
- package/src/Actions/EventAction.test.ts +787 -0
- package/src/Actions/EventAction.ts +1214 -0
- package/src/AllowLists/AllowList.test.ts +64 -0
- package/src/AllowLists/AllowList.ts +62 -0
- package/src/AllowLists/OpenAllowList.test.ts +40 -0
- package/src/AllowLists/OpenAllowList.ts +45 -0
- package/src/AllowLists/SimpleAllowList.test.ts +52 -0
- package/src/AllowLists/SimpleAllowList.ts +262 -0
- package/src/AllowLists/SimpleDenyList.test.ts +52 -0
- package/src/AllowLists/SimpleDenyList.ts +250 -0
- package/src/Auth/Auth.ts +11 -0
- package/src/Auth/PassthroughAuth.test.ts +12 -0
- package/src/Auth/PassthroughAuth.ts +80 -0
- package/src/Boost.ts +309 -0
- package/src/BoostCore.test.ts +827 -0
- package/src/BoostCore.ts +1447 -0
- package/src/BoostRegistry.ts +543 -0
- package/src/Budgets/Budget.test.ts +27 -0
- package/src/Budgets/Budget.ts +60 -0
- package/src/Budgets/ManagedBudget.test.ts +217 -0
- package/src/Budgets/ManagedBudget.ts +534 -0
- package/src/Budgets/VestingBudget.test.ts +123 -0
- package/src/Budgets/VestingBudget.ts +530 -0
- package/src/Deployable/Contract.ts +228 -0
- package/src/Deployable/Deployable.ts +250 -0
- package/src/Deployable/DeployableTarget.ts +234 -0
- package/src/Deployable/DeployableTargetWithRBAC.ts +323 -0
- package/src/Incentives/AllowListIncentive.test.ts +143 -0
- package/src/Incentives/AllowListIncentive.ts +336 -0
- package/src/Incentives/CGDAIncentive.test.ts +132 -0
- package/src/Incentives/CGDAIncentive.ts +470 -0
- package/src/Incentives/ERC1155Incentive.test.ts +87 -0
- package/src/Incentives/ERC1155Incentive.ts +465 -0
- package/src/Incentives/ERC20Incentive.test.ts +130 -0
- package/src/Incentives/ERC20Incentive.ts +484 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +184 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.ts +309 -0
- package/src/Incentives/ERC20VariableIncentive.test.ts +136 -0
- package/src/Incentives/ERC20VariableIncentive.ts +422 -0
- package/src/Incentives/Incentive.test.ts +92 -0
- package/src/Incentives/Incentive.ts +86 -0
- package/src/Incentives/PointsIncentive.test.ts +139 -0
- package/src/Incentives/PointsIncentive.ts +367 -0
- package/src/Validators/SignerValidator.test.ts +159 -0
- package/src/Validators/SignerValidator.ts +683 -0
- package/src/Validators/Validator.test.ts +21 -0
- package/src/Validators/Validator.ts +55 -0
- package/src/claiming.ts +56 -0
- package/src/errors.ts +844 -0
- package/src/index.test.ts +122 -0
- package/src/index.ts +58 -0
- package/src/transfers.ts +284 -0
- package/src/utils.test.ts +44 -0
- package/src/utils.ts +247 -0
- package/dist/Budgets/SimpleBudget.d.ts +0 -793
- package/dist/Budgets/SimpleBudget.d.ts.map +0 -1
- package/dist/generated-BaaleHW-.cjs +0 -2
package/dist/BoostCore.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { boostCoreAbi, type iAuthAbi } from '@boostxyz/evm';
|
|
2
|
+
import { type GetTransactionReceiptParameters } from '@wagmi/core';
|
|
2
3
|
import { type Address, type ContractEventName, type Hex } from 'viem';
|
|
3
4
|
import { type Action } from './Actions/Action';
|
|
4
|
-
import { EventAction } from './Actions/EventAction';
|
|
5
|
+
import { EventAction, type EventActionPayload } from './Actions/EventAction';
|
|
5
6
|
import { type AllowList } from './AllowLists/AllowList';
|
|
7
|
+
import { OpenAllowList } from './AllowLists/OpenAllowList';
|
|
6
8
|
import { SimpleAllowList, type SimpleAllowListPayload } from './AllowLists/SimpleAllowList';
|
|
7
9
|
import { SimpleDenyList, type SimpleDenyListPayload } from './AllowLists/SimpleDenyList';
|
|
8
10
|
import { type Auth, PassthroughAuth } from './Auth/Auth';
|
|
@@ -13,19 +15,38 @@ import { Deployable, type DeployableOptions, type DeployablePayloadOrAddress, ty
|
|
|
13
15
|
import { AllowListIncentive, type AllowListIncentivePayload } from './Incentives/AllowListIncentive';
|
|
14
16
|
import { CGDAIncentive, type CGDAIncentivePayload } from './Incentives/CGDAIncentive';
|
|
15
17
|
import { ERC20Incentive, type ERC20IncentivePayload } from './Incentives/ERC20Incentive';
|
|
18
|
+
import { ERC20VariableCriteriaIncentive, type ERC20VariableCriteriaIncentivePayload } from './Incentives/ERC20VariableCriteriaIncentive';
|
|
19
|
+
import type { ERC20VariableIncentivePayload } from './Incentives/ERC20VariableIncentive';
|
|
16
20
|
import { ERC20VariableIncentive, type Incentive } from './Incentives/Incentive';
|
|
17
21
|
import { PointsIncentive, type PointsIncentivePayload } from './Incentives/PointsIncentive';
|
|
18
22
|
import { SignerValidator, type SignerValidatorPayload } from './Validators/SignerValidator';
|
|
19
23
|
import { type Validator } from './Validators/Validator';
|
|
20
|
-
import { type
|
|
24
|
+
import { type GenericLog, type ReadParams, type WriteParams } from './utils';
|
|
25
|
+
/**
|
|
26
|
+
* The ABI of the BoostCore contract, if needed for low level operations
|
|
27
|
+
*
|
|
28
|
+
* @type {typeof boostCoreAbi}
|
|
29
|
+
*/
|
|
21
30
|
export { boostCoreAbi };
|
|
22
31
|
/**
|
|
23
|
-
* The
|
|
24
|
-
*
|
|
32
|
+
* The fee (in wei) required to claim each incentive, must be provided for the `claimIncentive` transaction
|
|
33
|
+
*
|
|
34
|
+
* @type {bigint}
|
|
35
|
+
*/
|
|
36
|
+
export declare const BOOST_CORE_CLAIM_FEE: bigint;
|
|
37
|
+
/**
|
|
38
|
+
* The address of the deployed BoostCore instance. In prerelease mode, this will be its sepolia address
|
|
25
39
|
*
|
|
26
40
|
* @type {Address}
|
|
27
41
|
*/
|
|
28
|
-
export declare const BOOST_CORE_ADDRESS:
|
|
42
|
+
export declare const BOOST_CORE_ADDRESS: `0x${string}`;
|
|
43
|
+
/**
|
|
44
|
+
* The fixed addresses for the deployed Boost Core.
|
|
45
|
+
* By default, `new BoostCore` will use the address deployed to the currently connected chain, or `BOOST_CORE_ADDRESS` if not provided.
|
|
46
|
+
*
|
|
47
|
+
* @type {Record<number, Address>}
|
|
48
|
+
*/
|
|
49
|
+
export declare const BOOST_CORE_ADDRESSES: Record<number, Address>;
|
|
29
50
|
/**
|
|
30
51
|
* A generic `viem.Log` event with support for `BoostCore` event types.
|
|
31
52
|
*
|
|
@@ -90,7 +111,7 @@ export type BoostCoreConfig = BoostCoreDeployedOptions | BoostCoreOptionsWithPay
|
|
|
90
111
|
export type CreateBoostPayload = {
|
|
91
112
|
budget: Budget;
|
|
92
113
|
action: Action;
|
|
93
|
-
validator
|
|
114
|
+
validator?: Validator;
|
|
94
115
|
allowList: AllowList;
|
|
95
116
|
incentives: Array<Incentive>;
|
|
96
117
|
protocolFee?: bigint;
|
|
@@ -110,6 +131,22 @@ export declare class BoostCore extends Deployable<[
|
|
|
110
131
|
Address,
|
|
111
132
|
Address
|
|
112
133
|
], typeof boostCoreAbi> {
|
|
134
|
+
/**
|
|
135
|
+
* A static property representing a map of stringified chain ID's to the address of the deployed implementation on chain
|
|
136
|
+
*
|
|
137
|
+
* @static
|
|
138
|
+
* @readonly
|
|
139
|
+
* @type {Record<string, Address>}
|
|
140
|
+
*/
|
|
141
|
+
static readonly addresses: Record<number, Address>;
|
|
142
|
+
/**
|
|
143
|
+
* A getter that will return Boost core's static addresses by numerical chain ID
|
|
144
|
+
*
|
|
145
|
+
* @public
|
|
146
|
+
* @readonly
|
|
147
|
+
* @type {Record<number, Address>}
|
|
148
|
+
*/
|
|
149
|
+
get addresses(): Record<number, Address>;
|
|
113
150
|
/**
|
|
114
151
|
* Creates an instance of BoostCore.
|
|
115
152
|
*
|
|
@@ -119,16 +156,17 @@ export declare class BoostCore extends Deployable<[
|
|
|
119
156
|
* @param {?Account} [param0.account]
|
|
120
157
|
* @param {({ address?: Address; } | { registryAddress: Address; protocolFeeReceiver: Address; })} param0....options
|
|
121
158
|
*/
|
|
122
|
-
constructor({ config, account, ...options }: BoostCoreConfig);
|
|
159
|
+
constructor({ config, account, ...options }: BoostCoreConfig);
|
|
160
|
+
/**
|
|
123
161
|
* Create a new Boost.
|
|
124
162
|
*
|
|
125
163
|
* @public
|
|
126
164
|
* @async
|
|
127
165
|
* @param {CreateBoostPayload} _boostPayload
|
|
128
166
|
* @param {?DeployableOptions} [_options]
|
|
129
|
-
* @returns {Boost}
|
|
167
|
+
* @returns {Promise<Boost>}
|
|
130
168
|
*/
|
|
131
|
-
createBoost(_boostPayload: CreateBoostPayload,
|
|
169
|
+
createBoost(_boostPayload: CreateBoostPayload, _params?: DeployableOptions & WriteParams<typeof boostCoreAbi, 'createBoost'>): Promise<Boost>;
|
|
132
170
|
/**
|
|
133
171
|
* Claims one incentive from a given `Boost` by `boostId` and `incentiveId`
|
|
134
172
|
*
|
|
@@ -138,8 +176,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
138
176
|
* @param {bigint} incentiveId
|
|
139
177
|
* @param {Address} address
|
|
140
178
|
* @param {Hex} data
|
|
141
|
-
* @param {?WriteParams
|
|
142
|
-
* @returns {
|
|
179
|
+
* @param {?WriteParams} [params]
|
|
180
|
+
* @returns {Promise<void>}
|
|
143
181
|
*/
|
|
144
182
|
claimIncentive(boostId: bigint, incentiveId: bigint, address: Address, data: Hex, params?: WriteParams<typeof boostCoreAbi, 'claimIncentive'>): Promise<void>;
|
|
145
183
|
/**
|
|
@@ -149,12 +187,43 @@ export declare class BoostCore extends Deployable<[
|
|
|
149
187
|
* @async
|
|
150
188
|
* @param {bigint} boostId - The ID of the Boost
|
|
151
189
|
* @param {bigint} incentiveId - The ID of the Incentive
|
|
152
|
-
* @param {Address}
|
|
190
|
+
* @param {Address} referrer - The address of the referrer (if any)
|
|
153
191
|
* @param {Hex} data- The data for the claim
|
|
154
|
-
* @param {?WriteParams
|
|
155
|
-
* @returns {
|
|
192
|
+
* @param {?WriteParams} [params]
|
|
193
|
+
* @returns {Promise<{ hash: `0x${string}`; result: void; }>}
|
|
194
|
+
*/
|
|
195
|
+
claimIncentiveRaw(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, params?: WriteParams<typeof boostCoreAbi, 'claimIncentive'>): Promise<{
|
|
196
|
+
hash: `0x${string}`;
|
|
197
|
+
result: void;
|
|
198
|
+
}>;
|
|
199
|
+
/**
|
|
200
|
+
* Claims one incentive for a given `Boost` on behalf of another user by `boostId` and `incentiveId`
|
|
201
|
+
*
|
|
202
|
+
* @public
|
|
203
|
+
* @async
|
|
204
|
+
* @param {bigint} boostId
|
|
205
|
+
* @param {bigint} incentiveId
|
|
206
|
+
* @param {Address} referrer
|
|
207
|
+
* @param {Hex} data
|
|
208
|
+
* @param {Address} claimant
|
|
209
|
+
* @param {?WriteParams} [params]
|
|
210
|
+
* @returns {Promise<void>}
|
|
211
|
+
*/
|
|
212
|
+
claimIncentiveFor(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, claimant: Address, params?: WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* Claim an incentive for a Boost on behalf of another user
|
|
215
|
+
*
|
|
216
|
+
* @public
|
|
217
|
+
* @async
|
|
218
|
+
* @param {bigint} boostId - The ID of the Boost
|
|
219
|
+
* @param {bigint} incentiveId - The ID of the Incentive
|
|
220
|
+
* @param {Address} referrer - The address of the referrer (if any)
|
|
221
|
+
* @param {Hex} data - The data for the claim
|
|
222
|
+
* @param {Address} claimant - The address of the user eligible for the incentive payout
|
|
223
|
+
* @param {?WriteParams} [params]
|
|
224
|
+
* @returns {Promise<{ hash: Hex; result: void; }>}
|
|
156
225
|
*/
|
|
157
|
-
|
|
226
|
+
claimIncentiveForRaw(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, claimant: Address, params?: WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>): Promise<{
|
|
158
227
|
hash: `0x${string}`;
|
|
159
228
|
result: void;
|
|
160
229
|
}>;
|
|
@@ -164,8 +233,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
164
233
|
* @public
|
|
165
234
|
* @async
|
|
166
235
|
* @param {bigint} id
|
|
167
|
-
* @param {?ReadParams
|
|
168
|
-
* @returns {
|
|
236
|
+
* @param {?ReadParams} [params]
|
|
237
|
+
* @returns {Promise<RawBoost>}
|
|
169
238
|
*/
|
|
170
239
|
readBoost(id: bigint, params?: ReadParams<typeof boostCoreAbi, 'getBoost'>): Promise<{
|
|
171
240
|
action: `0x${string}`;
|
|
@@ -184,8 +253,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
184
253
|
* @public
|
|
185
254
|
* @async
|
|
186
255
|
* @param {(string | bigint)} _id
|
|
187
|
-
* @param {?ReadParams
|
|
188
|
-
* @returns {
|
|
256
|
+
* @param {?ReadParams} [params]
|
|
257
|
+
* @returns {Promise<Boost>}
|
|
189
258
|
*/
|
|
190
259
|
getBoost(_id: string | bigint, params?: ReadParams<typeof boostCoreAbi, 'getBoost'>): Promise<Boost>;
|
|
191
260
|
/**
|
|
@@ -193,7 +262,7 @@ export declare class BoostCore extends Deployable<[
|
|
|
193
262
|
*
|
|
194
263
|
* @public
|
|
195
264
|
* @async
|
|
196
|
-
* @param {?ReadParams
|
|
265
|
+
* @param {?ReadParams} [params]
|
|
197
266
|
* @returns {Promise<bigint>}
|
|
198
267
|
*/
|
|
199
268
|
getBoostCount(params?: ReadParams<typeof boostCoreAbi, 'getBoostCount'>): Promise<bigint>;
|
|
@@ -203,7 +272,7 @@ export declare class BoostCore extends Deployable<[
|
|
|
203
272
|
* @public
|
|
204
273
|
* @async
|
|
205
274
|
* @param {Address} address
|
|
206
|
-
* @param {?ReadParams
|
|
275
|
+
* @param {?ReadParams &
|
|
207
276
|
* ReadParams<typeof iAuthAbi, 'isAuthorized'>} [params]
|
|
208
277
|
* @returns {Promise<boolean>}
|
|
209
278
|
*/
|
|
@@ -213,8 +282,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
213
282
|
*
|
|
214
283
|
* @public
|
|
215
284
|
* @async
|
|
216
|
-
* @param {?ReadParams
|
|
217
|
-
* @returns {
|
|
285
|
+
* @param {?ReadParams} [params]
|
|
286
|
+
* @returns {Promise<Address>}
|
|
218
287
|
*/
|
|
219
288
|
createBoostAuth(params?: ReadParams<typeof boostCoreAbi, 'createBoostAuth'>): Promise<`0x${string}`>;
|
|
220
289
|
/**
|
|
@@ -223,8 +292,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
223
292
|
* @public
|
|
224
293
|
* @async
|
|
225
294
|
* @param {Auth} auth
|
|
226
|
-
* @param {?WriteParams
|
|
227
|
-
* @returns {
|
|
295
|
+
* @param {?WriteParams} [params]
|
|
296
|
+
* @returns {Promise<void>}
|
|
228
297
|
*/
|
|
229
298
|
setCreateBoostAuth(auth: Auth, params?: WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>): Promise<void>;
|
|
230
299
|
/**
|
|
@@ -233,8 +302,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
233
302
|
* @public
|
|
234
303
|
* @async
|
|
235
304
|
* @param {Address} address
|
|
236
|
-
* @param {?WriteParams
|
|
237
|
-
* @returns {
|
|
305
|
+
* @param {?WriteParams} [params]
|
|
306
|
+
* @returns {Promise<{ hash: `0x${string}`; result: void; }>}
|
|
238
307
|
*/
|
|
239
308
|
setCreateBoostAuthRaw(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>): Promise<{
|
|
240
309
|
hash: `0x${string}`;
|
|
@@ -245,7 +314,7 @@ export declare class BoostCore extends Deployable<[
|
|
|
245
314
|
*
|
|
246
315
|
* @public
|
|
247
316
|
* @async
|
|
248
|
-
* @param {?ReadParams
|
|
317
|
+
* @param {?ReadParams} [params]
|
|
249
318
|
* @returns {unknown}
|
|
250
319
|
*/
|
|
251
320
|
protocolFee(params?: ReadParams<typeof boostCoreAbi, 'protocolFee'>): Promise<bigint>;
|
|
@@ -254,8 +323,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
254
323
|
*
|
|
255
324
|
* @public
|
|
256
325
|
* @async
|
|
257
|
-
* @param {?ReadParams
|
|
258
|
-
* @returns {
|
|
326
|
+
* @param {?ReadParams} [params]
|
|
327
|
+
* @returns {Promise<Address>}
|
|
259
328
|
*/
|
|
260
329
|
protocolFeeReceiver(params?: ReadParams<typeof boostCoreAbi, 'protocolFeeReceiver'>): Promise<`0x${string}`>;
|
|
261
330
|
/**
|
|
@@ -264,8 +333,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
264
333
|
* @public
|
|
265
334
|
* @async
|
|
266
335
|
* @param {Address} address
|
|
267
|
-
* @param {?WriteParams
|
|
268
|
-
* @returns {
|
|
336
|
+
* @param {?WriteParams} [params]
|
|
337
|
+
* @returns {Promise<void>}
|
|
269
338
|
*/
|
|
270
339
|
setProcolFeeReceiver(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>): Promise<void>;
|
|
271
340
|
/**
|
|
@@ -274,8 +343,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
274
343
|
* @public
|
|
275
344
|
* @async
|
|
276
345
|
* @param {Address} address
|
|
277
|
-
* @param {?WriteParams
|
|
278
|
-
* @returns {
|
|
346
|
+
* @param {?WriteParams} [params]
|
|
347
|
+
* @returns {Promise<{ hash: `0x${string}`; result: void; }>}
|
|
279
348
|
*/
|
|
280
349
|
setProcolFeeReceiverRaw(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>): Promise<{
|
|
281
350
|
hash: `0x${string}`;
|
|
@@ -286,8 +355,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
286
355
|
*
|
|
287
356
|
* @public
|
|
288
357
|
* @async
|
|
289
|
-
* @param {?ReadParams
|
|
290
|
-
* @returns {
|
|
358
|
+
* @param {?ReadParams} [params]
|
|
359
|
+
* @returns {Promise<bigint>}
|
|
291
360
|
*/
|
|
292
361
|
claimFee(params?: ReadParams<typeof boostCoreAbi, 'claimFee'>): Promise<bigint>;
|
|
293
362
|
/**
|
|
@@ -296,8 +365,8 @@ export declare class BoostCore extends Deployable<[
|
|
|
296
365
|
* @public
|
|
297
366
|
* @async
|
|
298
367
|
* @param {bigint} claimFee
|
|
299
|
-
* @param {?WriteParams
|
|
300
|
-
* @returns {
|
|
368
|
+
* @param {?WriteParams} [params]
|
|
369
|
+
* @returns {Promise<void>}
|
|
301
370
|
*/
|
|
302
371
|
setClaimFee(claimFee: bigint, params?: WriteParams<typeof boostCoreAbi, 'setClaimFee'>): Promise<void>;
|
|
303
372
|
/**
|
|
@@ -306,13 +375,43 @@ export declare class BoostCore extends Deployable<[
|
|
|
306
375
|
* @public
|
|
307
376
|
* @async
|
|
308
377
|
* @param {bigint} claimFee
|
|
309
|
-
* @param {?WriteParams
|
|
310
|
-
* @returns {
|
|
378
|
+
* @param {?WriteParams} [params]
|
|
379
|
+
* @returns {Promise<{ hash: `0x${string}`; result: void; }>}
|
|
311
380
|
*/
|
|
312
381
|
setClaimFeeRaw(claimFee: bigint, params?: WriteParams<typeof boostCoreAbi, 'setClaimFee'>): Promise<{
|
|
313
382
|
hash: `0x${string}`;
|
|
314
383
|
result: void;
|
|
315
384
|
}>;
|
|
385
|
+
/**
|
|
386
|
+
* Retrieves the claim information from a transaction receipt.
|
|
387
|
+
*
|
|
388
|
+
* @param {GetTransactionReceiptParameters} params - The parameters required to get the transaction receipt.
|
|
389
|
+
* @returns {Promise<{ boostId: bigint, incentiveId: bigint, claimer: Address, amount: bigint } | undefined>} The claim information if found, undefined otherwise.
|
|
390
|
+
*
|
|
391
|
+
* @description
|
|
392
|
+
* This method retrieves the transaction receipt using the provided parameters,
|
|
393
|
+
* then parses the logs to find the 'BoostClaimed' event.
|
|
394
|
+
* If found, it returns the arguments of the event, which include the boost ID,
|
|
395
|
+
* incentive ID, claimer address, and claimed amount.
|
|
396
|
+
*
|
|
397
|
+
* @example
|
|
398
|
+
* ```ts
|
|
399
|
+
* const claimInfo = await boostCore.getClaimFromTransaction({
|
|
400
|
+
* hash: '0x...',
|
|
401
|
+
* chainId: 1
|
|
402
|
+
* });
|
|
403
|
+
* if (claimInfo) {
|
|
404
|
+
* console.log(`Boost ${claimInfo.boostId} claimed by ${claimInfo.claimer}`);
|
|
405
|
+
* }
|
|
406
|
+
* ```
|
|
407
|
+
*/
|
|
408
|
+
getClaimFromTransaction(params: GetTransactionReceiptParameters): Promise<{
|
|
409
|
+
boostId: bigint;
|
|
410
|
+
incentiveId: bigint;
|
|
411
|
+
claimant: `0x${string}`;
|
|
412
|
+
referrer: `0x${string}`;
|
|
413
|
+
data: `0x${string}`;
|
|
414
|
+
} | undefined>;
|
|
316
415
|
/**
|
|
317
416
|
* Bound {@link PassthroughAuth} constructor that reuses the same configuration as the Boost Core instance.
|
|
318
417
|
*
|
|
@@ -321,8 +420,7 @@ export declare class BoostCore extends Deployable<[
|
|
|
321
420
|
* const auth = core.PassthroughAuth('0x') // is roughly equivalent to
|
|
322
421
|
* const auth = new PassthroughAuth({ config: core._config, account: core._account }, '0x')
|
|
323
422
|
* ```
|
|
324
|
-
* @param {
|
|
325
|
-
* @param {?boolean} [isBase]
|
|
423
|
+
* @param {Address} address
|
|
326
424
|
* @returns {PassthroughAuth}
|
|
327
425
|
*/
|
|
328
426
|
PassthroughAuth(address?: Address): PassthroughAuth;
|
|
@@ -335,6 +433,18 @@ export declare class BoostCore extends Deployable<[
|
|
|
335
433
|
* const action = new EventAction({ config: core._config, account: core._account }, '0x')
|
|
336
434
|
*/
|
|
337
435
|
EventAction(options: DeployablePayloadOrAddress<EventActionPayload>, isBase?: boolean): EventAction;
|
|
436
|
+
/**
|
|
437
|
+
* Bound {@link OpenAllowList} constructor that reuses the same configuration as the Boost Core instance.
|
|
438
|
+
*
|
|
439
|
+
* @example
|
|
440
|
+
* ```ts
|
|
441
|
+
* const list = core.OpenAllowList('0x') // is roughly equivalent to
|
|
442
|
+
* const list = new OpenAllowList({ config: core._config, account: core._account }, '0x')
|
|
443
|
+
* ```
|
|
444
|
+
* @param {?boolean} [isBase]
|
|
445
|
+
* @returns {OpenAllowList}
|
|
446
|
+
*/
|
|
447
|
+
OpenAllowList(isBase?: boolean): OpenAllowList;
|
|
338
448
|
/**
|
|
339
449
|
* Bound {@link SimpleAllowList} constructor that reuses the same configuration as the Boost Core instance.
|
|
340
450
|
*
|
|
@@ -360,7 +470,7 @@ export declare class BoostCore extends Deployable<[
|
|
|
360
470
|
* @param {?boolean} [isBase]
|
|
361
471
|
* @returns {SimpleDenyList}
|
|
362
472
|
*/
|
|
363
|
-
SimpleDenyList(options: DeployablePayloadOrAddress<SimpleDenyListPayload>, isBase?: boolean): SimpleDenyList
|
|
473
|
+
SimpleDenyList(options: DeployablePayloadOrAddress<SimpleDenyListPayload>, isBase?: boolean): SimpleDenyList<SimpleDenyListPayload>;
|
|
364
474
|
/**
|
|
365
475
|
* Bound {@link ManagedBudget} constructor that reuses the same configuration as the Boost Core instance.
|
|
366
476
|
*
|
|
@@ -434,6 +544,19 @@ export declare class BoostCore extends Deployable<[
|
|
|
434
544
|
* @returns {SignerValidator}
|
|
435
545
|
*/
|
|
436
546
|
SignerValidator(options: DeployablePayloadOrAddress<SignerValidatorPayload>, isBase?: boolean): SignerValidator;
|
|
547
|
+
/**
|
|
548
|
+
* Bound {@link ERC20VariableCriteriaIncentive} constructor that reuses the same configuration as the Boost Core instance.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* ```ts
|
|
552
|
+
* const validator = core.ERC20VariableCrtieriaIncentive({ ... }) // is roughly equivalent to
|
|
553
|
+
* const validator = new ERC20VariableCrtieriaIncentive({ config: core._config, account: core._account }, { ... })
|
|
554
|
+
* ```
|
|
555
|
+
* @param {DeployablePayloadOrAddress<ERC20VariableCrtieriaIncentivePayload>} options
|
|
556
|
+
* @param {?boolean} [isBase]
|
|
557
|
+
* @returns {ERC20VariableCrtieriaIncentive}
|
|
558
|
+
* */
|
|
559
|
+
ERC20VariableCriteriaIncentive(options: DeployablePayloadOrAddress<ERC20VariableCriteriaIncentivePayload>, isBase?: boolean): ERC20VariableCriteriaIncentive;
|
|
437
560
|
/**
|
|
438
561
|
* Bound {@link ERC20VariableIncentive} constructor that reuses the same configuration as the Boost Core instance.
|
|
439
562
|
*
|
package/dist/BoostCore.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoostCore.d.ts","sourceRoot":"","sources":["../src/BoostCore.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"BoostCore.d.ts","sourceRoot":"","sources":["../src/BoostCore.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,QAAQ,EAkBd,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,KAAK,+BAA+B,EAIrC,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAKT,MAAM,MAAM,CAAC;AAEd,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,kBAAkB,CAAC;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