public Proposal(IProposalContent content, ulong proposalId, ProposalStatus status, TallyResult finalTallyResult, DateTimeOffset submitTime, DateTimeOffset depositEndTime, IList <Coin> totalDeposit, DateTimeOffset votingStartTime, DateTimeOffset votingEndTime) { Content = content; ProposalId = proposalId; Status = status; FinalTallyResult = finalTallyResult; SubmitTime = submitTime; DepositEndTime = depositEndTime; TotalDeposit = totalDeposit; VotingStartTime = votingStartTime; VotingEndTime = votingEndTime; }
public MsgSubmitProposal(IProposalContent content, IList <Coin> initialDeposit, string proposer) { Content = content; InitialDeposit = initialDeposit; Proposer = proposer; }