server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAirgapServer

func NewAirgapServer(srvCtx ServerContext) (airgap.Server, error)

Types

type ServerContext

type ServerContext interface {
	SuggestGasPrice(ctx context.Context) (*big.Int, error)
	EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
	NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
	SendRawTransaction(ctx context.Context, data []byte) (*common.Hash, error)
	// contains filtered or unexported methods
}

func NewServerContext

func NewServerContext(cc *client.CeloClient) (ServerContext, error)

Jump to

Keyboard shortcuts

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