github.com/0xsequence/ethkit@v1.25.0/ethtest/contracts/CallReceiverMock.json (about) 1 { 2 "_format": "hh-sol-artifact-1", 3 "contractName": "CallReceiverMock", 4 "sourceName": "contracts/mocks/CallReceiverMock.sol", 5 "abi": [ 6 { 7 "inputs": [], 8 "stateMutability": "payable", 9 "type": "constructor" 10 }, 11 { 12 "inputs": [], 13 "name": "lastValA", 14 "outputs": [ 15 { 16 "internalType": "uint256", 17 "name": "", 18 "type": "uint256" 19 } 20 ], 21 "stateMutability": "view", 22 "type": "function" 23 }, 24 { 25 "inputs": [], 26 "name": "lastValB", 27 "outputs": [ 28 { 29 "internalType": "bytes", 30 "name": "", 31 "type": "bytes" 32 } 33 ], 34 "stateMutability": "view", 35 "type": "function" 36 }, 37 { 38 "inputs": [ 39 { 40 "internalType": "bool", 41 "name": "_revertFlag", 42 "type": "bool" 43 } 44 ], 45 "name": "setRevertFlag", 46 "outputs": [], 47 "stateMutability": "nonpayable", 48 "type": "function" 49 }, 50 { 51 "inputs": [ 52 { 53 "internalType": "uint256", 54 "name": "_valA", 55 "type": "uint256" 56 }, 57 { 58 "internalType": "bytes", 59 "name": "_valB", 60 "type": "bytes" 61 } 62 ], 63 "name": "testCall", 64 "outputs": [], 65 "stateMutability": "payable", 66 "type": "function" 67 } 68 ], 69 "bytecode": "0x608060405261040a806100136000396000f3fe60806040526004361061003f5760003560e01c8063381ba14014610044578063ad387c8a14610072578063c0aec4d3146100e9578063ebd35e4714610110575b600080fd5b34801561005057600080fd5b506100706004803603602081101561006757600080fd5b5035151561019a565b005b6100706004803603604081101561008857600080fd5b813591908101906040810160208201356401000000008111156100aa57600080fd5b8201836020820111156100bc57600080fd5b803590602001918460018302840111640100000000831117156100de57600080fd5b5090925090506101cb565b3480156100f557600080fd5b506100fe61023e565b60408051918252519081900360200190f35b34801561011c57600080fd5b50610125610244565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015f578181015183820152602001610147565b50505050905090810190601f16801561018c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60025460ff1615610227576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806103af6026913960400191505060405180910390fd5b6000839055610238600183836102ef565b50505050565b60005481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156102e75780601f106102bc576101008083540402835291602001916102e7565b820191906000526020600020905b8154815290600101906020018083116102ca57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826103255760008555610389565b82601f1061035c578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555610389565b82800160010185558215610389579182015b8281111561038957823582559160200191906001019061036e565b50610395929150610399565b5090565b5b80821115610395576000815560010161039a56fe43616c6c52656365697665724d6f636b237465737443616c6c3a205245564552545f464c4147a2646970667358221220b0a2a89a0c39b5c99762b2b511726513017a3442bd84964eaae31cb48b091c5764736f6c63430007060033", 70 "deployedBytecode": "0x60806040526004361061003f5760003560e01c8063381ba14014610044578063ad387c8a14610072578063c0aec4d3146100e9578063ebd35e4714610110575b600080fd5b34801561005057600080fd5b506100706004803603602081101561006757600080fd5b5035151561019a565b005b6100706004803603604081101561008857600080fd5b813591908101906040810160208201356401000000008111156100aa57600080fd5b8201836020820111156100bc57600080fd5b803590602001918460018302840111640100000000831117156100de57600080fd5b5090925090506101cb565b3480156100f557600080fd5b506100fe61023e565b60408051918252519081900360200190f35b34801561011c57600080fd5b50610125610244565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015f578181015183820152602001610147565b50505050905090810190601f16801561018c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60025460ff1615610227576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806103af6026913960400191505060405180910390fd5b6000839055610238600183836102ef565b50505050565b60005481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156102e75780601f106102bc576101008083540402835291602001916102e7565b820191906000526020600020905b8154815290600101906020018083116102ca57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826103255760008555610389565b82601f1061035c578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555610389565b82800160010185558215610389579182015b8281111561038957823582559160200191906001019061036e565b50610395929150610399565b5090565b5b80821115610395576000815560010161039a56fe43616c6c52656365697665724d6f636b237465737443616c6c3a205245564552545f464c4147a2646970667358221220b0a2a89a0c39b5c99762b2b511726513017a3442bd84964eaae31cb48b091c5764736f6c63430007060033", 71 "linkReferences": {}, 72 "deployedLinkReferences": {} 73 }