arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/eth/client.go
eth/client.goRaw
 1package eth
 2
 3import "github.com/hermeznetwork/hermez-node/common"
 4
 5type EthClient struct {
 6}
 7
 8func NewEthClient() *EthClient {
 9	// TODO
10	return &EthClient{}
11}
12func (ec *EthClient) ForgeCall(callData *common.CallDataForge) ([]byte, error) {
13	// TODO this depends on the smart contracts, once are ready this will be updated
14	return nil, nil
15}