oracle

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)

func NewHandler

func NewHandler(k keeper.Keeper) sdk.Handler

func NewProposalHandler

func NewProposalHandler(k keeper.Keeper) govtypes.Handler

func ValidateAssetChannelParams

func ValidateAssetChannelParams(
	ctx sdk.Context,
	keeper keeper.Keeper,
	order ibcchanneltypes.Order,
	portID, channelID, channelVersion string,
) error

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

func NewAppModule

func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule

func (AppModule) BeginBlock

func (a AppModule) BeginBlock(_ sdk.Context, _ abcitypes.RequestBeginBlock)

func (AppModule) ConsensusVersion

func (a AppModule) ConsensusVersion() uint64

func (AppModule) EndBlock

func (AppModule) ExportGenesis

func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage

func (AppModule) GenerateGenesisState

func (a AppModule) GenerateGenesisState(_ *module.SimulationState)

func (AppModule) InitGenesis

func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, message json.RawMessage) []abcitypes.ValidatorUpdate

func (AppModule) LegacyQuerierHandler

func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier

func (AppModule) NegotiateAppVersion added in v0.1.0

func (a AppModule) NegotiateAppVersion(ctx sdk.Context, order ibcchanneltypes.Order, connectionID string, portID string, counterparty ibcchanneltypes.Counterparty, proposedVersion string) (version string, err error)

func (AppModule) OnAcknowledgementPacket

func (a AppModule) OnAcknowledgementPacket(
	ctx sdk.Context,
	packet ibcchanneltypes.Packet,
	acknowledgement []byte,
	relayer sdk.AccAddress) error

func (AppModule) OnChanCloseConfirm

func (a AppModule) OnChanCloseConfirm(
	_ sdk.Context,
	_, _ string,
) error

func (AppModule) OnChanCloseInit

func (a AppModule) OnChanCloseInit(
	_ sdk.Context,
	_, _ string,
) error

func (AppModule) OnChanOpenAck

func (a AppModule) OnChanOpenAck(
	ctx sdk.Context,
	_, _, counterpartyVersion string,
) error

func (AppModule) OnChanOpenConfirm

func (a AppModule) OnChanOpenConfirm(
	_ sdk.Context,
	_, _ string,
) error

func (AppModule) OnChanOpenInit

func (a AppModule) OnChanOpenInit(
	ctx sdk.Context,
	order ibcchanneltypes.Order,
	_ []string,
	portID, channelID string,
	capability *capabilitytypes.Capability,
	_ ibcchanneltypes.Counterparty,
	channelVersion string,
) error

func (AppModule) OnChanOpenTry

func (a AppModule) OnChanOpenTry(
	ctx sdk.Context,
	order ibcchanneltypes.Order,
	_ []string,
	portID, channelID string,
	capability *capabilitytypes.Capability,
	_ ibcchanneltypes.Counterparty,
	channelVersion, counterpartyVersion string,
) error

func (AppModule) OnRecvPacket

func (AppModule) OnTimeoutPacket

func (a AppModule) OnTimeoutPacket(
	ctx sdk.Context,
	packet ibcchanneltypes.Packet,
	relayer sdk.AccAddress) error

func (AppModule) ProposalContents

func (AppModule) QuerierRoute

func (a AppModule) QuerierRoute() string

func (AppModule) RandomizedParams

func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange

func (AppModule) RegisterInvariants

func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)

func (AppModule) RegisterServices

func (a AppModule) RegisterServices(configurator module.Configurator)

func (AppModule) RegisterStoreDecoder

func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)

func (AppModule) Route

func (a AppModule) Route() sdk.Route

func (AppModule) WeightedOperations

func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation

type AppModuleBasic

type AppModuleBasic struct {
	// contains filtered or unexported fields
}

func NewAppModuleBasic

func NewAppModuleBasic(cdc codec.BinaryCodec) AppModuleBasic

func (AppModuleBasic) DefaultGenesis

func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

func (AppModuleBasic) GetQueryCmd

func (a AppModuleBasic) GetQueryCmd() *cobra.Command

func (AppModuleBasic) GetTxCmd

func (a AppModuleBasic) GetTxCmd() *cobra.Command

func (AppModuleBasic) Name

func (a AppModuleBasic) Name() string

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)

func (AppModuleBasic) RegisterInterfaces

func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)

func (AppModuleBasic) RegisterLegacyAminoCodec

func (a AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)

func (AppModuleBasic) RegisterRESTRoutes

func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)

func (AppModuleBasic) ValidateGenesis

func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error

Directories

Path Synopsis
client
cli
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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