UNPKG

@aztec/contract-artifacts

Version:

Smart contract compilation artifacts for the latest version of AZTEC.

423 lines 12.3 kB
{ "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "ConvertTokens", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "noteHash", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "metadata", "type": "bytes" } ], "name": "CreateNote", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "noteRegistryId", "type": "uint256" } ], "name": "CreateNoteRegistry", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "aceAddress", "type": "address" }, { "indexed": true, "internalType": "address", "name": "linkedTokenAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "scalingFactor", "type": "uint256" }, { "indexed": true, "internalType": "bool", "name": "_canAdjustSupply", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "_canConvert", "type": "bool" } ], "name": "CreateZkAsset", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "noteHash", "type": "bytes32" } ], "name": "DestroyNote", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "RedeemTokens", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "noteHash", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "metadata", "type": "bytes" } ], "name": "UpdateNoteMetaData", "type": "event" }, { "constant": false, "inputs": [ { "internalType": "bytes32[]", "name": "_noteHashes", "type": "bytes32[]" }, { "internalType": "address", "name": "_spender", "type": "address" }, { "internalType": "bool[]", "name": "_spenderApprovals", "type": "bool[]" }, { "internalType": "bytes", "name": "_batchSignature", "type": "bytes" } ], "name": "batchConfidentialApprove", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "_noteHash", "type": "bytes32" }, { "internalType": "address", "name": "_spender", "type": "address" }, { "internalType": "bool", "name": "_spenderApproval", "type": "bool" }, { "internalType": "bytes", "name": "_signature", "type": "bytes" } ], "name": "confidentialApprove", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint24", "name": "_proofId", "type": "uint24" }, { "internalType": "bytes", "name": "_proofOutput", "type": "bytes" } ], "name": "confidentialTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint24", "name": "_proofId", "type": "uint24" }, { "internalType": "bytes", "name": "_proofData", "type": "bytes" }, { "internalType": "bytes", "name": "_signatures", "type": "bytes" } ], "name": "confidentialTransfer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes", "name": "_proofData", "type": "bytes" }, { "internalType": "bytes", "name": "_signatures", "type": "bytes" } ], "name": "confidentialTransfer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "isOwner", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint8", "name": "_epoch", "type": "uint8" }, { "internalType": "uint256", "name": "_proofs", "type": "uint256" } ], "name": "setProofs", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint24", "name": "_proof", "type": "uint24" } ], "name": "supportsProof", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "noteHash", "type": "bytes32" }, { "internalType": "bytes", "name": "metaData", "type": "bytes" } ], "name": "updateNoteMetaData", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint24", "name": "_factoryId", "type": "uint24" } ], "name": "upgradeRegistryVersion", "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" }