From 7b68c70cd97f4ec764bf8020e1f1b54933449c73 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Mon, 5 Jul 2021 12:37:12 +0200 Subject: [PATCH] Add xDai multicall contract address (#324) --- ethers-contract/src/multicall/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ethers-contract/src/multicall/mod.rs b/ethers-contract/src/multicall/mod.rs index 0586cec5..0a0564b4 100644 --- a/ethers-contract/src/multicall/mod.rs +++ b/ethers-contract/src/multicall/mod.rs @@ -38,6 +38,11 @@ pub static ADDRESS_BOOK: Lazy> = Lazy::new(|| { let addr = Address::from_str("2cc8688c5f75e365aaeeb4ea8d6a480405a48d2a").expect("Decoding failed"); m.insert(U256::from(42u8), addr); + + // xdai + let addr = + Address::from_str("b5b692a88bdfc81ca69dcb1d924f59f0413a602a").expect("Decoding failed"); + m.insert(U256::from(100u8), addr); m });