Versions in this module Expand all Collapse all v3 v3.0.1 Dec 27, 2023 Changes in this version + func InitFuncGasUsedLT2310(gasUsed uint64, parameters map[string][]byte) (uint64, error) v3.0.0 Dec 23, 2022 Changes in this version + const ContractParamBlockHeight + const ContractParamCreatorOrgId + const ContractParamCreatorPk + const ContractParamCreatorRole + const ContractParamSenderOrgId + const ContractParamSenderPk + const ContractParamSenderRole + const ContractParamTxId + const ContractParamTxTimeStamp + const DelStateGasPrice + const EmitEventGasPrice + const GetArgsGasPrice + const GetBatchStateGasPrice + const GetBlockHeightGasPrice + const GetCreatorOrgIdGasPrice + const GetCreatorPkGasPrice + const GetCreatorRoleGasPrice + const GetSenderAddressGasPrice + const GetSenderOrgIdGasPrice + const GetSenderPkGasPrice + const GetSenderRoleGasPrice + const GetStateGasPrice + const GetTimeStampPrice + const GetTxIdGasPrice + const KeyHistoryIterCloseGasPrice + const KeyHistoryIterCreateGasPrice + const KeyHistoryIterHasNextGasPrice + const KeyHistoryIterNextGasPrice + const KvIteratorCloseGasPrice + const KvIteratorCreateGasPrice + const KvIteratorHasNextGasPrice + const KvIteratorNextGasPrice + const KvPreIteratorCreateGasPrice + const LogGasPrice + const PutStateGasPrice + func CheckGasLimit(gasUsed uint64) bool + func ConsumeKeyHistoryIterGasUsed(gasUsed uint64) (uint64, error) + func ConsumeKvIteratorGasUsed(gasUsed uint64) (uint64, error) + func ContractGasUsed(txSimContext protocol.TxSimContext, gasUsed uint64, method string, ...) (uint64, error) + func CreateKeyHistoryIterGasUsed(gasUsed uint64) (uint64, error) + func CreateKvIteratorGasUsed(gasUsed uint64) (uint64, error) + func DelStateGasUsed(gasUsed uint64, value []byte) (uint64, error) + func EmitEventGasUsed(gasUsed uint64, contractEvent *common.ContractEvent) (uint64, error) + func GetArgsGasUsed(gasUsed uint64, args map[string]string) (uint64, error) + func GetBatchStateGasUsed(gasUsed uint64, payload []byte) (uint64, error) + func GetSenderAddressGasUsed(gasUsed uint64) (uint64, error) + func GetStateGasUsed(gasUsed uint64, value []byte) (uint64, error) + func InitFuncGasUsed(gasUsed uint64, parameters map[string][]byte, keys ...string) (uint64, error) + func PutStateGasUsed(gasUsed uint64, contractName, key, field string, value []byte) (uint64, error) Other modules containing this package chainmaker.org/chainmaker/vm-docker-go/v2