package
1.0.15
Repository: https://github.com/netcloth/netcloth-chain.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Ecrecover returns the uncompressed public key that created the given signature.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CanRun tells if the contract, passed as an argument, can be run by the current interpreter.
No description provided by the author
No description provided by the author
No description provided by the author
NewStructLogger returns a new logger.
RightPadBytes zero-pads slice to the right up to length l.
RunPrecompiledContract runs and evaluates the output of a precompiled contract.
StringToOp finds the opcode whose name is stored in `str`.
ValidateSignatureValues verifies whether the signature values are valid with the given chain rules.
WriteLogs writes vm logs in a readable format to the given writer.
WriteTrace writes a formatted trace to the given writer.

# Constants

0x0 range - arithmetic ops.
0x0 range - arithmetic ops.
0x30 range - closure state.
0x10 range - comparison ops.
0x30 range - closure state.
The cost of a BALANCE operation after EIP 1884 (part of Istanbul).
0x40 range - block operations.
Byzantium gas needed for an elliptic curve addition.
Gas needed for an elliptic curve addition.
Byzantium base price for an elliptic curve pairing check.
Base price for an elliptic curve pairing check.
Byzantium per-point price for an elliptic curve pairing check.
Per-point price for an elliptic curve pairing check.
Byzantium gas needed for an elliptic curve scalar multiplication.
Gas needed for an elliptic curve scalar multiplication.
0x10 range - comparison ops.
0xf0 range - closures.
0xf0 range - closures.
Maximum depth of call/create stack.
0x30 range - closure state.
0x30 range - closure state.
0x30 range - closure state.
0x30 range - closure state.
Static portion of gas for CALL-derivates after EIP 150 (Tangerine).
Paid for CALL when the destination address didn't exist prior.
Free gas given at beginning of call.
0x30 range - closure state.
Paid for CALL when the value transfer is non-zero.
0x40 range - block operations.
0x30 range - closure state.
No description provided by the author
0x30 range - closure state.
0x40 range - block operations.
.
0xf0 range - closures.
0xf0 range - closures.
Once per CREATE2 operation.
CreateBySelfdestructGas is used when the refunded account is one that does not exist.
.
Once per CREATE operation & contract-creation transaction.
No description provided by the author
No description provided by the author
No description provided by the author
0xf0 range - closures.
0x40 range - block operations.
0x0 range - arithmetic ops.
unofficial opcodes used for parsing.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
Elliptic curve sender recovery gas price.
0x10 range - comparison ops.
0x0 range - arithmetic ops.
was raised to 50 during Eip158 (Spurious Dragon).
Times ceil(log256(exponent)) for the EXP instruction.
Once per EXP instruction.
0x30 range - closure state.
Extcodecopy has a dynamic AND a static cost.
0x30 range - closure state.
Cost of EXTCODEHASH after EIP 1884 (part in Istanbul).
0x30 range - closure state.
Cost of EXTCODESIZE after EIP 150 (Tangerine).
0x50 range - 'storage' and execution.
Gas costs.
Gas costs.
Gas costs.
0x40 range - block operations.
The bound divisor of the gas limit, used in update calculations.
Gas costs.
0x30 range - closure state.
Gas costs.
Gas costs.
Gas limit of the Genesis block.
0x10 range - comparison ops.
Base price for a data copy operation.
Per-work price for a data copy operation.
0x10 range - comparison ops.
0x50 range - 'storage' and execution.
0x50 range - 'storage' and execution.
Once per JUMPDEST operation.
0x50 range - 'storage' and execution.
0xa0 range - logging ops.
0xa0 range - logging ops.
0xa0 range - logging ops.
0xa0 range - logging ops.
0xa0 range - logging ops.
Per byte in a LOG* operation's data.
Per LOG* operation.
Multiplied by the * of the LOG*, per LOG transaction.
0x10 range - comparison ops.
Maximum bytecode to permit for a contract.
Maximum size extra data may be after Genesis.
Times the address of the (highest referenced byte in memory + 1).
Minimum the gas limit may ever be.
0x50 range - 'storage' and execution.
0x0 range - arithmetic ops.
Divisor for the quadratic particle of the big int modular exponentiation.
No description provided by the author
0x50 range - 'storage' and execution.
0x50 range - 'storage' and execution.
0x50 range - 'storage' and execution.
0x0 range - arithmetic ops.
0x0 range - arithmetic ops.
0x10 range - comparison ops.
0x40 range - block operations.
0x10 range - comparison ops.
0x30 range - closure state.
0x50 range - 'storage' and execution.
0x50 range - 'storage' and execution.
unofficial opcodes used for parsing.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
Divisor for the quadratic particle of the memory cost equation.
No description provided by the author
0xf0 range - closures.
0x30 range - closure state.
0x30 range - closure state.
0xf0 range - closures.
Base price for a RIPEMD160 operation.
Per-word price for a RIPEMD160 operation.
No description provided by the author
0x10 range - comparison ops.
0x0 range - arithmetic ops.
0x40 range - block operations.
0xf0 range - closures.
Cost of SELFDESTRUCT post EIP 150 (Tangerine).
Refunded following a selfdestruct operation.
0x10 range - comparison ops.
Base price for a SHA256 operation.
Per-word price for a SHA256 operation.
0x10 range - comparison ops.
Once per SHA3 operation.
Once per word of the SHA3 operation's data.
0x10 range - comparison ops.
0x10 range - comparison ops.
0x0 range - arithmetic ops.
0x50 range - 'storage' and execution.
Cost of SLOAD after EIP 1884 (part of Istanbul).
0x10 range - comparison ops.
0x0 range - arithmetic ops.
0x50 range - 'storage' and execution.
Once per SSTORE operation from clean non-zero to something else.
Once per SSTORE operation for resetting to the original non-zero value.
Once per SSTORE operation for clearing an originally existing storage slot.
Once per SSTORE operation if a dirty value is changed.
Once per SSTORE operation from clean zero to non-zero.
Once per SSTORE operation for resetting to the original zero value.
Once per SSTORE operation if the value doesn't change.
Minimum gas required to be present for an SSTORE call, not consumed.
Maximum size of VM stack allowed.
0xf0 range - closures.
0x0 range - arithmetic ops.
No description provided by the author
0x0 range - arithmetic ops.
unofficial opcodes used for parsing.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x60 range.
0x40 range - block operations.
Per byte of data attached to a transaction that equals zero.
Per transaction not creating a contract.
Per transaction that creates a contract.
0x10 range - comparison ops.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrecompiledContracts contains the default set of pre-compiled contracts used in the Istanbul release.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ChainConfig is the core config which determines the blockchain settings.
No description provided by the author
Context provides the VM with auxiliary information.
Contract implements ContractRef.
No description provided by the author
EVMInterpreter represents an EVM interpreter.
LogConfig are the configuration options for structured logger the EVM.
No description provided by the author
No description provided by the author
StateTransition defines data to transitionDB in vm.
StructLog is emitted to the EVM each cycle and lists information about the current internal state prior to the execution of the statement.
StructLogger is an VM state logger and implements Tracer.

# Interfaces

ContractRef is a interface to the contract's backing object.
Interpreter is used to run Ethereum based contracts and will utilise the passed environment to query external sources for state information.
PrecompiledContract is the basic interface for native Go contracts.
Tracer is used to collect execution traces from an VM transaction execution.

# Type aliases

AccountRef implements ContractRef.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JumpTable contains the EVM opcodes supported at a given fork.
No description provided by the author
No description provided by the author
No description provided by the author
OpCode is an VM opcode.
Storage represents a contract's storage.
No description provided by the author