Skip to content

Commit

Permalink
feat: add beefy velo vault collateral (op/velo)
Browse files Browse the repository at this point in the history
  • Loading branch information
piesrtasty authored Aug 26, 2024
2 parents aeaeed5 + c205c9c commit d965b45
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hai-on-op/sdk",
"version": "1.2.15",
"version": "1.2.16",
"description": "Javascript client for HAI",
"license": "MIT",
"main": "lib",
Expand Down
12 changes: 12 additions & 0 deletions src/contracts/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
STONES,
TOTEM,
APXETH,
MOO_VELO_V2_OP_VELO,
} from '../utils'

// All keys are mandatory
Expand Down Expand Up @@ -353,6 +354,17 @@ const tokens: Record<GebDeployment, TokenList> = {
isCollateral: true,
hasRewards: false,
},
'MOO-VELO-V2-OP-VELO': {
address: '0x04c4a21D7439eD05fd33469565541bF6464F7157',
decimals: 18,
symbol: 'MOO-VELO-V2-OP-VELO',
label: 'MOO-VELO-V2-OP-VELO',
bytes32String: MOO_VELO_V2_OP_VELO,
collateralJoin: '0x6207a306f34e1a9e6eda65ecc3d4e27d76593e4b',
collateralAuctionHouse: '0xc362e012733FcFf9b83c02Ef12B9156472e007C7',
isCollateral: true,
hasRewards: false,
},
/* TODO: uncomment if / after frxETH is deployed through governance
FRXETH: {
address: '0x6806411765Af15Bddd26f8f544A34cC40cb9838B',
Expand Down
5 changes: 5 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ const VELO = '0x56454c4f00000000000000000000000000000000000000000000000000000000
* byte32 value for the "APXETH" collateral
*/
const APXETH = '0x4150584554480000000000000000000000000000000000000000000000000000'
/**
* byte32 value for the "MOO-VELO-V2-OP-VELO" collateral
*/
const MOO_VELO_V2_OP_VELO = '0x4d4f4f2d56454c4f2d56322d4f502d56454c4f00000000000000000000000000'
/**
* byte32 value for the "FRXETH" collateral
*/
Expand Down Expand Up @@ -190,6 +194,7 @@ export {
UNI,
VELO,
APXETH,
MOO_VELO_V2_OP_VELO,
FRXETH,
SFRXETH,
PENDLE,
Expand Down

0 comments on commit d965b45

Please sign in to comment.