Documentation
¶
Overview ¶
Package mock_token is a generated GoMock package.
Index ¶
- type MockManagerInterface
- func (m *MockManagerInterface) EXPECT() *MockManagerInterfaceMockRecorder
- func (m *MockManagerInterface) FetchBalancesForChain(parent context.Context, client chain.ClientInterface, ...) (map[common.Address]map[common.Address]*hexutil.Big, error)
- func (m *MockManagerInterface) GetBalance(ctx context.Context, client chain.ClientInterface, ...) (*big.Int, error)
- func (m *MockManagerInterface) GetBalancesAtByChain(parent context.Context, clients map[uint64]chain.ClientInterface, ...) (map[uint64]map[common.Address]map[common.Address]*hexutil.Big, error)
- func (m *MockManagerInterface) GetBalancesByChain(parent context.Context, clients map[uint64]chain.ClientInterface, ...) (map[uint64]map[common.Address]map[common.Address]*hexutil.Big, error)
- func (m *MockManagerInterface) GetChainBalance(ctx context.Context, client chain.ClientInterface, account common.Address) (*big.Int, error)
- func (m *MockManagerInterface) GetTokenBalanceAt(ctx context.Context, client chain.ClientInterface, ...) (*big.Int, error)
- func (m *MockManagerInterface) GetTokenHistoricalBalance(account common.Address, chainID uint64, symbol string, timestamp int64) (*big.Int, error)
- func (m *MockManagerInterface) GetTokensByChainIDs(chainIDs []uint64) ([]*token.Token, error)
- func (m *MockManagerInterface) LookupToken(chainID *uint64, tokenSymbol string) (*token.Token, bool)
- func (m *MockManagerInterface) LookupTokenIdentity(chainID uint64, address common.Address, native bool) *token.Token
- type MockManagerInterfaceMockRecorder
- func (mr *MockManagerInterfaceMockRecorder) FetchBalancesForChain(parent, client, accounts, tokens, atBlock interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetBalance(ctx, client, account, token interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetBalancesAtByChain(parent, clients, accounts, tokens, atBlocks interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetBalancesByChain(parent, clients, accounts, tokens interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetChainBalance(ctx, client, account interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetTokenBalanceAt(ctx, client, account, token, blockNumber interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetTokenHistoricalBalance(account, chainID, symbol, timestamp interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) GetTokensByChainIDs(chainIDs interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) LookupToken(chainID, tokenSymbol interface{}) *gomock.Call
- func (mr *MockManagerInterfaceMockRecorder) LookupTokenIdentity(chainID, address, native interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManagerInterface ¶
type MockManagerInterface struct {
// contains filtered or unexported fields
}
MockManagerInterface is a mock of ManagerInterface interface.
func NewMockManagerInterface ¶
func NewMockManagerInterface(ctrl *gomock.Controller) *MockManagerInterface
NewMockManagerInterface creates a new mock instance.
func (*MockManagerInterface) EXPECT ¶
func (m *MockManagerInterface) EXPECT() *MockManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagerInterface) FetchBalancesForChain ¶ added in v0.181.32
func (m *MockManagerInterface) FetchBalancesForChain(parent context.Context, client chain.ClientInterface, accounts, tokens []common.Address, atBlock *big.Int) (map[common.Address]map[common.Address]*hexutil.Big, error)
FetchBalancesForChain mocks base method.
func (*MockManagerInterface) GetBalance ¶ added in v0.181.32
func (m *MockManagerInterface) GetBalance(ctx context.Context, client chain.ClientInterface, account, token common.Address) (*big.Int, error)
GetBalance mocks base method.
func (*MockManagerInterface) GetBalancesAtByChain ¶ added in v0.181.32
func (m *MockManagerInterface) GetBalancesAtByChain(parent context.Context, clients map[uint64]chain.ClientInterface, accounts, tokens []common.Address, atBlocks map[uint64]*big.Int) (map[uint64]map[common.Address]map[common.Address]*hexutil.Big, error)
GetBalancesAtByChain mocks base method.
func (*MockManagerInterface) GetBalancesByChain ¶
func (m *MockManagerInterface) GetBalancesByChain(parent context.Context, clients map[uint64]chain.ClientInterface, accounts, tokens []common.Address) (map[uint64]map[common.Address]map[common.Address]*hexutil.Big, error)
GetBalancesByChain mocks base method.
func (*MockManagerInterface) GetChainBalance ¶ added in v0.181.32
func (m *MockManagerInterface) GetChainBalance(ctx context.Context, client chain.ClientInterface, account common.Address) (*big.Int, error)
GetChainBalance mocks base method.
func (*MockManagerInterface) GetTokenBalanceAt ¶ added in v0.181.32
func (m *MockManagerInterface) GetTokenBalanceAt(ctx context.Context, client chain.ClientInterface, account, token common.Address, blockNumber *big.Int) (*big.Int, error)
GetTokenBalanceAt mocks base method.
func (*MockManagerInterface) GetTokenHistoricalBalance ¶
func (m *MockManagerInterface) GetTokenHistoricalBalance(account common.Address, chainID uint64, symbol string, timestamp int64) (*big.Int, error)
GetTokenHistoricalBalance mocks base method.
func (*MockManagerInterface) GetTokensByChainIDs ¶
func (m *MockManagerInterface) GetTokensByChainIDs(chainIDs []uint64) ([]*token.Token, error)
GetTokensByChainIDs mocks base method.
func (*MockManagerInterface) LookupToken ¶
func (m *MockManagerInterface) LookupToken(chainID *uint64, tokenSymbol string) (*token.Token, bool)
LookupToken mocks base method.
func (*MockManagerInterface) LookupTokenIdentity ¶
func (m *MockManagerInterface) LookupTokenIdentity(chainID uint64, address common.Address, native bool) *token.Token
LookupTokenIdentity mocks base method.
type MockManagerInterfaceMockRecorder ¶
type MockManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface.
func (*MockManagerInterfaceMockRecorder) FetchBalancesForChain ¶ added in v0.181.32
func (mr *MockManagerInterfaceMockRecorder) FetchBalancesForChain(parent, client, accounts, tokens, atBlock interface{}) *gomock.Call
FetchBalancesForChain indicates an expected call of FetchBalancesForChain.
func (*MockManagerInterfaceMockRecorder) GetBalance ¶ added in v0.181.32
func (mr *MockManagerInterfaceMockRecorder) GetBalance(ctx, client, account, token interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockManagerInterfaceMockRecorder) GetBalancesAtByChain ¶ added in v0.181.32
func (mr *MockManagerInterfaceMockRecorder) GetBalancesAtByChain(parent, clients, accounts, tokens, atBlocks interface{}) *gomock.Call
GetBalancesAtByChain indicates an expected call of GetBalancesAtByChain.
func (*MockManagerInterfaceMockRecorder) GetBalancesByChain ¶
func (mr *MockManagerInterfaceMockRecorder) GetBalancesByChain(parent, clients, accounts, tokens interface{}) *gomock.Call
GetBalancesByChain indicates an expected call of GetBalancesByChain.
func (*MockManagerInterfaceMockRecorder) GetChainBalance ¶ added in v0.181.32
func (mr *MockManagerInterfaceMockRecorder) GetChainBalance(ctx, client, account interface{}) *gomock.Call
GetChainBalance indicates an expected call of GetChainBalance.
func (*MockManagerInterfaceMockRecorder) GetTokenBalanceAt ¶ added in v0.181.32
func (mr *MockManagerInterfaceMockRecorder) GetTokenBalanceAt(ctx, client, account, token, blockNumber interface{}) *gomock.Call
GetTokenBalanceAt indicates an expected call of GetTokenBalanceAt.
func (*MockManagerInterfaceMockRecorder) GetTokenHistoricalBalance ¶
func (mr *MockManagerInterfaceMockRecorder) GetTokenHistoricalBalance(account, chainID, symbol, timestamp interface{}) *gomock.Call
GetTokenHistoricalBalance indicates an expected call of GetTokenHistoricalBalance.
func (*MockManagerInterfaceMockRecorder) GetTokensByChainIDs ¶
func (mr *MockManagerInterfaceMockRecorder) GetTokensByChainIDs(chainIDs interface{}) *gomock.Call
GetTokensByChainIDs indicates an expected call of GetTokensByChainIDs.
func (*MockManagerInterfaceMockRecorder) LookupToken ¶
func (mr *MockManagerInterfaceMockRecorder) LookupToken(chainID, tokenSymbol interface{}) *gomock.Call
LookupToken indicates an expected call of LookupToken.
func (*MockManagerInterfaceMockRecorder) LookupTokenIdentity ¶
func (mr *MockManagerInterfaceMockRecorder) LookupTokenIdentity(chainID, address, native interface{}) *gomock.Call
LookupTokenIdentity indicates an expected call of LookupTokenIdentity.