ERC20WrapperContract
Wrapped ERC20 Token Smart Contract. Used for token voting.
type ERC20WrapperContract implements Token {
decimals: Int!
id: ID!
name: String
symbol: String
underlyingToken: ERC20Contract!
}
Fields
ERC20WrapperContract.decimals
● Int!
non-null scalar
The number of decimals of the wrapped token, mirrored from the smart contract.
ERC20WrapperContract.id
● ID!
non-null scalar
The address of the ERC20 Token Smart Contract.
ERC20WrapperContract.name
● String
scalar
The name of the wrapped token, mirrored from the smart contract.
ERC20WrapperContract.symbol
● String
scalar
The symbol of the wrapped token, mirrored from the smart contract.
ERC20WrapperContract.underlyingToken
● ERC20Contract!
non-null object
The underlying ERC20 Token Smart Contract this wrapper represents.
Interfaces
Token
interface
Interface representing a generic token. Each entity implementing this interface can be queried as Token.