contracts: new contract addresses in hardhat

This commit is contained in:
Mark Spanbroek 2025-03-13 14:38:13 +01:00
parent 09e1e8493e
commit bf256ae62f
No known key found for this signature in database
GPG Key ID: FBE3E9548D427C00
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ type Deployment* = ref object
const knownAddresses = {
# Hardhat localhost network
"31337":
{"Marketplace": Address.init("0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44")}.toTable,
{"Marketplace": Address.init("0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f")}.toTable,
# Taiko Alpha-3 Testnet
"167005":
{"Marketplace": Address.init("0x948CF9291b77Bd7ad84781b9047129Addf1b894F")}.toTable,

View File

@ -4,9 +4,9 @@ import pkg/ethers
import pkg/codex/contracts/marketplace
const hardhatMarketAddress =
Address.init("0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44").get()
const hardhatMarketWithDummyVerifier =
Address.init("0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f").get()
const hardhatMarketWithDummyVerifier =
Address.init("0x4A679253410272dd5232B3Ff7cF5dbB88f295319").get()
const marketAddressEnvName = "CODEX_MARKET_ADDRESS"
proc address*(_: type Marketplace, dummyVerifier = false): Address =