@boostxyz/sdk 0.0.0-alpha.10

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.
Files changed (242) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +7 -0
  3. package/dist/Actions/Action.cjs +2 -0
  4. package/dist/Actions/Action.cjs.map +1 -0
  5. package/dist/Actions/Action.d.ts +31 -0
  6. package/dist/Actions/Action.d.ts.map +1 -0
  7. package/dist/Actions/Action.js +29 -0
  8. package/dist/Actions/Action.js.map +1 -0
  9. package/dist/Actions/ContractAction.d.ts +370 -0
  10. package/dist/Actions/ContractAction.d.ts.map +1 -0
  11. package/dist/Actions/ERC721MintAction.d.ts +513 -0
  12. package/dist/Actions/ERC721MintAction.d.ts.map +1 -0
  13. package/dist/Actions/EventAction.cjs +2 -0
  14. package/dist/Actions/EventAction.cjs.map +1 -0
  15. package/dist/Actions/EventAction.d.ts +694 -0
  16. package/dist/Actions/EventAction.d.ts.map +1 -0
  17. package/dist/Actions/EventAction.js +491 -0
  18. package/dist/Actions/EventAction.js.map +1 -0
  19. package/dist/AllowLists/AllowList.cjs +2 -0
  20. package/dist/AllowLists/AllowList.cjs.map +1 -0
  21. package/dist/AllowLists/AllowList.d.ts +32 -0
  22. package/dist/AllowLists/AllowList.d.ts.map +1 -0
  23. package/dist/AllowLists/AllowList.js +30 -0
  24. package/dist/AllowLists/AllowList.js.map +1 -0
  25. package/dist/AllowLists/SimpleAllowList.cjs +2 -0
  26. package/dist/AllowLists/SimpleAllowList.cjs.map +1 -0
  27. package/dist/AllowLists/SimpleAllowList.d.ts +481 -0
  28. package/dist/AllowLists/SimpleAllowList.d.ts.map +1 -0
  29. package/dist/AllowLists/SimpleAllowList.js +154 -0
  30. package/dist/AllowLists/SimpleAllowList.js.map +1 -0
  31. package/dist/AllowLists/SimpleDenyList.cjs +2 -0
  32. package/dist/AllowLists/SimpleDenyList.cjs.map +1 -0
  33. package/dist/AllowLists/SimpleDenyList.d.ts +335 -0
  34. package/dist/AllowLists/SimpleDenyList.d.ts.map +1 -0
  35. package/dist/AllowLists/SimpleDenyList.js +115 -0
  36. package/dist/AllowLists/SimpleDenyList.js.map +1 -0
  37. package/dist/Auth/Auth.cjs +2 -0
  38. package/dist/Auth/Auth.cjs.map +1 -0
  39. package/dist/Auth/Auth.d.ts +10 -0
  40. package/dist/Auth/Auth.d.ts.map +1 -0
  41. package/dist/Auth/Auth.js +5 -0
  42. package/dist/Auth/Auth.js.map +1 -0
  43. package/dist/Auth/PassthroughAuth.cjs +2 -0
  44. package/dist/Auth/PassthroughAuth.cjs.map +1 -0
  45. package/dist/Auth/PassthroughAuth.d.ts +51 -0
  46. package/dist/Auth/PassthroughAuth.d.ts.map +1 -0
  47. package/dist/Auth/PassthroughAuth.js +39 -0
  48. package/dist/Auth/PassthroughAuth.js.map +1 -0
  49. package/dist/Boost.cjs +2 -0
  50. package/dist/Boost.cjs.map +1 -0
  51. package/dist/Boost.d.ts +234 -0
  52. package/dist/Boost.d.ts.map +1 -0
  53. package/dist/Boost.js +162 -0
  54. package/dist/Boost.js.map +1 -0
  55. package/dist/BoostCore.cjs +3 -0
  56. package/dist/BoostCore.cjs.map +1 -0
  57. package/dist/BoostCore.d.ts +498 -0
  58. package/dist/BoostCore.d.ts.map +1 -0
  59. package/dist/BoostCore.js +1153 -0
  60. package/dist/BoostCore.js.map +1 -0
  61. package/dist/BoostRegistry.cjs +2 -0
  62. package/dist/BoostRegistry.cjs.map +1 -0
  63. package/dist/BoostRegistry.d.ts +243 -0
  64. package/dist/BoostRegistry.d.ts.map +1 -0
  65. package/dist/BoostRegistry.js +262 -0
  66. package/dist/BoostRegistry.js.map +1 -0
  67. package/dist/Budgets/Budget.cjs +2 -0
  68. package/dist/Budgets/Budget.cjs.map +1 -0
  69. package/dist/Budgets/Budget.d.ts +31 -0
  70. package/dist/Budgets/Budget.d.ts.map +1 -0
  71. package/dist/Budgets/Budget.js +29 -0
  72. package/dist/Budgets/Budget.js.map +1 -0
  73. package/dist/Budgets/ManagedBudget.cjs +2 -0
  74. package/dist/Budgets/ManagedBudget.cjs.map +1 -0
  75. package/dist/Budgets/ManagedBudget.d.ts +1103 -0
  76. package/dist/Budgets/ManagedBudget.d.ts.map +1 -0
  77. package/dist/Budgets/ManagedBudget.js +516 -0
  78. package/dist/Budgets/ManagedBudget.js.map +1 -0
  79. package/dist/Budgets/SimpleBudget.d.ts +824 -0
  80. package/dist/Budgets/SimpleBudget.d.ts.map +1 -0
  81. package/dist/Budgets/VestingBudget.d.ts +778 -0
  82. package/dist/Budgets/VestingBudget.d.ts.map +1 -0
  83. package/dist/Deployable/Contract.cjs +2 -0
  84. package/dist/Deployable/Contract.cjs.map +1 -0
  85. package/dist/Deployable/Contract.d.ts +125 -0
  86. package/dist/Deployable/Contract.d.ts.map +1 -0
  87. package/dist/Deployable/Contract.js +150 -0
  88. package/dist/Deployable/Contract.js.map +1 -0
  89. package/dist/Deployable/Deployable.cjs +2 -0
  90. package/dist/Deployable/Deployable.cjs.map +1 -0
  91. package/dist/Deployable/Deployable.d.ts +161 -0
  92. package/dist/Deployable/Deployable.d.ts.map +1 -0
  93. package/dist/Deployable/Deployable.js +131 -0
  94. package/dist/Deployable/Deployable.js.map +1 -0
  95. package/dist/Deployable/DeployableTarget.cjs +2 -0
  96. package/dist/Deployable/DeployableTarget.cjs.map +1 -0
  97. package/dist/Deployable/DeployableTarget.d.ts +116 -0
  98. package/dist/Deployable/DeployableTarget.d.ts.map +1 -0
  99. package/dist/Deployable/DeployableTarget.js +132 -0
  100. package/dist/Deployable/DeployableTarget.js.map +1 -0
  101. package/dist/Incentives/AllowListIncentive.cjs +2 -0
  102. package/dist/Incentives/AllowListIncentive.cjs.map +1 -0
  103. package/dist/Incentives/AllowListIncentive.d.ts +513 -0
  104. package/dist/Incentives/AllowListIncentive.d.ts.map +1 -0
  105. package/dist/Incentives/AllowListIncentive.js +201 -0
  106. package/dist/Incentives/AllowListIncentive.js.map +1 -0
  107. package/dist/Incentives/CGDAIncentive.cjs +2 -0
  108. package/dist/Incentives/CGDAIncentive.cjs.map +1 -0
  109. package/dist/Incentives/CGDAIncentive.d.ts +644 -0
  110. package/dist/Incentives/CGDAIncentive.d.ts.map +1 -0
  111. package/dist/Incentives/CGDAIncentive.js +271 -0
  112. package/dist/Incentives/CGDAIncentive.js.map +1 -0
  113. package/dist/Incentives/ERC1155Incentive.d.ts +713 -0
  114. package/dist/Incentives/ERC1155Incentive.d.ts.map +1 -0
  115. package/dist/Incentives/ERC20Incentive.cjs +2 -0
  116. package/dist/Incentives/ERC20Incentive.cjs.map +1 -0
  117. package/dist/Incentives/ERC20Incentive.d.ts +666 -0
  118. package/dist/Incentives/ERC20Incentive.d.ts.map +1 -0
  119. package/dist/Incentives/ERC20Incentive.js +312 -0
  120. package/dist/Incentives/ERC20Incentive.js.map +1 -0
  121. package/dist/Incentives/ERC20VariableIncentive.d.ts +582 -0
  122. package/dist/Incentives/ERC20VariableIncentive.d.ts.map +1 -0
  123. package/dist/Incentives/Incentive.cjs +2 -0
  124. package/dist/Incentives/Incentive.cjs.map +1 -0
  125. package/dist/Incentives/Incentive.d.ts +36 -0
  126. package/dist/Incentives/Incentive.d.ts.map +1 -0
  127. package/dist/Incentives/Incentive.js +299 -0
  128. package/dist/Incentives/Incentive.js.map +1 -0
  129. package/dist/Incentives/PointsIncentive.cjs +2 -0
  130. package/dist/Incentives/PointsIncentive.cjs.map +1 -0
  131. package/dist/Incentives/PointsIncentive.d.ts +659 -0
  132. package/dist/Incentives/PointsIncentive.d.ts.map +1 -0
  133. package/dist/Incentives/PointsIncentive.js +215 -0
  134. package/dist/Incentives/PointsIncentive.js.map +1 -0
  135. package/dist/Validators/SignerValidator.cjs +2 -0
  136. package/dist/Validators/SignerValidator.cjs.map +1 -0
  137. package/dist/Validators/SignerValidator.d.ts +745 -0
  138. package/dist/Validators/SignerValidator.d.ts.map +1 -0
  139. package/dist/Validators/SignerValidator.js +293 -0
  140. package/dist/Validators/SignerValidator.js.map +1 -0
  141. package/dist/Validators/Validator.cjs +2 -0
  142. package/dist/Validators/Validator.cjs.map +1 -0
  143. package/dist/Validators/Validator.d.ts +31 -0
  144. package/dist/Validators/Validator.d.ts.map +1 -0
  145. package/dist/Validators/Validator.js +27 -0
  146. package/dist/Validators/Validator.js.map +1 -0
  147. package/dist/claiming.cjs +2 -0
  148. package/dist/claiming.cjs.map +1 -0
  149. package/dist/claiming.d.ts +43 -0
  150. package/dist/claiming.d.ts.map +1 -0
  151. package/dist/claiming.js +17 -0
  152. package/dist/claiming.js.map +1 -0
  153. package/dist/componentInterfaces-CKCBwG16.cjs +2 -0
  154. package/dist/componentInterfaces-CKCBwG16.cjs.map +1 -0
  155. package/dist/componentInterfaces-DYkaxBda.js +13 -0
  156. package/dist/componentInterfaces-DYkaxBda.js.map +1 -0
  157. package/dist/errors.cjs +2 -0
  158. package/dist/errors.cjs.map +1 -0
  159. package/dist/errors.d.ts +441 -0
  160. package/dist/errors.d.ts.map +1 -0
  161. package/dist/errors.js +262 -0
  162. package/dist/errors.js.map +1 -0
  163. package/dist/generated-BDeDiaCK.js +4625 -0
  164. package/dist/generated-BDeDiaCK.js.map +1 -0
  165. package/dist/generated-wKBNvm48.cjs +3 -0
  166. package/dist/generated-wKBNvm48.cjs.map +1 -0
  167. package/dist/index.cjs +2 -0
  168. package/dist/index.cjs.map +1 -0
  169. package/dist/index.d.ts +25 -0
  170. package/dist/index.d.ts.map +1 -0
  171. package/dist/index.js +113 -0
  172. package/dist/index.js.map +1 -0
  173. package/dist/transfers.cjs +2 -0
  174. package/dist/transfers.cjs.map +1 -0
  175. package/dist/transfers.d.ts +198 -0
  176. package/dist/transfers.d.ts.map +1 -0
  177. package/dist/transfers.js +84 -0
  178. package/dist/transfers.js.map +1 -0
  179. package/dist/utils.cjs +2 -0
  180. package/dist/utils.cjs.map +1 -0
  181. package/dist/utils.d.ts +116 -0
  182. package/dist/utils.d.ts.map +1 -0
  183. package/dist/utils.js +30 -0
  184. package/dist/utils.js.map +1 -0
  185. package/package.json +211 -0
  186. package/src/Actions/Action.test.ts +75 -0
  187. package/src/Actions/Action.ts +61 -0
  188. package/src/Actions/ContractAction.test.ts +197 -0
  189. package/src/Actions/ContractAction.ts +301 -0
  190. package/src/Actions/ERC721MintAction.test.ts +112 -0
  191. package/src/Actions/ERC721MintAction.ts +292 -0
  192. package/src/Actions/EventAction.test.ts +205 -0
  193. package/src/Actions/EventAction.ts +811 -0
  194. package/src/AllowLists/AllowList.test.ts +64 -0
  195. package/src/AllowLists/AllowList.ts +60 -0
  196. package/src/AllowLists/SimpleAllowList.test.ts +52 -0
  197. package/src/AllowLists/SimpleAllowList.ts +284 -0
  198. package/src/AllowLists/SimpleDenyList.test.ts +52 -0
  199. package/src/AllowLists/SimpleDenyList.ts +227 -0
  200. package/src/Auth/Auth.ts +11 -0
  201. package/src/Auth/PassthroughAuth.test.ts +12 -0
  202. package/src/Auth/PassthroughAuth.ts +80 -0
  203. package/src/Boost.ts +290 -0
  204. package/src/BoostCore.test.ts +773 -0
  205. package/src/BoostCore.ts +1261 -0
  206. package/src/BoostRegistry.ts +467 -0
  207. package/src/Budgets/Budget.test.ts +27 -0
  208. package/src/Budgets/Budget.ts +61 -0
  209. package/src/Budgets/ManagedBudget.test.ts +154 -0
  210. package/src/Budgets/ManagedBudget.ts +796 -0
  211. package/src/Budgets/SimpleBudget.test.ts +152 -0
  212. package/src/Budgets/SimpleBudget.ts +564 -0
  213. package/src/Budgets/VestingBudget.test.ts +123 -0
  214. package/src/Budgets/VestingBudget.ts +602 -0
  215. package/src/Deployable/Contract.ts +229 -0
  216. package/src/Deployable/Deployable.ts +250 -0
  217. package/src/Deployable/DeployableTarget.ts +223 -0
  218. package/src/Incentives/AllowListIncentive.test.ts +143 -0
  219. package/src/Incentives/AllowListIncentive.ts +334 -0
  220. package/src/Incentives/CGDAIncentive.test.ts +132 -0
  221. package/src/Incentives/CGDAIncentive.ts +468 -0
  222. package/src/Incentives/ERC1155Incentive.test.ts +87 -0
  223. package/src/Incentives/ERC1155Incentive.ts +466 -0
  224. package/src/Incentives/ERC20Incentive.test.ts +130 -0
  225. package/src/Incentives/ERC20Incentive.ts +482 -0
  226. package/src/Incentives/ERC20VariableIncentive.test.ts +136 -0
  227. package/src/Incentives/ERC20VariableIncentive.ts +420 -0
  228. package/src/Incentives/Incentive.test.ts +92 -0
  229. package/src/Incentives/Incentive.ts +85 -0
  230. package/src/Incentives/PointsIncentive.test.ts +139 -0
  231. package/src/Incentives/PointsIncentive.ts +365 -0
  232. package/src/Validators/SignerValidator.test.ts +159 -0
  233. package/src/Validators/SignerValidator.ts +681 -0
  234. package/src/Validators/Validator.test.ts +21 -0
  235. package/src/Validators/Validator.ts +55 -0
  236. package/src/claiming.ts +56 -0
  237. package/src/errors.ts +542 -0
  238. package/src/index.test.ts +40 -0
  239. package/src/index.ts +53 -0
  240. package/src/transfers.ts +284 -0
  241. package/src/utils.test.ts +44 -0
  242. package/src/utils.ts +198 -0
@@ -0,0 +1,498 @@
1
+ import { boostCoreAbi, type iAuthAbi } from '@boostxyz/evm';
2
+ import { type Address, type ContractEventName, type Hex } from 'viem';
3
+ import { type Action } from './Actions/Action';
4
+ import { EventAction, type EventActionPayload } from './Actions/EventAction';
5
+ import { type AllowList } from './AllowLists/AllowList';
6
+ import { SimpleAllowList, type SimpleAllowListPayload } from './AllowLists/SimpleAllowList';
7
+ import { SimpleDenyList, type SimpleDenyListPayload } from './AllowLists/SimpleDenyList';
8
+ import { type Auth, PassthroughAuth } from './Auth/Auth';
9
+ import { Boost } from './Boost';
10
+ import { type Budget } from './Budgets/Budget';
11
+ import { ManagedBudget, type ManagedBudgetPayload } from './Budgets/ManagedBudget';
12
+ import { Deployable, type DeployableOptions, type DeployablePayloadOrAddress, type GenericDeployableParams } from './Deployable/Deployable';
13
+ import { AllowListIncentive, type AllowListIncentivePayload } from './Incentives/AllowListIncentive';
14
+ import { CGDAIncentive, type CGDAIncentivePayload } from './Incentives/CGDAIncentive';
15
+ import { ERC20Incentive, type ERC20IncentivePayload } from './Incentives/ERC20Incentive';
16
+ import type { ERC20VariableIncentivePayload } from './Incentives/ERC20VariableIncentive';
17
+ import { ERC20VariableIncentive, type Incentive } from './Incentives/Incentive';
18
+ import { PointsIncentive, type PointsIncentivePayload } from './Incentives/PointsIncentive';
19
+ import { SignerValidator, type SignerValidatorPayload } from './Validators/SignerValidator';
20
+ import { type Validator } from './Validators/Validator';
21
+ import type { GenericLog, ReadParams, WriteParams } from './utils';
22
+ export { boostCoreAbi };
23
+ /**
24
+ * The fee (in wei) required to claim each incentive, must be provided for the `claimIncentive` transaction
25
+ *
26
+ * @type {bigint}
27
+ */
28
+ export declare const BOOST_CORE_CLAIM_FEE: bigint;
29
+ /**
30
+ * The fixed address for the deployed Boost Core.
31
+ * By default, `new BoostCore` will use this address if not otherwise provided.
32
+ *
33
+ * @type {Address}
34
+ */
35
+ export declare const BOOST_CORE_ADDRESS: Address;
36
+ /**
37
+ * A generic `viem.Log` event with support for `BoostCore` event types.
38
+ *
39
+ * @export
40
+ * @typedef {BoostCoreLog}
41
+ * @template {ContractEventName<typeof boostCoreAbi>} [event=ContractEventName<
42
+ * typeof boostCoreAbi
43
+ * >]
44
+ */
45
+ export type BoostCoreLog<event extends ContractEventName<typeof boostCoreAbi> = ContractEventName<typeof boostCoreAbi>> = GenericLog<typeof boostCoreAbi, event>;
46
+ /**
47
+ * Boost Core instantiation options for a custom deployed instance.
48
+ *
49
+ * @export
50
+ * @interface BoostCoreDeployedOptions
51
+ * @typedef {BoostCoreDeployedOptions}
52
+ * @extends {DeployableOptions}
53
+ */
54
+ export interface BoostCoreDeployedOptions extends DeployableOptions {
55
+ /**
56
+ * The address of a deployed, custom Boost Core contract.
57
+ *
58
+ * @type {?Address}
59
+ */
60
+ address?: Address;
61
+ }
62
+ /**
63
+ * Boost Core instantiation options when a user intends to deploy a new instance of Boost Core, setting their own registry address and protocol fee receiver.
64
+ *
65
+ * @export
66
+ * @interface BoostCoreOptionsWithPayload
67
+ * @typedef {BoostCoreOptionsWithPayload}
68
+ * @extends {DeployableOptions}
69
+ */
70
+ export interface BoostCoreOptionsWithPayload extends DeployableOptions {
71
+ /**
72
+ * The address of a deployed Boost Registry contract.
73
+ *
74
+ * @type {Address}
75
+ */
76
+ registryAddress: Address;
77
+ /**
78
+ * The address to send fees.
79
+ *
80
+ * @type {Address}
81
+ */
82
+ protocolFeeReceiver: Address;
83
+ }
84
+ /**
85
+ * A union representing both of the valid Boost Core instantiation parameters.
86
+ *
87
+ * @export
88
+ * @typedef {BoostCoreConfig}
89
+ */
90
+ export type BoostCoreConfig = BoostCoreDeployedOptions | BoostCoreOptionsWithPayload;
91
+ /**
92
+ * The interface required to create a new Boost.
93
+ *
94
+ * @export
95
+ * @typedef {CreateBoostPayload}
96
+ */
97
+ export type CreateBoostPayload = {
98
+ budget: Budget;
99
+ action: Action;
100
+ validator: Validator;
101
+ allowList: AllowList;
102
+ incentives: Array<Incentive>;
103
+ protocolFee?: bigint;
104
+ referralFee?: bigint;
105
+ maxParticipants?: bigint;
106
+ owner?: Address;
107
+ };
108
+ /**
109
+ * The core contract for the Boost protocol. Used to create and retrieve deployed Boosts.
110
+ *
111
+ * @export
112
+ * @class BoostCore
113
+ * @typedef {BoostCore}
114
+ * @extends {Deployable<[Address, Address]>}
115
+ */
116
+ export declare class BoostCore extends Deployable<[
117
+ Address,
118
+ Address
119
+ ], typeof boostCoreAbi> {
120
+ /**
121
+ * Creates an instance of BoostCore.
122
+ *
123
+ * @constructor
124
+ * @param {BoostCoreConfig} param0
125
+ * @param {Config} param0.config
126
+ * @param {?Account} [param0.account]
127
+ * @param {({ address?: Address; } | { registryAddress: Address; protocolFeeReceiver: Address; })} param0....options
128
+ */
129
+ constructor({ config, account, ...options }: BoostCoreConfig);
130
+ /**
131
+ * Create a new Boost.
132
+ *
133
+ * @public
134
+ * @async
135
+ * @param {CreateBoostPayload} _boostPayload
136
+ * @param {?DeployableOptions} [_options]
137
+ * @returns {Boost}
138
+ */
139
+ createBoost(_boostPayload: CreateBoostPayload, _options?: DeployableOptions): Promise<Boost>;
140
+ /**
141
+ * Claims one incentive from a given `Boost` by `boostId` and `incentiveId`
142
+ *
143
+ * @public
144
+ * @async
145
+ * @param {bigint} boostId
146
+ * @param {bigint} incentiveId
147
+ * @param {Address} address
148
+ * @param {Hex} data
149
+ * @param {?WriteParams<typeof boostCoreAbi, 'claimIncentive'>} [params]
150
+ * @returns {unknown}
151
+ */
152
+ claimIncentive(boostId: bigint, incentiveId: bigint, address: Address, data: Hex, params?: WriteParams<typeof boostCoreAbi, 'claimIncentive'>): Promise<void>;
153
+ /**
154
+ * Claim an incentive for a Boost
155
+ *
156
+ * @public
157
+ * @async
158
+ * @param {bigint} boostId - The ID of the Boost
159
+ * @param {bigint} incentiveId - The ID of the Incentive
160
+ * @param {Address} referrer - The address of the referrer (if any)
161
+ * @param {Hex} data- The data for the claim
162
+ * @param {?WriteParams<typeof boostCoreAbi, 'claimIncentive'>} [params]
163
+ * @returns {unknown}
164
+ */
165
+ claimIncentiveRaw(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, params?: WriteParams<typeof boostCoreAbi, 'claimIncentive'>): Promise<{
166
+ hash: `0x${string}`;
167
+ result: void;
168
+ }>;
169
+ /**
170
+ * Claims one incentive for a given `Boost` on behalf of another user by `boostId` and `incentiveId`
171
+ *
172
+ * @public
173
+ * @async
174
+ * @param {bigint} boostId
175
+ * @param {bigint} incentiveId
176
+ * @param {Address} referrer
177
+ * @param {Hex} data
178
+ * @param {Address} claimant
179
+ * @param {?WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>} [params]
180
+ * @returns {unknown}
181
+ */
182
+ claimIncentiveFor(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, claimant: Address, params?: WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>): Promise<void>;
183
+ /**
184
+ * Claim an incentive for a Boost on behalf of another user
185
+ *
186
+ * @public
187
+ * @async
188
+ * @param {bigint} boostId - The ID of the Boost
189
+ * @param {bigint} incentiveId - The ID of the Incentive
190
+ * @param {Address} referrer - The address of the referrer (if any)
191
+ * @param {Hex} data - The data for the claim
192
+ * @param {Address} claimant - The address of the user eligible for the incentive payout
193
+ * @param {?WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>} [params]
194
+ * @returns {unknown}
195
+ */
196
+ claimIncentiveForRaw(boostId: bigint, incentiveId: bigint, referrer: Address, data: Hex, claimant: Address, params?: WriteParams<typeof boostCoreAbi, 'claimIncentiveFor'>): Promise<{
197
+ hash: `0x${string}`;
198
+ result: void;
199
+ }>;
200
+ /**
201
+ * Get a Boost by index, will return the raw on chain representation of a Boost.
202
+ *
203
+ * @public
204
+ * @async
205
+ * @param {bigint} id
206
+ * @param {?ReadParams<typeof boostCoreAbi, 'getBoost'>} [params]
207
+ * @returns {unknown}
208
+ */
209
+ readBoost(id: bigint, params?: ReadParams<typeof boostCoreAbi, 'getBoost'>): Promise<{
210
+ action: `0x${string}`;
211
+ validator: `0x${string}`;
212
+ allowList: `0x${string}`;
213
+ budget: `0x${string}`;
214
+ incentives: readonly `0x${string}`[];
215
+ protocolFee: bigint;
216
+ referralFee: bigint;
217
+ maxParticipants: bigint;
218
+ owner: `0x${string}`;
219
+ }>;
220
+ /**
221
+ * Get a Boost by index, will return a new {@link Boost} with correct target implementations instantiated, ie `(await core.getBoost(0n)).allowList instanceof SimpleAllowList` vs `SimpleDenyList`
222
+ *
223
+ * @public
224
+ * @async
225
+ * @param {(string | bigint)} _id
226
+ * @param {?ReadParams<typeof boostCoreAbi, 'getBoost'>} [params]
227
+ * @returns {unknown}
228
+ */
229
+ getBoost(_id: string | bigint, params?: ReadParams<typeof boostCoreAbi, 'getBoost'>): Promise<Boost>;
230
+ /**
231
+ * Retrieve the total number of deployed Boosts
232
+ *
233
+ * @public
234
+ * @async
235
+ * @param {?ReadParams<typeof boostCoreAbi, 'getBoostCount'>} [params]
236
+ * @returns {Promise<bigint>}
237
+ */
238
+ getBoostCount(params?: ReadParams<typeof boostCoreAbi, 'getBoostCount'>): Promise<bigint>;
239
+ /**
240
+ * Checks if an address is authorized
241
+ *
242
+ * @public
243
+ * @async
244
+ * @param {Address} address
245
+ * @param {?ReadParams<typeof boostCoreAbi, 'createBoostAuth'> &
246
+ * ReadParams<typeof iAuthAbi, 'isAuthorized'>} [params]
247
+ * @returns {Promise<boolean>}
248
+ */
249
+ isAuthorized(address: Address, params?: ReadParams<typeof boostCoreAbi, 'createBoostAuth'> & ReadParams<typeof iAuthAbi, 'isAuthorized'>): Promise<boolean>;
250
+ /**
251
+ * Retrieve the address of the current creation auth provider.
252
+ *
253
+ * @public
254
+ * @async
255
+ * @param {?ReadParams<typeof boostCoreAbi, 'createBoostAuth'>} [params]
256
+ * @returns {unknown}
257
+ */
258
+ createBoostAuth(params?: ReadParams<typeof boostCoreAbi, 'createBoostAuth'>): Promise<`0x${string}`>;
259
+ /**
260
+ * Replace the current auth scheme.
261
+ *
262
+ * @public
263
+ * @async
264
+ * @param {Auth} auth
265
+ * @param {?WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>} [params]
266
+ * @returns {unknown}
267
+ */
268
+ setCreateBoostAuth(auth: Auth, params?: WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>): Promise<void>;
269
+ /**
270
+ * Set the createBoostAuth address
271
+ *
272
+ * @public
273
+ * @async
274
+ * @param {Address} address
275
+ * @param {?WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>} [params]
276
+ * @returns {unknown}
277
+ */
278
+ setCreateBoostAuthRaw(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setCreateBoostAuth'>): Promise<{
279
+ hash: `0x${string}`;
280
+ result: void;
281
+ }>;
282
+ /**
283
+ * Get the protocol fee.
284
+ *
285
+ * @public
286
+ * @async
287
+ * @param {?ReadParams<typeof boostCoreAbi, 'protocolFee'>} [params]
288
+ * @returns {unknown}
289
+ */
290
+ protocolFee(params?: ReadParams<typeof boostCoreAbi, 'protocolFee'>): Promise<bigint>;
291
+ /**
292
+ * Get the protocol fee receiver.
293
+ *
294
+ * @public
295
+ * @async
296
+ * @param {?ReadParams<typeof boostCoreAbi, 'protocolFeeReceiver'>} [params]
297
+ * @returns {unknown}
298
+ */
299
+ protocolFeeReceiver(params?: ReadParams<typeof boostCoreAbi, 'protocolFeeReceiver'>): Promise<`0x${string}`>;
300
+ /**
301
+ * Set the protocol fee receiver address. This function is only callable by the owner.
302
+ *
303
+ * @public
304
+ * @async
305
+ * @param {Address} address
306
+ * @param {?WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>} [params]
307
+ * @returns {unknown}
308
+ */
309
+ setProcolFeeReceiver(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>): Promise<void>;
310
+ /**
311
+ * Set the protocol fee receiver address. This function is only callable by the owner.
312
+ *
313
+ * @public
314
+ * @async
315
+ * @param {Address} address
316
+ * @param {?WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>} [params]
317
+ * @returns {unknown}
318
+ */
319
+ setProcolFeeReceiverRaw(address: Address, params?: WriteParams<typeof boostCoreAbi, 'setProtocolFeeReceiver'>): Promise<{
320
+ hash: `0x${string}`;
321
+ result: void;
322
+ }>;
323
+ /**
324
+ * Get the claim fee.
325
+ *
326
+ * @public
327
+ * @async
328
+ * @param {?ReadParams<typeof boostCoreAbi, 'claimFee'>} [params]
329
+ * @returns {unknown}
330
+ */
331
+ claimFee(params?: ReadParams<typeof boostCoreAbi, 'claimFee'>): Promise<bigint>;
332
+ /**
333
+ * Sets the claim fee.
334
+ *
335
+ * @public
336
+ * @async
337
+ * @param {bigint} claimFee
338
+ * @param {?WriteParams<typeof boostCoreAbi, 'setClaimFee'>} [params]
339
+ * @returns {unknown}
340
+ */
341
+ setClaimFee(claimFee: bigint, params?: WriteParams<typeof boostCoreAbi, 'setClaimFee'>): Promise<void>;
342
+ /**
343
+ * Sets the claim fee.
344
+ *
345
+ * @public
346
+ * @async
347
+ * @param {bigint} claimFee
348
+ * @param {?WriteParams<typeof boostCoreAbi, 'setClaimFee'>} [params]
349
+ * @returns {unknown}
350
+ */
351
+ setClaimFeeRaw(claimFee: bigint, params?: WriteParams<typeof boostCoreAbi, 'setClaimFee'>): Promise<{
352
+ hash: `0x${string}`;
353
+ result: void;
354
+ }>;
355
+ /**
356
+ * Bound {@link PassthroughAuth} constructor that reuses the same configuration as the Boost Core instance.
357
+ *
358
+ * @example
359
+ * ```ts
360
+ * const auth = core.PassthroughAuth('0x') // is roughly equivalent to
361
+ * const auth = new PassthroughAuth({ config: core._config, account: core._account }, '0x')
362
+ * ```
363
+ * @param {Address} address
364
+ * @returns {PassthroughAuth}
365
+ */
366
+ PassthroughAuth(address?: Address): PassthroughAuth;
367
+ /**
368
+ * Bound {@link EventAction} constructor that reuses the same configuration as the Boost Core instance.
369
+ *
370
+ * @example
371
+ * ```ts
372
+ * const action = core.EventAction('0x') // is roughly equivalent to
373
+ * const action = new EventAction({ config: core._config, account: core._account }, '0x')
374
+ */
375
+ EventAction(options: DeployablePayloadOrAddress<EventActionPayload>, isBase?: boolean): EventAction;
376
+ /**
377
+ * Bound {@link SimpleAllowList} constructor that reuses the same configuration as the Boost Core instance.
378
+ *
379
+ * @example
380
+ * ```ts
381
+ * const list = core.SimpleAllowList('0x') // is roughly equivalent to
382
+ * const list = new SimpleAllowList({ config: core._config, account: core._account }, '0x')
383
+ * ```
384
+ * @param {DeployablePayloadOrAddress<SimpleAllowListPayload>} options
385
+ * @param {?boolean} [isBase]
386
+ * @returns {SimpleAllowList}
387
+ */
388
+ SimpleAllowList(options: DeployablePayloadOrAddress<SimpleAllowListPayload>, isBase?: boolean): SimpleAllowList;
389
+ /**
390
+ * Bound {@link SimpleDenyList} constructor that reuses the same configuration as the Boost Core instance.
391
+ *
392
+ * @example
393
+ * ```ts
394
+ * const list = core.SimpleDenyList('0x') // is roughly equivalent to
395
+ * const list = new SimpleDenyList({ config: core._config, account: core._account }, '0x')
396
+ * ```
397
+ * @param {DeployablePayloadOrAddress<SimpleDenyListPayload>} options
398
+ * @param {?boolean} [isBase]
399
+ * @returns {SimpleDenyList}
400
+ */
401
+ SimpleDenyList(options: DeployablePayloadOrAddress<SimpleDenyListPayload>, isBase?: boolean): SimpleDenyList;
402
+ /**
403
+ * Bound {@link ManagedBudget} constructor that reuses the same configuration as the Boost Core instance.
404
+ *
405
+ * @example
406
+ * ```ts
407
+ * const budget = core.ManagedBudget('0x') // is roughly equivalent to
408
+ * const budget = new ManagedBudget({ config: core._config, account: core._account }, '0x')
409
+ * ```
410
+ * @param {DeployablePayloadOrAddress<ManagedBudgetPayload>} options
411
+ * @returns {ManagedBudget}
412
+ */
413
+ ManagedBudget(options: DeployablePayloadOrAddress<ManagedBudgetPayload>): ManagedBudget;
414
+ /**
415
+ * Bound {@link AllowListIncentive} constructor that reuses the same configuration as the Boost Core instance.
416
+ *
417
+ * @example
418
+ * ```ts
419
+ * const incentive = core.AllowListIncentive({ ... }) // is roughly equivalent to
420
+ * const incentive = new AllowListIncentive({ config: core._config, account: core._account }, { ... })
421
+ * ```
422
+ * @param {DeployablePayloadOrAddress<VestingBudgetPayload>} options
423
+ * @returns {VestingBudget}
424
+ */
425
+ AllowListIncentive(options: AllowListIncentivePayload): AllowListIncentive;
426
+ /**
427
+ * Bound {@link CGDAIncentive} constructor that reuses the same configuration as the Boost Core instance.
428
+ *
429
+ * @example
430
+ * ```ts
431
+ * const incentive = core.CGDAIncentive({ ... }) // is roughly equivalent to
432
+ * const incentive = new CGDAIncentive({ config: core._config, account: core._account }, { ... })
433
+ * ```
434
+ * @param {CGDAIncentivePayload} options
435
+ * @returns {CGDAIncentive}
436
+ */
437
+ CGDAIncentive(options: CGDAIncentivePayload): CGDAIncentive;
438
+ /**
439
+ * Bound {@link ERC20Incentive} constructor that reuses the same configuration as the Boost Core instance.
440
+ *
441
+ * @example
442
+ * ```ts
443
+ * const incentive = core.ERC20Incentive({ ... }) // is roughly equivalent to
444
+ * const incentive = new ERC20Incentive({ config: core._config, account: core._account }, { ... })
445
+ * ```
446
+ * @param {ERC20IncentivePayload} options
447
+ * @returns {ERC20Incentive}
448
+ */
449
+ ERC20Incentive(options: ERC20IncentivePayload): ERC20Incentive;
450
+ /**
451
+ * Bound {@link PointsIncentive} constructor that reuses the same configuration as the Boost Core instance.
452
+ *
453
+ * @example
454
+ * ```ts
455
+ * const incentive = core.PointsIncentive({ ... }) // is roughly equivalent to
456
+ * const incentive = new PointsIncentive({ config: core._config, account: core._account }, { ... })
457
+ * ```
458
+ * @param {PointsIncentivePayload} options
459
+ * @returns {PointsIncentive}
460
+ */
461
+ PointsIncentive(options: PointsIncentivePayload): PointsIncentive;
462
+ /**
463
+ * Bound {@link SignerValidator} constructor that reuses the same configuration as the Boost Core instance.
464
+ *
465
+ * @example
466
+ * ```ts
467
+ * const validator = core.SignerValidator({ ... }) // is roughly equivalent to
468
+ * const validator = new SignerValidator({ config: core._config, account: core._account }, { ... })
469
+ * ```
470
+ * @param {DeployablePayloadOrAddress<SignerValidatorPayload>} options
471
+ * @param {?boolean} [isBase]
472
+ * @returns {SignerValidator}
473
+ */
474
+ SignerValidator(options: DeployablePayloadOrAddress<SignerValidatorPayload>, isBase?: boolean): SignerValidator;
475
+ /**
476
+ * Bound {@link ERC20VariableIncentive} constructor that reuses the same configuration as the Boost Core instance.
477
+ *
478
+ * @example
479
+ * ```ts
480
+ * const validator = core.ERC20VariableIncentive({ ... }) // is roughly equivalent to
481
+ * const validator = new ERC20VariableIncentive({ config: core._config, account: core._account }, { ... })
482
+ * ```
483
+ * @param {DeployablePayloadOrAddress<ERC20VariableIncentivePayload>} options
484
+ * @param {?boolean} [isBase]
485
+ * @returns {ERC20VariableIncentive}
486
+ */
487
+ ERC20VariableIncentive(options: DeployablePayloadOrAddress<ERC20VariableIncentivePayload>, isBase?: boolean): ERC20VariableIncentive;
488
+ /**
489
+ * @inheritdoc
490
+ *
491
+ * @public
492
+ * @param {?[Address, Address]} [_payload]
493
+ * @param {?DeployableOptions} [_options]
494
+ * @returns {GenericDeployableParams}
495
+ */
496
+ buildParameters(_payload?: [Address, Address], _options?: DeployableOptions): GenericDeployableParams;
497
+ }
498
+ //# sourceMappingURL=BoostCore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoostCore.d.ts","sourceRoot":"","sources":["../src/BoostCore.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,QAAQ,EAkBd,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,GAAG,EAKT,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EACL,eAAe,EACf,KAAK,sBAAsB,EAC5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,cAAc,EACd,KAAK,qBAAqB,EAC3B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,IAAI,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EACL,KAAK,EAIN,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,kBAAkB,CAAC;AAClE,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cA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