Documentation
¶
Index ¶
- type Keeper
- func (k Keeper) Balance(ctx context.Context, req *v1.QueryBalanceRequest) (*v1.QueryBalanceResponse, error)
- func (k Keeper) BalancesByAddress(ctx context.Context, req *v1.QueryBalancesByAddressRequest) (*v1.QueryBalancesByAddressResponse, error)
- func (k Keeper) BalancesByVoucher(ctx context.Context, req *v1.QueryBalancesByVoucherRequest) (*v1.QueryBalancesByVoucherResponse, error)
- func (k Keeper) Create(ctx context.Context, req *v1.MsgCreate) (*v1.MsgCreateResponse, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context, _ codec.JSONCodec) (json.RawMessage, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, data json.RawMessage) error
- func (k Keeper) Issue(ctx context.Context, req *v1.MsgIssue) (*v1.MsgIssueResponse, error)
- func (k Keeper) PruneVouchers(ctx sdk.Context) error
- func (k Keeper) UpdateIssuer(ctx context.Context, req *v1.MsgUpdateIssuer) (*v1.MsgUpdateIssuerResponse, error)
- func (k Keeper) UpdateMetadata(ctx context.Context, req *v1.MsgUpdateMetadata) (*v1.MsgUpdateMetadataResponse, error)
- func (k Keeper) Voucher(ctx context.Context, req *v1.QueryVoucherRequest) (*v1.QueryVoucherResponse, error)
- func (k Keeper) Vouchers(ctx context.Context, req *v1.QueryVouchersRequest) (*v1.QueryVouchersResponse, error)
- func (k Keeper) VouchersByIssuer(ctx context.Context, req *v1.QueryVouchersByIssuerRequest) (*v1.QueryVouchersByIssuerResponse, error)
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
}
Keeper is the keeper.
func NewKeeper ¶
func NewKeeper(storeService store.KVStoreService) Keeper
NewKeeper creates a new keeper.
func (Keeper) Balance ¶
func (k Keeper) Balance(ctx context.Context, req *v1.QueryBalanceRequest) (*v1.QueryBalanceResponse, error)
Balance implements the Query/Balance method.
func (Keeper) BalancesByAddress ¶
func (k Keeper) BalancesByAddress(ctx context.Context, req *v1.QueryBalancesByAddressRequest) (*v1.QueryBalancesByAddressResponse, error)
BalancesByAddress implements the Query/BalancesByAddress method.
func (Keeper) BalancesByVoucher ¶
func (k Keeper) BalancesByVoucher(ctx context.Context, req *v1.QueryBalancesByVoucherRequest) (*v1.QueryBalancesByVoucherResponse, error)
BalancesByVoucher implements the Query/BalancesByVoucher method.
func (Keeper) ExportGenesis ¶
ExportGenesis exports genesis state.
func (Keeper) InitGenesis ¶
InitGenesis initializes genesis state.
func (Keeper) PruneVouchers ¶
PruneVouchers removes expired vouchers from state.
func (Keeper) UpdateIssuer ¶
func (k Keeper) UpdateIssuer(ctx context.Context, req *v1.MsgUpdateIssuer) (*v1.MsgUpdateIssuerResponse, error)
UpdateIssuer implements the Msg/UpdateIssuer method.
func (Keeper) UpdateMetadata ¶
func (k Keeper) UpdateMetadata(ctx context.Context, req *v1.MsgUpdateMetadata) (*v1.MsgUpdateMetadataResponse, error)
UpdateMetadata implements the Msg/UpdateMetadata method.
func (Keeper) Voucher ¶
func (k Keeper) Voucher(ctx context.Context, req *v1.QueryVoucherRequest) (*v1.QueryVoucherResponse, error)
Voucher implements the Query/Voucher method.
func (Keeper) Vouchers ¶
func (k Keeper) Vouchers(ctx context.Context, req *v1.QueryVouchersRequest) (*v1.QueryVouchersResponse, error)
Vouchers implements the Query/Vouchers method.
func (Keeper) VouchersByIssuer ¶
func (k Keeper) VouchersByIssuer(ctx context.Context, req *v1.QueryVouchersByIssuerRequest) (*v1.QueryVouchersByIssuerResponse, error)
VouchersByIssuer implements the Query/VouchersByIssuer method.
Click to show internal directories.
Click to hide internal directories.