Documentation ¶
Index ¶
- type DeveloperKeeper
- func (_m *DeveloperKeeper) AppTransferIDA(ctx types.Context, appname linotypes.AccountKey, signer linotypes.AccountKey, ...) types.Error
- func (_m *DeveloperKeeper) BurnIDA(ctx types.Context, app linotypes.AccountKey, user linotypes.AccountKey, ...) (linotypes.Coin, types.Error)
- func (_m *DeveloperKeeper) DoesDeveloperExist(ctx types.Context, username linotypes.AccountKey) bool
- func (_m *DeveloperKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *DeveloperKeeper) GetAffiliated(ctx types.Context, app linotypes.AccountKey) []linotypes.AccountKey
- func (_m *DeveloperKeeper) GetAffiliatingApp(ctx types.Context, username linotypes.AccountKey) (linotypes.AccountKey, types.Error)
- func (_m *DeveloperKeeper) GetDeveloper(ctx types.Context, username linotypes.AccountKey) (model.Developer, types.Error)
- func (_m *DeveloperKeeper) GetIDA(ctx types.Context, app linotypes.AccountKey) (model.AppIDA, types.Error)
- func (_m *DeveloperKeeper) GetIDABank(ctx types.Context, app linotypes.AccountKey, user linotypes.AccountKey) (model.IDABank, types.Error)
- func (_m *DeveloperKeeper) GetIDAStats(ctx types.Context, app linotypes.AccountKey) (model.AppIDAStats, types.Error)
- func (_m *DeveloperKeeper) GetLiveDevelopers(ctx types.Context) []model.Developer
- func (_m *DeveloperKeeper) GetMiniIDAPrice(ctx types.Context, app linotypes.AccountKey) (linotypes.MiniDollar, types.Error)
- func (_m *DeveloperKeeper) GetReservePool(ctx types.Context) model.ReservePool
- func (_m *DeveloperKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *DeveloperKeeper) InitGenesis(ctx types.Context, reservePoolAmount linotypes.Coin) types.Error
- func (_m *DeveloperKeeper) IssueIDA(ctx types.Context, appname linotypes.AccountKey, idaName string, ...) types.Error
- func (_m *DeveloperKeeper) MintIDA(ctx types.Context, appname linotypes.AccountKey, amount linotypes.Coin) types.Error
- func (_m *DeveloperKeeper) MonthlyDistributeDevInflation(ctx types.Context) types.Error
- func (_m *DeveloperKeeper) MoveIDA(ctx types.Context, app linotypes.AccountKey, from linotypes.AccountKey, ...) types.Error
- func (_m *DeveloperKeeper) RegisterDeveloper(ctx types.Context, username linotypes.AccountKey, website string, ...) types.Error
- func (_m *DeveloperKeeper) ReportConsumption(ctx types.Context, username linotypes.AccountKey, ...) types.Error
- func (_m *DeveloperKeeper) UpdateAffiliated(ctx types.Context, appname linotypes.AccountKey, username linotypes.AccountKey, ...) types.Error
- func (_m *DeveloperKeeper) UpdateDeveloper(ctx types.Context, username linotypes.AccountKey, website string, ...) types.Error
- func (_m *DeveloperKeeper) UpdateIDAAuth(ctx types.Context, app linotypes.AccountKey, username linotypes.AccountKey, ...) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeveloperKeeper ¶
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 ¶
func (_m *DeveloperKeeper) BurnIDA(ctx types.Context, app linotypes.AccountKey, user linotypes.AccountKey, amount linotypes.MiniDollar) (linotypes.Coin, types.Error)
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
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 ¶
func (_m *DeveloperKeeper) GetIDA(ctx types.Context, app linotypes.AccountKey) (model.AppIDA, types.Error)
GetIDA provides a mock function with given fields: ctx, app
func (*DeveloperKeeper) GetIDABank ¶
func (_m *DeveloperKeeper) GetIDABank(ctx types.Context, app linotypes.AccountKey, user linotypes.AccountKey) (model.IDABank, types.Error)
GetIDABank provides a mock function with given fields: ctx, app, user
func (*DeveloperKeeper) GetIDAStats ¶
func (_m *DeveloperKeeper) GetIDAStats(ctx types.Context, app linotypes.AccountKey) (model.AppIDAStats, types.Error)
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) 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 ¶
func (_m *DeveloperKeeper) MoveIDA(ctx types.Context, app linotypes.AccountKey, from linotypes.AccountKey, to linotypes.AccountKey, amount linotypes.MiniDollar) types.Error
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