Documentation ¶
Index ¶
- Variables
- func Setup()
- type MockBridgeContract
- func (m *MockBridgeContract) Address() common.Address
- func (m *MockBridgeContract) GetClient() client.Core
- func (m *MockBridgeContract) GetMembers() []string
- func (m *MockBridgeContract) HasValidSignaturesLength(signaturesLength *big.Int) (bool, error)
- func (m *MockBridgeContract) IsMember(address string) bool
- func (m *MockBridgeContract) ParseBurnERC721Log(log types.Log) (*router.RouterBurnERC721, error)
- func (m *MockBridgeContract) ParseBurnLog(log types.Log) (*router.RouterBurn, error)
- func (m *MockBridgeContract) ParseLockLog(log types.Log) (*router.RouterLock, error)
- func (m *MockBridgeContract) ParseMintLog(log types.Log) (*router.RouterMint, error)
- func (m *MockBridgeContract) ParseUnlockLog(log types.Log) (*router.RouterUnlock, error)
- func (m *MockBridgeContract) ReloadMembers()
- func (m *MockBridgeContract) WatchBurnEventLogs(opts *bind.WatchOpts, sink chan<- *router.RouterBurn) (event.Subscription, error)
- func (m *MockBridgeContract) WatchLockEventLogs(opts *bind.WatchOpts, sink chan<- *router.RouterLock) (event.Subscription, error)
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 MConnector *database.MockConnector
View Source
var MDatabase *database.MockDatabase
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 MEvmNftClient *client.MockEvmNonFungibleToken
View Source
var MExchangeRateProvider *rate_provider.MockExchangeRateProvider
View Source
var MFeeRepository *repository.MockFeeRepository
View Source
var MFeeService *service.MockFeeService
View Source
var MHTTPClient *client.MockHttp
View Source
var MHandler *handlers.MockHandler
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 MQueue *queue.MockQueue
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 MStatusRepository *repository.MockStatusRepository
View Source
var MTransferRepository *repository.MockTransferRepository
View Source
var MTransferService *service.MockTransferService
View Source
var MUtilsService *service.MockUtilsService
View Source
var MWatcher *watchers.MockWatcher
Functions ¶
Types ¶
type MockBridgeContract ¶
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)
Click to show internal directories.
Click to hide internal directories.