Skip to content

Commit a2385ea

Browse files
committed
README
1 parent b574fda commit a2385ea

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

packages/multicall/README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ const uniTotalSupply = await uniTotalSupplyPromise
9494

9595
The following JSON-RPC methods are supported for call aggregation:
9696

97-
+------------------------------------------------------------------------------------------------------------------+
97+
--------------------------------------------------------------------------------------------------------------------
9898
| Method | Supported | Implemented | Notes |
9999
|-----------------|-----------|-------------|----------------------------------------------------------------------|
100100
| eth_call | Yes | Yes | Requests containing `from`, `gasPrice` or `value` aren't aggregated. |
101101
| eth_getBalance | Yes | Yes | |
102102
| eth_getCode | Yes | Yes | |
103103
| eth_blockNumber | Yes | No | |
104-
+------------------------------------------------------------------------------------------------------------------+
104+
--------------------------------------------------------------------------------------------------------------------
105105

106106
All other RPC methods that are part of the standard are forwarded to the parent provider without any modifications.
107107

@@ -135,33 +135,35 @@ DEFAULT_CONF = {
135135
contract: "0xCa731e0f33Afbcfa9363d6F7449d1f5447d10C80"
136136
}
137137
```
138-
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
138+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
139139
| Parameter | Required | Description |
140140
|------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------|
141141
| batchSize | Yes | Defines the maximum number of calls to batch into a single JSON-RPC call. |
142142
| timeWindow | Yes | Defines the time each call is held on buffer waiting for subsequent calls before aggregation, use 0 for "next js tick". |
143143
| contract | Yes | Instance of MultiCallUtils contract, see: https://github.com/0xsequence/wallet-contracts/blob/master/src/contracts/modules/utils/MultiCallUtils.sol |
144-
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
144+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
145145

146146

147147
### Supported networks
148148

149149
The utility contract is `0xCa731e0f33Afbcfa9363d6F7449d1f5447d10C80`, it has been deployed using
150150
an [Universal Deployer](https://gist.github.com/Agusx1211/de05dabf918d448d315aa018e2572031) and it uses the same address on all networks. It can be used on any of these chains without configuration changes.
151151

152-
+--------------------------------------------------------------------------------+
153-
| Network | Address | Deployed |
154-
|------------------------|--------------------------------------------|----------|
155-
| Mainnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
156-
| Ropsten | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
157-
| Rinkeby | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
158-
| Kovan | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
159-
| Görli | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
160-
| Matic | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
161-
| Mumbai (Matic testnet) | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
162-
| Arbitrum | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
163-
| Arbitrum testnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
164-
| Arbitrum Görli testnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
165-
+--------------------------------------------------------------------------------+
166-
167-
It can be deployed on any network that supports the `CREATE2` opcode.
152+
------------------------------------------------------------------------------------
153+
| Network | Address | Deployed |
154+
|:-------------------------|:-------------------------------------------|:---------|
155+
| Mainnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
156+
| Görli | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
157+
| Ropsten | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
158+
| Rinkeby | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
159+
| Kovan | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
160+
| Polygon | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
161+
| Mumbai (Polygon testnet) | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
162+
| Arbitrum One | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
163+
| Arbitrum testnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
164+
| Arbitrum Görli testnet | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
165+
| Avalanche | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
166+
| BSC | 0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E | Yes |
167+
------------------------------------------------------------------------------------
168+
169+
It can be deployed on any network that supports the `CREATE2` opcode. See https://blockscan.com/address/0xd130B43062D875a4B7aF3f8fc036Bc6e9D3E1B3E for live list.

0 commit comments

Comments
 (0)