Skip to content

Commit

Permalink
Remove deprecated price bots
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAurelius committed Mar 27, 2024
1 parent cdf4500 commit 9d52ea4
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 172 deletions.
16 changes: 0 additions & 16 deletions k8s/c3_price/deployment_set_bot.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions k8s/c3_price/kustomization.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions k8s/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ resources:
- ./bct_price
# TODO: fix interactions for bond discount bot
# - ./bond_alerts
- ./c3_price
- ./index
- ./klima_price
- ./mco2_price
- ./moss_price
- ./nbo_price
- ./nct_price
- ./next_rewards
Expand Down
16 changes: 0 additions & 16 deletions k8s/moss_price/deployment_set_bot.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions k8s/moss_price/kustomization.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions k8s/secret.properties.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ AIRTABLE_API_KEY=${AIRTABLE_API_KEY}

DISCORD_BOT_TOKEN_BCT_PRICE=${DISCORD_BOT_TOKEN_BCT_PRICE}
DISCORD_BOT_TOKEN_KLIMA_BOND_ALERTS=${DISCORD_BOT_TOKEN_KLIMA_BOND_ALERTS}
DISCORD_BOT_TOKEN_C3_PRICE=${DISCORD_BOT_TOKEN_C3_PRICE}
DISCORD_BOT_TOKEN_KLIMA_PRICE=${DISCORD_BOT_TOKEN_KLIMA_PRICE}
DISCORD_BOT_TOKEN_MCO2_PRICE=${DISCORD_BOT_TOKEN_MCO2_PRICE}
DISCORD_BOT_TOKEN_MOSS_PRICE=${DISCORD_BOT_TOKEN_MOSS_PRICE}
DISCORD_BOT_TOKEN_NBO_PRICE=${DISCORD_BOT_TOKEN_NBO_PRICE}
DISCORD_BOT_TOKEN_NCT_PRICE=${DISCORD_BOT_TOKEN_NCT_PRICE}
DISCORD_BOT_TOKEN_CCO2_PRICE=${DISCORD_BOT_TOKEN_CCO2_PRICE}
Expand Down
Empty file removed src/c3_price/__init__.py
Empty file.
52 changes: 0 additions & 52 deletions src/c3_price/main.py

This file was deleted.

7 changes: 0 additions & 7 deletions src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,18 @@

# Token Decimals
BCT_DECIMALS = 18
C3_DECIMALS = 18
FRAX_DECIMALS = 18
KLIMA_DECIMALS = 9
MCO2_DECIMALS = 18
MOSS_DECIMALS = 18
NBO_DECIMALS = 18
UBO_DECIMALS = 18
NCT_DECIMALS = 18
USDC_DECIMALS = 12

# Token Addresses
BCT_ADDRESS = Web3.to_checksum_address('0x2f800db0fdb5223b3c3f354886d907a671414a7f')
C3_ADDRESS = Web3.to_checksum_address('0xad01DFfe604CDc172D8237566eE3a3ab6524d4C6')
FRAX_ADDRESS = Web3.to_checksum_address('0x45c32fA6DF82ead1e2EF74d17b76547EDdFaFF89')
KLIMA_ADDRESS = Web3.to_checksum_address('0x4e78011Ce80ee02d2c3e649Fb657E45898257815')
MCO2_ADDRESS = Web3.to_checksum_address('0xfc98e825a2264d890f9a1e68ed50e1526abccacd')
MOSS_ADDRESS = Web3.to_checksum_address('0x03e3369af9390493cb7cc599cd5233d50e674da4')
NBO_ADDRESS = Web3.to_checksum_address('0x6BCa3B77C1909Ce1a4Ba1A20d1103bDe8d222E48')
NCT_ADDRESS = Web3.to_checksum_address('0xD838290e877E0188a4A44700463419ED96c16107')
UBO_ADDRESS = Web3.to_checksum_address('0x2B3eCb0991AF0498ECE9135bcD04013d7993110c')
Expand All @@ -30,11 +25,9 @@

# LP Pool Addresses
BCT_KLIMA_POOL = Web3.to_checksum_address('0x9803c7ae526049210a1725f7487af26fe2c24614')
FRAX_C3_POOL = Web3.to_checksum_address('0xb5600746f947c25c0cbc36429f87e6c88f9d6a88')
KLIMA_MCO2_POOL = Web3.to_checksum_address('0x64a3b8ca5a7e406a78e660ae10c7563d9153a739')
KLIMA_NBO_POOL = Web3.to_checksum_address('0x251cA6A70cbd93Ccd7039B6b708D4cb9683c266C')
KLIMA_USDC_POOL = Web3.to_checksum_address('0x5786b267d35F9D011c4750e0B0bA584E1fDbeAD1')
MOSS_USDC_POOL = Web3.to_checksum_address('0x75a7360e330c338007CF482e2CDf0A06573763A1')
UBO_KLIMA_POOL = Web3.to_checksum_address('0x5400A05B8B45EaF9105315B4F2e31F806AB706dE')
USDC_NCT_POOL = Web3.to_checksum_address('0xdb995f975f1bfc3b2157495c47e4efb31196b2ca')
KLIMA_CCO2_POOL = Web3.to_checksum_address('0x4D2263FF85e334C1f1d04C6262F6c2580335a93C')
Expand Down
Empty file removed src/moss_price/__init__.py
Empty file.
51 changes: 0 additions & 51 deletions src/moss_price/main.py

This file was deleted.

0 comments on commit 9d52ea4

Please sign in to comment.