UNPKG

@zkp2p/contracts-v2

Version:

ZKP2P V2 smart contract interfaces and utilities

335 lines (334 loc) 6.35 kB
const data = [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "paymentMethod", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "currencyCode", "type": "bytes32" } ], "name": "CurrencyAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "paymentMethod", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "currencyCode", "type": "bytes32" } ], "name": "CurrencyRemoved", "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": "bytes32", "name": "paymentMethod", "type": "bytes32" } ], "name": "PaymentMethodAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "paymentMethod", "type": "bytes32" } ], "name": "PaymentMethodRemoved", "type": "event" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" }, { "internalType": "bytes32[]", "name": "_currencies", "type": "bytes32[]" } ], "name": "addCurrencies", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" }, { "internalType": "address", "name": "_verifier", "type": "address" }, { "internalType": "bytes32[]", "name": "_currencies", "type": "bytes32[]" } ], "name": "addPaymentMethod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" } ], "name": "getCurrencies", "outputs": [ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPaymentMethods", "outputs": [ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" } ], "name": "getVerifier", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" }, { "internalType": "bytes32", "name": "_currencyCode", "type": "bytes32" } ], "name": "isCurrency", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" } ], "name": "isPaymentMethod", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "paymentMethods", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" }, { "internalType": "bytes32[]", "name": "_currencies", "type": "bytes32[]" } ], "name": "removeCurrencies", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_paymentMethod", "type": "bytes32" } ], "name": "removePaymentMethod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "store", "outputs": [ { "internalType": "bool", "name": "initialized", "type": "bool" }, { "internalType": "address", "name": "verifier", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]; module.exports = data; module.exports.default = data;