mocks

package
v0.68.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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) ExtendAuctionLiquidity

func (m *MockAuctionState) ExtendAuctionLiquidity(arg0 types.AuctionDuration)

ExtendAuctionLiquidity 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) StartLiquidityAuction

func (m *MockAuctionState) StartLiquidityAuction(arg0 time.Time, arg1 *types.AuctionDuration)

StartLiquidityAuction 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) ExtendAuctionLiquidity

func (mr *MockAuctionStateMockRecorder) ExtendAuctionLiquidity(arg0 interface{}) *gomock.Call

ExtendAuctionLiquidity indicates an expected call of ExtendAuctionLiquidity.

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) StartLiquidityAuction

func (mr *MockAuctionStateMockRecorder) StartLiquidityAuction(arg0, arg1 interface{}) *gomock.Call

StartLiquidityAuction indicates an expected call of StartLiquidityAuction.

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

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.

Jump to

Keyboard shortcuts

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