private EventABI GetNethEventABI(IAbiEventDefinition definition) { EventABI eventABI = new EventABI(definition.Name, definition.Anonymous); eventABI.InputParameters = AbiEventBuilder.GetNethParameters(definition.inputs); return(eventABI); }
public AbiEventCoder GetEventCoder(string eventName) { IAbiEventDefinition eventDefinition = this._definition.Events.Where(item => item.Name == eventName).First(); if (eventDefinition == null) { throw new Exception("event not exists"); } return(new AbiEventCoder(eventDefinition)); }
public AbiEventCoder(IAbiEventDefinition definition) { this._definition = definition; }