Skip to main content

TransferType

Classifies the types of transfers from the DAO's point of view.

enum TransferType {
Deposit
ExternalTransfer
Withdraw
}

Values

TransferType.Deposit

A deposit to the DAO treasury. Using either the DAO deposit function or executed by the DAO via proposal calling transferFrom as an action to transfer to itself. The DAO must have token approval.

TransferType.ExternalTransfer

When a DAO facilitates a transfer and neither the source nor the destination addresses match the DAO's. The DAO must have token approval to execute the transfer via proposal, acting as an intermediary in the process.

TransferType.Withdraw

A withdrawal form the DAO treasury. Executed by the DAO via proposal calling transfer.

Member Of

ERC1155Transfer object ● ERC20Transfer object ● ERC721Transfer object ● NativeTransfer object ● TokenTransfer interface

© 2024