generated from BlossomLabs/web3-turbo-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from 1Hive/dev
[Dev to Main] Sepolia
- Loading branch information
Showing
97 changed files
with
4,145 additions
and
23,004 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
export const contractsAddresses = { | ||
allo: "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0" as `0x${string}`, | ||
strategy: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e" as `0x${string}`, | ||
// read env variables | ||
// const envPoolIdSignaling = process.env.POOL_ID_SIGNALING || ""; | ||
// const envStrat2Address = process.env.STRAT2_ADDR_ARB_SEPOLIA || ""; | ||
// const envTokenAddressArbSepolia = process.env.TOKEN_ADDR_ARB_SEPOLIA || ""; | ||
// const envTokenNativeAddressArbSepolia = | ||
// process.env.TOKEN_NATIVE_ADDR_ARB_SEPOLIA || ""; | ||
const ENV = process.env.NEXT_PUBLIC_ENV_GARDENS || ""; | ||
|
||
const envAlloAddress = process.env.NEXT_PUBLIC_ALLO_ADDRESS_ARB_SEPOLIA || ""; | ||
|
||
const envPoolId = process.env.NEXT_PUBLIC_POOL_ID || 1; | ||
|
||
const envStrat1Address = process.env.NEXT_PUBLIC_STRAT1_ADDR_ARB_SEPOLIA || ""; | ||
|
||
const envRegistryGardensAddArbSep = | ||
process.env.NEXT_PUBLIC_REGISTRY_GARDENS_ADDR_ARB_SEPOLIA || ""; | ||
|
||
const envAlloRegistryAddArbSep = | ||
process.env.NEXT_PUBLIC_ALLO_REGISTRY_ADDR_ARB_SEPOLIA || ""; | ||
|
||
const envPoolAdminAddressArbSepolia = | ||
process.env.NEXT_PUBLIC_POOL_ADMIN_ADDR_ARB_SEPOLIA || ""; | ||
|
||
const envCouncilSafeAddressArbSepolia = | ||
process.env.NEXT_PUBLIC_COUNCIL_SAFE_ADDR_ARB_SEPOLIA || ""; | ||
|
||
const envRpcUrlArbTestnet = process.env.NEXT_PUBLIC_RPC_URL_ARB_TESTNET || ""; | ||
|
||
let __contractsAddresses = { | ||
allo: `0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0` as `0x${string}`, | ||
strategy: `0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e` as `0x${string}`, | ||
registryGardens: | ||
"0x61c36a8d610163660E21a8b7359e1Cac0C9133e1" as `0x${string}`, | ||
registry: "0x5FbDB2315678afecb367f032d93F642f64180aa3" as `0x${string}`, | ||
`0x61c36a8d610163660E21a8b7359e1Cac0C9133e1` as `0x${string}`, | ||
registry: `0x5FbDB2315678afecb367f032d93F642f64180aa3` as `0x${string}`, | ||
poolID: `1`, | ||
rpcUrl: `http://127.0.0.1:8545`, | ||
}; | ||
|
||
if (ENV === "prod") { | ||
__contractsAddresses = { | ||
allo: `${envAlloAddress}` as `0x${string}`, | ||
strategy: `${envStrat1Address}` as `0x${string}`, | ||
registryGardens: `${envRegistryGardensAddArbSep}` as `0x${string}`, | ||
registry: `${envAlloRegistryAddArbSep}` as `0x${string}`, | ||
poolID: `${envPoolId}`, | ||
rpcUrl: `${envRpcUrlArbTestnet}`, | ||
}; | ||
} | ||
console.log("env", ENV); | ||
console.log("envs", __contractsAddresses); | ||
|
||
export const contractsAddresses = __contractsAddresses; | ||
|
||
export const isProd = ENV === "prod"; |
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
1,549 changes: 1,549 additions & 0 deletions
1,549
broadcast/DeployCVArbSepolia.s.sol/421614/run-1704957191.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,549 changes: 1,549 additions & 0 deletions
1,549
broadcast/DeployCVArbSepolia.s.sol/421614/run-1704967022.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,718 changes: 845 additions & 873 deletions
1,718
broadcast/DeployCVArbSepolia.s.sol/421614/run-latest.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.