C# Class Nethereum.Web.Sample.Services.DaoService

Mostrar archivo Open project: Nethereum/Nethereum

Public Methods

Method Description
DaoService ( Web3 web3, string address ) : System
GetAllProposals ( ) : Task>
GetAllProposals ( long startProposal, long lastProposal ) : Task>
GetLatestProposals ( long total ) : Task>
GetNumberOfProposals ( ) : Task
GetProposal ( long index ) : Task

Method Details

DaoService() public method

public DaoService ( Web3 web3, string address ) : System
web3 Nethereum.Web3.Web3
address string
return System

GetAllProposals() public method

public GetAllProposals ( ) : Task>
return Task>

GetAllProposals() public method

public GetAllProposals ( long startProposal, long lastProposal ) : Task>
startProposal long
lastProposal long
return Task>

GetLatestProposals() public method

public GetLatestProposals ( long total ) : Task>
total long
return Task>

GetNumberOfProposals() public method

public GetNumberOfProposals ( ) : Task
return Task

GetProposal() public method

public GetProposal ( long index ) : Task
index long
return Task