Skip to main content

ERC20Balance

The ERC20 Token balances for the DAO.

type ERC20Balance implements TokenBalance {
balance: BigInt!
dao: Dao!
id: ID!
lastUpdated: BigInt!
token: ERC20Contract!
}

Fields

ERC20Balance.balance ● BigInt! non-null scalar

The amount of ERC20 tokens held by the DAO.

ERC20Balance.dao ● Dao! non-null object

The DAO that holds the ERC20 token.

ERC20Balance.id ● ID! non-null scalar

The concatenation of DAO Smart contract address and Token Smart contract address. Joined by '_'.

ERC20Balance.lastUpdated ● BigInt! non-null scalar

The block timestamp of the last update (transfer) for this token balance.

ERC20Balance.token ● ERC20Contract! non-null object

The ERC20 Token Smart Contract instance.

Interfaces

TokenBalance interface

Balance of the DAO for any kind of token. Each entity implementing this interface can be queried as TokenBalance.

© 2024