import { ContractConfig, Feature, FunctionConfig, MintConfig, ProjectConfig } from "@patchworkdev/common/types";

const assetsProjectConfig: ProjectConfig = {
    name: "assets",
    scopes: [
        {
            name: "myscope",
            whitelist: true,
            userAssign: false,
            userPatch: false,
            mintConfigs: {},
            patchFees: {},
            assignFees: {}
        }
    ],
    contracts: {
        "MyAsset": {
            scopeName: "myscope",
            name: "MyAsset",
            symbol: "ASSET",
            baseURI: "https://replace-me-with-website/",
            schemaURI: "https://replace-me-with-website/schemas/asset.json",
            imageURI: "https://replace-me-with-website/assets/asset/{tokenID}",
            fields: [
                {
                    id: 0,
                    key: "description",
                    type: "char32",
                    description: "Asset Description",
                },
                {
                    id: 1,
                    key: "tag",
                    type: "uint32",
                    description: "Asset tag (unique)",
                    functionConfig: FunctionConfig.LOAD,
                },
                {
                    id: 2,
                    key: "status",
                    type: "uint8",
                    description: "Status (0 = None, 1 = Current, 2 = Disposed)",
                },
                {
                    id: 3,
                    key: "location",
                    type: "address",
                    description: "Where is this asset or who is currently in possession of it",
                }
            ],
            features: [Feature.MINTABLE],
            fragments: []
        }
    }
};

export default assetsProjectConfig;