diff --git a/.gitignore b/.gitignore index b675787..524331c 100644 --- a/.gitignore +++ b/.gitignore @@ -272,3 +272,6 @@ build/ types/typechain bin/ types + + +abi/ \ No newline at end of file diff --git a/abi/@openzeppelin/contracts/access/Ownable.sol/Ownable.json b/abi/@openzeppelin/contracts/access/Ownable.sol/Ownable.json deleted file mode 100644 index d281aea..0000000 --- a/abi/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/@openzeppelin/contracts/proxy/Clones.sol/Clones.json b/abi/@openzeppelin/contracts/proxy/Clones.sol/Clones.json deleted file mode 100644 index abb1f59..0000000 --- a/abi/@openzeppelin/contracts/proxy/Clones.sol/Clones.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "inputs": [], - "name": "ERC1167FailedCreateClone", - "type": "error" - } -] diff --git a/abi/@openzeppelin/contracts/utils/Strings.sol/Strings.json b/abi/@openzeppelin/contracts/utils/Strings.sol/Strings.json deleted file mode 100644 index 4793f6a..0000000 --- a/abi/@openzeppelin/contracts/utils/Strings.sol/Strings.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "StringsInsufficientHexLength", - "type": "error" - } -] diff --git a/abi/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json b/abi/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json deleted file mode 100644 index 53fa000..0000000 --- a/abi/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/abi/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json b/abi/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json deleted file mode 100644 index 53fa000..0000000 --- a/abi/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/abi/@openzeppelin/contracts/utils/math/Math.sol/Math.json b/abi/@openzeppelin/contracts/utils/math/Math.sol/Math.json deleted file mode 100644 index e75de3c..0000000 --- a/abi/@openzeppelin/contracts/utils/math/Math.sol/Math.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "inputs": [], - "name": "MathOverflowedMulDiv", - "type": "error" - } -] diff --git a/abi/src/CodeIndex.sol/CodeIndex.json b/abi/src/CodeIndex.sol/CodeIndex.json deleted file mode 100644 index 1014663..0000000 --- a/abi/src/CodeIndex.sol/CodeIndex.json +++ /dev/null @@ -1,69 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "source", - "type": "address" - } - ], - "name": "alreadyExists", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "container", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "codeHash", - "type": "bytes32" - } - ], - "name": "Indexed", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "get", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "container", - "type": "address" - } - ], - "name": "register", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/ERC7746/ILayer.sol/ILayer.json b/abi/src/ERC7746/ILayer.sol/ILayer.json deleted file mode 100644 index a13ac2f..0000000 --- a/abi/src/ERC7746/ILayer.sol/ILayer.json +++ /dev/null @@ -1,79 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/ICodeIndex.sol/ICodeIndex.json b/abi/src/ICodeIndex.sol/ICodeIndex.json deleted file mode 100644 index 1014663..0000000 --- a/abi/src/ICodeIndex.sol/ICodeIndex.json +++ /dev/null @@ -1,69 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "source", - "type": "address" - } - ], - "name": "alreadyExists", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "container", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "codeHash", - "type": "bytes32" - } - ], - "name": "Indexed", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "get", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "container", - "type": "address" - } - ], - "name": "register", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/abstracts/CloneDistribution.sol/CloneDistribution.json b/abi/src/abstracts/CloneDistribution.sol/CloneDistribution.json deleted file mode 100644 index 6ad4792..0000000 --- a/abi/src/abstracts/CloneDistribution.sol/CloneDistribution.json +++ /dev/null @@ -1,85 +0,0 @@ -[ - { - "inputs": [], - "name": "ERC1167FailedCreateClone", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "distributor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "instances", - "type": "address[]" - } - ], - "name": "Distributed", - "type": "event" - }, - { - "inputs": [], - "name": "get", - "outputs": [ - { - "internalType": "address[]", - "name": "src", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMetadata", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/abstracts/Distributor.sol/Distributor.json b/abi/src/abstracts/Distributor.sol/Distributor.json deleted file mode 100644 index b6d7550..0000000 --- a/abi/src/abstracts/Distributor.sol/Distributor.json +++ /dev/null @@ -1,271 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "InitializerNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "DistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "initializer", - "type": "bytes32" - } - ], - "name": "addDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "getDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributions", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "removeDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/abstracts/Installer.sol/Installer.json b/abi/src/abstracts/Installer.sol/Installer.json deleted file mode 100644 index 4982eba..0000000 --- a/abi/src/abstracts/Installer.sol/Installer.json +++ /dev/null @@ -1,365 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "InvalidDistributor", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "InvalidTarget", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "NotAnInstance", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "permissions", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "Installed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "Uninstalled", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "addDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "distributorOf", - "outputs": [ - { - "internalType": "contract IDistributor", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributors", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "getInstance", - "outputs": [ - { - "internalType": "address[]", - "name": "instaneContracts", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getInstancesNum", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "install", - "outputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "isDistributor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "isInstance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "removeDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "target", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "uninstall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/abstracts/Repository.sol/Repository.json b/abi/src/abstracts/Repository.sol/Repository.json deleted file mode 100644 index 1f4a153..0000000 --- a/abi/src/abstracts/Repository.sol/Repository.json +++ /dev/null @@ -1,451 +0,0 @@ -[ - { - "inputs": [], - "name": "EmptyReleaseMetadata", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseDoesNotExist", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseZeroNotAllowed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionDoesNotExist", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionIncrementInvalid", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "ReleaseMetadataUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "source", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "buildMetadata", - "type": "bytes" - } - ], - "name": "VersionAdded", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "get", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLatest", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - } - ], - "name": "getMajorReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMajorReleases", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - } - ], - "name": "getMinorReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - } - ], - "name": "getMinorReleases", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "patch", - "type": "uint64" - } - ], - "name": "getPatchReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - } - ], - "name": "getPatchReleases", - "outputs": [ - { - "internalType": "uint128", - "name": "", - "type": "uint128" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - } - ], - "name": "newRelease", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "repositoryName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "updateReleaseMetadata", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/abstracts/VersionDistributor.sol/VersionDistributor.json b/abi/src/abstracts/VersionDistributor.sol/VersionDistributor.json deleted file mode 100644 index 25d5ca9..0000000 --- a/abi/src/abstracts/VersionDistributor.sol/VersionDistributor.json +++ /dev/null @@ -1,405 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "InvalidRepository", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "RepositoryAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionOutdated", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "oldRequirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "newRequirement", - "type": "uint8" - } - ], - "name": "RequirementChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "oldVersion", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "newVersion", - "type": "uint256" - } - ], - "name": "VersionChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "VersionedDistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "VersionedDistributionRemoved", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "initializer", - "type": "bytes32" - } - ], - "name": "addVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "changeRequirement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "getVersionedDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getVersionedDistributions", - "outputs": [ - { - "internalType": "address[]", - "name": "repositories", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "removeVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/distributions/CodeHashDistribution.sol/CodeHashDistribution.json b/abi/src/distributions/CodeHashDistribution.sol/CodeHashDistribution.json deleted file mode 100644 index d54cc2b..0000000 --- a/abi/src/distributions/CodeHashDistribution.sol/CodeHashDistribution.json +++ /dev/null @@ -1,137 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "codeHash", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "_metadata", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "ERC1167FailedCreateClone", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "distributor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "instances", - "type": "address[]" - } - ], - "name": "Distributed", - "type": "event" - }, - { - "inputs": [], - "name": "distributionName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "distributionVersion", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "get", - "outputs": [ - { - "internalType": "address[]", - "name": "src", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMetadata", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/distributions/LatestVersionDistribution.sol/LatestVersionDistribution.json b/abi/src/distributions/LatestVersionDistribution.sol/LatestVersionDistribution.json deleted file mode 100644 index e417d62..0000000 --- a/abi/src/distributions/LatestVersionDistribution.sol/LatestVersionDistribution.json +++ /dev/null @@ -1,101 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "_repository", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_metadata", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "ERC1167FailedCreateClone", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "distributor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "instances", - "type": "address[]" - } - ], - "name": "Distributed", - "type": "event" - }, - { - "inputs": [], - "name": "get", - "outputs": [ - { - "internalType": "address[]", - "name": "src", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMetadata", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/distributors/OwnableDistributor.sol/OwnableDistributor.json b/abi/src/distributors/OwnableDistributor.sol/OwnableDistributor.json deleted file mode 100644 index 46a96e2..0000000 --- a/abi/src/distributors/OwnableDistributor.sol/OwnableDistributor.json +++ /dev/null @@ -1,356 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "InitializerNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "DistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "initId", - "type": "bytes32" - } - ], - "name": "addDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "getDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributions", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "removeDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/distributors/OwnableVersionDistributor.sol/OwnableVersionDistributor.json b/abi/src/distributors/OwnableVersionDistributor.sol/OwnableVersionDistributor.json deleted file mode 100644 index 0ced36e..0000000 --- a/abi/src/distributors/OwnableVersionDistributor.sol/OwnableVersionDistributor.json +++ /dev/null @@ -1,490 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "_owner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "InvalidRepository", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "RepositoryAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionOutdated", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "oldRequirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "newRequirement", - "type": "uint8" - } - ], - "name": "RequirementChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "oldVersion", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "newVersion", - "type": "uint256" - } - ], - "name": "VersionChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "VersionedDistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "VersionedDistributionRemoved", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "initializer", - "type": "bytes32" - } - ], - "name": "addVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "changeRequirement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "getVersionedDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getVersionedDistributions", - "outputs": [ - { - "internalType": "address[]", - "name": "repositories", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "removeVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IDistribution.sol/IDistribution.json b/abi/src/interfaces/IDistribution.sol/IDistribution.json deleted file mode 100644 index 40fc212..0000000 --- a/abi/src/interfaces/IDistribution.sol/IDistribution.json +++ /dev/null @@ -1,80 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "distributor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "instances", - "type": "address[]" - } - ], - "name": "Distributed", - "type": "event" - }, - { - "inputs": [], - "name": "get", - "outputs": [ - { - "internalType": "address[]", - "name": "sources", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMetadata", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IDistributor.sol/IDistributor.json b/abi/src/interfaces/IDistributor.sol/IDistributor.json deleted file mode 100644 index 722e595..0000000 --- a/abi/src/interfaces/IDistributor.sol/IDistributor.json +++ /dev/null @@ -1,271 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "InitializerNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "DistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "DistributionRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "initializer", - "type": "bytes32" - } - ], - "name": "addDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "getDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributions", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "ids", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - } - ], - "name": "removeDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IInitializer.sol/IInitializer.json b/abi/src/interfaces/IInitializer.sol/IInitializer.json deleted file mode 100644 index 67e1a7c..0000000 --- a/abi/src/interfaces/IInitializer.sol/IInitializer.json +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "id", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "reason", - "type": "string" - } - ], - "name": "initializationFailed", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "container", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "codeHash", - "type": "bytes32" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IInstaller.sol/IInstaller.json b/abi/src/interfaces/IInstaller.sol/IInstaller.json deleted file mode 100644 index b70f943..0000000 --- a/abi/src/interfaces/IInstaller.sol/IInstaller.json +++ /dev/null @@ -1,365 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "InvalidDistributor", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "InvalidTarget", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "NotAnInstance", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "permissions", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "Installed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "Uninstalled", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "addDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "distributorOf", - "outputs": [ - { - "internalType": "contract IDistributor", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributors", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "getInstance", - "outputs": [ - { - "internalType": "address[]", - "name": "instaneContracts", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getInstancesNum", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "install", - "outputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "isDistributor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "isInstance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "removeDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "target", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "uninstall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IRepository.sol/IRepository.json b/abi/src/interfaces/IRepository.sol/IRepository.json deleted file mode 100644 index 0280e4b..0000000 --- a/abi/src/interfaces/IRepository.sol/IRepository.json +++ /dev/null @@ -1,323 +0,0 @@ -[ - { - "inputs": [], - "name": "EmptyReleaseMetadata", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseDoesNotExist", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseZeroNotAllowed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionDoesNotExist", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionIncrementInvalid", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "ReleaseMetadataUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "source", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "buildMetadata", - "type": "bytes" - } - ], - "name": "VersionAdded", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "get", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLatest", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - } - ], - "name": "newRelease", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "repositoryName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "updateReleaseMetadata", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/interfaces/IVersionDistributor.sol/IVersionDistributor.json b/abi/src/interfaces/IVersionDistributor.sol/IVersionDistributor.json deleted file mode 100644 index e20c568..0000000 --- a/abi/src/interfaces/IVersionDistributor.sol/IVersionDistributor.json +++ /dev/null @@ -1,405 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "InvalidInstance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "InvalidRepository", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "RepositoryAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionOutdated", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes", - "name": "argsHash", - "type": "bytes" - } - ], - "name": "Instantiated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "oldRequirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "enum LibSemver.requirements", - "name": "newRequirement", - "type": "uint8" - } - ], - "name": "RequirementChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "oldVersion", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "newVersion", - "type": "uint256" - } - ], - "name": "VersionChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "initializerId", - "type": "bytes32" - } - ], - "name": "VersionedDistributionAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "VersionedDistributionRemoved", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "initializer", - "type": "bytes32" - } - ], - "name": "addVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "configuration", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "changeRequirement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "getVersionedDistributionURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getVersionedDistributions", - "outputs": [ - { - "internalType": "address[]", - "name": "repositories", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IRepository", - "name": "repository", - "type": "address" - } - ], - "name": "removeVersionedDistribution", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/libraries/LibSemver.sol/LibSemver.json b/abi/src/libraries/LibSemver.sol/LibSemver.json deleted file mode 100644 index 103b3ba..0000000 --- a/abi/src/libraries/LibSemver.sol/LibSemver.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "message", - "type": "string" - } - ], - "name": "versionMissmatch", - "type": "error" - } -] diff --git a/abi/src/mocks/MockCloneDistribution.sol/MockCloneDistribution.json b/abi/src/mocks/MockCloneDistribution.sol/MockCloneDistribution.json deleted file mode 100644 index 6e46d39..0000000 --- a/abi/src/mocks/MockCloneDistribution.sol/MockCloneDistribution.json +++ /dev/null @@ -1,85 +0,0 @@ -[ - { - "inputs": [], - "name": "ERC1167FailedCreateClone", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "distributor", - "type": "address" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "instances", - "type": "address[]" - } - ], - "name": "Distributed", - "type": "event" - }, - { - "inputs": [], - "name": "get", - "outputs": [ - { - "internalType": "address[]", - "name": "src", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMetadata", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "instantiate", - "outputs": [ - { - "internalType": "address[]", - "name": "instances", - "type": "address[]" - }, - { - "internalType": "bytes32", - "name": "distributionName", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "distributionVersion", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/mocks/MockDiamondInitialize.sol/MockDiamondInitialize.json b/abi/src/mocks/MockDiamondInitialize.sol/MockDiamondInitialize.json deleted file mode 100644 index 579ec85..0000000 --- a/abi/src/mocks/MockDiamondInitialize.sol/MockDiamondInitialize.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "testData", - "type": "string" - } - ], - "name": "MockInit", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "init", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/mocks/MockInstaller.sol/MockInstaller.json b/abi/src/mocks/MockInstaller.sol/MockInstaller.json deleted file mode 100644 index 9b35270..0000000 --- a/abi/src/mocks/MockInstaller.sol/MockInstaller.json +++ /dev/null @@ -1,455 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "targetAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "InvalidDistributor", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - } - ], - "name": "InvalidTarget", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "NotAnInstance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "DistributorRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "permissions", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "Installed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "Uninstalled", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "addDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "beforeCallResult", - "type": "bytes" - } - ], - "name": "afterCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "layerConfig", - "type": "bytes" - }, - { - "internalType": "bytes4", - "name": "selector", - "type": "bytes4" - }, - { - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "beforeCall", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "distributorOf", - "outputs": [ - { - "internalType": "contract IDistributor", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getDistributors", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "getInstance", - "outputs": [ - { - "internalType": "address[]", - "name": "instaneContracts", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getInstancesNum", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "distributionId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "install", - "outputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "isDistributor", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "instance", - "type": "address" - } - ], - "name": "isInstance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IDistributor", - "name": "distributor", - "type": "address" - } - ], - "name": "removeDistributor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "target", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "instanceId", - "type": "uint256" - } - ], - "name": "uninstall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] diff --git a/abi/src/mocks/TestFacet.sol/TestFacet.json b/abi/src/mocks/TestFacet.sol/TestFacet.json deleted file mode 100644 index f7aaa62..0000000 --- a/abi/src/mocks/TestFacet.sol/TestFacet.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [], - "name": "Bar", - "type": "event" - }, - { - "inputs": [], - "name": "foo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "ping", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "pure", - "type": "function" - } -] diff --git a/abi/src/repositories/OwnableRepository.sol/OwnableRepository.json b/abi/src/repositories/OwnableRepository.sol/OwnableRepository.json deleted file mode 100644 index d346547..0000000 --- a/abi/src/repositories/OwnableRepository.sol/OwnableRepository.json +++ /dev/null @@ -1,541 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "name", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [], - "name": "EmptyReleaseMetadata", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "OwnableInvalidOwner", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "OwnableUnauthorizedAccount", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseDoesNotExist", - "type": "error" - }, - { - "inputs": [], - "name": "ReleaseZeroNotAllowed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionDoesNotExist", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "version", - "type": "uint256" - } - ], - "name": "VersionIncrementInvalid", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "ReleaseMetadataUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "version", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "bytes32", - "name": "source", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "buildMetadata", - "type": "bytes" - } - ], - "name": "VersionAdded", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "enum LibSemver.requirements", - "name": "requirement", - "type": "uint8" - } - ], - "name": "get", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getLatest", - "outputs": [ - { - "components": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - } - ], - "internalType": "struct IRepository.Source", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - } - ], - "name": "getMajorReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMajorReleases", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - } - ], - "name": "getMinorReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - } - ], - "name": "getMinorReleases", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "patch", - "type": "uint64" - } - ], - "name": "getPatchReleaseMetadata", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - } - ], - "name": "getPatchReleases", - "outputs": [ - { - "internalType": "uint128", - "name": "", - "type": "uint128" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "metadata", - "type": "bytes" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - } - ], - "name": "newRelease", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "repositoryName", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "major", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "minor", - "type": "uint64" - }, - { - "internalType": "uint128", - "name": "patch", - "type": "uint128" - } - ], - "internalType": "struct LibSemver.Version", - "name": "version", - "type": "tuple" - }, - { - "internalType": "bytes", - "name": "releaseMetadata", - "type": "bytes" - } - ], - "name": "updateReleaseMetadata", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -]