Skip to main content
Pre-release

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

oracle-predeployed

Description

A tool for generating predeployed oracle smart contract

Installation

pip install oracle-predeployed

Usage example

from oracle_predeployed import  UpgradeableOracleUpgradeableGenerator, ORACLE_ADDRESS, ORACLE_IMPLEMENTATION_ADDRESS

OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'

oracle_generator = UpgradeableOracleUpgradeableGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **oracle_generator.generate_allocation(
            contract_address=ORACLE_ADDRESS,
            implementation_address=ORACLE_IMPLEMENTATION_ADDRESS,
            schain_owner=OWNER_ADDRESS,
            proxy_admin_address=PROXY_ADMIN_ADDRESS
        )
    }
}

Metadata

Release files for oracle-predeployed 1.0.0a4

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

Source distribution (sdist)

Source distribution for oracle-predeployed 1.0.0a4
File Size Uploaded Provenance Actions
oracle_predeployed-1.0.0a4.tar.gz 12.2 kB Without provenance Details for oracle_predeployed-1.0.0a4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oracle-predeployed 1.0.0a4
File Interpreter ABI Platform Actions
oracle_predeployed-1.0.0a4-py3-none-any.whl Python 3 none any Details for oracle_predeployed-1.0.0a4-py3-none-any.whl

Total release size: 26.4 kB

Release files / oracle_predeployed-1.0.0a4.tar.gz

Download URL oracle_predeployed-1.0.0a4.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
60afa0f3d199c03af10f3867bff2f6148ce63773834b1a96a3ab01cd880143d0
BLAKE2b-256 checksum
How to use checksums
6021717b332809510d83df5ae31d7111b51a878806472fe72c8fcddf7b02c400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.20

Release files / oracle_predeployed-1.0.0a4-py3-none-any.whl

Download URL oracle_predeployed-1.0.0a4-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
300b0a614de0a397898b116e649150633ef27aa88add1c3c6d4ecfdf83431332
BLAKE2b-256 checksum
How to use checksums
4e55d884f2bc175368a76d6de178f88bbbf25859531807786cf75709db1bbcde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.20

Security for oracle-predeployed 1.0.0a4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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