ITwinToken
View Source: contracts/interfaces/ITwinToken.sol
↗ Extends: IERC165
ITwinToken
Provides the minimum interface a Twin token must expose to be supported by the Boson Protocol
Functions
isApprovedForAll
Returns true if the operator
is allowed to manage the assets of owner
.
function isApprovedForAll(address _owner,
address _operator)
external
view
returns(bool _isApproved)
Arguments
Name | Type | Description |
---|---|---|
_owner | address | the token owner address. |
_operator | address | the operator address. |
Returns
Name | Type | Description |
---|---|---|
_isApproved | bool | the approval was found. |
allowance
Returns the remaining number of tokens that _operator
will be
allowed to spend on behalf of _owner
through {transferFrom}. This is
zero by default.
This value changes when {approve} or {transferFrom} are called.
function allowance(address _owner,
address _operator)
external
view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
_owner | address | the owner address |
_operator | address | the operator address |
Returns
uint256