def everything_deployed(project, chain, web3, accounts, deploy_address) -> dict:
    """Deploy our token plan."""
    yaml_filename = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..","crowdsales", "allocated-token-sale-acceptance-test.yml"))
    deployment_name = "testrpc"
    chain_data = load_crowdsale_definitions(yaml_filename, deployment_name)
    runtime_data, statistics, contracts = _deploy_contracts(project, chain, web3, yaml_filename, chain_data, deploy_address)
    return contracts
Пример #2
0
def everything_deployed(project, chain, web3, accounts, deploy_address) -> dict:
    """Deploy our token plan."""
    yaml_filename = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..","crowdsales", "allocated-token-sale-acceptance-test.yml"))
    deployment_name = "testrpc"
    chain_data = load_crowdsale_definitions(yaml_filename, deployment_name)
    runtime_data, statistics, contracts = _deploy_contracts(project, chain, web3, yaml_filename, chain_data, deploy_address)
    return contracts
Пример #3
0
def everything_deployed(project, chain, web3, accounts, deploy_address):
    """Deploy our token plan."""
    yaml_filename = os.path.join(os.path.dirname(__file__), "..", "crowdsales",
                                 "mysterium-testrpc.yml")
    deployment_name = "kovan"
    chain_data = load_crowdsale_definitions(yaml_filename, deployment_name)
    runtime_data, statistics, contracts = _deploy_contracts(
        project, chain, web3, yaml_filename, chain_data, deploy_address)
    return contracts