Skip to content

Commit

Permalink
AN-5053/new-staking-contract (#165)
Browse files Browse the repository at this point in the history
* new staking contracts

* checkpoint and evicted tables
  • Loading branch information
drethereum authored Aug 26, 2024
1 parent 1dd6eb3 commit cb62763
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 142 deletions.
13 changes: 11 additions & 2 deletions models/silver/protocols/olas/silver_olas__service_checkpoint.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ WITH decoded_evt AS (
WHEN contract_address = '0x43fb32f25dce34eb76c78c7a42c8f40f84bcd237' THEN 'Coastal'
WHEN contract_address = '0x2ef503950be67a98746f484da0bbada339df3326' THEN 'Alpine'
WHEN contract_address = '0x5add592ce0a1b5dcecebb5dcac086cd9f9e3ea5c' THEN 'Everest'
WHEN contract_address = '0x5344b7dd311e5d3dddd46a4f71481bd7b05aaa3e' THEN 'Quickstart Beta - Expert'
WHEN contract_address = '0x389b46c259631acd6a69bde8b6cee218230bae8c' THEN 'Quickstart Beta - Hobbyist'
WHEN contract_address = '0xef44fb0842ddef59d37f85d61a1ef492bba6135d' THEN 'Pearl Beta'
END AS program_name,
_log_id,
_inserted_timestamp
Expand All @@ -36,12 +39,18 @@ WITH decoded_evt AS (
WHERE
contract_address IN (
'0xee9f19b5df06c7e8bfc7b28745dcf944c504198a',
-- StakingProxy (Alpha)
--StakingProxy (Alpha)
'0x43fb32f25dce34eb76c78c7a42c8f40f84bcd237',
--ServiceStakingTokenMechUsage (Coastal)
'0x2ef503950be67a98746f484da0bbada339df3326',
--ServiceStakingTokenMechUsage (Alpine)
'0x5add592ce0a1b5dcecebb5dcac086cd9f9e3ea5c' --ServiceStakingTokenMechUsage (Everest)
'0x5add592ce0a1b5dcecebb5dcac086cd9f9e3ea5c',
--ServiceStakingTokenMechUsage (Everest)
'0x5344b7dd311e5d3dddd46a4f71481bd7b05aaa3e',
--Quickstart Beta - Expert
'0x389b46c259631acd6a69bde8b6cee218230bae8c',
--Quickstart Beta - Hobbyist
'0xef44fb0842ddef59d37f85d61a1ef492bba6135d' --Pearl Beta
)
AND topic_0 IN (
'0x48b735a18ed32318d316214e41387be29c52e29df4598f2b8e40fa843be3f940',
Expand Down
Loading

0 comments on commit cb62763

Please sign in to comment.