Spaces:
Sleeping
Sleeping
| [ | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "internalType": "bytes32", | |
| "name": "receiptHash", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "string", | |
| "name": "gstin", | |
| "type": "string" | |
| }, | |
| { | |
| "indexed": false, | |
| "internalType": "uint256", | |
| "name": "invoiceAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "indexed": false, | |
| "internalType": "uint256", | |
| "name": "verifiedAt", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "ReceiptMinted", | |
| "type": "event" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "_receiptHash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "getReceipt", | |
| "outputs": [ | |
| { | |
| "components": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "receiptHash", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "string", | |
| "name": "gstin", | |
| "type": "string" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "invoiceAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "verifiedAt", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "verifier", | |
| "type": "address" | |
| } | |
| ], | |
| "internalType": "struct VerificationReceiptRegistry.VerificationReceipt", | |
| "name": "", | |
| "type": "tuple" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "isMinted", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "_receiptHash", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "string", | |
| "name": "_gstin", | |
| "type": "string" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "_invoiceAmount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "mintReceipt", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "receipts", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "receiptHash", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "string", | |
| "name": "gstin", | |
| "type": "string" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "invoiceAmount", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "verifiedAt", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "verifier", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| } | |
| ] |