Documentation ¶
Index ¶
- Constants
- func NewMsgServerImpl(k Keeper, bk bankkeeper.Keeper, pk paymentskeeper.Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) AddAccountToProjectAccounts(ctx sdk.Context, projectDid didexported.Did, accountId types.InternalAccountID, ...)
- func (k Keeper) AddProjectWithdrawalTransaction(ctx sdk.Context, projectDid didexported.Did, info types.WithdrawalInfoDoc)
- func (k Keeper) ClaimExists(ctx sdk.Context, projectDid didexported.Did, claimId string) bool
- func (k Keeper) CreateNewAccount(ctx sdk.Context, projectDid didexported.Did, accountId types.InternalAccountID) (authtypes.AccountI, error)
- func (k Keeper) GetAccountMap(ctx sdk.Context, projectDid didexported.Did) types.AccountMap
- func (k Keeper) GetClaim(ctx sdk.Context, projectDid didexported.Did, claimId string) (types.Claim, error)
- func (k Keeper) GetClaimIterator(ctx sdk.Context, projectDid didexported.Did) sdk.Iterator
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetProjectDoc(ctx sdk.Context, projectDid didexported.Did) (types.ProjectDoc, error)
- func (k Keeper) GetProjectDocIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetProjectWithdrawalTransactions(ctx sdk.Context, projectDid didexported.Did) (types.WithdrawalInfoDocs, error)
- func (k Keeper) MustGetClaimByKey(ctx sdk.Context, key []byte) types.Claim
- func (k Keeper) MustGetProjectDocByKey(ctx sdk.Context, key []byte) types.ProjectDoc
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) ProjectAccounts(c context.Context, req *types.QueryProjectAccountsRequest) (*types.QueryProjectAccountsResponse, error)
- func (k Keeper) ProjectDoc(c context.Context, req *types.QueryProjectDocRequest) (*types.QueryProjectDocResponse, error)
- func (k Keeper) ProjectDocExists(ctx sdk.Context, projectDid didexported.Did) bool
- func (k Keeper) ProjectTx(c context.Context, req *types.QueryProjectTxRequest) (*types.QueryProjectTxResponse, error)
- func (k Keeper) SetAccountMap(ctx sdk.Context, projectDid didexported.Did, accountMap types.AccountMap)
- func (k Keeper) SetClaim(ctx sdk.Context, projectDid didexported.Did, claim types.Claim)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetProjectDoc(ctx sdk.Context, projectDoc types.ProjectDoc)
- func (k Keeper) SetProjectWithdrawalTransactions(ctx sdk.Context, projectDid didexported.Did, txs types.WithdrawalInfoDocs)
- func (k Keeper) ValidateProjectFeesMap(ctx sdk.Context, projectFeesMap types.ProjectFeesMap) error
Constants ¶
View Source
const ( IxoAccountFeesId types.InternalAccountID = "IxoFees" IxoAccountPayFeesId types.InternalAccountID = "IxoPayFees" InitiatingNodeAccountPayFeesId types.InternalAccountID = "InitiatingNodePayFees" )
View Source
const ( QueryProjectDoc = "queryProjectDoc" QueryProjectAccounts = "queryProjectAccounts" QueryProjectTx = "queryProjectTx" QueryParams = "queryParams" )
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
func NewMsgServerImpl(k Keeper, bk bankkeeper.Keeper, pk paymentskeeper.Keeper) types.MsgServer
NewMsgServerImpl returns an implementation of the project MsgServer interface for the provided Keeper.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
Types ¶
type Keeper ¶
type Keeper struct { AccountKeeper authkeeper.AccountKeeper DidKeeper didkeeper.Keeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryMarshaler, key sdk.StoreKey, paramSpace paramstypes.Subspace, accountKeeper authkeeper.AccountKeeper, didKeeper didkeeper.Keeper, paymentsKeeper paymentskeeper.Keeper) Keeper
func (Keeper) AddAccountToProjectAccounts ¶
func (k Keeper) AddAccountToProjectAccounts(ctx sdk.Context, projectDid didexported.Did, accountId types.InternalAccountID, account authtypes.AccountI)
func (Keeper) AddProjectWithdrawalTransaction ¶
func (k Keeper) AddProjectWithdrawalTransaction(ctx sdk.Context, projectDid didexported.Did, info types.WithdrawalInfoDoc)
func (Keeper) ClaimExists ¶
func (Keeper) CreateNewAccount ¶
func (k Keeper) CreateNewAccount(ctx sdk.Context, projectDid didexported.Did, accountId types.InternalAccountID) (authtypes.AccountI, error)
func (Keeper) GetAccountMap ¶
func (k Keeper) GetAccountMap(ctx sdk.Context, projectDid didexported.Did) types.AccountMap
func (Keeper) GetClaimIterator ¶
func (Keeper) GetProjectDoc ¶
func (k Keeper) GetProjectDoc(ctx sdk.Context, projectDid didexported.Did) (types.ProjectDoc, error)
func (Keeper) GetProjectDocIterator ¶
func (Keeper) GetProjectWithdrawalTransactions ¶
func (k Keeper) GetProjectWithdrawalTransactions(ctx sdk.Context, projectDid didexported.Did) (types.WithdrawalInfoDocs, error)
func (Keeper) MustGetClaimByKey ¶
func (Keeper) MustGetProjectDocByKey ¶
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) ProjectAccounts ¶
func (k Keeper) ProjectAccounts(c context.Context, req *types.QueryProjectAccountsRequest) (*types.QueryProjectAccountsResponse, error)
func (Keeper) ProjectDoc ¶
func (k Keeper) ProjectDoc(c context.Context, req *types.QueryProjectDocRequest) (*types.QueryProjectDocResponse, error)
func (Keeper) ProjectDocExists ¶
func (Keeper) ProjectTx ¶
func (k Keeper) ProjectTx(c context.Context, req *types.QueryProjectTxRequest) (*types.QueryProjectTxResponse, error)
func (Keeper) SetAccountMap ¶
func (k Keeper) SetAccountMap(ctx sdk.Context, projectDid didexported.Did, accountMap types.AccountMap)
func (Keeper) SetProjectDoc ¶
func (k Keeper) SetProjectDoc(ctx sdk.Context, projectDoc types.ProjectDoc)
func (Keeper) SetProjectWithdrawalTransactions ¶
func (k Keeper) SetProjectWithdrawalTransactions(ctx sdk.Context, projectDid didexported.Did, txs types.WithdrawalInfoDocs)
func (Keeper) ValidateProjectFeesMap ¶
Click to show internal directories.
Click to hide internal directories.