fix: updating community token deployer addresses

Fix #12748
This commit is contained in:
Michal Iskierko 2023-11-21 10:46:12 +01:00 committed by Michał Iskierko
parent fd16942b20
commit b52a9ce0e5
1 changed files with 6 additions and 2 deletions

View File

@ -8,9 +8,13 @@ import (
var errorNotAvailableOnChainID = errors.New("deployer contract not available for chainID") var errorNotAvailableOnChainID = errors.New("deployer contract not available for chainID")
// TODO add addresses for other chains // addresses can be found on https://github.com/status-im/communities-contracts#deployments
var contractAddressByChainID = map[uint64]common.Address{ var contractAddressByChainID = map[uint64]common.Address{
420: common.HexToAddress("0xfFa8A255D905c909379859eA45B959D090DDC2d4"), // Optimism Goerli 5: common.HexToAddress("0x81f4951ff8859d305F47A4574B206cF64C0d2645"), // Goerli
420: common.HexToAddress("0xfFa8A255D905c909379859eA45B959D090DDC2d4"), // Optimism Goerli
421613: common.HexToAddress("0x7Ff554af5b6624db2135E4364F416d1D397f43e6"), // Arbitrum Goerli
11155111: common.HexToAddress("0xCDE984e57cdb88c70b53437cc694345B646371f9"), // Sepolia
421614: common.HexToAddress("0x7Ff554af5b6624db2135E4364F416d1D397f43e6"), // Arbitrum Sepolia
} }
func ContractAddress(chainID uint64) (common.Address, error) { func ContractAddress(chainID uint64) (common.Address, error) {