mocks

package
v0.73.0-preview.11 Latest Latest
Warning

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

Go to latest
Published: Oct 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) EndGovernanceSuspensionAuction added in v0.73.0

func (m *MockAuctionState) EndGovernanceSuspensionAuction()

EndGovernanceSuspensionAuction mocks base method.

func (*MockAuctionState) ExpiresAt

func (m *MockAuctionState) ExpiresAt() *time.Time

ExpiresAt mocks base method.

func (*MockAuctionState) ExtendAuctionLiquidityUnmetTarget added in v0.69.0

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) StartGovernanceSuspensionAuction added in v0.73.0

func (m *MockAuctionState) StartGovernanceSuspensionAuction(arg0 time.Time)

StartGovernanceSuspensionAuction mocks base method.

func (*MockAuctionState) StartLiquidityAuctionUnmetTarget added in v0.69.0

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) EndGovernanceSuspensionAuction added in v0.73.0

func (mr *MockAuctionStateMockRecorder) EndGovernanceSuspensionAuction() *gomock.Call

EndGovernanceSuspensionAuction indicates an expected call of EndGovernanceSuspensionAuction.

func (*MockAuctionStateMockRecorder) ExpiresAt

func (mr *MockAuctionStateMockRecorder) ExpiresAt() *gomock.Call

ExpiresAt indicates an expected call of ExpiresAt.

func (*MockAuctionStateMockRecorder) ExtendAuctionLiquidityUnmetTarget added in v0.69.0

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) StartGovernanceSuspensionAuction added in v0.73.0

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

StartGovernanceSuspensionAuction indicates an expected call of StartGovernanceSuspensionAuction.

func (*MockAuctionStateMockRecorder) StartLiquidityAuctionUnmetTarget added in v0.69.0

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

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