-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a94d22
commit b4e0f39
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
using with brownie: | ||
` | ||
from brownie import Contract, web3 | ||
from dank_mids.brownie_patch import patch_contract | ||
from dank_mids import setup_dank_w3_from_sync | ||
|
||
dank_w3 = setup_dank_w3_from_sync(web3) | ||
weth = patch_contract(Contract(0x1234), dank_w3) | ||
total_supply = await weth.totalSupply.coroutine(block_identifier=12345) | ||
` | ||
|
||
using with web3py: | ||
` | ||
I'll add this later | ||
` | ||
|
||
using with multicall: | ||
` | ||
I'll add this later | ||
` |