Execute

After the Timelock waiting period has elapsed, a proposal can be executed using this function, which applies the proposal changes to the target contracts. This will invoke each of the actions described in the proposal. The execute function can be called by any Ethereum address. Note: this function is payable, so the Timelock contract can invoke payable functions that were selected in the proposal.

function execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash))
  • targets: ID of a proposal that has succeeded.

  • values: ID of a proposal that has succeeded.

  • calldatas: ID of a proposal that has succeeded.

  • descriptionHash: ID of a proposal that has succeeded.

  • RETURN: ID of a proposal that has succeeded.

Last updated