From b206e24c79c921558bf3acd5d2e9b3b86dcbf13e Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 15 Feb 2024 09:56:17 +0100 Subject: [PATCH] feat: add ens/sticker sepolia address --- contracts/resolver/address.go | 5 +++-- contracts/stickers/address.go | 15 +++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/contracts/resolver/address.go b/contracts/resolver/address.go index bf572e44a..9a3fdfea3 100644 --- a/contracts/resolver/address.go +++ b/contracts/resolver/address.go @@ -9,8 +9,9 @@ import ( var errorNotAvailableOnChainID = errors.New("not available for chainID") var contractAddressByChainID = map[uint64]common.Address{ - 1: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // mainnet - 5: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // goerli + 1: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // mainnet + 5: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // goerli + 11155111: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // sepolia testnet } func ContractAddress(chainID uint64) (common.Address, error) { diff --git a/contracts/stickers/address.go b/contracts/stickers/address.go index efa4d7f2d..0fa4ad463 100644 --- a/contracts/stickers/address.go +++ b/contracts/stickers/address.go @@ -9,18 +9,21 @@ import ( var errorNotAvailableOnChainID = errors.New("not available for chainID") var stickerTypeByChainID = map[uint64]common.Address{ - 1: common.HexToAddress("0x0577215622f43a39f4bc9640806dfea9b10d2a36"), // mainnet - 5: common.HexToAddress("0x07f7CB0C0a4ab3e0999AfE8b3997Da34880f05d0"), // goerli testnet + 1: common.HexToAddress("0x0577215622f43a39f4bc9640806dfea9b10d2a36"), // mainnet + 5: common.HexToAddress("0x07f7CB0C0a4ab3e0999AfE8b3997Da34880f05d0"), // goerli testnet + 11155111: common.HexToAddress("0x5acbae26c23427aeee0a7f26949f093577a61aab"), // sepolia testnet } var stickerMarketByChainID = map[uint64]common.Address{ - 1: common.HexToAddress("0x12824271339304d3a9f7e096e62a2a7e73b4a7e7"), // mainnet - 5: common.HexToAddress("0xf1E149A7DF70D5Ff1E265daAa738d785D3274717"), // goerli testnet + 1: common.HexToAddress("0x12824271339304d3a9f7e096e62a2a7e73b4a7e7"), // mainnet + 5: common.HexToAddress("0xf1E149A7DF70D5Ff1E265daAa738d785D3274717"), // goerli testnet + 11155111: common.HexToAddress("0xf852198d0385c4b871e0b91804ecd47c6ba97351"), // sepolia testnet } var stickerPackByChainID = map[uint64]common.Address{ - 1: common.HexToAddress("0x110101156e8F0743948B2A61aFcf3994A8Fb172e"), // mainnet - 5: common.HexToAddress("0x8D3fD2EA24bD53a8Bd2b1026727db8bbe9A8C8Af"), // goerli testnet + 1: common.HexToAddress("0x110101156e8F0743948B2A61aFcf3994A8Fb172e"), // mainnet + 5: common.HexToAddress("0x8D3fD2EA24bD53a8Bd2b1026727db8bbe9A8C8Af"), // goerli testnet + 11155111: common.HexToAddress("0x8cc272396be7583c65bee82cd7b743c69a87287d"), // sepolia testnet } func StickerTypeContractAddress(chainID uint64) (common.Address, error) {