reigsterModel(contract, sender, data, currency)
// [ parameter daoData’s structure ]
{
option: "crypto" | "biz",
votingPowerToken: string | CurrencyID,
threshold: string | number | Big,
proposalFee: string | number | Big,
proposerWhitelist: (string | Address)[],
proposalReviewPeriod: string | number | Big, // unit in seconds
registrationPeriod: string | number | Big, // seconds
preSnapshotPeriod: string | number | Big, // seconds
votingPeriod: string | number | Big, // seconds
postSnapshotPeriod: string | number | Big, // seconds
executionDelayPeriod: string | number | Big, // seconds
turnout: string | number | Big, // percentage
quorum: string | number | Big, // percentage
} Last updated