ethers-rs/ethers-solc/test-data/out/compiler-out-11.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
2.0 MiB
JSON
Raw Normal View History

{"contracts":{"contracts/Greeter.sol":{"Greeter":{"abi":[{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes32","name":"c__0xd8380828","type":"bytes32"}],"name":"c_0xd8380828","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"greet","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"name":"setGreeting","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:4174:2","statements":[{"body":{"nodeType":"YulBlock","src":"102:259:2","statements":[{"nodeType":"YulAssignment","src":"112:75:2","value":{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"179:6:2"}],"functionName":{"name":"array_allocation_size_t_string_memory_ptr","nodeType":"YulIdentifier","src":"137:41:2"},"nodeType":"YulFunctionCall","src":"137:49:2"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"121:15:2"},"nodeType":"YulFunctionCall","src":"121:66:2"},"variableNames":[{"name":"array","nodeType":"YulIdentifier","src":"112:5:2"}]},{"expression":{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"203:5:2"},{"name":"length","nodeType":"YulIdentifier","src":"210:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"196:6:2"},"nodeType":"YulFunctionCall","src":"196:21:2"},"nodeType":"YulExpressionStatement","src":"196:21:2"},{"nodeType":"YulVariableDeclaration","src":"226:27:2","value":{"arguments":[{"name":"array","nodeType":"YulIdentifier","src":"241:5:2"},{"kind":"number","nodeType":"YulLiteral","src":"248:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"237:3:2"},"nodeType":"YulFunctionCall","src":"237:16:2"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"230:3:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"291:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"300:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"303:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"293:6:2"},"nodeType":"YulFunctionCall","src":"293:12:2"},"nodeType":"YulExpressionStatement","src":"293:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"272:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"277:6:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"268:3:2"},"nodeType":"YulFunctionCall","src":"268:16:2"},{"name":"end","nodeType":"YulIdentifier","src":"286:3:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"265:2:2"},"nodeType":"YulFunctionCall","src":"265:25:2"},"nodeType":"YulIf","src":"262:2:2"},{"expression":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"338:3:2"},{"name":"dst","nodeType":"YulIdentifier","src":"343:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"348:6:2"}],"functionName":{"name":"copy_memory_to_memory","nodeType":"YulIdentifier","src":"316:21:2"},"nodeType":"YulFunctionCall","src":"316:39:2"},"nodeType":"YulExpressionStatement","src":"316:39:2"}]},"name":"abi_decode_available_length_t_string_memory_ptr_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"75:3:2","type":""},{"name":"length","nodeType":"YulTypedName","src":"80:6:2","type":""},{"name":"end","nodeType":"YulTypedName","src":"88:3:2","type":""}],"returnVariables":[{"name":"array","nodeType":"YulTypedName","src":"96:5:2","type":""}],"src":"7:354:2"},{"body":{"nodeType":"YulBlock","src":"454:215:2","statements":[{"body":{"nodeType":"YulBlock","src":"503:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"512:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"515