mocks

package
v1.3.3-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MAssetsService *service.MockAssetsService
View Source
var MBridgeConfigService *service.MockBridgeConfigService
View Source
var MBurnService *service.MockBurnService
View Source
var MDiamondRouter *client.MockDiamondRouter
View Source
var MDistributorService *service.MockDistrubutorService
View Source
var MEVMClient *client.MockEVM
View Source
var MEVMCoreClient *client.MockEVMCore
View Source
var MEvmFungibleTokenClient *client.MockEvmFungibleToken
View Source
var MExchangeRateProvider *rate_provider.MockExchangeRateProvider
View Source
var MHTTPClient *client.MockHttp
View Source
var MHederaMirrorClient *client.MockHederaMirror
View Source
var MHederaNodeClient *client.MockHederaNode
View Source
var MHttpHandler *http.MockHandler
View Source
var MLockService *service.MockLockService
View Source
var MMessageRepository *repository.MockMessageRepository
View Source
var MMessageService *service.MockMessageService
View Source
var MPricingClient *client.MockPricingClient
View Source
var MPricingService *service.MockPricingService
View Source
var MPrometheusService *service.MockPrometheusService
View Source
var MReadOnlyService *service.MockReadOnlyService
View Source
var MResponseWriter *http.MockResponseWriter
View Source
var MScheduleRepository *repository.MockScheduleRepository
View Source
var MScheduledService *service.MockScheduledService
View Source
var MSignerService *service.MockSignerService
View Source
var MTransferRepository *repository.MockTransferRepository
View Source
var MTransferService *service.MockTransferService
View Source
var MUtilsService *service.MockUtilsService

Functions

func Setup

func Setup()

Types

type MockBridgeContract

type MockBridgeContract struct {
	mock.Mock
}
var MBridgeContractService *MockBridgeContract

func (*MockBridgeContract) Address added in v1.4.0

func (m *MockBridgeContract) Address() common.Address

func (*MockBridgeContract) GetClient added in v1.4.0

func (m *MockBridgeContract) GetClient() client.Core

func (*MockBridgeContract) GetMembers

func (m *MockBridgeContract) GetMembers() []string

func (*MockBridgeContract) HasValidSignaturesLength added in v1.4.0

func (m *MockBridgeContract) HasValidSignaturesLength(signaturesLength *big.Int) (bool, error)

func (*MockBridgeContract) IsMember

func (m *MockBridgeContract) IsMember(address string) bool

func (*MockBridgeContract) ParseBurnERC721Log added in v1.4.0

func (m *MockBridgeContract) ParseBurnERC721Log(log types.Log) (*router.RouterBurnERC721, error)

func (*MockBridgeContract) ParseBurnLog added in v1.4.0

func (m *MockBridgeContract) ParseBurnLog(log types.Log) (*router.RouterBurn, error)

func (*MockBridgeContract) ParseLockLog added in v1.4.0

func (m *MockBridgeContract) ParseLockLog(log types.Log) (*router.RouterLock, error)

func (*MockBridgeContract) ParseMintLog added in v1.4.0

func (m *MockBridgeContract) ParseMintLog(log types.Log) (*router.RouterMint, error)

func (*MockBridgeContract) ParseUnlockLog added in v1.4.0

func (m *MockBridgeContract) ParseUnlockLog(log types.Log) (*router.RouterUnlock, error)

ParseUnlockLog parses a general typed log to a RouterUnlock event

func (*MockBridgeContract) ReloadMembers added in v1.4.0

func (m *MockBridgeContract) ReloadMembers()

func (*MockBridgeContract) WatchBurnEventLogs

func (m *MockBridgeContract) WatchBurnEventLogs(opts *bind.WatchOpts, sink chan<- *router.RouterBurn) (event.Subscription, error)

func (*MockBridgeContract) WatchLockEventLogs added in v1.4.0

func (m *MockBridgeContract) WatchLockEventLogs(opts *bind.WatchOpts, sink chan<- *router.RouterLock) (event.Subscription, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL