Skip to main content

ERC20Transfer

Transfers of ERC20 token associated with the DAO, including transfers sent to, received by, or intermediated by the DAO (refer to Enum TransferType for a better understanding of transfers associated with the DAO meaning).

type ERC20Transfer implements TokenTransfer {
amount: BigInt!
createdAt: BigInt!
dao: Dao!
from: Bytes!
id: ID!
proposal: IProposal
to: Bytes!
token: Token!
txHash: Bytes!
type: TransferType!
}

Fields

ERC20Transfer.amount ● BigInt! non-null scalar

The amount of ERC20 token transferred.

ERC20Transfer.createdAt ● BigInt! non-null scalar

The timestamp of the block including the ERC20 token transfer.

ERC20Transfer.dao ● Dao! non-null object

The DAO that manages the transfer.

ERC20Transfer.from ● Bytes! non-null scalar

The Ethereum address from which the ERC20 tokens are being transferred.

ERC20Transfer.id ● ID! non-null scalar

The concatenation of the transfer transaction hash, the log index and the action index. Joined by '_'.

ERC20Transfer.proposal ● IProposal interface

The associated DAO proposal, if applicable. Using the DAO deposit function there's no need for proposal.

ERC20Transfer.to ● Bytes! non-null scalar

The Ethereum address receiving the ERC20 tokens.

ERC20Transfer.token ● Token! non-null interface

The ERC20 Smart Contract Token entity involved in the transfer.

ERC20Transfer.txHash ● Bytes! non-null scalar

The hash of the ERC20 token transfer to track the transaction.

ERC20Transfer.type ● TransferType! non-null enum

The type of transfer (External, Withdraw, Deposit) from the DAO's POV.

Interfaces

TokenTransfer interface

Interface representing a generic token transfer associated with the DAO. Each entity implementing this interface can be queried as TokenTransfer (refer to Enum TransferType for a better understanding of transfers associated with the DAO meaning).

© 2024