-
Notifications
You must be signed in to change notification settings - Fork 2
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
c24f935
commit 85862ea
Showing
3 changed files
with
253 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,89 @@ | ||
// SPDX-License-Identifier: ISC | ||
pragma solidity >=0.8.0; | ||
|
||
// **NOTE** Generated code, do not modify. Run 'npm run generate:constants'. | ||
|
||
import { TestBase } from "forge-std/Test.sol"; | ||
|
||
library Canonicals { | ||
address internal constant FRAX = 0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64; | ||
address internal constant FXS = 0x214DB107654fF987AD859F34125307783fC8e387; | ||
address internal constant FPI = 0xF530904FD8F9ce55F40b7cc78382A13B0cd5C48c; | ||
address internal constant FPIS = 0xee7cBa1403A2B0C53181B3980D52f9C5EdEEcC9e; | ||
address internal constant FRXETH = 0x2018B0CA0eDcE80800851958bD094dD4a8DA1fc4; | ||
address internal constant SFRXETH = 0x6D3B126ae28f3E39894070148B377624F6Ab4a45; | ||
address internal constant SFRAX = 0x3405E88af759992937b84E58F2Fe691EF0EeA320; | ||
} | ||
|
||
library Farms { | ||
address internal constant PANGOLIN_FRAX_AVAX = 0x1f806f7C8dED893fd3caE279191ad7Aa3798E928; | ||
address internal constant PANGOLIN_FXS_AVAX = 0x76Ad5c64Fe6B26b6aD9aaAA19eBa00e9eCa31FE1; | ||
address internal constant SNOWBALL_S4D = 0x0bd7964E2E03bdb9703658A1e88F4Dc786FfA551; | ||
address internal constant TRADER_JOE_FRAX_AVAX = 0x862905a82382Db9405a40DCAa8Ee9e8F4af52C89; | ||
address internal constant TRADER_JOE_FRAX_GOHM = 0x3E6Be71dE004363379d864006AAC37C9F55F8329; | ||
address internal constant TRADER_JOE_FXS_AVAX = 0x53942Dcce5087f56cF1D68F4e017Ca3A793F59a2; | ||
} | ||
|
||
library FraxBonds {} | ||
|
||
library FraxFerry { | ||
address internal constant FRAXFERRY_V1__ETHEREUM_AVALANCHE__FRAX__AVAX_SIDE = | ||
0x5dfF474Cea8A1FA929AC9A3cE2550376aF11d2A8; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__FXS__AVAX_SIDE = | ||
0xC311b600bc926a3a8aC39945471427DFd9196930; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPI__AVAX_SIDE = | ||
0x5E2Ba6a55a5A031d4eCdbAf5691316b7779A6dD4; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPIS__AVAX_SIDE = | ||
0xb3F6A473b875d74b0E2a86ba9F8a2A935241BaE7; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__FRXETH__AVAX_SIDE = | ||
0x8f4312DAB71BaAaF64917556333B004db5f3D7DA; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRXETH__AVAX_SIDE = | ||
0xaf45B8fbde0e0aCbeB5Acf2faE28A34701b1eF01; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRAX__AVAX_SIDE = | ||
0x0304A365C0fbb4b1Ad423887861b9b69a5f0c00E; | ||
address internal constant CAPTAIN = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant FIRST_OFFICER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant CREWMEMBER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
} | ||
|
||
library FraxlendAndOracles { | ||
address internal constant COMBO_ORACLE = 0xf22460b939F1490b485005C0fe4643951724f822; | ||
address internal constant COMBO_ORACLE_UNIV2_UNIV3 = 0xfD1a5eD9FaE84f06Ab2e846851F256D4d07B1A17; | ||
} | ||
|
||
library Fraxswap { | ||
address internal constant FRAXSWAP_FACTORY_V1 = 0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E; | ||
address internal constant FRAXSWAP_FACTORY_V2 = 0xf77ca9B635898980fb219b4F4605C50e4ba58afF; | ||
address internal constant FRAXSWAP_ROUTER_V1 = 0xc2544A32872A91F4A553b404C6950e89De901fdb; | ||
address internal constant FRAXSWAP_ROUTER_V2 = 0x5977b16AA9aBC4D1281058C73B789C65Bf9ab3d3; | ||
address internal constant FRAXSWAP_V1_FRAX_FXS = 0xEa9345507c4055b2aC73c67e56f7207702FE66Cc; | ||
address internal constant FRAXSWAP_V1_FRAX_WAVAX = 0x48A7d7d9b6d6529a3d191E434b71CDB874f29011; | ||
address internal constant FRAXSWAP_V2_FRAX_FXS = 0x27cc2Be95D1492bbA726E10Eba57968A065F05eC; | ||
address internal constant FRAXSWAP_V2_FRAX_WAVAX = 0xC725819a7c2A5d3DA243e02eb886b4C5f2B4dc6A; | ||
} | ||
|
||
library Misc {} | ||
|
||
library Multisigs { | ||
address internal constant COMPTROLLER = 0xc036Caff65c1A31eAa53e60F6E17f1E6689937AA; | ||
address internal constant FPI_COMPTROLLER = 0xB3e03c9C1820C6216953FB1BBC6fFd232ac12a19; | ||
} | ||
|
||
library PoolRelatedTokens { | ||
address internal constant AXIAL_AC4D_TSD_MIM_FRAX_DAI_E = 0x4da067E13974A4d32D342d86fBBbE4fb0f95f382; | ||
address internal constant CURVE4POOL = 0xcb11EE4B70d73e38a383b8691cAFb221059669cC; | ||
address internal constant CURVE_4POOL = 0xcb11EE4B70d73e38a383b8691cAFb221059669cC; | ||
address internal constant FRAX3CRV_F = 0xE013593CEA239E445d2271106836b00C9E7356ae; | ||
address internal constant GOHM = 0x321E7092a180BB43555132ec53AaA65a5bF84251; | ||
address internal constant PANGOLIN_CANFRAX_CANFXS = 0xe0CC7ed0666B29e60a21aF8636bBC69b21eDc434; | ||
address internal constant PANGOLIN_CANFRAX_USDC_E = 0x0c8249757b8d66cB2b6155281A5e4f8F53C94c05; | ||
address internal constant PANGOLIN_CANFRAX_WAVAX = 0x0CE543c0f81ac9AAa665cCaAe5EeC70861a6b559; | ||
address internal constant PANGOLIN_CANFXS_USDC_E = 0x8614F7ca1f4b08Ef2C158a3027EA55fAA8384aC8; | ||
address internal constant PANGOLIN_FRAX_AVAX = 0x0CE543c0f81ac9AAa665cCaAe5EeC70861a6b559; | ||
address internal constant PANGOLIN_FXS_AVAX = 0xd538a741c6782Cf4E21e951cdA39327c50C51087; | ||
address internal constant SNOWBALL_S4D = 0xB91124eCEF333f17354ADD2A8b944C76979fE3EC; | ||
address internal constant TRADER_JOE_FRAX_AVAX = 0x862905a82382Db9405a40DCAa8Ee9e8F4af52C89; | ||
address internal constant TRADER_JOE_FRAX_GOHM = 0x3E6Be71dE004363379d864006AAC37C9F55F8329; | ||
address internal constant TRADER_JOE_FRAX_WAVAX = 0x0d84595e8638dBc631076c51000B2d31120D8aa1; | ||
address internal constant TRADER_JOE_FXS_AVAX = 0x53942Dcce5087f56cF1D68F4e017Ca3A793F59a2; | ||
} |
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,78 @@ | ||
// SPDX-License-Identifier: ISC | ||
pragma solidity >=0.8.0; | ||
|
||
// **NOTE** Generated code, do not modify. Run 'npm run generate:constants'. | ||
|
||
import { TestBase } from "forge-std/Test.sol"; | ||
|
||
library Canonicals { | ||
address internal constant FRAX = 0x90C97F71E18723b0Cf0dfa30ee176Ab653E89F40; | ||
address internal constant FXS = 0xe48A3d7d0Bc88d552f730B62c006bC925eadB9eE; | ||
address internal constant FPI = 0x2Dd1B4D4548aCCeA497050619965f91f78b3b532; | ||
address internal constant FPIS = 0xD1738eB733A636d1b8665f48bC8a24dA889c2562; | ||
address internal constant FRXETH = 0x64048A7eEcF3a2F1BA9e144aAc3D7dB6e58F555e; | ||
address internal constant SFRXETH = 0x3Cd55356433C89E50DC51aB07EE0fa0A95623D53; | ||
address internal constant SFRAX = 0xa63f56985F9C7F3bc9fFc5685535649e0C1a55f3; | ||
} | ||
|
||
library Farms { | ||
address internal constant APESWAP_CANFRAX_BUSD = 0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9; | ||
address internal constant APESWAP_CANFXS_WBNB = 0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9; | ||
address internal constant IMPOSSIBLE_FRAX_IF = 0x5e1F728C0123f7e8B237F61D0105bf9CBd8867B5; | ||
address internal constant IMPOSSIBLE_FRAX_FXS = 0x5BE579e5fFF39a958E6269C6D011cd5f21e2cc32; | ||
address internal constant PLANET_FINANCE_FRAX_LENDING = 0x6022bA7e5A70E1bAA98d47a566F3495A26511b25; | ||
} | ||
|
||
library FraxBonds {} | ||
|
||
library FraxFerry { | ||
address internal constant FRAXFERRY_V1__ETHEREUM_BSC__FRAX__BSC_SIDE = 0x10Ef54F944639764d2d5Efa272262f06cfaF09AE; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__FXS__BSC_SIDE = 0x5CD3d6465cd21b645F15175840f4659228C6195c; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__FPI__BSC_SIDE = 0x1B01514A2B3CdEf16fD3c680a818A0Ab97Da8a09; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__FPIS__BSC_SIDE = 0x0248940C22D2586450dd5145E81B7Fc0CA4Dd4a2; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__FRXETH__BSC_SIDE = 0xB7C974530e59017DF7FA06b1EBD9e8a1E9aceC29; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__SFRXETH__BSC_SIDE = | ||
0x612015939f70C87E2041cc5daD909101c1A2383F; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_BSC__SFRAX__BSC_SIDE = 0x5E8422345238F34275888049021821E8E08CAa1f; | ||
address internal constant CAPTAIN = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant FIRST_OFFICER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant CREWMEMBER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
} | ||
|
||
library FraxlendAndOracles { | ||
address internal constant COMBO_ORACLE = 0x1B3C6BdEACdc4DD9B0C8E3e2Fd222b4581a52A1A; | ||
address internal constant COMBO_ORACLE_UNIV2_UNIV3 = 0x8159D9CD28B7A140Fd92311C1E5c667d97176727; | ||
} | ||
|
||
library Fraxswap { | ||
address internal constant FRAXSWAP_FACTORY_V1 = 0xa007a9716dba05289df85A90d0Fd9D39BEE808dE; | ||
address internal constant FRAXSWAP_FACTORY_V2 = 0xf89e6CA06121B6d4370f4B196Ae458e8b969A011; | ||
address internal constant FRAXSWAP_ROUTER_MULTI_HOP = 0x0000000000000000000000000000000000000000; | ||
address internal constant FRAXSWAP_ROUTER_V1 = 0x0AE84c1A6E142Ed90f8A35a7E7B216CB25469E37; | ||
address internal constant FRAXSWAP_ROUTER_V2 = 0x67F755137E0AE2a2aa0323c047715Bf6523116E5; | ||
address internal constant FRAXSWAP_V1_FRAX_FXS = 0xC86B106F76ef5b9A085071365eD5355592A7aFa4; | ||
address internal constant FRAXSWAP_V1_FRAX_WBNB = 0x84eE532a0d4238f5fC4a1E8c043f8749eD4F274D; | ||
address internal constant FRAXSWAP_V2_FRAX_FXS = 0xF51709f61447E2647528CCC9030d6FE492C30D63; | ||
address internal constant FRAXSWAP_V2_FRAX_WBNB = 0x14732123c443f8E815D5c64f3C7ecb63bCeEab74; | ||
} | ||
|
||
library Misc {} | ||
|
||
library Multisigs { | ||
address internal constant COMPTROLLER = 0x8811Da0385cCf1848B21475A42eA4D07Fc5d964a; | ||
address internal constant FPI_COMPTROLLER = 0x49f9cbf5333d8e50c9BE76c775777DB2ACb1d456; | ||
} | ||
|
||
library PoolRelatedTokens { | ||
address internal constant GFRAX = 0x6022bA7e5A70E1bAA98d47a566F3495A26511b25; | ||
address internal constant SADDLE_FRAX_BUSD = 0xBD0091CC77Fd3bDb620985a1dD8D3f94E071CCE3; | ||
address internal constant APESWAP_CANFRAX_CANFXS = 0x489c8fF79245f14AEEE9520d28209844790cB979; | ||
address internal constant APESWAP_CANFRAX_WBNB = 0x16BDb03E6074759943149eBB1526DDfD1AA5fc56; | ||
address internal constant APESWAP_CANFRAX_BUSD = 0x5292600758A090490D34367d4864ed6291D254fe; | ||
address internal constant APESWAP_CANFRAX_USDC = 0x885BE9bCbCdcB70c59F56A78ae64A820e0448589; | ||
address internal constant APESWAP_CANFXS_USDC = 0x84f2781E4E60f97D2963260A7b20D883F04F0d20; | ||
address internal constant APESWAP_CANFXS_WBNB = 0x8210D92a8951d50de3D46AC0ee39cb5E2C14e18A; | ||
address internal constant IMPOSSIBLE_FRAX_IF = 0x5316e743816223b335764738021F3Df7a17a25dA; | ||
address internal constant IMPOSSIBLE_FRAX_FXS = 0x13d80EFD9F4EC6Ef7279fE10124CeBf58C0D07C2; | ||
address internal constant SADDLE_FRAX_BUSD = 0xBD0091CC77Fd3bDb620985a1dD8D3f94E071CCE3; | ||
} |
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,86 @@ | ||
// SPDX-License-Identifier: ISC | ||
pragma solidity >=0.8.0; | ||
|
||
// **NOTE** Generated code, do not modify. Run 'npm run generate:constants'. | ||
|
||
import { TestBase } from "forge-std/Test.sol"; | ||
|
||
library Canonicals { | ||
address internal constant FRAX = 0xdc301622e621166BD8E82f2cA0A26c13Ad0BE355; | ||
address internal constant FXS = 0x7d016eec9c25232b01F23EF992D98ca97fc2AF5a; | ||
address internal constant FPI = 0xAb069E73f1AA50c37A7171D16dCc3614c705101B; | ||
address internal constant FPIS = 0x3bb6B72dC07D7bFDa981F70C631482e9517CF6EE; | ||
address internal constant FRXETH = 0x9E73F99EE061C8807F69f9c6CCc44ea3d8c373ee; | ||
address internal constant SFRXETH = 0xb90CCD563918fF900928dc529aA01046795ccb4A; | ||
} | ||
|
||
library Farms { | ||
address internal constant LIQUID_DRIVER_FRAX_FTM = 0x6e2ad6527901c9664f016466b8DA1357a004db0f; | ||
address internal constant SPIRITSWAP_FRAX_FTM = 0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D; | ||
address internal constant SPIRITSWAP_FRAX_FXS = 0x21cE9F4bCe3Ec48f34cE9073a5102bEEd965f381; | ||
address internal constant SPIRITSWAP_FRAX_USDC = 0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d; | ||
address internal constant VEDAO_FRAX = 0xE04C26444d37fE103B9cc8033c99b09D47056f51; | ||
} | ||
|
||
library FraxBonds {} | ||
|
||
library FraxFerry { | ||
address internal constant FRAXFERRY_V1__ETHEREUM_FANTOM__FRAX__FTM_SIDE = | ||
0x088Be716eCA24b143fCC9ed06C6ae9977A469CCE; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_FANTOM__FXS__FTM_SIDE = 0x9b75031D46CdEe779B36F7F2f1857fd987C6C98c; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_FANTOM__FRXETH__FTM_SIDE = | ||
0x12b6a8178C67B2835E280E1Ed709F64446cddb08; | ||
address internal constant FRAXFERRY_V2__ETHEREUM_FANTOM__SFRXETH__FTM_SIDE = | ||
0x71e1FEeAA17b6557c5FaD60101ca12F81d03838C; | ||
address internal constant CAPTAIN = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant FIRST_OFFICER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
address internal constant CREWMEMBER = 0xBB437059584e30598b3AF0154472E47E6e2a45B9; | ||
} | ||
|
||
library FraxlendAndOracles { | ||
address internal constant COMBO_ORACLE = 0x496E5c8F169C2930Dd67B821d8DdDDC78542f290; | ||
address internal constant COMBO_ORACLE_UNIV2_UNIV3 = 0x689C5BC12B0A80a8aa33dc38dfDFB7E858A49601; | ||
} | ||
|
||
library Fraxswap { | ||
address internal constant FRAXSWAP_FACTORY_V1 = 0xF55C563148cA0c0F1626834ec1B8651844D76792; | ||
address internal constant FRAXSWAP_FACTORY_V2 = 0xDc745E09fC459aDC295E2e7baACe881354dB7F64; | ||
address internal constant FRAXSWAP_ROUTER_V1 = 0xa007a9716dba05289df85A90d0Fd9D39BEE808dE; | ||
address internal constant FRAXSWAP_ROUTER_V2 = 0x7D21C651Dd333306B35F2FeAC2a19FA1e1241545; | ||
address internal constant FRAXSWAP_ROUTER_MULTI_HOP = 0x0000000000000000000000000000000000000000; | ||
address internal constant FRAXSWAP_V1_FRAX_FXS = 0xB186ad077cA69e860476B2C84ecD0DE3572A10F5; | ||
address internal constant FRAXSWAP_V1_FRAX_WFTM = 0xc736279b8371c736f027cCC3F77755D7931F8845; | ||
address internal constant FRAXSWAP_V2_FRAX_FXS = 0x4ac3de029F4C11ab40a51336F7229d67cd1e92A5; | ||
address internal constant FRAXSWAP_V2_FRAX_WFTM = 0x173F3e43F0414F903620948F9d2094F9dbD92F15; | ||
} | ||
|
||
library Misc {} | ||
|
||
library Multisigs { | ||
address internal constant COMPTROLLER = 0xE838c61635dd1D41952c68E47159329443283d90; | ||
address internal constant FPI_COMPTROLLER = 0xe722B0fA594e290a8E53bFB5654cE4Ad8a4BE811; | ||
} | ||
|
||
library PoolRelatedTokens { | ||
address internal constant CURVE4POOL = 0x9dc516a18775d492c9f061211C8a3FDCd476558d; | ||
address internal constant CURVE_4POOL = 0x9dc516a18775d492c9f061211C8a3FDCd476558d; | ||
address internal constant FRAX2POOL = 0x7a656B342E14F745e2B164890E88017e27AE7320; | ||
address internal constant HFRAX = 0xb4300e088a3AE4e624EE5C71Bc1822F68BB5f2bc; | ||
address internal constant LIQUID_DRIVER_FRAX_FTM = 0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D; | ||
address internal constant OFRAX = 0x88c05534566f3bD6b6D704c9259408fF1F1a3F00; | ||
address internal constant OXSOLID = 0xDA0053F0bEfCbcaC208A3f867BB243716734D809; | ||
address internal constant OX_VAMM_FXS_FRAX_DEPOSIT = 0x9601f81F35B2F00549a654E3f2E5D7c87F733530; | ||
address internal constant SADDLE_FRAX_USDC = 0xc969dD0A7AB0F8a0C5A69C0839dB39b6C928bC08; | ||
address internal constant SCFRAX = 0x4E6854EA84884330207fB557D1555961D85Fc17E; | ||
address internal constant SEX_SAMM_USDC_FRAX_DEPOSIT = 0xF3E57E9cba43F9998559161DDd40aaeB2225E700; | ||
address internal constant SEX_VAMM_FXS_FRAX_DEPOSIT = 0xa5944150136aCF58e4e9752703Fcf7B13e8579E7; | ||
address internal constant SOLIDLY_STABLEV1_AMM___USDC_FRAX = 0x154eA0E896695824C87985a52230674C2BE7731b; | ||
address internal constant SOLIDLY_VOLATILEV1_AMM___FXS_FRAX = 0x4bBd8467ccd49D5360648CE14830f43a7fEB6e45; | ||
address internal constant SPIRITSWAP_CANFRAX_ANYUSDC = 0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d; | ||
address internal constant SPIRITSWAP_CANFRAX_CANFXS = 0x7a2aD237e389De505DE7a89768143337E516C6Ce; | ||
address internal constant SPIRITSWAP_CANFRAX_FTM = 0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D; | ||
address internal constant SPIRITSWAP_CANFXS_ANYUSDC = 0xB269A9969A437e778A8BFdB48A720aD366742554; | ||
address internal constant SPIRITSWAP_FRAX_FTM = 0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D; | ||
address internal constant SPIRITSWAP_FRAX_FXS = 0x100FcF27C87D1cc7b8D6c28b69b84A359e4fd377; | ||
address internal constant SPIRITSWAP_FRAX_USDC = 0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d; | ||
} |