fiatFactory

package
v0.2.2-0...-13ba25a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName               = types.ModuleName
	QuerierRoute             = types.QuerierRoute
	DefaultCodeSpace         = types.DefaultCodeSpace
	CodeInvalidAmount        = types.CodeInvalidAmount
	CodeInvalidString        = types.CodeInvalidString
	CodeInvalidInputsOutputs = types.CodeInvalidInputsOutputs
	CodeInvalidPegHash       = types.CodeInvalidPegHash
)

Variables

View Source
var (
	RegisterCodec = types.RegisterCodec
	ModuleCdc     = types.ModuleCdc

	DefaultGenesisState = types.DefaultGenesisState
	ValidateGenesis     = types.ValidateGenesis
	PegHashKey          = types.PegHashKey
	FiatPegHashStoreKey = types.FiatPegHashStoreKey

	EventTypeFiatFactoryAssignFiat  = types.EventTypeFiatFactoryAssignFiat
	EventTypeFiatFactoryRedeemFiat  = types.EventTypeFiatFactoryRedeemFiat
	EventTypeFiatFactorySendFiat    = types.EventTypeFiatFactorySendFiat
	EventTypeFiatFactoryExecuteFiat = types.EventTypeFiatFactoryExecuteFiat

	ErrInvalidAmount  = types.ErrInvalidAmount
	ErrInvalidString  = types.ErrInvalidString
	ErrNoInputs       = types.ErrNoInputs
	ErrInvalidPegHash = types.ErrInvalidPegHash

	BuildIssueFiatMsg   = types.BuildIssueFiatMsg
	BuildSendFiatMsg    = types.BuildSendFiatMsg
	BuildExecuteFiatMsg = types.BuildExecuteFiatMsg
	BuildRedeemFiatMsg  = types.BuildRedeemFiatMsg
)

Functions

func ExportGenesis

func ExportGenesis()

func InitGenesis

func InitGenesis()

func NewHandler

func NewHandler(keeper Keeper) cTypes.Handler

Types

type AppModule

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

func NewModule

func NewModule(keeper Keeper, accountKeeper fiatFactoryTypes.AccountKeeper) AppModule

func (AppModule) BeginBlock

func (AppModule) ExportGenesis

func (AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage

func (AppModule) InitGenesis

func (AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abciTypes.ValidatorUpdate

func (AppModule) Name

func (AppModule) Name() string

func (AppModule) NewHandler

func (am AppModule) NewHandler() cTypes.Handler

func (AppModule) NewQuerierHandler

func (AppModule) NewQuerierHandler() cTypes.Querier

func (AppModule) QuerierRoute

func (AppModule) QuerierRoute() string

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(ir cTypes.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, router *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)

func (AppModuleBasic) ValidateGenesis

func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

type MsgFactoryExecuteFiats

type MsgFactoryExecuteFiats = types.MsgFactoryExecuteFiats

type MsgFactoryIssueFiats

type MsgFactoryIssueFiats = types.MsgFactoryIssueFiats

type MsgFactoryRedeemFiats

type MsgFactoryRedeemFiats = types.MsgFactoryRedeemFiats

type MsgFactorySendFiats

type MsgFactorySendFiats = types.MsgFactorySendFiats

Directories

Path Synopsis
client
cli
internal

Jump to

Keyboard shortcuts

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