Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuctionState
- func (m *MockAuctionState) EXPECT() *MockAuctionStateMockRecorder
- func (m *MockAuctionState) ExpiresAt() *time.Time
- func (m *MockAuctionState) ExtendAuctionLiquidityNoOrders(arg0 types.AuctionDuration)
- func (m *MockAuctionState) ExtendAuctionLiquidityUnmetTarget(arg0 types.AuctionDuration)
- func (m *MockAuctionState) InAuction() bool
- func (m *MockAuctionState) IsLiquidityAuction() bool
- func (m *MockAuctionState) IsLiquidityExtension() bool
- func (m *MockAuctionState) IsOpeningAuction() bool
- func (m *MockAuctionState) SetReadyToLeave()
- func (m *MockAuctionState) StartLiquidityAuctionNoOrders(arg0 time.Time, arg1 *types.AuctionDuration)
- func (m *MockAuctionState) StartLiquidityAuctionUnmetTarget(arg0 time.Time, arg1 *types.AuctionDuration)
- type MockAuctionStateMockRecorder
- func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidityNoOrders(arg0 interface{}) *gomock.Call
- func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget(arg0 interface{}) *gomock.Call
- func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsLiquidityAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsLiquidityExtension() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call
- func (mr *MockAuctionStateMockRecorder) StartLiquidityAuctionNoOrders(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget(arg0, arg1 interface{}) *gomock.Call
- type MockTargetStakeCalculator
- type MockTargetStakeCalculatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuctionState ¶
type MockAuctionState struct {
// contains filtered or unexported fields
}
MockAuctionState is a mock of AuctionState interface.
func NewMockAuctionState ¶
func NewMockAuctionState(ctrl *gomock.Controller) *MockAuctionState
NewMockAuctionState creates a new mock instance.
func (*MockAuctionState) EXPECT ¶
func (m *MockAuctionState) EXPECT() *MockAuctionStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuctionState) ExpiresAt ¶
func (m *MockAuctionState) ExpiresAt() *time.Time
ExpiresAt mocks base method.
func (*MockAuctionState) ExtendAuctionLiquidityNoOrders ¶
func (m *MockAuctionState) ExtendAuctionLiquidityNoOrders(arg0 types.AuctionDuration)
ExtendAuctionLiquidityNoOrders mocks base method.
func (*MockAuctionState) ExtendAuctionLiquidityUnmetTarget ¶
func (m *MockAuctionState) ExtendAuctionLiquidityUnmetTarget(arg0 types.AuctionDuration)
ExtendAuctionLiquidityUnmetTarget mocks base method.
func (*MockAuctionState) InAuction ¶
func (m *MockAuctionState) InAuction() bool
InAuction mocks base method.
func (*MockAuctionState) IsLiquidityAuction ¶
func (m *MockAuctionState) IsLiquidityAuction() bool
IsLiquidityAuction mocks base method.
func (*MockAuctionState) IsLiquidityExtension ¶
func (m *MockAuctionState) IsLiquidityExtension() bool
IsLiquidityExtension mocks base method.
func (*MockAuctionState) IsOpeningAuction ¶
func (m *MockAuctionState) IsOpeningAuction() bool
IsOpeningAuction mocks base method.
func (*MockAuctionState) SetReadyToLeave ¶
func (m *MockAuctionState) SetReadyToLeave()
SetReadyToLeave mocks base method.
func (*MockAuctionState) StartLiquidityAuctionNoOrders ¶
func (m *MockAuctionState) StartLiquidityAuctionNoOrders(arg0 time.Time, arg1 *types.AuctionDuration)
StartLiquidityAuctionNoOrders mocks base method.
func (*MockAuctionState) StartLiquidityAuctionUnmetTarget ¶
func (m *MockAuctionState) StartLiquidityAuctionUnmetTarget(arg0 time.Time, arg1 *types.AuctionDuration)
StartLiquidityAuctionUnmetTarget mocks base method.
type MockAuctionStateMockRecorder ¶
type MockAuctionStateMockRecorder struct {
// contains filtered or unexported fields
}
MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.
func (*MockAuctionStateMockRecorder) ExpiresAt ¶
func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call
ExpiresAt indicates an expected call of ExpiresAt.
func (*MockAuctionStateMockRecorder) ExtendAuctionLiquidityNoOrders ¶
func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidityNoOrders(arg0 interface{}) *gomock.Call
ExtendAuctionLiquidityNoOrders indicates an expected call of ExtendAuctionLiquidityNoOrders.
func (*MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget ¶
func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget(arg0 interface{}) *gomock.Call
ExtendAuctionLiquidityUnmetTarget indicates an expected call of ExtendAuctionLiquidityUnmetTarget.
func (*MockAuctionStateMockRecorder) InAuction ¶
func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call
InAuction indicates an expected call of InAuction.
func (*MockAuctionStateMockRecorder) IsLiquidityAuction ¶
func (mr *MockAuctionStateMockRecorder) IsLiquidityAuction() *gomock.Call
IsLiquidityAuction indicates an expected call of IsLiquidityAuction.
func (*MockAuctionStateMockRecorder) IsLiquidityExtension ¶
func (mr *MockAuctionStateMockRecorder) IsLiquidityExtension() *gomock.Call
IsLiquidityExtension indicates an expected call of IsLiquidityExtension.
func (*MockAuctionStateMockRecorder) IsOpeningAuction ¶
func (mr *MockAuctionStateMockRecorder) IsOpeningAuction() *gomock.Call
IsOpeningAuction indicates an expected call of IsOpeningAuction.
func (*MockAuctionStateMockRecorder) SetReadyToLeave ¶
func (mr *MockAuctionStateMockRecorder) SetReadyToLeave() *gomock.Call
SetReadyToLeave indicates an expected call of SetReadyToLeave.
func (*MockAuctionStateMockRecorder) StartLiquidityAuctionNoOrders ¶
func (mr *MockAuctionStateMockRecorder) StartLiquidityAuctionNoOrders(arg0, arg1 interface{}) *gomock.Call
StartLiquidityAuctionNoOrders indicates an expected call of StartLiquidityAuctionNoOrders.
func (*MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget ¶
func (mr *MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget(arg0, arg1 interface{}) *gomock.Call
StartLiquidityAuctionUnmetTarget indicates an expected call of StartLiquidityAuctionUnmetTarget.
type MockTargetStakeCalculator ¶
type MockTargetStakeCalculator struct {
// contains filtered or unexported fields
}
MockTargetStakeCalculator is a mock of TargetStakeCalculator interface.
func NewMockTargetStakeCalculator ¶
func NewMockTargetStakeCalculator(ctrl *gomock.Controller) *MockTargetStakeCalculator
NewMockTargetStakeCalculator creates a new mock instance.
func (*MockTargetStakeCalculator) EXPECT ¶
func (m *MockTargetStakeCalculator) EXPECT() *MockTargetStakeCalculatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTargetStakeCalculator) GetTheoreticalTargetStake ¶
func (m *MockTargetStakeCalculator) GetTheoreticalTargetStake(arg0 types.RiskFactor, arg1 time.Time, arg2 *num.Uint, arg3 []*types.Trade) *num.Uint
GetTheoreticalTargetStake mocks base method.
type MockTargetStakeCalculatorMockRecorder ¶
type MockTargetStakeCalculatorMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetStakeCalculatorMockRecorder is the mock recorder for MockTargetStakeCalculator.
func (*MockTargetStakeCalculatorMockRecorder) GetTheoreticalTargetStake ¶
func (mr *MockTargetStakeCalculatorMockRecorder) GetTheoreticalTargetStake(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetTheoreticalTargetStake indicates an expected call of GetTheoreticalTargetStake.