Documentation ¶
Index ¶
- Constants
- func ParamKeyTable() params.KeyTable
- type Keeper
- func (k *Keeper) GetCode(ctx sdk.Context, addr sdk.AccAddress) []byte
- func (k *Keeper) GetLogs(ctx sdk.Context, hash sdk.Hash) []*types.Log
- func (k Keeper) GetMaxCodeSize(ctx sdk.Context) (res uint64)
- func (k Keeper) GetParams(ctx sdk.Context) (res types.Params)
- func (k Keeper) GetState(ctx sdk.Context, addr sdk.AccAddress, hash sdk.Hash) sdk.Hash
- func (k Keeper) GetVMCommonGasParams(ctx sdk.Context) (params types.VMCommonGasParams)
- func (k Keeper) GetVMOpGasParams(ctx sdk.Context) (params [256]uint64)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetMaxCodeSize(ctx sdk.Context, maxCodeSize uint64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetVMCommonGasParams(ctx sdk.Context, params types.VMCommonGasParams)
- func (k Keeper) SetVMOpGasParams(ctx sdk.Context, params [256]uint64)
Constants ¶
View Source
const (
DefaultParamspace = types.ModuleName
)
Variables ¶
This section is empty.
Functions ¶
func ParamKeyTable ¶
Types ¶
type Keeper ¶
type Keeper struct { Cdc *codec.Codec StateDB *types.CommitStateDB // contains filtered or unexported fields }
func (Keeper) GetVMCommonGasParams ¶
func (k Keeper) GetVMCommonGasParams(ctx sdk.Context) (params types.VMCommonGasParams)
func (Keeper) GetVMOpGasParams ¶
func (Keeper) SetVMCommonGasParams ¶
func (k Keeper) SetVMCommonGasParams(ctx sdk.Context, params types.VMCommonGasParams)
Click to show internal directories.
Click to hide internal directories.