Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper, cdc *codec.Codec) sdk.Querier
- type Keeper
- func (k Keeper) GetOnlyAllowedSigner(ctx sdk.Context) (sdk.AccAddress, error)
- func (k Keeper) GetPastTokenSwapRequest(ctx sdk.Context, ethereumTxHash string) (types.TokenSwap, error)
- func (k Keeper) GetTokenSwapRecordsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ProcessTokenSwapRequest(ctx sdk.Context, ethereumTxHash string, ethereumSender string, ...) error
- func (k Keeper) SetOnlyAllowedSigner(ctx sdk.Context, onlyAllowedSigner string) error
Constants ¶
View Source
const (
GetTokenSwap = "get"
)
query endpoints supported by the tokenswap Querier
Variables ¶
This section is empty.
Functions ¶
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 (Keeper) GetOnlyAllowedSigner ¶
GetOnlyAllowedSigner returns the only allowed signer of txs in this module
func (Keeper) GetPastTokenSwapRequest ¶
func (k Keeper) GetPastTokenSwapRequest(ctx sdk.Context, ethereumTxHash string) (types.TokenSwap, error)
GetPastTokenSwapRequest retrives a past token swap request
func (Keeper) GetTokenSwapRecordsIterator ¶
GetTokenSwapRecordsIterator get an iterator over tokenswap records
Click to show internal directories.
Click to hide internal directories.