Skip to main content

Action

Actions are represented by solidity struct and executed by the DAO's execute function, resulting in an external call.

type Action {
dao: Dao!
data: Bytes!
execResult: Bytes
id: ID!
proposal: IProposal!
to: Bytes!
value: BigInt!
}

Fields

Action.dao ● Dao! non-null object

The DAO that will execute the function.

Action.data ● Bytes! non-null scalar

The bytes-encoded function selector and calldata for the call.

Action.execResult ● Bytes scalar

The result obtained from the executed action in bytes.

Action.id ● ID! non-null scalar

Concatenation of the proposalID and the index of the action. Joined by '_'.

Action.proposal ● IProposal! non-null interface

The proposal of the DAO containing the action to be executed.

Action.to ● Bytes! non-null scalar

The address to call.

Action.value ● BigInt! non-null scalar

The native token value to be sent with the call.

Member Of

AddresslistVotingProposal object ● AdminProposal object ● Dao object ● IProposal interface ● MultisigProposal object ● TokenVotingProposal object ● TransactionActionsProposal object

© 2024