Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAirgapServer ¶
Types ¶
type ServerContext ¶
type ServerContext interface {
// From ethclient.Client
SuggestGasPrice(ctx context.Context) (*big.Int, error)
EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
SendTransaction(ctx context.Context, tx *types.Transaction) error
// contains filtered or unexported methods
}
func NewServerContext ¶
func NewServerContext(cc *client.CeloClient) (ServerContext, error)
Click to show internal directories.
Click to hide internal directories.