TargetGasLimituint64=GenesisGasLimit// The artificial target
)
const(
GasLimitBoundDivisoruint64=1024// The bound divisor of the gas limit, used in update calculations.
MinGasLimituint64=5000// Minimum the gas limit may ever be.
GenesisGasLimituint64=4712388// Gas limit of the Genesis block.
MaximumExtraDataSizeuint64=32// Maximum size extra data may be after Genesis.
ExpByteGasuint64=10// Times ceil(log256(exponent)) for the EXP instruction.
SloadGasuint64=50// Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added.
CallValueTransferGasuint64=9000// Paid for CALL when the value transfer is non-zero.
CallNewAccountGasuint64=25000// Paid for CALL when the destination address didn't exist prior.
TxGasuint64=21000// Per transaction not creating a contract. NOTE: Not payable on data of calls between transactions.
TxGasContractCreationuint64=53000// Per transaction that creates a contract. NOTE: Not payable on data of calls between transactions.
TxDataZeroGasuint64=4// Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions.
QuadCoeffDivuint64=512// Divisor for the quadratic particle of the memory cost equation.
SstoreSetGasuint64=20000// Once per SLOAD operation.
LogDataGasuint64=8// Per byte in a LOG* operation's data.
CallStipenduint64=2300// Free gas given at beginning of call.
Sha3Gasuint64=30// Once per SHA3 operation.
Sha3WordGasuint64=6// Once per word of the SHA3 operation's data.
SstoreResetGasuint64=5000// Once per SSTORE operation if the zeroness changes from zero.
SstoreClearGasuint64=5000// Once per SSTORE operation if the zeroness doesn't change.
SstoreRefundGasuint64=15000// Once per SSTORE operation if the zeroness changes to zero.
JumpdestGasuint64=1// Refunded gas, once per SSTORE operation if the zeroness changes to zero.
EpochDurationuint64=30000// Duration between proof-of-work epochs.
CallGasuint64=40// Once per CALL operation & message call transaction.
CreateDataGasuint64=200//
CallCreateDepthuint64=1024// Maximum depth of call/create stack.
ExpGasuint64=10// Once per EXP instruction
LogGasuint64=375// Per LOG* operation.
CopyGasuint64=3//
StackLimituint64=1024// Maximum size of VM stack allowed.
TierStepGasuint64=0// Once per operation, for a selection of them.
LogTopicGasuint64=375// Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas.
CreateGasuint64=32000// Once per CREATE operation & contract-creation transaction.
SuicideRefundGasuint64=24000// Refunded following a suicide operation.
MemoryGasuint64=3// Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL.
TxDataNonZeroGasuint64=68// Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions.
MaxCodeSize=24576// Maximum bytecode to permit for a contract
// Precompiled contract gas prices
EcrecoverGasuint64=3000// Elliptic curve sender recovery gas price
Sha256BaseGasuint64=60// Base price for a SHA256 operation
Sha256PerWordGasuint64=12// Per-word price for a SHA256 operation
Ripemd160BaseGasuint64=600// Base price for a RIPEMD160 operation
Ripemd160PerWordGasuint64=120// Per-word price for a RIPEMD160 operation
IdentityBaseGasuint64=15// Base price for a data copy operation
IdentityPerWordGasuint64=3// Per-work price for a data copy operation
ModExpQuadCoeffDivuint64=20// Divisor for the quadratic particle of the big int modular exponentiation
Bn256AddGasuint64=500// Gas needed for an elliptic curve addition
Bn256ScalarMulGasuint64=40000// Gas needed for an elliptic curve scalar multiplication
Bn256PairingBaseGasuint64=100000// Base price for an elliptic curve pairing check
Bn256PairingPerPointGasuint64=80000// Per-point price for an elliptic curve pairing check