Versions in this module Expand all Collapse all v24 v24.0.0 Aug 21, 2024 Changes in this version + var StoreKeyContractUses = []byte("contract-uses") + var StoreKeyContracts = []byte("contracts") + type Keeper struct + func NewKeeper(storeKey storetypes.StoreKey, cdc codec.BinaryCodec, bk bankkeeper.Keeper, ...) Keeper + func (k Keeper) CanContractCoverFee(fpc *types.FeePayContract, fee uint64) bool + func (k Keeper) FundContract(ctx sdk.Context, fpc *types.FeePayContract, senderAddr sdk.AccAddress, ...) error + func (k Keeper) FundFeePayContract(goCtx context.Context, msg *types.MsgFundFeePayContract) (*types.MsgFundFeePayContractResponse, error) + func (k Keeper) GetAllContracts(ctx sdk.Context) []types.FeePayContract + func (k Keeper) GetAuthority() string + func (k Keeper) GetContract(ctx sdk.Context, contractAddress string) (*types.FeePayContract, error) + func (k Keeper) GetContractUses(ctx sdk.Context, fpc *types.FeePayContract, walletAddress string) (uint64, error) + func (k Keeper) GetContracts(ctx sdk.Context, pag *query.PageRequest) (*types.QueryFeePayContractsResponse, error) + func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) + func (k Keeper) HasWalletExceededUsageLimit(ctx sdk.Context, fpc *types.FeePayContract, walletAddress string) bool + func (k Keeper) IncrementContractUses(ctx sdk.Context, fpc *types.FeePayContract, walletAddress string, ...) error + func (k Keeper) IsContractManager(senderAddress string, contractInfo *wasmtypes.ContractInfo) (bool, error) + func (k Keeper) IsContractRegistered(ctx sdk.Context, contractAddr string) bool + func (k Keeper) IsWalletEligible(ctx sdk.Context, fpc *types.FeePayContract, walletAddress string) (bool, error) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) RegisterContract(ctx sdk.Context, rfp *types.MsgRegisterFeePayContract) error + func (k Keeper) RegisterFeePayContract(goCtx context.Context, msg *types.MsgRegisterFeePayContract) (*types.MsgRegisterFeePayContractResponse, error) + func (k Keeper) SetContractBalance(ctx sdk.Context, fpc *types.FeePayContract, newBalance uint64) + func (k Keeper) SetFeePayContract(ctx sdk.Context, feepay types.FeePayContract) + func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error + func (k Keeper) UnregisterContract(ctx sdk.Context, rfp *types.MsgUnregisterFeePayContract) error + func (k Keeper) UnregisterFeePayContract(goCtx context.Context, msg *types.MsgUnregisterFeePayContract) (*types.MsgUnregisterFeePayContractResponse, error) + func (k Keeper) UpdateContractWalletLimit(ctx sdk.Context, fpc *types.FeePayContract, senderAddress string, ...) error + func (k Keeper) UpdateFeePayContractWalletLimit(goCtx context.Context, msg *types.MsgUpdateFeePayContractWalletLimit) (*types.MsgUpdateFeePayContractWalletLimitResponse, error) + func (k Keeper) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) + type Querier struct + func NewQuerier(k Keeper) Querier + func (q Querier) FeePayContract(ctx context.Context, req *types.QueryFeePayContract) (*types.QueryFeePayContractResponse, error) + func (q Querier) FeePayContractUses(ctx context.Context, req *types.QueryFeePayContractUses) (*types.QueryFeePayContractUsesResponse, error) + func (q Querier) FeePayContracts(ctx context.Context, req *types.QueryFeePayContracts) (*types.QueryFeePayContractsResponse, error) + func (q Querier) FeePayWalletIsEligible(ctx context.Context, req *types.QueryFeePayWalletIsEligible) (*types.QueryFeePayWalletIsEligibleResponse, error) + func (q Querier) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) Other modules containing this package github.com/CosmosContracts/juno/v18 github.com/CosmosContracts/juno/v19 github.com/CosmosContracts/juno/v21 github.com/CosmosContracts/juno/v22 github.com/CosmosContracts/juno/v23 github.com/CosmosContracts/juno/v25