mocks

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeveloperKeeper

type DeveloperKeeper struct {
	mock.Mock
}

DeveloperKeeper is an autogenerated mock type for the DeveloperKeeper type

func (*DeveloperKeeper) AppTransferIDA

func (_m *DeveloperKeeper) AppTransferIDA(ctx types.Context, appname linotypes.AccountKey, signer linotypes.AccountKey, amount types.Int, from linotypes.AccountKey, to linotypes.AccountKey) types.Error

AppTransferIDA provides a mock function with given fields: ctx, appname, signer, amount, from, to

func (*DeveloperKeeper) BurnIDA

BurnIDA provides a mock function with given fields: ctx, app, user, amount

func (*DeveloperKeeper) DoesDeveloperExist

func (_m *DeveloperKeeper) DoesDeveloperExist(ctx types.Context, username linotypes.AccountKey) bool

DoesDeveloperExist provides a mock function with given fields: ctx, username

func (*DeveloperKeeper) ExportToFile added in v0.4.0

func (_m *DeveloperKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error

ExportToFile provides a mock function with given fields: ctx, cdc, filepath

func (*DeveloperKeeper) GetAffiliated

func (_m *DeveloperKeeper) GetAffiliated(ctx types.Context, app linotypes.AccountKey) []linotypes.AccountKey

GetAffiliated provides a mock function with given fields: ctx, app

func (*DeveloperKeeper) GetAffiliatingApp

func (_m *DeveloperKeeper) GetAffiliatingApp(ctx types.Context, username linotypes.AccountKey) (linotypes.AccountKey, types.Error)

GetAffiliatingApp provides a mock function with given fields: ctx, username

func (*DeveloperKeeper) GetDeveloper

func (_m *DeveloperKeeper) GetDeveloper(ctx types.Context, username linotypes.AccountKey) (model.Developer, types.Error)

GetDeveloper provides a mock function with given fields: ctx, username

func (*DeveloperKeeper) GetIDA

GetIDA provides a mock function with given fields: ctx, app

func (*DeveloperKeeper) GetIDABank

GetIDABank provides a mock function with given fields: ctx, app, user

func (*DeveloperKeeper) GetIDAStats

GetIDAStats provides a mock function with given fields: ctx, app

func (*DeveloperKeeper) GetLiveDevelopers

func (_m *DeveloperKeeper) GetLiveDevelopers(ctx types.Context) []model.Developer

GetLiveDevelopers provides a mock function with given fields: ctx

func (*DeveloperKeeper) GetMiniIDAPrice

func (_m *DeveloperKeeper) GetMiniIDAPrice(ctx types.Context, app linotypes.AccountKey) (linotypes.MiniDollar, types.Error)

GetMiniIDAPrice provides a mock function with given fields: ctx, app

func (*DeveloperKeeper) GetReservePool

func (_m *DeveloperKeeper) GetReservePool(ctx types.Context) model.ReservePool

GetReservePool provides a mock function with given fields: ctx

func (*DeveloperKeeper) IDAConvertFromLino added in v0.6.10

func (_m *DeveloperKeeper) IDAConvertFromLino(ctx types.Context, username linotypes.AccountKey, appname linotypes.AccountKey, amount linotypes.Coin) types.Error

IDAConvertFromLino provides a mock function with given fields: ctx, username, appname, amount

func (*DeveloperKeeper) ImportFromFile

func (_m *DeveloperKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error

ImportFromFile provides a mock function with given fields: ctx, cdc, filepath

func (*DeveloperKeeper) InitGenesis

func (_m *DeveloperKeeper) InitGenesis(ctx types.Context, reservePoolAmount linotypes.Coin) types.Error

InitGenesis provides a mock function with given fields: ctx, reservePoolAmount

func (*DeveloperKeeper) IssueIDA

func (_m *DeveloperKeeper) IssueIDA(ctx types.Context, appname linotypes.AccountKey, idaName string, idaPrice int64) types.Error

IssueIDA provides a mock function with given fields: ctx, appname, idaName, idaPrice

func (*DeveloperKeeper) MintIDA

func (_m *DeveloperKeeper) MintIDA(ctx types.Context, appname linotypes.AccountKey, amount linotypes.Coin) types.Error

MintIDA provides a mock function with given fields: ctx, appname, amount

func (*DeveloperKeeper) MonthlyDistributeDevInflation added in v0.6.0

func (_m *DeveloperKeeper) MonthlyDistributeDevInflation(ctx types.Context) types.Error

MonthlyDistributeDevInflation provides a mock function with given fields: ctx

func (*DeveloperKeeper) MoveIDA

MoveIDA provides a mock function with given fields: ctx, app, from, to, amount

func (*DeveloperKeeper) RegisterDeveloper

func (_m *DeveloperKeeper) RegisterDeveloper(ctx types.Context, username linotypes.AccountKey, website string, description string, appMetaData string) types.Error

RegisterDeveloper provides a mock function with given fields: ctx, username, website, description, appMetaData

func (*DeveloperKeeper) ReportConsumption

func (_m *DeveloperKeeper) ReportConsumption(ctx types.Context, username linotypes.AccountKey, consumption linotypes.MiniDollar) types.Error

ReportConsumption provides a mock function with given fields: ctx, username, consumption

func (*DeveloperKeeper) UpdateAffiliated

func (_m *DeveloperKeeper) UpdateAffiliated(ctx types.Context, appname linotypes.AccountKey, username linotypes.AccountKey, activate bool) types.Error

UpdateAffiliated provides a mock function with given fields: ctx, appname, username, activate

func (*DeveloperKeeper) UpdateDeveloper

func (_m *DeveloperKeeper) UpdateDeveloper(ctx types.Context, username linotypes.AccountKey, website string, description string, appMetadata string) types.Error

UpdateDeveloper provides a mock function with given fields: ctx, username, website, description, appMetadata

func (*DeveloperKeeper) UpdateIDAAuth

func (_m *DeveloperKeeper) UpdateIDAAuth(ctx types.Context, app linotypes.AccountKey, username linotypes.AccountKey, active bool) types.Error

UpdateIDAAuth provides a mock function with given fields: ctx, app, username, active

Jump to

Keyboard shortcuts

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