Unregisters a callback for the given event.
Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Registers a callback for the given event, s.t. it fires everytime until
manually unregistered with off(ev, cb)
.
The registered callback should always be manually unregistered.
Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Registers a callback for the given event, s.t. it fires only ONCE. Once registered, a callback cannot be unregistered again.
Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Removes all registered callbacks for all events.
Queries the enclave's remote attestation.
A promise to the enclave's remote attestation.
An error if the attestation was not generated by the enclave yet.
Subscribes the entity to receive TxReceipts and BalanceProofs concerning either all or the specified address.
Handlers for incoming messages can be set using on
and once
.
An empty promise which can be awaited.
Optional
who: AddressWhen omitted subscribes to ALL available BalanceProofs and TxReceipts.
Generated using TypeDoc
Describes the connection a client has to an Enclave running Erdstall.