ReserveUpdateEvent#

tradeexecutor.ethereum.wallet.ReserveUpdateEvent class.

class ReserveUpdateEvent[source]#

Bases: object

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

__init__(asset, updated_at, past_balance, new_balance)#
Parameters
Return type

None

Methods

__init__(asset, updated_at, past_balance, ...)

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

Attributes

asset

updated_at

past_balance

new_balance

__init__(asset, updated_at, past_balance, new_balance)#
Parameters
Return type

None