Platform | Recommendation |
---|---|
Windows | pipenv for 99% of use cases. conda if you’re into data science |
Mac OSX | pyenv with pyenv-virtualenv |
GNU/Linux | pyenv with pyenv-virtualenv |
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
"""Attempting to generate a receipt proof. | |
pip install brownie trie rlp | |
""" | |
import rlp | |
from brownie import web3 | |
from hexbytes import HexBytes | |
from trie import HexaryTrie | |
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
"""Attempting to generate a receipt proof. | |
pip install brownie py-evm | |
""" | |
from brownie import web3 | |
from hexbytes import HexBytes | |
from eth.db.trie import make_trie_root_and_nodes | |
from eth.rlp.receipts import Receipt | |
from eth.rlp.logs import Log |
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
"""Attempting to generate a receipt proof. | |
pip install brownie py-evm | |
""" | |
from brownie import web3 | |
from eth.db.trie import make_trie_root_and_nodes | |
from eth.rlp import logs, receipts | |
from eth.vm.forks.berlin.receipts import TypedReceipt | |
from hexbytes import HexBytes |
Addresses:
- Wallet: 0x745748bcfd8f9c2de519a71d789be8a63dd7d66c
- ArbieV3 Contract: 0x5CfB168f03f8185BD21a3d75f6887c6DCD2B1312
- TriCryptoSwap: 0x80466c64868E1ab14a1Ddf27A676C3fcBE638Fe5
- Aave Collector Contract: 0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c
Aave Docs - Mainnet Deployment Addrs
Preliminary Steps:
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
# @version 0.3.1 | |
""" | |
@title Gearbox Protocol 3Pool Adapter | |
@license MIT | |
@author Curve Finance | |
@dev Original CurveV1 Adapter written by Gearbox Protocol can be found at | |
https://etherscan.io/address/0x8F46a26150a80d5F32DEbC7a37af71Bc4CF16529 | |
""" | |
from vyper.interfaces import ERC20 |
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
""" | |
@title Curve Registry Address Provider | |
@license MIT | |
@author Curve.Fi | |
""" | |
event NewAddressIdentifier: | |
id: indexed(uint256) | |
addr: address | |
description: String[64] |