UniswapV3
eth_typeshed.uniswap_v3 #
V3PoolCreatedEvent module-attribute
#
V3PoolCreatedEvent = Event[V3PoolCreatedEventType](
name="PoolCreated"
)
NONFUNGIBLE_POSITION_MANAGER_ADDRESS module-attribute
#
NONFUNGIBLE_POSITION_MANAGER_ADDRESS = HexAddress(
HexStr("0xC36442b4a4522E871399CD717aBDD847Ab11FE88")
)
V3PoolCreatedEventType #
V3SwapEventType #
GetPoolRequest #
UniswapV3Factory #
Bases: ProtocolBase
This is how we make the ProtocolBase inject the ContractFunc via the type signature. After a lot of research, this goes slightly outside of the bounds for type hinting, but I think the improved expressiveness makes it fully worthwhile.
Source code in eth_rpc/contract/base.py
model_post_init #
rpc classmethod
#
This uses the default network, unless a network has been provided
Source code in eth_rpc/_request.py
add_func #
get_storage_at #
get_code #
Source code in eth_rpc/contract/contract.py
create2 #
EIP-104 https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1014.md
Source code in eth_rpc/contract/contract.py
NonfungiblePositionManager #
Bases: ProtocolBase
This is how we make the ProtocolBase inject the ContractFunc via the type signature. After a lot of research, this goes slightly outside of the bounds for type hinting, but I think the improved expressiveness makes it fully worthwhile.
Source code in eth_rpc/contract/base.py
model_post_init #
rpc classmethod
#
This uses the default network, unless a network has been provided
Source code in eth_rpc/_request.py
add_func #
get_storage_at #
get_code #
Source code in eth_rpc/contract/contract.py
create2 #
EIP-104 https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1014.md
Source code in eth_rpc/contract/contract.py
get_all_indices async
#
Source code in eth_typeshed/uniswap_v3/nonfungible_position_manager.py
get_all_positions async
#
Source code in eth_typeshed/uniswap_v3/nonfungible_position_manager.py
ProcessedTick #
Bases: BaseModel
Slot0 #
Tick #
Bases: BaseModel
UniswapV3Pool #
Bases: ProtocolBase
This is how we make the ProtocolBase inject the ContractFunc via the type signature. After a lot of research, this goes slightly outside of the bounds for type hinting, but I think the improved expressiveness makes it fully worthwhile.
Source code in eth_rpc/contract/base.py
model_post_init #
rpc classmethod
#
This uses the default network, unless a network has been provided
Source code in eth_rpc/_request.py
add_func #
get_storage_at #
get_code #
Source code in eth_rpc/contract/contract.py
create2 #
EIP-104 https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1014.md