IDepositReceiptToken
Inherits: IERC20
Title: IDepositReceiptToken
Interface for a deposit receipt token
This interface adds additional metadata to the IERC20 interface that is necessary for deposit receipt tokens.
Functions
owner
function owner() external view returns (address _owner);
Returns
| Name | Type | Description |
|---|---|---|
| _owner | address |
asset
function asset() external view returns (IERC20 _asset);
Returns
| Name | Type | Description |
|---|---|---|
| _asset | IERC20 |
depositPeriod
function depositPeriod() external view returns (uint8 _depositPeriod);
Returns
| Name | Type | Description |
|---|---|---|
| _depositPeriod | uint8 |
operator
function operator() external view returns (address _operator);
Returns
| Name | Type | Description |
|---|---|---|
| _operator | address |
Errors
OnlyOwner
error OnlyOwner();