token#

tradeexecutor.ethereum.token Python module in Trading Strategy framework.

Module description#

ERC-20 token data helpers.

Functions#

fetch_token_as_asset(web3, contract_address)

Get ERC-20 token details suitable for persistent stroage.

translate_token_details(token)

Translate on-chain fetched ERC-20 details to the persistent format.