Skip to content

Commit c7e4bd0

Browse files
committed
add validation for aero pool epoch states
1 parent d0576ab commit c7e4bd0

File tree

3 files changed

+237
-1
lines changed

3 files changed

+237
-1
lines changed

processing-times.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Processing Times
22
==============================
33
Version: v95
4-
Date: 2025-05-09T01:15:07.301Z
4+
Date: 2025-05-09T01:37:12.820Z
55
==============================
66
arbitrum: 72.92 minutes
77
base: 239.16 minutes

scripts/generate-validations.ts

+25
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,30 @@ const bridging = () => {
435435
`),
436436
]
437437
}
438+
439+
const aeroPoolEpochStates = () => {
440+
return gql(`
441+
aeroPoolEpochStates(where: {address_eq: "0x6446021f4e396da3df4235c62537431372195d38"}, limit: 50, orderBy: blockNumber_ASC) {
442+
address
443+
blockNumber
444+
bribes {
445+
amount
446+
token
447+
}
448+
chainId
449+
emissions
450+
epoch
451+
fees {
452+
amount
453+
token
454+
}
455+
id
456+
timestamp
457+
votes
458+
}
459+
`)
460+
}
461+
438462
const main = async () => {
439463
console.log(`Generating validations for: ${process.argv[2]}`)
440464
const queries: string[] = [
@@ -455,6 +479,7 @@ const main = async () => {
455479
beaconDepositEvents('0x00000000219ab540356cbb839cbe05303d7705fa'),
456480
transactionDetails('lidoarm', '0x39878253374355dbcc15c86458f084fb6f2d6de7'),
457481
...bridging(),
482+
aeroPoolEpochStates(),
458483
].map((query) => `query Query { ${query} }`)
459484

460485
console.log('Total queries:', queries.length)

src/validation/entities.json

+211
Original file line numberDiff line numberDiff line change
@@ -31385,5 +31385,216 @@
3138531385
"timestamp": "2024-05-07T21:53:47.000000Z",
3138631386
"txHash": "0x668c8af5911e4ea94179867af824410d9b7662e71170bdb41bc9f71bf76ddb4b"
3138731387
}
31388+
],
31389+
"aeroPoolEpochStates": [
31390+
{
31391+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31392+
"blockNumber": 18700000,
31393+
"bribes": [],
31394+
"chainId": 8453,
31395+
"emissions": "0",
31396+
"epoch": "1723680000",
31397+
"fees": [],
31398+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-18700000",
31399+
"timestamp": "2024-08-20T21:29:07.000000Z",
31400+
"votes": "0"
31401+
},
31402+
{
31403+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31404+
"blockNumber": 18800000,
31405+
"bribes": [],
31406+
"chainId": 8453,
31407+
"emissions": "0",
31408+
"epoch": "1724284800",
31409+
"fees": [],
31410+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-18800000",
31411+
"timestamp": "2024-08-23T05:02:27.000000Z",
31412+
"votes": "0"
31413+
},
31414+
{
31415+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31416+
"blockNumber": 18900000,
31417+
"bribes": [],
31418+
"chainId": 8453,
31419+
"emissions": "0",
31420+
"epoch": "1724284800",
31421+
"fees": [],
31422+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-18900000",
31423+
"timestamp": "2024-08-25T12:35:47.000000Z",
31424+
"votes": "0"
31425+
},
31426+
{
31427+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31428+
"blockNumber": 19000000,
31429+
"bribes": [],
31430+
"chainId": 8453,
31431+
"emissions": "0",
31432+
"epoch": "1724284800",
31433+
"fees": [],
31434+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19000000",
31435+
"timestamp": "2024-08-27T20:09:07.000000Z",
31436+
"votes": "0"
31437+
},
31438+
{
31439+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31440+
"blockNumber": 19100000,
31441+
"bribes": [],
31442+
"chainId": 8453,
31443+
"emissions": "2745959852906340",
31444+
"epoch": "1724889600",
31445+
"fees": [
31446+
{
31447+
"amount": "370932478939",
31448+
"token": "0x4200000000000000000000000000000000000006"
31449+
},
31450+
{
31451+
"amount": "213844510657",
31452+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31453+
}
31454+
],
31455+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19100000",
31456+
"timestamp": "2024-08-30T03:42:27.000000Z",
31457+
"votes": "103865452264710095508222"
31458+
},
31459+
{
31460+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31461+
"blockNumber": 19200000,
31462+
"bribes": [],
31463+
"chainId": 8453,
31464+
"emissions": "2745959852906340",
31465+
"epoch": "1724889600",
31466+
"fees": [
31467+
{
31468+
"amount": "370932478939",
31469+
"token": "0x4200000000000000000000000000000000000006"
31470+
},
31471+
{
31472+
"amount": "213844510657",
31473+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31474+
}
31475+
],
31476+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19200000",
31477+
"timestamp": "2024-09-01T11:15:47.000000Z",
31478+
"votes": "105517432964628573832181"
31479+
},
31480+
{
31481+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31482+
"blockNumber": 19300000,
31483+
"bribes": [
31484+
{
31485+
"amount": "232500000000000000000000",
31486+
"token": "0x7002458b1df59eccb57387bc79ffc7c29e22e6f7"
31487+
}
31488+
],
31489+
"chainId": 8453,
31490+
"emissions": "2745959852906340",
31491+
"epoch": "1724889600",
31492+
"fees": [
31493+
{
31494+
"amount": "370932478939",
31495+
"token": "0x4200000000000000000000000000000000000006"
31496+
},
31497+
{
31498+
"amount": "213844510657",
31499+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31500+
}
31501+
],
31502+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19300000",
31503+
"timestamp": "2024-09-03T18:49:07.000000Z",
31504+
"votes": "157877149268103115719625"
31505+
},
31506+
{
31507+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31508+
"blockNumber": 19400000,
31509+
"bribes": [],
31510+
"chainId": 8453,
31511+
"emissions": "81900630111212367",
31512+
"epoch": "1725494400",
31513+
"fees": [
31514+
{
31515+
"amount": "67733479556305",
31516+
"token": "0x4200000000000000000000000000000000000006"
31517+
},
31518+
{
31519+
"amount": "430049268990877",
31520+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31521+
}
31522+
],
31523+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19400000",
31524+
"timestamp": "2024-09-06T02:22:27.000000Z",
31525+
"votes": "3124144883334597318062717"
31526+
},
31527+
{
31528+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31529+
"blockNumber": 19500000,
31530+
"bribes": [],
31531+
"chainId": 8453,
31532+
"emissions": "81900630111212367",
31533+
"epoch": "1725494400",
31534+
"fees": [
31535+
{
31536+
"amount": "67733479556305",
31537+
"token": "0x4200000000000000000000000000000000000006"
31538+
},
31539+
{
31540+
"amount": "430049268990877",
31541+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31542+
}
31543+
],
31544+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19500000",
31545+
"timestamp": "2024-09-08T09:55:47.000000Z",
31546+
"votes": "3057180179611713537578428"
31547+
},
31548+
{
31549+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31550+
"blockNumber": 19600000,
31551+
"bribes": [
31552+
{
31553+
"amount": "68700000000000000000",
31554+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31555+
},
31556+
{
31557+
"amount": "241925000000000000000000",
31558+
"token": "0x7002458b1df59eccb57387bc79ffc7c29e22e6f7"
31559+
}
31560+
],
31561+
"chainId": 8453,
31562+
"emissions": "81900630111212367",
31563+
"epoch": "1725494400",
31564+
"fees": [
31565+
{
31566+
"amount": "67733479556305",
31567+
"token": "0x4200000000000000000000000000000000000006"
31568+
},
31569+
{
31570+
"amount": "430049268990877",
31571+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31572+
}
31573+
],
31574+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19600000",
31575+
"timestamp": "2024-09-10T17:29:07.000000Z",
31576+
"votes": "3074874652351715022688088"
31577+
},
31578+
{
31579+
"address": "0x6446021f4e396da3df4235c62537431372195d38",
31580+
"blockNumber": 19700000,
31581+
"bribes": [],
31582+
"chainId": 8453,
31583+
"emissions": "742868335378106784",
31584+
"epoch": "1726099200",
31585+
"fees": [
31586+
{
31587+
"amount": "116010315683123",
31588+
"token": "0x4200000000000000000000000000000000000006"
31589+
},
31590+
{
31591+
"amount": "839840739926566",
31592+
"token": "0xdbfefd2e8460a6ee4955a68582f85708baea60a3"
31593+
}
31594+
],
31595+
"id": "8453-0x6446021f4e396da3df4235c62537431372195d38-19700000",
31596+
"timestamp": "2024-09-13T01:02:27.000000Z",
31597+
"votes": "29007530669387253038494450"
31598+
}
3138831599
]
3138931600
}

0 commit comments

Comments
 (0)