Skip to content

Commit

Permalink
Add PUBLIUS Uni CLM
Browse files Browse the repository at this point in the history
  • Loading branch information
kexleyBeefy committed Nov 22, 2024
1 parent e578872 commit b8c5efc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
12 changes: 12 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 @@ -1834,4 +1834,16 @@ export const tokens = {
bridge: 'base-canonical',
risks: ['NO_TIMELOCK'],
},
PUBLIUS: {
name: 'PUBLIUS',
symbol: 'PUBLIUS',
oracleId: 'PUBLIUS',
address: '0x3512208ea82A7df9AfFb5ed07F3CBb9D7dEB7418',
chainId: 8453,
decimals: 18,
logoURI: '',
description: 'Deployed by the AI agent Clanker.',
website: 'https://www.clanker.world/clanker/0x3512208ea82A7df9AfFb5ed07F3CBb9D7dEB7418',
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": "0xc2E03996c1e7Fced103B6E1895cC27E9e663f9BE",
"lpAddress": "0x6cbCc650ac3D287BaD441F8fCce19aB9CD66c3d5",
"tokens": ["0x3512208ea82A7df9AfFb5ed07F3CBb9D7dEB7418", "0x4200000000000000000000000000000000000006"],
"tokenOracleIds": ["PUBLIUS", "WETH"],
"decimals": [18, 18],
"oracleId": "uniswap-cow-base-publius-weth",
"rewardPool": {
"address": "0x1cD2aE8794fB5146dc61d342062062E85fD024b5",
"oracleId": "uniswap-cow-base-publius-weth-rp"
}
},
{
"address": "0x48145EBbabEcB70909F78b5FCF4320c80BBBF68E",
"lpAddress": "0x346eDb1aAa704dF6dDbfc604724AAFcdC12b2fed",
Expand Down
8 changes: 8 additions & 0 deletions src/utils/fetchConcentratedLiquidityTokenPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,14 @@ const tokens: Partial<Record<keyof typeof ChainId, ConcentratedLiquidityToken[]>
firstToken: 'MORPHO',
secondToken: 'ETH',
},
{
type: 'UniV3',
oracleId: 'PUBLIUS',
decimalDelta: 1,
pool: '0x6cbCc650ac3D287BaD441F8fCce19aB9CD66c3d5',
firstToken: 'ETH',
secondToken: 'PUBLIUS',
},
],
zksync: [
{
Expand Down

0 comments on commit b8c5efc

Please sign in to comment.