Documentation ¶
Overview ¶
Package mock_events is a generated GoMock package.
Index ¶
- type MockIEvents
- func (m *MockIEvents) EXPECT() *MockIEventsMockRecorder
- func (m *MockIEvents) ListenAccountCorePermissionGranted() (*events.AccountCorePermissionGrantedSubscription, error)
- func (m *MockIEvents) ListenAccountCorePermissionRevoked() (*events.AccountCorePermissionRevokedSubscription, error)
- func (m *MockIEvents) ListenAccountCreated() (*events.AccountCreatedSubscription, error)
- func (m *MockIEvents) ListenAccountCreatedCore() (*events.AccountCreatedCoreSubscription, error)
- func (m *MockIEvents) ListenAccountLiquidated() (*events.AccountLiquidatedSubscription, error)
- func (m *MockIEvents) ListenAccountPermissionGranted() (*events.AccountPermissionGrantedSubscription, error)
- func (m *MockIEvents) ListenAccountPermissionRevoked() (*events.AccountPermissionRevokedSubscription, error)
- func (m *MockIEvents) ListenAccountTransfer() (*events.AccountTransferSubscription, error)
- func (m *MockIEvents) ListenCollateralDeposited() (*events.CollateralDepositedSubscription, error)
- func (m *MockIEvents) ListenCollateralWithdrawn() (*events.CollateralWithdrawnSubscription, error)
- func (m *MockIEvents) ListenDelegationUpdated() (*events.DelegationUpdatedSubscription, error)
- func (m *MockIEvents) ListenLiquidations() (*events.LiquidationSubscription, error)
- func (m *MockIEvents) ListenLiquidationsCore() (*events.LiquidationsCoreSubscription, error)
- func (m *MockIEvents) ListenMarketRegistered() (*events.MarketRegisteredSubscription, error)
- func (m *MockIEvents) ListenMarketUSDDeposited() (*events.MarketUSDDepositedSubscription, error)
- func (m *MockIEvents) ListenMarketUSDWithdrawn() (*events.MarketUSDWithdrawnSubscription, error)
- func (m *MockIEvents) ListenMarketUpdates() (*events.MarketUpdateSubscription, error)
- func (m *MockIEvents) ListenMarketUpdatesBig() (*events.MarketUpdateSubscriptionBig, error)
- func (m *MockIEvents) ListenOrders() (*events.OrderSubscription, error)
- func (m *MockIEvents) ListenPoolCreated() (*events.PoolCreatedSubscription, error)
- func (m *MockIEvents) ListenRewardClaimed() (*events.RewardClaimedSubscription, error)
- func (m *MockIEvents) ListenRewardDistributed() (*events.RewardDistributedSubscription, error)
- func (m *MockIEvents) ListenTrades() (*events.TradeSubscription, error)
- func (m *MockIEvents) ListenUSDBurned() (*events.USDBurnedSubscription, error)
- func (m *MockIEvents) ListenUSDMinted() (*events.USDMintedSubscription, error)
- func (m *MockIEvents) ListenVaultLiquidationsCore() (*events.VaultLiquidationsCoreSubscription, error)
- type MockIEventsMockRecorder
- func (mr *MockIEventsMockRecorder) ListenAccountCorePermissionGranted() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountCorePermissionRevoked() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountCreated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountCreatedCore() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountLiquidated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountPermissionGranted() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountPermissionRevoked() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountTransfer() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenCollateralDeposited() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenCollateralWithdrawn() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenDelegationUpdated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenLiquidations() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenLiquidationsCore() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketRegistered() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUSDDeposited() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUSDWithdrawn() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUpdates() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUpdatesBig() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenOrders() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenPoolCreated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenRewardClaimed() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenRewardDistributed() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenTrades() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenUSDBurned() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenUSDMinted() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenVaultLiquidationsCore() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIEvents ¶
type MockIEvents struct {
// contains filtered or unexported fields
}
MockIEvents is a mock of IEvents interface.
func NewMockIEvents ¶
func NewMockIEvents(ctrl *gomock.Controller) *MockIEvents
NewMockIEvents creates a new mock instance.
func (*MockIEvents) EXPECT ¶
func (m *MockIEvents) EXPECT() *MockIEventsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEvents) ListenAccountCorePermissionGranted ¶ added in v0.16.0
func (m *MockIEvents) ListenAccountCorePermissionGranted() (*events.AccountCorePermissionGrantedSubscription, error)
ListenAccountCorePermissionGranted mocks base method.
func (*MockIEvents) ListenAccountCorePermissionRevoked ¶ added in v0.16.0
func (m *MockIEvents) ListenAccountCorePermissionRevoked() (*events.AccountCorePermissionRevokedSubscription, error)
ListenAccountCorePermissionRevoked mocks base method.
func (*MockIEvents) ListenAccountCreated ¶ added in v0.1.19
func (m *MockIEvents) ListenAccountCreated() (*events.AccountCreatedSubscription, error)
ListenAccountCreated mocks base method.
func (*MockIEvents) ListenAccountCreatedCore ¶ added in v0.16.0
func (m *MockIEvents) ListenAccountCreatedCore() (*events.AccountCreatedCoreSubscription, error)
ListenAccountCreatedCore mocks base method.
func (*MockIEvents) ListenAccountLiquidated ¶ added in v0.1.19
func (m *MockIEvents) ListenAccountLiquidated() (*events.AccountLiquidatedSubscription, error)
ListenAccountLiquidated mocks base method.
func (*MockIEvents) ListenAccountPermissionGranted ¶ added in v0.1.19
func (m *MockIEvents) ListenAccountPermissionGranted() (*events.AccountPermissionGrantedSubscription, error)
ListenAccountPermissionGranted mocks base method.
func (*MockIEvents) ListenAccountPermissionRevoked ¶ added in v0.1.19
func (m *MockIEvents) ListenAccountPermissionRevoked() (*events.AccountPermissionRevokedSubscription, error)
ListenAccountPermissionRevoked mocks base method.
func (*MockIEvents) ListenAccountTransfer ¶ added in v0.16.0
func (m *MockIEvents) ListenAccountTransfer() (*events.AccountTransferSubscription, error)
ListenAccountTransfer mocks base method.
func (*MockIEvents) ListenCollateralDeposited ¶ added in v0.4.0
func (m *MockIEvents) ListenCollateralDeposited() (*events.CollateralDepositedSubscription, error)
ListenCollateralDeposited mocks base method.
func (*MockIEvents) ListenCollateralWithdrawn ¶ added in v0.4.0
func (m *MockIEvents) ListenCollateralWithdrawn() (*events.CollateralWithdrawnSubscription, error)
ListenCollateralWithdrawn mocks base method.
func (*MockIEvents) ListenDelegationUpdated ¶ added in v0.4.0
func (m *MockIEvents) ListenDelegationUpdated() (*events.DelegationUpdatedSubscription, error)
ListenDelegationUpdated mocks base method.
func (*MockIEvents) ListenLiquidations ¶ added in v0.1.3
func (m *MockIEvents) ListenLiquidations() (*events.LiquidationSubscription, error)
ListenLiquidations mocks base method.
func (*MockIEvents) ListenLiquidationsCore ¶ added in v0.16.0
func (m *MockIEvents) ListenLiquidationsCore() (*events.LiquidationsCoreSubscription, error)
ListenLiquidationsCore mocks base method.
func (*MockIEvents) ListenMarketRegistered ¶ added in v0.16.0
func (m *MockIEvents) ListenMarketRegistered() (*events.MarketRegisteredSubscription, error)
ListenMarketRegistered mocks base method.
func (*MockIEvents) ListenMarketUSDDeposited ¶ added in v0.16.0
func (m *MockIEvents) ListenMarketUSDDeposited() (*events.MarketUSDDepositedSubscription, error)
ListenMarketUSDDeposited mocks base method.
func (*MockIEvents) ListenMarketUSDWithdrawn ¶ added in v0.16.0
func (m *MockIEvents) ListenMarketUSDWithdrawn() (*events.MarketUSDWithdrawnSubscription, error)
ListenMarketUSDWithdrawn mocks base method.
func (*MockIEvents) ListenMarketUpdates ¶ added in v0.1.1
func (m *MockIEvents) ListenMarketUpdates() (*events.MarketUpdateSubscription, error)
ListenMarketUpdates mocks base method.
func (*MockIEvents) ListenMarketUpdatesBig ¶ added in v0.1.9
func (m *MockIEvents) ListenMarketUpdatesBig() (*events.MarketUpdateSubscriptionBig, error)
ListenMarketUpdatesBig mocks base method.
func (*MockIEvents) ListenOrders ¶ added in v0.1.0
func (m *MockIEvents) ListenOrders() (*events.OrderSubscription, error)
ListenOrders mocks base method.
func (*MockIEvents) ListenPoolCreated ¶ added in v0.16.0
func (m *MockIEvents) ListenPoolCreated() (*events.PoolCreatedSubscription, error)
ListenPoolCreated mocks base method.
func (*MockIEvents) ListenRewardClaimed ¶ added in v0.4.0
func (m *MockIEvents) ListenRewardClaimed() (*events.RewardClaimedSubscription, error)
ListenRewardClaimed mocks base method.
func (*MockIEvents) ListenRewardDistributed ¶ added in v0.4.0
func (m *MockIEvents) ListenRewardDistributed() (*events.RewardDistributedSubscription, error)
ListenRewardDistributed mocks base method.
func (*MockIEvents) ListenTrades ¶
func (m *MockIEvents) ListenTrades() (*events.TradeSubscription, error)
ListenTrades mocks base method.
func (*MockIEvents) ListenUSDBurned ¶ added in v0.4.0
func (m *MockIEvents) ListenUSDBurned() (*events.USDBurnedSubscription, error)
ListenUSDBurned mocks base method.
func (*MockIEvents) ListenUSDMinted ¶ added in v0.4.0
func (m *MockIEvents) ListenUSDMinted() (*events.USDMintedSubscription, error)
ListenUSDMinted mocks base method.
func (*MockIEvents) ListenVaultLiquidationsCore ¶ added in v0.16.0
func (m *MockIEvents) ListenVaultLiquidationsCore() (*events.VaultLiquidationsCoreSubscription, error)
ListenVaultLiquidationsCore mocks base method.
type MockIEventsMockRecorder ¶
type MockIEventsMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventsMockRecorder is the mock recorder for MockIEvents.
func (*MockIEventsMockRecorder) ListenAccountCorePermissionGranted ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenAccountCorePermissionGranted() *gomock.Call
ListenAccountCorePermissionGranted indicates an expected call of ListenAccountCorePermissionGranted.
func (*MockIEventsMockRecorder) ListenAccountCorePermissionRevoked ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenAccountCorePermissionRevoked() *gomock.Call
ListenAccountCorePermissionRevoked indicates an expected call of ListenAccountCorePermissionRevoked.
func (*MockIEventsMockRecorder) ListenAccountCreated ¶ added in v0.1.19
func (mr *MockIEventsMockRecorder) ListenAccountCreated() *gomock.Call
ListenAccountCreated indicates an expected call of ListenAccountCreated.
func (*MockIEventsMockRecorder) ListenAccountCreatedCore ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenAccountCreatedCore() *gomock.Call
ListenAccountCreatedCore indicates an expected call of ListenAccountCreatedCore.
func (*MockIEventsMockRecorder) ListenAccountLiquidated ¶ added in v0.1.19
func (mr *MockIEventsMockRecorder) ListenAccountLiquidated() *gomock.Call
ListenAccountLiquidated indicates an expected call of ListenAccountLiquidated.
func (*MockIEventsMockRecorder) ListenAccountPermissionGranted ¶ added in v0.1.19
func (mr *MockIEventsMockRecorder) ListenAccountPermissionGranted() *gomock.Call
ListenAccountPermissionGranted indicates an expected call of ListenAccountPermissionGranted.
func (*MockIEventsMockRecorder) ListenAccountPermissionRevoked ¶ added in v0.1.19
func (mr *MockIEventsMockRecorder) ListenAccountPermissionRevoked() *gomock.Call
ListenAccountPermissionRevoked indicates an expected call of ListenAccountPermissionRevoked.
func (*MockIEventsMockRecorder) ListenAccountTransfer ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenAccountTransfer() *gomock.Call
ListenAccountTransfer indicates an expected call of ListenAccountTransfer.
func (*MockIEventsMockRecorder) ListenCollateralDeposited ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenCollateralDeposited() *gomock.Call
ListenCollateralDeposited indicates an expected call of ListenCollateralDeposited.
func (*MockIEventsMockRecorder) ListenCollateralWithdrawn ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenCollateralWithdrawn() *gomock.Call
ListenCollateralWithdrawn indicates an expected call of ListenCollateralWithdrawn.
func (*MockIEventsMockRecorder) ListenDelegationUpdated ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenDelegationUpdated() *gomock.Call
ListenDelegationUpdated indicates an expected call of ListenDelegationUpdated.
func (*MockIEventsMockRecorder) ListenLiquidations ¶ added in v0.1.3
func (mr *MockIEventsMockRecorder) ListenLiquidations() *gomock.Call
ListenLiquidations indicates an expected call of ListenLiquidations.
func (*MockIEventsMockRecorder) ListenLiquidationsCore ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenLiquidationsCore() *gomock.Call
ListenLiquidationsCore indicates an expected call of ListenLiquidationsCore.
func (*MockIEventsMockRecorder) ListenMarketRegistered ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenMarketRegistered() *gomock.Call
ListenMarketRegistered indicates an expected call of ListenMarketRegistered.
func (*MockIEventsMockRecorder) ListenMarketUSDDeposited ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenMarketUSDDeposited() *gomock.Call
ListenMarketUSDDeposited indicates an expected call of ListenMarketUSDDeposited.
func (*MockIEventsMockRecorder) ListenMarketUSDWithdrawn ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenMarketUSDWithdrawn() *gomock.Call
ListenMarketUSDWithdrawn indicates an expected call of ListenMarketUSDWithdrawn.
func (*MockIEventsMockRecorder) ListenMarketUpdates ¶ added in v0.1.1
func (mr *MockIEventsMockRecorder) ListenMarketUpdates() *gomock.Call
ListenMarketUpdates indicates an expected call of ListenMarketUpdates.
func (*MockIEventsMockRecorder) ListenMarketUpdatesBig ¶ added in v0.1.9
func (mr *MockIEventsMockRecorder) ListenMarketUpdatesBig() *gomock.Call
ListenMarketUpdatesBig indicates an expected call of ListenMarketUpdatesBig.
func (*MockIEventsMockRecorder) ListenOrders ¶ added in v0.1.0
func (mr *MockIEventsMockRecorder) ListenOrders() *gomock.Call
ListenOrders indicates an expected call of ListenOrders.
func (*MockIEventsMockRecorder) ListenPoolCreated ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenPoolCreated() *gomock.Call
ListenPoolCreated indicates an expected call of ListenPoolCreated.
func (*MockIEventsMockRecorder) ListenRewardClaimed ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenRewardClaimed() *gomock.Call
ListenRewardClaimed indicates an expected call of ListenRewardClaimed.
func (*MockIEventsMockRecorder) ListenRewardDistributed ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenRewardDistributed() *gomock.Call
ListenRewardDistributed indicates an expected call of ListenRewardDistributed.
func (*MockIEventsMockRecorder) ListenTrades ¶
func (mr *MockIEventsMockRecorder) ListenTrades() *gomock.Call
ListenTrades indicates an expected call of ListenTrades.
func (*MockIEventsMockRecorder) ListenUSDBurned ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenUSDBurned() *gomock.Call
ListenUSDBurned indicates an expected call of ListenUSDBurned.
func (*MockIEventsMockRecorder) ListenUSDMinted ¶ added in v0.4.0
func (mr *MockIEventsMockRecorder) ListenUSDMinted() *gomock.Call
ListenUSDMinted indicates an expected call of ListenUSDMinted.
func (*MockIEventsMockRecorder) ListenVaultLiquidationsCore ¶ added in v0.16.0
func (mr *MockIEventsMockRecorder) ListenVaultLiquidationsCore() *gomock.Call
ListenVaultLiquidationsCore indicates an expected call of ListenVaultLiquidationsCore.