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.
Sends the given burn transaction to the enclave.
A promise containing the transaction accepted message for this burn.
The burn transaction to send.
Sends the given exit request to the enclave.
A promise containing the balance proof with its exit flag set.
Sends the given mint transaction to the enclave.
A promise containing the transaction accepted message for this mint.
The mint transaction to send.
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.
Sends the given trade transaction to the enclave.
A promise containing the transaction accepted message for this trade.
The trade transaction to send.
Sends the given transfer transaction to the enclave.
A promise containing the transaction accepted message for this transfer.
The transfer transaction to send.
Generated using TypeDoc
Describes the connection a client has to an Enclave running Erdstall.