Documentation ¶
Overview ¶
Package mock_events is a generated GoMock package.
Index ¶
- type MockIEvents
- func (m *MockIEvents) EXPECT() *MockIEventsMockRecorder
- func (m *MockIEvents) ListenAccountCreated() (*events.AccountCreatedSubscription, 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) 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) ListenMarketUpdates() (*events.MarketUpdateSubscription, error)
- func (m *MockIEvents) ListenMarketUpdatesBig() (*events.MarketUpdateSubscriptionBig, error)
- func (m *MockIEvents) ListenOrders() (*events.OrderSubscription, 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)
- type MockIEventsMockRecorder
- func (mr *MockIEventsMockRecorder) ListenAccountCreated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountLiquidated() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountPermissionGranted() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenAccountPermissionRevoked() *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) ListenMarketUpdates() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUpdatesBig() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenOrders() *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
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) ListenAccountCreated ¶ added in v0.1.19
func (m *MockIEvents) ListenAccountCreated() (*events.AccountCreatedSubscription, error)
ListenAccountCreated 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) 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) 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) 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.
type MockIEventsMockRecorder ¶
type MockIEventsMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventsMockRecorder is the mock recorder for MockIEvents.
func (*MockIEventsMockRecorder) ListenAccountCreated ¶ added in v0.1.19
func (mr *MockIEventsMockRecorder) ListenAccountCreated() *gomock.Call
ListenAccountCreated indicates an expected call of ListenAccountCreated.
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) 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) 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) 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.