update ethclient auction

This commit is contained in:
laisolizq
2020-09-10 15:02:22 +02:00
parent a40689f05e
commit 860011827c
3 changed files with 369 additions and 50 deletions

View File

@@ -216,6 +216,16 @@ type RollupInterface interface {
// RollupClient is the implementation of the interface to the Rollup Smart Contract in ethereum.
type RollupClient struct {
client *EthereumClient
address ethCommon.Address
}
// NewRollupClient creates a new RollupClient
func NewRollupClient(client *EthereumClient, address ethCommon.Address) *RollupClient {
return &RollupClient{
client: client,
address: address,
}
}
// RollupForgeBatch is the interface to call the smart contract function