Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multi-contracts #35

Merged
merged 5 commits into from
Jun 6, 2023
Merged

Conversation

andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented May 23, 2023

Related to #31.

Now, building the multisig contract would result into the following artifacts.json:

{
    "buildMetadata": {
        ...
    },
    "buildOptions": {
        ...
        "specificContract": "multisig",
        "buildRootFolder": "/tmp/project"
    },
    "contracts": {
        "multisig-full": {
            "version": "0.0.0",
            "codehash": "6a739f31c52fd2284ff77a8ef6f5c50f94ab8511fe1f772e5400d3c0e425a46b",
            "artifacts": {
                "bytecode": "multisig-full.wasm",
                "abi": "multisig-full.abi.json",
                "srcPackage": "multisig-0.0.0.source.json"
            }
        },
        "multisig-view": {
            "version": "0.0.0",
            "codehash": "50da33a67b84a8b754ac8efdb30cb9424ff2173622a6d6083522c21f36bde8ac",
            "artifacts": {
                "bytecode": "multisig-view.wasm",
                "abi": "multisig-view.abi.json",
                "srcPackage": "multisig-0.0.0.source.json"
            }
        },
        "multisig": {
            "version": "0.0.0",
            "codehash": "5cc02a06d3c921a31ecbfe351a69ac2309c7c42a4a82152ee0df09cf8c4c73b6",
            "artifacts": {
                "bytecode": "multisig.wasm",
                "abi": "multisig.abi.json",
                "srcPackage": "multisig-0.0.0.source.json"
            }
        }
    }
}

@andreibancioiu andreibancioiu self-assigned this May 23, 2023
@andreibancioiu andreibancioiu marked this pull request as ready for review May 23, 2023 17:52
@andreibancioiu andreibancioiu changed the title Sketch support for multi-contracts Add support for multi-contracts May 24, 2023
@andreibancioiu andreibancioiu merged commit 861c411 into main Jun 6, 2023
2 checks passed
@andreibancioiu andreibancioiu deleted the support-multicontracts branch June 6, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants