Documentation
¶
Index ¶
- Constants
- Variables
- func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
- func NewDefaultPubKeyGetter(keeper Keeper) ixo.PubKeyGetter
- func NewHandler(k Keeper, pk payments.Keeper, bk bank.Keeper) sdk.Handler
- func NewModulePubKeyGetter(keeper Keeper, didKeeper did.Keeper) ixo.PubKeyGetter
- func NewProjectCreationAnteHandler(ak auth.AccountKeeper, supplyKeeper supply.Keeper, bk bank.Keeper, ...) sdk.AnteHandler
- type AccountMap
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)
- func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) Name() string
- func (am AppModule) NewHandler() sdk.Handler
- func (am AppModule) NewQuerierHandler() sdk.Querier
- func (AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
- func (AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type Claim
- type DeductFeeDecorator
- type GenesisAccountMap
- type GenesisState
- type InternalAccountID
- type Keeper
- type MsgCreateAgent
- type MsgCreateClaim
- type MsgCreateEvaluation
- type MsgCreateProject
- type MsgUpdateAgent
- type MsgUpdateProjectStatus
- type MsgWithdrawFunds
- type ProjectDoc
- type SetPubKeyDecorator
- type SetUpContextDecorator
- type SigVerificationDecorator
- type WithdrawalInfoDoc
Constants ¶
const ( ModuleName = types.ModuleName DefaultParamspace = types.DefaultParamspace QuerierRoute = types.QuerierRoute RouterKey = types.RouterKey StoreKey = types.StoreKey PaidoutStatus = types.PaidoutStatus FundedStatus = types.FundedStatus TypeMsgCreateProject = types.TypeMsgCreateProject MsgCreateProjectTotalFee = types.MsgCreateProjectTotalFee MsgCreateProjectTransactionFee = types.MsgCreateProjectTransactionFee )
Variables ¶
var ( // function aliases NewKeeper = keeper.NewKeeper RegisterCodec = types.RegisterCodec NewProjectDoc = types.NewProjectDoc NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis // variable aliases ModuleCdc = types.ModuleCdc )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)
func NewDefaultPubKeyGetter ¶ added in v0.14.0
func NewDefaultPubKeyGetter(keeper Keeper) ixo.PubKeyGetter
func NewModulePubKeyGetter ¶ added in v0.14.0
func NewModulePubKeyGetter(keeper Keeper, didKeeper did.Keeper) ixo.PubKeyGetter
func NewProjectCreationAnteHandler ¶
func NewProjectCreationAnteHandler(ak auth.AccountKeeper, supplyKeeper supply.Keeper, bk bank.Keeper, didKeeper did.Keeper, pubKeyGetter ixo.PubKeyGetter) sdk.AnteHandler
Types ¶
type AccountMap ¶
type AccountMap = types.AccountMap
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type DeductFeeDecorator ¶ added in v0.14.0
type DeductFeeDecorator struct {
// contains filtered or unexported fields
}
DeductFeeDecorator deducts fees from the first signer of the tx If the first signer does not have the funds to pay for the fees, return with InsufficientFunds error Call next AnteHandler if fees successfully deducted CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator
func NewDeductFeeDecorator ¶ added in v0.14.0
func NewDeductFeeDecorator(ak keeper.AccountKeeper, sk authtypes.SupplyKeeper, bk bank.Keeper, didKeeper did.Keeper, pkg ixo.PubKeyGetter) DeductFeeDecorator
func (DeductFeeDecorator) AnteHandle ¶ added in v0.14.0
type GenesisAccountMap ¶ added in v0.12.1
type GenesisAccountMap = types.GenesisAccountMap
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
type InternalAccountID ¶
type InternalAccountID = types.InternalAccountID
const ( IxoAccountFeesId InternalAccountID = "IxoFees" IxoAccountPayFeesId InternalAccountID = "IxoPayFees" InitiatingNodeAccountPayFeesId InternalAccountID = "InitiatingNodePayFees" )
type MsgCreateAgent ¶
type MsgCreateAgent = types.MsgCreateAgent
type MsgCreateClaim ¶
type MsgCreateClaim = types.MsgCreateClaim
type MsgCreateEvaluation ¶
type MsgCreateEvaluation = types.MsgCreateEvaluation
type MsgCreateProject ¶
type MsgCreateProject = types.MsgCreateProject
type MsgUpdateAgent ¶
type MsgUpdateAgent = types.MsgUpdateAgent
type MsgUpdateProjectStatus ¶
type MsgUpdateProjectStatus = types.MsgUpdateProjectStatus
type MsgWithdrawFunds ¶
type MsgWithdrawFunds = types.MsgWithdrawFunds
type ProjectDoc ¶ added in v0.12.1
type ProjectDoc = types.ProjectDoc
type SetPubKeyDecorator ¶ added in v0.14.0
type SetPubKeyDecorator struct {
// contains filtered or unexported fields
}
func NewSetPubKeyDecorator ¶ added in v0.14.0
func NewSetPubKeyDecorator(ak keeper.AccountKeeper, pkg ixo.PubKeyGetter) SetPubKeyDecorator
func (SetPubKeyDecorator) AnteHandle ¶ added in v0.14.0
type SetUpContextDecorator ¶ added in v0.14.0
type SetUpContextDecorator struct{}
SetUpContextDecorator sets the GasMeter in the Context and wraps the next AnteHandler with a defer clause to recover from any downstream OutOfGas panics in the AnteHandler chain to return an error with information on gas provided and gas used. CONTRACT: Must be first decorator in the chain CONTRACT: Tx must implement GasTx interface
func NewSetUpContextDecorator ¶ added in v0.14.0
func NewSetUpContextDecorator() SetUpContextDecorator
func (SetUpContextDecorator) AnteHandle ¶ added in v0.14.0
type SigVerificationDecorator ¶ added in v0.14.0
type SigVerificationDecorator struct {
// contains filtered or unexported fields
}
Verify all signatures for a tx and return an error if any are invalid. Note, the SigVerificationDecorator decorator will not get executed on ReCheck.
CONTRACT: Pubkeys are set in context for all signers before this decorator runs CONTRACT: Tx must implement SigVerifiableTx interface
func NewSigVerificationDecorator ¶ added in v0.14.0
func NewSigVerificationDecorator(ak keeper.AccountKeeper, pkg ixo.PubKeyGetter) SigVerificationDecorator
func (SigVerificationDecorator) AnteHandle ¶ added in v0.14.0
type WithdrawalInfoDoc ¶ added in v0.14.0
type WithdrawalInfoDoc = types.WithdrawalInfoDoc