Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + type BlockInnerData = interface + type GovKeeper interface + GetDepositParams func(ctx sdk.Context) govtypes.DepositParams + GetVotingParams func(ctx sdk.Context) govtypes.VotingParams + type Keeper struct + Ada types.DbAdapter + Bhash ethcmn.Hash + Bloom *big.Int + LogSize uint + LogsManages *LogsManager + TxCount int + UpdatedAccount []ethcmn.Address + Watcher *watcher.Watcher + func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, paramSpace params.Subspace, ...) *Keeper + func NewSimulateKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, paramSpace types.Subspace, ...) *Keeper + func (k *Keeper) AddContract(...interface{}) + func (k *Keeper) AddHeightHashToCache(height int64, hash string) + func (k *Keeper) AddInnerTx(...interface{}) + func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) + func (k *Keeper) CallEvmHooks(ctx sdk.Context, st *types.StateTransition, receipt *ethtypes.Receipt) error + func (k *Keeper) DelSysContractAddress(ctx sdk.Context) sdk.Error + func (k *Keeper) DeleteInnerTx(...interface{}) + func (k *Keeper) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate + func (k *Keeper) FixLog(tx []sdk.Tx, logIndex []int, hasEnterEvmTx []bool, anteErrs []error, ...) [][]byte + func (k *Keeper) ForEachStorage(ctx sdk.Context, addr ethcmn.Address, cb func(key, value ethcmn.Hash) bool) error + func (k *Keeper) GenerateCSDBParams() types.CommitStateDBParams + func (k *Keeper) GetBalance(ctx sdk.Context, addr ethcmn.Address) *big.Int + func (k *Keeper) GetCode(ctx sdk.Context, addr ethcmn.Address) []byte + func (k *Keeper) GetCodeByHash(ctx sdk.Context, hash ethcmn.Hash) []byte + func (k *Keeper) GetHooks() types.EvmHooks + func (k *Keeper) GetOrNewStateObject(ctx sdk.Context, addr ethcmn.Address) types.StateObject + func (k *Keeper) GetParamSubspace() types.Subspace + func (k *Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k *Keeper) GetState(ctx sdk.Context, addr ethcmn.Address, hash ethcmn.Hash) ethcmn.Hash + func (k *Keeper) GetStateByKey(ctx sdk.Context, addr ethcmn.Address, key ethcmn.Hash) []byte + func (k *Keeper) GetStorageProof(ctx sdk.Context, addr ethcmn.Address, key ethcmn.Hash) ([][]byte, error) + func (k *Keeper) GetSysContractAddress(ctx sdk.Context) (sdk.AccAddress, sdk.Error) + func (k *Keeper) InitInnerBlock(...interface{}) + func (k *Keeper) IsAddressBlocked(ctx sdk.Context, addr sdk.AccAddress) bool + func (k *Keeper) IsContractInBlockedList(ctx sdk.Context, addr sdk.AccAddress) bool + func (k *Keeper) IsMatchSysContractAddress(ctx sdk.Context, addr sdk.AccAddress) bool + func (k *Keeper) OnAccountUpdated(acc auth.Account) + func (k *Keeper) ResetHooks() *Keeper + func (k *Keeper) SetBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) + func (k *Keeper) SetChainConfig(ctx sdk.Context, config types.ChainConfig) + func (k *Keeper) SetGovKeeper(gk GovKeeper) + func (k *Keeper) SetHooks(hooks types.EvmHooks) *Keeper + func (k *Keeper) SetNonce(ctx sdk.Context, addr ethcmn.Address, nonce uint64) + func (k *Keeper) SetObserverKeeper(infuraKeeper watcher.InfuraKeeper) + func (k *Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k *Keeper) SetSysContractAddress(ctx sdk.Context, addr sdk.AccAddress) sdk.Error + func (k *Keeper) UpdateInnerBlockData(...interface{}) + func (k *Keeper) UpdateInnerTx(...interface{}) + func (k *Keeper) UpdateWasmInnerTx(...interface{}) + func (k Keeper) AfterDepositPeriodPassed(_ sdk.Context, _ govTypes.Proposal) + func (k Keeper) AfterSubmitProposalHandler(_ sdk.Context, _ govTypes.Proposal) + func (k Keeper) BalanceInvariant() sdk.Invariant + func (k Keeper) CheckMsgSubmitProposal(ctx sdk.Context, msg govTypes.MsgSubmitProposal) sdk.Error + func (k Keeper) GeneratePureCSDBParams() types.CommitStateDBParams + func (k Keeper) GetAccountStorage(ctx sdk.Context, address ethcmn.Address) (types.Storage, error) + func (k Keeper) GetBlockBloom(ctx sdk.Context, height int64) ethtypes.Bloom + func (k Keeper) GetBlockHeight(ctx sdk.Context, hash ethcmn.Hash) (int64, bool) + func (k Keeper) GetChainConfig(ctx sdk.Context) (types.ChainConfig, bool) + func (k Keeper) GetEthBlockBytesByHash(ctx sdk.Context, hash []byte) ([]byte, bool) + func (k Keeper) GetEthBlockBytesByHeight(ctx sdk.Context, height uint64) ([]byte, bool) + func (k Keeper) GetHeightHash(ctx sdk.Context, height uint64) ethcmn.Hash + func (k Keeper) GetMaxDepositPeriod(ctx sdk.Context, content sdkGov.Content) (maxDepositPeriod time.Duration) + func (k Keeper) GetMinDeposit(ctx sdk.Context, content sdkGov.Content) (minDeposit sdk.SysCoins) + func (k Keeper) GetStoreKey() store.StoreKey + func (k Keeper) GetVotingPeriod(ctx sdk.Context, content sdkGov.Content) (votingPeriod time.Duration) + func (k Keeper) IsContractAccount(ctx sdk.Context, addr sdk.AccAddress) bool + func (k Keeper) IterateBlockBloom(ctx sdk.Context, fn func(key []byte, value []byte) (stop bool)) + func (k Keeper) IterateBlockHash(ctx sdk.Context, fn func(key []byte, value []byte) (stop bool)) + func (k Keeper) Logger() log.Logger + func (k Keeper) NonceInvariant() sdk.Invariant + func (k Keeper) RejectedHandler(_ sdk.Context, _ govTypes.Content) + func (k Keeper) SetBlockBloom(ctx sdk.Context, height int64, bloom ethtypes.Bloom) + func (k Keeper) SetBlockHeight(ctx sdk.Context, hash []byte, height int64) + func (k Keeper) SetCodeDirectly(ctx sdk.Context, hash, code []byte) + func (k Keeper) SetEthBlockByHash(ctx sdk.Context, hash []byte, block types.Block) + func (k Keeper) SetEthBlockByHeight(ctx sdk.Context, height uint64, block types.Block) + func (k Keeper) SetHeightHash(ctx sdk.Context, height uint64, hash ethcmn.Hash) + func (k Keeper) SetStateDirectly(ctx sdk.Context, addr ethcmn.Address, key, value ethcmn.Hash) + func (k Keeper) VoteHandler(_ sdk.Context, _ govTypes.Proposal, _ govTypes.Vote) (string, sdk.Error) + type LogProcessEvmHook struct + func NewLogProcessEvmHook(handlers ...types.EvmLogHandler) LogProcessEvmHook + func (lh LogProcessEvmHook) PostTxProcessing(ctx sdk.Context, st *types.StateTransition, receipt *ethtypes.Receipt) error + type LogsManager struct + Results map[int]TxResult + func NewLogManager() *LogsManager + func (l *LogsManager) Get(index int) (TxResult, bool) + func (l *LogsManager) Len() int + func (l *LogsManager) Reset() + func (l *LogsManager) Set(value TxResult) int + type MultiEvmHooks []types.EvmHooks + func NewMultiEvmHooks(hooks ...types.EvmHooks) MultiEvmHooks + func (mh MultiEvmHooks) PostTxProcessing(ctx sdk.Context, st *types.StateTransition, receipt *ethtypes.Receipt) error + type TxResult struct + ResultData *types.ResultData