Documentation ¶
Index ¶
- type AccountKeeper
- func (_m *AccountKeeper) AddFrozenMoney(ctx types.Context, username linotypes.AccountKey, amount linotypes.Coin, ...) types.Error
- func (_m *AccountKeeper) CheckSigningPubKeyOwner(ctx types.Context, me linotypes.AccountKey, signKey crypto.PubKey) (linotypes.AccountKey, types.Error)
- func (_m *AccountKeeper) CheckSigningPubKeyOwnerByAddress(ctx types.Context, addr types.AccAddress, signkey crypto.PubKey, isPaid bool) types.Error
- func (_m *AccountKeeper) DoesAccountExist(ctx types.Context, username linotypes.AccountKey) bool
- func (_m *AccountKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *AccountKeeper) GenesisAccount(ctx types.Context, username linotypes.AccountKey, signingKey crypto.PubKey, ...) types.Error
- func (_m *AccountKeeper) GetAddress(ctx types.Context, username linotypes.AccountKey) (types.AccAddress, types.Error)
- func (_m *AccountKeeper) GetBank(ctx types.Context, username linotypes.AccountKey) (*model.AccountBank, types.Error)
- func (_m *AccountKeeper) GetBankByAddress(ctx types.Context, addr types.AccAddress) (*model.AccountBank, types.Error)
- func (_m *AccountKeeper) GetFrozenMoneyList(ctx types.Context, addr types.Address) ([]model.FrozenMoney, types.Error)
- func (_m *AccountKeeper) GetInfo(ctx types.Context, username linotypes.AccountKey) (*model.AccountInfo, types.Error)
- func (_m *AccountKeeper) GetMeta(ctx types.Context, username linotypes.AccountKey) (*model.AccountMeta, types.Error)
- func (_m *AccountKeeper) GetPool(ctx types.Context, poolName linotypes.PoolName) (linotypes.Coin, types.Error)
- func (_m *AccountKeeper) GetSavingFromUsername(ctx types.Context, username linotypes.AccountKey) (linotypes.Coin, types.Error)
- func (_m *AccountKeeper) GetSequence(ctx types.Context, address types.Address) (uint64, types.Error)
- func (_m *AccountKeeper) GetSigningKey(ctx types.Context, username linotypes.AccountKey) (crypto.PubKey, types.Error)
- func (_m *AccountKeeper) GetSupply(ctx types.Context) model.Supply
- func (_m *AccountKeeper) GetTransactionKey(ctx types.Context, username linotypes.AccountKey) (crypto.PubKey, types.Error)
- func (_m *AccountKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *AccountKeeper) IncreaseSequenceByOne(ctx types.Context, address types.Address) types.Error
- func (_m *AccountKeeper) InitGenesis(ctx types.Context, total linotypes.Coin, pools []model.Pool)
- func (_m *AccountKeeper) Mint(ctx types.Context) types.Error
- func (_m *AccountKeeper) MoveBetweenPools(ctx types.Context, from linotypes.PoolName, to linotypes.PoolName, ...) types.Error
- func (_m *AccountKeeper) MoveCoin(ctx types.Context, sender linotypes.AccOrAddr, receiver linotypes.AccOrAddr, ...) types.Error
- func (_m *AccountKeeper) MoveFromPool(ctx types.Context, poolName linotypes.PoolName, dest linotypes.AccOrAddr, ...) types.Error
- func (_m *AccountKeeper) MoveToPool(ctx types.Context, poolName linotypes.PoolName, from linotypes.AccOrAddr, ...) types.Error
- func (_m *AccountKeeper) RecoverAccount(ctx types.Context, username linotypes.AccountKey, ...) types.Error
- func (_m *AccountKeeper) RegisterAccount(ctx types.Context, referrer linotypes.AccOrAddr, registerFee linotypes.Coin, ...) types.Error
- func (_m *AccountKeeper) UpdateJSONMeta(ctx types.Context, username linotypes.AccountKey, JSONMeta string) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶
AccountKeeper is an autogenerated mock type for the AccountKeeper type
func (*AccountKeeper) AddFrozenMoney ¶
func (_m *AccountKeeper) AddFrozenMoney(ctx types.Context, username linotypes.AccountKey, amount linotypes.Coin, start int64, interval int64, times int64) types.Error
AddFrozenMoney provides a mock function with given fields: ctx, username, amount, start, interval, times
func (*AccountKeeper) CheckSigningPubKeyOwner ¶
func (_m *AccountKeeper) CheckSigningPubKeyOwner(ctx types.Context, me linotypes.AccountKey, signKey crypto.PubKey) (linotypes.AccountKey, types.Error)
CheckSigningPubKeyOwner provides a mock function with given fields: ctx, me, signKey
func (*AccountKeeper) CheckSigningPubKeyOwnerByAddress ¶ added in v0.4.0
func (_m *AccountKeeper) CheckSigningPubKeyOwnerByAddress(ctx types.Context, addr types.AccAddress, signkey crypto.PubKey, isPaid bool) types.Error
CheckSigningPubKeyOwnerByAddress provides a mock function with given fields: ctx, addr, signkey, isPaid
func (*AccountKeeper) DoesAccountExist ¶
func (_m *AccountKeeper) DoesAccountExist(ctx types.Context, username linotypes.AccountKey) bool
DoesAccountExist provides a mock function with given fields: ctx, username
func (*AccountKeeper) ExportToFile ¶ added in v0.4.0
ExportToFile provides a mock function with given fields: ctx, cdc, filepath
func (*AccountKeeper) GenesisAccount ¶ added in v0.6.0
func (_m *AccountKeeper) GenesisAccount(ctx types.Context, username linotypes.AccountKey, signingKey crypto.PubKey, transactionKey crypto.PubKey) types.Error
GenesisAccount provides a mock function with given fields: ctx, username, signingKey, transactionKey
func (*AccountKeeper) GetAddress ¶
func (_m *AccountKeeper) GetAddress(ctx types.Context, username linotypes.AccountKey) (types.AccAddress, types.Error)
GetAddress provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetBank ¶
func (_m *AccountKeeper) GetBank(ctx types.Context, username linotypes.AccountKey) (*model.AccountBank, types.Error)
GetBank provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetBankByAddress ¶ added in v0.4.0
func (_m *AccountKeeper) GetBankByAddress(ctx types.Context, addr types.AccAddress) (*model.AccountBank, types.Error)
GetBankByAddress provides a mock function with given fields: ctx, addr
func (*AccountKeeper) GetFrozenMoneyList ¶
func (_m *AccountKeeper) GetFrozenMoneyList(ctx types.Context, addr types.Address) ([]model.FrozenMoney, types.Error)
GetFrozenMoneyList provides a mock function with given fields: ctx, addr
func (*AccountKeeper) GetInfo ¶
func (_m *AccountKeeper) GetInfo(ctx types.Context, username linotypes.AccountKey) (*model.AccountInfo, types.Error)
GetInfo provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetMeta ¶
func (_m *AccountKeeper) GetMeta(ctx types.Context, username linotypes.AccountKey) (*model.AccountMeta, types.Error)
GetMeta provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetPool ¶ added in v0.6.0
func (_m *AccountKeeper) GetPool(ctx types.Context, poolName linotypes.PoolName) (linotypes.Coin, types.Error)
GetPool provides a mock function with given fields: ctx, poolName
func (*AccountKeeper) GetSavingFromUsername ¶
func (_m *AccountKeeper) GetSavingFromUsername(ctx types.Context, username linotypes.AccountKey) (linotypes.Coin, types.Error)
GetSavingFromUsername provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetSequence ¶
func (_m *AccountKeeper) GetSequence(ctx types.Context, address types.Address) (uint64, types.Error)
GetSequence provides a mock function with given fields: ctx, address
func (*AccountKeeper) GetSigningKey ¶
func (_m *AccountKeeper) GetSigningKey(ctx types.Context, username linotypes.AccountKey) (crypto.PubKey, types.Error)
GetSigningKey provides a mock function with given fields: ctx, username
func (*AccountKeeper) GetSupply ¶ added in v0.6.0
func (_m *AccountKeeper) GetSupply(ctx types.Context) model.Supply
GetSupply provides a mock function with given fields: ctx
func (*AccountKeeper) GetTransactionKey ¶
func (_m *AccountKeeper) GetTransactionKey(ctx types.Context, username linotypes.AccountKey) (crypto.PubKey, types.Error)
GetTransactionKey provides a mock function with given fields: ctx, username
func (*AccountKeeper) ImportFromFile ¶
ImportFromFile provides a mock function with given fields: ctx, cdc, filepath
func (*AccountKeeper) IncreaseSequenceByOne ¶
func (_m *AccountKeeper) IncreaseSequenceByOne(ctx types.Context, address types.Address) types.Error
IncreaseSequenceByOne provides a mock function with given fields: ctx, address
func (*AccountKeeper) InitGenesis ¶ added in v0.6.0
InitGenesis provides a mock function with given fields: ctx, total, pools
func (*AccountKeeper) Mint ¶ added in v0.6.0
func (_m *AccountKeeper) Mint(ctx types.Context) types.Error
Mint provides a mock function with given fields: ctx
func (*AccountKeeper) MoveBetweenPools ¶ added in v0.6.0
func (_m *AccountKeeper) MoveBetweenPools(ctx types.Context, from linotypes.PoolName, to linotypes.PoolName, amount linotypes.Coin) types.Error
MoveBetweenPools provides a mock function with given fields: ctx, from, to, amount
func (*AccountKeeper) MoveCoin ¶ added in v0.6.0
func (_m *AccountKeeper) MoveCoin(ctx types.Context, sender linotypes.AccOrAddr, receiver linotypes.AccOrAddr, coin linotypes.Coin) types.Error
MoveCoin provides a mock function with given fields: ctx, sender, receiver, coin
func (*AccountKeeper) MoveFromPool ¶ added in v0.6.0
func (_m *AccountKeeper) MoveFromPool(ctx types.Context, poolName linotypes.PoolName, dest linotypes.AccOrAddr, amount linotypes.Coin) types.Error
MoveFromPool provides a mock function with given fields: ctx, poolName, dest, amount
func (*AccountKeeper) MoveToPool ¶ added in v0.6.0
func (_m *AccountKeeper) MoveToPool(ctx types.Context, poolName linotypes.PoolName, from linotypes.AccOrAddr, amount linotypes.Coin) types.Error
MoveToPool provides a mock function with given fields: ctx, poolName, from, amount
func (*AccountKeeper) RecoverAccount ¶ added in v0.4.0
func (_m *AccountKeeper) RecoverAccount(ctx types.Context, username linotypes.AccountKey, newTransactionPubKey crypto.PubKey, newSigningKey crypto.PubKey) types.Error
RecoverAccount provides a mock function with given fields: ctx, username, newTransactionPubKey, newSigningKey
func (*AccountKeeper) RegisterAccount ¶
func (_m *AccountKeeper) RegisterAccount(ctx types.Context, referrer linotypes.AccOrAddr, registerFee linotypes.Coin, username linotypes.AccountKey, signingKey crypto.PubKey, transactionKey crypto.PubKey) types.Error
RegisterAccount provides a mock function with given fields: ctx, referrer, registerFee, username, signingKey, transactionKey
func (*AccountKeeper) UpdateJSONMeta ¶
func (_m *AccountKeeper) UpdateJSONMeta(ctx types.Context, username linotypes.AccountKey, JSONMeta string) types.Error
UpdateJSONMeta provides a mock function with given fields: ctx, username, JSONMeta