@boostxyz/sdk 0.0.0-alpha.9 → 1.1.0-alpha.22
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 +1 -1
- package/dist/Actions/Action.cjs.map +1 -1
- package/dist/Actions/Action.js +7 -7
- package/dist/Actions/ContractAction.d.ts +11 -11
- package/dist/Actions/ContractAction.d.ts.map +1 -1
- package/dist/Actions/ERC721MintAction.d.ts +14 -14
- package/dist/Actions/ERC721MintAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +171 -41
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +15 -392
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.cjs.map +1 -1
- package/dist/AllowLists/AllowList.d.ts +6 -4
- package/dist/AllowLists/AllowList.d.ts.map +1 -1
- package/dist/AllowLists/AllowList.js +45 -23
- package/dist/AllowLists/AllowList.js.map +1 -1
- package/dist/AllowLists/OpenAllowList.d.ts +423 -0
- package/dist/AllowLists/OpenAllowList.d.ts.map +1 -0
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.d.ts +92 -37
- package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +55 -71
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs.map +1 -1
- package/dist/AllowLists/SimpleDenyList.d.ts +203 -11
- package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -1
- package/dist/AllowLists/SimpleDenyList.js +11 -112
- package/dist/AllowLists/SimpleDenyList.js.map +1 -1
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/Boost.cjs +1 -1
- package/dist/Boost.cjs.map +1 -1
- package/dist/Boost.d.ts +20 -21
- package/dist/Boost.d.ts.map +1 -1
- package/dist/Boost.js +43 -57
- package/dist/Boost.js.map +1 -1
- package/dist/BoostCore-BVZExPPu.js +1462 -0
- package/dist/BoostCore-BVZExPPu.js.map +1 -0
- package/dist/BoostCore-D-E-cnGI.cjs +3 -0
- package/dist/BoostCore-D-E-cnGI.cjs.map +1 -0
- package/dist/BoostCore.cjs +1 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +748 -77
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +29 -1150
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.cjs.map +1 -1
- package/dist/BoostRegistry.d.ts +80 -25
- package/dist/BoostRegistry.d.ts.map +1 -1
- package/dist/BoostRegistry.js +165 -83
- package/dist/BoostRegistry.js.map +1 -1
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.cjs.map +1 -1
- package/dist/Budgets/Budget.d.ts.map +1 -1
- package/dist/Budgets/Budget.js +2 -2
- package/dist/Budgets/Budget.js.map +1 -1
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.d.ts +75 -193
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +80 -298
- package/dist/Budgets/ManagedBudget.js.map +1 -1
- package/dist/Budgets/VestingBudget.d.ts +223 -89
- package/dist/Budgets/VestingBudget.d.ts.map +1 -1
- package/dist/Deployable/Contract.cjs +1 -1
- package/dist/Deployable/Contract.cjs.map +1 -1
- package/dist/Deployable/Contract.d.ts +4 -5
- package/dist/Deployable/Contract.d.ts.map +1 -1
- package/dist/Deployable/Contract.js +5 -7
- package/dist/Deployable/Contract.js.map +1 -1
- package/dist/Deployable/Deployable.cjs.map +1 -1
- package/dist/Deployable/Deployable.d.ts +1 -1
- package/dist/Deployable/Deployable.d.ts.map +1 -1
- package/dist/Deployable/Deployable.js +3 -5
- package/dist/Deployable/Deployable.js.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.cjs.map +1 -1
- package/dist/Deployable/DeployableTarget.d.ts +13 -13
- package/dist/Deployable/DeployableTarget.d.ts.map +1 -1
- package/dist/Deployable/DeployableTarget.js +28 -25
- package/dist/Deployable/DeployableTarget.js.map +1 -1
- 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-BZt5cjbe.cjs +2 -0
- package/dist/EventAction-BZt5cjbe.cjs.map +1 -0
- package/dist/EventAction-C_-hJXWm.js +1541 -0
- package/dist/EventAction-C_-hJXWm.js.map +1 -0
- package/dist/Incentive-BhHaK3PZ.cjs +2 -0
- package/dist/Incentive-BhHaK3PZ.cjs.map +1 -0
- package/dist/Incentive-Cqg1w6wD.js +312 -0
- package/dist/Incentive-Cqg1w6wD.js.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.d.ts +38 -16
- package/dist/Incentives/AllowListIncentive.d.ts.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +42 -29
- package/dist/Incentives/AllowListIncentive.js.map +1 -1
- package/dist/Incentives/CGDAIncentive.cjs +1 -1
- package/dist/Incentives/CGDAIncentive.cjs.map +1 -1
- package/dist/Incentives/CGDAIncentive.d.ts +234 -21
- package/dist/Incentives/CGDAIncentive.d.ts.map +1 -1
- package/dist/Incentives/CGDAIncentive.js +45 -32
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC1155Incentive.d.ts +224 -37
- package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.d.ts +230 -29
- package/dist/Incentives/ERC20Incentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +56 -43
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/{Budgets/SimpleBudget.d.ts → Incentives/ERC20VariableCriteriaIncentive.d.ts} +335 -440
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +1 -0
- package/dist/Incentives/ERC20VariableIncentive.d.ts +231 -29
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.cjs.map +1 -1
- package/dist/Incentives/Incentive.d.ts +4 -4
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +16 -296
- package/dist/Incentives/Incentive.js.map +1 -1
- package/dist/Incentives/PointsIncentive.cjs +1 -1
- package/dist/Incentives/PointsIncentive.cjs.map +1 -1
- package/dist/Incentives/PointsIncentive.d.ts +40 -18
- package/dist/Incentives/PointsIncentive.d.ts.map +1 -1
- package/dist/Incentives/PointsIncentive.js +37 -24
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- 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 +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.d.ts +16 -16
- package/dist/Validators/SignerValidator.d.ts.map +1 -1
- package/dist/Validators/SignerValidator.js +30 -27
- package/dist/Validators/SignerValidator.js.map +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.cjs.map +1 -1
- package/dist/Validators/Validator.d.ts +1 -1
- package/dist/Validators/Validator.js +2 -2
- package/dist/Validators/Validator.js.map +1 -1
- package/dist/claiming.cjs.map +1 -1
- package/dist/claiming.d.ts +1 -1
- package/dist/claiming.js.map +1 -1
- 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 +1 -1
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.ts +256 -20
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +183 -26
- package/dist/errors.js.map +1 -1
- package/dist/{generated-57_Kffpz.js → generated-CKt2yCQd.js} +3613 -1869
- 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 +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +142 -108
- package/dist/index.js.map +1 -1
- package/dist/transfers.cjs.map +1 -1
- package/dist/transfers.d.ts +1 -1
- package/dist/transfers.js.map +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.ts +26 -12
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +38 -23
- package/dist/utils.js.map +1 -1
- package/package.json +20 -10
- package/src/Actions/Action.test.ts +14 -13
- package/src/Actions/ContractAction.test.ts +10 -10
- package/src/Actions/ContractAction.ts +11 -12
- package/src/Actions/ERC721MintAction.test.ts +6 -6
- package/src/Actions/ERC721MintAction.ts +14 -15
- package/src/Actions/EventAction.test.ts +729 -109
- package/src/Actions/EventAction.ts +542 -84
- package/src/AllowLists/AllowList.test.ts +7 -7
- package/src/AllowLists/AllowList.ts +5 -3
- package/src/AllowLists/OpenAllowList.test.ts +40 -0
- package/src/AllowLists/OpenAllowList.ts +45 -0
- package/src/AllowLists/SimpleAllowList.test.ts +4 -4
- package/src/AllowLists/SimpleAllowList.ts +39 -61
- package/src/AllowLists/SimpleDenyList.test.ts +4 -4
- package/src/AllowLists/SimpleDenyList.ts +40 -17
- package/src/Auth/PassthroughAuth.test.ts +1 -1
- package/src/Boost.ts +21 -24
- package/src/BoostCore.test.ts +323 -268
- package/src/BoostCore.ts +396 -219
- package/src/BoostRegistry.test.ts +53 -0
- package/src/BoostRegistry.ts +161 -40
- package/src/Budgets/Budget.test.ts +2 -2
- package/src/Budgets/Budget.ts +1 -2
- package/src/Budgets/ManagedBudget.test.ts +82 -19
- package/src/Budgets/ManagedBudget.ts +48 -310
- package/src/Budgets/VestingBudget.test.ts +7 -7
- package/src/Budgets/VestingBudget.ts +34 -106
- package/src/Deployable/Contract.ts +4 -5
- package/src/Deployable/Deployable.ts +1 -1
- package/src/Deployable/DeployableTarget.ts +30 -19
- package/src/Deployable/DeployableTargetWithRBAC.ts +323 -0
- package/src/Incentives/AllowListIncentive.test.ts +5 -5
- package/src/Incentives/AllowListIncentive.ts +29 -15
- package/src/Incentives/CGDAIncentive.test.ts +9 -6
- package/src/Incentives/CGDAIncentive.ts +38 -18
- package/src/Incentives/ERC1155Incentive.test.ts +3 -3
- package/src/Incentives/ERC1155Incentive.ts +28 -29
- package/src/Incentives/ERC20Incentive.test.ts +9 -6
- package/src/Incentives/ERC20Incentive.ts +46 -26
- package/src/Incentives/ERC20VariableCriteriaIncentive.test.ts +184 -0
- package/src/Incentives/ERC20VariableCriteriaIncentive.ts +324 -0
- package/src/Incentives/ERC20VariableIncentive.test.ts +8 -11
- package/src/Incentives/ERC20VariableIncentive.ts +49 -26
- package/src/Incentives/Incentive.test.ts +4 -1
- package/src/Incentives/Incentive.ts +7 -6
- package/src/Incentives/PointsIncentive.test.ts +24 -25
- package/src/Incentives/PointsIncentive.ts +31 -17
- package/src/Validators/SignerValidator.test.ts +6 -6
- package/src/Validators/SignerValidator.ts +19 -17
- package/src/Validators/Validator.test.ts +2 -2
- package/src/Validators/Validator.ts +1 -1
- package/src/claiming.ts +1 -1
- package/src/errors.ts +345 -21
- package/src/index.test.ts +118 -36
- package/src/index.ts +5 -0
- package/src/transfers.ts +1 -1
- package/src/utils.test.ts +2 -2
- package/src/utils.ts +61 -12
- package/dist/Budgets/SimpleBudget.d.ts.map +0 -1
- package/dist/componentInterfaces-CKCBwG16.cjs +0 -2
- package/dist/componentInterfaces-CKCBwG16.cjs.map +0 -1
- package/dist/componentInterfaces-DYkaxBda.js +0 -13
- package/dist/componentInterfaces-DYkaxBda.js.map +0 -1
- package/dist/generated-57_Kffpz.js.map +0 -1
- package/dist/generated-wKBNvm48.cjs +0 -3
- package/dist/generated-wKBNvm48.cjs.map +0 -1
- package/src/Budgets/SimpleBudget.test.ts +0 -152
- package/src/Budgets/SimpleBudget.ts +0 -564
|
@@ -1,7 +1,7 @@
|
|
|
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 {
|
|
4
|
+
import { DeployableTargetWithRBAC } from '../Deployable/DeployableTargetWithRBAC';
|
|
5
5
|
import { type ERC1155TransferPayload, type FungibleTransferPayload } from '../transfers';
|
|
6
6
|
import { type GenericLog, type ReadParams, RegistryType, type WriteParams } from '../utils';
|
|
7
7
|
export { managedBudgetAbi };
|
|
@@ -29,21 +29,23 @@ export interface ManagedBudgetPayload {
|
|
|
29
29
|
/**
|
|
30
30
|
* List of roles to assign to the corresponding account by index.
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {ManagedBudgetRoles[]}
|
|
33
33
|
*/
|
|
34
|
-
roles:
|
|
34
|
+
roles: ManagedBudgetRoles[];
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Enum representing available roles for use in the `ManagedBudget`.
|
|
38
38
|
* `MANAGER` can disburse funds.
|
|
39
39
|
* `ADMIN` can additionally manage authorized users on the budget.
|
|
40
40
|
*
|
|
41
|
+
* @export
|
|
41
42
|
* @type {{ readonly MANAGER: 1n; readonly ADMIN_ROLE: 2n; }}
|
|
43
|
+
* @enum {bigint}
|
|
42
44
|
*/
|
|
43
|
-
export declare
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
45
|
+
export declare enum ManagedBudgetRoles {
|
|
46
|
+
MANAGER,
|
|
47
|
+
ADMIN
|
|
48
|
+
}
|
|
47
49
|
/**
|
|
48
50
|
* A generic `viem.Log` event with support for `ManagedBudget` event types.
|
|
49
51
|
*
|
|
@@ -75,7 +77,7 @@ export declare function isERC1155TransferPayload(transfer: FungibleTransferPaylo
|
|
|
75
77
|
*
|
|
76
78
|
* @export
|
|
77
79
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
78
|
-
* @returns {
|
|
80
|
+
* @returns {Hex}
|
|
79
81
|
* @throws {@link UnknownTransferPayloadSupplied}
|
|
80
82
|
*/
|
|
81
83
|
export declare function prepareTransfer(transfer: FungibleTransferPayload | ERC1155TransferPayload): `0x${string}`;
|
|
@@ -86,9 +88,9 @@ export declare function prepareTransfer(transfer: FungibleTransferPayload | ERC1
|
|
|
86
88
|
* @export
|
|
87
89
|
* @class ManagedBudget
|
|
88
90
|
* @typedef {ManagedBudget}
|
|
89
|
-
* @extends {
|
|
91
|
+
* @extends {DeployableTargetWithRBAC<ManagedBudgetPayload>}
|
|
90
92
|
*/
|
|
91
|
-
export declare class ManagedBudget extends
|
|
93
|
+
export declare class ManagedBudget extends DeployableTargetWithRBAC<ManagedBudgetPayload, typeof managedBudgetAbi> {
|
|
92
94
|
/**
|
|
93
95
|
* @inheritdoc
|
|
94
96
|
*
|
|
@@ -193,20 +195,9 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
193
195
|
readonly inputs: readonly [];
|
|
194
196
|
readonly name: "Unauthorized";
|
|
195
197
|
}, {
|
|
196
|
-
readonly type: "
|
|
197
|
-
readonly
|
|
198
|
-
readonly
|
|
199
|
-
readonly name: "account";
|
|
200
|
-
readonly internalType: "address";
|
|
201
|
-
readonly type: "address";
|
|
202
|
-
readonly indexed: true;
|
|
203
|
-
}, {
|
|
204
|
-
readonly name: "isAuthorized";
|
|
205
|
-
readonly internalType: "bool";
|
|
206
|
-
readonly type: "bool";
|
|
207
|
-
readonly indexed: false;
|
|
208
|
-
}];
|
|
209
|
-
readonly name: "Authorized";
|
|
198
|
+
readonly type: "error";
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly name: "Unauthorized";
|
|
210
201
|
}, {
|
|
211
202
|
readonly type: "event";
|
|
212
203
|
readonly anonymous: false;
|
|
@@ -372,8 +363,38 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
372
363
|
readonly name: "clawback";
|
|
373
364
|
readonly outputs: readonly [{
|
|
374
365
|
readonly name: "";
|
|
375
|
-
readonly internalType: "
|
|
376
|
-
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";
|
|
377
398
|
}];
|
|
378
399
|
readonly stateMutability: "nonpayable";
|
|
379
400
|
}, {
|
|
@@ -785,9 +806,9 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
785
806
|
*
|
|
786
807
|
* @public
|
|
787
808
|
* @static
|
|
788
|
-
* @type {Address}
|
|
809
|
+
* @type {Record<number, Address>}
|
|
789
810
|
*/
|
|
790
|
-
static
|
|
811
|
+
static bases: Record<number, Address>;
|
|
791
812
|
/**
|
|
792
813
|
* @inheritdoc
|
|
793
814
|
*
|
|
@@ -804,7 +825,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
804
825
|
* @public
|
|
805
826
|
* @async
|
|
806
827
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
807
|
-
* @param {?WriteParams
|
|
828
|
+
* @param {?WriteParams} [params]
|
|
808
829
|
* @returns {Promise<boolean>} - True if the allocation was successful
|
|
809
830
|
*/
|
|
810
831
|
allocate(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'allocate'>): Promise<boolean>;
|
|
@@ -816,8 +837,8 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
816
837
|
* @public
|
|
817
838
|
* @async
|
|
818
839
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
819
|
-
* @param {?WriteParams
|
|
820
|
-
* @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
|
|
821
842
|
*/
|
|
822
843
|
allocateRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'allocate'>): Promise<{
|
|
823
844
|
hash: `0x${string}`;
|
|
@@ -832,10 +853,10 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
832
853
|
* @public
|
|
833
854
|
* @async
|
|
834
855
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
835
|
-
* @param {?WriteParams
|
|
856
|
+
* @param {?WriteParams} [params]
|
|
836
857
|
* @returns {Promise<boolean>} - True if the request was successful
|
|
837
858
|
*/
|
|
838
|
-
clawback(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<
|
|
859
|
+
clawback(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<bigint>;
|
|
839
860
|
/**
|
|
840
861
|
* Clawbacks assets from the budget.
|
|
841
862
|
* Only the owner can directly clawback assets from the budget
|
|
@@ -845,12 +866,12 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
845
866
|
* @public
|
|
846
867
|
* @async
|
|
847
868
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
848
|
-
* @param {?WriteParams
|
|
849
|
-
* @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
|
|
850
871
|
*/
|
|
851
872
|
clawbackRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'clawback'>): Promise<{
|
|
852
873
|
hash: `0x${string}`;
|
|
853
|
-
result:
|
|
874
|
+
result: bigint;
|
|
854
875
|
}>;
|
|
855
876
|
/**
|
|
856
877
|
* Disburses assets from the budget to a single recipient
|
|
@@ -859,7 +880,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
859
880
|
* @public
|
|
860
881
|
* @async
|
|
861
882
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
862
|
-
* @param {?WriteParams
|
|
883
|
+
* @param {?WriteParams} [params]
|
|
863
884
|
* @returns {Promise<boolean>} - True if the disbursement was successful
|
|
864
885
|
*/
|
|
865
886
|
disburse(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'disburse'>): Promise<boolean>;
|
|
@@ -870,8 +891,8 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
870
891
|
* @public
|
|
871
892
|
* @async
|
|
872
893
|
* @param {(FungibleTransferPayload | ERC1155TransferPayload)} transfer
|
|
873
|
-
* @param {?WriteParams
|
|
874
|
-
* @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
|
|
875
896
|
*/
|
|
876
897
|
disburseRaw(transfer: FungibleTransferPayload | ERC1155TransferPayload, params?: WriteParams<typeof managedBudgetAbi, 'disburse'>): Promise<{
|
|
877
898
|
hash: `0x${string}`;
|
|
@@ -883,7 +904,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
883
904
|
* @public
|
|
884
905
|
* @async
|
|
885
906
|
* @param {Array<FungibleTransferPayload | ERC1155TransferPayload>} transfers
|
|
886
|
-
* @param {?WriteParams
|
|
907
|
+
* @param {?WriteParams} [params]
|
|
887
908
|
* @returns {Promise<boolean>} - True if all disbursements were successful
|
|
888
909
|
*/
|
|
889
910
|
disburseBatch(transfers: Array<FungibleTransferPayload | ERC1155TransferPayload>, params?: WriteParams<typeof managedBudgetAbi, 'disburseBatch'>): Promise<boolean>;
|
|
@@ -893,157 +914,18 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
893
914
|
* @public
|
|
894
915
|
* @async
|
|
895
916
|
* @param {Array<FungibleTransferPayload | ERC1155TransferPayload>} transfers
|
|
896
|
-
* @param {?WriteParams
|
|
897
|
-
* @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
|
|
898
919
|
*/
|
|
899
920
|
disburseBatchRaw(transfers: Array<FungibleTransferPayload | ERC1155TransferPayload>, params?: WriteParams<typeof managedBudgetAbi, 'disburseBatch'>): Promise<{
|
|
900
921
|
hash: `0x${string}`;
|
|
901
922
|
result: boolean;
|
|
902
923
|
}>;
|
|
903
|
-
/**
|
|
904
|
-
* Set the authorized status of the given accounts
|
|
905
|
-
* The mechanism for managing authorization is left to the implementing contract
|
|
906
|
-
*
|
|
907
|
-
* @public
|
|
908
|
-
* @async
|
|
909
|
-
* @param {Address[]} addresses - The accounts to authorize or deauthorize
|
|
910
|
-
* @param {boolean[]} allowed - The authorization status for the given accounts
|
|
911
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'setAuthorized'>} [params]
|
|
912
|
-
* @returns {Promise<void>}
|
|
913
|
-
*/
|
|
914
|
-
setAuthorized(addresses: Address[], allowed: boolean[], params?: WriteParams<typeof managedBudgetAbi, 'setAuthorized'>): Promise<void>;
|
|
915
|
-
/**
|
|
916
|
-
* Set the authorized status of the given accounts
|
|
917
|
-
* The mechanism for managing authorization is left to the implementing contract
|
|
918
|
-
*
|
|
919
|
-
* @public
|
|
920
|
-
* @async
|
|
921
|
-
* @param {Address[]} addresses - The accounts to authorize or deauthorize
|
|
922
|
-
* @param {boolean[]} allowed - The authorization status for the given accounts
|
|
923
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'setAuthorized'>} [params]
|
|
924
|
-
* @returns {Promise<void>}
|
|
925
|
-
*/
|
|
926
|
-
setAuthorizedRaw(addresses: Address[], allowed: boolean[], params?: WriteParams<typeof managedBudgetAbi, 'setAuthorized'>): Promise<{
|
|
927
|
-
hash: `0x${string}`;
|
|
928
|
-
result: void;
|
|
929
|
-
}>;
|
|
930
|
-
/**
|
|
931
|
-
* Grant many accounts permissions on the budget.
|
|
932
|
-
*
|
|
933
|
-
* @example
|
|
934
|
-
* ```ts
|
|
935
|
-
* await budget.grantRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
936
|
-
* ```
|
|
937
|
-
* @public
|
|
938
|
-
* @async
|
|
939
|
-
* @param {Address[]} addresses
|
|
940
|
-
* @param {bigint[]} roles
|
|
941
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'grantRoles'>} [params]
|
|
942
|
-
* @returns {unknown}
|
|
943
|
-
*/
|
|
944
|
-
grantRoles(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'grantRoles'>): Promise<never>;
|
|
945
|
-
/**
|
|
946
|
-
* Grant many accounts permissions on the budget.
|
|
947
|
-
*
|
|
948
|
-
* @example
|
|
949
|
-
* ```ts
|
|
950
|
-
* await budget.grantRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
951
|
-
*
|
|
952
|
-
* @public
|
|
953
|
-
* @async
|
|
954
|
-
* @param {Address[]} addresses
|
|
955
|
-
* @param {bigint[]} roles
|
|
956
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'grantRoles'>} [params]
|
|
957
|
-
* @returns {unknown}
|
|
958
|
-
*/
|
|
959
|
-
grantRolesRaw(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'grantRoles'>): Promise<{
|
|
960
|
-
hash: `0x${string}`;
|
|
961
|
-
result: never;
|
|
962
|
-
}>;
|
|
963
|
-
/**
|
|
964
|
-
* Revoke many accounts' permissions on the budget.
|
|
965
|
-
*
|
|
966
|
-
* @example
|
|
967
|
-
* ```ts
|
|
968
|
-
* await budget.revokeRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
969
|
-
*
|
|
970
|
-
* @public
|
|
971
|
-
* @async
|
|
972
|
-
* @param {Address[]} addresses
|
|
973
|
-
* @param {bigint[]} roles
|
|
974
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'revokeRoles'>} [params]
|
|
975
|
-
* @returns {unknown}
|
|
976
|
-
*/
|
|
977
|
-
revokeRoles(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'revokeRoles'>): Promise<never>;
|
|
978
|
-
/**
|
|
979
|
-
* Revoke many accounts' permissions on the budget.
|
|
980
|
-
*
|
|
981
|
-
* @example
|
|
982
|
-
* ```ts
|
|
983
|
-
* await budget.revokeRoles(['0xfoo', '0xbar], [ManagedBudgetRoles.MANAGER, ManagedBudgetRoles.ADMIN])
|
|
984
|
-
* @public
|
|
985
|
-
* @async
|
|
986
|
-
* @param {Address[]} addresses
|
|
987
|
-
* @param {bigint[]} roles
|
|
988
|
-
* @param {?WriteParams<typeof managedBudgetAbi, 'revokeRoles'>} [params]
|
|
989
|
-
* @returns {unknown}
|
|
990
|
-
*/
|
|
991
|
-
revokeRolesRaw(addresses: Address[], roles: bigint[], params?: WriteParams<typeof managedBudgetAbi, 'revokeRoles'>): Promise<{
|
|
992
|
-
hash: `0x${string}`;
|
|
993
|
-
result: never;
|
|
994
|
-
}>;
|
|
995
|
-
/**
|
|
996
|
-
* Return an array of the roles assigned to the given account.
|
|
997
|
-
* @example
|
|
998
|
-
* ```ts
|
|
999
|
-
* (await budget.rolesOf(0xfoo)).includes(ManagedBudgetRoles.ADMIN)
|
|
1000
|
-
* @public
|
|
1001
|
-
* @param {Address} account
|
|
1002
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'rolesOf'>} [params]
|
|
1003
|
-
* @returns {Promise<Array<bigint>>}
|
|
1004
|
-
*/
|
|
1005
|
-
rolesOf(account: Address, params?: ReadParams<typeof managedBudgetAbi, 'rolesOf'>): Promise<(2n | 1n)[]>;
|
|
1006
|
-
/**
|
|
1007
|
-
* Returns whether given account has any of the provided roles bitmap.
|
|
1008
|
-
*
|
|
1009
|
-
* @example
|
|
1010
|
-
* ```ts
|
|
1011
|
-
* await budget.hasAnyRole(0xfoo, ManagedBudgetRoles.ADMIN | ManagedBudgetRoles.MANAGER)
|
|
1012
|
-
* @public
|
|
1013
|
-
* @param {Address} account
|
|
1014
|
-
* @param {bigint} roles
|
|
1015
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'hasAnyRole'>} [params]
|
|
1016
|
-
* @returns {Promise<boolean>}
|
|
1017
|
-
*/
|
|
1018
|
-
hasAnyRole(account: Address, roles: bigint, params?: ReadParams<typeof managedBudgetAbi, 'hasAnyRole'>): Promise<boolean>;
|
|
1019
|
-
/**
|
|
1020
|
-
* Returns whether given account has all of the provided roles bitmap.
|
|
1021
|
-
*
|
|
1022
|
-
* @example
|
|
1023
|
-
* ```ts
|
|
1024
|
-
* await budget.hasAllRoles(0xfoo, ManagedBudgetRoles.ADMIN & ManagedBudgetRoles.MANAGER)
|
|
1025
|
-
*
|
|
1026
|
-
* @public
|
|
1027
|
-
* @param {Address} account
|
|
1028
|
-
* @param {bigint} roles
|
|
1029
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'hasAllRoles'>} [params]
|
|
1030
|
-
* @returns {*}
|
|
1031
|
-
*/
|
|
1032
|
-
hasAllRoles(account: Address, roles: bigint, params?: ReadParams<typeof managedBudgetAbi, 'hasAllRoles'>): Promise<boolean>;
|
|
1033
|
-
/**
|
|
1034
|
-
* Check if the given account is authorized to use the budget
|
|
1035
|
-
*
|
|
1036
|
-
* @public
|
|
1037
|
-
* @param {Address} account
|
|
1038
|
-
* @param {?ReadParams<typeof managedBudgetAbi, 'isAuthorized'>} [params]
|
|
1039
|
-
* @returns {Promise<boolean>} - True if the account is authorized
|
|
1040
|
-
*/
|
|
1041
|
-
isAuthorized(account: Address, params?: ReadParams<typeof managedBudgetAbi, 'isAuthorized'>): Promise<boolean>;
|
|
1042
924
|
/**
|
|
1043
925
|
* Get the owner of the budget
|
|
1044
926
|
*
|
|
1045
927
|
* @public
|
|
1046
|
-
* @param {?ReadParams
|
|
928
|
+
* @param {?ReadParams} [params]
|
|
1047
929
|
* @returns {Promise<Address>}
|
|
1048
930
|
*/
|
|
1049
931
|
owner(params?: ReadParams<typeof managedBudgetAbi, 'owner'>): Promise<`0x${string}`>;
|
|
@@ -1052,34 +934,34 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
1052
934
|
* If a tokenId is provided, get the total amount of ERC1155 assets allocated to the budget, including any that have been distributed
|
|
1053
935
|
*
|
|
1054
936
|
* @public
|
|
1055
|
-
* @param {Address} asset - The address of the asset
|
|
937
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"] - The address of the asset
|
|
1056
938
|
* @param {?(bigint | undefined)} [tokenId] - The ID of the token
|
|
1057
|
-
* @param {?ReadParams
|
|
939
|
+
* @param {?ReadParams} [params]
|
|
1058
940
|
* @returns {Promise<bigint>} - The total amount of assets
|
|
1059
941
|
*/
|
|
1060
|
-
total(asset
|
|
942
|
+
total(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'total'>): Promise<never>;
|
|
1061
943
|
/**
|
|
1062
944
|
* Get the amount of assets available for distribution from the budget.
|
|
1063
945
|
* If a tokenId is provided, get the amount of ERC1155 assets available for distribution from the budget
|
|
1064
946
|
*
|
|
1065
947
|
* @public
|
|
1066
|
-
* @param {Address} asset
|
|
948
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"]
|
|
1067
949
|
* @param {?(bigint | undefined)} [tokenId]
|
|
1068
|
-
* @param {?ReadParams
|
|
950
|
+
* @param {?ReadParams} [params]
|
|
1069
951
|
* @returns {Promise<bigint>} - The amount of assets available
|
|
1070
952
|
*/
|
|
1071
|
-
available(asset
|
|
953
|
+
available(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'available'>): Promise<never>;
|
|
1072
954
|
/**
|
|
1073
955
|
* Get the amount of assets that have been distributed from the budget.
|
|
1074
956
|
* If a tokenId is provided, get the amount of ERC1155 assets that have been distributed from the budget
|
|
1075
957
|
*
|
|
1076
958
|
* @public
|
|
1077
|
-
* @param {Address} asset
|
|
959
|
+
* @param {Address} [asset="0x0000000000000000000000000000000000000000"]
|
|
1078
960
|
* @param {?(bigint | undefined)} [tokenId]
|
|
1079
|
-
* @param {?ReadParams
|
|
961
|
+
* @param {?ReadParams} [params]
|
|
1080
962
|
* @returns {Promise<bigint>} - The amount of assets distributed
|
|
1081
963
|
*/
|
|
1082
|
-
distributed(asset
|
|
964
|
+
distributed(asset?: Address, tokenId?: bigint | undefined, params?: ReadParams<typeof managedBudgetAbi, 'distributed'>): Promise<never>;
|
|
1083
965
|
/**
|
|
1084
966
|
* @inheritdoc
|
|
1085
967
|
*
|
|
@@ -1097,7 +979,7 @@ export declare class ManagedBudget extends DeployableTarget<ManagedBudgetPayload
|
|
|
1097
979
|
* @param {Address} param0.owner - The budget's owner
|
|
1098
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.
|
|
1099
981
|
* @param {{}} param0.roles - List of roles to assign to the corresponding account by index.
|
|
1100
|
-
* @returns {
|
|
982
|
+
* @returns {Hex}
|
|
1101
983
|
*/
|
|
1102
984
|
export declare const prepareManagedBudgetPayload: ({ owner, authorized, roles, }: ManagedBudgetPayload) => `0x${string}`;
|
|
1103
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,EAKvB,MAAM,MAAM,CAAC;
|
|
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;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