forked from 0xPolygonHermez/zkevm-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_network-config-doc.html
1 lines (1 loc) · 10.7 KB
/
custom_network-config-doc.html
1
<!DOCTYPE html><html lang=en> <head><link rel=stylesheet type=text/css href="https://fonts.googleapis.com/css?family=Overpass:300,400,600,800"><script src=https://code.jquery.com/jquery-3.4.1.min.js integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin=anonymous></script><link href=https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css rel=stylesheet integrity=sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T crossorigin=anonymous><script src=https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js integrity=sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM crossorigin=anonymous></script><link rel=stylesheet type=text/css href=schema_doc.css><script src=https://use.fontawesome.com/facf9fa52c.js></script><script src=schema_doc.min.js></script><meta charset=utf-8><title>Schema Docs</title></head> <body onload=anchorOnLoad(); id=root><div class=text-right> <button class="btn btn-primary" type=button data-toggle=collapse data-target=.collapse:not(.show) aria-expanded=false>Expand all</button> <button class="btn btn-primary" type=button data-toggle=collapse data-target=.collapse.show aria-expanded=false>Collapse all</button> </div> <span class=description><p>GenesisFromJSON is the config file for network_custom</p> </span> <div class=breadcrumbs> <!-- None --><a href=#root onclick="anchorLink('root')">root=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <span class=description><p>L1: root hash of the genesis block</p> </span> <hr> <div class=breadcrumbs> <!-- None --><a href=#genesisBlockNumber onclick="anchorLink('genesisBlockNumber')">genesisBlockNumber=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> <span class=description><p>L1: block number of the genesis block</p> </span> <hr> <div class=breadcrumbs> <!-- None --><a href=#genesis onclick="anchorLink('genesis')">genesis=</a> </div><span class="badge badge-dark value-type">Type: array of object</span><br> <span class=description><p>L2: List of states contracts used to populate merkle tree at initial state</p> </span> <h4>Each item of this array must be:</h4> <div class=card> <div class="card-body items-definition" id=genesis_items> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.balance" onclick="anchorLink('genesis.genesis items.balance')">genesis.genesis items.balance=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.nonce" onclick="anchorLink('genesis.genesis items.nonce')">genesis.genesis items.nonce=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.address" onclick="anchorLink('genesis.genesis items.address')">genesis.genesis items.address=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.bytecode" onclick="anchorLink('genesis.genesis items.bytecode')">genesis.genesis items.bytecode=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> <div class=accordion id=accordiongenesis_items_storage> <div class=card> <div class=card-header id=headinggenesis_items_storage> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#genesis_items_storage aria-expanded aria-controls=genesis_items_storage onclick="setAnchor('#genesis_items_storage')"><span class=property-name> <div class=breadcrumbs>[<a href=#genesis onclick="anchorLink('genesis')">genesis</a> . <a href=#genesis_items onclick="anchorLink('genesis_items')">genesis items</a> . <a href=#genesis_items_storage onclick="anchorLink('genesis_items_storage')">storage</a>] </div></span></button> </h2> </div> <div id=genesis_items_storage class="collapse property-definition-div" aria-labelledby=headinggenesis_items_storage data-parent=#accordiongenesis_items_storage> <div class="card-body pl-5"> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.storage.additionalProperties" onclick="anchorLink('genesis.genesis items.storage.additionalProperties')">genesis.genesis items.storage.additionalProperties=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> </div> </div> </div> </div> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#genesis.genesis items.contractName" onclick="anchorLink('genesis.genesis items.contractName')">genesis.genesis items.contractName=</a> </div><span class="badge badge-dark value-type">Type: string</span><br> <hr> </div> </div> <hr> <div class=accordion id=accordionL1Config> <div class=card> <div class=card-header id=headingL1Config> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#L1Config aria-expanded aria-controls=L1Config onclick="setAnchor('#L1Config')"><span class=property-name> <div class=breadcrumbs>[<a href=#L1Config onclick="anchorLink('L1Config')">L1Config</a>] </div></span></button> </h2> L1: configuration of the network </div> <div id=L1Config class="collapse property-definition-div" aria-labelledby=headingL1Config data-parent=#accordionL1Config> <div class="card-body pl-5"> <div class=breadcrumbs> <!-- None --><!-- None --><a href=#L1Config.chainId onclick="anchorLink('L1Config.chainId')">L1Config.chainId=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> <span class=description><p>Chain ID of the L1 network</p> </span> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><a href=#L1Config.polygonZkEVMAddress onclick="anchorLink('L1Config.polygonZkEVMAddress')">L1Config.polygonZkEVMAddress=</a> </div><span class="badge badge-dark value-type">Type: array of integer</span><br> <span class=description><p>ZkEVMAddr Address of the L1 contract polygonZkEVMAddress</p> </span> <p><span class="badge badge-light restriction min-items-restriction" id=L1Config_polygonZkEVMAddress_minItems>Must contain a minimum of <code>20</code> items</span></p><p><span class="badge badge-light restriction max-items-restriction" id=L1Config_polygonZkEVMAddress_maxItems>Must contain a maximum of <code>20</code> items</span></p><h4>Each item of this array must be:</h4> <div class=card> <div class="card-body items-definition" id=L1Config_polygonZkEVMAddress_items> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#L1Config.polygonZkEVMAddress.polygonZkEVMAddress items" onclick="anchorLink('L1Config.polygonZkEVMAddress.polygonZkEVMAddress items')">L1Config.polygonZkEVMAddress.polygonZkEVMAddress items=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> </div> </div> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><a href=#L1Config.polygonRollupManagerAddress onclick="anchorLink('L1Config.polygonRollupManagerAddress')">L1Config.polygonRollupManagerAddress=</a> </div><span class="badge badge-dark value-type">Type: array of integer</span><br> <span class=description><p>RollupManagerAddr Address of the L1 contract</p> </span> <p><span class="badge badge-light restriction min-items-restriction" id=L1Config_polygonRollupManagerAddress_minItems>Must contain a minimum of <code>20</code> items</span></p><p><span class="badge badge-light restriction max-items-restriction" id=L1Config_polygonRollupManagerAddress_maxItems>Must contain a maximum of <code>20</code> items</span></p><h4>Each item of this array must be:</h4> <div class=card> <div class="card-body items-definition" id=L1Config_polygonRollupManagerAddress_items> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#L1Config.polygonRollupManagerAddress.polygonRollupManagerAddress items" onclick="anchorLink('L1Config.polygonRollupManagerAddress.polygonRollupManagerAddress items')">L1Config.polygonRollupManagerAddress.polygonRollupManagerAddress items=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> </div> </div> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><a href=#L1Config.polTokenAddress onclick="anchorLink('L1Config.polTokenAddress')">L1Config.polTokenAddress=</a> </div><span class="badge badge-dark value-type">Type: array of integer</span><br> <span class=description><p>PolAddr Address of the L1 Pol token Contract</p> </span> <p><span class="badge badge-light restriction min-items-restriction" id=L1Config_polTokenAddress_minItems>Must contain a minimum of <code>20</code> items</span></p><p><span class="badge badge-light restriction max-items-restriction" id=L1Config_polTokenAddress_maxItems>Must contain a maximum of <code>20</code> items</span></p><h4>Each item of this array must be:</h4> <div class=card> <div class="card-body items-definition" id=L1Config_polTokenAddress_items> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#L1Config.polTokenAddress.polTokenAddress items" onclick="anchorLink('L1Config.polTokenAddress.polTokenAddress items')">L1Config.polTokenAddress.polTokenAddress items=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> </div> </div> <hr> <div class=breadcrumbs> <!-- None --><!-- None --><a href=#L1Config.polygonZkEVMGlobalExitRootAddress onclick="anchorLink('L1Config.polygonZkEVMGlobalExitRootAddress')">L1Config.polygonZkEVMGlobalExitRootAddress=</a> </div><span class="badge badge-dark value-type">Type: array of integer</span><br> <span class=description><p>GlobalExitRootManagerAddr Address of the L1 GlobalExitRootManager contract</p> </span> <p><span class="badge badge-light restriction min-items-restriction" id=L1Config_polygonZkEVMGlobalExitRootAddress_minItems>Must contain a minimum of <code>20</code> items</span></p><p><span class="badge badge-light restriction max-items-restriction" id=L1Config_polygonZkEVMGlobalExitRootAddress_maxItems>Must contain a maximum of <code>20</code> items</span></p><h4>Each item of this array must be:</h4> <div class=card> <div class="card-body items-definition" id=L1Config_polygonZkEVMGlobalExitRootAddress_items> <div class=breadcrumbs> <!-- None --><!-- None --><!-- None --><a href="#L1Config.polygonZkEVMGlobalExitRootAddress.polygonZkEVMGlobalExitRootAddress items" onclick="anchorLink('L1Config.polygonZkEVMGlobalExitRootAddress.polygonZkEVMGlobalExitRootAddress items')">L1Config.polygonZkEVMGlobalExitRootAddress.polygonZkEVMGlobalExitRootAddress items=</a> </div><span class="badge badge-dark value-type">Type: integer</span><br> </div> </div> <hr> </div> </div> </div> </div> <footer> <p class=generated-by-footer>Generated using <a href=https://github.com/coveooss/json-schema-for-humans>json-schema-for-humans</a></p> </footer></body> </html>