nqs_sdk.bindings.protocols.uniswap_v3.uniswap_v3_pool module

class nqs_sdk.bindings.protocols.uniswap_v3.uniswap_v3_pool.UniswapV3Pool(**data)[source]

Bases: BaseModel, ProtocolInfos

address: Optional[str]
fee_tier: Decimal
token0: str
token1: str
decimals0: int
decimals1: int
block_number: Optional[int]
initial_balance: Optional[dict]
classmethod from_address(pool_address, block_number)[source]
Return type:

TypeVar(T, bound= UniswapV3Pool)

classmethod from_params(token0, token1, fee_tier, block_number)[source]
Return type:

TypeVar(T, bound= UniswapV3Pool)

classmethod from_custom_params(token0, token1, fee_tier, initial_amount, unit)[source]
Return type:

TypeVar(T, bound= UniswapV3Pool)

get_token_infos()[source]
Return type:

dict[str, int]

property name: str
property token_pair: str
property factory_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].