UNPKG

@vaimee/my3sec-contracts

Version:

A set of contracts that implements the My3Sec protocol

135 lines (134 loc) 3.49 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ISkillRegistry__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { components: [ { internalType: "string", name: "metadataURI", type: "string", }, ], internalType: "struct DataTypes.CreateSkill", name: "args", type: "tuple", }, ], name: "createSkill", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getBaseURI", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256", }, ], name: "getSkill", outputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256", }, { internalType: "string", name: "metadataURI", type: "string", }, ], internalType: "struct DataTypes.SkillView", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getSkillCount", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "baseURI", type: "string", }, ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256", }, { components: [ { internalType: "string", name: "metadataURI", type: "string", }, ], internalType: "struct DataTypes.UpdateSkill", name: "args", type: "tuple", }, ], name: "updateSkill", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class ISkillRegistry__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ISkillRegistry__factory = ISkillRegistry__factory; ISkillRegistry__factory.abi = _abi;