Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

deploy-controller-predeployed

Description

A tool for generating predeployed deploy-controller smart contract

Installation

pip install deploy-controller-predeployed

Usage example

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
        )
    }
}

Release files for deployment-controller-predeployed 1.0.0.dev3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deployment-controller-predeployed 1.0.0.dev3
File Size Uploaded
deployment-controller-predeployed-1.0.0.dev3.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deployment-controller-predeployed 1.0.0.dev3
File Interpreter ABI Platform
deployment_controller_predeployed-1.0.0.dev3-py3-none-any.whl Python 3 none any Details

Total release size: 44.8 kB

Release files / deployment-controller-predeployed-1.0.0.dev3.tar.gz

Download URL deployment-controller-predeployed-1.0.0.dev3.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9ed588bef85d67f9a64f42e619c0d87eccb78538935605be111980435aec7785
BLAKE2b-256 checksum
How to use checksums
d826332bb8ed906d782a6186cd3652d19d8498fce52b21596cd5fcb8f8f13fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release files / deployment_controller_predeployed-1.0.0.dev3-py3-none-any.whl

Download URL deployment_controller_predeployed-1.0.0.dev3-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a524eff98a7511b03fc67b811f2d97b899a58a1b45b604d0ac34816a49973818
BLAKE2b-256 checksum
How to use checksums
7afd953215f4affcb963ee349b6ce63e04de5b0b138b49a8a5297e04bc6a24b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page