Skip to content

Commit

Permalink
feat: add new sugar contract, rETH/hai pool
Browse files Browse the repository at this point in the history
  • Loading branch information
piesrtasty authored Jan 27, 2025
2 parents 453dc34 + 55dec8f commit de8e83b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useVelodrome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function useVelodrome() {
const fetchData = async () => {
try {
setLoading(true)
const lps = (await velodromeSugarContract.all(BigNumber.from(300), BigNumber.from(650))) as any[]
const lps = (await velodromeSugarContract.all(BigNumber.from(500), BigNumber.from(650))) as any[]
const targetTokens = [getAddress(HAI_ADDRESS), getAddress(KITE_ADDRESS)]

const flteredLps = lps.filter((lp) => targetTokens.includes(lp[7]) || targetTokens.includes(lp[10]))
Expand Down
21 changes: 13 additions & 8 deletions src/utils/rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,38 @@ export const REWARDS = {
// sAMMV2-HAI/sUSD
['0xbdED651C03E2bC332AA49C1ffCa391eAA3ea6B86'.toLowerCase()]: {
KITE: 15,
OP: 50,
OP: 35,
},
// sAMMV2-HAI/LUSD
['0x588f26d5BefE74dC61694a7B36227C0e0C52C0f9'.toLowerCase()]: {
KITE: 30,
OP: 120,
KITE: 15,
OP: 50,
},
// CL50-HAI/LUSD
['0xA61FBA486e2d04C4D865183A47fc1C9F6F4Cec1f'.toLowerCase()]: {
KITE: 0,
OP: 0,
KITE: 15,
OP: 50,
},
// vAMMV2-KITE/HAI
['0xf2d3941b6E1cbD3616061E556Eb06986147715d1'.toLowerCase()]: {
KITE: 75,
KITE: 25,
OP: 25,
},
// vAMMV2-KITE/OP
['0xf4638dC488F9C826DC40250515592E678E447238'.toLowerCase()]: {
KITE: 0,
KITE: 25,
OP: 0,
},
// vAMMV2-pxETH/HAI
['0xD5fE49a4c0Fc482Ee757DF703A3a332DB209aC2e'.toLowerCase()]: {
KITE: 25,
OP: 75,
},
// vAMM-HAI/rETH
['0x4cE1d27d824062B159D000e3212B2F5106792C34'.toLowerCase()]: {
KITE: 35,
OP: 0,
},
// vAMMV2-SAIL/KITE
['0xB5cD4bD4bdB5C97020FBE192258e6F08333990E2'.toLowerCase()]: {
KITE: 0,
Expand All @@ -96,7 +101,7 @@ export const REWARDS = {
},
}

export const VELO_SUGAR_ADDRESS = '0xba3d1A960dC10bFBAAA7106C2Cd4FFB291160Bad'
export const VELO_SUGAR_ADDRESS = '0x3b919747b46b13cffd9f16629cff951c0b7ea1e2'

export const KITE_ADDRESS = '0xf467C7d5a4A9C4687fFc7986aC6aD5A4c81E1404'
export const HAI_ADDRESS = '0x10398AbC267496E49106B07dd6BE13364D10dC71'
Expand Down

0 comments on commit de8e83b

Please sign in to comment.