module

package
v0.0.0-...-32dacd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dec2hex

func Dec2hex(n interface{}) (ret string)

func Hex2dec

func Hex2dec(hex string) int64

Types

type ABIModule

type ABIModule struct {
	Contracts interface{} `json: contracts`
	Version   string      `json: string`
}

type Contract

type Contract struct {
}

type JsonReq

type JsonReq struct {
	Jsonrpc string        `json: jsonrpc`
	Method  string        `json: method`
	Params  []interface{} `json: params`
	Id      int           `json: id`
}

func NewJsonReq

func NewJsonReq(method string, params []interface{}) *JsonReq

type JsonRes

type JsonRes struct {
	Id      int         `json: id`
	Jsonrpc string      `json: jsonrpc`
	Result  interface{} `json: result`
	Error   interface{} `json:error`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL