Metadata-Version: 2.1
Name: deployment-controller-predeployed
Version: 1.0.0.dev2
Summary: A tool for generating predeployed deployment controller smart contract
Home-page: https://github.com/skalenetwork/deploy-controller
Author: SKALE Labs
Author-email: support@skalelabs.com
License: UNKNOWN
Description: # deploy-controller-predeployed
        ## Description
        
        A tool for generating predeployed deploy-controller smart contract
        
        ## Installation
        
        ```console
        pip install deploy-controller-predeployed
        ```
        
        ## Usage example
        
        ```python
        from deployment_controller_predeployed import  (UpgradeableDeploymentControllerGenerator, 
                                                        DEPLOYMENT_CONTROLLER_ADDRESS, 
                                                        DEPLOYMENT_CONTROLLER_IMPLEMENTATION_ADDRESS)
        
        OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
        PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'
        
        deployment_generator = UpgradeableDeploymentControllerGenerator()
        
        genesis = {
            # genesis block parameters
            'alloc': {
                **deployment_generator.generate_allocation(
                    contract_address=DEPLOYMENT_CONTROLLER_ADDRESS,
                    implementation_address=DEPLOYMENT_CONTROLLER_IMPLEMENTATION_ADDRESS,
                    schain_owner=OWNER_ADDRESS,
                    proxy_admin_address=PROXY_ADMIN_ADDRESS
                )
            }
        }
        
        ```
Keywords: skale,predeployed
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7,<4
Description-Content-Type: text/markdown
Provides-Extra: linter
Provides-Extra: dev
