Skip to main content

IDepositReceiptToken

Git Source

Inherits: [IERC20](/main/contracts/docs/src/external/Tech Holding JSCERC20.sol/interface.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);

asset

function asset() external view returns (IERC20 _asset);

depositPeriod

function depositPeriod() external view returns (uint8 _depositPeriod);

operator

function operator() external view returns (address _operator);

Errors

OnlyOwner

error OnlyOwner();