project

package
v1.2.1-draft Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName        = types.ModuleName
	DefaultParamspace = types.DefaultParamspace
	QuerierRoute      = types.QuerierRoute
	RouterKey         = types.RouterKey
	StoreKey          = types.StoreKey

	DefaultCodespace = types.DefaultCodespace
	PaidoutStatus    = types.PaidoutStatus
	FundedStatus     = types.FundedStatus

	TypeMsgCreateProject = types.TypeMsgCreateProject

	MsgCreateProjectFee            = types.MsgCreateProjectFee
	MsgCreateProjectTransactionFee = types.MsgCreateProjectTransactionFee
)

Variables

View Source
var (
	// function aliases
	NewKeeper      = keeper.NewKeeper
	NewQuerier     = keeper.NewQuerier
	ParamKeyTable  = types.ParamKeyTable
	NewParams      = types.NewParams
	DefaultParams  = types.DefaultParams
	ValidateParams = types.ValidateParams
	RegisterCodec  = types.RegisterCodec

	NewProjectDoc = types.NewProjectDoc

	NewGenesisState     = types.NewGenesisState
	DefaultGenesisState = types.DefaultGenesisState
	ValidateGenesis     = types.ValidateGenesis

	// variable aliases
	ModuleCdc = types.ModuleCdc
)

Functions

func GetPubKeyGetter

func GetPubKeyGetter(keeper Keeper, didKeeper did.Keeper) ixo.PubKeyGetter

func InitGenesis

func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState)

func NewHandler

func NewHandler(k Keeper, fk payments.Keeper, bk bank.Keeper) sdk.Handler

func NewProjectCreationAnteHandler

func NewProjectCreationAnteHandler(ak auth.AccountKeeper, sk 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 NewAppModule(keeper Keeper, paymentsKeeper payments.Keeper,
	bankKeeper bank.Keeper) AppModule

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)

func (AppModule) EndBlock

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) Name

func (AppModule) Name() string

func (AppModule) NewHandler

func (am AppModule) NewHandler() sdk.Handler

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() sdk.Querier

func (AppModule) QuerierRoute

func (AppModule) QuerierRoute() string

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)

func (AppModule) Route

func (AppModule) Route() string

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) GetTxCmd

func (AppModuleBasic) GetTxCmd(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 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"
	ValidatingNodeSetAccountFeesId InternalAccountID = "ValidatingNodeSetFees"
)

type Keeper

type Keeper = keeper.Keeper

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 StoredProjectDoc

type StoredProjectDoc = types.StoredProjectDoc

type WithdrawalInfo

type WithdrawalInfo = types.WithdrawalInfo

Directories

Path Synopsis
client
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL