Skip to content

Commit

Permalink
chore: add label and hasRewards flag
Browse files Browse the repository at this point in the history
  • Loading branch information
piesrtasty committed Jun 1, 2024
1 parent 511c952 commit 1b00029
Showing 1 changed file with 70 additions and 4 deletions.
74 changes: 70 additions & 4 deletions src/contracts/addreses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,12 @@ export type TokenData = {
address: string
decimals: number
symbol: string
label: string
bytes32String: string
collateralJoin: string
collateralAuctionHouse: string
isCollateral: boolean
hasRewards: boolean
}

export type TokenList = {
Expand All @@ -192,113 +194,135 @@ const tokens: Record<GebDeployment, TokenList> = {
address: '0x4200000000000000000000000000000000000006',
decimals: 18,
symbol: 'WETH',
label: 'WETH',
bytes32String: WETH,
collateralJoin: '0xbE57D71e81F83a536937f07E0B3f48dd6f55376B',
collateralAuctionHouse: '0x2c6c978B3e707482236De7d23E3A375270F41175',
isCollateral: true,
hasRewards: true,
},
WSTETH: {
address: '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb',
decimals: 18,
symbol: 'wstETH',
symbol: 'WSTETH',
label: 'wstETH',
bytes32String: WSTETH,
collateralJoin: '0x77a82b65F8FA7da357A047B897C0339bD0B0B361',
collateralAuctionHouse: '0x375686A4cD77DD8e86dD06353E0b42bC53cB3704',
isCollateral: true,
hasRewards: true,
},
OP: {
address: '0x4200000000000000000000000000000000000042',
decimals: 18,
symbol: 'OP',
label: 'OP',
bytes32String: OP,
collateralJoin: '0x994fa61F9305Bdd6e5E6bA84015Ee28b109C827A',
collateralAuctionHouse: '0x6b5c2deA8b9b13A043DDc25C6581cD6D87a2A881',
isCollateral: true,
hasRewards: true,
},
SNX: {
address: '0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4',
decimals: 18,
symbol: 'SNX',
label: 'SNX',
bytes32String: SNX,
collateralJoin: '0xa24b2dff829cf0e0a60216b814169b54114f3f37',
collateralAuctionHouse: '0x007e5f18697b937d26f7f2bffd44dd1b3e5c7300',
isCollateral: true,
hasRewards: false,
},
/* TODO: uncomment if / after WBTC is deployed through governance
WBTC: {
address: '0x68f180fcCe6836688e9084f035309E29Bf0A2095',
decimals: 8,
symbol: 'WBTC',
label: 'WBTC',
bytes32String: WBTC,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after RETH is deployed through governance */
RETH: {
address: '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D',
decimals: 18,
symbol: 'rETH',
symbol: 'RETH',
label: 'rETH',
bytes32String: RETH,
collateralJoin: '0x8facb2fc0a6bc9b82a17c5f4092fadbc415b8ffa',
collateralAuctionHouse: '0xf8c655ed6475beffbd2964efec592bbd21757804',
isCollateral: true,
hasRewards: false,
},
/**/
/* TODO: uncomment if / after LUSD-A is deployed through governance
'LUSD-A': {
address: '0xc40F949F8a4e094D1b49a23ea9241D289B7b2819',
decimals: 18,
symbol: 'LUSD-A',
label: 'LUSD-A',
bytes32String: LUSD_A,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after SUSD-A is deployed through governance
'SUSD-A': {
address: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9',
decimals: 18,
symbol: 'SUSD-A',
label: 'SUSD-A',
bytes32String: SUSD_A,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after LINK is deployed through governance
LINK: {
address: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6',
decimals: 18,
symbol: 'LINK',
label: 'LINK',
bytes32String: LINK,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after LDO is deployed through governance
LDO: {
address: '0xFdb794692724153d1488CcdBE0C56c252596735F',
decimals: 18,
symbol: 'LDO',
label: 'LDO',
bytes32String: LDO,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after UNI is deployed through governance
UNI: {
address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691',
decimals: 18,
symbol: 'UNI',
label: 'UNI',
bytes32String: UNI,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after VELO is deployed through governance
Expand All @@ -307,201 +331,243 @@ const tokens: Record<GebDeployment, TokenList> = {
address: '0x9560e827aF36c94D2Ac33a39bCE1Fe78631088Db', // VelodromeV2
decimals: 18,
symbol: 'VELO',
label: 'VELO',
bytes32String: VELO,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after frxETH is deployed through governance
FRXETH: {
address: '0x6806411765Af15Bddd26f8f544A34cC40cb9838B',
decimals: 18,
symbol: 'frxETH',
symbol: 'FRXETH',
label: 'frxETH',
bytes32String: FRXETH,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after sfrxETH is deployed through governance
SFRXETH: {
address: '0x484c2D6e3cDd945a8B2DF735e079178C1036578c',
decimals: 18,
symbol: 'sfrxETH',
symbol: 'SFRXETH',
label: 'sfrxETH',
bytes32String: SFRXETH,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
/* TODO: uncomment if / after PENDLE is deployed through governance
PENDLE: {
address: '0xBC7B1Ff1c6989f006a1185318eD4E7b5796e66E1',
decimals: 18,
symbol: 'PENDLE',
label: 'PENDLE',
bytes32String: PENDLE,
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: true,
hasRewards: false,
},
*/
HAI: {
address: '0x10398AbC267496E49106B07dd6BE13364D10dC71',
decimals: 18,
symbol: 'HAI',
label: 'HAI',
bytes32String: '',
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
KITE: {
address: '0xf467C7d5a4A9C4687fFc7986aC6aD5A4c81E1404',
decimals: 18,
symbol: 'KITE',
label: 'KITE',
bytes32String: '',
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
},
'optimism-goerli': {
WETH: {
address: '0x4200000000000000000000000000000000000006',
decimals: 18,
symbol: 'WETH',
label: 'WETH',
bytes32String: WETH,
collateralJoin: '0xC0888B3d49073E84A00FE341104FB0756d9142E6',
collateralAuctionHouse: '0xE3c748B71bc75FA8E188E487f03a0E2741a7cb77',
isCollateral: true,
hasRewards: false,
},
OP: {
address: '0x4200000000000000000000000000000000000042',
decimals: 18,
symbol: 'OP',
label: 'OP',
bytes32String: OP,
collateralJoin: '0xD11e8a5eB973E3b4b613171b5745261fcF83ec7B',
collateralAuctionHouse: '0xbD2a307BBbd07e9E83BAf61BbB7f88F27B227C8C',
isCollateral: true,
hasRewards: false,
},
SNX: {
address: '0x2E5ED97596a8368EB9E44B1f3F25B2E813845303',
decimals: 18,
symbol: 'SNX',
label: 'SNX',
bytes32String: SNX,
collateralJoin: '0x1e4Cc1F2250376b5ECe0093da530aee30a40dc8D',
collateralAuctionHouse: '0x334fBD39f300c80cbe4ABA4B93a9C8eC895f4c35',
isCollateral: true,
hasRewards: false,
},
WBTC: {
address: '0x72Bf28D2E3dfE44a7dD0BFE265fCc381fF8A74C8',
decimals: 8,
symbol: 'WBTC',
label: 'WBTC',
bytes32String: WBTC,
collateralJoin: '0x4A025ac49E92e8fC62871E56129b90612a7D8647',
collateralAuctionHouse: '0xb5aFbD1f748F22D4EaC9e7F43c709942eE6F0500',
isCollateral: true,
hasRewards: false,
},
STN: {
address: '0x41944Bebe7Bfd3C708DBf96F4eE2d0c3b91843CA',
decimals: 3,
symbol: 'STN',
label: 'STN',
bytes32String: STONES,
collateralJoin: '0xa192df7b5e9e67731b2dc2793749B36ef1f254fc',
collateralAuctionHouse: '0x37941361EA0769823811a2D95aA59158277Bc82A',
isCollateral: true,
hasRewards: false,
},
TTM: {
address: '0xdCfd86628e5e5eC7f7c1d8Ae9894E57dDF86c1f1',
decimals: 0,
symbol: 'TTM',
label: 'TTM',
bytes32String: TOTEM,
collateralJoin: '0x93667E2b8437a747604caC0e3716605C8a37BAa8',
collateralAuctionHouse: '0xeb3AfaE71446FBac3d97F572cE56475Cbd5a33Bc',
isCollateral: true,
hasRewards: false,
},
HAI: {
address: '0xb2d541BDd0037e03d6B43490c9A72594a6c37A0f',
decimals: 18,
symbol: 'HAI',
label: 'HAI',
bytes32String: '',
collateralJoin: '0xf439248215b6668018272bcF4B03E6E172472b52',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
KITE: {
address: '0x05CBD1C19Af83Ab7929C8cA5000076cc0D3CeD62',
decimals: 18,
symbol: 'KITE',
label: 'KITE',
bytes32String: '',
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
},
'optimism-sepolia': {
WETH: {
address: '0x4200000000000000000000000000000000000006',
decimals: 18,
symbol: 'WETH',
label: 'WETH',
bytes32String: WETH,
collateralJoin: '0x49C1b389167A19e72D8840faAEDa18Fa715F3578',
collateralAuctionHouse: '0x4D720Ef81C6d2e887bEFFac1392023930E863565',
isCollateral: true,
hasRewards: false,
},
OP: {
address: '0x4200000000000000000000000000000000000042',
decimals: 18,
symbol: 'OP',
label: 'OP',
bytes32String: OP,
collateralJoin: '0xbBCE0894Fa82497b752c9C2a8D510C6B3AA20682',
collateralAuctionHouse: '0x8E2353D4A265D08EB1A2fcAF5868F79dbE7bea60',
isCollateral: true,
hasRewards: false,
},
WBTC: {
address: '0x83ADb8fc025D3F74Fb29D87A0aF62c3F8d5ed513',
decimals: 8,
symbol: 'WBTC',
label: 'WBTC',
bytes32String: WBTC,
collateralJoin: '0x46C4ffF889aD94793287cB9A577FeDF635a88FAE',
collateralAuctionHouse: '0xCC33Fce1cbFa9c4636D57c76ce78aF9846590E07',
isCollateral: true,
hasRewards: false,
},
STN: {
address: '0x8d8B01B53d75da4F1D4d251b0f064d37279164C4',
decimals: 3,
symbol: 'STN',
label: 'STN',
bytes32String: STONES,
collateralJoin: '0x70d3e62C0ab3184a68CD38DA7Fe4391813283C16',
collateralAuctionHouse: '0xac7B5800208A2e096F0CA1eeBa224E2740f6d87c',
isCollateral: true,
hasRewards: false,
},
TTM: {
address: '0x10FE3a8c67d9d44C57CF109f5D8F5F190D1F1f6A',
decimals: 0,
symbol: 'TTM',
label: 'TTM',
bytes32String: TOTEM,
collateralJoin: '0x9a6E15A16E92451106D79045F5DD785F0a478680',
collateralAuctionHouse: '0x1c349B5eD9e5797098419821cE777A407BE805cb',
isCollateral: true,
hasRewards: false,
},
HAI: {
address: '0xd87Dd8e541BB8027f5d7292b2096a59DCa056C76',
decimals: 18,
symbol: 'HAI',
label: 'HAI',
bytes32String: '',
collateralJoin: '0xdA31dE7569F96A435B7D1ad8c297fc89c871C228',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
KITE: {
address: '0xbEa0B991DfA52b6935F968fEf4279ba8472326E2',
decimals: 18,
symbol: 'KITE',
label: 'KITE',
bytes32String: '',
collateralJoin: '',
collateralAuctionHouse: '',
isCollateral: false,
hasRewards: false,
},
},
}
Expand Down

0 comments on commit 1b00029

Please sign in to comment.