Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public MsgSubmitProposal(IProposalContent content, IList <Coin> initialDeposit, string proposer)
 {
     Content        = content;
     InitialDeposit = initialDeposit;
     Proposer       = proposer;
 }