rpc

package
v0.0.0-...-a287f25 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallL2FunctionReq

type CallL2FunctionReq struct {
	From       string `json:"from"`
	To         string `json:"to"`
	Method     string `json:"method"`
	CallData   string `json:"callData"`
	Nonce      uint32 `json:"nonce"`
	Expiration uint32 `json:"expiration"`
	GasLimit   string `json:"gasLimit"`
	Signature  string `json:"signature"`
}

type CallL2FunctionResp

type CallL2FunctionResp struct {
	TransactionHash string `json:"transactionHash"`
}

type L2RelayerServer

type L2RelayerServer struct {
	// contains filtered or unexported fields
}

func NewL2RelayerServer

func NewL2RelayerServer(ctx context.Context, r *relayer.Relayer) (*L2RelayerServer, error)

func (*L2RelayerServer) CallL2Function

func (s *L2RelayerServer) CallL2Function(p Param) (interface{}, error)

func (*L2RelayerServer) Start

func (s *L2RelayerServer) Start() error

type Param

type Param interface {
}

Jump to

Keyboard shortcuts

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