示例#1
0
 public Event GetEvent(string name)
 {
     return(new Event(this, ContractBuilder.GetEventAbi(name)));
 }
示例#2
0
 private FunctionBuilder GetFunctionBuilder(string name)
 {
     return(ContractBuilder.GetFunctionBuilder(name));
 }
示例#3
0
 public Contract(EthApiService eth, Type[] contractMessagesTypes, string contractAddress)
 {
     Eth             = eth;
     ContractBuilder = new ContractBuilder(contractMessagesTypes, contractAddress);
 }
示例#4
0
 public NewFilterInput GetDefaultFilterInput(BlockParameter fromBlock = null, BlockParameter toBlock = null)
 {
     return(ContractBuilder.GetDefaultFilterInput(fromBlock, toBlock));
 }
示例#5
0
 public Contract(EthApiService eth, string abi, string contractAddress)
 {
     Eth             = eth;
     ContractBuilder = new ContractBuilder(abi, contractAddress);
 }
示例#6
0
 private FunctionBuilder <TFunctionInput> GetFunctionBuilder <TFunctionInput>()
 {
     return(ContractBuilder.GetFunctionBuilder <TFunctionInput>());
 }
 public EventBuilder(ContractBuilder contract, EventABI eventAbi)
 {
     _contract          = contract;
     EventABI           = eventAbi;
     _eventTopicBuilder = new EventTopicBuilder(eventAbi);
 }
 public FunctionBuilder(ContractBuilder contract, FunctionABI function)
     : base(contract, function)
 {
 }
示例#9
0
 private EventBuilder GetEventBuilder(string name)
 {
     return(ContractBuilder.GetEventBuilder(name));
 }