UNPKG

@aztec/contract-artifacts

Version:

Smart contract compilation artifacts for the latest version of AZTEC.

401 lines 11.3 kB
{ "abi": [ { "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "dataLocation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "initialised", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isActiveBehaviour", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": 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": false, "inputs": [ { "internalType": "address", "name": "_newOwner", "type": "address" }, { "internalType": "uint256", "name": "_scalingFactor", "type": "uint256" }, { "internalType": "bool", "name": "_canAdjustSupply", "type": "bool" }, { "internalType": "bool", "name": "_canConvert", "type": "bool" } ], "name": "initialise", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getRegistry", "outputs": [ { "internalType": "uint256", "name": "scalingFactor", "type": "uint256" }, { "internalType": "bytes32", "name": "confidentialTotalMinted", "type": "bytes32" }, { "internalType": "bytes32", "name": "confidentialTotalBurned", "type": "bytes32" }, { "internalType": "bool", "name": "canConvert", "type": "bool" }, { "internalType": "bool", "name": "canAdjustSupply", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes", "name": "_proofOutputs", "type": "bytes" } ], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes", "name": "_proofOutputs", "type": "bytes" } ], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint24", "name": "_proof", "type": "uint24" }, { "internalType": "bytes", "name": "_proofOutput", "type": "bytes" } ], "name": "updateNoteRegistry", "outputs": [ { "internalType": "address", "name": "publicOwner", "type": "address" }, { "internalType": "uint256", "name": "transferValue", "type": "uint256" }, { "internalType": "int256", "name": "publicValue", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "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": [], "name": "makeAvailable", "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" }