depositedEvents method
Returns a live stream of all Deposited events emitted by this contract.
Implementation
Stream<Deposited> depositedEvents({
_i1.BlockNum? fromBlock,
_i1.BlockNum? toBlock,
}) {
final event = self.event('Deposited');
final filter = _i1.FilterOptions.events(
contract: self,
event: event,
fromBlock: fromBlock,
toBlock: toBlock,
);
return client.events(filter).map((_i1.FilterEvent result) {
final decoded = event.decodeResults(
result.topics!,
result.data!,
);
return Deposited(
decoded,
result,
);
});
}