Skip to content

Commit

Permalink
Add CHAOS-ETH Base
Browse files Browse the repository at this point in the history
  • Loading branch information
MirthFutures committed Dec 3, 2024
1 parent 79dfeef commit 243c0af
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/address-book/src/address-book/base/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1903,4 +1903,17 @@ export const tokens = {
documentation: 'https://aifun-1.gitbook.io/aiagentlayer',
bridge: 'native',
},
CHAOS: {
name: 'CHAOS',
symbol: 'CHAOS',
oracleId: 'CHAOS',
address: '0x20d704099B62aDa091028bcFc44445041eD16f09',
chainId: 8453,
decimals: 18,
logoURI: '',
website: 'https://x.com/bitmar89/status/1863696009836036131',
description: 'CHAOS is a token created by ai agent AIXbt using Simulacrum',
documentation: '',
bridge: 'native',
},
} as const satisfies Record<string, Token>;
12 changes: 12 additions & 0 deletions src/data/base/beefyCowVaults.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
[
{
"address": "0xd0483354ef972B52f992DC1c4dF67C55a15a417d",
"lpAddress": "0x01A1f5758c3a53057B6C819Ec7331e39c167794A",
"tokens": ["0x20d704099B62aDa091028bcFc44445041eD16f09", "0x4200000000000000000000000000000000000006"],
"tokenOracleIds": ["CHAOS", "WETH"],
"decimals": [18, 18],
"oracleId": "uniswap-cow-base-chaos-weth",
"rewardPool": {
"address": "0xcC2E49eBcA7b9264F63604C607d95f696fDBdBb1",
"oracleId": "uniswap-cow-base-chaos-weth-rp"
}
},
{
"address": "0xb37b4FaC09aF8d900E15Ac942a4Ee1E498Fa0989",
"lpAddress": "0x58C10E00c2915F1b12bf08e8b0963b762D509d8E",
Expand Down
8 changes: 8 additions & 0 deletions src/utils/fetchConcentratedLiquidityTokenPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,14 @@ const tokens: Partial<Record<keyof typeof ChainId, ConcentratedLiquidityToken[]>
firstToken: 'AIFUN',
secondToken: 'ETH',
},
{
type: 'UniV3',
oracleId: 'CHAOS',
decimalDelta: 1,
pool: '0x01A1f5758c3a53057B6C819Ec7331e39c167794A',
firstToken: 'ETH',
secondToken: 'CHAOS',
},
],
zksync: [
{
Expand Down

0 comments on commit 243c0af

Please sign in to comment.