Skip to content

Commit 3ed456e

Browse files
committed
aerodrome
1 parent a2693c1 commit 3ed456e

File tree

5 files changed

+2391
-0
lines changed

5 files changed

+2391
-0
lines changed

src/adaptors/aerodrome/abiGauge.json

Lines changed: 345 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,345 @@
1+
[
2+
{
3+
"inputs": [
4+
{ "internalType": "address", "name": "_forwarder", "type": "address" },
5+
{ "internalType": "address", "name": "_stakingToken", "type": "address" },
6+
{
7+
"internalType": "address",
8+
"name": "_feesVotingReward",
9+
"type": "address"
10+
},
11+
{ "internalType": "address", "name": "_rewardToken", "type": "address" },
12+
{ "internalType": "address", "name": "_voter", "type": "address" },
13+
{ "internalType": "bool", "name": "_isPool", "type": "bool" }
14+
],
15+
"stateMutability": "nonpayable",
16+
"type": "constructor"
17+
},
18+
{ "inputs": [], "name": "NotAlive", "type": "error" },
19+
{ "inputs": [], "name": "NotAuthorized", "type": "error" },
20+
{ "inputs": [], "name": "NotTeam", "type": "error" },
21+
{ "inputs": [], "name": "NotVoter", "type": "error" },
22+
{ "inputs": [], "name": "RewardRateTooHigh", "type": "error" },
23+
{ "inputs": [], "name": "ZeroAmount", "type": "error" },
24+
{ "inputs": [], "name": "ZeroRewardRate", "type": "error" },
25+
{
26+
"anonymous": false,
27+
"inputs": [
28+
{
29+
"indexed": true,
30+
"internalType": "address",
31+
"name": "from",
32+
"type": "address"
33+
},
34+
{
35+
"indexed": false,
36+
"internalType": "uint256",
37+
"name": "claimed0",
38+
"type": "uint256"
39+
},
40+
{
41+
"indexed": false,
42+
"internalType": "uint256",
43+
"name": "claimed1",
44+
"type": "uint256"
45+
}
46+
],
47+
"name": "ClaimFees",
48+
"type": "event"
49+
},
50+
{
51+
"anonymous": false,
52+
"inputs": [
53+
{
54+
"indexed": true,
55+
"internalType": "address",
56+
"name": "from",
57+
"type": "address"
58+
},
59+
{
60+
"indexed": false,
61+
"internalType": "uint256",
62+
"name": "amount",
63+
"type": "uint256"
64+
}
65+
],
66+
"name": "ClaimRewards",
67+
"type": "event"
68+
},
69+
{
70+
"anonymous": false,
71+
"inputs": [
72+
{
73+
"indexed": true,
74+
"internalType": "address",
75+
"name": "from",
76+
"type": "address"
77+
},
78+
{
79+
"indexed": true,
80+
"internalType": "address",
81+
"name": "to",
82+
"type": "address"
83+
},
84+
{
85+
"indexed": false,
86+
"internalType": "uint256",
87+
"name": "amount",
88+
"type": "uint256"
89+
}
90+
],
91+
"name": "Deposit",
92+
"type": "event"
93+
},
94+
{
95+
"anonymous": false,
96+
"inputs": [
97+
{
98+
"indexed": true,
99+
"internalType": "address",
100+
"name": "from",
101+
"type": "address"
102+
},
103+
{
104+
"indexed": false,
105+
"internalType": "uint256",
106+
"name": "amount",
107+
"type": "uint256"
108+
}
109+
],
110+
"name": "NotifyReward",
111+
"type": "event"
112+
},
113+
{
114+
"anonymous": false,
115+
"inputs": [
116+
{
117+
"indexed": true,
118+
"internalType": "address",
119+
"name": "from",
120+
"type": "address"
121+
},
122+
{
123+
"indexed": false,
124+
"internalType": "uint256",
125+
"name": "amount",
126+
"type": "uint256"
127+
}
128+
],
129+
"name": "Withdraw",
130+
"type": "event"
131+
},
132+
{
133+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
134+
"name": "balanceOf",
135+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
136+
"stateMutability": "view",
137+
"type": "function"
138+
},
139+
{
140+
"inputs": [
141+
{ "internalType": "uint256", "name": "_amount", "type": "uint256" },
142+
{ "internalType": "address", "name": "_recipient", "type": "address" }
143+
],
144+
"name": "deposit",
145+
"outputs": [],
146+
"stateMutability": "nonpayable",
147+
"type": "function"
148+
},
149+
{
150+
"inputs": [
151+
{ "internalType": "uint256", "name": "_amount", "type": "uint256" }
152+
],
153+
"name": "deposit",
154+
"outputs": [],
155+
"stateMutability": "nonpayable",
156+
"type": "function"
157+
},
158+
{
159+
"inputs": [
160+
{ "internalType": "address", "name": "_account", "type": "address" }
161+
],
162+
"name": "earned",
163+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
164+
"stateMutability": "view",
165+
"type": "function"
166+
},
167+
{
168+
"inputs": [],
169+
"name": "fees0",
170+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
171+
"stateMutability": "view",
172+
"type": "function"
173+
},
174+
{
175+
"inputs": [],
176+
"name": "fees1",
177+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
178+
"stateMutability": "view",
179+
"type": "function"
180+
},
181+
{
182+
"inputs": [],
183+
"name": "feesVotingReward",
184+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
185+
"stateMutability": "view",
186+
"type": "function"
187+
},
188+
{
189+
"inputs": [
190+
{ "internalType": "address", "name": "_account", "type": "address" }
191+
],
192+
"name": "getReward",
193+
"outputs": [],
194+
"stateMutability": "nonpayable",
195+
"type": "function"
196+
},
197+
{
198+
"inputs": [],
199+
"name": "isPool",
200+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
201+
"stateMutability": "view",
202+
"type": "function"
203+
},
204+
{
205+
"inputs": [
206+
{ "internalType": "address", "name": "forwarder", "type": "address" }
207+
],
208+
"name": "isTrustedForwarder",
209+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
210+
"stateMutability": "view",
211+
"type": "function"
212+
},
213+
{
214+
"inputs": [],
215+
"name": "lastTimeRewardApplicable",
216+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
217+
"stateMutability": "view",
218+
"type": "function"
219+
},
220+
{
221+
"inputs": [],
222+
"name": "lastUpdateTime",
223+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
224+
"stateMutability": "view",
225+
"type": "function"
226+
},
227+
{
228+
"inputs": [],
229+
"name": "left",
230+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
231+
"stateMutability": "view",
232+
"type": "function"
233+
},
234+
{
235+
"inputs": [
236+
{ "internalType": "uint256", "name": "_amount", "type": "uint256" }
237+
],
238+
"name": "notifyRewardAmount",
239+
"outputs": [],
240+
"stateMutability": "nonpayable",
241+
"type": "function"
242+
},
243+
{
244+
"inputs": [
245+
{ "internalType": "uint256", "name": "_amount", "type": "uint256" }
246+
],
247+
"name": "notifyRewardWithoutClaim",
248+
"outputs": [],
249+
"stateMutability": "nonpayable",
250+
"type": "function"
251+
},
252+
{
253+
"inputs": [],
254+
"name": "periodFinish",
255+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
256+
"stateMutability": "view",
257+
"type": "function"
258+
},
259+
{
260+
"inputs": [],
261+
"name": "rewardPerToken",
262+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
263+
"stateMutability": "view",
264+
"type": "function"
265+
},
266+
{
267+
"inputs": [],
268+
"name": "rewardPerTokenStored",
269+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
270+
"stateMutability": "view",
271+
"type": "function"
272+
},
273+
{
274+
"inputs": [],
275+
"name": "rewardRate",
276+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
277+
"stateMutability": "view",
278+
"type": "function"
279+
},
280+
{
281+
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
282+
"name": "rewardRateByEpoch",
283+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
284+
"stateMutability": "view",
285+
"type": "function"
286+
},
287+
{
288+
"inputs": [],
289+
"name": "rewardToken",
290+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
291+
"stateMutability": "view",
292+
"type": "function"
293+
},
294+
{
295+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
296+
"name": "rewards",
297+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
298+
"stateMutability": "view",
299+
"type": "function"
300+
},
301+
{
302+
"inputs": [],
303+
"name": "stakingToken",
304+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
305+
"stateMutability": "view",
306+
"type": "function"
307+
},
308+
{
309+
"inputs": [],
310+
"name": "totalSupply",
311+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
312+
"stateMutability": "view",
313+
"type": "function"
314+
},
315+
{
316+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
317+
"name": "userRewardPerTokenPaid",
318+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
319+
"stateMutability": "view",
320+
"type": "function"
321+
},
322+
{
323+
"inputs": [],
324+
"name": "ve",
325+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
326+
"stateMutability": "view",
327+
"type": "function"
328+
},
329+
{
330+
"inputs": [],
331+
"name": "voter",
332+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
333+
"stateMutability": "view",
334+
"type": "function"
335+
},
336+
{
337+
"inputs": [
338+
{ "internalType": "uint256", "name": "_amount", "type": "uint256" }
339+
],
340+
"name": "withdraw",
341+
"outputs": [],
342+
"stateMutability": "nonpayable",
343+
"type": "function"
344+
}
345+
]

0 commit comments

Comments
 (0)