chainstart.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. {
  2. "name": "chainstart",
  3. "comment": "Start of the Ethereum main chain",
  4. "url": "",
  5. "status": "",
  6. "gasConfig": {
  7. "minGasLimit": {
  8. "v": 5000,
  9. "d": "Minimum the gas limit may ever be"
  10. },
  11. "gasLimitBoundDivisor": {
  12. "v": 1024,
  13. "d": "The bound divisor of the gas limit, used in update calculations"
  14. },
  15. "maxRefundQuotient": {
  16. "v": 2,
  17. "d": "Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"
  18. }
  19. },
  20. "gasPrices": {
  21. "base": {
  22. "v": 2,
  23. "d": "Gas base cost, used e.g. for ChainID opcode (Istanbul)"
  24. },
  25. "tierStep": {
  26. "v": [
  27. 0,
  28. 2,
  29. 3,
  30. 5,
  31. 8,
  32. 10,
  33. 20
  34. ],
  35. "d": "Once per operation, for a selection of them"
  36. },
  37. "exp": {
  38. "v": 10,
  39. "d": "Base fee of the EXP opcode"
  40. },
  41. "expByte": {
  42. "v": 10,
  43. "d": "Times ceil(log256(exponent)) for the EXP instruction"
  44. },
  45. "sha3": {
  46. "v": 30,
  47. "d": "Base fee of the SHA3 opcode"
  48. },
  49. "sha3Word": {
  50. "v": 6,
  51. "d": "Once per word of the SHA3 operation's data"
  52. },
  53. "sload": {
  54. "v": 50,
  55. "d": "Base fee of the SLOAD opcode"
  56. },
  57. "sstoreSet": {
  58. "v": 20000,
  59. "d": "Once per SSTORE operation if the zeroness changes from zero"
  60. },
  61. "sstoreReset": {
  62. "v": 5000,
  63. "d": "Once per SSTORE operation if the zeroness does not change from zero"
  64. },
  65. "sstoreRefund": {
  66. "v": 15000,
  67. "d": "Once per SSTORE operation if the zeroness changes to zero"
  68. },
  69. "jumpdest": {
  70. "v": 1,
  71. "d": "Base fee of the JUMPDEST opcode"
  72. },
  73. "log": {
  74. "v": 375,
  75. "d": "Base fee of the LOG opcode"
  76. },
  77. "logData": {
  78. "v": 8,
  79. "d": "Per byte in a LOG* operation's data"
  80. },
  81. "logTopic": {
  82. "v": 375,
  83. "d": "Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"
  84. },
  85. "create": {
  86. "v": 32000,
  87. "d": "Base fee of the CREATE opcode"
  88. },
  89. "call": {
  90. "v": 40,
  91. "d": "Base fee of the CALL opcode"
  92. },
  93. "callStipend": {
  94. "v": 2300,
  95. "d": "Free gas given at beginning of call"
  96. },
  97. "callValueTransfer": {
  98. "v": 9000,
  99. "d": "Paid for CALL when the value transfor is non-zero"
  100. },
  101. "callNewAccount": {
  102. "v": 25000,
  103. "d": "Paid for CALL when the destination address didn't exist prior"
  104. },
  105. "selfdestructRefund": {
  106. "v": 24000,
  107. "d": "Refunded following a selfdestruct operation"
  108. },
  109. "memory": {
  110. "v": 3,
  111. "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"
  112. },
  113. "quadCoeffDiv": {
  114. "v": 512,
  115. "d": "Divisor for the quadratic particle of the memory cost equation"
  116. },
  117. "createData": {
  118. "v": 200,
  119. "d": ""
  120. },
  121. "tx": {
  122. "v": 21000,
  123. "d": "Per transaction. NOTE: Not payable on data of calls between transactions"
  124. },
  125. "txCreation": {
  126. "v": 32000,
  127. "d": "The cost of creating a contract via tx"
  128. },
  129. "txDataZero": {
  130. "v": 4,
  131. "d": "Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"
  132. },
  133. "txDataNonZero": {
  134. "v": 68,
  135. "d": "Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"
  136. },
  137. "copy": {
  138. "v": 3,
  139. "d": "Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"
  140. },
  141. "ecRecover": {
  142. "v": 3000,
  143. "d": ""
  144. },
  145. "sha256": {
  146. "v": 60,
  147. "d": ""
  148. },
  149. "sha256Word": {
  150. "v": 12,
  151. "d": ""
  152. },
  153. "ripemd160": {
  154. "v": 600,
  155. "d": ""
  156. },
  157. "ripemd160Word": {
  158. "v": 120,
  159. "d": ""
  160. },
  161. "identity": {
  162. "v": 15,
  163. "d": ""
  164. },
  165. "identityWord": {
  166. "v": 3,
  167. "d": ""
  168. },
  169. "stop": {
  170. "v": 0,
  171. "d": "Base fee of the STOP opcode"
  172. },
  173. "add": {
  174. "v": 3,
  175. "d": "Base fee of the ADD opcode"
  176. },
  177. "mul": {
  178. "v": 5,
  179. "d": "Base fee of the MUL opcode"
  180. },
  181. "sub": {
  182. "v": 3,
  183. "d": "Base fee of the SUB opcode"
  184. },
  185. "div": {
  186. "v": 5,
  187. "d": "Base fee of the DIV opcode"
  188. },
  189. "sdiv": {
  190. "v": 5,
  191. "d": "Base fee of the SDIV opcode"
  192. },
  193. "mod": {
  194. "v": 5,
  195. "d": "Base fee of the MOD opcode"
  196. },
  197. "smod": {
  198. "v": 5,
  199. "d": "Base fee of the SMOD opcode"
  200. },
  201. "addmod": {
  202. "v": 8,
  203. "d": "Base fee of the ADDMOD opcode"
  204. },
  205. "mulmod": {
  206. "v": 8,
  207. "d": "Base fee of the MULMOD opcode"
  208. },
  209. "signextend": {
  210. "v": 5,
  211. "d": "Base fee of the SIGNEXTEND opcode"
  212. },
  213. "lt": {
  214. "v": 3,
  215. "d": "Base fee of the LT opcode"
  216. },
  217. "gt": {
  218. "v": 3,
  219. "d": "Base fee of the GT opcode"
  220. },
  221. "slt": {
  222. "v": 3,
  223. "d": "Base fee of the SLT opcode"
  224. },
  225. "sgt": {
  226. "v": 3,
  227. "d": "Base fee of the SGT opcode"
  228. },
  229. "eq": {
  230. "v": 3,
  231. "d": "Base fee of the EQ opcode"
  232. },
  233. "iszero": {
  234. "v": 3,
  235. "d": "Base fee of the ISZERO opcode"
  236. },
  237. "and": {
  238. "v": 3,
  239. "d": "Base fee of the AND opcode"
  240. },
  241. "or": {
  242. "v": 3,
  243. "d": "Base fee of the OR opcode"
  244. },
  245. "xor": {
  246. "v": 3,
  247. "d": "Base fee of the XOR opcode"
  248. },
  249. "not": {
  250. "v": 3,
  251. "d": "Base fee of the NOT opcode"
  252. },
  253. "byte": {
  254. "v": 3,
  255. "d": "Base fee of the BYTE opcode"
  256. },
  257. "address": {
  258. "v": 2,
  259. "d": "Base fee of the ADDRESS opcode"
  260. },
  261. "balance": {
  262. "v": 20,
  263. "d": "Base fee of the BALANCE opcode"
  264. },
  265. "origin": {
  266. "v": 2,
  267. "d": "Base fee of the ORIGIN opcode"
  268. },
  269. "caller": {
  270. "v": 2,
  271. "d": "Base fee of the CALLER opcode"
  272. },
  273. "callvalue": {
  274. "v": 2,
  275. "d": "Base fee of the CALLVALUE opcode"
  276. },
  277. "calldataload": {
  278. "v": 3,
  279. "d": "Base fee of the CALLDATALOAD opcode"
  280. },
  281. "calldatasize": {
  282. "v": 2,
  283. "d": "Base fee of the CALLDATASIZE opcode"
  284. },
  285. "calldatacopy": {
  286. "v": 3,
  287. "d": "Base fee of the CALLDATACOPY opcode"
  288. },
  289. "codesize": {
  290. "v": 2,
  291. "d": "Base fee of the CODESIZE opcode"
  292. },
  293. "codecopy": {
  294. "v": 3,
  295. "d": "Base fee of the CODECOPY opcode"
  296. },
  297. "gasprice": {
  298. "v": 2,
  299. "d": "Base fee of the GASPRICE opcode"
  300. },
  301. "extcodesize": {
  302. "v": 20,
  303. "d": "Base fee of the EXTCODESIZE opcode"
  304. },
  305. "extcodecopy": {
  306. "v": 20,
  307. "d": "Base fee of the EXTCODECOPY opcode"
  308. },
  309. "blockhash": {
  310. "v": 20,
  311. "d": "Base fee of the BLOCKHASH opcode"
  312. },
  313. "coinbase": {
  314. "v": 2,
  315. "d": "Base fee of the COINBASE opcode"
  316. },
  317. "timestamp": {
  318. "v": 2,
  319. "d": "Base fee of the TIMESTAMP opcode"
  320. },
  321. "number": {
  322. "v": 2,
  323. "d": "Base fee of the NUMBER opcode"
  324. },
  325. "difficulty": {
  326. "v": 2,
  327. "d": "Base fee of the DIFFICULTY opcode"
  328. },
  329. "gaslimit": {
  330. "v": 2,
  331. "d": "Base fee of the GASLIMIT opcode"
  332. },
  333. "pop": {
  334. "v": 2,
  335. "d": "Base fee of the POP opcode"
  336. },
  337. "mload": {
  338. "v": 3,
  339. "d": "Base fee of the MLOAD opcode"
  340. },
  341. "mstore": {
  342. "v": 3,
  343. "d": "Base fee of the MSTORE opcode"
  344. },
  345. "mstore8": {
  346. "v": 3,
  347. "d": "Base fee of the MSTORE8 opcode"
  348. },
  349. "sstore": {
  350. "v": 0,
  351. "d": "Base fee of the SSTORE opcode"
  352. },
  353. "jump": {
  354. "v": 8,
  355. "d": "Base fee of the JUMP opcode"
  356. },
  357. "jumpi": {
  358. "v": 10,
  359. "d": "Base fee of the JUMPI opcode"
  360. },
  361. "pc": {
  362. "v": 2,
  363. "d": "Base fee of the PC opcode"
  364. },
  365. "msize": {
  366. "v": 2,
  367. "d": "Base fee of the MSIZE opcode"
  368. },
  369. "gas": {
  370. "v": 2,
  371. "d": "Base fee of the GAS opcode"
  372. },
  373. "push": {
  374. "v": 3,
  375. "d": "Base fee of the PUSH opcode"
  376. },
  377. "dup": {
  378. "v": 3,
  379. "d": "Base fee of the DUP opcode"
  380. },
  381. "swap": {
  382. "v": 3,
  383. "d": "Base fee of the SWAP opcode"
  384. },
  385. "callcode": {
  386. "v": 40,
  387. "d": "Base fee of the CALLCODE opcode"
  388. },
  389. "return": {
  390. "v": 0,
  391. "d": "Base fee of the RETURN opcode"
  392. },
  393. "invalid": {
  394. "v": 0,
  395. "d": "Base fee of the INVALID opcode"
  396. },
  397. "selfdestruct": {
  398. "v": 0,
  399. "d": "Base fee of the SELFDESTRUCT opcode"
  400. }
  401. },
  402. "vm": {
  403. "stackLimit": {
  404. "v": 1024,
  405. "d": "Maximum size of VM stack allowed"
  406. },
  407. "callCreateDepth": {
  408. "v": 1024,
  409. "d": "Maximum depth of call/create stack"
  410. },
  411. "maxExtraDataSize": {
  412. "v": 32,
  413. "d": "Maximum size extra data may be after Genesis"
  414. }
  415. },
  416. "pow": {
  417. "minimumDifficulty": {
  418. "v": 131072,
  419. "d": "The minimum that the difficulty may ever be"
  420. },
  421. "difficultyBoundDivisor": {
  422. "v": 2048,
  423. "d": "The bound divisor of the difficulty, used in the update calculations"
  424. },
  425. "durationLimit": {
  426. "v": 13,
  427. "d": "The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"
  428. },
  429. "epochDuration": {
  430. "v": 30000,
  431. "d": "Duration between proof-of-work epochs"
  432. },
  433. "timebombPeriod": {
  434. "v": 100000,
  435. "d": "Exponential difficulty timebomb period"
  436. },
  437. "minerReward": {
  438. "v": "5000000000000000000",
  439. "d": "the amount a miner get rewarded for mining a block"
  440. },
  441. "difficultyBombDelay": {
  442. "v": 0,
  443. "d": "the amount of blocks to delay the difficulty bomb with"
  444. }
  445. }
  446. }