diff --git a/eagleproject/core/blockchain/addresses.py b/eagleproject/core/blockchain/addresses.py index 5bfa67d..4ce2cd8 100644 --- a/eagleproject/core/blockchain/addresses.py +++ b/eagleproject/core/blockchain/addresses.py @@ -74,6 +74,7 @@ STORY_STAKING_SEASON_THREE, ] STORY_STAKING_VAULT = "0xc626f08cf88972332cfcb48b227409658be67a1c" +OGN_REWARDS_SOURCE = "0x7609c88e5880e934dd3a75bcfef44e31b1badb8b" # OGV OGV = "0x9c354503c38481a7a7a51629142963f98ecc12d0" @@ -228,10 +229,12 @@ OUSD_KEEPER: "OUSD Keeper", LINK: "LINK", OGV: "OGV", + OGN: "OGN", OGV_BUYBACK_LEGACY: "OGV BuyBack (Legacy)", OUSD_BUYBACK_PROXY: "OUSD BuyBack", OETH_BUYBACK_PROXY: "OETH BuyBack", REWARDS_SOURCE: "RewardsSource", + OGN_REWARDS_SOURCE: "OGN RewardsSource", FLUX_DAO: "Flux DAO", FLUX_TIMELOCK: "Flux Timelock", CVX: "CVX", diff --git a/eagleproject/notify/triggers/buyback_swap.py b/eagleproject/notify/triggers/buyback_swap.py index a5385f5..8fcc638 100644 --- a/eagleproject/notify/triggers/buyback_swap.py +++ b/eagleproject/notify/triggers/buyback_swap.py @@ -72,6 +72,18 @@ def run_trigger(new_logs): log_model=ev ) ) + elif dest_token == OGN: + events.append( + event_low( + "{} BuyBack 🔄".format(otoken_symbol), + "Swapped {} {} for {} OGN and depositted it to the RewardsSource contract".format( + format_token_human(otoken_symbol, amount_in), + otoken_symbol, + format_token_human('OGN', amount_out), + ), + log_model=ev + ) + ) else: events.append( event_low(