consts

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryInterval        = 2 * time.Second
	DefaultMsgBuffer     = 1000
	DefaultBlocksPerScan = 100
)

Variables

View Source
var (
	ErrNoAnyKeyStores       = errors.New("No any keystores")
	ErrMessagePrivateKeyNil = errors.New("PrivateKey is nil")
)

Functions

This section is empty.

Types

type JsonRpcError

type JsonRpcError struct {
	Code     int         `json:"code"`
	Message  string      `json:"message"`
	Data     interface{} `json:"data,omitempty"`
	RawError string      `json:"raw_error"`
	Abi      abi.ABI     `json:"-"`
}

func (*JsonRpcError) Error

func (e *JsonRpcError) Error() string

func (*JsonRpcError) ErrorCode

func (err *JsonRpcError) ErrorCode() int

func (*JsonRpcError) ErrorData

func (err *JsonRpcError) ErrorData() interface{}

type RevertError

type RevertError struct {
	Id            string
	FuncSignature string
	Params        []interface{}
}

func (RevertError) Error

func (e RevertError) Error() string

Jump to

Keyboard shortcuts

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