Documentation ¶
Index ¶
- func NewQuerier(keeper types.OracleKeeper, cdc *codec.Codec) sdk.Querier
- type Keeper
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ProcessBurn(ctx sdk.Context, cosmosSender sdk.AccAddress, amount sdk.Coins) error
- func (k Keeper) ProcessClaim(ctx sdk.Context, claim types.EthBridgeClaim) (oracle.Status, error)
- func (k Keeper) ProcessLock(ctx sdk.Context, cosmosSender sdk.AccAddress, amount sdk.Coins) error
- func (k Keeper) ProcessSuccessfulClaim(ctx sdk.Context, claim string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
func NewKeeper ¶
func NewKeeper(cdc *codec.Codec, supplyKeeper types.SupplyKeeper, oracleKeeper types.OracleKeeper) Keeper
NewKeeper creates new instances of the oracle Keeper
func (Keeper) ProcessBurn ¶
ProcessBurn processes the burn of bridged coins from the given sender
func (Keeper) ProcessClaim ¶
ProcessClaim processes a new claim coming in from a validator
func (Keeper) ProcessLock ¶
ProcessLock processes the lockup of cosmos coins from the given sender
Click to show internal directories.
Click to hide internal directories.