const abi = '[ { "inputs": [], "stateMutability": "payable", "type": "constructor" }, { "inputs": [], "name": "decryptAndExecute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "didUserWin", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSumDecrypted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes[]", "name": "decryptedArguments", "type": "bytes[]" }, { "internalType": "bytes[]", "name": "plaintextArguments", "type": "bytes[]" } ], "name": "onDecrypt", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "_encrypted", "type": "bytes" } ], "name": "submitEncrypted", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "_plaintext", "type": "bytes" } ], "name": "submitPlaintext", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]';
0 commit comments