wallet#

tradeexecutor.ethereum.wallet module.

Module description#

Deposit and withdraw detection and management.

Classes#

ReserveUpdateEvent

ReserveUpdateEvent(asset: tradeexecutor.state.identifier.AssetIdentifier, updated_at: datetime.datetime, past_balance: decimal.Decimal, new_balance: decimal.Decimal)

Functions#

sync_reserves(web3, clock, wallet_address, ...)

Check the address for any incoming stablecoin transfers to see how much cash we have.

update_wallet_balances(web3, address, tokens)

Get raw balances of ERC-20 tokens.