UNPKG

@safe-global/safe-contracts

Version:
381 lines (380 loc) 8.09 kB
{ "_format": "hh-sol-artifact-1", "contractName": "MockInterface", "sourceName": "@gnosis.pm/mock-contract/contracts/MockContract.sol", "abi": [ { "inputs": [ { "internalType": "bytes", "name": "response", "type": "bytes" } ], "name": "givenAnyReturn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "response", "type": "address" } ], "name": "givenAnyReturnAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "response", "type": "bool" } ], "name": "givenAnyReturnBool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "response", "type": "uint256" } ], "name": "givenAnyReturnUint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "givenAnyRevert", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "message", "type": "string" } ], "name": "givenAnyRevertWithMessage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "givenAnyRunOutOfGas", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" }, { "internalType": "bytes", "name": "response", "type": "bytes" } ], "name": "givenCalldataReturn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" }, { "internalType": "address", "name": "response", "type": "address" } ], "name": "givenCalldataReturnAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" }, { "internalType": "bool", "name": "response", "type": "bool" } ], "name": "givenCalldataReturnBool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" }, { "internalType": "uint256", "name": "response", "type": "uint256" } ], "name": "givenCalldataReturnUint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" } ], "name": "givenCalldataRevert", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" }, { "internalType": "string", "name": "message", "type": "string" } ], "name": "givenCalldataRevertWithMessage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" } ], "name": "givenCalldataRunOutOfGas", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" }, { "internalType": "bytes", "name": "response", "type": "bytes" } ], "name": "givenMethodReturn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" }, { "internalType": "address", "name": "response", "type": "address" } ], "name": "givenMethodReturnAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" }, { "internalType": "bool", "name": "response", "type": "bool" } ], "name": "givenMethodReturnBool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" }, { "internalType": "uint256", "name": "response", "type": "uint256" } ], "name": "givenMethodReturnUint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" } ], "name": "givenMethodRevert", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" }, { "internalType": "string", "name": "message", "type": "string" } ], "name": "givenMethodRevertWithMessage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" } ], "name": "givenMethodRunOutOfGas", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "invocationCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "call", "type": "bytes" } ], "name": "invocationCountForCalldata", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "method", "type": "bytes" } ], "name": "invocationCountForMethod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "reset", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }