示例#1
0
    def run(self):
        from raiden_contracts.contract_manager import (
            ContractManager,
            contracts_precompiled_path,
            contracts_source_path,
        )

        contract_manager = ContractManager(contracts_source_path())
        contract_manager.compile_contracts(contracts_precompiled_path())
示例#2
0
    def run(self):
        from raiden_contracts.contract_manager import (
            ContractManager,
            CONTRACTS_PRECOMPILED_PATH,
            CONTRACTS_SOURCE_DIRS,
        )

        contract_manager = ContractManager(CONTRACTS_SOURCE_DIRS)
        contract_manager.compile_contracts(CONTRACTS_PRECOMPILED_PATH)