Documentation ¶
Index ¶
- Constants
- Variables
- func BeginBlocker(ctx sdk.Context, k Keeper)
- func EndBlocker(ctx sdk.Context, k Keeper)
- func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState) []abci.ValidatorUpdate
- func NewHandler(k Keeper) sdk.Handler
- func NewTreasuryProposalHandler(k Keeper) govtypes.Handler
- type AddBuyBackLiquidityProposal
- type AppModule
- func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock)
- func (am AppModule) EndBlock(ctx 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 (am 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 BurnDistributionProfitsProposal
- type GenesisState
- type Keeper
- type MsgAddOperator
- type MsgCancelDisbursement
- type MsgCreateBuyOrder
- type MsgCreateSellOrder
- type MsgDisburse
- type MsgDisburseFromEscrow
- type MsgDisburseToEscrow
- type MsgRemoveOperator
- type MsgRevertFromEscrow
- type MsgSwap
- type Params
- type RemoveBuyBackLiquidityProposal
- type TransferFromDistributionProfitsToBuyBackLiquidityProposal
- type TransferFromSwapEscrowToBuyBackProposal
- type TransferFromTreasuryToSwapEscrowProposal
Constants ¶
View Source
const ( ModuleName = types.ModuleName RouterKey = types.RouterKey StoreKey = types.StoreKey DefaultParamspace = types.DefaultParamspace QuerierRoute = types.QuerierRoute BuyBackLiquidityFundModuleName = types.BuyBackLiquidityFundModuleName BuyBackFundModuleName = types.BuyBackFundModuleName DistributionProfitsModuleName = types.DistributionProfitsModuleName TreasuryEscrowModuleName = types.TreasuryEscrowModuleName SwapEscrowModuleName = types.SwapEscrowModuleName )
Variables ¶
View Source
var ( // functions aliases NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier RegisterCodec = types.RegisterCodec NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis NewMsgAddOperator = types.NewMsgAddOperator NewMsgRemoveOperator = types.NewMsgRemoveOperator NewMsgDisburse = types.NewMsgDisburse NewMsgDisburseToEscrow = types.NewMsgDisburseToEscrow NewMsgDisburseFromEscrow = types.NewMsgDisburseFromEscrow NewMsgRevertFromEscrow = types.NewMsgRevertFromEscrow NewMsgCancelDisbursement = types.NewMsgCancelDisbursement NewMsgCreateSellOrder = types.NewMsgCreateSellOrder NewMsgCreateBuyOrder = types.NewMsgCreateBuyOrder NewMsgSwap = types.NewMsgSwap NewAddBuyBackLiquidityProposal = types.NewAddBuyBackLiquidityProposal NewRemoveBuyBackLiquidityProposal = types.NewRemoveBuyBackLiquidityProposal NewBurnDistributionProfitsProposal = types.NewBurnDistributionProfitsProposal NewTransferFromDistributionProfitsToBuyBackLiquidityProposal = types.NewTransferFromDistributionProfitsToBuyBackLiquidityProposal NewTransferFromTreasuryToSwapEscrowProposal = types.NewTransferFromTreasuryToSwapEscrowProposal NewTransferFromSwapEscrowToBuyBackProposal = types.NewTransferFromSwapEscrowToBuyBackProposal // variable aliases ModuleCdc = types.ModuleCdc )
Functions ¶
func BeginBlocker ¶
func EndBlocker ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState) []abci.ValidatorUpdate
func NewHandler ¶
Types ¶
type AddBuyBackLiquidityProposal ¶
type AddBuyBackLiquidityProposal = types.AddBuyBackLiquidityProposal
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx 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 BurnDistributionProfitsProposal ¶
type BurnDistributionProfitsProposal = types.BurnDistributionProfitsProposal
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) (data GenesisState)
type MsgAddOperator ¶
type MsgAddOperator = types.MsgAddOperator
type MsgCancelDisbursement ¶
type MsgCancelDisbursement = types.MsgCancelDisbursement
type MsgCreateBuyOrder ¶
type MsgCreateBuyOrder = types.MsgCreateBuyOrder
type MsgCreateSellOrder ¶
type MsgCreateSellOrder = types.MsgCreateSellOrder
type MsgDisburse ¶
type MsgDisburse = types.MsgDisburse
type MsgDisburseFromEscrow ¶
type MsgDisburseFromEscrow = types.MsgDisburseFromEscrow
type MsgDisburseToEscrow ¶
type MsgDisburseToEscrow = types.MsgDisburseToEscrow
type MsgRemoveOperator ¶
type MsgRemoveOperator = types.MsgRemoveOperator
type MsgRevertFromEscrow ¶
type MsgRevertFromEscrow = types.MsgRevertFromEscrow
type RemoveBuyBackLiquidityProposal ¶
type RemoveBuyBackLiquidityProposal = types.RemoveBuyBackLiquidityProposal
type TransferFromDistributionProfitsToBuyBackLiquidityProposal ¶
type TransferFromDistributionProfitsToBuyBackLiquidityProposal = types.TransferFromDistributionProfitsToBuyBackLiquidityProposal
type TransferFromSwapEscrowToBuyBackProposal ¶
type TransferFromSwapEscrowToBuyBackProposal = types.TransferFromSwapEscrowToBuyBackProposal
type TransferFromTreasuryToSwapEscrowProposal ¶
type TransferFromTreasuryToSwapEscrowProposal = types.TransferFromTreasuryToSwapEscrowProposal
Click to show internal directories.
Click to hide internal directories.