mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Compare commits
1 Commits
v1.0.0
...
feature/up
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6aac050858 |
@@ -309,9 +309,12 @@ func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) Coordinators(opts *bi
|
|||||||
Forger common.Address
|
Forger common.Address
|
||||||
CoordinatorURL string
|
CoordinatorURL string
|
||||||
})
|
})
|
||||||
|
if err != nil {
|
||||||
|
return *outstruct, err
|
||||||
|
}
|
||||||
|
|
||||||
outstruct.Forger = out[0].(common.Address)
|
outstruct.Forger = *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
|
||||||
outstruct.CoordinatorURL = out[1].(string)
|
outstruct.CoordinatorURL = *abi.ConvertType(out[1], new(string)).(*string)
|
||||||
|
|
||||||
return *outstruct, err
|
return *outstruct, err
|
||||||
|
|
||||||
@@ -884,12 +887,15 @@ func (_HermezAuctionProtocol *HermezAuctionProtocolCaller) Slots(opts *bind.Call
|
|||||||
BidAmount *big.Int
|
BidAmount *big.Int
|
||||||
ClosedMinBid *big.Int
|
ClosedMinBid *big.Int
|
||||||
})
|
})
|
||||||
|
if err != nil {
|
||||||
|
return *outstruct, err
|
||||||
|
}
|
||||||
|
|
||||||
outstruct.Bidder = out[0].(common.Address)
|
outstruct.Bidder = *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
|
||||||
outstruct.Fulfilled = out[1].(bool)
|
outstruct.Fulfilled = *abi.ConvertType(out[1], new(bool)).(*bool)
|
||||||
outstruct.ForgerCommitment = out[2].(bool)
|
outstruct.ForgerCommitment = *abi.ConvertType(out[2], new(bool)).(*bool)
|
||||||
outstruct.BidAmount = out[3].(*big.Int)
|
outstruct.BidAmount = *abi.ConvertType(out[3], new(*big.Int)).(**big.Int)
|
||||||
outstruct.ClosedMinBid = out[4].(*big.Int)
|
outstruct.ClosedMinBid = *abi.ConvertType(out[4], new(*big.Int)).(**big.Int)
|
||||||
|
|
||||||
return *outstruct, err
|
return *outstruct, err
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user