Documentation ¶
Index ¶
- Constants
- Variables
- func GetCrossChainTxKey(crossChainTxSum []byte) []byte
- func GetDenomToCreatorKey(denom string) []byte
- func GetDoneTxKey(fromChainId uint64, crossChainid []byte) []byte
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) CreateCrossChainTx(ctx sdk.Context, fromAddr sdk.AccAddress, toChainId uint64, ...) error
- func (k Keeper) ExistDenom(ctx sdk.Context, denom string) (string, bool)
- func (k Keeper) GetDenomCreator(ctx sdk.Context, denom string) (addr sdk.AccAddress)
- func (k Keeper) GetModuleBalance(ctx sdk.Context, moduleName string) (sdk.Coins, error)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) IfContainToContract(ctx sdk.Context, keystore string, toContractAddr []byte, fromChainId uint64) *types.QueryContainToContractRes
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) MountUnlockKeeperMap(ulKeeperMap map[string]types.UnlockKeeper)
- func (k Keeper) ProcessCrossChainTx(ctx sdk.Context, fromChainId uint64, proofStr string, ...) error
- func (k Keeper) SetDenomCreator(ctx sdk.Context, denom string, creator sdk.AccAddress)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) VerifyToCosmosTx(ctx sdk.Context, proof []byte, header *polytype.Header) (*ccmc.ToMerkleValue, error)
Constants ¶
View Source
const ( // default paramspace for params keeper DefaultParamspace = types.ModuleName )
Variables ¶
View Source
var ( CrossChainTxDetailPrefix = []byte{0x01} CrossChainDoneTxPrefix = []byte{0x02} DenomToCreatorPrefix = []byte{0x03} CrossChainIdKey = []byte("crosschainid") )
Functions ¶
func GetCrossChainTxKey ¶
func GetDenomToCreatorKey ¶
func GetDoneTxKey ¶
func NewQuerier ¶
NewQuerier returns a minting Querier handler.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the mint store
func NewKeeper ¶
func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, hsk types.HeaderSyncKeeper, supplyKeeper types.SupplyKeeper) Keeper
NewKeeper creates a new mint Keeper instance
func (Keeper) CreateCrossChainTx ¶
func (Keeper) GetDenomCreator ¶
func (Keeper) GetModuleBalance ¶
func (Keeper) IfContainToContract ¶
func (*Keeper) MountUnlockKeeperMap ¶
func (k *Keeper) MountUnlockKeeperMap(ulKeeperMap map[string]types.UnlockKeeper)
func (Keeper) ProcessCrossChainTx ¶
func (Keeper) SetDenomCreator ¶
Click to show internal directories.
Click to hide internal directories.