-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
eth_key_store.go
45 lines (37 loc) · 1.04 KB
/
eth_key_store.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Code generated by mockery v2.10.1. DO NOT EDIT.
package mocks
import (
big "math/big"
common "github.com/ethereum/go-ethereum/common"
mock "github.com/stretchr/testify/mock"
)
// ETHKeyStore is an autogenerated mock type for the ETHKeyStore type
type ETHKeyStore struct {
mock.Mock
}
// GetRoundRobinAddress provides a mock function with given fields: chainID, addrs
func (_m *ETHKeyStore) GetRoundRobinAddress(chainID *big.Int, addrs ...common.Address) (common.Address, error) {
_va := make([]interface{}, len(addrs))
for _i := range addrs {
_va[_i] = addrs[_i]
}
var _ca []interface{}
_ca = append(_ca, chainID)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 common.Address
if rf, ok := ret.Get(0).(func(*big.Int, ...common.Address) common.Address); ok {
r0 = rf(chainID, addrs...)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(common.Address)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(*big.Int, ...common.Address) error); ok {
r1 = rf(chainID, addrs...)
} else {
r1 = ret.Error(1)
}
return r0, r1
}