All files / src/codegen/test_data/project_configs project-config.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36      3x                                                               3x
import { ContractConfig, ContractRelation, Feature, FunctionConfig, MintConfig, ProjectConfig } from "@patchworkdev/common/types";
 
 
const exampleProjectProjectConfig: ProjectConfig = {
    name: "Example Project",
    scopes: [
        {
            name: "MyScope",
            owner: "0x222222cf1046e68e36E1aA2E0E07105eDDD1f08E",
            whitelist: true,
            userAssign: false,
            userPatch: false,
            bankers: ["0x000000254729296a45a3885639AC7E10F9d54979", "Contract1"],
            operators: ["0x000000111129296a45a3885639AC7E10F9d54979", "Contract1"],
            mintConfigs: {
                "0xc0ffee254729296a45a3885639AC7E10F9d54979": {
                    flatFee: 0,
                    active: true
                }
            },
            patchFees: {"0x999999cf1046e68e36E1aA2E0E07105eDDD1f08E": 0},
            assignFees: {"0x555555cf1046e68e36E1aA2E0E07105eDDD1f08E": 0}
        }
    ],
    contracts: {
        "Contract1": "config1.json",
        "Contract2": "config2.json"
    },
    contractRelations: {
        "Contract1": {
            fragments: ["Contract2"]
        }
    }
};
 
export default exampleProjectProjectConfig;