@merkl/contracts 0.10.15 → 0.10.16
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/src/BeefyRewardPool.d.ts +643 -0
- package/dist/src/BeefyRewardPool.js +2 -0
- package/dist/src/BeefyRewardPool.js.map +1 -0
- package/dist/src/BeefyRewardPoolFactory.d.ts +279 -0
- package/dist/src/BeefyRewardPoolFactory.js +2 -0
- package/dist/src/BeefyRewardPoolFactory.js.map +1 -0
- package/dist/src/BeefyStrategy.d.ts +1198 -0
- package/dist/src/BeefyStrategy.js +2 -0
- package/dist/src/BeefyStrategy.js.map +1 -0
- package/dist/src/BeefyStrategyFactory.d.ts +424 -0
- package/dist/src/BeefyStrategyFactory.js +2 -0
- package/dist/src/BeefyStrategyFactory.js.map +1 -0
- package/dist/src/factories/BeefyRewardPoolFactory__factory.d.ts +291 -0
- package/dist/src/factories/BeefyRewardPoolFactory__factory.js +382 -0
- package/dist/src/factories/BeefyRewardPoolFactory__factory.js.map +1 -0
- package/dist/src/factories/BeefyRewardPool__factory.d.ts +685 -0
- package/dist/src/factories/BeefyRewardPool__factory.js +889 -0
- package/dist/src/factories/BeefyRewardPool__factory.js.map +1 -0
- package/dist/src/factories/BeefyStrategyFactory__factory.d.ts +416 -0
- package/dist/src/factories/BeefyStrategyFactory__factory.js +542 -0
- package/dist/src/factories/BeefyStrategyFactory__factory.js.map +1 -0
- package/dist/src/factories/BeefyStrategy__factory.d.ts +1119 -0
- package/dist/src/factories/BeefyStrategy__factory.js +1439 -0
- package/dist/src/factories/BeefyStrategy__factory.js.map +1 -0
- package/dist/src/factories/index.d.ts +4 -0
- package/dist/src/factories/index.js +4 -0
- package/dist/src/factories/index.js.map +1 -1
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +8 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer } from "ethers";
|
|
5
|
+
import type { Provider } from "@ethersproject/providers";
|
|
6
|
+
import type { BeefyRewardPoolFactory, BeefyRewardPoolFactoryInterface } from "../BeefyRewardPoolFactory";
|
|
7
|
+
export declare class BeefyRewardPoolFactory__factory {
|
|
8
|
+
static readonly abi: readonly [{
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "_keeper";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "nonpayable";
|
|
15
|
+
readonly type: "constructor";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "IsImmutable";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "NotManager";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
readonly name: "owner";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "OwnableInvalidOwner";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "account";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "VersionExists";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly anonymous: false;
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly indexed: false;
|
|
48
|
+
readonly internalType: "string";
|
|
49
|
+
readonly name: "RewardPoolName";
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
}, {
|
|
52
|
+
readonly indexed: false;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "newImplementation";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "InstanceUpgraded";
|
|
58
|
+
readonly type: "event";
|
|
59
|
+
}, {
|
|
60
|
+
readonly anonymous: false;
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly indexed: false;
|
|
63
|
+
readonly internalType: "string";
|
|
64
|
+
readonly name: "rewardPoolName";
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
}, {
|
|
67
|
+
readonly indexed: false;
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
readonly name: "implementation";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "NewRewardPoolAdded";
|
|
73
|
+
readonly type: "event";
|
|
74
|
+
}, {
|
|
75
|
+
readonly anonymous: false;
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "previousOwner";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: true;
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "newOwner";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "OwnershipTransferred";
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly anonymous: false;
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly indexed: false;
|
|
93
|
+
readonly internalType: "string";
|
|
94
|
+
readonly name: "rewardPoolName";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
}, {
|
|
97
|
+
readonly indexed: false;
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "proxy";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "ProxyCreated";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "string";
|
|
109
|
+
readonly name: "rewardPoolName";
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "RewardPoolIsImmutable";
|
|
113
|
+
readonly type: "event";
|
|
114
|
+
}, {
|
|
115
|
+
readonly anonymous: false;
|
|
116
|
+
readonly inputs: readonly [{
|
|
117
|
+
readonly indexed: false;
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "keeper";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "SetKeeper";
|
|
123
|
+
readonly type: "event";
|
|
124
|
+
}, {
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly internalType: "string";
|
|
127
|
+
readonly name: "_rewardPoolName";
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
}];
|
|
130
|
+
readonly name: "SetRewardPoolTypeImmutable";
|
|
131
|
+
readonly outputs: readonly [];
|
|
132
|
+
readonly stateMutability: "nonpayable";
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly internalType: "string";
|
|
137
|
+
readonly name: "_rewardPoolName";
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
}, {
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "_implementation";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "addRewardPool";
|
|
145
|
+
readonly outputs: readonly [];
|
|
146
|
+
readonly stateMutability: "nonpayable";
|
|
147
|
+
readonly type: "function";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly internalType: "string";
|
|
151
|
+
readonly name: "_rewardPoolName";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
}];
|
|
154
|
+
readonly name: "createRewardPool";
|
|
155
|
+
readonly outputs: readonly [{
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly name: "";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}];
|
|
160
|
+
readonly stateMutability: "nonpayable";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "string";
|
|
165
|
+
readonly name: "_rewardPoolName";
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
}];
|
|
168
|
+
readonly name: "getImplementation";
|
|
169
|
+
readonly outputs: readonly [{
|
|
170
|
+
readonly internalType: "address";
|
|
171
|
+
readonly name: "";
|
|
172
|
+
readonly type: "address";
|
|
173
|
+
}];
|
|
174
|
+
readonly stateMutability: "view";
|
|
175
|
+
readonly type: "function";
|
|
176
|
+
}, {
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
readonly name: "getRewardPoolTypes";
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly internalType: "string[]";
|
|
181
|
+
readonly name: "";
|
|
182
|
+
readonly type: "string[]";
|
|
183
|
+
}];
|
|
184
|
+
readonly stateMutability: "view";
|
|
185
|
+
readonly type: "function";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [{
|
|
188
|
+
readonly internalType: "string";
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "string";
|
|
191
|
+
}];
|
|
192
|
+
readonly name: "instances";
|
|
193
|
+
readonly outputs: readonly [{
|
|
194
|
+
readonly internalType: "contract UpgradeableBeacon";
|
|
195
|
+
readonly name: "";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
}];
|
|
198
|
+
readonly stateMutability: "view";
|
|
199
|
+
readonly type: "function";
|
|
200
|
+
}, {
|
|
201
|
+
readonly inputs: readonly [{
|
|
202
|
+
readonly internalType: "string";
|
|
203
|
+
readonly name: "";
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
}];
|
|
206
|
+
readonly name: "isImmutable";
|
|
207
|
+
readonly outputs: readonly [{
|
|
208
|
+
readonly internalType: "bool";
|
|
209
|
+
readonly name: "";
|
|
210
|
+
readonly type: "bool";
|
|
211
|
+
}];
|
|
212
|
+
readonly stateMutability: "view";
|
|
213
|
+
readonly type: "function";
|
|
214
|
+
}, {
|
|
215
|
+
readonly inputs: readonly [];
|
|
216
|
+
readonly name: "keeper";
|
|
217
|
+
readonly outputs: readonly [{
|
|
218
|
+
readonly internalType: "address";
|
|
219
|
+
readonly name: "";
|
|
220
|
+
readonly type: "address";
|
|
221
|
+
}];
|
|
222
|
+
readonly stateMutability: "view";
|
|
223
|
+
readonly type: "function";
|
|
224
|
+
}, {
|
|
225
|
+
readonly inputs: readonly [];
|
|
226
|
+
readonly name: "owner";
|
|
227
|
+
readonly outputs: readonly [{
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}];
|
|
232
|
+
readonly stateMutability: "view";
|
|
233
|
+
readonly type: "function";
|
|
234
|
+
}, {
|
|
235
|
+
readonly inputs: readonly [];
|
|
236
|
+
readonly name: "renounceOwnership";
|
|
237
|
+
readonly outputs: readonly [];
|
|
238
|
+
readonly stateMutability: "nonpayable";
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
}, {
|
|
241
|
+
readonly inputs: readonly [{
|
|
242
|
+
readonly internalType: "uint256";
|
|
243
|
+
readonly name: "";
|
|
244
|
+
readonly type: "uint256";
|
|
245
|
+
}];
|
|
246
|
+
readonly name: "rewardPoolTypes";
|
|
247
|
+
readonly outputs: readonly [{
|
|
248
|
+
readonly internalType: "string";
|
|
249
|
+
readonly name: "";
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
}];
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly internalType: "address";
|
|
257
|
+
readonly name: "_keeper";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "setKeeper";
|
|
261
|
+
readonly outputs: readonly [];
|
|
262
|
+
readonly stateMutability: "nonpayable";
|
|
263
|
+
readonly type: "function";
|
|
264
|
+
}, {
|
|
265
|
+
readonly inputs: readonly [{
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "newOwner";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "transferOwnership";
|
|
271
|
+
readonly outputs: readonly [];
|
|
272
|
+
readonly stateMutability: "nonpayable";
|
|
273
|
+
readonly type: "function";
|
|
274
|
+
}, {
|
|
275
|
+
readonly inputs: readonly [{
|
|
276
|
+
readonly internalType: "string";
|
|
277
|
+
readonly name: "_rewardPoolName";
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "_newImplementation";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}];
|
|
284
|
+
readonly name: "upgradeTo";
|
|
285
|
+
readonly outputs: readonly [];
|
|
286
|
+
readonly stateMutability: "nonpayable";
|
|
287
|
+
readonly type: "function";
|
|
288
|
+
}];
|
|
289
|
+
static createInterface(): BeefyRewardPoolFactoryInterface;
|
|
290
|
+
static connect(address: string, signerOrProvider: Signer | Provider): BeefyRewardPoolFactory;
|
|
291
|
+
}
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Contract, utils } from "ethers";
|
|
5
|
+
const _abi = [
|
|
6
|
+
{
|
|
7
|
+
inputs: [
|
|
8
|
+
{
|
|
9
|
+
internalType: "address",
|
|
10
|
+
name: "_keeper",
|
|
11
|
+
type: "address",
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
type: "constructor",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "IsImmutable",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [],
|
|
24
|
+
name: "NotManager",
|
|
25
|
+
type: "error",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
inputs: [
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "owner",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
name: "OwnableInvalidOwner",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "address",
|
|
42
|
+
name: "account",
|
|
43
|
+
type: "address",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
name: "OwnableUnauthorizedAccount",
|
|
47
|
+
type: "error",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [],
|
|
51
|
+
name: "VersionExists",
|
|
52
|
+
type: "error",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
anonymous: false,
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
indexed: false,
|
|
59
|
+
internalType: "string",
|
|
60
|
+
name: "RewardPoolName",
|
|
61
|
+
type: "string",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
indexed: false,
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "newImplementation",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "InstanceUpgraded",
|
|
71
|
+
type: "event",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
anonymous: false,
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
indexed: false,
|
|
78
|
+
internalType: "string",
|
|
79
|
+
name: "rewardPoolName",
|
|
80
|
+
type: "string",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
indexed: false,
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "implementation",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "NewRewardPoolAdded",
|
|
90
|
+
type: "event",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
anonymous: false,
|
|
94
|
+
inputs: [
|
|
95
|
+
{
|
|
96
|
+
indexed: true,
|
|
97
|
+
internalType: "address",
|
|
98
|
+
name: "previousOwner",
|
|
99
|
+
type: "address",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: true,
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "newOwner",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "OwnershipTransferred",
|
|
109
|
+
type: "event",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
anonymous: false,
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
indexed: false,
|
|
116
|
+
internalType: "string",
|
|
117
|
+
name: "rewardPoolName",
|
|
118
|
+
type: "string",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
indexed: false,
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "proxy",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "ProxyCreated",
|
|
128
|
+
type: "event",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
anonymous: false,
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
indexed: false,
|
|
135
|
+
internalType: "string",
|
|
136
|
+
name: "rewardPoolName",
|
|
137
|
+
type: "string",
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
name: "RewardPoolIsImmutable",
|
|
141
|
+
type: "event",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
anonymous: false,
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
indexed: false,
|
|
148
|
+
internalType: "address",
|
|
149
|
+
name: "keeper",
|
|
150
|
+
type: "address",
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
name: "SetKeeper",
|
|
154
|
+
type: "event",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
inputs: [
|
|
158
|
+
{
|
|
159
|
+
internalType: "string",
|
|
160
|
+
name: "_rewardPoolName",
|
|
161
|
+
type: "string",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
name: "SetRewardPoolTypeImmutable",
|
|
165
|
+
outputs: [],
|
|
166
|
+
stateMutability: "nonpayable",
|
|
167
|
+
type: "function",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
inputs: [
|
|
171
|
+
{
|
|
172
|
+
internalType: "string",
|
|
173
|
+
name: "_rewardPoolName",
|
|
174
|
+
type: "string",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "_implementation",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
name: "addRewardPool",
|
|
183
|
+
outputs: [],
|
|
184
|
+
stateMutability: "nonpayable",
|
|
185
|
+
type: "function",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
inputs: [
|
|
189
|
+
{
|
|
190
|
+
internalType: "string",
|
|
191
|
+
name: "_rewardPoolName",
|
|
192
|
+
type: "string",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
name: "createRewardPool",
|
|
196
|
+
outputs: [
|
|
197
|
+
{
|
|
198
|
+
internalType: "address",
|
|
199
|
+
name: "",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
stateMutability: "nonpayable",
|
|
204
|
+
type: "function",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [
|
|
208
|
+
{
|
|
209
|
+
internalType: "string",
|
|
210
|
+
name: "_rewardPoolName",
|
|
211
|
+
type: "string",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
name: "getImplementation",
|
|
215
|
+
outputs: [
|
|
216
|
+
{
|
|
217
|
+
internalType: "address",
|
|
218
|
+
name: "",
|
|
219
|
+
type: "address",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
stateMutability: "view",
|
|
223
|
+
type: "function",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
inputs: [],
|
|
227
|
+
name: "getRewardPoolTypes",
|
|
228
|
+
outputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "string[]",
|
|
231
|
+
name: "",
|
|
232
|
+
type: "string[]",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
stateMutability: "view",
|
|
236
|
+
type: "function",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [
|
|
240
|
+
{
|
|
241
|
+
internalType: "string",
|
|
242
|
+
name: "",
|
|
243
|
+
type: "string",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
name: "instances",
|
|
247
|
+
outputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "contract UpgradeableBeacon",
|
|
250
|
+
name: "",
|
|
251
|
+
type: "address",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
stateMutability: "view",
|
|
255
|
+
type: "function",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "string",
|
|
261
|
+
name: "",
|
|
262
|
+
type: "string",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "isImmutable",
|
|
266
|
+
outputs: [
|
|
267
|
+
{
|
|
268
|
+
internalType: "bool",
|
|
269
|
+
name: "",
|
|
270
|
+
type: "bool",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
stateMutability: "view",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [],
|
|
278
|
+
name: "keeper",
|
|
279
|
+
outputs: [
|
|
280
|
+
{
|
|
281
|
+
internalType: "address",
|
|
282
|
+
name: "",
|
|
283
|
+
type: "address",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
stateMutability: "view",
|
|
287
|
+
type: "function",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
inputs: [],
|
|
291
|
+
name: "owner",
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
stateMutability: "view",
|
|
300
|
+
type: "function",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [],
|
|
304
|
+
name: "renounceOwnership",
|
|
305
|
+
outputs: [],
|
|
306
|
+
stateMutability: "nonpayable",
|
|
307
|
+
type: "function",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
inputs: [
|
|
311
|
+
{
|
|
312
|
+
internalType: "uint256",
|
|
313
|
+
name: "",
|
|
314
|
+
type: "uint256",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
name: "rewardPoolTypes",
|
|
318
|
+
outputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "string",
|
|
321
|
+
name: "",
|
|
322
|
+
type: "string",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
stateMutability: "view",
|
|
326
|
+
type: "function",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
inputs: [
|
|
330
|
+
{
|
|
331
|
+
internalType: "address",
|
|
332
|
+
name: "_keeper",
|
|
333
|
+
type: "address",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
name: "setKeeper",
|
|
337
|
+
outputs: [],
|
|
338
|
+
stateMutability: "nonpayable",
|
|
339
|
+
type: "function",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
inputs: [
|
|
343
|
+
{
|
|
344
|
+
internalType: "address",
|
|
345
|
+
name: "newOwner",
|
|
346
|
+
type: "address",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
name: "transferOwnership",
|
|
350
|
+
outputs: [],
|
|
351
|
+
stateMutability: "nonpayable",
|
|
352
|
+
type: "function",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
inputs: [
|
|
356
|
+
{
|
|
357
|
+
internalType: "string",
|
|
358
|
+
name: "_rewardPoolName",
|
|
359
|
+
type: "string",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
internalType: "address",
|
|
363
|
+
name: "_newImplementation",
|
|
364
|
+
type: "address",
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
name: "upgradeTo",
|
|
368
|
+
outputs: [],
|
|
369
|
+
stateMutability: "nonpayable",
|
|
370
|
+
type: "function",
|
|
371
|
+
},
|
|
372
|
+
];
|
|
373
|
+
export class BeefyRewardPoolFactory__factory {
|
|
374
|
+
static abi = _abi;
|
|
375
|
+
static createInterface() {
|
|
376
|
+
return new utils.Interface(_abi);
|
|
377
|
+
}
|
|
378
|
+
static connect(address, signerOrProvider) {
|
|
379
|
+
return new Contract(address, _abi, signerOrProvider);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
//# sourceMappingURL=BeefyRewardPoolFactory__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BeefyRewardPoolFactory__factory.js","sourceRoot":"","sources":["../../../src/factories/BeefyRewardPoolFactory__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AAEpB,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,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