MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetContractState

Method GetContractState

core/store/store.go:66–66  ·  view source on GitHub ↗
(contractHash common.Address)

Source from the content-addressed store, hash-verified

64 GetBlockRootWithNewTxRoots(startHeight uint32, txRoots []common.Uint256) common.Uint256
65 GetMerkleProof(m, n uint32) ([]common.Uint256, error)
66 GetContractState(contractHash common.Address) (*payload.DeployCode, error)
67 GetBookkeeperState() (*states.BookkeeperState, error)
68 GetStorageItem(key *states.StorageKey) (*states.StorageItem, error)
69 PreExecuteContract(tx *types.Transaction) (*cstates.PreExecResult, error)

Callers 4

GetContractStateMethod · 0.65
GetContractStateMethod · 0.65
BlockChainGetContractFunction · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by

no test coverage detected