Readonly
contractReadonly
signerReadonly
tokenPrivate
callThe assets to be deposited.
Optional
useCache: booleanUnregisters 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.
Withdraws funds by using the given balance proof. The assets contained
within the balanceproof will be available onchain when done. This proof
has to be signed by the TEE running Erdstall and have its exit flag set.
The exit proof can be retrieved by calling Exiter.exit()
and using its
result.
A promise containing the stages of onchain transactions.
Withdrawing is a multistep process which might contain different amount of steps for each type of asset contained in the balance proof.
Signed balance proof with the exit flag set.
Generated using TypeDoc
Deposits the specified assets in Erdstall. This is interacting with the erdstall entity on the ledger.
Returns
A promise containing the stages of onchain transactions.
Remarks
Depositing is a multi-step process takes a different number of steps for each type of asset contained in the
assets
object passed to this function. For more information about stages look at the corresponding documentation.