keeper

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, bankKeeper bank.Keeper,
	oraclesKeeper oracles.Keeper, supplyKeeper supply.Keeper,
	didKeeper did.Keeper) Keeper

func (Keeper) OracleBurn

func (k Keeper) OracleBurn(ctx sdk.Context, oracleDid, fromDid did.Did, amount sdk.Coins) error

func (Keeper) OracleMint

func (k Keeper) OracleMint(ctx sdk.Context, oracleDid did.Did, toDidOrAddr string, amount sdk.Coins) error

func (Keeper) OracleTransfer

func (k Keeper) OracleTransfer(ctx sdk.Context, fromDid did.Did,
	toDidOrAddr string, oracleDid did.Did, amount sdk.Coins) error

func (Keeper) Send

func (k Keeper) Send(ctx sdk.Context, fromDid did.Did, toDidOrAddr string, amount sdk.Coins) error

Jump to

Keyboard shortcuts

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