@aztec/contract-artifacts
Version:
Smart contract compilation artifacts for the latest version of AZTEC.
718 lines • 21.1 kB
JSON
{
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "registryOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "registryAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "scalingFactor",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "linkedTokenAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "canAdjustSupply",
"type": "bool"
},
{
"indexed": false,
"internalType": "bool",
"name": "canConvert",
"type": "bool"
}
],
"name": "CreateNoteRegistry",
"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": "uint8",
"name": "epoch",
"type": "uint8"
},
{
"indexed": true,
"internalType": "uint8",
"name": "cryptoSystem",
"type": "uint8"
},
{
"indexed": true,
"internalType": "uint8",
"name": "assetType",
"type": "uint8"
},
{
"indexed": false,
"internalType": "address",
"name": "factoryAddress",
"type": "address"
}
],
"name": "SetFactory",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "registryOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "proxyAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newBehaviourAddress",
"type": "address"
}
],
"name": "UpgradeNoteRegistry",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "BURN_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "DIVIDEND_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "JOIN_SPLIT_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "MINT_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "PRIVATE_RANGE_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "PUBLIC_RANGE_PROOF",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "defaultCryptoSystem",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "defaultRegistryEpoch",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "registries",
"outputs": [
{
"internalType": "contract NoteRegistryBehaviour",
"name": "behaviour",
"type": "address"
},
{
"internalType": "contract IERC20Mintable",
"name": "linkedToken",
"type": "address"
},
{
"internalType": "uint24",
"name": "latestFactory",
"type": "uint24"
},
{
"internalType": "uint256",
"name": "totalSupply",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalSupplemented",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "validatedProofs",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "incrementDefaultRegistryEpoch",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint8",
"name": "_defaultCryptoSystem",
"type": "uint8"
}
],
"name": "setDefaultCryptoSystem",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint24",
"name": "_factoryId",
"type": "uint24"
},
{
"internalType": "address",
"name": "_factoryAddress",
"type": "address"
}
],
"name": "setFactory",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "uint24",
"name": "_factoryId",
"type": "uint24"
}
],
"name": "getFactoryAddress",
"outputs": [
{
"internalType": "address",
"name": "factoryAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "supplementTokens",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "uint24",
"name": "_proof",
"type": "uint24"
},
{
"internalType": "bytes32",
"name": "_proofHash",
"type": "bytes32"
},
{
"internalType": "address",
"name": "_sender",
"type": "address"
}
],
"name": "validateProofByHash",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_linkedTokenAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "_scalingFactor",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_canAdjustSupply",
"type": "bool"
},
{
"internalType": "bool",
"name": "_canConvert",
"type": "bool"
}
],
"name": "createNoteRegistry",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_linkedTokenAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "_scalingFactor",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_canAdjustSupply",
"type": "bool"
},
{
"internalType": "bool",
"name": "_canConvert",
"type": "bool"
},
{
"internalType": "uint24",
"name": "_factoryId",
"type": "uint24"
}
],
"name": "createNoteRegistry",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint24",
"name": "_factoryId",
"type": "uint24"
}
],
"name": "upgradeNoteRegistry",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint24",
"name": "_proof",
"type": "uint24"
},
{
"internalType": "bytes",
"name": "_proofOutput",
"type": "bytes"
},
{
"internalType": "address",
"name": "_proofSender",
"type": "address"
}
],
"name": "updateNoteRegistry",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_registryOwner",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_proofHash",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "publicApprove",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "_registryOwner",
"type": "address"
}
],
"name": "getRegistry",
"outputs": [
{
"internalType": "address",
"name": "linkedToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "scalingFactor",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "confidentialTotalMinted",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "confidentialTotalBurned",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "totalSupply",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalSupplemented",
"type": "uint256"
},
{
"internalType": "bool",
"name": "canConvert",
"type": "bool"
},
{
"internalType": "bool",
"name": "canAdjustSupply",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "_registryOwner",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_noteHash",
"type": "bytes32"
}
],
"name": "getNote",
"outputs": [
{
"internalType": "uint8",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint40",
"name": "createdOn",
"type": "uint40"
},
{
"internalType": "uint40",
"name": "destroyedOn",
"type": "uint40"
},
{
"internalType": "address",
"name": "noteOwner",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address",
"name": "_registryOwner",
"type": "address"
}
],
"name": "makeAssetAvailable",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"compiler": {
"name": "solc",
"version": "0.5.17+commit.d19bba13.Emscripten.clang"
},
"deployedBytecode": "0x",
"schemaVersion": "3.0.19"
}