mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
447 lines
12 KiB
JSON
447 lines
12 KiB
JSON
{
|
|
"name": "chainstart",
|
|
"comment": "Start of the Ethereum main chain",
|
|
"url": "",
|
|
"status": "",
|
|
"gasConfig": {
|
|
"minGasLimit": {
|
|
"v": 5000,
|
|
"d": "Minimum the gas limit may ever be"
|
|
},
|
|
"gasLimitBoundDivisor": {
|
|
"v": 1024,
|
|
"d": "The bound divisor of the gas limit, used in update calculations"
|
|
},
|
|
"maxRefundQuotient": {
|
|
"v": 2,
|
|
"d": "Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"
|
|
}
|
|
},
|
|
"gasPrices": {
|
|
"base": {
|
|
"v": 2,
|
|
"d": "Gas base cost, used e.g. for ChainID opcode (Istanbul)"
|
|
},
|
|
"tierStep": {
|
|
"v": [
|
|
0,
|
|
2,
|
|
3,
|
|
5,
|
|
8,
|
|
10,
|
|
20
|
|
],
|
|
"d": "Once per operation, for a selection of them"
|
|
},
|
|
"exp": {
|
|
"v": 10,
|
|
"d": "Base fee of the EXP opcode"
|
|
},
|
|
"expByte": {
|
|
"v": 10,
|
|
"d": "Times ceil(log256(exponent)) for the EXP instruction"
|
|
},
|
|
"sha3": {
|
|
"v": 30,
|
|
"d": "Base fee of the SHA3 opcode"
|
|
},
|
|
"sha3Word": {
|
|
"v": 6,
|
|
"d": "Once per word of the SHA3 operation's data"
|
|
},
|
|
"sload": {
|
|
"v": 50,
|
|
"d": "Base fee of the SLOAD opcode"
|
|
},
|
|
"sstoreSet": {
|
|
"v": 20000,
|
|
"d": "Once per SSTORE operation if the zeroness changes from zero"
|
|
},
|
|
"sstoreReset": {
|
|
"v": 5000,
|
|
"d": "Once per SSTORE operation if the zeroness does not change from zero"
|
|
},
|
|
"sstoreRefund": {
|
|
"v": 15000,
|
|
"d": "Once per SSTORE operation if the zeroness changes to zero"
|
|
},
|
|
"jumpdest": {
|
|
"v": 1,
|
|
"d": "Base fee of the JUMPDEST opcode"
|
|
},
|
|
"log": {
|
|
"v": 375,
|
|
"d": "Base fee of the LOG opcode"
|
|
},
|
|
"logData": {
|
|
"v": 8,
|
|
"d": "Per byte in a LOG* operation's data"
|
|
},
|
|
"logTopic": {
|
|
"v": 375,
|
|
"d": "Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"
|
|
},
|
|
"create": {
|
|
"v": 32000,
|
|
"d": "Base fee of the CREATE opcode"
|
|
},
|
|
"call": {
|
|
"v": 40,
|
|
"d": "Base fee of the CALL opcode"
|
|
},
|
|
"callStipend": {
|
|
"v": 2300,
|
|
"d": "Free gas given at beginning of call"
|
|
},
|
|
"callValueTransfer": {
|
|
"v": 9000,
|
|
"d": "Paid for CALL when the value transfor is non-zero"
|
|
},
|
|
"callNewAccount": {
|
|
"v": 25000,
|
|
"d": "Paid for CALL when the destination address didn't exist prior"
|
|
},
|
|
"selfdestructRefund": {
|
|
"v": 24000,
|
|
"d": "Refunded following a selfdestruct operation"
|
|
},
|
|
"memory": {
|
|
"v": 3,
|
|
"d": "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"
|
|
},
|
|
"quadCoeffDiv": {
|
|
"v": 512,
|
|
"d": "Divisor for the quadratic particle of the memory cost equation"
|
|
},
|
|
"createData": {
|
|
"v": 200,
|
|
"d": ""
|
|
},
|
|
"tx": {
|
|
"v": 21000,
|
|
"d": "Per transaction. NOTE: Not payable on data of calls between transactions"
|
|
},
|
|
"txCreation": {
|
|
"v": 32000,
|
|
"d": "The cost of creating a contract via tx"
|
|
},
|
|
"txDataZero": {
|
|
"v": 4,
|
|
"d": "Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"
|
|
},
|
|
"txDataNonZero": {
|
|
"v": 68,
|
|
"d": "Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"
|
|
},
|
|
"copy": {
|
|
"v": 3,
|
|
"d": "Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"
|
|
},
|
|
"ecRecover": {
|
|
"v": 3000,
|
|
"d": ""
|
|
},
|
|
"sha256": {
|
|
"v": 60,
|
|
"d": ""
|
|
},
|
|
"sha256Word": {
|
|
"v": 12,
|
|
"d": ""
|
|
},
|
|
"ripemd160": {
|
|
"v": 600,
|
|
"d": ""
|
|
},
|
|
"ripemd160Word": {
|
|
"v": 120,
|
|
"d": ""
|
|
},
|
|
"identity": {
|
|
"v": 15,
|
|
"d": ""
|
|
},
|
|
"identityWord": {
|
|
"v": 3,
|
|
"d": ""
|
|
},
|
|
"stop": {
|
|
"v": 0,
|
|
"d": "Base fee of the STOP opcode"
|
|
},
|
|
"add": {
|
|
"v": 3,
|
|
"d": "Base fee of the ADD opcode"
|
|
},
|
|
"mul": {
|
|
"v": 5,
|
|
"d": "Base fee of the MUL opcode"
|
|
},
|
|
"sub": {
|
|
"v": 3,
|
|
"d": "Base fee of the SUB opcode"
|
|
},
|
|
"div": {
|
|
"v": 5,
|
|
"d": "Base fee of the DIV opcode"
|
|
},
|
|
"sdiv": {
|
|
"v": 5,
|
|
"d": "Base fee of the SDIV opcode"
|
|
},
|
|
"mod": {
|
|
"v": 5,
|
|
"d": "Base fee of the MOD opcode"
|
|
},
|
|
"smod": {
|
|
"v": 5,
|
|
"d": "Base fee of the SMOD opcode"
|
|
},
|
|
"addmod": {
|
|
"v": 8,
|
|
"d": "Base fee of the ADDMOD opcode"
|
|
},
|
|
"mulmod": {
|
|
"v": 8,
|
|
"d": "Base fee of the MULMOD opcode"
|
|
},
|
|
"signextend": {
|
|
"v": 5,
|
|
"d": "Base fee of the SIGNEXTEND opcode"
|
|
},
|
|
"lt": {
|
|
"v": 3,
|
|
"d": "Base fee of the LT opcode"
|
|
},
|
|
"gt": {
|
|
"v": 3,
|
|
"d": "Base fee of the GT opcode"
|
|
},
|
|
"slt": {
|
|
"v": 3,
|
|
"d": "Base fee of the SLT opcode"
|
|
},
|
|
"sgt": {
|
|
"v": 3,
|
|
"d": "Base fee of the SGT opcode"
|
|
},
|
|
"eq": {
|
|
"v": 3,
|
|
"d": "Base fee of the EQ opcode"
|
|
},
|
|
"iszero": {
|
|
"v": 3,
|
|
"d": "Base fee of the ISZERO opcode"
|
|
},
|
|
"and": {
|
|
"v": 3,
|
|
"d": "Base fee of the AND opcode"
|
|
},
|
|
"or": {
|
|
"v": 3,
|
|
"d": "Base fee of the OR opcode"
|
|
},
|
|
"xor": {
|
|
"v": 3,
|
|
"d": "Base fee of the XOR opcode"
|
|
},
|
|
"not": {
|
|
"v": 3,
|
|
"d": "Base fee of the NOT opcode"
|
|
},
|
|
"byte": {
|
|
"v": 3,
|
|
"d": "Base fee of the BYTE opcode"
|
|
},
|
|
"address": {
|
|
"v": 2,
|
|
"d": "Base fee of the ADDRESS opcode"
|
|
},
|
|
"balance": {
|
|
"v": 20,
|
|
"d": "Base fee of the BALANCE opcode"
|
|
},
|
|
"origin": {
|
|
"v": 2,
|
|
"d": "Base fee of the ORIGIN opcode"
|
|
},
|
|
"caller": {
|
|
"v": 2,
|
|
"d": "Base fee of the CALLER opcode"
|
|
},
|
|
"callvalue": {
|
|
"v": 2,
|
|
"d": "Base fee of the CALLVALUE opcode"
|
|
},
|
|
"calldataload": {
|
|
"v": 3,
|
|
"d": "Base fee of the CALLDATALOAD opcode"
|
|
},
|
|
"calldatasize": {
|
|
"v": 2,
|
|
"d": "Base fee of the CALLDATASIZE opcode"
|
|
},
|
|
"calldatacopy": {
|
|
"v": 3,
|
|
"d": "Base fee of the CALLDATACOPY opcode"
|
|
},
|
|
"codesize": {
|
|
"v": 2,
|
|
"d": "Base fee of the CODESIZE opcode"
|
|
},
|
|
"codecopy": {
|
|
"v": 3,
|
|
"d": "Base fee of the CODECOPY opcode"
|
|
},
|
|
"gasprice": {
|
|
"v": 2,
|
|
"d": "Base fee of the GASPRICE opcode"
|
|
},
|
|
"extcodesize": {
|
|
"v": 20,
|
|
"d": "Base fee of the EXTCODESIZE opcode"
|
|
},
|
|
"extcodecopy": {
|
|
"v": 20,
|
|
"d": "Base fee of the EXTCODECOPY opcode"
|
|
},
|
|
"blockhash": {
|
|
"v": 20,
|
|
"d": "Base fee of the BLOCKHASH opcode"
|
|
},
|
|
"coinbase": {
|
|
"v": 2,
|
|
"d": "Base fee of the COINBASE opcode"
|
|
},
|
|
"timestamp": {
|
|
"v": 2,
|
|
"d": "Base fee of the TIMESTAMP opcode"
|
|
},
|
|
"number": {
|
|
"v": 2,
|
|
"d": "Base fee of the NUMBER opcode"
|
|
},
|
|
"difficulty": {
|
|
"v": 2,
|
|
"d": "Base fee of the DIFFICULTY opcode"
|
|
},
|
|
"gaslimit": {
|
|
"v": 2,
|
|
"d": "Base fee of the GASLIMIT opcode"
|
|
},
|
|
"pop": {
|
|
"v": 2,
|
|
"d": "Base fee of the POP opcode"
|
|
},
|
|
"mload": {
|
|
"v": 3,
|
|
"d": "Base fee of the MLOAD opcode"
|
|
},
|
|
"mstore": {
|
|
"v": 3,
|
|
"d": "Base fee of the MSTORE opcode"
|
|
},
|
|
"mstore8": {
|
|
"v": 3,
|
|
"d": "Base fee of the MSTORE8 opcode"
|
|
},
|
|
"sstore": {
|
|
"v": 0,
|
|
"d": "Base fee of the SSTORE opcode"
|
|
},
|
|
"jump": {
|
|
"v": 8,
|
|
"d": "Base fee of the JUMP opcode"
|
|
},
|
|
"jumpi": {
|
|
"v": 10,
|
|
"d": "Base fee of the JUMPI opcode"
|
|
},
|
|
"pc": {
|
|
"v": 2,
|
|
"d": "Base fee of the PC opcode"
|
|
},
|
|
"msize": {
|
|
"v": 2,
|
|
"d": "Base fee of the MSIZE opcode"
|
|
},
|
|
"gas": {
|
|
"v": 2,
|
|
"d": "Base fee of the GAS opcode"
|
|
},
|
|
"push": {
|
|
"v": 3,
|
|
"d": "Base fee of the PUSH opcode"
|
|
},
|
|
"dup": {
|
|
"v": 3,
|
|
"d": "Base fee of the DUP opcode"
|
|
},
|
|
"swap": {
|
|
"v": 3,
|
|
"d": "Base fee of the SWAP opcode"
|
|
},
|
|
"callcode": {
|
|
"v": 40,
|
|
"d": "Base fee of the CALLCODE opcode"
|
|
},
|
|
"return": {
|
|
"v": 0,
|
|
"d": "Base fee of the RETURN opcode"
|
|
},
|
|
"invalid": {
|
|
"v": 0,
|
|
"d": "Base fee of the INVALID opcode"
|
|
},
|
|
"selfdestruct": {
|
|
"v": 0,
|
|
"d": "Base fee of the SELFDESTRUCT opcode"
|
|
}
|
|
},
|
|
"vm": {
|
|
"stackLimit": {
|
|
"v": 1024,
|
|
"d": "Maximum size of VM stack allowed"
|
|
},
|
|
"callCreateDepth": {
|
|
"v": 1024,
|
|
"d": "Maximum depth of call/create stack"
|
|
},
|
|
"maxExtraDataSize": {
|
|
"v": 32,
|
|
"d": "Maximum size extra data may be after Genesis"
|
|
}
|
|
},
|
|
"pow": {
|
|
"minimumDifficulty": {
|
|
"v": 131072,
|
|
"d": "The minimum that the difficulty may ever be"
|
|
},
|
|
"difficultyBoundDivisor": {
|
|
"v": 2048,
|
|
"d": "The bound divisor of the difficulty, used in the update calculations"
|
|
},
|
|
"durationLimit": {
|
|
"v": 13,
|
|
"d": "The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"
|
|
},
|
|
"epochDuration": {
|
|
"v": 30000,
|
|
"d": "Duration between proof-of-work epochs"
|
|
},
|
|
"timebombPeriod": {
|
|
"v": 100000,
|
|
"d": "Exponential difficulty timebomb period"
|
|
},
|
|
"minerReward": {
|
|
"v": "5000000000000000000",
|
|
"d": "the amount a miner get rewarded for mining a block"
|
|
},
|
|
"difficultyBombDelay": {
|
|
"v": 0,
|
|
"d": "the amount of blocks to delay the difficulty bomb with"
|
|
}
|
|
}
|
|
}
|