@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,10 +1,88 @@
|
|
|
1
1
|
import { cgdaIncentiveAbi } from '@boostxyz/evm';
|
|
2
|
-
import type
|
|
2
|
+
import { type Address, type ContractEventName } from 'viem';
|
|
3
3
|
import type { DeployableOptions, GenericDeployableParams } from '../Deployable/Deployable';
|
|
4
4
|
import { DeployableTarget } from '../Deployable/DeployableTarget';
|
|
5
|
-
import { type
|
|
5
|
+
import { type ClaimPayload } from '../claiming';
|
|
6
|
+
import { type GenericLog, type ReadParams, RegistryType, type WriteParams } from '../utils';
|
|
6
7
|
export { cgdaIncentiveAbi };
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The object representation of a `CGDAIncentive.InitPayload`
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface CGDAIncentivePayload
|
|
13
|
+
* @typedef {CGDAIncentivePayload}
|
|
14
|
+
*/
|
|
15
|
+
export interface CGDAIncentivePayload {
|
|
16
|
+
/**
|
|
17
|
+
* The address of the ERC20-like token
|
|
18
|
+
*
|
|
19
|
+
* @type {Address}
|
|
20
|
+
*/
|
|
21
|
+
asset: Address;
|
|
22
|
+
/**
|
|
23
|
+
* The initial reward amount
|
|
24
|
+
*
|
|
25
|
+
* @type {bigint}
|
|
26
|
+
*/
|
|
27
|
+
initialReward: bigint;
|
|
28
|
+
/**
|
|
29
|
+
* The amount to subtract from the current reward after each claim
|
|
30
|
+
*
|
|
31
|
+
* @type {bigint}
|
|
32
|
+
*/
|
|
33
|
+
rewardDecay: bigint;
|
|
34
|
+
/**
|
|
35
|
+
* The amount by which the reward increases for each hour without a claim (continuous linear increase)
|
|
36
|
+
*
|
|
37
|
+
* @type {bigint}
|
|
38
|
+
*/
|
|
39
|
+
rewardBoost: bigint;
|
|
40
|
+
/**
|
|
41
|
+
* The total budget for the incentive
|
|
42
|
+
*
|
|
43
|
+
* @type {bigint}
|
|
44
|
+
*/
|
|
45
|
+
totalBudget: bigint;
|
|
46
|
+
/**
|
|
47
|
+
* The entity that can `clawback` funds
|
|
48
|
+
*
|
|
49
|
+
* @type {Address}
|
|
50
|
+
*/
|
|
51
|
+
manager: Address;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The configuration parameters for the CGDAIncentive
|
|
55
|
+
*
|
|
56
|
+
* @export
|
|
57
|
+
* @interface CGDAParameters
|
|
58
|
+
* @typedef {CGDAParameters}
|
|
59
|
+
*/
|
|
60
|
+
export interface CGDAParameters {
|
|
61
|
+
/**
|
|
62
|
+
* The amount to subtract from the current reward after each claim
|
|
63
|
+
*
|
|
64
|
+
* @type {bigint}
|
|
65
|
+
*/
|
|
66
|
+
rewardDecay: bigint;
|
|
67
|
+
/**
|
|
68
|
+
* The amount by which the reward increases for each hour without a claim (continuous linear increase)
|
|
69
|
+
*
|
|
70
|
+
* @type {bigint}
|
|
71
|
+
*/
|
|
72
|
+
rewardBoost: bigint;
|
|
73
|
+
/**
|
|
74
|
+
* The timestamp of the last claim
|
|
75
|
+
*
|
|
76
|
+
* @type {bigint}
|
|
77
|
+
*/
|
|
78
|
+
lastClaimTime: bigint;
|
|
79
|
+
/**
|
|
80
|
+
* The current reward amount
|
|
81
|
+
*
|
|
82
|
+
* @type {bigint}
|
|
83
|
+
*/
|
|
84
|
+
currentReward: bigint;
|
|
85
|
+
}
|
|
8
86
|
/**
|
|
9
87
|
* A generic `viem.Log` event with support for `CGDAIncentive` event types.
|
|
10
88
|
*
|
|
@@ -37,6 +115,18 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
37
115
|
readonly type: "error";
|
|
38
116
|
readonly inputs: readonly [];
|
|
39
117
|
readonly name: "ClaimFailed";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "error";
|
|
120
|
+
readonly inputs: readonly [{
|
|
121
|
+
readonly name: "caller";
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "data";
|
|
126
|
+
readonly internalType: "bytes";
|
|
127
|
+
readonly type: "bytes";
|
|
128
|
+
}];
|
|
129
|
+
readonly name: "ClaimFailed";
|
|
40
130
|
}, {
|
|
41
131
|
readonly type: "error";
|
|
42
132
|
readonly inputs: readonly [];
|
|
@@ -73,6 +163,10 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
73
163
|
readonly type: "error";
|
|
74
164
|
readonly inputs: readonly [];
|
|
75
165
|
readonly name: "InvalidInitializationData";
|
|
166
|
+
}, {
|
|
167
|
+
readonly type: "error";
|
|
168
|
+
readonly inputs: readonly [];
|
|
169
|
+
readonly name: "LengthMismatch";
|
|
76
170
|
}, {
|
|
77
171
|
readonly type: "error";
|
|
78
172
|
readonly inputs: readonly [];
|
|
@@ -153,6 +247,41 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
153
247
|
readonly indexed: true;
|
|
154
248
|
}];
|
|
155
249
|
readonly name: "OwnershipTransferred";
|
|
250
|
+
}, {
|
|
251
|
+
readonly type: "event";
|
|
252
|
+
readonly anonymous: false;
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly name: "user";
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly type: "address";
|
|
257
|
+
readonly indexed: true;
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "roles";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly type: "uint256";
|
|
262
|
+
readonly indexed: true;
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "RolesUpdated";
|
|
265
|
+
}, {
|
|
266
|
+
readonly type: "function";
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly name: "ADMIN_ROLE";
|
|
269
|
+
readonly outputs: readonly [{
|
|
270
|
+
readonly name: "";
|
|
271
|
+
readonly internalType: "uint256";
|
|
272
|
+
readonly type: "uint256";
|
|
273
|
+
}];
|
|
274
|
+
readonly stateMutability: "view";
|
|
275
|
+
}, {
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly inputs: readonly [];
|
|
278
|
+
readonly name: "MANAGER_ROLE";
|
|
279
|
+
readonly outputs: readonly [{
|
|
280
|
+
readonly name: "";
|
|
281
|
+
readonly internalType: "uint256";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}];
|
|
284
|
+
readonly stateMutability: "view";
|
|
156
285
|
}, {
|
|
157
286
|
readonly type: "function";
|
|
158
287
|
readonly inputs: readonly [];
|
|
@@ -243,8 +372,12 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
243
372
|
readonly name: "clawback";
|
|
244
373
|
readonly outputs: readonly [{
|
|
245
374
|
readonly name: "";
|
|
246
|
-
readonly internalType: "
|
|
247
|
-
readonly type: "
|
|
375
|
+
readonly internalType: "uint256";
|
|
376
|
+
readonly type: "uint256";
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "";
|
|
379
|
+
readonly internalType: "address";
|
|
380
|
+
readonly type: "address";
|
|
248
381
|
}];
|
|
249
382
|
readonly stateMutability: "nonpayable";
|
|
250
383
|
}, {
|
|
@@ -277,6 +410,70 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
277
410
|
readonly type: "bytes4";
|
|
278
411
|
}];
|
|
279
412
|
readonly stateMutability: "pure";
|
|
413
|
+
}, {
|
|
414
|
+
readonly type: "function";
|
|
415
|
+
readonly inputs: readonly [{
|
|
416
|
+
readonly name: "user";
|
|
417
|
+
readonly internalType: "address";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "roles";
|
|
421
|
+
readonly internalType: "uint256";
|
|
422
|
+
readonly type: "uint256";
|
|
423
|
+
}];
|
|
424
|
+
readonly name: "grantRoles";
|
|
425
|
+
readonly outputs: readonly [];
|
|
426
|
+
readonly stateMutability: "payable";
|
|
427
|
+
}, {
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
readonly inputs: readonly [{
|
|
430
|
+
readonly name: "accounts_";
|
|
431
|
+
readonly internalType: "address[]";
|
|
432
|
+
readonly type: "address[]";
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "roles_";
|
|
435
|
+
readonly internalType: "uint256[]";
|
|
436
|
+
readonly type: "uint256[]";
|
|
437
|
+
}];
|
|
438
|
+
readonly name: "grantRoles";
|
|
439
|
+
readonly outputs: readonly [];
|
|
440
|
+
readonly stateMutability: "nonpayable";
|
|
441
|
+
}, {
|
|
442
|
+
readonly type: "function";
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly name: "user";
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly type: "address";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "roles";
|
|
449
|
+
readonly internalType: "uint256";
|
|
450
|
+
readonly type: "uint256";
|
|
451
|
+
}];
|
|
452
|
+
readonly name: "hasAllRoles";
|
|
453
|
+
readonly outputs: readonly [{
|
|
454
|
+
readonly name: "";
|
|
455
|
+
readonly internalType: "bool";
|
|
456
|
+
readonly type: "bool";
|
|
457
|
+
}];
|
|
458
|
+
readonly stateMutability: "view";
|
|
459
|
+
}, {
|
|
460
|
+
readonly type: "function";
|
|
461
|
+
readonly inputs: readonly [{
|
|
462
|
+
readonly name: "user";
|
|
463
|
+
readonly internalType: "address";
|
|
464
|
+
readonly type: "address";
|
|
465
|
+
}, {
|
|
466
|
+
readonly name: "roles";
|
|
467
|
+
readonly internalType: "uint256";
|
|
468
|
+
readonly type: "uint256";
|
|
469
|
+
}];
|
|
470
|
+
readonly name: "hasAnyRole";
|
|
471
|
+
readonly outputs: readonly [{
|
|
472
|
+
readonly name: "";
|
|
473
|
+
readonly internalType: "bool";
|
|
474
|
+
readonly type: "bool";
|
|
475
|
+
}];
|
|
476
|
+
readonly stateMutability: "view";
|
|
280
477
|
}, {
|
|
281
478
|
readonly type: "function";
|
|
282
479
|
readonly inputs: readonly [{
|
|
@@ -287,6 +484,20 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
287
484
|
readonly name: "initialize";
|
|
288
485
|
readonly outputs: readonly [];
|
|
289
486
|
readonly stateMutability: "nonpayable";
|
|
487
|
+
}, {
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
readonly inputs: readonly [{
|
|
490
|
+
readonly name: "account_";
|
|
491
|
+
readonly internalType: "address";
|
|
492
|
+
readonly type: "address";
|
|
493
|
+
}];
|
|
494
|
+
readonly name: "isAuthorized";
|
|
495
|
+
readonly outputs: readonly [{
|
|
496
|
+
readonly name: "";
|
|
497
|
+
readonly internalType: "bool";
|
|
498
|
+
readonly type: "bool";
|
|
499
|
+
}];
|
|
500
|
+
readonly stateMutability: "view";
|
|
290
501
|
}, {
|
|
291
502
|
readonly type: "function";
|
|
292
503
|
readonly inputs: readonly [{
|
|
@@ -349,12 +560,50 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
349
560
|
readonly name: "renounceOwnership";
|
|
350
561
|
readonly outputs: readonly [];
|
|
351
562
|
readonly stateMutability: "payable";
|
|
563
|
+
}, {
|
|
564
|
+
readonly type: "function";
|
|
565
|
+
readonly inputs: readonly [{
|
|
566
|
+
readonly name: "roles";
|
|
567
|
+
readonly internalType: "uint256";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}];
|
|
570
|
+
readonly name: "renounceRoles";
|
|
571
|
+
readonly outputs: readonly [];
|
|
572
|
+
readonly stateMutability: "payable";
|
|
352
573
|
}, {
|
|
353
574
|
readonly type: "function";
|
|
354
575
|
readonly inputs: readonly [];
|
|
355
576
|
readonly name: "requestOwnershipHandover";
|
|
356
577
|
readonly outputs: readonly [];
|
|
357
578
|
readonly stateMutability: "payable";
|
|
579
|
+
}, {
|
|
580
|
+
readonly type: "function";
|
|
581
|
+
readonly inputs: readonly [{
|
|
582
|
+
readonly name: "user";
|
|
583
|
+
readonly internalType: "address";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "roles";
|
|
587
|
+
readonly internalType: "uint256";
|
|
588
|
+
readonly type: "uint256";
|
|
589
|
+
}];
|
|
590
|
+
readonly name: "revokeRoles";
|
|
591
|
+
readonly outputs: readonly [];
|
|
592
|
+
readonly stateMutability: "payable";
|
|
593
|
+
}, {
|
|
594
|
+
readonly type: "function";
|
|
595
|
+
readonly inputs: readonly [{
|
|
596
|
+
readonly name: "accounts_";
|
|
597
|
+
readonly internalType: "address[]";
|
|
598
|
+
readonly type: "address[]";
|
|
599
|
+
}, {
|
|
600
|
+
readonly name: "roles_";
|
|
601
|
+
readonly internalType: "uint256[]";
|
|
602
|
+
readonly type: "uint256[]";
|
|
603
|
+
}];
|
|
604
|
+
readonly name: "revokeRoles";
|
|
605
|
+
readonly outputs: readonly [];
|
|
606
|
+
readonly stateMutability: "nonpayable";
|
|
358
607
|
}, {
|
|
359
608
|
readonly type: "function";
|
|
360
609
|
readonly inputs: readonly [];
|
|
@@ -365,6 +614,34 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
365
614
|
readonly type: "uint256";
|
|
366
615
|
}];
|
|
367
616
|
readonly stateMutability: "view";
|
|
617
|
+
}, {
|
|
618
|
+
readonly type: "function";
|
|
619
|
+
readonly inputs: readonly [{
|
|
620
|
+
readonly name: "user";
|
|
621
|
+
readonly internalType: "address";
|
|
622
|
+
readonly type: "address";
|
|
623
|
+
}];
|
|
624
|
+
readonly name: "rolesOf";
|
|
625
|
+
readonly outputs: readonly [{
|
|
626
|
+
readonly name: "roles";
|
|
627
|
+
readonly internalType: "uint256";
|
|
628
|
+
readonly type: "uint256";
|
|
629
|
+
}];
|
|
630
|
+
readonly stateMutability: "view";
|
|
631
|
+
}, {
|
|
632
|
+
readonly type: "function";
|
|
633
|
+
readonly inputs: readonly [{
|
|
634
|
+
readonly name: "accounts_";
|
|
635
|
+
readonly internalType: "address[]";
|
|
636
|
+
readonly type: "address[]";
|
|
637
|
+
}, {
|
|
638
|
+
readonly name: "authorized_";
|
|
639
|
+
readonly internalType: "bool[]";
|
|
640
|
+
readonly type: "bool[]";
|
|
641
|
+
}];
|
|
642
|
+
readonly name: "setAuthorized";
|
|
643
|
+
readonly outputs: readonly [];
|
|
644
|
+
readonly stateMutability: "nonpayable";
|
|
368
645
|
}, {
|
|
369
646
|
readonly type: "function";
|
|
370
647
|
readonly inputs: readonly [{
|
|
@@ -405,9 +682,9 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
405
682
|
*
|
|
406
683
|
* @public
|
|
407
684
|
* @static
|
|
408
|
-
* @type {Address}
|
|
685
|
+
* @type {Record<number, Address>}
|
|
409
686
|
*/
|
|
410
|
-
static
|
|
687
|
+
static bases: Record<number, Address>;
|
|
411
688
|
/**
|
|
412
689
|
* @inheritdoc
|
|
413
690
|
*
|
|
@@ -421,8 +698,8 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
421
698
|
*
|
|
422
699
|
* @public
|
|
423
700
|
* @async
|
|
424
|
-
* @param {?ReadParams
|
|
425
|
-
* @returns {
|
|
701
|
+
* @param {?ReadParams} [params]
|
|
702
|
+
* @returns {Promise<Address>}
|
|
426
703
|
*/
|
|
427
704
|
owner(params?: ReadParams<typeof cgdaIncentiveAbi, 'owner'>): Promise<`0x${string}`>;
|
|
428
705
|
/**
|
|
@@ -430,7 +707,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
430
707
|
*
|
|
431
708
|
* @public
|
|
432
709
|
* @async
|
|
433
|
-
* @param {?ReadParams
|
|
710
|
+
* @param {?ReadParams} [params]
|
|
434
711
|
* @returns {Promise<bigint>}
|
|
435
712
|
*/
|
|
436
713
|
claims(params?: ReadParams<typeof cgdaIncentiveAbi, 'claims'>): Promise<bigint>;
|
|
@@ -439,7 +716,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
439
716
|
*
|
|
440
717
|
* @public
|
|
441
718
|
* @async
|
|
442
|
-
* @param {?ReadParams
|
|
719
|
+
* @param {?ReadParams} [params]
|
|
443
720
|
* @returns {Promise<bigint>}
|
|
444
721
|
*/
|
|
445
722
|
reward(params?: ReadParams<typeof cgdaIncentiveAbi, 'reward'>): Promise<bigint>;
|
|
@@ -449,7 +726,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
449
726
|
* @public
|
|
450
727
|
* @async
|
|
451
728
|
* @param {Address} address
|
|
452
|
-
* @param {?ReadParams
|
|
729
|
+
* @param {?ReadParams} [params]
|
|
453
730
|
* @returns {Promise<boolean>}
|
|
454
731
|
*/
|
|
455
732
|
claimed(address: Address, params?: ReadParams<typeof cgdaIncentiveAbi, 'claimed'>): Promise<boolean>;
|
|
@@ -458,8 +735,8 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
458
735
|
*
|
|
459
736
|
* @public
|
|
460
737
|
* @async
|
|
461
|
-
* @param {?ReadParams
|
|
462
|
-
* @returns {
|
|
738
|
+
* @param {?ReadParams} [params]
|
|
739
|
+
* @returns {Promise<Address>}
|
|
463
740
|
*/
|
|
464
741
|
asset(params?: ReadParams<typeof cgdaIncentiveAbi, 'asset'>): Promise<`0x${string}`>;
|
|
465
742
|
/**
|
|
@@ -467,7 +744,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
467
744
|
*
|
|
468
745
|
* @public
|
|
469
746
|
* @async
|
|
470
|
-
* @param {?ReadParams
|
|
747
|
+
* @param {?ReadParams} [params]
|
|
471
748
|
* @returns {Promise<CGDAParameters>}
|
|
472
749
|
*/
|
|
473
750
|
cgdaParams(params?: ReadParams<typeof cgdaIncentiveAbi, 'cgdaParams'>): Promise<CGDAParameters>;
|
|
@@ -476,7 +753,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
476
753
|
*
|
|
477
754
|
* @public
|
|
478
755
|
* @async
|
|
479
|
-
* @param {?ReadParams
|
|
756
|
+
* @param {?ReadParams} [params]
|
|
480
757
|
* @returns {Promise<bigint>}
|
|
481
758
|
*/
|
|
482
759
|
totalBudget(params?: ReadParams<typeof cgdaIncentiveAbi, 'totalBudget'>): Promise<bigint>;
|
|
@@ -486,20 +763,20 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
486
763
|
* @public
|
|
487
764
|
* @async
|
|
488
765
|
* @param {ClaimPayload} payload
|
|
489
|
-
* @param {?WriteParams
|
|
766
|
+
* @param {?WriteParams} [params]
|
|
490
767
|
* @returns {Promise<boolean>} - Returns true if successfully claimed
|
|
491
768
|
*/
|
|
492
|
-
claim(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'claim'>): Promise<boolean>;
|
|
769
|
+
protected claim(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'claim'>): Promise<boolean>;
|
|
493
770
|
/**
|
|
494
771
|
* Claim the incentive
|
|
495
772
|
*
|
|
496
773
|
* @public
|
|
497
774
|
* @async
|
|
498
775
|
* @param {ClaimPayload} payload
|
|
499
|
-
* @param {?WriteParams
|
|
776
|
+
* @param {?WriteParams} [params]
|
|
500
777
|
* @returns {Promise<boolean>} - Returns true if successfully claimed
|
|
501
778
|
*/
|
|
502
|
-
claimRaw(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'claim'>): Promise<{
|
|
779
|
+
protected claimRaw(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'claim'>): Promise<{
|
|
503
780
|
hash: `0x${string}`;
|
|
504
781
|
result: boolean;
|
|
505
782
|
}>;
|
|
@@ -509,22 +786,22 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
509
786
|
* @public
|
|
510
787
|
* @async
|
|
511
788
|
* @param {ClaimPayload} payload
|
|
512
|
-
* @param {?WriteParams
|
|
789
|
+
* @param {?WriteParams} [params]
|
|
513
790
|
* @returns {Promise<boolean>} - True if the assets were successfully clawbacked
|
|
514
791
|
*/
|
|
515
|
-
clawback(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'clawback'>): Promise<
|
|
792
|
+
clawback(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'clawback'>): Promise<readonly [bigint, `0x${string}`]>;
|
|
516
793
|
/**
|
|
517
794
|
* Clawback assets from the incentive
|
|
518
795
|
*
|
|
519
796
|
* @public
|
|
520
797
|
* @async
|
|
521
798
|
* @param {ClaimPayload} payload
|
|
522
|
-
* @param {?WriteParams
|
|
799
|
+
* @param {?WriteParams} [params]
|
|
523
800
|
* @returns {Promise<boolean>} - True if the assets were successfully clawbacked
|
|
524
801
|
*/
|
|
525
802
|
clawbackRaw(payload: ClaimPayload, params?: WriteParams<typeof cgdaIncentiveAbi, 'clawback'>): Promise<{
|
|
526
803
|
hash: `0x${string}`;
|
|
527
|
-
result:
|
|
804
|
+
result: readonly [bigint, `0x${string}`];
|
|
528
805
|
}>;
|
|
529
806
|
/**
|
|
530
807
|
* Check if an incentive is claimable
|
|
@@ -532,7 +809,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
532
809
|
* @public
|
|
533
810
|
* @async
|
|
534
811
|
* @param {ClaimPayload} payload
|
|
535
|
-
* @param {?ReadParams
|
|
812
|
+
* @param {?ReadParams} [params]
|
|
536
813
|
* @returns {Promise<boolean>} - True if the incentive is claimable based on the data payload
|
|
537
814
|
*/
|
|
538
815
|
isClaimable(payload: ClaimPayload, params?: ReadParams<typeof cgdaIncentiveAbi, 'isClaimable'>): Promise<boolean>;
|
|
@@ -543,7 +820,7 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
543
820
|
*
|
|
544
821
|
* @public
|
|
545
822
|
* @async
|
|
546
|
-
* @param {?ReadParams
|
|
823
|
+
* @param {?ReadParams} [params]
|
|
547
824
|
* @returns {Promise<bigint>} - The current reward
|
|
548
825
|
*/
|
|
549
826
|
currentReward(params?: ReadParams<typeof cgdaIncentiveAbi, 'currentReward'>): Promise<bigint>;
|
|
@@ -557,4 +834,16 @@ export declare class CGDAIncentive extends DeployableTarget<CGDAIncentivePayload
|
|
|
557
834
|
*/
|
|
558
835
|
buildParameters(_payload?: CGDAIncentivePayload, _options?: DeployableOptions): GenericDeployableParams;
|
|
559
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* Given a {@link CGDAIncentivePayload}, properly encode a `CGDAIncentive.InitPayload` for use with {@link CGDAIncentive} initialization.
|
|
839
|
+
*
|
|
840
|
+
* @param {CGDAIncentivePayload} param0
|
|
841
|
+
* @param {Address} param0.asset - The address of the ERC20-like token
|
|
842
|
+
* @param {bigint} param0.initialReward - The initial reward amount
|
|
843
|
+
* @param {bigint} param0.rewardDecay - The amount to subtract from the current reward after each claim
|
|
844
|
+
* @param {bigint} param0.rewardBoost - The amount by which the reward increases for each hour without a claim (continuous linear increase)
|
|
845
|
+
* @param {bigint} param0.totalBudget - The total budget for the incentive
|
|
846
|
+
* @returns {Hex}
|
|
847
|
+
*/
|
|
848
|
+
export declare function prepareCGDAIncentivePayload({ asset, initialReward, rewardDecay, rewardBoost, totalBudget, }: CGDAIncentivePayload): `0x${string}`;
|
|
560
849
|
//# sourceMappingURL=CGDAIncentive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CGDAIncentive.d.ts","sourceRoot":"","sources":["../../src/Incentives/CGDAIncentive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAcjB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CGDAIncentive.d.ts","sourceRoot":"","sources":["../../src/Incentives/CGDAIncentive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAcjB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAGvB,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM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