code: func (contract *SNativeContractDescription) FunctionByName(name string) (*SNativeFunctionDescription, error) {
  	for _, f := range contract.functions {
  		if f.Name == name {
  			return f, nil
  		}
  	}
  	return nil, fmt.Errorf("unknown SNative function with name %s", name)
  }
docs: // Get function by name