-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f80e6e1
commit cdff27f
Showing
14 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { beefyfinance } from './platforms/beefyfinance'; | ||
import { tokens } from './tokens/tokens'; | ||
import { convertSymbolTokenMapToAddressTokenMap } from '../../util/convertSymbolTokenMapToAddressTokenMap'; | ||
import Chain from '../../types/chain'; | ||
import { ConstInterface } from '../../types/const'; | ||
|
||
const _fraxtal = { | ||
platforms: { | ||
beefyfinance, | ||
}, | ||
tokens, | ||
tokenAddressMap: convertSymbolTokenMapToAddressTokenMap(tokens), | ||
} as const; | ||
|
||
export const fraxtal: ConstInterface<typeof _fraxtal, Chain> = _fraxtal; |
20 changes: 20 additions & 0 deletions
20
packages/address-book/address-book/fraxtal/platforms/beefyfinance.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const devMultisig = '0x6eA680acb92497F6dbe64d93d8a00a6d20106616'; | ||
const treasuryMultisig = '0x944819832B287bFb85BB94a163480516a33E819d'; | ||
|
||
export const beefyfinance = { | ||
devMultisig: devMultisig, | ||
treasuryMultisig: treasuryMultisig, | ||
strategyOwner: '0x73F97432Adb2a1c39d0E1a6e554c7d4BbDaFC316', | ||
vaultOwner: '0xC35a456138dE0634357eb47Ba5E74AFE9faE9a98', | ||
keeper: '0x4fED5491693007f0CD49f4614FFC38Ab6A04B619', | ||
treasurer: treasuryMultisig, | ||
launchpoolOwner: devMultisig, | ||
rewardPool: '0x0000000000000000000000000000000000000000', | ||
treasury: treasuryMultisig, | ||
beefyFeeRecipient: '0x02Ae4716B9D5d48Db1445814b0eDE39f5c28264B', | ||
multicall: '0x2840463Ea288c26B66E24f92E8C704e1aB6b095c', | ||
bifiMaxiStrategy: '0x0000000000000000000000000000000000000000', // Not used | ||
voter: '0x5e1caC103F943Cd84A1E92dAde4145664ebf692A', | ||
beefyFeeConfig: '0xfc69704cC3cAac545cC7577009Ea4AA04F1a61Eb', | ||
vaultFactory: '0x91BB303E972995EbE5f593BCddBb6F5Ef49Dbcbd', // todo | ||
} as const; |
25 changes: 25 additions & 0 deletions
25
packages/address-book/address-book/fraxtal/tokens/tokens.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { ConstRecord } from '../../../types/const'; | ||
import Token from '../../../types/token'; | ||
|
||
const frxETH = { | ||
name: 'Frax Wrapped Ether', | ||
address: '0xFC00000000000000000000000000000000000006', | ||
symbol: 'frxETH', | ||
oracleId: 'frxETH', | ||
decimals: 18, | ||
chainId: 252, | ||
website: 'https://app.frax.finance/frxeth/mint', | ||
description: | ||
'frxETH acts as a stablecoin loosely pegged to ETH, so that 1 frxETH always represents 1 ETH and the amount of frxETH in circulation matches the amount of ETH in the Frax ETH system. When ETH is sent to the frxETHMinter, an equivalent amount of frxETH is minted. Holding frxETH on its own is not eligible for staking yield and should be thought of as analogous as holding ETH.', | ||
bridge: 'fraxtal-canonical', | ||
logoURI: '', | ||
documentation: 'https://docs.frax.finance/frax-ether/frxeth-and-sfrxeth', | ||
} as const; | ||
|
||
const _tokens = { | ||
frxETH, | ||
wfrxETH: frxETH, | ||
WNATIVE: frxETH, | ||
} as const; | ||
|
||
export const tokens: ConstRecord<typeof _tokens, Token> = _tokens; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,5 @@ export enum ChainId { | |
gnosis = 100, | ||
linea = 59144, | ||
mantle = 5000, | ||
fraxtal = 252, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ const chainIdMap = { | |
gnosis: 100, | ||
linea: 59144, | ||
mantle: 5000, | ||
fraxtal: 252, | ||
}; | ||
|
||
export default chainIdMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters