@boostxyz/sdk 6.1.2 → 7.0.0-canary.0
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/README.md +1 -1
- package/dist/Actions/Action.cjs +1 -1
- package/dist/Actions/Action.js +4 -4
- package/dist/Actions/EventAction.cjs +1 -1
- package/dist/Actions/EventAction.cjs.map +1 -1
- package/dist/Actions/EventAction.d.ts +10 -0
- package/dist/Actions/EventAction.d.ts.map +1 -1
- package/dist/Actions/EventAction.js +84 -83
- package/dist/Actions/EventAction.js.map +1 -1
- package/dist/AllowLists/AllowList.cjs +1 -1
- package/dist/AllowLists/AllowList.js +3 -3
- package/dist/AllowLists/SimpleAllowList.cjs +1 -1
- package/dist/AllowLists/SimpleAllowList.cjs.map +1 -1
- package/dist/AllowLists/SimpleAllowList.js +14 -14
- package/dist/AllowLists/SimpleAllowList.js.map +1 -1
- package/dist/AllowLists/SimpleDenyList.cjs +1 -1
- package/dist/AllowLists/SimpleDenyList.js +3 -3
- package/dist/Auth/PassthroughAuth.cjs +1 -1
- package/dist/Auth/PassthroughAuth.js +1 -1
- package/dist/BoostCore.cjs +2 -2
- package/dist/BoostCore.cjs.map +1 -1
- package/dist/BoostCore.d.ts +1894 -267
- package/dist/BoostCore.d.ts.map +1 -1
- package/dist/BoostCore.js +808 -497
- package/dist/BoostCore.js.map +1 -1
- package/dist/BoostRegistry.cjs +1 -1
- package/dist/BoostRegistry.js +47 -47
- package/dist/Budget-B_kgJGDu.cjs +2 -0
- package/dist/Budget-B_kgJGDu.cjs.map +1 -0
- package/dist/Budget-Bvi5Qjqp.js +1124 -0
- package/dist/Budget-Bvi5Qjqp.js.map +1 -0
- package/dist/Budgets/Budget.cjs +1 -1
- package/dist/Budgets/Budget.d.ts +5 -4
- package/dist/Budgets/Budget.d.ts.map +1 -1
- package/dist/Budgets/Budget.js +9 -6
- package/dist/Budgets/ManagedBudget.cjs +1 -1
- package/dist/Budgets/ManagedBudget.cjs.map +1 -1
- package/dist/Budgets/ManagedBudget.d.ts +4 -0
- package/dist/Budgets/ManagedBudget.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudget.js +25 -25
- package/dist/Budgets/ManagedBudgetWithFees.d.ts +4 -0
- package/dist/Budgets/ManagedBudgetWithFees.d.ts.map +1 -1
- package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts +4 -0
- package/dist/Budgets/ManagedBudgetWithFeesV2.d.ts.map +1 -1
- package/dist/Budgets/TransparentBudget.d.ts +944 -0
- package/dist/Budgets/TransparentBudget.d.ts.map +1 -0
- package/dist/Budgets/VestingBudget.d.ts +4 -0
- package/dist/Budgets/VestingBudget.d.ts.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.map +1 -1
- package/dist/Deployable/DeployableTarget.cjs +1 -1
- package/dist/Deployable/DeployableTarget.js +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
- package/dist/Deployable/DeployableTargetWithRBAC.js +19 -19
- package/dist/Incentive-CLKutfnD.js +445 -0
- package/dist/Incentive-CLKutfnD.js.map +1 -0
- package/dist/Incentive-CLSVNxDz.cjs +2 -0
- package/dist/Incentive-CLSVNxDz.cjs.map +1 -0
- package/dist/Incentives/AllowListIncentive.cjs +1 -1
- package/dist/Incentives/AllowListIncentive.cjs.map +1 -1
- package/dist/Incentives/AllowListIncentive.js +9 -9
- 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.js +5 -5
- package/dist/Incentives/CGDAIncentive.js.map +1 -1
- package/dist/Incentives/ERC20Incentive.cjs +1 -1
- package/dist/Incentives/ERC20Incentive.cjs.map +1 -1
- package/dist/Incentives/ERC20Incentive.js +17 -17
- package/dist/Incentives/ERC20Incentive.js.map +1 -1
- package/dist/Incentives/ERC20PeggedIncentive.d.ts +1 -1
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +2 -0
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs.map +1 -0
- package/dist/Incentives/{ERC20PeggedVariableCriteriaIncentive.d.ts → ERC20PeggedVariableCriteriaIncentiveV2.d.ts} +39 -27
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.d.ts.map +1 -0
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +625 -0
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js.map +1 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +2 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs.map +1 -0
- package/dist/Incentives/{ERC20VariableCriteriaIncentive.d.ts → ERC20VariableCriteriaIncentiveV2.d.ts} +42 -13
- package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.d.ts.map +1 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +242 -0
- package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js.map +1 -0
- package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
- package/dist/Incentives/ERC20VariableIncentive.cjs.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.d.ts +3 -3
- package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -1
- package/dist/Incentives/ERC20VariableIncentive.js +22 -22
- package/dist/Incentives/ERC20VariableIncentive.js.map +1 -1
- package/dist/Incentives/Incentive.cjs +1 -1
- package/dist/Incentives/Incentive.d.ts +8 -8
- package/dist/Incentives/Incentive.d.ts.map +1 -1
- package/dist/Incentives/Incentive.js +13 -12
- 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.js +13 -13
- package/dist/Incentives/PointsIncentive.js.map +1 -1
- package/dist/SimpleDenyList-C1C_BHkY.js +133 -0
- package/dist/{SimpleDenyList-BKfPoTo1.js.map → SimpleDenyList-C1C_BHkY.js.map} +1 -1
- package/dist/SimpleDenyList-CWthbyj7.cjs +2 -0
- package/dist/{SimpleDenyList-DgjVf7FK.cjs.map → SimpleDenyList-CWthbyj7.cjs.map} +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs +1 -1
- package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
- package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
- package/dist/Validators/LimitedSignerValidator.js +48 -52
- package/dist/Validators/LimitedSignerValidator.js.map +1 -1
- package/dist/Validators/SignerValidator.cjs +1 -1
- package/dist/Validators/SignerValidator.cjs.map +1 -1
- package/dist/Validators/SignerValidator.js +54 -54
- package/dist/Validators/SignerValidator.js.map +1 -1
- package/dist/Validators/Validator.cjs +1 -1
- package/dist/Validators/Validator.js +2 -2
- package/dist/componentInterfaces-BVHB4Fjw.js +21 -0
- package/dist/componentInterfaces-BVHB4Fjw.js.map +1 -0
- package/dist/componentInterfaces-BqhL-meV.cjs +2 -0
- package/dist/componentInterfaces-BqhL-meV.cjs.map +1 -0
- package/dist/deployments-D9QxJGrC.cjs +2 -0
- package/dist/deployments-D9QxJGrC.cjs.map +1 -0
- package/dist/deployments-De8_J7SS.js +120 -0
- package/dist/{deployments-W_LUj833.js.map → deployments-De8_J7SS.js.map} +1 -1
- package/dist/deployments.json +63 -48
- package/dist/{generated-CElkFqkY.js → generated-BJfQ-EBO.js} +1268 -737
- package/dist/generated-BJfQ-EBO.js.map +1 -0
- package/dist/generated-mJJNq-xb.cjs +3 -0
- package/dist/generated-mJJNq-xb.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +162 -158
- package/dist/index.js.map +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +13 -7
- package/src/Actions/EventAction.ts +11 -0
- package/src/BoostCore.test.ts +14 -9
- package/src/BoostCore.ts +428 -26
- package/src/Budgets/Budget.ts +8 -1
- package/src/Budgets/TransparentBudget.test.ts +70 -0
- package/src/Budgets/TransparentBudget.ts +334 -0
- package/src/Deployable/Deployable.ts +1 -1
- package/src/Incentives/ERC20PeggedIncentive.ts +1 -1
- package/src/Incentives/{ERC20PeggedVariableCriteriaIncentive.test.ts → ERC20PeggedVariableCriteriaIncentiveV2.test.ts} +14 -10
- package/src/Incentives/{ERC20PeggedVariableCriteriaIncentive.ts → ERC20PeggedVariableCriteriaIncentiveV2.ts} +122 -100
- package/src/Incentives/{ERC20VariableCriteriaIncentive.test.ts → ERC20VariableCriteriaIncentiveV2.test.ts} +18 -13
- package/src/Incentives/{ERC20VariableCriteriaIncentive.ts → ERC20VariableCriteriaIncentiveV2.ts} +83 -24
- package/src/Incentives/ERC20VariableIncentive.ts +4 -2
- package/src/Incentives/Incentive.ts +12 -12
- package/src/Validators/LimitedSignerValidator.ts +1 -4
- package/src/index.test.ts +2 -2
- package/src/index.ts +3 -2
- package/src/utils.ts +1 -1
- package/dist/Budget-BjfL8dVX.cjs +0 -2
- package/dist/Budget-BjfL8dVX.cjs.map +0 -1
- package/dist/Budget-DD7IPuDx.js +0 -922
- package/dist/Budget-DD7IPuDx.js.map +0 -1
- package/dist/Incentive-V1RjH38L.js +0 -1036
- package/dist/Incentive-V1RjH38L.js.map +0 -1
- package/dist/Incentive-gVTfsnMB.cjs +0 -2
- package/dist/Incentive-gVTfsnMB.cjs.map +0 -1
- package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.d.ts.map +0 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +0 -2
- package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs.map +0 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.d.ts.map +0 -1
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js +0 -207
- package/dist/Incentives/ERC20VariableCriteriaIncentive.js.map +0 -1
- package/dist/SimpleDenyList-BKfPoTo1.js +0 -133
- package/dist/SimpleDenyList-DgjVf7FK.cjs +0 -2
- package/dist/componentInterfaces-CA1UIqWL.js +0 -20
- package/dist/componentInterfaces-CA1UIqWL.js.map +0 -1
- package/dist/componentInterfaces-aBgBbB7r.cjs +0 -2
- package/dist/componentInterfaces-aBgBbB7r.cjs.map +0 -1
- package/dist/deployments-CwTZr-cK.cjs +0 -2
- package/dist/deployments-CwTZr-cK.cjs.map +0 -1
- package/dist/deployments-W_LUj833.js +0 -117
- package/dist/generated-BPiHi7W2.cjs +0 -3
- package/dist/generated-BPiHi7W2.cjs.map +0 -1
- package/dist/generated-CElkFqkY.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { erc20PeggedVariableCriteriaIncentiveV2Abi } from '@boostxyz/evm';
|
|
2
2
|
import { type Address, type ContractEventName, type Hex } from 'viem';
|
|
3
3
|
import type { DeployableOptions, GenericDeployableParams } from '../Deployable/Deployable';
|
|
4
4
|
import { DeployableTarget } from '../Deployable/DeployableTarget';
|
|
5
5
|
import { type ClaimPayload } from '../claiming';
|
|
6
6
|
import { type GenericLog, type ReadParams, RegistryType, type WriteParams } from '../utils';
|
|
7
|
-
import type { GetIncentiveScalarParams, IncentiveCriteria } from './
|
|
8
|
-
export {
|
|
7
|
+
import type { GetIncentiveScalarParams, IncentiveCriteria } from './ERC20VariableCriteriaIncentiveV2';
|
|
8
|
+
export { erc20PeggedVariableCriteriaIncentiveV2Abi };
|
|
9
9
|
/**
|
|
10
|
-
* The object representation of a `
|
|
10
|
+
* The object representation of a `Erc20PeggedVariableCriteriaIncentiveV2.InitPayload`
|
|
11
11
|
*
|
|
12
12
|
* @export
|
|
13
|
-
* @interface
|
|
14
|
-
* @typedef {
|
|
13
|
+
* @interface Erc20PeggedVariableCriteriaIncentiveV2
|
|
14
|
+
* @typedef {Erc20PeggedVariableCriteriaIncentiveV2}
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface ERC20PeggedVariableCriteriaIncentiveV2Payload {
|
|
17
17
|
/**
|
|
18
18
|
* The address of the incentivized asset.
|
|
19
19
|
*
|
|
@@ -59,24 +59,24 @@ export interface ERC20PeggedVariableCriteriaIncentivePayload {
|
|
|
59
59
|
criteria: IncentiveCriteria;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* A generic `viem.Log` event with support for `
|
|
62
|
+
* A generic `viem.Log` event with support for `Erc20PeggedVariableCriteriaIncentiveV2` event types.
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
|
-
* @typedef {
|
|
66
|
-
* @template {ContractEventName<typeof
|
|
67
|
-
* typeof
|
|
65
|
+
* @typedef {Erc20PeggedVariableCriteriaIncentiveV2Log}
|
|
66
|
+
* @template {ContractEventName<typeof erc20PeggedVariableCriteriaIncentiveV2Abi>} [event=ContractEventName<
|
|
67
|
+
* typeof erc20PeggedVariableCriteriaIncentiveV2Abi
|
|
68
68
|
* >]
|
|
69
69
|
*/
|
|
70
|
-
export type
|
|
70
|
+
export type Erc20PeggedVariableCriteriaIncentiveV2Log<event extends ContractEventName<typeof erc20PeggedVariableCriteriaIncentiveV2Abi> = ContractEventName<typeof erc20PeggedVariableCriteriaIncentiveV2Abi>> = GenericLog<typeof erc20PeggedVariableCriteriaIncentiveV2Abi, event>;
|
|
71
71
|
/**
|
|
72
72
|
* A simple ERC20 incentive implementation that allows claiming of tokens
|
|
73
73
|
*
|
|
74
74
|
* @export
|
|
75
75
|
* @class Erc20PeggedVariableCriteriaIncentive
|
|
76
|
-
* @typedef {
|
|
77
|
-
* @extends {DeployableTarget<
|
|
76
|
+
* @typedef {ERC20PeggedVariableCriteriaIncentiveV2}
|
|
77
|
+
* @extends {DeployableTarget<ERC20PeggedVariableCriteriaIncentiveV2>}
|
|
78
78
|
*/
|
|
79
|
-
export declare class
|
|
79
|
+
export declare class ERC20PeggedVariableCriteriaIncentiveV2 extends DeployableTarget<ERC20PeggedVariableCriteriaIncentiveV2Payload, typeof erc20PeggedVariableCriteriaIncentiveV2Abi> {
|
|
80
80
|
readonly abi: readonly [{
|
|
81
81
|
readonly type: "constructor";
|
|
82
82
|
readonly inputs: readonly [];
|
|
@@ -199,7 +199,7 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
199
199
|
readonly indexed: false;
|
|
200
200
|
}, {
|
|
201
201
|
readonly name: "criteria";
|
|
202
|
-
readonly internalType: "struct
|
|
202
|
+
readonly internalType: "struct AERC20PeggedVariableCriteriaIncentiveV2.IncentiveCriteria";
|
|
203
203
|
readonly type: "tuple";
|
|
204
204
|
readonly components: readonly [{
|
|
205
205
|
readonly name: "criteriaType";
|
|
@@ -217,6 +217,10 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
217
217
|
readonly name: "targetContract";
|
|
218
218
|
readonly internalType: "address";
|
|
219
219
|
readonly type: "address";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "valueType";
|
|
222
|
+
readonly internalType: "enum ValueType";
|
|
223
|
+
readonly type: "uint8";
|
|
220
224
|
}];
|
|
221
225
|
readonly indexed: false;
|
|
222
226
|
}];
|
|
@@ -428,7 +432,7 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
428
432
|
readonly name: "getIncentiveCriteria";
|
|
429
433
|
readonly outputs: readonly [{
|
|
430
434
|
readonly name: "";
|
|
431
|
-
readonly internalType: "struct
|
|
435
|
+
readonly internalType: "struct AERC20PeggedVariableCriteriaIncentiveV2.IncentiveCriteria";
|
|
432
436
|
readonly type: "tuple";
|
|
433
437
|
readonly components: readonly [{
|
|
434
438
|
readonly name: "criteriaType";
|
|
@@ -446,6 +450,10 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
446
450
|
readonly name: "targetContract";
|
|
447
451
|
readonly internalType: "address";
|
|
448
452
|
readonly type: "address";
|
|
453
|
+
}, {
|
|
454
|
+
readonly name: "valueType";
|
|
455
|
+
readonly internalType: "enum ValueType";
|
|
456
|
+
readonly type: "uint8";
|
|
449
457
|
}];
|
|
450
458
|
}];
|
|
451
459
|
readonly stateMutability: "view";
|
|
@@ -553,6 +561,10 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
553
561
|
readonly name: "targetContract";
|
|
554
562
|
readonly internalType: "address";
|
|
555
563
|
readonly type: "address";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "valueType";
|
|
566
|
+
readonly internalType: "enum ValueType";
|
|
567
|
+
readonly type: "uint8";
|
|
556
568
|
}];
|
|
557
569
|
readonly stateMutability: "view";
|
|
558
570
|
}, {
|
|
@@ -1031,11 +1043,11 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
1031
1043
|
* @inheritdoc
|
|
1032
1044
|
*
|
|
1033
1045
|
* @public
|
|
1034
|
-
* @param {?
|
|
1046
|
+
* @param {?ERC20PeggedVariableCriteriaIncentiveV2Payload} [_payload]
|
|
1035
1047
|
* @param {?DeployableOptions} [_options]
|
|
1036
1048
|
* @returns {GenericDeployableParams}
|
|
1037
1049
|
*/
|
|
1038
|
-
buildParameters(_payload?:
|
|
1050
|
+
buildParameters(_payload?: ERC20PeggedVariableCriteriaIncentiveV2Payload, _options?: DeployableOptions): GenericDeployableParams;
|
|
1039
1051
|
/**
|
|
1040
1052
|
* Encodes an amount to clawback from the incentive
|
|
1041
1053
|
*
|
|
@@ -1050,20 +1062,20 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
1050
1062
|
* @public
|
|
1051
1063
|
* @param {bigint} signedAmount
|
|
1052
1064
|
* @returns {Hash} Returns the encoded claim data
|
|
1053
|
-
* @description This function returns the encoded claim data for the
|
|
1065
|
+
* @description This function returns the encoded claim data for the ERC20PeggedVariableCriteriaIncentiveV2Payload.
|
|
1054
1066
|
*/
|
|
1055
1067
|
buildClaimData(signedAmount: bigint): `0x${string}`;
|
|
1056
1068
|
/**
|
|
1057
|
-
* Decodes claim data for the
|
|
1069
|
+
* Decodes claim data for the ERC20PeggedVariableCriteriaIncentiveV2, returning the claim amount.
|
|
1058
1070
|
* Useful when deriving amount claimed from logs.
|
|
1059
1071
|
*
|
|
1060
1072
|
* @public
|
|
1061
1073
|
* @param {Hex} claimData
|
|
1062
|
-
* @returns {
|
|
1074
|
+
* @returns {Promise<bigint>} Returns the reward amount from a claim data payload
|
|
1063
1075
|
*/
|
|
1064
1076
|
decodeClaimData(claimData: Hex): Promise<bigint>;
|
|
1065
1077
|
/**
|
|
1066
|
-
* Decodes claim data for the
|
|
1078
|
+
* Decodes claim data for the ERC20PeggedVariableCriteriaIncentiveV2, returning the claim amount.
|
|
1067
1079
|
* Useful when deriving amount claimed from logs.
|
|
1068
1080
|
* Use this function instead of `decodeClaimData` if you have reward details.
|
|
1069
1081
|
*
|
|
@@ -1076,9 +1088,9 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
1076
1088
|
decodeClaimDataWithRewardDetails(claimData: Hex, reward: bigint, maxReward: bigint): bigint;
|
|
1077
1089
|
}
|
|
1078
1090
|
/**
|
|
1079
|
-
* Given a {@link
|
|
1091
|
+
* Given a {@link ERC20PeggedVariableCriteriaIncentiveV2Payload}, properly encode a `ERC20PeggedVariableCriteriaIncentiveV2Payload.InitPayload` for use with {@link ERC20PeggedVariableCriteriaIncentiveV2Payload} initialization.
|
|
1080
1092
|
*
|
|
1081
|
-
* @param {
|
|
1093
|
+
* @param {ERC20PeggedVariableCriteriaIncentiveV2Payload} param0
|
|
1082
1094
|
* @param {Address} param0.asset - The address of the incentivized asset.
|
|
1083
1095
|
* @param {Address} param0.peg - The peg to normalize to.
|
|
1084
1096
|
* @param {bigint} param0.reward - The amount of the asset to distribute.
|
|
@@ -1087,5 +1099,5 @@ export declare class ERC20PeggedVariableCriteriaIncentive extends DeployableTarg
|
|
|
1087
1099
|
* @param {IncentiveCriteria} param0.criteria - The incentive criteria for reward distribution.
|
|
1088
1100
|
* @returns {Hex}
|
|
1089
1101
|
*/
|
|
1090
|
-
export declare function
|
|
1091
|
-
//# sourceMappingURL=
|
|
1102
|
+
export declare function prepareERC20PeggedVariableCriteriaIncentiveV2Payload({ asset, peg, reward, limit, maxReward, manager, criteria, }: ERC20PeggedVariableCriteriaIncentiveV2Payload): `0x${string}`;
|
|
1103
|
+
//# sourceMappingURL=ERC20PeggedVariableCriteriaIncentiveV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ERC20PeggedVariableCriteriaIncentiveV2.d.ts","sourceRoot":"","sources":["../../src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yCAAyC,EAkB1C,MAAM,eAAe,CAAC;AAIvB,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAQT,MAAM,MAAM,CAAC;AAGd,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,KAAK,YAAY,EAAuB,MAAM,aAAa,CAAC;AAOrE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,YAAY,EACZ,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,yCAAyC,EAAE,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,WAAW,6CAA6C;IAC5D;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,GAAG,EAAE,OAAO,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG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