Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2021 v1.3.0 Jan 15, 2021 Changes in this version + const GasBase + const TransactionGasLimit + func NewEventSink(ctx sdk.Context) *eventSink + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterGlobalPermissionAcc(ctx sdk.Context, k Keeper) + func WrapLogger(l log.Logger) *logging.Logger + type Blockchain struct + func NewBlockChain(ctx sdk.Context, k Keeper) *Blockchain + func (bc *Blockchain) BlockHash(height uint64) ([]byte, error) + func (bc *Blockchain) LastBlockHeight() uint64 + func (bc *Blockchain) LastBlockTime() time.Time + type CertificateCallable struct + type Keeper struct + func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, ak types.AccountKeeper, ...) Keeper + func (k *Keeper) Call(ctx sdk.Context, caller, callee sdk.AccAddress, value uint64, data []byte, ...) ([]byte, error) + func (k *Keeper) GetGasRate(ctx sdk.Context) uint64 + func (k Keeper) AuthKeeper() types.AccountKeeper + func (k Keeper) GetAllContracts(ctx sdk.Context) []types.Contract + func (k Keeper) GetAllMetas(ctx sdk.Context) []types.Metadata + func (k Keeper) GetCode(ctx sdk.Context, addr crypto.Address) ([]byte, error) + func (k Keeper) GetStorage(ctx sdk.Context, address crypto.Address, key binary.Word256) ([]byte, error) + func (k Keeper) NewState(ctx sdk.Context) *State + func (k Keeper) RecycleCoins(ctx sdk.Context) error + func (k Keeper) Send(ctx sdk.Context, caller, callee sdk.AccAddress, coins sdk.Coins) error + func (k Keeper) SetAbi(ctx sdk.Context, address crypto.Address, abi []byte) + func (k Keeper) SetGasRate(ctx sdk.Context, gasRate uint64) + func (k Keeper) StoreLastBlockHash(ctx sdk.Context) + type State struct + func (s *State) GetAccount(address crypto.Address) (*acm.Account, error) + func (s *State) GetAddressMeta(address crypto.Address) ([]*acm.ContractMeta, error) + func (s *State) GetMetadata(metahash acmstate.MetadataHash) (string, error) + func (s *State) GetStorage(address crypto.Address, key binary.Word256) (value []byte, err error) + func (s *State) RemoveAccount(address crypto.Address) error + func (s *State) SetAddressMeta(address crypto.Address, contMeta []*acm.ContractMeta) error + func (s *State) SetMetadata(metahash acmstate.MetadataHash, metadata string) error + func (s *State) SetStorage(address crypto.Address, key binary.Word256, value []byte) error + func (s *State) UpdateAccount(updatedAccount *acm.Account) error Other modules containing this package github.com/certikfoundation/shentu/v2