Documentation
¶
Index ¶
- Constants
- type Client
- func (ec *Client) Close()
- func (ec *Client) ConfigCall(fromAddress common.Address) *bind.CallOpts
- func (ec *Client) ConfigTransaction(key *ecdsa.PrivateKey, gasLimit uint64) (*bind.TransactOpts, error)
- func (ec *Client) Connect(nodeURL string) error
- func (ec *Client) GenerateTransaction(gasLimitTx uint64, relayAddress common.Address, from common.Address, ...) *types.Transaction
- func (ec *Client) GetEthclient() *ethclient.Client
- func (ec *Client) GetNodeInformation(contractAddress common.Address, enodeHigh, enodeLow [32]byte, enodeIp [16]byte, ...) (uint8, error)
- func (ec *Client) GetNodeIngressContract(contractAddress common.Address, name [32]byte) (string, error)
- func (ec *Client) GetTransactionReceipt(transactionHash common.Hash) (*types.Receipt, error)
Constants ¶
View Source
const RelayABI = "" /* 7048-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client to manage Connection to Ethereum
func (*Client) ConfigCall ¶
ConfigCall for ethereum address
func (*Client) ConfigTransaction ¶
func (ec *Client) ConfigTransaction(key *ecdsa.PrivateKey, gasLimit uint64) (*bind.TransactOpts, error)
ConfigTransaction from ethereum address contract
func (*Client) GenerateTransaction ¶
func (ec *Client) GenerateTransaction(gasLimitTx uint64, relayAddress common.Address, from common.Address, to *common.Address, encodedFunction []byte, gasLimit *big.Int, nonce *big.Int, signature []byte, senderSignature []byte) *types.Transaction
GenerateTransaction ...
func (*Client) GetNodeInformation ¶
func (ec *Client) GetNodeInformation(contractAddress common.Address, enodeHigh, enodeLow [32]byte, enodeIp [16]byte, port uint16, blockNumber *big.Int) (uint8, error)
GetNodeInformation ...
Click to show internal directories.
Click to hide internal directories.