Skip to main content

ERC1155Transfer

Transfers of ERC1155 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 ERC1155Transfer implements TokenTransfer {
amount: BigInt!
createdAt: BigInt!
dao: Dao!
from: Bytes!
id: ID!
operator: Bytes!
proposal: IProposal
to: Bytes!
token: ERC1155Contract!
tokenId: BigInt!
txHash: Bytes!
type: TransferType!
}

Fields

ERC1155Transfer.amount ● BigInt! non-null scalar

The amount of transferred tokens.

ERC1155Transfer.createdAt ● BigInt! non-null scalar

The timestamp of the block including the ERC1155 token transfer.

ERC1155Transfer.dao ● Dao! non-null object

The DAO that manages the transfer.

ERC1155Transfer.from ● Bytes! non-null scalar

The Ethereum address from which the tokens are being transferred.

ERC1155Transfer.id ● ID! non-null scalar

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

ERC1155Transfer.operator ● Bytes! non-null scalar

The Ethereum address performing the token transfer.

ERC1155Transfer.proposal ● IProposal interface

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

ERC1155Transfer.to ● Bytes! non-null scalar

The Ethereum address receiving the tokens.

ERC1155Transfer.token ● ERC1155Contract! non-null object

The ERC1155 Smart Contract Token entity involved in the transfer.

ERC1155Transfer.tokenId ● BigInt! non-null scalar

The ID of the transferred token.

ERC1155Transfer.txHash ● Bytes! non-null scalar

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

ERC1155Transfer.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