Task Drafts
Create draft task
Inputs
Metadata: string; the uri for the metadata of the proposal.
StartDate: uint64; unix timestamp (seconds) when the proposal voting period starts.
EndDate: uint64; unix timestamp (seconds) when the proposal voting period ends.
TaskInfo: CreateTaskInfo (tuple(string, uint64, ERC20Transfer[] (tuple(address, uint96)), address, PreapprovedApplication[] (tuple(address, Reward[] (tuple(bool,address,uint88)))))); information about the task you want to propose to be created.
Code
Update Addresses
Inputs
Tasks: ITasks (address); the new address of the tasks contract used to create the draft tasks.
GovernancePlugin: IPluginProposals (address); the new address of the governance plugin used to create proposals.
Code
Last updated