Skip to content

Commit

Permalink
Add MBASIS token information and update dependencies in package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
piekczyk committed Dec 13, 2024
1 parent 0d907bc commit 86cafb6
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 5 deletions.
1 change: 1 addition & 0 deletions blockchain/contracts/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export const mainnetContracts = {
'SAFE-DAI': contractDesc(ajnaPool, mainnet.ajna.AjnaPoolPairs_SAFEDAI),
'WOETH-ETH': contractDesc(ajnaPool, mainnet.ajna.AjnaPoolPairs_WOETHETH),
'SYRUPUSDC-USDC': contractDesc(ajnaPool, mainnet.ajna.AjnaPoolPairs_SYRUPUSDCUSDC),
'MBASIS-USDC': contractDesc(ajnaPool, mainnet.ajna.AjnaPoolPairs_MBASISUSDC),
},
ajnaOraclessPoolPairs: {
'YVCURVEUSDMSDAIF-DAI': contractDesc(ajnaPool, mainnet.ajna.AjnaPoolPairs_YVCURVEUSDMSDAIFDAI),
Expand Down
11 changes: 11 additions & 0 deletions blockchain/token-metadata-list/token-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,17 @@ export const tokenConfigs: TokenConfig[] = [
background: 'linear-gradient(160.47deg, #F0F3FD 0.35%, #FCF0FD 99.18%), #FFFFFF',
tags: [],
},
{
symbol: 'MBASIS',
precision: 18,
digits: 5,
digitsInstant: 2,
name: 'MBASIS',
icon: question,
iconCircle: question,
coinGeckoTicker: 'midas-basis-trading-token',
tags: [],
},
{
symbol: 'UNIV2DAIETH',
precision: 18,
Expand Down
1 change: 1 addition & 0 deletions blockchain/tokens/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const tokensMainnet = {
SKY: contractDesc(sky, '0x56072C95FAA701256059aa122697B133aDEd9279'),
USDS: contractDesc(skyUsds, '0xdC035D45d973E3EC169d2276DDab16f1e407384F'),
WUSDL: contractDesc(erc20, mainnet.common.WUSDL),
MBASIS: contractDesc(erc20, mainnet.common.MBASIS),
} as Record<string, ContractDesc>

export const ACCOUNT_GUARD_FACTORY_GENESIS_MAINNET = 16183119
Expand Down
1 change: 1 addition & 0 deletions features/omni-kit/helpers/isYieldLoopPair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const yieldLoopDefinition = {
'LUSD',
'GHO',
'FRAX',
'MBASIS',
],
}

Expand Down
1 change: 1 addition & 0 deletions features/omni-kit/protocols/ajna/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const settings: OmniProtocolSettings = {
'XETH',
'YFI',
'WOETH',
'MBASIS',
],
[NetworkIds.GOERLI]: [],
[NetworkIds.BASEMAINNET]: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@lifi/wallet-management": "^2.6.1",
"@lifi/widget": "^2.10.2",
"@metamask/eth-sig-util": "^5.0.2",
"@oasisdex/addresses": "0.1.91",
"@oasisdex/addresses": "0.1.92",
"@oasisdex/automation": "1.6.5-morpho.6",
"@oasisdex/dma-library": "0.6.80",
"@oasisdex/multiply": "^0.2.11",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2502,10 +2502,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@oasisdex/[email protected].91":
version "0.1.91"
resolved "https://registry.yarnpkg.com/@oasisdex/addresses/-/addresses-0.1.91.tgz#eaa8d176451d39f3a9a26eb1dd2d7ff1366e2bcd"
integrity sha512-eeVzy6Nwuw0gowJXFgHQ8I4pBr/KehXNFSTVyBVcLUzsiVIgPenxPb2WVgv7BpPjKBV2dbBeV4aaxOUdJuT6ow==
"@oasisdex/[email protected].92":
version "0.1.92"
resolved "https://registry.yarnpkg.com/@oasisdex/addresses/-/addresses-0.1.92.tgz#3601194a17d05078353e0b61814a6c685adc6a2c"
integrity sha512-cj8xj7PuT9ZEVoF9IhfghRsmrW/ui/Jz3CUyCP2x3gQ5mdf6rKgMe8PPwtrpfVCgcBYWn/wpN0L9JO8EuIy8Zw==

"@oasisdex/[email protected]":
version "1.6.5-morpho.6"
Expand Down

0 comments on commit 86cafb6

Please sign in to comment.