wstgbp.constants

Documentation for eth_defi.wstgbp.constants Python module.

Known wstGBP deployments used by the vault scanner.

Module Attributes

ETHEREUM_CHAIN_ID

Ethereum mainnet chain id.

WSTGBP

wstGBP deployment on Ethereum.

WSTGBP_HARDCODED_LEADS

Hardcoded wstGBP scanner leads.

Classes

WSTGBPDeployment

Scanner metadata for a wstGBP tokenised asset.

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.

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

ETHEREUM_CHAIN_ID = 1

Ethereum mainnet chain id.

WSTGBP = WSTGBPDeployment(chain_id=1, vault='0x57c3571f10767e49c9d7b60feb6c67804783b7ae', first_seen_at_block=24852292, first_seen_at=datetime.datetime(2026, 4, 10, 22, 24, 23))

wstGBP deployment on Ethereum.

Deployment transaction: https://etherscan.io/tx/0x8f035ef7b0e678a54b63ad16f23249ae9583fb66cc34fd49bd3771f0ba8a07f0

WSTGBP_HARDCODED_LEADS = ((1, '0x57c3571f10767e49c9d7b60feb6c67804783b7ae', 24852292, datetime.datetime(2026, 4, 10, 22, 24, 23)),)

Hardcoded wstGBP scanner leads.

wstGBP mint and redeem events are not ERC-4626 Deposit and Withdraw events, so event-based discovery cannot find this vault.