IReleaser
Inherits: IResourceManager, INonce
Functions
TOKEN_JAR
function TOKEN_JAR() external view returns (ITokenJar);
Returns
| Name | Type | Description |
|---|---|---|
<none> | ITokenJar | Address of the Token Jar contract that will release the assets |
release
Releases assets to a specified recipient if the resource threshold is met
function release(uint256 _nonce, Currency[] calldata assets, address recipient) external;
Parameters
| Name | Type | Description |
|---|---|---|
_nonce | uint256 | The nonce for the release, must equal to the contract nonce otherwise revert |
assets | Currency[] | The list of assets (addresses) to release, which may have length limits Native tokens (Ether) are represented as the zero address |
recipient | address | The address to receive the released assets, paid out by Token Jar |