@vaimee/my3sec-contracts
Version:
A set of contracts that implements the My3Sec protocol
127 lines (126 loc) • 2.75 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ISkillRegistry",
"sourceName": "contracts/common/interfaces/ISkillRegistry.sol",
"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"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}