@pancakeswap/pools 4.0.9 → 4.0.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 (63) hide show
  1. package/dist/constants/contracts.d.ts +9 -0
  2. package/dist/constants/contracts.d.ts.map +1 -1
  3. package/dist/constants/pools/1101.d.ts +5 -0
  4. package/dist/constants/pools/1101.d.ts.map +1 -0
  5. package/dist/constants/pools/1442.d.ts +5 -0
  6. package/dist/constants/pools/1442.d.ts.map +1 -0
  7. package/dist/constants/pools/56.d.ts.map +1 -1
  8. package/dist/constants/pools/59140.d.ts +5 -0
  9. package/dist/constants/pools/59140.d.ts.map +1 -0
  10. package/dist/constants/pools/59144.d.ts +5 -0
  11. package/dist/constants/pools/59144.d.ts.map +1 -0
  12. package/dist/constants/pools/8453.d.ts +5 -0
  13. package/dist/constants/pools/8453.d.ts.map +1 -0
  14. package/dist/constants/pools/84531.d.ts +5 -0
  15. package/dist/constants/pools/84531.d.ts.map +1 -0
  16. package/dist/constants/pools/index.d.ts +2 -2
  17. package/dist/constants/pools/index.d.ts.map +1 -1
  18. package/dist/constants/supportedChains.d.ts +1 -1
  19. package/dist/constants/supportedChains.d.ts.map +1 -1
  20. package/dist/index.js +208 -16
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.mjs +209 -17
  23. package/dist/index.mjs.map +1 -1
  24. package/package.json +6 -3
  25. package/.turbo/turbo-build.log +0 -18
  26. package/CHANGELOG.md +0 -140
  27. package/src/abis/ICake.ts +0 -59
  28. package/src/abis/ICakeFlexibleSideVaultV2.ts +0 -487
  29. package/src/abis/ICakeVaultV2.ts +0 -487
  30. package/src/abis/ISmartChef.ts +0 -326
  31. package/src/abis/ISousChef.ts +0 -122
  32. package/src/abis/ISousChefBNB.ts +0 -166
  33. package/src/abis/ISousChefV2.ts +0 -341
  34. package/src/abis/ISousChefV3.ts +0 -326
  35. package/src/constants/contracts.ts +0 -38
  36. package/src/constants/index.ts +0 -10
  37. package/src/constants/pools/1.ts +0 -80
  38. package/src/constants/pools/280.ts +0 -53
  39. package/src/constants/pools/324.ts +0 -26
  40. package/src/constants/pools/42161.ts +0 -26
  41. package/src/constants/pools/421613.ts +0 -69
  42. package/src/constants/pools/56.ts +0 -2951
  43. package/src/constants/pools/97.ts +0 -74
  44. package/src/constants/pools/index.ts +0 -56
  45. package/src/constants/supportedChains.ts +0 -13
  46. package/src/index.ts +0 -14
  47. package/src/queries/fetchPools.ts +0 -350
  48. package/src/queries/fetchUserIfo.ts +0 -53
  49. package/src/queries/fetchUserPoolsData.ts +0 -143
  50. package/src/queries/fetchVaultPublic.ts +0 -175
  51. package/src/queries/fetchVaultUser.ts +0 -106
  52. package/src/queries/getAddresses.ts +0 -12
  53. package/src/queries/index.ts +0 -6
  54. package/src/types.ts +0 -207
  55. package/src/utils/apr.ts +0 -35
  56. package/src/utils/getContractAddress.ts +0 -11
  57. package/src/utils/getPoolContractBySousId.ts +0 -111
  58. package/src/utils/index.ts +0 -5
  59. package/src/utils/isLegacyPool.ts +0 -15
  60. package/src/utils/isPoolsSupported.ts +0 -5
  61. package/tsconfig.json +0 -14
  62. package/tsup.config.ts +0 -26
  63. package/vitest.config.ts +0 -9
@@ -1,326 +0,0 @@
1
- export const smartChefABI = [
2
- {
3
- inputs: [
4
- { internalType: 'address', name: '_pancakeProfile', type: 'address' },
5
- { internalType: 'bool', name: '_pancakeProfileIsRequested', type: 'bool' },
6
- { internalType: 'uint256', name: '_pancakeProfileThresholdPoints', type: 'uint256' },
7
- ],
8
- stateMutability: 'nonpayable',
9
- type: 'constructor',
10
- },
11
- {
12
- anonymous: false,
13
- inputs: [
14
- { indexed: true, internalType: 'address', name: 'user', type: 'address' },
15
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
16
- ],
17
- name: 'Deposit',
18
- type: 'event',
19
- },
20
- {
21
- anonymous: false,
22
- inputs: [
23
- { indexed: true, internalType: 'address', name: 'user', type: 'address' },
24
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
25
- ],
26
- name: 'EmergencyWithdraw',
27
- type: 'event',
28
- },
29
- {
30
- anonymous: false,
31
- inputs: [{ indexed: false, internalType: 'uint256', name: 'poolLimitPerUser', type: 'uint256' }],
32
- name: 'NewPoolLimit',
33
- type: 'event',
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [{ indexed: false, internalType: 'uint256', name: 'rewardPerSecond', type: 'uint256' }],
38
- name: 'NewRewardPerSecond',
39
- type: 'event',
40
- },
41
- {
42
- anonymous: false,
43
- inputs: [
44
- { indexed: false, internalType: 'uint256', name: 'startTimestamp', type: 'uint256' },
45
- { indexed: false, internalType: 'uint256', name: 'endTimestamp', type: 'uint256' },
46
- ],
47
- name: 'NewStartAndEndTimestamp',
48
- type: 'event',
49
- },
50
- {
51
- anonymous: false,
52
- inputs: [
53
- { indexed: true, internalType: 'address', name: 'previousOwner', type: 'address' },
54
- { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' },
55
- ],
56
- name: 'OwnershipTransferred',
57
- type: 'event',
58
- },
59
- {
60
- anonymous: false,
61
- inputs: [{ indexed: false, internalType: 'uint256', name: 'blockNumber', type: 'uint256' }],
62
- name: 'RewardsStop',
63
- type: 'event',
64
- },
65
- {
66
- anonymous: false,
67
- inputs: [
68
- { indexed: true, internalType: 'address', name: 'token', type: 'address' },
69
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
70
- ],
71
- name: 'TokenRecovery',
72
- type: 'event',
73
- },
74
- {
75
- anonymous: false,
76
- inputs: [
77
- { indexed: false, internalType: 'bool', name: 'isProfileRequested', type: 'bool' },
78
- { indexed: false, internalType: 'uint256', name: 'thresholdPoints', type: 'uint256' },
79
- ],
80
- name: 'UpdateProfileAndThresholdPointsRequirement',
81
- type: 'event',
82
- },
83
- {
84
- anonymous: false,
85
- inputs: [
86
- { indexed: true, internalType: 'address', name: 'user', type: 'address' },
87
- { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
88
- ],
89
- name: 'Withdraw',
90
- type: 'event',
91
- },
92
- {
93
- inputs: [],
94
- name: 'PRECISION_FACTOR',
95
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
96
- stateMutability: 'view',
97
- type: 'function',
98
- },
99
- {
100
- inputs: [],
101
- name: 'SMART_CHEF_FACTORY',
102
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
103
- stateMutability: 'view',
104
- type: 'function',
105
- },
106
- {
107
- inputs: [],
108
- name: 'accTokenPerShare',
109
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
110
- stateMutability: 'view',
111
- type: 'function',
112
- },
113
- {
114
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
115
- name: 'deposit',
116
- outputs: [],
117
- stateMutability: 'nonpayable',
118
- type: 'function',
119
- },
120
- {
121
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
122
- name: 'emergencyRewardWithdraw',
123
- outputs: [],
124
- stateMutability: 'nonpayable',
125
- type: 'function',
126
- },
127
- { inputs: [], name: 'emergencyWithdraw', outputs: [], stateMutability: 'nonpayable', type: 'function' },
128
- {
129
- inputs: [],
130
- name: 'endTimestamp',
131
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
132
- stateMutability: 'view',
133
- type: 'function',
134
- },
135
- {
136
- inputs: [],
137
- name: 'hasUserLimit',
138
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
139
- stateMutability: 'view',
140
- type: 'function',
141
- },
142
- {
143
- inputs: [
144
- { internalType: 'contract IERC20Metadata', name: '_stakedToken', type: 'address' },
145
- { internalType: 'contract IERC20Metadata', name: '_rewardToken', type: 'address' },
146
- { internalType: 'uint256', name: '_rewardPerSecond', type: 'uint256' },
147
- { internalType: 'uint256', name: '_startTimestamp', type: 'uint256' },
148
- { internalType: 'uint256', name: '_endTimestamp', type: 'uint256' },
149
- { internalType: 'uint256', name: '_poolLimitPerUser', type: 'uint256' },
150
- { internalType: 'uint256', name: '_numberSecondsForUserLimit', type: 'uint256' },
151
- { internalType: 'address', name: '_admin', type: 'address' },
152
- ],
153
- name: 'initialize',
154
- outputs: [],
155
- stateMutability: 'nonpayable',
156
- type: 'function',
157
- },
158
- {
159
- inputs: [],
160
- name: 'isInitialized',
161
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
162
- stateMutability: 'view',
163
- type: 'function',
164
- },
165
- {
166
- inputs: [],
167
- name: 'lastRewardTimestamp',
168
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
169
- stateMutability: 'view',
170
- type: 'function',
171
- },
172
- {
173
- inputs: [],
174
- name: 'numberSecondsForUserLimit',
175
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
176
- stateMutability: 'view',
177
- type: 'function',
178
- },
179
- {
180
- inputs: [],
181
- name: 'owner',
182
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
183
- stateMutability: 'view',
184
- type: 'function',
185
- },
186
- {
187
- inputs: [],
188
- name: 'pancakeProfile',
189
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
190
- stateMutability: 'view',
191
- type: 'function',
192
- },
193
- {
194
- inputs: [],
195
- name: 'pancakeProfileIsRequested',
196
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
197
- stateMutability: 'view',
198
- type: 'function',
199
- },
200
- {
201
- inputs: [],
202
- name: 'pancakeProfileThresholdPoints',
203
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
204
- stateMutability: 'view',
205
- type: 'function',
206
- },
207
- {
208
- inputs: [{ internalType: 'address', name: '_user', type: 'address' }],
209
- name: 'pendingReward',
210
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
211
- stateMutability: 'view',
212
- type: 'function',
213
- },
214
- {
215
- inputs: [],
216
- name: 'poolLimitPerUser',
217
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
218
- stateMutability: 'view',
219
- type: 'function',
220
- },
221
- {
222
- inputs: [{ internalType: 'address', name: '_token', type: 'address' }],
223
- name: 'recoverToken',
224
- outputs: [],
225
- stateMutability: 'nonpayable',
226
- type: 'function',
227
- },
228
- { inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' },
229
- {
230
- inputs: [],
231
- name: 'rewardPerSecond',
232
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
233
- stateMutability: 'view',
234
- type: 'function',
235
- },
236
- {
237
- inputs: [],
238
- name: 'rewardToken',
239
- outputs: [{ internalType: 'contract IERC20Metadata', name: '', type: 'address' }],
240
- stateMutability: 'view',
241
- type: 'function',
242
- },
243
- {
244
- inputs: [],
245
- name: 'stakedToken',
246
- outputs: [{ internalType: 'contract IERC20Metadata', name: '', type: 'address' }],
247
- stateMutability: 'view',
248
- type: 'function',
249
- },
250
- {
251
- inputs: [],
252
- name: 'startTimestamp',
253
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
254
- stateMutability: 'view',
255
- type: 'function',
256
- },
257
- { inputs: [], name: 'stopReward', outputs: [], stateMutability: 'nonpayable', type: 'function' },
258
- {
259
- inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
260
- name: 'transferOwnership',
261
- outputs: [],
262
- stateMutability: 'nonpayable',
263
- type: 'function',
264
- },
265
- {
266
- inputs: [
267
- { internalType: 'bool', name: '_userLimit', type: 'bool' },
268
- { internalType: 'uint256', name: '_poolLimitPerUser', type: 'uint256' },
269
- ],
270
- name: 'updatePoolLimitPerUser',
271
- outputs: [],
272
- stateMutability: 'nonpayable',
273
- type: 'function',
274
- },
275
- {
276
- inputs: [
277
- { internalType: 'bool', name: '_isRequested', type: 'bool' },
278
- { internalType: 'uint256', name: '_thresholdPoints', type: 'uint256' },
279
- ],
280
- name: 'updateProfileAndThresholdPointsRequirement',
281
- outputs: [],
282
- stateMutability: 'nonpayable',
283
- type: 'function',
284
- },
285
- {
286
- inputs: [{ internalType: 'uint256', name: '_rewardPerSecond', type: 'uint256' }],
287
- name: 'updateRewardPerSecond',
288
- outputs: [],
289
- stateMutability: 'nonpayable',
290
- type: 'function',
291
- },
292
- {
293
- inputs: [
294
- { internalType: 'uint256', name: '_startTimestamp', type: 'uint256' },
295
- { internalType: 'uint256', name: '_endTimestamp', type: 'uint256' },
296
- ],
297
- name: 'updateStartAndEndTimestamp',
298
- outputs: [],
299
- stateMutability: 'nonpayable',
300
- type: 'function',
301
- },
302
- {
303
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
304
- name: 'userInfo',
305
- outputs: [
306
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
307
- { internalType: 'uint256', name: 'rewardDebt', type: 'uint256' },
308
- ],
309
- stateMutability: 'view',
310
- type: 'function',
311
- },
312
- {
313
- inputs: [],
314
- name: 'userLimit',
315
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
316
- stateMutability: 'view',
317
- type: 'function',
318
- },
319
- {
320
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
321
- name: 'withdraw',
322
- outputs: [],
323
- stateMutability: 'nonpayable',
324
- type: 'function',
325
- },
326
- ] as const
@@ -1,122 +0,0 @@
1
- export const sousChefABI = [
2
- {
3
- inputs: [],
4
- name: 'bonusEndBlock',
5
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
6
- stateMutability: 'view',
7
- type: 'function',
8
- },
9
- {
10
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
11
- name: 'deposit',
12
- outputs: [],
13
- stateMutability: 'nonpayable',
14
- type: 'function',
15
- },
16
- {
17
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
18
- name: 'emergencyRewardWithdraw',
19
- outputs: [],
20
- stateMutability: 'nonpayable',
21
- type: 'function',
22
- },
23
- { inputs: [], name: 'emergencyWithdraw', outputs: [], stateMutability: 'nonpayable', type: 'function' },
24
- {
25
- inputs: [
26
- { internalType: 'uint256', name: '_from', type: 'uint256' },
27
- { internalType: 'uint256', name: '_to', type: 'uint256' },
28
- ],
29
- name: 'getMultiplier',
30
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
31
- stateMutability: 'view',
32
- type: 'function',
33
- },
34
- { inputs: [], name: 'massUpdatePools', outputs: [], stateMutability: 'nonpayable', type: 'function' },
35
- {
36
- inputs: [],
37
- name: 'owner',
38
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
39
- stateMutability: 'view',
40
- type: 'function',
41
- },
42
- {
43
- inputs: [{ internalType: 'address', name: '_user', type: 'address' }],
44
- name: 'pendingReward',
45
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
46
- stateMutability: 'view',
47
- type: 'function',
48
- },
49
- {
50
- inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
51
- name: 'poolInfo',
52
- outputs: [
53
- { internalType: 'contract IBEP20', name: 'lpToken', type: 'address' },
54
- { internalType: 'uint256', name: 'allocPoint', type: 'uint256' },
55
- { internalType: 'uint256', name: 'lastRewardBlock', type: 'uint256' },
56
- { internalType: 'uint256', name: 'accCakePerShare', type: 'uint256' },
57
- ],
58
- stateMutability: 'view',
59
- type: 'function',
60
- },
61
- { inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' },
62
- {
63
- inputs: [],
64
- name: 'rewardPerBlock',
65
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
66
- stateMutability: 'view',
67
- type: 'function',
68
- },
69
- {
70
- inputs: [],
71
- name: 'rewardToken',
72
- outputs: [{ internalType: 'contract IBEP20', name: '', type: 'address' }],
73
- stateMutability: 'view',
74
- type: 'function',
75
- },
76
- {
77
- inputs: [],
78
- name: 'startBlock',
79
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
80
- stateMutability: 'view',
81
- type: 'function',
82
- },
83
- { inputs: [], name: 'stopReward', outputs: [], stateMutability: 'nonpayable', type: 'function' },
84
- {
85
- inputs: [],
86
- name: 'syrup',
87
- outputs: [{ internalType: 'contract IBEP20', name: '', type: 'address' }],
88
- stateMutability: 'view',
89
- type: 'function',
90
- },
91
- {
92
- inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
93
- name: 'transferOwnership',
94
- outputs: [],
95
- stateMutability: 'nonpayable',
96
- type: 'function',
97
- },
98
- {
99
- inputs: [{ internalType: 'uint256', name: '_pid', type: 'uint256' }],
100
- name: 'updatePool',
101
- outputs: [],
102
- stateMutability: 'nonpayable',
103
- type: 'function',
104
- },
105
- {
106
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
107
- name: 'userInfo',
108
- outputs: [
109
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
110
- { internalType: 'uint256', name: 'rewardDebt', type: 'uint256' },
111
- ],
112
- stateMutability: 'view',
113
- type: 'function',
114
- },
115
- {
116
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
117
- name: 'withdraw',
118
- outputs: [],
119
- stateMutability: 'nonpayable',
120
- type: 'function',
121
- },
122
- ] as const
@@ -1,166 +0,0 @@
1
- export const sousChefBnbABI = [
2
- {
3
- inputs: [],
4
- name: 'WBNB',
5
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
6
- stateMutability: 'view',
7
- type: 'function',
8
- },
9
- {
10
- inputs: [],
11
- name: 'adminAddress',
12
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
13
- stateMutability: 'view',
14
- type: 'function',
15
- },
16
- {
17
- inputs: [],
18
- name: 'bonusEndBlock',
19
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
20
- stateMutability: 'view',
21
- type: 'function',
22
- },
23
- { inputs: [], name: 'deposit', outputs: [], stateMutability: 'payable', type: 'function' },
24
- {
25
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
26
- name: 'emergencyRewardWithdraw',
27
- outputs: [],
28
- stateMutability: 'nonpayable',
29
- type: 'function',
30
- },
31
- { inputs: [], name: 'emergencyWithdraw', outputs: [], stateMutability: 'nonpayable', type: 'function' },
32
- {
33
- inputs: [
34
- { internalType: 'uint256', name: '_from', type: 'uint256' },
35
- { internalType: 'uint256', name: '_to', type: 'uint256' },
36
- ],
37
- name: 'getMultiplier',
38
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
39
- stateMutability: 'view',
40
- type: 'function',
41
- },
42
- {
43
- inputs: [],
44
- name: 'limitAmount',
45
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
46
- stateMutability: 'view',
47
- type: 'function',
48
- },
49
- { inputs: [], name: 'massUpdatePools', outputs: [], stateMutability: 'nonpayable', type: 'function' },
50
- {
51
- inputs: [],
52
- name: 'owner',
53
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
54
- stateMutability: 'view',
55
- type: 'function',
56
- },
57
- {
58
- inputs: [{ internalType: 'address', name: '_user', type: 'address' }],
59
- name: 'pendingReward',
60
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
61
- stateMutability: 'view',
62
- type: 'function',
63
- },
64
- {
65
- inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
66
- name: 'poolInfo',
67
- outputs: [
68
- { internalType: 'contract IBEP20', name: 'lpToken', type: 'address' },
69
- { internalType: 'uint256', name: 'allocPoint', type: 'uint256' },
70
- { internalType: 'uint256', name: 'lastRewardBlock', type: 'uint256' },
71
- { internalType: 'uint256', name: 'accCakePerShare', type: 'uint256' },
72
- ],
73
- stateMutability: 'view',
74
- type: 'function',
75
- },
76
- {
77
- inputs: [{ internalType: 'address', name: '_blacklistAddress', type: 'address' }],
78
- name: 'removeBlackList',
79
- outputs: [],
80
- stateMutability: 'nonpayable',
81
- type: 'function',
82
- },
83
- { inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' },
84
- {
85
- inputs: [],
86
- name: 'rewardPerBlock',
87
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
88
- stateMutability: 'view',
89
- type: 'function',
90
- },
91
- {
92
- inputs: [],
93
- name: 'rewardToken',
94
- outputs: [{ internalType: 'contract IBEP20', name: '', type: 'address' }],
95
- stateMutability: 'view',
96
- type: 'function',
97
- },
98
- {
99
- inputs: [{ internalType: 'address', name: '_adminAddress', type: 'address' }],
100
- name: 'setAdmin',
101
- outputs: [],
102
- stateMutability: 'nonpayable',
103
- type: 'function',
104
- },
105
- {
106
- inputs: [{ internalType: 'address', name: '_blacklistAddress', type: 'address' }],
107
- name: 'setBlackList',
108
- outputs: [],
109
- stateMutability: 'nonpayable',
110
- type: 'function',
111
- },
112
- {
113
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
114
- name: 'setLimitAmount',
115
- outputs: [],
116
- stateMutability: 'nonpayable',
117
- type: 'function',
118
- },
119
- {
120
- inputs: [],
121
- name: 'startBlock',
122
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
123
- stateMutability: 'view',
124
- type: 'function',
125
- },
126
- {
127
- inputs: [],
128
- name: 'totalAllocPoint',
129
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
130
- stateMutability: 'view',
131
- type: 'function',
132
- },
133
- {
134
- inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
135
- name: 'transferOwnership',
136
- outputs: [],
137
- stateMutability: 'nonpayable',
138
- type: 'function',
139
- },
140
- {
141
- inputs: [{ internalType: 'uint256', name: '_pid', type: 'uint256' }],
142
- name: 'updatePool',
143
- outputs: [],
144
- stateMutability: 'nonpayable',
145
- type: 'function',
146
- },
147
- {
148
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
149
- name: 'userInfo',
150
- outputs: [
151
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
152
- { internalType: 'uint256', name: 'rewardDebt', type: 'uint256' },
153
- { internalType: 'bool', name: 'inBlackList', type: 'bool' },
154
- ],
155
- stateMutability: 'view',
156
- type: 'function',
157
- },
158
- {
159
- inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }],
160
- name: 'withdraw',
161
- outputs: [],
162
- stateMutability: 'nonpayable',
163
- type: 'function',
164
- },
165
- { stateMutability: 'payable', type: 'receive' },
166
- ] as const