UNPKG

@settlemint/solidity-zeto

Version:

Smart contract set to build Zero Knowledge tokens in SettleMint

259 lines (258 loc) 5.3 kB
{ "_format": "hh-sol-artifact-1", "contractName": "ZetoNullifier", "sourceName": "contracts/lib/zeto_nullifier.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "IdentityNotRegistered", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "NotInitializing", "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": "uint256", "name": "utxo", "type": "uint256" } ], "name": "UTXOAlreadyOwned", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "utxo", "type": "uint256" } ], "name": "UTXOAlreadySpent", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "maxAllowed", "type": "uint256" } ], "name": "UTXOArrayTooLarge", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "utxo", "type": "uint256" } ], "name": "UTXODuplicate", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "utxo", "type": "uint256" } ], "name": "UTXONotMinted", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "root", "type": "uint256" } ], "name": "UTXORootNotFound", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" } ], "name": "Initialized", "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": false, "internalType": "uint256[]", "name": "outputs", "type": "uint256[]" }, { "indexed": true, "internalType": "address", "name": "submitter", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "UTXOMint", "type": "event" }, { "inputs": [], "name": "getRoot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256[2]", "name": "pA", "type": "uint256[2]" }, { "internalType": "uint256[2][2]", "name": "pB", "type": "uint256[2][2]" }, { "internalType": "uint256[2]", "name": "pC", "type": "uint256[2]" } ], "internalType": "struct Commonlib.Proof", "name": "proof", "type": "tuple" }, { "internalType": "address", "name": "delegate", "type": "address" } ], "name": "lockProof", "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }