Documentation ¶
Index ¶
- Constants
- func MakeTestCodec() *codec.Codec
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddAccountToProjectAccounts(ctx sdk.Context, projectDid did.Did, accountId types.InternalAccountID, ...)
- func (k Keeper) AddProjectWithdrawalTransaction(ctx sdk.Context, projectDid did.Did, info types.WithdrawalInfo)
- func (k Keeper) CreateNewAccount(ctx sdk.Context, projectDid did.Did, accountId types.InternalAccountID) (auth.Account, sdk.Error)
- func (k Keeper) GetAccountMap(ctx sdk.Context, projectDid did.Did) types.AccountMap
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetProjectDoc(ctx sdk.Context, projectDid did.Did) (types.StoredProjectDoc, sdk.Error)
- func (k Keeper) GetProjectDocIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetProjectWithdrawalTransactions(ctx sdk.Context, projectDid did.Did) ([]types.WithdrawalInfo, sdk.Error)
- func (k Keeper) MustGetProjectDocByKey(ctx sdk.Context, key []byte) types.StoredProjectDoc
- func (k Keeper) ProjectDocExists(ctx sdk.Context, projectDid did.Did) bool
- func (k Keeper) SetAccountMap(ctx sdk.Context, projectDid did.Did, accountMap types.AccountMap)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetProjectDoc(ctx sdk.Context, projectDoc types.StoredProjectDoc)
- func (k Keeper) SetProjectWithdrawalTransactions(ctx sdk.Context, projectDid did.Did, txs []types.WithdrawalInfo)
Constants ¶
View Source
const ( QueryProjectDoc = "queryProjectDoc" QueryProjectAccounts = "queryProjectAccounts" QueryProjectTx = "queryProjectTx" QueryParams = "queryParams" )
Variables ¶
This section is empty.
Functions ¶
func MakeTestCodec ¶
func NewQuerier ¶
Types ¶
type Keeper ¶
type Keeper struct { AccountKeeper auth.AccountKeeper DidKeeper did.Keeper // contains filtered or unexported fields }
func CreateTestInput ¶
func (Keeper) AddAccountToProjectAccounts ¶
func (Keeper) AddProjectWithdrawalTransaction ¶
func (Keeper) CreateNewAccount ¶
func (Keeper) GetAccountMap ¶
func (Keeper) GetProjectDoc ¶
func (Keeper) GetProjectDocIterator ¶
func (Keeper) GetProjectWithdrawalTransactions ¶
func (Keeper) MustGetProjectDocByKey ¶
func (Keeper) ProjectDocExists ¶
func (Keeper) SetAccountMap ¶
func (Keeper) SetProjectDoc ¶
func (k Keeper) SetProjectDoc(ctx sdk.Context, projectDoc types.StoredProjectDoc)
func (Keeper) SetProjectWithdrawalTransactions ¶
Click to show internal directories.
Click to hide internal directories.