Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HermezClient ¶
type HermezClient struct { EthClient *ethclient.Client AuctionContract *HermezAuctionProtocol.HermezAuctionProtocol HttpClient http.Client BootCoordinatorURL string BootCoordinatorClient *sling.Sling ActualCoordinatorURL string ActualCoordinatorClient *sling.Sling }
HermezClient connect to Ethereum node and Hermez Coordinator and Smart Contracts
func NewHermezClient ¶
func NewHermezClient(nodeURL string, auctionContractAddressHex string) (hezClient HermezClient, err error)
func (*HermezClient) SetActualCoordinator ¶
func (hezClient *HermezClient) SetActualCoordinator(URL string)
SetActualCoordinator updates coordinator definitions based on actual coordinator URL
Click to show internal directories.
Click to hide internal directories.