WSTGBPDeployment

Documentation for eth_defi.wstgbp.constants.WSTGBPDeployment Python class.

class WSTGBPDeployment

Bases: object

Scanner metadata for a wstGBP tokenised asset.

The primary wstGBP contract is also the ERC-20 share token. It is the address the shared vault discovery and historical-reader pipelines use.

Attributes summary

chain_id

EVM chain identifier.

vault

wstGBP token and vault address.

first_seen_at_block

First block where the token bytecode exists.

first_seen_at

Timestamp of first_seen_at_block as a naive UTC datetime.

Methods summary

__init__(chain_id, vault, ...)

chain_id: int

EVM chain identifier.

vault: eth_typing.evm.HexAddress

wstGBP token and vault address.

first_seen_at_block: int

First block where the token bytecode exists.

first_seen_at: datetime.datetime

Timestamp of first_seen_at_block as a naive UTC datetime.

__init__(chain_id, vault, first_seen_at_block, first_seen_at)
Parameters
Return type

None