@boostxyz/sdk 0.0.0-alpha.2 → 0.0.0-alpha.21
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 +76 -76
- 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 +105 -14
- package/dist/Boost.d.ts.map +1 -1
- package/dist/Boost.js +138 -5
- package/dist/Boost.js.map +1 -0
- package/dist/BoostCore-DolmDuXW.cjs +3 -0
- package/dist/BoostCore-DolmDuXW.cjs.map +1 -0
- package/dist/BoostCore-Z97KVu4V.js +1448 -0
- package/dist/BoostCore-Z97KVu4V.js.map +1 -0
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -0
- package/dist/BoostCore.d.ts +788 -79
- 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 +95 -26
- package/dist/BoostRegistry.d.ts.map +1 -1
- package/dist/BoostRegistry.js +183 -89
- 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 +112 -192
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +91 -291
- package/dist/Budgets/ManagedBudget.js.map +1 -0
- package/dist/Budgets/VestingBudget.d.ts +277 -91
- 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-CBKzuNoN.cjs +2 -0
- package/dist/EventAction-CBKzuNoN.cjs.map +1 -0
- package/dist/EventAction-DWuuc_Qy.js +1528 -0
- package/dist/EventAction-DWuuc_Qy.js.map +1 -0
- package/dist/Incentive-BxzEtN26.js +298 -0
- package/dist/Incentive-BxzEtN26.js.map +1 -0
- package/dist/Incentive-CrF3-ayL.cjs +2 -0
- package/dist/Incentive-CrF3-ayL.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 +65 -21
- package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +52 -36
- 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 +315 -26
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +64 -39
- package/dist/Incentives/CGDAIncentive.js.map +1 -0
- package/dist/Incentives/ERC1155Incentive.d.ts +291 -43
- 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 +270 -33
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +69 -46
- package/dist/Incentives/ERC20Incentive.js.map +1 -0
- package/dist/{Budgets/SimpleBudget.d.ts → Incentives/ERC20VariableCriteriaIncentive.d.ts} +338 -421
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -0
- package/dist/Incentives/ERC20VariableIncentive.d.ts +262 -32
- 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 +5 -8
- 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 +81 -23
- 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-BUR17Tt1.cjs +2 -0
- package/dist/SimpleDenyList-BUR17Tt1.cjs.map +1 -0
- package/dist/SimpleDenyList-CGaWjuld.js +132 -0
- package/dist/SimpleDenyList-CGaWjuld.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 +10 -8
- 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-BBCFkrZv.js +14 -0
- package/dist/componentInterfaces-BBCFkrZv.js.map +1 -0
- package/dist/componentInterfaces-DRI_dQ-P.cjs +2 -0
- package/dist/componentInterfaces-DRI_dQ-P.cjs.map +1 -0
- package/dist/deployments-DVXioW2i.cjs +2 -0
- package/dist/deployments-DVXioW2i.cjs.map +1 -0
- package/dist/deployments-oykLv3_Z.js +43 -0
- package/dist/deployments-oykLv3_Z.js.map +1 -0
- package/dist/deployments.json +44 -0
- package/dist/errors.cjs +2 -1
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +421 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +297 -39
- package/dist/errors.js.map +1 -0
- package/dist/{generated-x_abr3Yv.js → generated-CKt2yCQd.js} +3143 -3002
- package/dist/generated-CKt2yCQd.js.map +1 -0
- package/dist/generated-CyTNlOwM.cjs +3 -0
- package/dist/generated-CyTNlOwM.cjs.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 +144 -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 +1218 -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 +287 -0
- package/src/BoostCore.test.ts +894 -0
- package/src/BoostCore.ts +1438 -0
- package/src/BoostRegistry.test.ts +53 -0
- package/src/BoostRegistry.ts +588 -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 +135 -0
- package/src/Incentives/CGDAIncentive.ts +476 -0
- package/src/Incentives/ERC1155Incentive.test.ts +87 -0
- package/src/Incentives/ERC1155Incentive.ts +465 -0
- package/src/Incentives/ERC20Incentive.test.ts +133 -0
- package/src/Incentives/ERC20Incentive.ts +490 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +184 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.ts +309 -0
- package/src/Incentives/ERC20VariableIncentive.test.ts +139 -0
- package/src/Incentives/ERC20VariableIncentive.ts +428 -0
- package/src/Incentives/Incentive.test.ts +95 -0
- package/src/Incentives/Incentive.ts +86 -0
- package/src/Incentives/PointsIncentive.test.ts +138 -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 +866 -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.map +0 -1
- package/dist/generated-BaaleHW-.cjs +0 -2
|
@@ -1,21 +1,51 @@
|
|
|
1
1
|
import { managedBudgetAbi } from '@boostxyz/evm';
|
|
2
2
|
import { type Address, type ContractEventName } from 'viem';
|
|
3
3
|
import type { DeployableOptions, GenericDeployableParams } from '../Deployable/Deployable';
|
|
4
|
-
import {
|
|
5
|
-
import { type ERC1155TransferPayload, type FungibleTransferPayload
|
|
4
|
+
import { DeployableTargetWithRBAC } from '../Deployable/DeployableTargetWithRBAC';
|
|
5
|
+
import { type ERC1155TransferPayload, type FungibleTransferPayload } from '../transfers';
|
|
6
|
+
import { type GenericLog, type ReadParams, RegistryType, type WriteParams } from '../utils';
|
|
6
7
|
export { managedBudgetAbi };
|
|
7
|
-
export type { ERC1155TransferPayload, FungibleTransferPayload
|
|
8
|
+
export type { ERC1155TransferPayload, FungibleTransferPayload };
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* The object representation of a `ManagedBudgetPayload.InitPayload`
|
|
11
|
+
*
|
|
12
|
+
* @export
|
|
13
|
+
* @interface ManagedBudgetPayload
|
|
14
|
+
* @typedef {ManagedBudgetPayload}
|
|
15
|
+
*/
|
|
16
|
+
export interface ManagedBudgetPayload {
|
|
17
|
+
/**
|
|
18
|
+
* The budget's owner
|
|
19
|
+
*
|
|
20
|
+
* @type {Address}
|
|
21
|
+
*/
|
|
22
|
+
owner: Address;
|
|
23
|
+
/**
|
|
24
|
+
* List of accounts authorized to use the budget. This list should include a Boost core address to interact with the protocol.
|
|
25
|
+
*
|
|
26
|
+
* @type {Address[]}
|
|
27
|
+
*/
|
|
28
|
+
authorized: Address[];
|
|
29
|
+
/**
|
|
30
|
+
* List of roles to assign to the corresponding account by index.
|
|
31
|
+
*
|
|
32
|
+
* @type {ManagedBudgetRoles[]}
|
|
33
|
+
*/
|
|
34
|
+
roles: ManagedBudgetRoles[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Enum representing available roles for use in the `ManagedBudget`.
|
|
10
38
|
* `MANAGER` can disburse funds.
|
|
11
39
|
* `ADMIN` can additionally manage authorized users on the budget.
|
|
12
40
|
*
|
|
41
|
+
* @export
|
|
13
42
|
* @type {{ readonly MANAGER: 1n; readonly ADMIN_ROLE: 2n; }}
|
|
43
|
+
* @enum {bigint}
|
|
14
44
|
*/
|
|
15
|
-
export declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
45
|
+
export declare enum ManagedBudgetRoles {
|
|
46
|
+
MANAGER,
|
|
47
|
+
ADMIN
|
|
48
|
+
}
|
|
19
49
|
/**
|
|
20
50
|
* A generic `viem.Log` event with support for `ManagedBudget` event types.
|
|
21
51
|
*
|
|
@@ -47,7 +77,7 @@ export declare function isERC1155TransferPayload(transfer: FungibleTransferPaylo
|
|
|
47
77
|
*
|
|
48
78
|
* @export
|
|
49
79
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
50
|
-
* @returns {
|
|
80
|
+
* @returns {Hex}
|
|
51
81
|
* @throws {@link UnknownTransferPayloadSupplied}
|
|
52
82
|
*/
|
|
53
83
|
export declare function prepareTransfer(transfer: FungibleTransferPayload | ERC1155TransferPayload): `0x${string}`;
|
|
@@ -58,9 +88,9 @@ export declare function prepareTransfer(transfer: FungibleTransferPayload | ERC1
|
|
|
58
88
|
* @export
|
|
59
89
|
* @class ManagedBudget
|
|
60
90
|
* @typedef {ManagedBudget}
|
|
61
|
-
* @extends {
|
|
91
|
+
* @extends {DeployableTargetWithRBAC<ManagedBudgetPayload>}
|
|
62
92
|
*/
|
|
63
|
-
export declare class ManagedBudget extends
|
|
93
|
+
export declare class ManagedBudget extends DeployableTargetWithRBAC<ManagedBudgetPayload, typeof managedBudgetAbi> {
|
|
64
94
|
/**
|
|
65
95
|
* @inheritdoc
|
|
66
96
|
*
|
|
@@ -165,20 +195,9 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
165
195
|
readonly inputs: readonly [];
|
|
166
196
|
readonly name: "Unauthorized";
|
|
167
197
|
}, {
|
|
168
|
-
readonly type: "
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly name: "account";
|
|
172
|
-
readonly internalType: "address";
|
|
173
|
-
readonly type: "address";
|
|
174
|
-
readonly indexed: true;
|
|
175
|
-
}, {
|
|
176
|
-
readonly name: "isAuthorized";
|
|
177
|
-
readonly internalType: "bool";
|
|
178
|
-
readonly type: "bool";
|
|
179
|
-
readonly indexed: false;
|
|
180
|
-
}];
|
|
181
|
-
readonly name: "Authorized";
|
|
198
|
+
readonly type: "error";
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly name: "Unauthorized";
|
|
182
201
|
}, {
|
|
183
202
|
readonly type: "event";
|
|
184
203
|
readonly anonymous: false;
|
|
@@ -344,8 +363,38 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
344
363
|
readonly name: "clawback";
|
|
345
364
|
readonly outputs: readonly [{
|
|
346
365
|
readonly name: "";
|
|
347
|
-
readonly internalType: "
|
|
348
|
-
readonly type: "
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
readonly type: "uint256";
|
|
368
|
+
}];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
}, {
|
|
371
|
+
readonly type: "function";
|
|
372
|
+
readonly inputs: readonly [{
|
|
373
|
+
readonly name: "target";
|
|
374
|
+
readonly internalType: "address";
|
|
375
|
+
readonly type: "address";
|
|
376
|
+
}, {
|
|
377
|
+
readonly name: "data_";
|
|
378
|
+
readonly internalType: "bytes";
|
|
379
|
+
readonly type: "bytes";
|
|
380
|
+
}, {
|
|
381
|
+
readonly name: "boostId";
|
|
382
|
+
readonly internalType: "uint256";
|
|
383
|
+
readonly type: "uint256";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "incentiveId";
|
|
386
|
+
readonly internalType: "uint256";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
389
|
+
readonly name: "clawbackFromTarget";
|
|
390
|
+
readonly outputs: readonly [{
|
|
391
|
+
readonly name: "";
|
|
392
|
+
readonly internalType: "uint256";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "";
|
|
396
|
+
readonly internalType: "address";
|
|
397
|
+
readonly type: "address";
|
|
349
398
|
}];
|
|
350
399
|
readonly stateMutability: "nonpayable";
|
|
351
400
|
}, {
|
|
@@ -757,9 +806,9 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
757
806
|
*
|
|
758
807
|
* @public
|
|
759
808
|
* @static
|
|
760
|
-
* @type {Address}
|
|
809
|
+
* @type {Record<number, Address>}
|
|
761
810
|
*/
|
|
762
|
-
static
|
|
811
|
+
static bases: Record<number, Address>;
|
|
763
812
|
/**
|
|
764
813
|
* @inheritdoc
|
|
765
814
|
*
|
|
@@ -776,7 +825,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
776
825
|
* @public
|
|
777
826
|
* @async
|
|
778
827
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
779
|
-
* @param {?WriteParams
|
|
828
|
+
* @param {?WriteParams} [params]
|
|
780
829
|
* @returns {Promise<boolean>} - True if the allocation was successful
|
|
781
830
|
*/
|
|
782
831
|
allocate(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'allocate'>): Promise<boolean>;
|
|
@@ -788,8 +837,8 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
788
837
|
* @public
|
|
789
838
|
* @async
|
|
790
839
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
791
|
-
* @param {?WriteParams
|
|
792
|
-
* @returns {Promise<boolean>} - True if the allocation was successful
|
|
840
|
+
* @param {?WriteParams} [params]
|
|
841
|
+
* @returns {Promise<{ hash: `0x${string}`; result: boolean; }>} - True if the allocation was successful
|
|
793
842
|
*/
|
|
794
843
|
allocateRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'allocate'>): Promise<{
|
|
795
844
|
hash: `0x${string}`;
|
|
@@ -804,10 +853,10 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
804
853
|
* @public
|
|
805
854
|
* @async
|
|
806
855
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
807
|
-
* @param {?WriteParams
|
|
856
|
+
* @param {?WriteParams} [params]
|
|
808
857
|
* @returns {Promise<boolean>} - True if the request was successful
|
|
809
858
|
*/
|
|
810
|
-
clawback(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<
|
|
859
|
+
clawback(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<bigint>;
|
|
811
860
|
/**
|
|
812
861
|
* Clawbacks assets from the budget.
|
|
813
862
|
* Only the owner can directly clawback assets from the budget
|
|
@@ -817,12 +866,12 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
817
866
|
* @public
|
|
818
867
|
* @async
|
|
819
868
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
820
|
-
* @param {?WriteParams
|
|
821
|
-
* @returns {Promise<boolean>} - True if the request was successful
|
|
869
|
+
* @param {?WriteParams} [params]
|
|
870
|
+
* @returns {Promise<{ hash: `0x${string}`; result: boolean; }>} - True if the request was successful
|
|
822
871
|
*/
|
|
823
872
|
clawbackRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<{
|
|
824
873
|
hash: `0x${string}`;
|
|
825
|
-
result:
|
|
874
|
+
result: bigint;
|
|
826
875
|
}>;
|
|
827
876
|
/**
|
|
828
877
|
* Disburses assets from the budget to a single recipient
|
|
@@ -831,7 +880,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
831
880
|
* @public
|
|
832
881
|
* @async
|
|
833
882
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
834
|
-
* @param {?WriteParams
|
|
883
|
+
* @param {?WriteParams} [params]
|
|
835
884
|
* @returns {Promise<boolean>} - True if the disbursement was successful
|
|
836
885
|
*/
|
|
837
886
|
disburse(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'disburse'>): Promise<boolean>;
|
|
@@ -842,8 +891,8 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
842
891
|
* @public
|
|
843
892
|
* @async
|
|
844
893
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
845
|
-
* @param {?WriteParams
|
|
846
|
-
* @returns {Promise<boolean>} - True if the disbursement was successful
|
|
894
|
+
* @param {?WriteParams} [params]
|
|
895
|
+
* @returns {Promise<{ hash: `0x${string}`; result: boolean; }>} - True if the disbursement was successful
|
|
847
896
|
*/
|
|
848
897
|
disburseRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'disburse'>): Promise<{
|
|
849
898
|
hash: `0x${string}`;
|
|
@@ -855,7 +904,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
855
904
|
* @public
|
|
856
905
|
* @async
|
|
857
906
|
* @param {Array<FungibleTransferPayload | ERC1155TransferPayload>} transfers
|
|
858
|
-
* @param {?WriteParams
|
|
907
|
+
* @param {?WriteParams} [params]
|
|
859
908
|
* @returns {Promise<boolean>} - True if all disbursements were successful
|
|
860
909
|
*/
|
|
861
910
|
disburseBatch(transfers: Array<FungibleTransferPayload | ERC1155TransferPayload>, params?: WriteParams<typeof managedBudgetAbi, 'disburseBatch'>): Promise<boolean>;
|
|
@@ -865,157 +914,18 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
865
914
|
* @public
|
|
866
915
|
* @async
|
|
867
916
|
* @param {Array<FungibleTransferPayload | ERC1155TransferPayload>} transfers
|
|
868
|
-
* @param {?WriteParams
|
|
869
|
-
* @returns {Promise<boolean>} - True if all disbursements were successful
|
|
917
|
+
* @param {?WriteParams} [params]
|
|
918
|
+
* @returns {Promise<{ hash: `0x${string}`; result: boolean; }>} - True if all disbursements were successful
|
|
870
919
|
*/
|
|
871
920
|
disburseBatchRaw(transfers: Array<FungibleTransferPayload | ERC1155TransferPayload>, params?: WriteParams<typeof managedBudgetAbi, 'disburseBatch'>): Promise<{
|
|
872
921
|
hash: `0x${string}`;
|
|
873
922
|
result: boolean;
|
|
874
923
|
}>;
|
|
875
|
-
/**
|
|
876
|
-
* Set the authorized status of the given accounts
|
|
877
|
-
* The mechanism for managing authorization is left to the implementing contract
|
|
878
|
-
*
|
|
879
|
-
* @public
|
|
880
|
-
* @async
|
|
881
|
-
* @param {Address[]} addresses - The accounts to authorize or deauthorize
|
|
882
|
-
* @param {boolean[]} allowed - The authorization status for the given accounts
|
|
883
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'setAuthorized'>} [params]
|
|
884
|
-
* @returns {Promise<void>}
|
|
885
|
-
*/
|
|
886
|
-
setAuthorized(addresses: Address[], allowed: boolean[], params?: WriteParams<typeof managedBudgetAbi, 'setAuthorized'>): Promise<void>;
|
|
887
|
-
/**
|
|
888
|
-
* Set the authorized status of the given accounts
|
|
889
|
-
* The mechanism for managing authorization is left to the implementing contract
|
|
890
|
-
*
|
|
891
|
-
* @public
|
|
892
|
-
* @async
|
|
893
|
-
* @param {Address[]} addresses - The accounts to authorize or deauthorize
|
|
894
|
-
* @param {boolean[]} allowed - The authorization status for the given accounts
|
|
895
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'setAuthorized'>} [params]
|
|
896
|
-
* @returns {Promise<void>}
|
|
897
|
-
*/
|
|
898
|
-
setAuthorizedRaw(addresses: Address[], allowed: boolean[], params?: WriteParams<typeof managedBudgetAbi, 'setAuthorized'>): Promise<{
|
|
899
|
-
hash: `0x${string}`;
|
|
900
|
-
result: void;
|
|
901
|
-
}>;
|
|
902
|
-
/**
|
|
903
|
-
* Grant many accounts permissions on the budget.
|
|
904
|
-
*
|
|
905
|
-
* @example
|
|
906
|
-
* ```ts
|
|
907
|
-
* await budget.grantRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
908
|
-
* ```
|
|
909
|
-
* @public
|
|
910
|
-
* @async
|
|
911
|
-
* @param {Address[]} addresses
|
|
912
|
-
* @param {bigint[]} roles
|
|
913
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'grantRoles'>} [params]
|
|
914
|
-
* @returns {unknown}
|
|
915
|
-
*/
|
|
916
|
-
grantRoles(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'grantRoles'>): Promise<never>;
|
|
917
|
-
/**
|
|
918
|
-
* Grant many accounts permissions on the budget.
|
|
919
|
-
*
|
|
920
|
-
* @example
|
|
921
|
-
* ```ts
|
|
922
|
-
* await budget.grantRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
923
|
-
*
|
|
924
|
-
* @public
|
|
925
|
-
* @async
|
|
926
|
-
* @param {Address[]} addresses
|
|
927
|
-
* @param {bigint[]} roles
|
|
928
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'grantRoles'>} [params]
|
|
929
|
-
* @returns {unknown}
|
|
930
|
-
*/
|
|
931
|
-
grantRolesRaw(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'grantRoles'>): Promise<{
|
|
932
|
-
hash: `0x${string}`;
|
|
933
|
-
result: never;
|
|
934
|
-
}>;
|
|
935
|
-
/**
|
|
936
|
-
* Revoke many accounts' permissions on the budget.
|
|
937
|
-
*
|
|
938
|
-
* @example
|
|
939
|
-
* ```ts
|
|
940
|
-
* await budget.revokeRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
941
|
-
*
|
|
942
|
-
* @public
|
|
943
|
-
* @async
|
|
944
|
-
* @param {Address[]} addresses
|
|
945
|
-
* @param {bigint[]} roles
|
|
946
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'revokeRoles'>} [params]
|
|
947
|
-
* @returns {unknown}
|
|
948
|
-
*/
|
|
949
|
-
revokeRoles(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'revokeRoles'>): Promise<never>;
|
|
950
|
-
/**
|
|
951
|
-
* Revoke many accounts' permissions on the budget.
|
|
952
|
-
*
|
|
953
|
-
* @example
|
|
954
|
-
* ```ts
|
|
955
|
-
* await budget.revokeRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
956
|
-
* @public
|
|
957
|
-
* @async
|
|
958
|
-
* @param {Address[]} addresses
|
|
959
|
-
* @param {bigint[]} roles
|
|
960
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'revokeRoles'>} [params]
|
|
961
|
-
* @returns {unknown}
|
|
962
|
-
*/
|
|
963
|
-
revokeRolesRaw(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'revokeRoles'>): Promise<{
|
|
964
|
-
hash: `0x${string}`;
|
|
965
|
-
result: never;
|
|
966
|
-
}>;
|
|
967
|
-
/**
|
|
968
|
-
* Return an array of the roles assigned to the given account.
|
|
969
|
-
* @example
|
|
970
|
-
* ```ts
|
|
971
|
-
* (await budget.rolesOf(0xfoo)).includes(ManagedBudgetRoles.ADMIN)
|
|
972
|
-
* @public
|
|
973
|
-
* @param {Address} account
|
|
974
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'rolesOf'>} [params]
|
|
975
|
-
* @returns {Promise<Array<bigint>>}
|
|
976
|
-
*/
|
|
977
|
-
rolesOf(account: Address, params?: ReadParams<typeof managedBudgetAbi, 'rolesOf'>): Promise<(2n | 1n)[]>;
|
|
978
|
-
/**
|
|
979
|
-
* Returns whether given account has any of the provided roles bitmap.
|
|
980
|
-
*
|
|
981
|
-
* @example
|
|
982
|
-
* ```ts
|
|
983
|
-
* await budget.hasAnyRole(0xfoo, ManagedBudgetRoles.ADMIN | ManagedBudgetRoles.MANAGER)
|
|
984
|
-
* @public
|
|
985
|
-
* @param {Address} account
|
|
986
|
-
* @param {bigint} roles
|
|
987
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'hasAnyRole'>} [params]
|
|
988
|
-
* @returns {Promise<boolean>}
|
|
989
|
-
*/
|
|
990
|
-
hasAnyRole(account: Address, roles: bigint, params?: ReadParams<typeof managedBudgetAbi, 'hasAnyRole'>): Promise<boolean>;
|
|
991
|
-
/**
|
|
992
|
-
* Returns whether given account has all of the provided roles bitmap.
|
|
993
|
-
*
|
|
994
|
-
* @example
|
|
995
|
-
* ```ts
|
|
996
|
-
* await budget.hasAllRoles(0xfoo, ManagedBudgetRoles.ADMIN & ManagedBudgetRoles.MANAGER)
|
|
997
|
-
*
|
|
998
|
-
* @public
|
|
999
|
-
* @param {Address} account
|
|
1000
|
-
* @param {bigint} roles
|
|
1001
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'hasAllRoles'>} [params]
|
|
1002
|
-
* @returns {*}
|
|
1003
|
-
*/
|
|
1004
|
-
hasAllRoles(account: Address, roles: bigint, params?: ReadParams<typeof managedBudgetAbi, 'hasAllRoles'>): Promise<boolean>;
|
|
1005
|
-
/**
|
|
1006
|
-
* Check if the given account is authorized to use the budget
|
|
1007
|
-
*
|
|
1008
|
-
* @public
|
|
1009
|
-
* @param {Address} account
|
|
1010
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'isAuthorized'>} [params]
|
|
1011
|
-
* @returns {Promise<boolean>} - True if the account is authorized
|
|
1012
|
-
*/
|
|
1013
|
-
isAuthorized(account: Address, params?: ReadParams<typeof managedBudgetAbi, 'isAuthorized'>): Promise<boolean>;
|
|
1014
924
|
/**
|
|
1015
925
|
* Get the owner of the budget
|
|
1016
926
|
*
|
|
1017
927
|
* @public
|
|
1018
|
-
* @param {?ReadParams
|
|
928
|
+
* @param {?ReadParams} [params]
|
|
1019
929
|
* @returns {Promise<Address>}
|
|
1020
930
|
*/
|
|
1021
931
|
owner(params?: ReadParams<typeof managedBudgetAbi, 'owner'>): Promise<`0x${string}`>;
|
|
@@ -1024,34 +934,34 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
1024
934
|
* If a tokenId is provided, get the total amount of ERC1155 assets allocated to the budget, including any that have been distributed
|
|
1025
935
|
*
|
|
1026
936
|
* @public
|
|
1027
|
-
* @param {Address} asset - The address of the asset
|
|
937
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"] - The address of the asset
|
|
1028
938
|
* @param {?(bigint | undefined)} [tokenId] - The ID of the token
|
|
1029
|
-
* @param {?ReadParams
|
|
939
|
+
* @param {?ReadParams} [params]
|
|
1030
940
|
* @returns {Promise<bigint>} - The total amount of assets
|
|
1031
941
|
*/
|
|
1032
|
-
total(asset
|
|
942
|
+
total(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'total'>): Promise<never>;
|
|
1033
943
|
/**
|
|
1034
944
|
* Get the amount of assets available for distribution from the budget.
|
|
1035
945
|
* If a tokenId is provided, get the amount of ERC1155 assets available for distribution from the budget
|
|
1036
946
|
*
|
|
1037
947
|
* @public
|
|
1038
|
-
* @param {Address} asset
|
|
948
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"]
|
|
1039
949
|
* @param {?(bigint | undefined)} [tokenId]
|
|
1040
|
-
* @param {?ReadParams
|
|
950
|
+
* @param {?ReadParams} [params]
|
|
1041
951
|
* @returns {Promise<bigint>} - The amount of assets available
|
|
1042
952
|
*/
|
|
1043
|
-
available(asset
|
|
953
|
+
available(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'available'>): Promise<never>;
|
|
1044
954
|
/**
|
|
1045
955
|
* Get the amount of assets that have been distributed from the budget.
|
|
1046
956
|
* If a tokenId is provided, get the amount of ERC1155 assets that have been distributed from the budget
|
|
1047
957
|
*
|
|
1048
958
|
* @public
|
|
1049
|
-
* @param {Address} asset
|
|
959
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"]
|
|
1050
960
|
* @param {?(bigint | undefined)} [tokenId]
|
|
1051
|
-
* @param {?ReadParams
|
|
961
|
+
* @param {?ReadParams} [params]
|
|
1052
962
|
* @returns {Promise<bigint>} - The amount of assets distributed
|
|
1053
963
|
*/
|
|
1054
|
-
distributed(asset
|
|
964
|
+
distributed(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'distributed'>): Promise<never>;
|
|
1055
965
|
/**
|
|
1056
966
|
* @inheritdoc
|
|
1057
967
|
*
|
|
@@ -1062,4 +972,14 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
1062
972
|
*/
|
|
1063
973
|
buildParameters(_payload?: ManagedBudgetPayload, _options?: DeployableOptions): GenericDeployableParams;
|
|
1064
974
|
}
|
|
975
|
+
/**
|
|
976
|
+
* Given a {@link ManagedBudgetPayload}, properly encode a `ManagedBudget.InitPayload` for use with {@link ManagedBudget} initialization.
|
|
977
|
+
*
|
|
978
|
+
* @param {ManagedBudgetPayload} param0
|
|
979
|
+
* @param {Address} param0.owner - The budget's owner
|
|
980
|
+
* @param {{}} param0.authorized - List of accounts authorized to use the budget. This list should include a Boost core address to interact with the protocol.
|
|
981
|
+
* @param {{}} param0.roles - List of roles to assign to the corresponding account by index.
|
|
982
|
+
* @returns {Hex}
|
|
983
|
+
*/
|
|
984
|
+
export declare const prepareManagedBudgetPayload: ({ owner, authorized, roles, }: ManagedBudgetPayload) => `0x${string}`;
|
|
1065
985
|
//# sourceMappingURL=ManagedBudget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManagedBudget.d.ts","sourceRoot":"","sources":["../../src/Budgets/ManagedBudget.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAuBjB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ManagedBudget.d.ts","sourceRoot":"","sources":["../../src/Budgets/ManagedBudget.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAuBjB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKvB,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAKlF,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAG7B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,YAAY,EACZ,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,OAAO,EAAE,CAAC;IACtB;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED;;;;;;;;GAQG;AACH,oBAAY,kBAAkB;IAE5B,OAAY;IAEZ,KAAU;CACX;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,CAC1B,KAAK,SAAS,iBAAiB,CAAC,OAAO,gBAAgB,CAAC,GAAG,iBAAiB,CAC1E,OAAO,gBAAgB,CACxB,IACC,UAAU,CAAC,OAAO,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAE/C;;;;;;GAMG;A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