{
  "_format": "hh-sol-artifact-1",
  "contractName": "ITREXImplementationAuthority",
  "sourceName": "contracts/proxy/authority/ITREXImplementationAuthority.sol",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "iaFactory",
          "type": "address"
        }
      ],
      "name": "IAFactorySet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "_newImplementationAuthority",
          "type": "address"
        }
      ],
      "name": "ImplementationAuthorityChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bool",
          "name": "referenceStatus",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "trexFactory",
          "type": "address"
        }
      ],
      "name": "ImplementationAuthoritySet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "trexFactory",
          "type": "address"
        }
      ],
      "name": "TREXFactorySet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "indexed": true,
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "version",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "tokenImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "ctrImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irsImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tirImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "mcImplementation",
              "type": "address"
            }
          ],
          "indexed": true,
          "internalType": "struct ITREXImplementationAuthority.TREXContracts",
          "name": "trex",
          "type": "tuple"
        }
      ],
      "name": "TREXVersionAdded",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "indexed": true,
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "version",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "tokenImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "ctrImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irsImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tirImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "mcImplementation",
              "type": "address"
            }
          ],
          "indexed": true,
          "internalType": "struct ITREXImplementationAuthority.TREXContracts",
          "name": "trex",
          "type": "tuple"
        }
      ],
      "name": "TREXVersionFetched",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "indexed": true,
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "version",
          "type": "tuple"
        }
      ],
      "name": "VersionUpdated",
      "type": "event"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "_version",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "tokenImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "ctrImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irsImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tirImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "mcImplementation",
              "type": "address"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.TREXContracts",
          "name": "_trex",
          "type": "tuple"
        }
      ],
      "name": "addAndUseTREXVersion",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "_version",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "tokenImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "ctrImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irsImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tirImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "mcImplementation",
              "type": "address"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.TREXContracts",
          "name": "_trex",
          "type": "tuple"
        }
      ],
      "name": "addTREXVersion",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_newImplementationAuthority",
          "type": "address"
        }
      ],
      "name": "changeImplementationAuthority",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "_version",
          "type": "tuple"
        }
      ],
      "name": "fetchVersion",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getCTRImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "_version",
          "type": "tuple"
        }
      ],
      "name": "getContracts",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "tokenImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "ctrImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "irsImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tirImplementation",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "mcImplementation",
              "type": "address"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.TREXContracts",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getCurrentVersion",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getIRImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getIRSImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getMCImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getReferenceContract",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getTIRImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getTREXFactory",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getTokenImplementation",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "isReferenceContract",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "iaFactory",
          "type": "address"
        }
      ],
      "name": "setIAFactory",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "trexFactory",
          "type": "address"
        }
      ],
      "name": "setTREXFactory",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint8",
              "name": "major",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "minor",
              "type": "uint8"
            },
            {
              "internalType": "uint8",
              "name": "patch",
              "type": "uint8"
            }
          ],
          "internalType": "struct ITREXImplementationAuthority.Version",
          "name": "_version",
          "type": "tuple"
        }
      ],
      "name": "useTREXVersion",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
