Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kcc mainnet and testnet #374

Merged
merged 1 commit into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gnosis/eth/clients/blockscout_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class BlockscoutClient:
EthereumNetwork.ASTAR: "https://blockscout.com/astar/",
EthereumNetwork.EVMOS_MAINNET: "https://evm.evmos.org",
EthereumNetwork.EVMOS_TESTNET: "https://evm.evmos.dev",
EthereumNetwork.KCC_MAINNET: "https://scan.kcc.io/",
EthereumNetwork.KCC_TESTNET: "https://scan-testnet.kcc.network/",
}

def __init__(self, network: EthereumNetwork):
Expand Down
2 changes: 1 addition & 1 deletion gnosis/eth/ethereum_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ class EthereumNetwork(Enum):
FREIGHT_TRUST_NETWORK = 211
PERMISSION = 222
SUR_BLOCKCHAIN_NETWORK = 262
KCC_MAINET = 321
KCC_MAINNET = 321
CALLISTO_MAINNET = 820
WORLD_TRADE_TECHNICAL_BLOCKCHAIN = 1202
ATHEIOS = 1620
Expand Down
2 changes: 2 additions & 0 deletions gnosis/eth/multicall.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class Multicall:
EthereumNetwork.RINKEBY: "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
EthereumNetwork.ROPSTEN: "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696",
EthereumNetwork.XDAI: "0x08612d3C4A5Dfe2FaaFaFe6a4ff712C2dC675bF7",
EthereumNetwork.KCC_MAINNET: "0x7C1C85C39d3D6b6ecB811dfe949B9C23f6E818B0",
EthereumNetwork.KCC_TESTNET: "0x665683D9bd41C09cF38c3956c926D9924F1ADa97",
}

def __init__(
Expand Down