diff --git a/.circleci/config.yml b/.circleci/config.yml index cbdccc4efd..4bca09b322 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -111,7 +111,7 @@ jobs: - run: yarn - run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist - run: ls -la ./dist/apps/remix-ide/assets/js - - run: yarn run selenium-install + - run: yarn run selenium-install || yarn run selenium-install - run: name: Start Selenium command: yarn run selenium @@ -157,7 +157,7 @@ jobs: - run: yarn - run: unzip ./persist/dist.zip - run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist - - run: yarn run selenium-install + - run: yarn run selenium-install || yarn run selenium-install - run: name: Start Selenium command: yarn run selenium diff --git a/apps/debugger/src/app/debugger-api.ts b/apps/debugger/src/app/debugger-api.ts index 544006e7c4..c0235e04c4 100644 --- a/apps/debugger/src/app/debugger-api.ts +++ b/apps/debugger/src/app/debugger-api.ts @@ -1,7 +1,7 @@ import Web3 from 'web3' import {init , traceHelper, TransactionDebugger as Debugger } from '@remix-project/remix-debug' -import { CompilationOutput, Sources } from '@remix-ui/debugger-ui' -import type { CompilationResult } from '@remix-project/remix-solidity-ts' +import { CompilerAbstract } from '@remix-project/remix-solidity' +import { lineText } from '@remix-ui/editor' export const DebuggerApiMixin = (Base) => class extends Base { @@ -39,10 +39,25 @@ export const DebuggerApiMixin = (Base) => class extends Base { async discardHighlight () { await this.call('editor', 'discardHighlight') + await this.call('editor', 'discardLineTexts' as any) } - async highlight (lineColumnPos, path) { + async highlight (lineColumnPos, path, rawLocation, stepDetail, lineGasCost) { await this.call('editor', 'highlight', lineColumnPos, path, '', { focus: true }) + const label = `${stepDetail.op} costs ${stepDetail.gasCost} gas - this line costs ${lineGasCost} gas - ${stepDetail.gas} gas left` + const linetext: lineText = { + content: label, + position: lineColumnPos, + hide: false, + className: 'text-muted small', + afterContentClassName: 'text-muted small fas fa-gas-pump pl-4', + from: 'debugger', + hoverMessage: [{ + value: label, + }, + ], + } + await this.call('editor', 'addLineText' as any, linetext, path) } async getFile (path) { @@ -161,26 +176,3 @@ export const DebuggerApiMixin = (Base) => class extends Base { } } -export class CompilerAbstract implements CompilationOutput { // this is a subset of /remix-ide/src/app/compiler/compiler-abstract.js - languageversion - data - source - - constructor (languageversion: string, data: CompilationResult, source: { sources: Sources, target: string }) { - this.languageversion = languageversion - this.data = data - this.source = source // source code - } - - getSourceName (fileIndex) { - if (this.data && this.data.sources) { - return Object.keys(this.data.sources)[fileIndex] - } else if (Object.keys(this.source.sources).length === 1) { - // if we don't have ast, we return the only one filename present. - const sourcesArray = Object.keys(this.source.sources) - return sourcesArray[0] - } - return null - } -} - diff --git a/apps/debugger/src/app/debugger.ts b/apps/debugger/src/app/debugger.ts index 40f2e1b4d6..eee4d77ffd 100644 --- a/apps/debugger/src/app/debugger.ts +++ b/apps/debugger/src/app/debugger.ts @@ -1,9 +1,10 @@ import { PluginClient } from "@remixproject/plugin"; import { createClient } from "@remixproject/plugin-webview"; -import { IDebuggerApi, RawLocation, Sources, Asts, LineColumnLocation, +import { IDebuggerApi, LineColumnLocation, onBreakpointClearedListener, onBreakpointAddedListener, onEditorContentChanged, onEnvChangedListener, TransactionReceipt } from '@remix-ui/debugger-ui' -import { DebuggerApiMixin, CompilerAbstract} from './debugger-api' - +import { DebuggerApiMixin } from './debugger-api' +import { CompilerAbstract } from '@remix-project/remix-solidity' + export class DebuggerClientApi extends DebuggerApiMixin(PluginClient) { constructor () { super() diff --git a/apps/etherscan/src/app/RemixPlugin.tsx b/apps/etherscan/src/app/RemixPlugin.tsx new file mode 100644 index 0000000000..f9c6a4e18a --- /dev/null +++ b/apps/etherscan/src/app/RemixPlugin.tsx @@ -0,0 +1,38 @@ +import { PluginClient } from '@remixproject/plugin'; +import { verify, EtherScanReturn } from './utils/verify'; +import { getReceiptStatus, getEtherScanApi, getNetworkName } from './utils'; + +export class RemixClient extends PluginClient { + + loaded() { + return this.onload() + } + + async verify (apiKey: string, contractAddress: string, contractArguments: string, contractName: string, compilationResultParam: any) { + const result = await verify(apiKey, contractAddress, contractArguments, contractName, compilationResultParam, this, + (value: EtherScanReturn) => {}, (value: string) => {}) + return result + } + + async receiptStatus (receiptGuid: string, apiKey: string) { + try { + const network = await getNetworkName(this) + if (network === "vm") { + throw new Error("Cannot check the receipt status in the selected network") + } + const etherscanApi = getEtherScanApi(network) + const receiptStatus = await getReceiptStatus(receiptGuid, apiKey, etherscanApi) + return { + status: receiptStatus, + message: receiptStatus, + succeed: true + } + } catch (e: any){ + return { + status: 'error', + message: e.message, + succeed: false + } + } + } +} diff --git a/apps/etherscan/src/app/app.tsx b/apps/etherscan/src/app/app.tsx index 653d90bfb1..5a141e239d 100644 --- a/apps/etherscan/src/app/app.tsx +++ b/apps/etherscan/src/app/app.tsx @@ -5,7 +5,7 @@ import { CompilationResult, } from "@remixproject/plugin-api" -import { PluginClient } from "@remixproject/plugin"; +import { RemixClient } from "./RemixPlugin"; import { createClient } from "@remixproject/plugin-webview"; import { AppContext } from "./AppContext" @@ -43,7 +43,7 @@ const App = () => { contractsRef.current = contracts useEffect(() => { - const client = new PluginClient() + const client = new RemixClient() createClient(client) const loadClient = async () => { await client.onload() diff --git a/apps/etherscan/src/app/utils/scripts.ts b/apps/etherscan/src/app/utils/scripts.ts new file mode 100644 index 0000000000..1e7765c272 --- /dev/null +++ b/apps/etherscan/src/app/utils/scripts.ts @@ -0,0 +1,25 @@ +export const verifyScript = ` +/** + * @param {string} apikey - etherscan api key. + * @param {string} contractAddress - Address of the contract to verify. + * @param {string} contractArguments - Parameters used in the contract constructor during the initial deployment. It should be the hex encoded value. + * @param {string} contractName - Name of the contract + * @param {string} contractFile - File where the contract is located + * @returns {{ guid, status, message, succeed }} verification result + */ +export const verify = async (apikey: string, contractAddress: string, contractArguments: string, contractName: string, contractFile: string) => { + const compilationResultParam = await remix.call('compilerArtefacts' as any, 'getCompilerAbstract', contractFile) + console.log('verifying.. ' + contractName) + return await remix.call('etherscan' as any, 'verify', apikey, contractAddress, contractArguments, contractName, compilationResultParam) +}` + +export const receiptGuidScript = ` +/** + * @param {string} apikey - etherscan api key. + * @param {string} guid - receipt id. + * @returns {{ status, message, succeed }} receiptStatus + */ +export const receiptStatus = async (apikey: string, guid: string) => { + return await remix.call('etherscan' as any, 'receiptStatus', guid, apikey) +} +` \ No newline at end of file diff --git a/apps/etherscan/src/app/utils/verify.ts b/apps/etherscan/src/app/utils/verify.ts new file mode 100644 index 0000000000..e3cfabd9d9 --- /dev/null +++ b/apps/etherscan/src/app/utils/verify.ts @@ -0,0 +1,172 @@ +import { getNetworkName, getEtherScanApi, getReceiptStatus } from "../utils" +import { CompilationResult } from "@remixproject/plugin-api" +import { CompilerAbstract } from '@remix-project/remix-solidity' +import axios from 'axios' +import { PluginClient } from "@remixproject/plugin" + +const resetAfter10Seconds = (client: PluginClient, setResults: (value: string) => void) => { + setTimeout(() => { + client.emit("statusChanged", { key: "none" }) + setResults("") + }, 10000) + } + +export type EtherScanReturn = { + guid: any, + status: any, +} +export const verify = async ( + apiKeyParam: string, + contractAddress: string, + contractArgumentsParam: string, + contractName: string, + compilationResultParam: CompilerAbstract, + client: PluginClient, + onVerifiedContract: (value: EtherScanReturn) => void, + setResults: (value: string) => void + ) => { + const network = await getNetworkName(client) + if (network === "vm") { + return { + succeed: false, + message: "Cannot verify in the selected network" + } + } + const etherscanApi = getEtherScanApi(network) + + try { + const contractMetadata = getContractMetadata( + // cast from the remix-plugin interface to the solidity one. Should be fixed when remix-plugin move to the remix-project repository + compilationResultParam.data as unknown as CompilationResult, + contractName + ) + + if (!contractMetadata) { + return { + succeed: false, + message: "Please recompile contract" + } + } + + const contractMetadataParsed = JSON.parse(contractMetadata) + + const fileName = getContractFileName( + // cast from the remix-plugin interface to the solidity one. Should be fixed when remix-plugin move to the remix-project repository + compilationResultParam.data as unknown as CompilationResult, + contractName + ) + + const jsonInput = { + language: 'Solidity', + sources: compilationResultParam.source.sources, + settings: { + optimizer: { + enabled: contractMetadataParsed.settings.optimizer.enabled, + runs: contractMetadataParsed.settings.optimizer.runs + } + } + } + + const data: { [key: string]: string | any } = { + apikey: apiKeyParam, // A valid API-Key is required + module: "contract", // Do not change + action: "verifysourcecode", // Do not change + codeformat: "solidity-standard-json-input", + contractaddress: contractAddress, // Contract Address starts with 0x... + sourceCode: JSON.stringify(jsonInput), + contractname: fileName + ':' + contractName, + compilerversion: `v${contractMetadataParsed.compiler.version}`, // see http://etherscan.io/solcversions for list of support versions + constructorArguements: contractArgumentsParam ? contractArgumentsParam.replace('0x', '') : '', // if applicable + } + + const body = new FormData() + Object.keys(data).forEach((key) => body.append(key, data[key])) + + client.emit("statusChanged", { + key: "loading", + type: "info", + title: "Verifying ...", + }) + const response = await axios.post(etherscanApi, body) + const { message, result, status } = await response.data + + if (message === "OK" && status === "1") { + resetAfter10Seconds(client, setResults) + const receiptStatus = await getReceiptStatus( + result, + apiKeyParam, + etherscanApi + ) + + const returnValue = { + guid: result, + status: receiptStatus, + message: `Verification process started correctly. Receipt GUID ${result}`, + succeed: true + } + onVerifiedContract(returnValue) + return returnValue + } else if (message === "NOTOK") { + client.emit("statusChanged", { + key: "failed", + type: "error", + title: result, + }) + const returnValue = { + message: result, + succeed: false + } + resetAfter10Seconds(client, setResults) + return returnValue + } + return { + message: 'unknown reason ' + result, + succeed: false + } + } catch (error: any) { + console.error(error) + setResults("Something wrong happened, try again") + return { + message: error.message, + succeed: false + } + } + } + + export const getContractFileName = ( + compilationResult: CompilationResult, + contractName: string + ) => { + const compiledContracts = compilationResult.contracts + let fileName = "" + + for (const file of Object.keys(compiledContracts)) { + for (const contract of Object.keys(compiledContracts[file])) { + if (contract === contractName) { + fileName = file + break + } + } + } + return fileName + } + + export const getContractMetadata = ( + compilationResult: CompilationResult, + contractName: string + ) => { + const compiledContracts = compilationResult.contracts + let contractMetadata = "" + + for (const file of Object.keys(compiledContracts)) { + for (const contract of Object.keys(compiledContracts[file])) { + if (contract === contractName) { + contractMetadata = compiledContracts[file][contract].metadata + if (contractMetadata) { + break + } + } + } + } + return contractMetadata + } \ No newline at end of file diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index 3e85d471b7..f13fea1929 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -5,11 +5,10 @@ import { } from "@remixproject/plugin" import { Formik, ErrorMessage, Field } from "formik" -import { getNetworkName, getEtherScanApi, getReceiptStatus } from "../utils" import { SubmitButton } from "../components" import { Receipt } from "../types" -import { CompilationResult } from "@remixproject/plugin-api" -import axios from 'axios' +import { verify } from "../utils/verify" +import { receiptGuidScript, verifyScript } from "../utils/scripts" interface Props { client: PluginClient @@ -24,43 +23,7 @@ interface FormValues { contractAddress: string } -export const getContractFileName = ( - compilationResult: CompilationResult, - contractName: string -) => { - const compiledContracts = compilationResult.contracts - let fileName = "" - - for (const file of Object.keys(compiledContracts)) { - for (const contract of Object.keys(compiledContracts[file])) { - if (contract === contractName) { - fileName = file - break - } - } - } - return fileName -} - -export const getContractMetadata = ( - compilationResult: CompilationResult, - contractName: string -) => { - const compiledContracts = compilationResult.contracts - let contractMetadata = "" - for (const file of Object.keys(compiledContracts)) { - for (const contract of Object.keys(compiledContracts[file])) { - if (contract === contractName) { - contractMetadata = compiledContracts[file][contract].metadata - if (contractMetadata) { - break - } - } - } - } - return contractMetadata -} export const VerifyView: React.FC = ({ apiKey, @@ -80,117 +43,20 @@ export const VerifyView: React.FC = ({ throw new Error("no compilation result available") } - const contractArguments = values.contractArguments.replace("0x", "") - - const verify = async ( - apiKeyParam: string, - contractAddress: string, - contractArgumentsParam: string, - contractName: string, - compilationResultParam: any - ) => { - const network = await getNetworkName(client) - if (network === "vm") { - return "Cannot verify in the selected network" - } - const etherscanApi = getEtherScanApi(network) - - try { - const contractMetadata = getContractMetadata( - compilationResultParam.data, - contractName - ) - - if (!contractMetadata) { - return "Please recompile contract" - } - - const contractMetadataParsed = JSON.parse(contractMetadata) - - const fileName = getContractFileName( - compilationResultParam.data, - contractName - ) - - const jsonInput = { - language: 'Solidity', - sources: compilationResultParam.source.sources, - settings: { - optimizer: { - enabled: contractMetadataParsed.settings.optimizer.enabled, - runs: contractMetadataParsed.settings.optimizer.runs - } - } - } - - const data: { [key: string]: string | any } = { - apikey: apiKeyParam, // A valid API-Key is required - module: "contract", // Do not change - action: "verifysourcecode", // Do not change - codeformat: "solidity-standard-json-input", - contractaddress: contractAddress, // Contract Address starts with 0x... - sourceCode: JSON.stringify(jsonInput), - contractname: fileName + ':' + contractName, - compilerversion: `v${contractMetadataParsed.compiler.version}`, // see http://etherscan.io/solcversions for list of support versions - constructorArguements: contractArgumentsParam, // if applicable - } - - const body = new FormData() - Object.keys(data).forEach((key) => body.append(key, data[key])) - - client.emit("statusChanged", { - key: "loading", - type: "info", - title: "Verifying ...", - }) - const response = await axios.post(etherscanApi, body) - const { message, result, status } = await response.data - - if (message === "OK" && status === "1") { - resetAfter10Seconds() - const receiptStatus = await getReceiptStatus( - result, - apiKey, - etherscanApi - ) - - onVerifiedContract({ - guid: result, - status: receiptStatus, - }) - return `Contract verified correctly
Receipt GUID ${result}` - } - if (message === "NOTOK") { - client.emit("statusChanged", { - key: "failed", - type: "error", - title: result, - }) - resetAfter10Seconds() - } - return result - } catch (error) { - console.error(error) - setResults("Something wrong happened, try again") - } - } - - const resetAfter10Seconds = () => { - setTimeout(() => { - client.emit("statusChanged", { key: "none" }) - setResults("") - }, 10000) - } + const contractArguments = values.contractArguments.replace("0x", "") const verificationResult = await verify( apiKey, values.contractAddress, contractArguments, values.contractName, - compilationResult + compilationResult, + client, + onVerifiedContract, + setResults, ) - setResults(verificationResult) + setResults(verificationResult.message) } return ( @@ -218,9 +84,32 @@ export const VerifyView: React.FC = ({ > {({ errors, touched, handleSubmit, isSubmitting }) => (
+
Verify your smart contracts
+
-
Verify your smart contracts
- + _) + client.setValue('#runTabView input[data-title="' + expectedInput.types + '"]', expectedInput.values, _ => _) } done() }) }) - .scrollAndClick('.instance button[title="' + fnFullName + '"]') + .scrollAndClick('.instance button[data-title="' + fnFullName + '"]') .pause(2000) .perform(() => { this.emit('complete') diff --git a/apps/remix-ide-e2e/src/commands/testConstantFunction.ts b/apps/remix-ide-e2e/src/commands/testConstantFunction.ts index 00f9512814..3216bc39ed 100644 --- a/apps/remix-ide-e2e/src/commands/testConstantFunction.ts +++ b/apps/remix-ide-e2e/src/commands/testConstantFunction.ts @@ -15,18 +15,18 @@ class TestConstantFunction extends EventEmitter { } function testConstantFunction (browser: NightwatchBrowser, address: string, fnFullName: string, expectedInput: NightwatchTestConstantFunctionExpectedInput, expectedOutput: string, cb: VoidFunction) { - browser.waitForElementPresent('.instance button[title="' + fnFullName + '"]').perform(function (client, done) { + browser.waitForElementPresent('.instance button[data-title="' + fnFullName + '"]').perform(function (client, done) { client.execute(function () { document.querySelector('#runTabView').scrollTop = document.querySelector('#runTabView').scrollHeight }, [], function () { if (expectedInput) { - client.waitForElementPresent('#runTabView input[title="' + expectedInput.types + '"]') - .setValue('#runTabView input[title="' + expectedInput.types + '"]', expectedInput.values) + client.waitForElementPresent('#runTabView input[data-title="' + expectedInput.types + '"]') + .setValue('#runTabView input[data-title="' + expectedInput.types + '"]', expectedInput.values) } done() }) }) - .click(`#instance${address} button[title="${fnFullName}"]`) + .click(`#instance${address} button[data-title="${fnFullName}"]`) .pause(1000) .waitForElementPresent('#instance' + address + ' .udapp_contractActionsContainer .udapp_value') .scrollInto('#instance' + address + ' .udapp_contractActionsContainer .udapp_value') diff --git a/apps/remix-ide-e2e/src/commands/waitForElementContainsText.ts b/apps/remix-ide-e2e/src/commands/waitForElementContainsText.ts index 5376da014d..6ce01beaa0 100644 --- a/apps/remix-ide-e2e/src/commands/waitForElementContainsText.ts +++ b/apps/remix-ide-e2e/src/commands/waitForElementContainsText.ts @@ -4,8 +4,10 @@ import EventEmitter from 'events' class WaitForElementContainsText extends EventEmitter { command (this: NightwatchBrowser, id: string, value: string, timeout = 10000): NightwatchBrowser { let waitId // eslint-disable-line + let currentValue const runid = setInterval(() => { this.api.getText(id, (result) => { + currentValue = result.value if (typeof result.value === 'string' && result.value.indexOf(value) !== -1) { clearInterval(runid) clearTimeout(waitId) @@ -17,7 +19,7 @@ class WaitForElementContainsText extends EventEmitter { waitId = setTimeout(() => { clearInterval(runid) - this.api.assert.fail(`TimeoutError: An error occurred while running .waitForElementContainsText() command on ${id} after ${timeout} milliseconds`) + this.api.assert.fail(`TimeoutError: An error occurred while running .waitForElementContainsText() command on ${id} after ${timeout} milliseconds. expected: ${value} - got: ${currentValue}`) }, timeout) return this } diff --git a/apps/remix-ide-e2e/src/helpers/hardhat_compilation_7839ba878952cc00ff316061405f273a.json b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_7839ba878952cc00ff316061405f273a.json new file mode 100644 index 0000000000..97994e4b6d --- /dev/null +++ b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_7839ba878952cc00ff316061405f273a.json @@ -0,0 +1 @@ +{"id":"7839ba878952cc00ff316061405f273a","_format":"hh-sol-build-info-1","solcVersion":"0.8.17","solcLongVersion":"0.8.17+commit.8df45f5f","input":{"language":"Solidity","sources":{"contracts/Lock.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.9;\n\n// Uncomment this line to use console.log\n// import \"hardhat/console.sol\";\n\ncontract Lock {\n uint public unlockTime;\n address payable public owner;\n\n event Withdrawal(uint amount, uint when);\n\n constructor(uint _unlockTime) payable {\n require(\n block.timestamp < _unlockTime,\n \"Unlock time should be in the future\"\n );\n uint p = 454545;\n unlockTime = _unlockTime;\n owner = payable(msg.sender);\n }\n\n function withdraw() public {\n // Uncomment this line, and the import of \"hardhat/console.sol\", to print a log in your terminal\n // console.log(\"Unlock time is %o and block timestamp is %o\", unlockTime, block.timestamp);\n\n require(block.timestamp >= unlockTime, \"You can't withdraw yet\");\n require(msg.sender == owner, \"You aren't the owner\");\n\n emit Withdrawal(address(this).balance, block.timestamp);\n\n owner.transfer(address(this).balance);\n }\n}\n"}},"settings":{"optimizer":{"enabled":false,"runs":200},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"errors":[{"component":"general","errorCode":"2072","formattedMessage":"Warning: Unused local variable.\n --> contracts/Lock.sol:18:9:\n |\n18 | uint p = 454545;\n | ^^^^^^\n\n","message":"Unused local variable.","severity":"warning","sourceLocation":{"end":445,"file":"contracts/Lock.sol","start":439},"type":"Warning"}],"sources":{"contracts/Lock.sol":{"ast":{"absolutePath":"contracts/Lock.sol","exportedSymbols":{"Lock":[82]},"id":83,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".9"],"nodeType":"PragmaDirective","src":"39:23:0"},{"abstract":false,"baseContracts":[],"canonicalName":"Lock","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":82,"linearizedBaseContracts":[82],"name":"Lock","nameLocation":"149:4:0","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"251c1aa3","id":3,"mutability":"mutable","name":"unlockTime","nameLocation":"172:10:0","nodeType":"VariableDeclaration","scope":82,"src":"160:22:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2,"name":"uint","nodeType":"ElementaryTypeName","src":"160:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"constant":false,"functionSelector":"8da5cb5b","id":5,"mutability":"mutable","name":"owner","nameLocation":"211:5:0","nodeType":"VariableDeclaration","scope":82,"src":"188:28:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":4,"name":"address","nodeType":"ElementaryTypeName","src":"188:15:0","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"public"},{"anonymous":false,"eventSelector":"bf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b93","id":11,"name":"Withdrawal","nameLocation":"229:10:0","nodeType":"EventDefinition","parameters":{"id":10,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"245:6:0","nodeType":"VariableDeclaration","scope":11,"src":"240:11:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6,"name":"uint","nodeType":"ElementaryTypeName","src":"240:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9,"indexed":false,"mutability":"mutable","name":"when","nameLocation":"258:4:0","nodeType":"VariableDeclaration","scope":11,"src":"253:9:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8,"name":"uint","nodeType":"ElementaryTypeName","src":"253:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"239:24:0"},"src":"223:41:0"},{"body":{"id":40,"nodeType":"Block","src":"308:224:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"339:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":18,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"345:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"339:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"357:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"339:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574757265","id":21,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"382:37:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""},"value":"Unlock time should be in the future"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""}],"id":16,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"318:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"318:111:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":23,"nodeType":"ExpressionStatement","src":"318:111:0"},{"assignments":[25],"declarations":[{"constant":false,"id":25,"mutability":"mutable","name":"p","nameLocation":"444:1:0","nodeType":"VariableDeclaration","scope":40,"src":"439:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":24,"name":"uint","nodeType":"ElementaryTypeName","src":"439:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":27,"initialValue":{"hexValue":"343534353435","id":26,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"448:6:0","typeDescriptions":{"typeIdentifier":"t_rational_454545_by_1","typeString":"int_const 454545"},"value":"454545"},"nodeType":"VariableDeclarationStatement","src":"439:15:0"},{"expression":{"id":30,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":28,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"464:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":29,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"477:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"464:24:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":31,"nodeType":"ExpressionStatement","src":"464:24:0"},{"expression":{"id":38,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":32,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"498:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":35,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"514:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"518:6:0","memberName":"sender","nodeType":"MemberAccess","src":"514:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":34,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"506:8:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_payable_$","typeString":"type(address payable)"},"typeName":{"id":33,"name":"address","nodeType":"ElementaryTypeName","src":"506:8:0","stateMutability":"payable","typeDescriptions":{}}},"id":37,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"506:19:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"498:27:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":39,"nodeType":"ExpressionStatement","src":"498:27:0"}]},"id":41,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13,"mutability":"mutable","name":"_unlockTime","nameLocation":"287:11:0","nodeType":"VariableDeclaration","scope":41,"src":"282:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12,"name":"uint","nodeType":"ElementaryTypeName","src":"282:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"281:18:0"},"returnParameters":{"id":15,"nodeType":"ParameterList","parameters":[],"src":"308:0:0"},"scope":82,"src":"270:262:0","stateMutability":"payable","virtual":false,"visibility":"public"},{"body":{"id":80,"nodeType":"Block","src":"565:463:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":48,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":45,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"789:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":46,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"795:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"789:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":47,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"808:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"789:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f752063616e277420776974686472617720796574","id":49,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"820:24:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""},"value":"You can't withdraw yet"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""}],"id":44,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"781:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":50,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"781:64:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":51,"nodeType":"ExpressionStatement","src":"781:64:0"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":53,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"863:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"867:6:0","memberName":"sender","nodeType":"MemberAccess","src":"863:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":55,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"877:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"863:19:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f75206172656e277420746865206f776e6572","id":57,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"884:22:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""},"value":"You aren't the owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""}],"id":52,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"855:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":58,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"855:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":59,"nodeType":"ExpressionStatement","src":"855:52:0"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":63,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"942:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":62,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"934:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":61,"name":"address","nodeType":"ElementaryTypeName","src":"934:7:0","typeDescriptions":{}}},"id":64,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"934:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":65,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"948:7:0","memberName":"balance","nodeType":"MemberAccess","src":"934:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":66,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"957:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":67,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"963:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"957:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":60,"name":"Withdrawal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"923:10:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":68,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"923:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":69,"nodeType":"EmitStatement","src":"918:55:0"},{"expression":{"arguments":[{"expression":{"arguments":[{"id":75,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1007:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":74,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"999:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":73,"name":"address","nodeType":"ElementaryTypeName","src":"999:7:0","typeDescriptions":{}}},"id":76,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":77,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1013:7:0","memberName":"balance","nodeType":"MemberAccess","src":"999:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":70,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"984:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":72,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"990:8:0","memberName":"transfer","nodeType":"MemberAccess","src":"984:14:0","typeDescriptions":{"typeIdentifier":"t_function_transfer_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":78,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"984:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":79,"nodeType":"ExpressionStatement","src":"984:37:0"}]},"functionSelector":"3ccfd60b","id":81,"implemented":true,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"547:8:0","nodeType":"FunctionDefinition","parameters":{"id":42,"nodeType":"ParameterList","parameters":[],"src":"555:2:0"},"returnParameters":{"id":43,"nodeType":"ParameterList","parameters":[],"src":"565:0:0"},"scope":82,"src":"538:490:0","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":83,"src":"140:890:0","usedErrors":[]}],"src":"39:992:0"},"id":0}},"contracts":{"contracts/Lock.sol":{"Lock":{"abi":[{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_41":{"entryPoint":null,"id":41,"parameterSlots":1,"returnSlots":0},"abi_decode_t_uint256_fromMemory":{"entryPoint":228,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":249,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack":{"entryPoint":390,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":425,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_unbounded":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":294,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":195,"id":null,"parameterSlots":1,"returnSlots":1},"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":0},"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b":{"entryPoint":190,"id":null,"parameterSlots":0,"returnSlots":0},"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413":{"entryPoint":311,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_t_uint256":{"entryPoint":205,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:2248:1","statements":[{"body":{"nodeType":"YulBlock","src":"47:35:1","statements":[{"nodeType":"YulAssignment","src":"57:19:1","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"73:2:1","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"67:5:1"},"nodeType":"YulFunctionCall","src":"67:9:1"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"57:6:1"}]}]},"name":"allocate_unbounded","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"40:6:1","type":""}],"src":"7:75:1"},{"body":{"nodeType":"YulBlock","src":"177:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"194:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"197:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"187:6:1"},"nodeType":"YulFunctionCall","src":"187:12:1"},"nodeType":"YulExpressionStatement","src":"187:12:1"}]},"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulFunctionDefinition","src":"88:117:1"},{"body":{"nodeType":"YulBlock","src":"300:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"317:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"320:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"310:6:1"},"nodeType":"YulFunctionCall","src":"310:12:1"},"nodeType":"YulExpressionStatement","src":"310:12:1"}]},"name":"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db","nodeType":"YulFunctionDefinition","src":"211:117:1"},{"body":{"nodeType":"YulBlock","src":"379:32:1","statements":[{"nodeType":"YulAssignment","src":"389:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"400:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"389:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"361:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"371:7:1","type":""}],"src":"334:77:1"},{"body":{"nodeType":"YulBlock","src":"460:79:1","statements":[{"body":{"nodeType":"YulBlock","src":"517:16:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"526:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"529:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"519:6:1"},"nodeType":"YulFunctionCall","src":"519:12:1"},"nodeType":"YulExpressionStatement","src":"519:12:1"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"483:5:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"508:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"490:17:1"},"nodeType":"YulFunctionCall","src":"490:24:1"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"480:2:1"},"nodeType":"YulFunctionCall","src":"480:35:1"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"473:6:1"},"nodeType":"YulFunctionCall","src":"473:43:1"},"nodeType":"YulIf","src":"470:63:1"}]},"name":"validator_revert_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"453:5:1","type":""}],"src":"417:122:1"},{"body":{"nodeType":"YulBlock","src":"608:80:1","statements":[{"nodeType":"YulAssignment","src":"618:22:1","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"633:6:1"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"627:5:1"},"nodeType":"YulFunctionCall","src":"627:13:1"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"618:5:1"}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"676:5:1"}],"functionName":{"name":"validator_revert_t_uint256","nodeType":"YulIdentifier","src":"649:26:1"},"nodeType":"YulFunctionCall","src":"649:33:1"},"nodeType":"YulExpressionStatement","src":"649:33:1"}]},"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"586:6:1","type":""},{"name":"end","nodeType":"YulTypedName","src":"594:3:1","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"602:5:1","type":""}],"src":"545:143:1"},{"body":{"nodeType":"YulBlock","src":"771:274:1","statements":[{"body":{"nodeType":"YulBlock","src":"817:83:1","statements":[{"expression":{"arguments":[],"functionName":{"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulIdentifier","src":"819:77:1"},"nodeType":"YulFunctionCall","src":"819:79:1"},"nodeType":"YulExpressionStatement","src":"819:79:1"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"792:7:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"801:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"788:3:1"},"nodeType":"YulFunctionCall","src":"788:23:1"},{"kind":"number","nodeType":"YulLiteral","src":"813:2:1","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"784:3:1"},"nodeType":"YulFunctionCall","src":"784:32:1"},"nodeType":"YulIf","src":"781:119:1"},{"nodeType":"YulBlock","src":"910:128:1","statements":[{"nodeType":"YulVariableDeclaration","src":"925:15:1","value":{"kind":"number","nodeType":"YulLiteral","src":"939:1:1","type":"","value":"0"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"929:6:1","type":""}]},{"nodeType":"YulAssignment","src":"954:74:1","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1000:9:1"},{"name":"offset","nodeType":"YulIdentifier","src":"1011:6:1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"996:3:1"},"nodeType":"YulFunctionCall","src":"996:22:1"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1020:7:1"}],"functionName":{"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulIdentifier","src":"964:31:1"},"nodeType":"YulFunctionCall","src":"964:64:1"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"954:6:1"}]}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"741:9:1","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"752:7:1","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"764:6:1","type":""}],"src":"694:351:1"},{"body":{"nodeType":"YulBlock","src":"1147:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1164:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1169:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1157:6:1"},"nodeType":"YulFunctionCall","src":"1157:19:1"},"nodeType":"YulExpressionStatement","src":"1157:19:1"},{"nodeType":"YulAssignment","src":"1185:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1204:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1209:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1200:3:1"},"nodeType":"YulFunctionCall","src":"1200:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1185:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1119:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1124:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1135:11:1","type":""}],"src":"1051:169:1"},{"body":{"nodeType":"YulBlock","src":"1332:116:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1354:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1362:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1350:3:1"},"nodeType":"YulFunctionCall","src":"1350:14:1"},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574","kind":"string","nodeType":"YulLiteral","src":"1366:34:1","type":"","value":"Unlock time should be in the fut"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1343:6:1"},"nodeType":"YulFunctionCall","src":"1343:58:1"},"nodeType":"YulExpressionStatement","src":"1343:58:1"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1422:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1430:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1418:3:1"},"nodeType":"YulFunctionCall","src":"1418:15:1"},{"hexValue":"757265","kind":"string","nodeType":"YulLiteral","src":"1435:5:1","type":"","value":"ure"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1411:6:1"},"nodeType":"YulFunctionCall","src":"1411:30:1"},"nodeType":"YulExpressionStatement","src":"1411:30:1"}]},"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1324:6:1","type":""}],"src":"1226:222:1"},{"body":{"nodeType":"YulBlock","src":"1600:220:1","statements":[{"nodeType":"YulAssignment","src":"1610:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1676:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1681:2:1","type":"","value":"35"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1617:58:1"},"nodeType":"YulFunctionCall","src":"1617:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1610:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1782:3:1"}],"functionName":{"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulIdentifier","src":"1693:88:1"},"nodeType":"YulFunctionCall","src":"1693:93:1"},"nodeType":"YulExpressionStatement","src":"1693:93:1"},{"nodeType":"YulAssignment","src":"1795:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1806:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1811:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1802:3:1"},"nodeType":"YulFunctionCall","src":"1802:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1795:3:1"}]}]},"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1588:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1596:3:1","type":""}],"src":"1454:366:1"},{"body":{"nodeType":"YulBlock","src":"1997:248:1","statements":[{"nodeType":"YulAssignment","src":"2007:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2019:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2030:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2015:3:1"},"nodeType":"YulFunctionCall","src":"2015:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2007:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2054:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2065:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2050:3:1"},"nodeType":"YulFunctionCall","src":"2050:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2073:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2079:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2069:3:1"},"nodeType":"YulFunctionCall","src":"2069:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2043:6:1"},"nodeType":"YulFunctionCall","src":"2043:47:1"},"nodeType":"YulExpressionStatement","src":"2043:47:1"},{"nodeType":"YulAssignment","src":"2099:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2233:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2107:124:1"},"nodeType":"YulFunctionCall","src":"2107:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2099:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1977:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1992:4:1","type":""}],"src":"1826:419:1"}]},"contents":"{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(memPtr) {\n\n mstore(add(memPtr, 0), \"Unlock time should be in the fut\")\n\n mstore(add(memPtr, 32), \"ure\")\n\n }\n\n function abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x5E1 CODESIZE SUB DUP1 PUSH2 0x5E1 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0xF9 JUMP JUMPDEST DUP1 TIMESTAMP LT PUSH2 0x67 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E SWAP1 PUSH2 0x1A9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH3 0x6EF91 SWAP1 POP DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP CALLER PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP POP PUSH2 0x1C9 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD6 DUP2 PUSH2 0xC3 JUMP JUMPDEST DUP2 EQ PUSH2 0xE1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xF3 DUP2 PUSH2 0xCD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x10F JUMPI PUSH2 0x10E PUSH2 0xBE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x11D DUP5 DUP3 DUP6 ADD PUSH2 0xE4 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x556E6C6F636B2074696D652073686F756C6420626520696E2074686520667574 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7572650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x193 PUSH1 0x23 DUP4 PUSH2 0x126 JUMP JUMPDEST SWAP2 POP PUSH2 0x19E DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1C2 DUP2 PUSH2 0x186 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x409 DUP1 PUSH2 0x1D8 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;270:262;;;;;;;;;;;;;;;;;;;;;:::i;:::-;357:11;339:15;:29;318:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;439:6;448;439:15;;477:11;464:10;:24;;;;514:10;498:5;;:27;;;;;;;;;;;;;;;;;;308:224;270:262;140:890;;88:117:1;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:143::-;602:5;633:6;627:13;618:22;;649:33;676:5;649:33;:::i;:::-;545:143;;;;:::o;694:351::-;764:6;813:2;801:9;792:7;788:23;784:32;781:119;;;819:79;;:::i;:::-;781:119;939:1;964:64;1020:7;1011:6;1000:9;996:22;964:64;:::i;:::-;954:74;;910:128;694:351;;;;:::o;1051:169::-;1135:11;1169:6;1164:3;1157:19;1209:4;1204:3;1200:14;1185:29;;1051:169;;;;:::o;1226:222::-;1366:34;1362:1;1354:6;1350:14;1343:58;1435:5;1430:2;1422:6;1418:15;1411:30;1226:222;:::o;1454:366::-;1596:3;1617:67;1681:2;1676:3;1617:67;:::i;:::-;1610:74;;1693:93;1782:3;1693:93;:::i;:::-;1811:2;1806:3;1802:12;1795:19;;1454:366;;;:::o;1826:419::-;1992:4;2030:2;2019:9;2015:18;2007:26;;2079:9;2073:4;2069:20;2065:1;2054:9;2050:17;2043:47;2107:131;2233:4;2107:131;:::i;:::-;2099:139;;1826:419;;;:::o;140:890:0:-;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@owner_5":{"entryPoint":523,"id":5,"parameterSlots":0,"returnSlots":0},"@unlockTime_3":{"entryPoint":140,"id":3,"parameterSlots":0,"returnSlots":0},"@withdraw_81":{"entryPoint":146,"id":81,"parameterSlots":0,"returnSlots":0},"abi_encode_t_address_payable_to_t_address_payable_fromStack":{"entryPoint":663,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack":{"entryPoint":763,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack":{"entryPoint":871,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_uint256_to_t_uint256_fromStack":{"entryPoint":571,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed":{"entryPoint":678,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":798,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":906,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":586,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":938,"id":null,"parameterSlots":3,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":705,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_address_payable":{"entryPoint":645,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint160":{"entryPoint":613,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":561,"id":null,"parameterSlots":1,"returnSlots":1},"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8":{"entryPoint":722,"id":null,"parameterSlots":1,"returnSlots":0},"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a":{"entryPoint":830,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3550:1","statements":[{"body":{"nodeType":"YulBlock","src":"52:32:1","statements":[{"nodeType":"YulAssignment","src":"62:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"73:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"62:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"34:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"44:7:1","type":""}],"src":"7:77:1"},{"body":{"nodeType":"YulBlock","src":"155:53:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"172:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"195:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"177:17:1"},"nodeType":"YulFunctionCall","src":"177:24:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"165:6:1"},"nodeType":"YulFunctionCall","src":"165:37:1"},"nodeType":"YulExpressionStatement","src":"165:37:1"}]},"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"143:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"150:3:1","type":""}],"src":"90:118:1"},{"body":{"nodeType":"YulBlock","src":"312:124:1","statements":[{"nodeType":"YulAssignment","src":"322:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"334:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"345:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"330:3:1"},"nodeType":"YulFunctionCall","src":"330:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"322:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"402:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"415:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"426:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"411:3:1"},"nodeType":"YulFunctionCall","src":"411:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"358:43:1"},"nodeType":"YulFunctionCall","src":"358:71:1"},"nodeType":"YulExpressionStatement","src":"358:71:1"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"284:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"296:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"307:4:1","type":""}],"src":"214:222:1"},{"body":{"nodeType":"YulBlock","src":"487:81:1","statements":[{"nodeType":"YulAssignment","src":"497:65:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"512:5:1"},{"kind":"number","nodeType":"YulLiteral","src":"519:42:1","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"508:3:1"},"nodeType":"YulFunctionCall","src":"508:54:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"497:7:1"}]}]},"name":"cleanup_t_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"469:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"479:7:1","type":""}],"src":"442:126:1"},{"body":{"nodeType":"YulBlock","src":"627:51:1","statements":[{"nodeType":"YulAssignment","src":"637:35:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"666:5:1"}],"functionName":{"name":"cleanup_t_uint160","nodeType":"YulIdentifier","src":"648:17:1"},"nodeType":"YulFunctionCall","src":"648:24:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"637:7:1"}]}]},"name":"cleanup_t_address_payable","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"609:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"619:7:1","type":""}],"src":"574:104:1"},{"body":{"nodeType":"YulBlock","src":"765:61:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"782:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"813:5:1"}],"functionName":{"name":"cleanup_t_address_payable","nodeType":"YulIdentifier","src":"787:25:1"},"nodeType":"YulFunctionCall","src":"787:32:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"775:6:1"},"nodeType":"YulFunctionCall","src":"775:45:1"},"nodeType":"YulExpressionStatement","src":"775:45:1"}]},"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"753:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"760:3:1","type":""}],"src":"684:142:1"},{"body":{"nodeType":"YulBlock","src":"946:140:1","statements":[{"nodeType":"YulAssignment","src":"956:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"968:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"979:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"964:3:1"},"nodeType":"YulFunctionCall","src":"964:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"956:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1052:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1065:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"1076:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1061:3:1"},"nodeType":"YulFunctionCall","src":"1061:17:1"}],"functionName":{"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulIdentifier","src":"992:59:1"},"nodeType":"YulFunctionCall","src":"992:87:1"},"nodeType":"YulExpressionStatement","src":"992:87:1"}]},"name":"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"918:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"930:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"941:4:1","type":""}],"src":"832:254:1"},{"body":{"nodeType":"YulBlock","src":"1188:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1205:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1210:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1198:6:1"},"nodeType":"YulFunctionCall","src":"1198:19:1"},"nodeType":"YulExpressionStatement","src":"1198:19:1"},{"nodeType":"YulAssignment","src":"1226:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1245:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1250:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1241:3:1"},"nodeType":"YulFunctionCall","src":"1241:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1226:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1160:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1165:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1176:11:1","type":""}],"src":"1092:169:1"},{"body":{"nodeType":"YulBlock","src":"1373:66:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1395:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1403:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1391:3:1"},"nodeType":"YulFunctionCall","src":"1391:14:1"},{"hexValue":"596f752063616e277420776974686472617720796574","kind":"string","nodeType":"YulLiteral","src":"1407:24:1","type":"","value":"You can't withdraw yet"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1384:6:1"},"nodeType":"YulFunctionCall","src":"1384:48:1"},"nodeType":"YulExpressionStatement","src":"1384:48:1"}]},"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1365:6:1","type":""}],"src":"1267:172:1"},{"body":{"nodeType":"YulBlock","src":"1591:220:1","statements":[{"nodeType":"YulAssignment","src":"1601:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1667:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1672:2:1","type":"","value":"22"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1608:58:1"},"nodeType":"YulFunctionCall","src":"1608:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1601:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1773:3:1"}],"functionName":{"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulIdentifier","src":"1684:88:1"},"nodeType":"YulFunctionCall","src":"1684:93:1"},"nodeType":"YulExpressionStatement","src":"1684:93:1"},{"nodeType":"YulAssignment","src":"1786:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1797:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1802:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1793:3:1"},"nodeType":"YulFunctionCall","src":"1793:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1786:3:1"}]}]},"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1579:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1587:3:1","type":""}],"src":"1445:366:1"},{"body":{"nodeType":"YulBlock","src":"1988:248:1","statements":[{"nodeType":"YulAssignment","src":"1998:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2010:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2021:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2006:3:1"},"nodeType":"YulFunctionCall","src":"2006:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1998:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2045:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2056:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2041:3:1"},"nodeType":"YulFunctionCall","src":"2041:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2064:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2070:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2060:3:1"},"nodeType":"YulFunctionCall","src":"2060:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2034:6:1"},"nodeType":"YulFunctionCall","src":"2034:47:1"},"nodeType":"YulExpressionStatement","src":"2034:47:1"},{"nodeType":"YulAssignment","src":"2090:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2224:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2098:124:1"},"nodeType":"YulFunctionCall","src":"2098:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2090:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1968:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1983:4:1","type":""}],"src":"1817:419:1"},{"body":{"nodeType":"YulBlock","src":"2348:64:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"2370:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"2378:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2366:3:1"},"nodeType":"YulFunctionCall","src":"2366:14:1"},{"hexValue":"596f75206172656e277420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"2382:22:1","type":"","value":"You aren't the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2359:6:1"},"nodeType":"YulFunctionCall","src":"2359:46:1"},"nodeType":"YulExpressionStatement","src":"2359:46:1"}]},"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"2340:6:1","type":""}],"src":"2242:170:1"},{"body":{"nodeType":"YulBlock","src":"2564:220:1","statements":[{"nodeType":"YulAssignment","src":"2574:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2640:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2645:2:1","type":"","value":"20"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2581:58:1"},"nodeType":"YulFunctionCall","src":"2581:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"2574:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2746:3:1"}],"functionName":{"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulIdentifier","src":"2657:88:1"},"nodeType":"YulFunctionCall","src":"2657:93:1"},"nodeType":"YulExpressionStatement","src":"2657:93:1"},{"nodeType":"YulAssignment","src":"2759:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2770:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2775:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2766:3:1"},"nodeType":"YulFunctionCall","src":"2766:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"2759:3:1"}]}]},"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"2552:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"2560:3:1","type":""}],"src":"2418:366:1"},{"body":{"nodeType":"YulBlock","src":"2961:248:1","statements":[{"nodeType":"YulAssignment","src":"2971:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2983:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2994:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2979:3:1"},"nodeType":"YulFunctionCall","src":"2979:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2971:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3018:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3029:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3014:3:1"},"nodeType":"YulFunctionCall","src":"3014:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3037:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"3043:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3033:3:1"},"nodeType":"YulFunctionCall","src":"3033:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3007:6:1"},"nodeType":"YulFunctionCall","src":"3007:47:1"},"nodeType":"YulExpressionStatement","src":"3007:47:1"},{"nodeType":"YulAssignment","src":"3063:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3197:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"3071:124:1"},"nodeType":"YulFunctionCall","src":"3071:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3063:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2941:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2956:4:1","type":""}],"src":"2790:419:1"},{"body":{"nodeType":"YulBlock","src":"3341:206:1","statements":[{"nodeType":"YulAssignment","src":"3351:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3363:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3374:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3359:3:1"},"nodeType":"YulFunctionCall","src":"3359:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3351:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3431:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3444:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3455:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3440:3:1"},"nodeType":"YulFunctionCall","src":"3440:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3387:43:1"},"nodeType":"YulFunctionCall","src":"3387:71:1"},"nodeType":"YulExpressionStatement","src":"3387:71:1"},{"expression":{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"3512:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3525:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3536:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3521:3:1"},"nodeType":"YulFunctionCall","src":"3521:18:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3468:43:1"},"nodeType":"YulFunctionCall","src":"3468:72:1"},"nodeType":"YulExpressionStatement","src":"3468:72:1"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3305:9:1","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3317:6:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3325:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3336:4:1","type":""}],"src":"3215:332:1"}]},"contents":"{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_payable_to_t_address_payable_fromStack(value, pos) {\n mstore(pos, cleanup_t_address_payable(value))\n }\n\n function abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(memPtr) {\n\n mstore(add(memPtr, 0), \"You can't withdraw yet\")\n\n }\n\n function abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 22)\n store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(memPtr) {\n\n mstore(add(memPtr, 0), \"You aren't the owner\")\n\n }\n\n function abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;538:490;;;:::i;:::-;;188:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;160:22;;;;:::o;538:490::-;808:10;;789:15;:29;;781:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;877:5;;;;;;;;;;;863:19;;:10;:19;;;855:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;923:50;934:21;957:15;923:50;;;;;;;:::i;:::-;;;;;;;;984:5;;;;;;;;;;;:14;;:37;999:21;984:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;538:490::o;188:28::-;;;;;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:104::-;619:7;648:24;666:5;648:24;:::i;:::-;637:35;;574:104;;;:::o;684:142::-;787:32;813:5;787:32;:::i;:::-;782:3;775:45;684:142;;:::o;832:254::-;941:4;979:2;968:9;964:18;956:26;;992:87;1076:1;1065:9;1061:17;1052:6;992:87;:::i;:::-;832:254;;;;:::o;1092:169::-;1176:11;1210:6;1205:3;1198:19;1250:4;1245:3;1241:14;1226:29;;1092:169;;;;:::o;1267:172::-;1407:24;1403:1;1395:6;1391:14;1384:48;1267:172;:::o;1445:366::-;1587:3;1608:67;1672:2;1667:3;1608:67;:::i;:::-;1601:74;;1684:93;1773:3;1684:93;:::i;:::-;1802:2;1797:3;1793:12;1786:19;;1445:366;;;:::o;1817:419::-;1983:4;2021:2;2010:9;2006:18;1998:26;;2070:9;2064:4;2060:20;2056:1;2045:9;2041:17;2034:47;2098:131;2224:4;2098:131;:::i;:::-;2090:139;;1817:419;;;:::o;2242:170::-;2382:22;2378:1;2370:6;2366:14;2359:46;2242:170;:::o;2418:366::-;2560:3;2581:67;2645:2;2640:3;2581:67;:::i;:::-;2574:74;;2657:93;2746:3;2657:93;:::i;:::-;2775:2;2770:3;2766:12;2759:19;;2418:366;;;:::o;2790:419::-;2956:4;2994:2;2983:9;2979:18;2971:26;;3043:9;3037:4;3033:20;3029:1;3018:9;3014:17;3007:47;3071:131;3197:4;3071:131;:::i;:::-;3063:139;;2790:419;;;:::o;3215:332::-;3336:4;3374:2;3363:9;3359:18;3351:26;;3387:71;3455:1;3444:9;3440:17;3431:6;3387:71;:::i;:::-;3468:72;3536:2;3525:9;3521:18;3512:6;3468:72;:::i;:::-;3215:332;;;;;:::o"},"methodIdentifiers":{"owner()":"8da5cb5b","unlockTime()":"251c1aa3","withdraw()":"3ccfd60b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockTime\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"when\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Lock.sol\":\"Lock\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Lock.sol\":{\"keccak256\":\"0xa5ebf2cef5285b3206868acdf827f5efad8cc2b9e9d27825149726738201f7fd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://df07ce18da48c5d5377d12dddb8ed9d1a860111b9a9ae36539bfcde6af7a41a1\",\"dweb:/ipfs/QmVrX2e4QHJJo22XrNkCy2koPNhMz49bzvmRXuaLKRtx5f\"]}},\"version\":1}"}}}}} \ No newline at end of file diff --git a/apps/remix-ide-e2e/src/helpers/hardhat_compilation_8a7ab689ec618720f53ce867a3031c03.json b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_8a7ab689ec618720f53ce867a3031c03.json deleted file mode 100644 index 2d1f7fcdbe..0000000000 --- a/apps/remix-ide-e2e/src/helpers/hardhat_compilation_8a7ab689ec618720f53ce867a3031c03.json +++ /dev/null @@ -1,113556 +0,0 @@ -{ - "id": "8a7ab689ec618720f53ce867a3031c03", - "_format": "hh-sol-build-info-1", - "solcVersion": "0.8.9", - "solcLongVersion": "0.8.9+commit.e5eed63a", - "input": { - "language": "Solidity", - "sources": { - "contracts/Lock.sol": { - "content": "// SPDX-License-Identifier: UNLICENSED\n// pragma solidity ^0.8.9;\n\n// Import this file to use console.log\nimport \"hardhat/console.sol\";\n\ncontract Lock {\n uint public unlockTime;\n address payable public owner;\n\n event Withdrawal(uint amount, uint when);\n\n constructor(uint _unlockTime) payable {\n require(\n block.timestamp < _unlockTime,\n \"Unlock time should be in the future\"\n );\n\n unlockTime = _unlockTime;\n owner = payable(msg.sender);\n }\n\n function withdraw() public {\n uint p = 1999443898722;\n // Uncomment this line to print a log in your terminal\n // console.log(\"Unlock time is %o and block timestamp is %o\", unlockTime, block.timestamp);\n\n require(block.timestamp >= unlockTime, \"You can't withdraw yet\");\n require(msg.sender == owner, \"You aren't the owner\");\n\n emit Withdrawal(address(this).balance, block.timestamp);\n\n owner.transfer(address(this).balance);\n }\n}\n" - }, - "hardhat/console.sol": { - "content": "// SPDX-License-Identifier: MIT\npragma solidity >= 0.4.22 <0.9.0;\n\nlibrary console {\n\taddress constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);\n\n\tfunction _sendLogPayload(bytes memory payload) private view {\n\t\tuint256 payloadLength = payload.length;\n\t\taddress consoleAddress = CONSOLE_ADDRESS;\n\t\tassembly {\n\t\t\tlet payloadStart := add(payload, 32)\n\t\t\tlet r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)\n\t\t}\n\t}\n\n\tfunction log() internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log()\"));\n\t}\n\n\tfunction logInt(int256 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(int256)\", p0));\n\t}\n\n\tfunction logUint(uint256 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256)\", p0));\n\t}\n\n\tfunction logString(string memory p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n\t}\n\n\tfunction logBool(bool p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n\t}\n\n\tfunction logAddress(address p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n\t}\n\n\tfunction logBytes(bytes memory p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes)\", p0));\n\t}\n\n\tfunction logBytes1(bytes1 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes1)\", p0));\n\t}\n\n\tfunction logBytes2(bytes2 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes2)\", p0));\n\t}\n\n\tfunction logBytes3(bytes3 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes3)\", p0));\n\t}\n\n\tfunction logBytes4(bytes4 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes4)\", p0));\n\t}\n\n\tfunction logBytes5(bytes5 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes5)\", p0));\n\t}\n\n\tfunction logBytes6(bytes6 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes6)\", p0));\n\t}\n\n\tfunction logBytes7(bytes7 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes7)\", p0));\n\t}\n\n\tfunction logBytes8(bytes8 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes8)\", p0));\n\t}\n\n\tfunction logBytes9(bytes9 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes9)\", p0));\n\t}\n\n\tfunction logBytes10(bytes10 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes10)\", p0));\n\t}\n\n\tfunction logBytes11(bytes11 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes11)\", p0));\n\t}\n\n\tfunction logBytes12(bytes12 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes12)\", p0));\n\t}\n\n\tfunction logBytes13(bytes13 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes13)\", p0));\n\t}\n\n\tfunction logBytes14(bytes14 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes14)\", p0));\n\t}\n\n\tfunction logBytes15(bytes15 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes15)\", p0));\n\t}\n\n\tfunction logBytes16(bytes16 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes16)\", p0));\n\t}\n\n\tfunction logBytes17(bytes17 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes17)\", p0));\n\t}\n\n\tfunction logBytes18(bytes18 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes18)\", p0));\n\t}\n\n\tfunction logBytes19(bytes19 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes19)\", p0));\n\t}\n\n\tfunction logBytes20(bytes20 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes20)\", p0));\n\t}\n\n\tfunction logBytes21(bytes21 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes21)\", p0));\n\t}\n\n\tfunction logBytes22(bytes22 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes22)\", p0));\n\t}\n\n\tfunction logBytes23(bytes23 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes23)\", p0));\n\t}\n\n\tfunction logBytes24(bytes24 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes24)\", p0));\n\t}\n\n\tfunction logBytes25(bytes25 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes25)\", p0));\n\t}\n\n\tfunction logBytes26(bytes26 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes26)\", p0));\n\t}\n\n\tfunction logBytes27(bytes27 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes27)\", p0));\n\t}\n\n\tfunction logBytes28(bytes28 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes28)\", p0));\n\t}\n\n\tfunction logBytes29(bytes29 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes29)\", p0));\n\t}\n\n\tfunction logBytes30(bytes30 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes30)\", p0));\n\t}\n\n\tfunction logBytes31(bytes31 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes31)\", p0));\n\t}\n\n\tfunction logBytes32(bytes32 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bytes32)\", p0));\n\t}\n\n\tfunction log(uint256 p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256)\", p0));\n\t}\n\n\tfunction log(string memory p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string)\", p0));\n\t}\n\n\tfunction log(bool p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool)\", p0));\n\t}\n\n\tfunction log(address p0) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address)\", p0));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256)\", p0, p1));\n\t}\n\n\tfunction log(uint256 p0, string memory p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string)\", p0, p1));\n\t}\n\n\tfunction log(uint256 p0, bool p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool)\", p0, p1));\n\t}\n\n\tfunction log(uint256 p0, address p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address)\", p0, p1));\n\t}\n\n\tfunction log(string memory p0, uint256 p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256)\", p0, p1));\n\t}\n\n\tfunction log(string memory p0, string memory p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string)\", p0, p1));\n\t}\n\n\tfunction log(string memory p0, bool p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool)\", p0, p1));\n\t}\n\n\tfunction log(string memory p0, address p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address)\", p0, p1));\n\t}\n\n\tfunction log(bool p0, uint256 p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256)\", p0, p1));\n\t}\n\n\tfunction log(bool p0, string memory p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string)\", p0, p1));\n\t}\n\n\tfunction log(bool p0, bool p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool)\", p0, p1));\n\t}\n\n\tfunction log(bool p0, address p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address)\", p0, p1));\n\t}\n\n\tfunction log(address p0, uint256 p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256)\", p0, p1));\n\t}\n\n\tfunction log(address p0, string memory p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string)\", p0, p1));\n\t}\n\n\tfunction log(address p0, bool p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool)\", p0, p1));\n\t}\n\n\tfunction log(address p0, address p1) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address)\", p0, p1));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, bool p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, bool p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, bool p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, bool p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, address p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, address p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, address p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, address p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, string memory p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, string memory p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, string memory p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, string memory p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, bool p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, bool p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, bool p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, bool p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, address p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, address p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, address p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(string memory p0, address p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, uint256 p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, uint256 p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, uint256 p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, uint256 p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, string memory p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, string memory p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, string memory p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, string memory p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, bool p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, bool p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, bool p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, bool p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, address p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, address p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, address p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(bool p0, address p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, uint256 p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, uint256 p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, uint256 p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, uint256 p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, string memory p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, string memory p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, string memory p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, string memory p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, bool p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, bool p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, bool p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, bool p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, address p1, uint256 p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint256)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, address p1, string memory p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,string)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, address p1, bool p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool)\", p0, p1, p2));\n\t}\n\n\tfunction log(address p0, address p1, address p2) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,address)\", p0, p1, p2));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, uint256 p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,uint256,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, string memory p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,string,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, bool p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,bool,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(uint256 p0, address p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(uint256,address,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, uint256 p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,uint256,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, string memory p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,string,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, bool p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,bool,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(string memory p0, address p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(string,address,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, uint256 p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,uint256,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, string memory p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,string,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, bool p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,bool,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(bool p0, address p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(bool,address,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, uint256 p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,uint256,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, string memory p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,string,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, bool p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,bool,address,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, uint256 p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint256,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, uint256 p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint256,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, uint256 p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint256,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, uint256 p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,uint256,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, string memory p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, string memory p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, string memory p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, string memory p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,string,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, bool p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, bool p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, bool p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, bool p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,bool,address)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, address p2, uint256 p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,uint256)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, address p2, string memory p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,string)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, address p2, bool p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,bool)\", p0, p1, p2, p3));\n\t}\n\n\tfunction log(address p0, address p1, address p2, address p3) internal view {\n\t\t_sendLogPayload(abi.encodeWithSignature(\"log(address,address,address,address)\", p0, p1, p2, p3));\n\t}\n\n}\n" - } - }, - "settings": { - "optimizer": { - "enabled": false, - "runs": 200 - }, - "outputSelection": { - "*": { - "*": [ - "abi", - "evm.bytecode", - "evm.deployedBytecode", - "evm.methodIdentifiers", - "metadata" - ], - "": [ - "ast" - ] - } - } - } - }, - "output": { - "contracts": { - "contracts/Lock.sol": { - "Lock": { - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_unlockTime", - "type": "uint256" - } - ], - "stateMutability": "payable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "when", - "type": "uint256" - } - ], - "name": "Withdrawal", - "type": "event" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address payable", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "unlockTime", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "withdraw", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "evm": { - "bytecode": { - "functionDebugData": { - "@_37": { - "entryPoint": null, - "id": 37, - "parameterSlots": 1, - "returnSlots": 0 - }, - "abi_decode_t_uint256_fromMemory": { - "entryPoint": 219, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "abi_decode_tuple_t_uint256_fromMemory": { - "entryPoint": 240, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack": { - "entryPoint": 381, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed": { - "entryPoint": 416, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "allocate_unbounded": { - "entryPoint": null, - "id": null, - "parameterSlots": 0, - "returnSlots": 1 - }, - "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { - "entryPoint": 285, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "cleanup_t_uint256": { - "entryPoint": 186, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { - "entryPoint": null, - "id": null, - "parameterSlots": 0, - "returnSlots": 0 - }, - "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { - "entryPoint": 181, - "id": null, - "parameterSlots": 0, - "returnSlots": 0 - }, - "store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413": { - "entryPoint": 302, - "id": null, - "parameterSlots": 1, - "returnSlots": 0 - }, - "validator_revert_t_uint256": { - "entryPoint": 196, - "id": null, - "parameterSlots": 1, - "returnSlots": 0 - } - }, - "generatedSources": [ - { - "ast": { - "nodeType": "YulBlock", - "src": "0:2248:2", - "statements": [ - { - "body": { - "nodeType": "YulBlock", - "src": "47:35:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "57:19:2", - "value": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "73:2:2", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "67:5:2" - }, - "nodeType": "YulFunctionCall", - "src": "67:9:2" - }, - "variableNames": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "57:6:2" - } - ] - } - ] - }, - "name": "allocate_unbounded", - "nodeType": "YulFunctionDefinition", - "returnVariables": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "40:6:2", - "type": "" - } - ], - "src": "7:75:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "177:28:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "194:1:2", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "197:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "187:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "187:12:2" - }, - "nodeType": "YulExpressionStatement", - "src": "187:12:2" - } - ] - }, - "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", - "nodeType": "YulFunctionDefinition", - "src": "88:117:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "300:28:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "317:1:2", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "320:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "310:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "310:12:2" - }, - "nodeType": "YulExpressionStatement", - "src": "310:12:2" - } - ] - }, - "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", - "nodeType": "YulFunctionDefinition", - "src": "211:117:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "379:32:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "389:16:2", - "value": { - "name": "value", - "nodeType": "YulIdentifier", - "src": "400:5:2" - }, - "variableNames": [ - { - "name": "cleaned", - "nodeType": "YulIdentifier", - "src": "389:7:2" - } - ] - } - ] - }, - "name": "cleanup_t_uint256", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "361:5:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "cleaned", - "nodeType": "YulTypedName", - "src": "371:7:2", - "type": "" - } - ], - "src": "334:77:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "460:79:2", - "statements": [ - { - "body": { - "nodeType": "YulBlock", - "src": "517:16:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "526:1:2", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "529:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "revert", - "nodeType": "YulIdentifier", - "src": "519:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "519:12:2" - }, - "nodeType": "YulExpressionStatement", - "src": "519:12:2" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "483:5:2" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "508:5:2" - } - ], - "functionName": { - "name": "cleanup_t_uint256", - "nodeType": "YulIdentifier", - "src": "490:17:2" - }, - "nodeType": "YulFunctionCall", - "src": "490:24:2" - } - ], - "functionName": { - "name": "eq", - "nodeType": "YulIdentifier", - "src": "480:2:2" - }, - "nodeType": "YulFunctionCall", - "src": "480:35:2" - } - ], - "functionName": { - "name": "iszero", - "nodeType": "YulIdentifier", - "src": "473:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "473:43:2" - }, - "nodeType": "YulIf", - "src": "470:63:2" - } - ] - }, - "name": "validator_revert_t_uint256", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "453:5:2", - "type": "" - } - ], - "src": "417:122:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "608:80:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "618:22:2", - "value": { - "arguments": [ - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "633:6:2" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "627:5:2" - }, - "nodeType": "YulFunctionCall", - "src": "627:13:2" - }, - "variableNames": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "618:5:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "676:5:2" - } - ], - "functionName": { - "name": "validator_revert_t_uint256", - "nodeType": "YulIdentifier", - "src": "649:26:2" - }, - "nodeType": "YulFunctionCall", - "src": "649:33:2" - }, - "nodeType": "YulExpressionStatement", - "src": "649:33:2" - } - ] - }, - "name": "abi_decode_t_uint256_fromMemory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "586:6:2", - "type": "" - }, - { - "name": "end", - "nodeType": "YulTypedName", - "src": "594:3:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "602:5:2", - "type": "" - } - ], - "src": "545:143:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "771:274:2", - "statements": [ - { - "body": { - "nodeType": "YulBlock", - "src": "817:83:2", - "statements": [ - { - "expression": { - "arguments": [], - "functionName": { - "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", - "nodeType": "YulIdentifier", - "src": "819:77:2" - }, - "nodeType": "YulFunctionCall", - "src": "819:79:2" - }, - "nodeType": "YulExpressionStatement", - "src": "819:79:2" - } - ] - }, - "condition": { - "arguments": [ - { - "arguments": [ - { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "792:7:2" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "801:9:2" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "788:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "788:23:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "813:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "slt", - "nodeType": "YulIdentifier", - "src": "784:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "784:32:2" - }, - "nodeType": "YulIf", - "src": "781:119:2" - }, - { - "nodeType": "YulBlock", - "src": "910:128:2", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "925:15:2", - "value": { - "kind": "number", - "nodeType": "YulLiteral", - "src": "939:1:2", - "type": "", - "value": "0" - }, - "variables": [ - { - "name": "offset", - "nodeType": "YulTypedName", - "src": "929:6:2", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "954:74:2", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1000:9:2" - }, - { - "name": "offset", - "nodeType": "YulIdentifier", - "src": "1011:6:2" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "996:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "996:22:2" - }, - { - "name": "dataEnd", - "nodeType": "YulIdentifier", - "src": "1020:7:2" - } - ], - "functionName": { - "name": "abi_decode_t_uint256_fromMemory", - "nodeType": "YulIdentifier", - "src": "964:31:2" - }, - "nodeType": "YulFunctionCall", - "src": "964:64:2" - }, - "variableNames": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "954:6:2" - } - ] - } - ] - } - ] - }, - "name": "abi_decode_tuple_t_uint256_fromMemory", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "741:9:2", - "type": "" - }, - { - "name": "dataEnd", - "nodeType": "YulTypedName", - "src": "752:7:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "764:6:2", - "type": "" - } - ], - "src": "694:351:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1147:73:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1164:3:2" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1169:6:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1157:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "1157:19:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1157:19:2" - }, - { - "nodeType": "YulAssignment", - "src": "1185:29:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1204:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1209:4:2", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1200:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1200:14:2" - }, - "variableNames": [ - { - "name": "updated_pos", - "nodeType": "YulIdentifier", - "src": "1185:11:2" - } - ] - } - ] - }, - "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1119:3:2", - "type": "" - }, - { - "name": "length", - "nodeType": "YulTypedName", - "src": "1124:6:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "updated_pos", - "nodeType": "YulTypedName", - "src": "1135:11:2", - "type": "" - } - ], - "src": "1051:169:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1332:116:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "1354:6:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1362:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1350:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1350:14:2" - }, - { - "hexValue": "556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574", - "kind": "string", - "nodeType": "YulLiteral", - "src": "1366:34:2", - "type": "", - "value": "Unlock time should be in the fut" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1343:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "1343:58:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1343:58:2" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "1422:6:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1430:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1418:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1418:15:2" - }, - { - "hexValue": "757265", - "kind": "string", - "nodeType": "YulLiteral", - "src": "1435:5:2", - "type": "", - "value": "ure" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1411:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "1411:30:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1411:30:2" - } - ] - }, - "name": "store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "1324:6:2", - "type": "" - } - ], - "src": "1226:222:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1600:220:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1610:74:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1676:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1681:2:2", - "type": "", - "value": "35" - } - ], - "functionName": { - "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "1617:58:2" - }, - "nodeType": "YulFunctionCall", - "src": "1617:67:2" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1610:3:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1782:3:2" - } - ], - "functionName": { - "name": "store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413", - "nodeType": "YulIdentifier", - "src": "1693:88:2" - }, - "nodeType": "YulFunctionCall", - "src": "1693:93:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1693:93:2" - }, - { - "nodeType": "YulAssignment", - "src": "1795:19:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1806:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1811:2:2", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1802:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1802:12:2" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "1795:3:2" - } - ] - } - ] - }, - "name": "abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1588:3:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "1596:3:2", - "type": "" - } - ], - "src": "1454:366:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1997:248:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2007:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2019:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2030:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2015:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2015:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2007:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2054:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2065:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2050:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2050:17:2" - }, - { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2073:4:2" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2079:9:2" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2069:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2069:20:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2043:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "2043:47:2" - }, - "nodeType": "YulExpressionStatement", - "src": "2043:47:2" - }, - { - "nodeType": "YulAssignment", - "src": "2099:139:2", - "value": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2233:4:2" - } - ], - "functionName": { - "name": "abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "2107:124:2" - }, - "nodeType": "YulFunctionCall", - "src": "2107:131:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2099:4:2" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "1977:9:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "1992:4:2", - "type": "" - } - ], - "src": "1826:419:2" - } - ] - }, - "contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(memPtr) {\n\n mstore(add(memPtr, 0), \"Unlock time should be in the fut\")\n\n mstore(add(memPtr, 32), \"ure\")\n\n }\n\n function abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n", - "id": 2, - "language": "Yul", - "name": "#utility.yul" - } - ], - "linkReferences": {}, - "object": "60806040526040516105e43803806105e4833981810160405281019061002591906100f0565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a0565b60405180910390fd5b8060008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506101c0565b600080fd5b6000819050919050565b6100cd816100ba565b81146100d857600080fd5b50565b6000815190506100ea816100c4565b92915050565b600060208284031215610106576101056100b5565b5b6000610114848285016100db565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b600061018a60238361011d565b91506101958261012e565b604082019050919050565b600060208201905081810360008301526101b98161017d565b9050919050565b610415806101cf6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b9190610256565b60405180910390f35b61006c610092565b005b610076610217565b60405161008391906102b2565b60405180910390f35b60005481565b60006501d18824b16290506000544210156100e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99061032a565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610396565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101a39291906103b6565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610213573d6000803e3d6000fd5b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b6102508161023d565b82525050565b600060208201905061026b6000830184610247565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029c82610271565b9050919050565b6102ac81610291565b82525050565b60006020820190506102c760008301846102a3565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103146016836102cd565b915061031f826102de565b602082019050919050565b6000602082019050818103600083015261034381610307565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103806014836102cd565b915061038b8261034a565b602082019050919050565b600060208201905081810360008301526103af81610373565b9050919050565b60006040820190506103cb6000830185610247565b6103d86020830184610247565b939250505056fea26469706673582212206c87e68ee08865237de6c1d205649b0ee2b097fd681a5b7639bbf4e138046e7664736f6c63430008090033", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x5E4 CODESIZE SUB DUP1 PUSH2 0x5E4 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0xF0 JUMP JUMPDEST DUP1 TIMESTAMP LT PUSH2 0x67 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E SWAP1 PUSH2 0x1A0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x0 DUP2 SWAP1 SSTORE POP CALLER PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP PUSH2 0x1C0 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xCD DUP2 PUSH2 0xBA JUMP JUMPDEST DUP2 EQ PUSH2 0xD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xEA DUP2 PUSH2 0xC4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x106 JUMPI PUSH2 0x105 PUSH2 0xB5 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x114 DUP5 DUP3 DUP6 ADD PUSH2 0xDB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x556E6C6F636B2074696D652073686F756C6420626520696E2074686520667574 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7572650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18A PUSH1 0x23 DUP4 PUSH2 0x11D JUMP JUMPDEST SWAP2 POP PUSH2 0x195 DUP3 PUSH2 0x12E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1B9 DUP2 PUSH2 0x17D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x415 DUP1 PUSH2 0x1CF PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x256 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x217 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH6 0x1D18824B162 SWAP1 POP PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xE2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD9 SWAP1 PUSH2 0x32A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x172 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x169 SWAP1 PUSH2 0x396 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x1A3 SWAP3 SWAP2 SWAP1 PUSH2 0x3B6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x213 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x250 DUP2 PUSH2 0x23D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x26B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x247 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29C DUP3 PUSH2 0x271 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2AC DUP2 PUSH2 0x291 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2C7 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2A3 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x314 PUSH1 0x16 DUP4 PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP PUSH2 0x31F DUP3 PUSH2 0x2DE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x343 DUP2 PUSH2 0x307 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x380 PUSH1 0x14 DUP4 PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP PUSH2 0x38B DUP3 PUSH2 0x34A JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3AF DUP2 PUSH2 0x373 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3CB PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x247 JUMP JUMPDEST PUSH2 0x3D8 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x247 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH13 0x87E68EE08865237DE6C1D20564 SWAP12 0xE 0xE2 0xB0 SWAP8 REVERT PUSH9 0x1A5B7639BBF4E13804 PUSH15 0x7664736F6C63430008090033000000 ", - "sourceMap": "137:856:0:-:0;;;267:238;;;;;;;;;;;;;;;;;;;;;:::i;:::-;354:11;336:15;:29;315:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;450:11;437:10;:24;;;;487:10;471:5;;:27;;;;;;;;;;;;;;;;;;267:238;137:856;;88:117:2;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:143::-;602:5;633:6;627:13;618:22;;649:33;676:5;649:33;:::i;:::-;545:143;;;;:::o;694:351::-;764:6;813:2;801:9;792:7;788:23;784:32;781:119;;;819:79;;:::i;:::-;781:119;939:1;964:64;1020:7;1011:6;1000:9;996:22;964:64;:::i;:::-;954:74;;910:128;694:351;;;;:::o;1051:169::-;1135:11;1169:6;1164:3;1157:19;1209:4;1204:3;1200:14;1185:29;;1051:169;;;;:::o;1226:222::-;1366:34;1362:1;1354:6;1350:14;1343:58;1435:5;1430:2;1422:6;1418:15;1411:30;1226:222;:::o;1454:366::-;1596:3;1617:67;1681:2;1676:3;1617:67;:::i;:::-;1610:74;;1693:93;1782:3;1693:93;:::i;:::-;1811:2;1806:3;1802:12;1795:19;;1454:366;;;:::o;1826:419::-;1992:4;2030:2;2019:9;2015:18;2007:26;;2079:9;2073:4;2069:20;2065:1;2054:9;2050:17;2043:47;2107:131;2233:4;2107:131;:::i;:::-;2099:139;;1826:419;;;:::o;137:856:0:-;;;;;;;" - }, - "deployedBytecode": { - "functionDebugData": { - "@owner_5": { - "entryPoint": 535, - "id": 5, - "parameterSlots": 0, - "returnSlots": 0 - }, - "@unlockTime_3": { - "entryPoint": 140, - "id": 3, - "parameterSlots": 0, - "returnSlots": 0 - }, - "@withdraw_81": { - "entryPoint": 146, - "id": 81, - "parameterSlots": 0, - "returnSlots": 0 - }, - "abi_encode_t_address_payable_to_t_address_payable_fromStack": { - "entryPoint": 675, - "id": null, - "parameterSlots": 2, - "returnSlots": 0 - }, - "abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack": { - "entryPoint": 775, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack": { - "entryPoint": 883, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "abi_encode_t_uint256_to_t_uint256_fromStack": { - "entryPoint": 583, - "id": null, - "parameterSlots": 2, - "returnSlots": 0 - }, - "abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed": { - "entryPoint": 690, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed": { - "entryPoint": 810, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed": { - "entryPoint": 918, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { - "entryPoint": 598, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": { - "entryPoint": 950, - "id": null, - "parameterSlots": 3, - "returnSlots": 1 - }, - "array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { - "entryPoint": 717, - "id": null, - "parameterSlots": 2, - "returnSlots": 1 - }, - "cleanup_t_address_payable": { - "entryPoint": 657, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "cleanup_t_uint160": { - "entryPoint": 625, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "cleanup_t_uint256": { - "entryPoint": 573, - "id": null, - "parameterSlots": 1, - "returnSlots": 1 - }, - "store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8": { - "entryPoint": 734, - "id": null, - "parameterSlots": 1, - "returnSlots": 0 - }, - "store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a": { - "entryPoint": 842, - "id": null, - "parameterSlots": 1, - "returnSlots": 0 - } - }, - "generatedSources": [ - { - "ast": { - "nodeType": "YulBlock", - "src": "0:3550:2", - "statements": [ - { - "body": { - "nodeType": "YulBlock", - "src": "52:32:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "62:16:2", - "value": { - "name": "value", - "nodeType": "YulIdentifier", - "src": "73:5:2" - }, - "variableNames": [ - { - "name": "cleaned", - "nodeType": "YulIdentifier", - "src": "62:7:2" - } - ] - } - ] - }, - "name": "cleanup_t_uint256", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "34:5:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "cleaned", - "nodeType": "YulTypedName", - "src": "44:7:2", - "type": "" - } - ], - "src": "7:77:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "155:53:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "172:3:2" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "195:5:2" - } - ], - "functionName": { - "name": "cleanup_t_uint256", - "nodeType": "YulIdentifier", - "src": "177:17:2" - }, - "nodeType": "YulFunctionCall", - "src": "177:24:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "165:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "165:37:2" - }, - "nodeType": "YulExpressionStatement", - "src": "165:37:2" - } - ] - }, - "name": "abi_encode_t_uint256_to_t_uint256_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "143:5:2", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "150:3:2", - "type": "" - } - ], - "src": "90:118:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "312:124:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "322:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "334:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "345:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "330:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "330:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "322:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "402:6:2" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "415:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "426:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "411:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "411:17:2" - } - ], - "functionName": { - "name": "abi_encode_t_uint256_to_t_uint256_fromStack", - "nodeType": "YulIdentifier", - "src": "358:43:2" - }, - "nodeType": "YulFunctionCall", - "src": "358:71:2" - }, - "nodeType": "YulExpressionStatement", - "src": "358:71:2" - } - ] - }, - "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "284:9:2", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "296:6:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "307:4:2", - "type": "" - } - ], - "src": "214:222:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "487:81:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "497:65:2", - "value": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "512:5:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "519:42:2", - "type": "", - "value": "0xffffffffffffffffffffffffffffffffffffffff" - } - ], - "functionName": { - "name": "and", - "nodeType": "YulIdentifier", - "src": "508:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "508:54:2" - }, - "variableNames": [ - { - "name": "cleaned", - "nodeType": "YulIdentifier", - "src": "497:7:2" - } - ] - } - ] - }, - "name": "cleanup_t_uint160", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "469:5:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "cleaned", - "nodeType": "YulTypedName", - "src": "479:7:2", - "type": "" - } - ], - "src": "442:126:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "627:51:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "637:35:2", - "value": { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "666:5:2" - } - ], - "functionName": { - "name": "cleanup_t_uint160", - "nodeType": "YulIdentifier", - "src": "648:17:2" - }, - "nodeType": "YulFunctionCall", - "src": "648:24:2" - }, - "variableNames": [ - { - "name": "cleaned", - "nodeType": "YulIdentifier", - "src": "637:7:2" - } - ] - } - ] - }, - "name": "cleanup_t_address_payable", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "609:5:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "cleaned", - "nodeType": "YulTypedName", - "src": "619:7:2", - "type": "" - } - ], - "src": "574:104:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "765:61:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "782:3:2" - }, - { - "arguments": [ - { - "name": "value", - "nodeType": "YulIdentifier", - "src": "813:5:2" - } - ], - "functionName": { - "name": "cleanup_t_address_payable", - "nodeType": "YulIdentifier", - "src": "787:25:2" - }, - "nodeType": "YulFunctionCall", - "src": "787:32:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "775:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "775:45:2" - }, - "nodeType": "YulExpressionStatement", - "src": "775:45:2" - } - ] - }, - "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "value", - "nodeType": "YulTypedName", - "src": "753:5:2", - "type": "" - }, - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "760:3:2", - "type": "" - } - ], - "src": "684:142:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "946:140:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "956:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "968:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "979:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "964:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "964:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "956:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "1052:6:2" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "1065:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1076:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1061:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1061:17:2" - } - ], - "functionName": { - "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", - "nodeType": "YulIdentifier", - "src": "992:59:2" - }, - "nodeType": "YulFunctionCall", - "src": "992:87:2" - }, - "nodeType": "YulExpressionStatement", - "src": "992:87:2" - } - ] - }, - "name": "abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "918:9:2", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "930:6:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "941:4:2", - "type": "" - } - ], - "src": "832:254:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1188:73:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1205:3:2" - }, - { - "name": "length", - "nodeType": "YulIdentifier", - "src": "1210:6:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1198:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "1198:19:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1198:19:2" - }, - { - "nodeType": "YulAssignment", - "src": "1226:29:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1245:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1250:4:2", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1241:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1241:14:2" - }, - "variableNames": [ - { - "name": "updated_pos", - "nodeType": "YulIdentifier", - "src": "1226:11:2" - } - ] - } - ] - }, - "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1160:3:2", - "type": "" - }, - { - "name": "length", - "nodeType": "YulTypedName", - "src": "1165:6:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "updated_pos", - "nodeType": "YulTypedName", - "src": "1176:11:2", - "type": "" - } - ], - "src": "1092:169:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1373:66:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "1395:6:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1403:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1391:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1391:14:2" - }, - { - "hexValue": "596f752063616e277420776974686472617720796574", - "kind": "string", - "nodeType": "YulLiteral", - "src": "1407:24:2", - "type": "", - "value": "You can't withdraw yet" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "1384:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "1384:48:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1384:48:2" - } - ] - }, - "name": "store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "1365:6:2", - "type": "" - } - ], - "src": "1267:172:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1591:220:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1601:74:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1667:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1672:2:2", - "type": "", - "value": "22" - } - ], - "functionName": { - "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "1608:58:2" - }, - "nodeType": "YulFunctionCall", - "src": "1608:67:2" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1601:3:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1773:3:2" - } - ], - "functionName": { - "name": "store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8", - "nodeType": "YulIdentifier", - "src": "1684:88:2" - }, - "nodeType": "YulFunctionCall", - "src": "1684:93:2" - }, - "nodeType": "YulExpressionStatement", - "src": "1684:93:2" - }, - { - "nodeType": "YulAssignment", - "src": "1786:19:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "1797:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "1802:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "1793:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "1793:12:2" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "1786:3:2" - } - ] - } - ] - }, - "name": "abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "1579:3:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "1587:3:2", - "type": "" - } - ], - "src": "1445:366:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "1988:248:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "1998:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2010:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2021:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2006:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2006:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "1998:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2045:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2056:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2041:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2041:17:2" - }, - { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2064:4:2" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2070:9:2" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "2060:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2060:20:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2034:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "2034:47:2" - }, - "nodeType": "YulExpressionStatement", - "src": "2034:47:2" - }, - { - "nodeType": "YulAssignment", - "src": "2090:139:2", - "value": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2224:4:2" - } - ], - "functionName": { - "name": "abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "2098:124:2" - }, - "nodeType": "YulFunctionCall", - "src": "2098:131:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2090:4:2" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "1968:9:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "1983:4:2", - "type": "" - } - ], - "src": "1817:419:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2348:64:2", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "memPtr", - "nodeType": "YulIdentifier", - "src": "2370:6:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2378:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2366:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2366:14:2" - }, - { - "hexValue": "596f75206172656e277420746865206f776e6572", - "kind": "string", - "nodeType": "YulLiteral", - "src": "2382:22:2", - "type": "", - "value": "You aren't the owner" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "2359:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "2359:46:2" - }, - "nodeType": "YulExpressionStatement", - "src": "2359:46:2" - } - ] - }, - "name": "store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "memPtr", - "nodeType": "YulTypedName", - "src": "2340:6:2", - "type": "" - } - ], - "src": "2242:170:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2564:220:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2574:74:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2640:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2645:2:2", - "type": "", - "value": "20" - } - ], - "functionName": { - "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "2581:58:2" - }, - "nodeType": "YulFunctionCall", - "src": "2581:67:2" - }, - "variableNames": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2574:3:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2746:3:2" - } - ], - "functionName": { - "name": "store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a", - "nodeType": "YulIdentifier", - "src": "2657:88:2" - }, - "nodeType": "YulFunctionCall", - "src": "2657:93:2" - }, - "nodeType": "YulExpressionStatement", - "src": "2657:93:2" - }, - { - "nodeType": "YulAssignment", - "src": "2759:19:2", - "value": { - "arguments": [ - { - "name": "pos", - "nodeType": "YulIdentifier", - "src": "2770:3:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2775:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2766:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2766:12:2" - }, - "variableNames": [ - { - "name": "end", - "nodeType": "YulIdentifier", - "src": "2759:3:2" - } - ] - } - ] - }, - "name": "abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "pos", - "nodeType": "YulTypedName", - "src": "2552:3:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "end", - "nodeType": "YulTypedName", - "src": "2560:3:2", - "type": "" - } - ], - "src": "2418:366:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "2961:248:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "2971:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "2983:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2994:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2979:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "2979:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "2971:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3018:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3029:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3014:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "3014:17:2" - }, - { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3037:4:2" - }, - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3043:9:2" - } - ], - "functionName": { - "name": "sub", - "nodeType": "YulIdentifier", - "src": "3033:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "3033:20:2" - } - ], - "functionName": { - "name": "mstore", - "nodeType": "YulIdentifier", - "src": "3007:6:2" - }, - "nodeType": "YulFunctionCall", - "src": "3007:47:2" - }, - "nodeType": "YulExpressionStatement", - "src": "3007:47:2" - }, - { - "nodeType": "YulAssignment", - "src": "3063:139:2", - "value": { - "arguments": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3197:4:2" - } - ], - "functionName": { - "name": "abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack", - "nodeType": "YulIdentifier", - "src": "3071:124:2" - }, - "nodeType": "YulFunctionCall", - "src": "3071:131:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3063:4:2" - } - ] - } - ] - }, - "name": "abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "2941:9:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "2956:4:2", - "type": "" - } - ], - "src": "2790:419:2" - }, - { - "body": { - "nodeType": "YulBlock", - "src": "3341:206:2", - "statements": [ - { - "nodeType": "YulAssignment", - "src": "3351:26:2", - "value": { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3363:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3374:2:2", - "type": "", - "value": "64" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3359:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "3359:18:2" - }, - "variableNames": [ - { - "name": "tail", - "nodeType": "YulIdentifier", - "src": "3351:4:2" - } - ] - }, - { - "expression": { - "arguments": [ - { - "name": "value0", - "nodeType": "YulIdentifier", - "src": "3431:6:2" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3444:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3455:1:2", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3440:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "3440:17:2" - } - ], - "functionName": { - "name": "abi_encode_t_uint256_to_t_uint256_fromStack", - "nodeType": "YulIdentifier", - "src": "3387:43:2" - }, - "nodeType": "YulFunctionCall", - "src": "3387:71:2" - }, - "nodeType": "YulExpressionStatement", - "src": "3387:71:2" - }, - { - "expression": { - "arguments": [ - { - "name": "value1", - "nodeType": "YulIdentifier", - "src": "3512:6:2" - }, - { - "arguments": [ - { - "name": "headStart", - "nodeType": "YulIdentifier", - "src": "3525:9:2" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "3536:2:2", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "3521:3:2" - }, - "nodeType": "YulFunctionCall", - "src": "3521:18:2" - } - ], - "functionName": { - "name": "abi_encode_t_uint256_to_t_uint256_fromStack", - "nodeType": "YulIdentifier", - "src": "3468:43:2" - }, - "nodeType": "YulFunctionCall", - "src": "3468:72:2" - }, - "nodeType": "YulExpressionStatement", - "src": "3468:72:2" - } - ] - }, - "name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed", - "nodeType": "YulFunctionDefinition", - "parameters": [ - { - "name": "headStart", - "nodeType": "YulTypedName", - "src": "3305:9:2", - "type": "" - }, - { - "name": "value1", - "nodeType": "YulTypedName", - "src": "3317:6:2", - "type": "" - }, - { - "name": "value0", - "nodeType": "YulTypedName", - "src": "3325:6:2", - "type": "" - } - ], - "returnVariables": [ - { - "name": "tail", - "nodeType": "YulTypedName", - "src": "3336:4:2", - "type": "" - } - ], - "src": "3215:332:2" - } - ] - }, - "contents": "{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_payable_to_t_address_payable_fromStack(value, pos) {\n mstore(pos, cleanup_t_address_payable(value))\n }\n\n function abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(memPtr) {\n\n mstore(add(memPtr, 0), \"You can't withdraw yet\")\n\n }\n\n function abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 22)\n store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(memPtr) {\n\n mstore(add(memPtr, 0), \"You aren't the owner\")\n\n }\n\n function abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n", - "id": 2, - "language": "Yul", - "name": "#utility.yul" - } - ], - "immutableReferences": {}, - "linkReferences": {}, - "object": "608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b9190610256565b60405180910390f35b61006c610092565b005b610076610217565b60405161008391906102b2565b60405180910390f35b60005481565b60006501d18824b16290506000544210156100e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99061032a565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016990610396565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101a39291906103b6565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610213573d6000803e3d6000fd5b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b6102508161023d565b82525050565b600060208201905061026b6000830184610247565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029c82610271565b9050919050565b6102ac81610291565b82525050565b60006020820190506102c760008301846102a3565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103146016836102cd565b915061031f826102de565b602082019050919050565b6000602082019050818103600083015261034381610307565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103806014836102cd565b915061038b8261034a565b602082019050919050565b600060208201905081810360008301526103af81610373565b9050919050565b60006040820190506103cb6000830185610247565b6103d86020830184610247565b939250505056fea26469706673582212206c87e68ee08865237de6c1d205649b0ee2b097fd681a5b7639bbf4e138046e7664736f6c63430008090033", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x256 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x217 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH6 0x1D18824B162 SWAP1 POP PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xE2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD9 SWAP1 PUSH2 0x32A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x172 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x169 SWAP1 PUSH2 0x396 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x1A3 SWAP3 SWAP2 SWAP1 PUSH2 0x3B6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x213 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x250 DUP2 PUSH2 0x23D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x26B PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x247 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29C DUP3 PUSH2 0x271 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2AC DUP2 PUSH2 0x291 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2C7 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x2A3 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x314 PUSH1 0x16 DUP4 PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP PUSH2 0x31F DUP3 PUSH2 0x2DE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x343 DUP2 PUSH2 0x307 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x380 PUSH1 0x14 DUP4 PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP PUSH2 0x38B DUP3 PUSH2 0x34A JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3AF DUP2 PUSH2 0x373 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3CB PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x247 JUMP JUMPDEST PUSH2 0x3D8 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x247 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH13 0x87E68EE08865237DE6C1D20564 SWAP12 0xE 0xE2 0xB0 SWAP8 REVERT PUSH9 0x1A5B7639BBF4E13804 PUSH15 0x7664736F6C63430008090033000000 ", - "sourceMap": "137:856:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;157:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;511:480;;;:::i;:::-;;185:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;157:22;;;;:::o;511:480::-;548:6;557:13;548:22;;771:10;;752:15;:29;;744:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;840:5;;;;;;;;;;;826:19;;:10;:19;;;818:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;886:50;897:21;920:15;886:50;;;;;;;:::i;:::-;;;;;;;;947:5;;;;;;;;;;;:14;;:37;962:21;947:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;538:453;511:480::o;185:28::-;;;;;;;;;;;;;:::o;7:77:2:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:104::-;619:7;648:24;666:5;648:24;:::i;:::-;637:35;;574:104;;;:::o;684:142::-;787:32;813:5;787:32;:::i;:::-;782:3;775:45;684:142;;:::o;832:254::-;941:4;979:2;968:9;964:18;956:26;;992:87;1076:1;1065:9;1061:17;1052:6;992:87;:::i;:::-;832:254;;;;:::o;1092:169::-;1176:11;1210:6;1205:3;1198:19;1250:4;1245:3;1241:14;1226:29;;1092:169;;;;:::o;1267:172::-;1407:24;1403:1;1395:6;1391:14;1384:48;1267:172;:::o;1445:366::-;1587:3;1608:67;1672:2;1667:3;1608:67;:::i;:::-;1601:74;;1684:93;1773:3;1684:93;:::i;:::-;1802:2;1797:3;1793:12;1786:19;;1445:366;;;:::o;1817:419::-;1983:4;2021:2;2010:9;2006:18;1998:26;;2070:9;2064:4;2060:20;2056:1;2045:9;2041:17;2034:47;2098:131;2224:4;2098:131;:::i;:::-;2090:139;;1817:419;;;:::o;2242:170::-;2382:22;2378:1;2370:6;2366:14;2359:46;2242:170;:::o;2418:366::-;2560:3;2581:67;2645:2;2640:3;2581:67;:::i;:::-;2574:74;;2657:93;2746:3;2657:93;:::i;:::-;2775:2;2770:3;2766:12;2759:19;;2418:366;;;:::o;2790:419::-;2956:4;2994:2;2983:9;2979:18;2971:26;;3043:9;3037:4;3033:20;3029:1;3018:9;3014:17;3007:47;3071:131;3197:4;3071:131;:::i;:::-;3063:139;;2790:419;;;:::o;3215:332::-;3336:4;3374:2;3363:9;3359:18;3351:26;;3387:71;3455:1;3444:9;3440:17;3431:6;3387:71;:::i;:::-;3468:72;3536:2;3525:9;3521:18;3512:6;3468:72;:::i;:::-;3215:332;;;;;:::o" - }, - "methodIdentifiers": { - "owner()": "8da5cb5b", - "unlockTime()": "251c1aa3", - "withdraw()": "3ccfd60b" - } - }, - "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockTime\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"when\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Lock.sol\":\"Lock\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Lock.sol\":{\"keccak256\":\"0xeaad0ea2238e232e5376d5e239e3bab8197daabca706a7c68b072546bbb00087\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://c0ec742f85fed28d7ae09e91b0bc106d3fa38aca385049e25c1066c764643b50\",\"dweb:/ipfs/QmU7BaAK9kdNYG2EKeHgmB8c64fFh3p5iuLwTjtABKavPL\"]},\"hardhat/console.sol\":{\"keccak256\":\"0x60b0215121bf25612a6739fb2f1ec35f31ee82e4a8216c032c8243d904ab3aa9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e29880d33dd479bb046ba306993d26ccb779a4b1d94a046cb3567f22948bb4d\",\"dweb:/ipfs/QmfTY1qzPt5C63Wc7y6JqfZr5899NRvXYdCpyLzR5FXQic\"]}},\"version\":1}" - } - }, - "hardhat/console.sol": { - "console": { - "abi": [], - "evm": { - "bytecode": { - "functionDebugData": {}, - "generatedSources": [], - "linkReferences": {}, - "object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023ed7727ab4a3926687af4d4c2d34d1104da736a65dadf10a6bb9551cb1c779564736f6c63430008090033", - "opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x23 0xED PUSH24 0x27AB4A3926687AF4D4C2D34D1104DA736A65DADF10A6BB95 MLOAD 0xCB SHR PUSH24 0x9564736F6C63430008090033000000000000000000000000 ", - "sourceMap": "67:63870:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" - }, - "deployedBytecode": { - "functionDebugData": {}, - "generatedSources": [], - "immutableReferences": {}, - "linkReferences": {}, - "object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023ed7727ab4a3926687af4d4c2d34d1104da736a65dadf10a6bb9551cb1c779564736f6c63430008090033", - "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x23 0xED PUSH24 0x27AB4A3926687AF4D4C2D34D1104DA736A65DADF10A6BB95 MLOAD 0xCB SHR PUSH24 0x9564736F6C63430008090033000000000000000000000000 ", - "sourceMap": "67:63870:1:-:0;;;;;;;;" - }, - "methodIdentifiers": {} - }, - "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"hardhat/console.sol\":\"console\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"hardhat/console.sol\":{\"keccak256\":\"0x60b0215121bf25612a6739fb2f1ec35f31ee82e4a8216c032c8243d904ab3aa9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e29880d33dd479bb046ba306993d26ccb779a4b1d94a046cb3567f22948bb4d\",\"dweb:/ipfs/QmfTY1qzPt5C63Wc7y6JqfZr5899NRvXYdCpyLzR5FXQic\"]}},\"version\":1}" - } - } - }, - "errors": [ - { - "component": "general", - "errorCode": "3420", - "formattedMessage": "Warning: Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.9;\"\n--> contracts/Lock.sol\n\n", - "message": "Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.9;\"", - "severity": "warning", - "sourceLocation": { - "end": -1, - "file": "contracts/Lock.sol", - "start": -1 - }, - "type": "Warning" - }, - { - "component": "general", - "errorCode": "2072", - "formattedMessage": "Warning: Unused local variable.\n --> contracts/Lock.sol:24:9:\n |\n24 | uint p = 1999443898722;\n | ^^^^^^\n\n", - "message": "Unused local variable.", - "severity": "warning", - "sourceLocation": { - "end": 554, - "file": "contracts/Lock.sol", - "start": 548 - }, - "type": "Warning" - } - ], - "sources": { - "contracts/Lock.sol": { - "ast": { - "absolutePath": "contracts/Lock.sol", - "exportedSymbols": { - "Lock": [ - 82 - ], - "console": [ - 8146 - ] - }, - "id": 83, - "license": "UNLICENSED", - "nodeType": "SourceUnit", - "nodes": [ - { - "absolutePath": "hardhat/console.sol", - "file": "hardhat/console.sol", - "id": 1, - "nameLocation": "-1:-1:-1", - "nodeType": "ImportDirective", - "scope": 83, - "sourceUnit": 8147, - "src": "106:29:0", - "symbolAliases": [], - "unitAlias": "" - }, - { - "abstract": false, - "baseContracts": [], - "canonicalName": "Lock", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "id": 82, - "linearizedBaseContracts": [ - 82 - ], - "name": "Lock", - "nameLocation": "146:4:0", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "functionSelector": "251c1aa3", - "id": 3, - "mutability": "mutable", - "name": "unlockTime", - "nameLocation": "169:10:0", - "nodeType": "VariableDeclaration", - "scope": 82, - "src": "157:22:0", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "157:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "public" - }, - { - "constant": false, - "functionSelector": "8da5cb5b", - "id": 5, - "mutability": "mutable", - "name": "owner", - "nameLocation": "208:5:0", - "nodeType": "VariableDeclaration", - "scope": 82, - "src": "185:28:0", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 4, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "185:15:0", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "visibility": "public" - }, - { - "anonymous": false, - "id": 11, - "name": "Withdrawal", - "nameLocation": "226:10:0", - "nodeType": "EventDefinition", - "parameters": { - "id": 10, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7, - "indexed": false, - "mutability": "mutable", - "name": "amount", - "nameLocation": "242:6:0", - "nodeType": "VariableDeclaration", - "scope": 11, - "src": "237:11:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "237:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 9, - "indexed": false, - "mutability": "mutable", - "name": "when", - "nameLocation": "255:4:0", - "nodeType": "VariableDeclaration", - "scope": 11, - "src": "250:9:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "250:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "236:24:0" - }, - "src": "220:41:0" - }, - { - "body": { - "id": 36, - "nodeType": "Block", - "src": "305:200:0", - "statements": [ - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 20, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 17, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "336:5:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 18, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "336:15:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 19, - "name": "_unlockTime", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13, - "src": "354:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "336:29:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574757265", - "id": 21, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "379:37:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413", - "typeString": "literal_string \"Unlock time should be in the future\"" - }, - "value": "Unlock time should be in the future" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413", - "typeString": "literal_string \"Unlock time should be in the future\"" - } - ], - "id": 16, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "315:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 22, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "315:111:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 23, - "nodeType": "ExpressionStatement", - "src": "315:111:0" - }, - { - "expression": { - "id": 26, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 24, - "name": "unlockTime", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "437:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 25, - "name": "_unlockTime", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 13, - "src": "450:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "437:24:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 27, - "nodeType": "ExpressionStatement", - "src": "437:24:0" - }, - { - "expression": { - "id": 34, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 28, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5, - "src": "471:5:0", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "expression": { - "id": 31, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "487:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 32, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "487:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 30, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "479:8:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_payable_$", - "typeString": "type(address payable)" - }, - "typeName": { - "id": 29, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "479:8:0", - "stateMutability": "payable", - "typeDescriptions": {} - } - }, - "id": 33, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "479:19:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "471:27:0", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 35, - "nodeType": "ExpressionStatement", - "src": "471:27:0" - } - ] - }, - "id": 37, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 14, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 13, - "mutability": "mutable", - "name": "_unlockTime", - "nameLocation": "284:11:0", - "nodeType": "VariableDeclaration", - "scope": 37, - "src": "279:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 12, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "279:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "278:18:0" - }, - "returnParameters": { - "id": 15, - "nodeType": "ParameterList", - "parameters": [], - "src": "305:0:0" - }, - "scope": 82, - "src": "267:238:0", - "stateMutability": "payable", - "virtual": false, - "visibility": "public" - }, - { - "body": { - "id": 80, - "nodeType": "Block", - "src": "538:453:0", - "statements": [ - { - "assignments": [ - 41 - ], - "declarations": [ - { - "constant": false, - "id": 41, - "mutability": "mutable", - "name": "p", - "nameLocation": "553:1:0", - "nodeType": "VariableDeclaration", - "scope": 80, - "src": "548:6:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "548:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 43, - "initialValue": { - "hexValue": "31393939343433383938373232", - "id": 42, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "557:13:0", - "typeDescriptions": { - "typeIdentifier": "t_rational_1999443898722_by_1", - "typeString": "int_const 1999443898722" - }, - "value": "1999443898722" - }, - "nodeType": "VariableDeclarationStatement", - "src": "548:22:0" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 48, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 45, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "752:5:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 46, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "752:15:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "id": 47, - "name": "unlockTime", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "771:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "752:29:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "596f752063616e277420776974686472617720796574", - "id": 49, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "783:24:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8", - "typeString": "literal_string \"You can't withdraw yet\"" - }, - "value": "You can't withdraw yet" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8", - "typeString": "literal_string \"You can't withdraw yet\"" - } - ], - "id": 44, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "744:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 50, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "744:64:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 51, - "nodeType": "ExpressionStatement", - "src": "744:64:0" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 56, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 53, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -15, - "src": "826:3:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 54, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "src": "826:10:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 55, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5, - "src": "840:5:0", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "826:19:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "hexValue": "596f75206172656e277420746865206f776e6572", - "id": 57, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "847:22:0", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a", - "typeString": "literal_string \"You aren't the owner\"" - }, - "value": "You aren't the owner" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a", - "typeString": "literal_string \"You aren't the owner\"" - } - ], - "id": 52, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "818:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 58, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "818:52:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 59, - "nodeType": "ExpressionStatement", - "src": "818:52:0" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "arguments": [ - { - "id": 63, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "905:4:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Lock_$82", - "typeString": "contract Lock" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Lock_$82", - "typeString": "contract Lock" - } - ], - "id": 62, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "897:7:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 61, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "897:7:0", - "typeDescriptions": {} - } - }, - "id": 64, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "897:13:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 65, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "897:21:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 66, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -4, - "src": "920:5:0", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 67, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "src": "920:15:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 60, - "name": "Withdrawal", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 11, - "src": "886:10:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" - } - }, - "id": 68, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "886:50:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 69, - "nodeType": "EmitStatement", - "src": "881:55:0" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "arguments": [ - { - "id": 75, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "970:4:0", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Lock_$82", - "typeString": "contract Lock" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Lock_$82", - "typeString": "contract Lock" - } - ], - "id": 74, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "962:7:0", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 73, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "962:7:0", - "typeDescriptions": {} - } - }, - "id": 76, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "962:13:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 77, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "src": "962:21:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 70, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5, - "src": "947:5:0", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 72, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "src": "947:14:0", - "typeDescriptions": { - "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 78, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "947:37:0", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 79, - "nodeType": "ExpressionStatement", - "src": "947:37:0" - } - ] - }, - "functionSelector": "3ccfd60b", - "id": 81, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "withdraw", - "nameLocation": "520:8:0", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 38, - "nodeType": "ParameterList", - "parameters": [], - "src": "528:2:0" - }, - "returnParameters": { - "id": 39, - "nodeType": "ParameterList", - "parameters": [], - "src": "538:0:0" - }, - "scope": 82, - "src": "511:480:0", - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "scope": 83, - "src": "137:856:0", - "usedErrors": [] - } - ], - "src": "106:888:0" - }, - "id": 0 - }, - "hardhat/console.sol": { - "ast": { - "absolutePath": "hardhat/console.sol", - "exportedSymbols": { - "console": [ - 8146 - ] - }, - "id": 8147, - "license": "MIT", - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 84, - "literals": [ - "solidity", - ">=", - "0.4", - ".22", - "<", - "0.9", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "32:33:1" - }, - { - "abstract": false, - "baseContracts": [], - "canonicalName": "console", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "id": 8146, - "linearizedBaseContracts": [ - 8146 - ], - "name": "console", - "nameLocation": "75:7:1", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 90, - "mutability": "constant", - "name": "CONSOLE_ADDRESS", - "nameLocation": "103:15:1", - "nodeType": "VariableDeclaration", - "scope": 8146, - "src": "86:86:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 85, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "86:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637", - "id": 88, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "129:42:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x000000000000000000636F6e736F6c652e6c6f67" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 87, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "121:7:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 86, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "121:7:1", - "typeDescriptions": {} - } - }, - "id": 89, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "121:51:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "body": { - "id": 105, - "nodeType": "Block", - "src": "236:228:1", - "statements": [ - { - "assignments": [ - 96 - ], - "declarations": [ - { - "constant": false, - "id": 96, - "mutability": "mutable", - "name": "payloadLength", - "nameLocation": "248:13:1", - "nodeType": "VariableDeclaration", - "scope": 105, - "src": "240:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 95, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "240:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 99, - "initialValue": { - "expression": { - "id": 97, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 92, - "src": "264:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 98, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "src": "264:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "240:38:1" - }, - { - "assignments": [ - 101 - ], - "declarations": [ - { - "constant": false, - "id": 101, - "mutability": "mutable", - "name": "consoleAddress", - "nameLocation": "290:14:1", - "nodeType": "VariableDeclaration", - "scope": 105, - "src": "282:22:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 100, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "282:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "id": 103, - "initialValue": { - "id": 102, - "name": "CONSOLE_ADDRESS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "307:15:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "282:40:1" - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "335:126:1", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "340:36:1", - "value": { - "arguments": [ - { - "name": "payload", - "nodeType": "YulIdentifier", - "src": "364:7:1" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "373:2:1", - "type": "", - "value": "32" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "360:3:1" - }, - "nodeType": "YulFunctionCall", - "src": "360:16:1" - }, - "variables": [ - { - "name": "payloadStart", - "nodeType": "YulTypedName", - "src": "344:12:1", - "type": "" - } - ] - }, - { - "nodeType": "YulVariableDeclaration", - "src": "380:77:1", - "value": { - "arguments": [ - { - "arguments": [], - "functionName": { - "name": "gas", - "nodeType": "YulIdentifier", - "src": "400:3:1" - }, - "nodeType": "YulFunctionCall", - "src": "400:5:1" - }, - { - "name": "consoleAddress", - "nodeType": "YulIdentifier", - "src": "407:14:1" - }, - { - "name": "payloadStart", - "nodeType": "YulIdentifier", - "src": "423:12:1" - }, - { - "name": "payloadLength", - "nodeType": "YulIdentifier", - "src": "437:13:1" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "452:1:1", - "type": "", - "value": "0" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "455:1:1", - "type": "", - "value": "0" - } - ], - "functionName": { - "name": "staticcall", - "nodeType": "YulIdentifier", - "src": "389:10:1" - }, - "nodeType": "YulFunctionCall", - "src": "389:68:1" - }, - "variables": [ - { - "name": "r", - "nodeType": "YulTypedName", - "src": "384:1:1", - "type": "" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 101, - "isOffset": false, - "isSlot": false, - "src": "407:14:1", - "valueSize": 1 - }, - { - "declaration": 92, - "isOffset": false, - "isSlot": false, - "src": "364:7:1", - "valueSize": 1 - }, - { - "declaration": 96, - "isOffset": false, - "isSlot": false, - "src": "437:13:1", - "valueSize": 1 - } - ], - "id": 104, - "nodeType": "InlineAssembly", - "src": "326:135:1" - } - ] - }, - "id": 106, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_sendLogPayload", - "nameLocation": "185:15:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 93, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 92, - "mutability": "mutable", - "name": "payload", - "nameLocation": "214:7:1", - "nodeType": "VariableDeclaration", - "scope": 106, - "src": "201:20:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 91, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "201:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "200:22:1" - }, - "returnParameters": { - "id": 94, - "nodeType": "ParameterList", - "parameters": [], - "src": "236:0:1" - }, - "scope": 8146, - "src": "176:288:1", - "stateMutability": "view", - "virtual": false, - "visibility": "private" - }, - { - "body": { - "id": 116, - "nodeType": "Block", - "src": "496:57:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672829", - "id": 112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "540:7:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - }, - "value": "log()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51973ec9d4c1929bdd5b149c064d46aee47e92a7e2bb5f7a20c7b9cfb0d13b39", - "typeString": "literal_string \"log()\"" - } - ], - "expression": { - "id": 110, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "516:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "516:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "516:32:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 109, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "500:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "500:49:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 115, - "nodeType": "ExpressionStatement", - "src": "500:49:1" - } - ] - }, - "id": 117, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "476:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 107, - "nodeType": "ParameterList", - "parameters": [], - "src": "479:2:1" - }, - "returnParameters": { - "id": 108, - "nodeType": "ParameterList", - "parameters": [], - "src": "496:0:1" - }, - "scope": 8146, - "src": "467:86:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 130, - "nodeType": "Block", - "src": "597:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728696e7432353629", - "id": 125, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "641:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - "value": "log(int256)" - }, - { - "id": 126, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 119, - "src": "656:2:1", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d5b6cb95ba2d00a93cd4ffa61ec07ef4bb1694f20c02a3cccb170a38df81ef8", - "typeString": "literal_string \"log(int256)\"" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "expression": { - "id": 123, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "617:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "617:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "617:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 122, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "601:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "601:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 129, - "nodeType": "ExpressionStatement", - "src": "601:59:1" - } - ] - }, - "id": 131, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logInt", - "nameLocation": "565:6:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 120, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "579:2:1", - "nodeType": "VariableDeclaration", - "scope": 131, - "src": "572:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "typeName": { - "id": 118, - "name": "int256", - "nodeType": "ElementaryTypeName", - "src": "572:6:1", - "typeDescriptions": { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - }, - "visibility": "internal" - } - ], - "src": "571:11:1" - }, - "returnParameters": { - "id": 121, - "nodeType": "ParameterList", - "parameters": [], - "src": "597:0:1" - }, - "scope": 8146, - "src": "556:108:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 144, - "nodeType": "Block", - "src": "710:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 139, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "754:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 140, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 133, - "src": "770:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 137, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "730:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "730:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "730:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 136, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "714:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "714:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 143, - "nodeType": "ExpressionStatement", - "src": "714:60:1" - } - ] - }, - "id": 145, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logUint", - "nameLocation": "676:7:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 134, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "692:2:1", - "nodeType": "VariableDeclaration", - "scope": 145, - "src": "684:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "684:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "683:12:1" - }, - "returnParameters": { - "id": 135, - "nodeType": "ParameterList", - "parameters": [], - "src": "710:0:1" - }, - "scope": 8146, - "src": "667:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 158, - "nodeType": "Block", - "src": "832:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 153, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "876:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 154, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 147, - "src": "891:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 151, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "852:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "852:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 155, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "852:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 150, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "836:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "836:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 157, - "nodeType": "ExpressionStatement", - "src": "836:59:1" - } - ] - }, - "id": 159, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logString", - "nameLocation": "790:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 147, - "mutability": "mutable", - "name": "p0", - "nameLocation": "814:2:1", - "nodeType": "VariableDeclaration", - "scope": 159, - "src": "800:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 146, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "800:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "799:18:1" - }, - "returnParameters": { - "id": 149, - "nodeType": "ParameterList", - "parameters": [], - "src": "832:0:1" - }, - "scope": 8146, - "src": "781:118:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 172, - "nodeType": "Block", - "src": "942:65:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "986:11:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 168, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 161, - "src": "999:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 165, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "962:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 166, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "962:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "962:40:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 164, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "946:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "946:57:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 171, - "nodeType": "ExpressionStatement", - "src": "946:57:1" - } - ] - }, - "id": 173, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBool", - "nameLocation": "911:7:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 162, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 161, - "mutability": "mutable", - "name": "p0", - "nameLocation": "924:2:1", - "nodeType": "VariableDeclaration", - "scope": 173, - "src": "919:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "919:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "918:9:1" - }, - "returnParameters": { - "id": 163, - "nodeType": "ParameterList", - "parameters": [], - "src": "942:0:1" - }, - "scope": 8146, - "src": "902:105:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 186, - "nodeType": "Block", - "src": "1056:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1100:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 182, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 175, - "src": "1116:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 179, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1076:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1076:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1076:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 178, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1060:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1060:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 185, - "nodeType": "ExpressionStatement", - "src": "1060:60:1" - } - ] - }, - "id": 187, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logAddress", - "nameLocation": "1019:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 175, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1038:2:1", - "nodeType": "VariableDeclaration", - "scope": 187, - "src": "1030:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 174, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1030:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "1029:12:1" - }, - "returnParameters": { - "id": 177, - "nodeType": "ParameterList", - "parameters": [], - "src": "1056:0:1" - }, - "scope": 8146, - "src": "1010:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 200, - "nodeType": "Block", - "src": "1176:66:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728627974657329", - "id": 195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1220:12:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - "value": "log(bytes)" - }, - { - "id": 196, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 189, - "src": "1234:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0be77f5642494da7d212b92a3472c4f471abb24e17467f41788e7de7915d6238", - "typeString": "literal_string \"log(bytes)\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 193, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1196:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 194, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1196:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1196:41:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 192, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1180:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1180:58:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 199, - "nodeType": "ExpressionStatement", - "src": "1180:58:1" - } - ] - }, - "id": 201, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes", - "nameLocation": "1136:8:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 190, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 189, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1158:2:1", - "nodeType": "VariableDeclaration", - "scope": 201, - "src": "1145:15:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 188, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1145:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1144:17:1" - }, - "returnParameters": { - "id": 191, - "nodeType": "ParameterList", - "parameters": [], - "src": "1176:0:1" - }, - "scope": 8146, - "src": "1127:115:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 214, - "nodeType": "Block", - "src": "1289:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733129", - "id": 209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1333:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - "value": "log(bytes1)" - }, - { - "id": 210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 203, - "src": "1348:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6e18a1285e3dfba09579e846ff83d5e4ffae1b869c8fc4323752bab794e41041", - "typeString": "literal_string \"log(bytes1)\"" - }, - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "expression": { - "id": 207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1309:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1309:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1309:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1293:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1293:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 213, - "nodeType": "ExpressionStatement", - "src": "1293:59:1" - } - ] - }, - "id": 215, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes1", - "nameLocation": "1254:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 203, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1271:2:1", - "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1264:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "typeName": { - "id": 202, - "name": "bytes1", - "nodeType": "ElementaryTypeName", - "src": "1264:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "visibility": "internal" - } - ], - "src": "1263:11:1" - }, - "returnParameters": { - "id": 205, - "nodeType": "ParameterList", - "parameters": [], - "src": "1289:0:1" - }, - "scope": 8146, - "src": "1245:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 228, - "nodeType": "Block", - "src": "1403:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733229", - "id": 223, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1447:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - "value": "log(bytes2)" - }, - { - "id": 224, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "1462:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9b622960ff3a0e86d35e876bfeba445fab6c5686604aa116c47c1e106921224", - "typeString": "literal_string \"log(bytes2)\"" - }, - { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - ], - "expression": { - "id": 221, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1423:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1423:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1423:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 220, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1407:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1407:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 227, - "nodeType": "ExpressionStatement", - "src": "1407:59:1" - } - ] - }, - "id": 229, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes2", - "nameLocation": "1368:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 218, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 217, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1385:2:1", - "nodeType": "VariableDeclaration", - "scope": 229, - "src": "1378:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - }, - "typeName": { - "id": 216, - "name": "bytes2", - "nodeType": "ElementaryTypeName", - "src": "1378:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes2", - "typeString": "bytes2" - } - }, - "visibility": "internal" - } - ], - "src": "1377:11:1" - }, - "returnParameters": { - "id": 219, - "nodeType": "ParameterList", - "parameters": [], - "src": "1403:0:1" - }, - "scope": 8146, - "src": "1359:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 242, - "nodeType": "Block", - "src": "1517:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733329", - "id": 237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1561:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - "value": "log(bytes3)" - }, - { - "id": 238, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 231, - "src": "1576:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8349266851a1d92746f90a9696920643311d6bf462d9fa11e69718a636cbee", - "typeString": "literal_string \"log(bytes3)\"" - }, - { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - ], - "expression": { - "id": 235, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1537:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1537:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 239, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1537:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 234, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1521:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1521:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 241, - "nodeType": "ExpressionStatement", - "src": "1521:59:1" - } - ] - }, - "id": 243, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes3", - "nameLocation": "1482:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 231, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1499:2:1", - "nodeType": "VariableDeclaration", - "scope": 243, - "src": "1492:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - }, - "typeName": { - "id": 230, - "name": "bytes3", - "nodeType": "ElementaryTypeName", - "src": "1492:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes3", - "typeString": "bytes3" - } - }, - "visibility": "internal" - } - ], - "src": "1491:11:1" - }, - "returnParameters": { - "id": 233, - "nodeType": "ParameterList", - "parameters": [], - "src": "1517:0:1" - }, - "scope": 8146, - "src": "1473:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 256, - "nodeType": "Block", - "src": "1631:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733429", - "id": 251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1675:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - "value": "log(bytes4)" - }, - { - "id": 252, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 245, - "src": "1690:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e05f48d17f80c0f06e82dc14f4be9f0f654dde2e722a8d8796ad7e07f5308d55", - "typeString": "literal_string \"log(bytes4)\"" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "id": 249, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1651:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1651:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1651:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 248, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1635:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1635:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 255, - "nodeType": "ExpressionStatement", - "src": "1635:59:1" - } - ] - }, - "id": 257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes4", - "nameLocation": "1596:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 245, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1613:2:1", - "nodeType": "VariableDeclaration", - "scope": 257, - "src": "1606:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 244, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1606:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "visibility": "internal" - } - ], - "src": "1605:11:1" - }, - "returnParameters": { - "id": 247, - "nodeType": "ParameterList", - "parameters": [], - "src": "1631:0:1" - }, - "scope": 8146, - "src": "1587:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 270, - "nodeType": "Block", - "src": "1745:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733529", - "id": 265, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1789:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - "value": "log(bytes5)" - }, - { - "id": 266, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 259, - "src": "1804:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a684808d222f8a67c08dd13085391d5e9d1825d9fb6e2da44a91b1a07d07401a", - "typeString": "literal_string \"log(bytes5)\"" - }, - { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - ], - "expression": { - "id": 263, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1765:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1765:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1765:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 262, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1749:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1749:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 269, - "nodeType": "ExpressionStatement", - "src": "1749:59:1" - } - ] - }, - "id": 271, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes5", - "nameLocation": "1710:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 260, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1727:2:1", - "nodeType": "VariableDeclaration", - "scope": 271, - "src": "1720:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - }, - "typeName": { - "id": 258, - "name": "bytes5", - "nodeType": "ElementaryTypeName", - "src": "1720:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes5", - "typeString": "bytes5" - } - }, - "visibility": "internal" - } - ], - "src": "1719:11:1" - }, - "returnParameters": { - "id": 261, - "nodeType": "ParameterList", - "parameters": [], - "src": "1745:0:1" - }, - "scope": 8146, - "src": "1701:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 284, - "nodeType": "Block", - "src": "1859:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733629", - "id": 279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1903:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - "value": "log(bytes6)" - }, - { - "id": 280, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 273, - "src": "1918:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae84a5910824668818be6031303edf0f6f3694b35d5e6f9683950d57ef12d330", - "typeString": "literal_string \"log(bytes6)\"" - }, - { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - ], - "expression": { - "id": 277, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1879:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1879:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1879:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 276, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1863:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1863:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 283, - "nodeType": "ExpressionStatement", - "src": "1863:59:1" - } - ] - }, - "id": 285, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes6", - "nameLocation": "1824:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 274, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1841:2:1", - "nodeType": "VariableDeclaration", - "scope": 285, - "src": "1834:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - }, - "typeName": { - "id": 272, - "name": "bytes6", - "nodeType": "ElementaryTypeName", - "src": "1834:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes6", - "typeString": "bytes6" - } - }, - "visibility": "internal" - } - ], - "src": "1833:11:1" - }, - "returnParameters": { - "id": 275, - "nodeType": "ParameterList", - "parameters": [], - "src": "1859:0:1" - }, - "scope": 8146, - "src": "1815:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 298, - "nodeType": "Block", - "src": "1973:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733729", - "id": 293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2017:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - "value": "log(bytes7)" - }, - { - "id": 294, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 287, - "src": "2032:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ed57e28813457436949e4ec0a834b3c8262cd6cebd21953ee0da3400ce2de29", - "typeString": "literal_string \"log(bytes7)\"" - }, - { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - ], - "expression": { - "id": 291, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1993:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 292, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "1993:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1993:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 290, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "1977:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 296, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1977:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 297, - "nodeType": "ExpressionStatement", - "src": "1977:59:1" - } - ] - }, - "id": 299, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes7", - "nameLocation": "1938:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 287, - "mutability": "mutable", - "name": "p0", - "nameLocation": "1955:2:1", - "nodeType": "VariableDeclaration", - "scope": 299, - "src": "1948:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - }, - "typeName": { - "id": 286, - "name": "bytes7", - "nodeType": "ElementaryTypeName", - "src": "1948:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes7", - "typeString": "bytes7" - } - }, - "visibility": "internal" - } - ], - "src": "1947:11:1" - }, - "returnParameters": { - "id": 289, - "nodeType": "ParameterList", - "parameters": [], - "src": "1973:0:1" - }, - "scope": 8146, - "src": "1929:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 312, - "nodeType": "Block", - "src": "2087:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733829", - "id": 307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2131:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - "value": "log(bytes8)" - }, - { - "id": 308, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 301, - "src": "2146:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f84252e5b28e1a0064346c7cd13650e2dd6020728ca468281bb2a28b42654b3", - "typeString": "literal_string \"log(bytes8)\"" - }, - { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - ], - "expression": { - "id": 305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2107:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2107:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 309, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2107:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 304, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2091:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2091:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 311, - "nodeType": "ExpressionStatement", - "src": "2091:59:1" - } - ] - }, - "id": 313, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes8", - "nameLocation": "2052:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 301, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2069:2:1", - "nodeType": "VariableDeclaration", - "scope": 313, - "src": "2062:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - }, - "typeName": { - "id": 300, - "name": "bytes8", - "nodeType": "ElementaryTypeName", - "src": "2062:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes8", - "typeString": "bytes8" - } - }, - "visibility": "internal" - } - ], - "src": "2061:11:1" - }, - "returnParameters": { - "id": 303, - "nodeType": "ParameterList", - "parameters": [], - "src": "2087:0:1" - }, - "scope": 8146, - "src": "2043:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 326, - "nodeType": "Block", - "src": "2201:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672862797465733929", - "id": 321, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2245:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - "value": "log(bytes9)" - }, - { - "id": 322, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 315, - "src": "2260:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90bd8cd0463fe91d31e59db57ee4cf8d778374c422b4b50e841266d9c2cc6667", - "typeString": "literal_string \"log(bytes9)\"" - }, - { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - ], - "expression": { - "id": 319, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2221:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2221:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2221:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 318, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2205:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2205:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 325, - "nodeType": "ExpressionStatement", - "src": "2205:59:1" - } - ] - }, - "id": 327, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes9", - "nameLocation": "2166:9:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 316, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 315, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2183:2:1", - "nodeType": "VariableDeclaration", - "scope": 327, - "src": "2176:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - }, - "typeName": { - "id": 314, - "name": "bytes9", - "nodeType": "ElementaryTypeName", - "src": "2176:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes9", - "typeString": "bytes9" - } - }, - "visibility": "internal" - } - ], - "src": "2175:11:1" - }, - "returnParameters": { - "id": 317, - "nodeType": "ParameterList", - "parameters": [], - "src": "2201:0:1" - }, - "scope": 8146, - "src": "2157:111:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 340, - "nodeType": "Block", - "src": "2317:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313029", - "id": 335, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2361:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - "value": "log(bytes10)" - }, - { - "id": 336, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 329, - "src": "2377:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_013d178bb749cf32d0f7243763667360eb91576261efe5ed9be72b4a2800fd66", - "typeString": "literal_string \"log(bytes10)\"" - }, - { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - ], - "expression": { - "id": 333, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2337:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2337:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2337:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 332, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2321:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2321:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 339, - "nodeType": "ExpressionStatement", - "src": "2321:60:1" - } - ] - }, - "id": 341, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes10", - "nameLocation": "2280:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 330, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 329, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2299:2:1", - "nodeType": "VariableDeclaration", - "scope": 341, - "src": "2291:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - }, - "typeName": { - "id": 328, - "name": "bytes10", - "nodeType": "ElementaryTypeName", - "src": "2291:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes10", - "typeString": "bytes10" - } - }, - "visibility": "internal" - } - ], - "src": "2290:12:1" - }, - "returnParameters": { - "id": 331, - "nodeType": "ParameterList", - "parameters": [], - "src": "2317:0:1" - }, - "scope": 8146, - "src": "2271:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 354, - "nodeType": "Block", - "src": "2434:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313129", - "id": 349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2478:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - "value": "log(bytes11)" - }, - { - "id": 350, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 343, - "src": "2494:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_04004a2e5bef8ca2e7ffd661b519aec3d9c1b8d0aa1e11656aab73b2726922d9", - "typeString": "literal_string \"log(bytes11)\"" - }, - { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - ], - "expression": { - "id": 347, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2454:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2454:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2454:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 346, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2438:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2438:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 353, - "nodeType": "ExpressionStatement", - "src": "2438:60:1" - } - ] - }, - "id": 355, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes11", - "nameLocation": "2397:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 344, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 343, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2416:2:1", - "nodeType": "VariableDeclaration", - "scope": 355, - "src": "2408:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - }, - "typeName": { - "id": 342, - "name": "bytes11", - "nodeType": "ElementaryTypeName", - "src": "2408:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes11", - "typeString": "bytes11" - } - }, - "visibility": "internal" - } - ], - "src": "2407:12:1" - }, - "returnParameters": { - "id": 345, - "nodeType": "ParameterList", - "parameters": [], - "src": "2434:0:1" - }, - "scope": 8146, - "src": "2388:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 368, - "nodeType": "Block", - "src": "2551:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313229", - "id": 363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2595:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - "value": "log(bytes12)" - }, - { - "id": 364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 357, - "src": "2611:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_86a06abd704b9e5bab2216d456863046355f2def5304d8276c140d0d454fddf2", - "typeString": "literal_string \"log(bytes12)\"" - }, - { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - ], - "expression": { - "id": 361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2571:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2571:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2571:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2555:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2555:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 367, - "nodeType": "ExpressionStatement", - "src": "2555:60:1" - } - ] - }, - "id": 369, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes12", - "nameLocation": "2514:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 357, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2533:2:1", - "nodeType": "VariableDeclaration", - "scope": 369, - "src": "2525:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - }, - "typeName": { - "id": 356, - "name": "bytes12", - "nodeType": "ElementaryTypeName", - "src": "2525:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes12", - "typeString": "bytes12" - } - }, - "visibility": "internal" - } - ], - "src": "2524:12:1" - }, - "returnParameters": { - "id": 359, - "nodeType": "ParameterList", - "parameters": [], - "src": "2551:0:1" - }, - "scope": 8146, - "src": "2505:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 382, - "nodeType": "Block", - "src": "2668:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313329", - "id": 377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2712:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - "value": "log(bytes13)" - }, - { - "id": 378, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 371, - "src": "2728:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94529e34a43ac6de2c3a0df402eee6114eb0f2ad065baefde0230cd3cf90e2ec", - "typeString": "literal_string \"log(bytes13)\"" - }, - { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - ], - "expression": { - "id": 375, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2688:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2688:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 379, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2688:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 374, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2672:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2672:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 381, - "nodeType": "ExpressionStatement", - "src": "2672:60:1" - } - ] - }, - "id": 383, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes13", - "nameLocation": "2631:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 371, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2650:2:1", - "nodeType": "VariableDeclaration", - "scope": 383, - "src": "2642:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - }, - "typeName": { - "id": 370, - "name": "bytes13", - "nodeType": "ElementaryTypeName", - "src": "2642:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes13", - "typeString": "bytes13" - } - }, - "visibility": "internal" - } - ], - "src": "2641:12:1" - }, - "returnParameters": { - "id": 373, - "nodeType": "ParameterList", - "parameters": [], - "src": "2668:0:1" - }, - "scope": 8146, - "src": "2622:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 396, - "nodeType": "Block", - "src": "2785:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313429", - "id": 391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2829:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - "value": "log(bytes14)" - }, - { - "id": 392, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "2845:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9266f07faf32c88bbdb01ce418243acbc1c63e15d6e3afa16078186ba711f278", - "typeString": "literal_string \"log(bytes14)\"" - }, - { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - ], - "expression": { - "id": 389, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2805:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 390, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2805:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2805:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 388, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2789:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2789:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 395, - "nodeType": "ExpressionStatement", - "src": "2789:60:1" - } - ] - }, - "id": 397, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes14", - "nameLocation": "2748:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 386, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 385, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2767:2:1", - "nodeType": "VariableDeclaration", - "scope": 397, - "src": "2759:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - }, - "typeName": { - "id": 384, - "name": "bytes14", - "nodeType": "ElementaryTypeName", - "src": "2759:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes14", - "typeString": "bytes14" - } - }, - "visibility": "internal" - } - ], - "src": "2758:12:1" - }, - "returnParameters": { - "id": 387, - "nodeType": "ParameterList", - "parameters": [], - "src": "2785:0:1" - }, - "scope": 8146, - "src": "2739:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 410, - "nodeType": "Block", - "src": "2902:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313529", - "id": 405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2946:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - "value": "log(bytes15)" - }, - { - "id": 406, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "2962:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_da9574e0bf3f23e09c3d85c9f5226065bb36281f2a5d78c7e38f6ffd58919606", - "typeString": "literal_string \"log(bytes15)\"" - }, - { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - ], - "expression": { - "id": 403, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2922:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 404, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "2922:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2922:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 402, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "2906:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2906:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 409, - "nodeType": "ExpressionStatement", - "src": "2906:60:1" - } - ] - }, - "id": 411, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes15", - "nameLocation": "2865:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "2884:2:1", - "nodeType": "VariableDeclaration", - "scope": 411, - "src": "2876:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - }, - "typeName": { - "id": 398, - "name": "bytes15", - "nodeType": "ElementaryTypeName", - "src": "2876:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes15", - "typeString": "bytes15" - } - }, - "visibility": "internal" - } - ], - "src": "2875:12:1" - }, - "returnParameters": { - "id": 401, - "nodeType": "ParameterList", - "parameters": [], - "src": "2902:0:1" - }, - "scope": 8146, - "src": "2856:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 424, - "nodeType": "Block", - "src": "3019:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313629", - "id": 419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3063:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - "value": "log(bytes16)" - }, - { - "id": 420, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 413, - "src": "3079:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665c61046af0adc4969f9d2f111b654775bd58f112b63e5ce7dfff29c000e9f3", - "typeString": "literal_string \"log(bytes16)\"" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - ], - "expression": { - "id": 417, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3039:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3039:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3039:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 416, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3023:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 422, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3023:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 423, - "nodeType": "ExpressionStatement", - "src": "3023:60:1" - } - ] - }, - "id": 425, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes16", - "nameLocation": "2982:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 414, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 413, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3001:2:1", - "nodeType": "VariableDeclaration", - "scope": 425, - "src": "2993:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 412, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "2993:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "visibility": "internal" - } - ], - "src": "2992:12:1" - }, - "returnParameters": { - "id": 415, - "nodeType": "ParameterList", - "parameters": [], - "src": "3019:0:1" - }, - "scope": 8146, - "src": "2973:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 438, - "nodeType": "Block", - "src": "3136:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313729", - "id": 433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3180:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - "value": "log(bytes17)" - }, - { - "id": 434, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 427, - "src": "3196:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_339f673a0c008974259a0022c9b150cc5d1af8c58584412fe373d84bd08d4ea3", - "typeString": "literal_string \"log(bytes17)\"" - }, - { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - ], - "expression": { - "id": 431, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3156:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3156:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3156:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 430, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3140:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3140:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 437, - "nodeType": "ExpressionStatement", - "src": "3140:60:1" - } - ] - }, - "id": 439, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes17", - "nameLocation": "3099:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 427, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3118:2:1", - "nodeType": "VariableDeclaration", - "scope": 439, - "src": "3110:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - }, - "typeName": { - "id": 426, - "name": "bytes17", - "nodeType": "ElementaryTypeName", - "src": "3110:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes17", - "typeString": "bytes17" - } - }, - "visibility": "internal" - } - ], - "src": "3109:12:1" - }, - "returnParameters": { - "id": 429, - "nodeType": "ParameterList", - "parameters": [], - "src": "3136:0:1" - }, - "scope": 8146, - "src": "3090:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 452, - "nodeType": "Block", - "src": "3253:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313829", - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3297:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - "value": "log(bytes18)" - }, - { - "id": 448, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 441, - "src": "3313:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4d23d9af6458d5ddc7cb8128a2f36bf147c9db4fe277dfe0fe7be41def62116", - "typeString": "literal_string \"log(bytes18)\"" - }, - { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - ], - "expression": { - "id": 445, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3273:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3273:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3273:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 444, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3257:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3257:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 451, - "nodeType": "ExpressionStatement", - "src": "3257:60:1" - } - ] - }, - "id": 453, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes18", - "nameLocation": "3216:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 442, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 441, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3235:2:1", - "nodeType": "VariableDeclaration", - "scope": 453, - "src": "3227:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - }, - "typeName": { - "id": 440, - "name": "bytes18", - "nodeType": "ElementaryTypeName", - "src": "3227:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes18", - "typeString": "bytes18" - } - }, - "visibility": "internal" - } - ], - "src": "3226:12:1" - }, - "returnParameters": { - "id": 443, - "nodeType": "ParameterList", - "parameters": [], - "src": "3253:0:1" - }, - "scope": 8146, - "src": "3207:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 466, - "nodeType": "Block", - "src": "3370:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573313929", - "id": 461, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3414:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - "value": "log(bytes19)" - }, - { - "id": 462, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 455, - "src": "3430:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e6b5a33524ca650028e2fad735b4ab50285bba37658119d2da303bee98aeada", - "typeString": "literal_string \"log(bytes19)\"" - }, - { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - ], - "expression": { - "id": 459, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3390:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3390:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3390:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 458, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3374:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3374:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 465, - "nodeType": "ExpressionStatement", - "src": "3374:60:1" - } - ] - }, - "id": 467, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes19", - "nameLocation": "3333:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 455, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3352:2:1", - "nodeType": "VariableDeclaration", - "scope": 467, - "src": "3344:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - }, - "typeName": { - "id": 454, - "name": "bytes19", - "nodeType": "ElementaryTypeName", - "src": "3344:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes19", - "typeString": "bytes19" - } - }, - "visibility": "internal" - } - ], - "src": "3343:12:1" - }, - "returnParameters": { - "id": 457, - "nodeType": "ParameterList", - "parameters": [], - "src": "3370:0:1" - }, - "scope": 8146, - "src": "3324:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 480, - "nodeType": "Block", - "src": "3487:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323029", - "id": 475, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3531:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - "value": "log(bytes20)" - }, - { - "id": 476, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 469, - "src": "3547:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5188e3e9b3f117a223e2e428d0e13d089f3a53913e479000b94b85266ecf8231", - "typeString": "literal_string \"log(bytes20)\"" - }, - { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - ], - "expression": { - "id": 473, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3507:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3507:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3507:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 472, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3491:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 478, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3491:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 479, - "nodeType": "ExpressionStatement", - "src": "3491:60:1" - } - ] - }, - "id": 481, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes20", - "nameLocation": "3450:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 470, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 469, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3469:2:1", - "nodeType": "VariableDeclaration", - "scope": 481, - "src": "3461:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - }, - "typeName": { - "id": 468, - "name": "bytes20", - "nodeType": "ElementaryTypeName", - "src": "3461:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes20", - "typeString": "bytes20" - } - }, - "visibility": "internal" - } - ], - "src": "3460:12:1" - }, - "returnParameters": { - "id": 471, - "nodeType": "ParameterList", - "parameters": [], - "src": "3487:0:1" - }, - "scope": 8146, - "src": "3441:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 494, - "nodeType": "Block", - "src": "3604:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323129", - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3648:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - "value": "log(bytes21)" - }, - { - "id": 490, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 483, - "src": "3664:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e9da35608192a6b38ad5ef62cf738886973b011b8cdb7e81cdd51b4c3dfe8ad7", - "typeString": "literal_string \"log(bytes21)\"" - }, - { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - ], - "expression": { - "id": 487, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3624:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3624:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 491, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3624:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 486, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3608:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3608:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 493, - "nodeType": "ExpressionStatement", - "src": "3608:60:1" - } - ] - }, - "id": 495, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes21", - "nameLocation": "3567:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 483, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3586:2:1", - "nodeType": "VariableDeclaration", - "scope": 495, - "src": "3578:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - }, - "typeName": { - "id": 482, - "name": "bytes21", - "nodeType": "ElementaryTypeName", - "src": "3578:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes21", - "typeString": "bytes21" - } - }, - "visibility": "internal" - } - ], - "src": "3577:12:1" - }, - "returnParameters": { - "id": 485, - "nodeType": "ParameterList", - "parameters": [], - "src": "3604:0:1" - }, - "scope": 8146, - "src": "3558:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 508, - "nodeType": "Block", - "src": "3721:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323229", - "id": 503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3765:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - "value": "log(bytes22)" - }, - { - "id": 504, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 497, - "src": "3781:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d5fae89c25bed6f12b105f52db0a0ff6f5c8313613e12eccd3059bb7f7ea6575", - "typeString": "literal_string \"log(bytes22)\"" - }, - { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - ], - "expression": { - "id": 501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3741:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3741:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 505, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3741:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 500, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3725:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3725:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 507, - "nodeType": "ExpressionStatement", - "src": "3725:60:1" - } - ] - }, - "id": 509, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes22", - "nameLocation": "3684:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 497, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3703:2:1", - "nodeType": "VariableDeclaration", - "scope": 509, - "src": "3695:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - }, - "typeName": { - "id": 496, - "name": "bytes22", - "nodeType": "ElementaryTypeName", - "src": "3695:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes22", - "typeString": "bytes22" - } - }, - "visibility": "internal" - } - ], - "src": "3694:12:1" - }, - "returnParameters": { - "id": 499, - "nodeType": "ParameterList", - "parameters": [], - "src": "3721:0:1" - }, - "scope": 8146, - "src": "3675:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 522, - "nodeType": "Block", - "src": "3838:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323329", - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3882:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - "value": "log(bytes23)" - }, - { - "id": 518, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 511, - "src": "3898:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aba1cf0dcd316c862bc06d4cf532375fed11c1e0897ba81a04ee0b22d3f14061", - "typeString": "literal_string \"log(bytes23)\"" - }, - { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - ], - "expression": { - "id": 515, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3858:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 516, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3858:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3858:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 514, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3842:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3842:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 521, - "nodeType": "ExpressionStatement", - "src": "3842:60:1" - } - ] - }, - "id": 523, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes23", - "nameLocation": "3801:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 512, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 511, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3820:2:1", - "nodeType": "VariableDeclaration", - "scope": 523, - "src": "3812:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - }, - "typeName": { - "id": 510, - "name": "bytes23", - "nodeType": "ElementaryTypeName", - "src": "3812:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes23", - "typeString": "bytes23" - } - }, - "visibility": "internal" - } - ], - "src": "3811:12:1" - }, - "returnParameters": { - "id": 513, - "nodeType": "ParameterList", - "parameters": [], - "src": "3838:0:1" - }, - "scope": 8146, - "src": "3792:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 536, - "nodeType": "Block", - "src": "3955:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323429", - "id": 531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3999:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - "value": "log(bytes24)" - }, - { - "id": 532, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 525, - "src": "4015:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f1b35b3488a5452bceb48624d6ba2a791e58f0e9c0f4b86b8f51186ec7a7edf4", - "typeString": "literal_string \"log(bytes24)\"" - }, - { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - ], - "expression": { - "id": 529, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3975:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "3975:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3975:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 528, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "3959:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3959:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 535, - "nodeType": "ExpressionStatement", - "src": "3959:60:1" - } - ] - }, - "id": 537, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes24", - "nameLocation": "3918:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 526, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 525, - "mutability": "mutable", - "name": "p0", - "nameLocation": "3937:2:1", - "nodeType": "VariableDeclaration", - "scope": 537, - "src": "3929:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - }, - "typeName": { - "id": 524, - "name": "bytes24", - "nodeType": "ElementaryTypeName", - "src": "3929:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes24", - "typeString": "bytes24" - } - }, - "visibility": "internal" - } - ], - "src": "3928:12:1" - }, - "returnParameters": { - "id": 527, - "nodeType": "ParameterList", - "parameters": [], - "src": "3955:0:1" - }, - "scope": 8146, - "src": "3909:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 550, - "nodeType": "Block", - "src": "4072:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323529", - "id": 545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4116:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - "value": "log(bytes25)" - }, - { - "id": 546, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 539, - "src": "4132:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0b84bc580db9be1295ee23dff6122da1f70381c83abf9a74953cca11238eda25", - "typeString": "literal_string \"log(bytes25)\"" - }, - { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - ], - "expression": { - "id": 543, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4092:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4092:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4092:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 542, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4076:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 548, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4076:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 549, - "nodeType": "ExpressionStatement", - "src": "4076:60:1" - } - ] - }, - "id": 551, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes25", - "nameLocation": "4035:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 540, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 539, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4054:2:1", - "nodeType": "VariableDeclaration", - "scope": 551, - "src": "4046:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - }, - "typeName": { - "id": 538, - "name": "bytes25", - "nodeType": "ElementaryTypeName", - "src": "4046:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes25", - "typeString": "bytes25" - } - }, - "visibility": "internal" - } - ], - "src": "4045:12:1" - }, - "returnParameters": { - "id": 541, - "nodeType": "ParameterList", - "parameters": [], - "src": "4072:0:1" - }, - "scope": 8146, - "src": "4026:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 564, - "nodeType": "Block", - "src": "4189:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323629", - "id": 559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4233:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - "value": "log(bytes26)" - }, - { - "id": 560, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 553, - "src": "4249:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8b149f18dc341f1a56e26c6c24a5233eec3bbb2ab017e9e86e663aae743965b", - "typeString": "literal_string \"log(bytes26)\"" - }, - { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - ], - "expression": { - "id": 557, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4209:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4209:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4209:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 556, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4193:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4193:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 563, - "nodeType": "ExpressionStatement", - "src": "4193:60:1" - } - ] - }, - "id": 565, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes26", - "nameLocation": "4152:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 553, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4171:2:1", - "nodeType": "VariableDeclaration", - "scope": 565, - "src": "4163:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - }, - "typeName": { - "id": 552, - "name": "bytes26", - "nodeType": "ElementaryTypeName", - "src": "4163:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes26", - "typeString": "bytes26" - } - }, - "visibility": "internal" - } - ], - "src": "4162:12:1" - }, - "returnParameters": { - "id": 555, - "nodeType": "ParameterList", - "parameters": [], - "src": "4189:0:1" - }, - "scope": 8146, - "src": "4143:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 578, - "nodeType": "Block", - "src": "4306:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323729", - "id": 573, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4350:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - "value": "log(bytes27)" - }, - { - "id": 574, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 567, - "src": "4366:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3a3757dda92e8e238aa23ff7f6f62e31074f6acccca8986ec1286b5a835236b6", - "typeString": "literal_string \"log(bytes27)\"" - }, - { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - ], - "expression": { - "id": 571, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4326:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4326:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4326:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 570, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4310:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4310:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 577, - "nodeType": "ExpressionStatement", - "src": "4310:60:1" - } - ] - }, - "id": 579, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes27", - "nameLocation": "4269:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 568, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 567, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4288:2:1", - "nodeType": "VariableDeclaration", - "scope": 579, - "src": "4280:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - }, - "typeName": { - "id": 566, - "name": "bytes27", - "nodeType": "ElementaryTypeName", - "src": "4280:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes27", - "typeString": "bytes27" - } - }, - "visibility": "internal" - } - ], - "src": "4279:12:1" - }, - "returnParameters": { - "id": 569, - "nodeType": "ParameterList", - "parameters": [], - "src": "4306:0:1" - }, - "scope": 8146, - "src": "4260:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 592, - "nodeType": "Block", - "src": "4423:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323829", - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4467:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - "value": "log(bytes28)" - }, - { - "id": 588, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 581, - "src": "4483:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c82aeaee74a6ddec4ccd5cfe60e816752c02c70838f0908bd4a6e82866b3a042", - "typeString": "literal_string \"log(bytes28)\"" - }, - { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - ], - "expression": { - "id": 585, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4443:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 586, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4443:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4443:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 584, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4427:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4427:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 591, - "nodeType": "ExpressionStatement", - "src": "4427:60:1" - } - ] - }, - "id": 593, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes28", - "nameLocation": "4386:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 582, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 581, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4405:2:1", - "nodeType": "VariableDeclaration", - "scope": 593, - "src": "4397:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - }, - "typeName": { - "id": 580, - "name": "bytes28", - "nodeType": "ElementaryTypeName", - "src": "4397:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes28", - "typeString": "bytes28" - } - }, - "visibility": "internal" - } - ], - "src": "4396:12:1" - }, - "returnParameters": { - "id": 583, - "nodeType": "ParameterList", - "parameters": [], - "src": "4423:0:1" - }, - "scope": 8146, - "src": "4377:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 606, - "nodeType": "Block", - "src": "4540:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573323929", - "id": 601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4584:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - "value": "log(bytes29)" - }, - { - "id": 602, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 595, - "src": "4600:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b69c3d5f782ef1bdb62d5bb42d4987f16799030ba447bb153d465bd3a3a5667", - "typeString": "literal_string \"log(bytes29)\"" - }, - { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - ], - "expression": { - "id": 599, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4560:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4560:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4560:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 598, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4544:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 604, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4544:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 605, - "nodeType": "ExpressionStatement", - "src": "4544:60:1" - } - ] - }, - "id": 607, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes29", - "nameLocation": "4503:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 596, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4522:2:1", - "nodeType": "VariableDeclaration", - "scope": 607, - "src": "4514:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - }, - "typeName": { - "id": 594, - "name": "bytes29", - "nodeType": "ElementaryTypeName", - "src": "4514:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes29", - "typeString": "bytes29" - } - }, - "visibility": "internal" - } - ], - "src": "4513:12:1" - }, - "returnParameters": { - "id": 597, - "nodeType": "ParameterList", - "parameters": [], - "src": "4540:0:1" - }, - "scope": 8146, - "src": "4494:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 620, - "nodeType": "Block", - "src": "4657:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333029", - "id": 615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4701:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - "value": "log(bytes30)" - }, - { - "id": 616, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 609, - "src": "4717:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ee12c4edbd73d98174a6bf3454562c4874f59cb381176b662ca65f625f97d6ad", - "typeString": "literal_string \"log(bytes30)\"" - }, - { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - ], - "expression": { - "id": 613, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4677:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4677:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 617, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4677:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 612, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4661:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4661:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 619, - "nodeType": "ExpressionStatement", - "src": "4661:60:1" - } - ] - }, - "id": 621, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes30", - "nameLocation": "4620:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 609, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4639:2:1", - "nodeType": "VariableDeclaration", - "scope": 621, - "src": "4631:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - }, - "typeName": { - "id": 608, - "name": "bytes30", - "nodeType": "ElementaryTypeName", - "src": "4631:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes30", - "typeString": "bytes30" - } - }, - "visibility": "internal" - } - ], - "src": "4630:12:1" - }, - "returnParameters": { - "id": 611, - "nodeType": "ParameterList", - "parameters": [], - "src": "4657:0:1" - }, - "scope": 8146, - "src": "4611:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 634, - "nodeType": "Block", - "src": "4774:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333129", - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4818:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - "value": "log(bytes31)" - }, - { - "id": 630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 623, - "src": "4834:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c2854d92a0707e582e2710f9c9d3f148fdcf7e7da3b4270c2cfa3e223a2c50ce", - "typeString": "literal_string \"log(bytes31)\"" - }, - { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - ], - "expression": { - "id": 627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4794:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4794:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4794:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4778:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4778:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 633, - "nodeType": "ExpressionStatement", - "src": "4778:60:1" - } - ] - }, - "id": 635, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes31", - "nameLocation": "4737:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 623, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4756:2:1", - "nodeType": "VariableDeclaration", - "scope": 635, - "src": "4748:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - }, - "typeName": { - "id": 622, - "name": "bytes31", - "nodeType": "ElementaryTypeName", - "src": "4748:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes31", - "typeString": "bytes31" - } - }, - "visibility": "internal" - } - ], - "src": "4747:12:1" - }, - "returnParameters": { - "id": 625, - "nodeType": "ParameterList", - "parameters": [], - "src": "4774:0:1" - }, - "scope": 8146, - "src": "4728:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 648, - "nodeType": "Block", - "src": "4891:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286279746573333229", - "id": 643, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4935:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - "value": "log(bytes32)" - }, - { - "id": 644, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 637, - "src": "4951:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27b7cf8513ac6b65cae720183e1e60e67f8a9d92c01286c19d51d4e30aa269da", - "typeString": "literal_string \"log(bytes32)\"" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "expression": { - "id": 641, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4911:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 642, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "4911:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4911:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 640, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "4895:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4895:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 647, - "nodeType": "ExpressionStatement", - "src": "4895:60:1" - } - ] - }, - "id": 649, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "logBytes32", - "nameLocation": "4854:10:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 638, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 637, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4873:2:1", - "nodeType": "VariableDeclaration", - "scope": 649, - "src": "4865:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 636, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "4865:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - } - ], - "src": "4864:12:1" - }, - "returnParameters": { - "id": 639, - "nodeType": "ParameterList", - "parameters": [], - "src": "4891:0:1" - }, - "scope": 8146, - "src": "4845:114:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 662, - "nodeType": "Block", - "src": "5001:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e7432353629", - "id": 657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5045:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - "value": "log(uint256)" - }, - { - "id": 658, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 651, - "src": "5061:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f82c50f1848136e6c140b186ea0c768b7deda5efffe42c25e96336a90b26c744", - "typeString": "literal_string \"log(uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 655, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5021:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 656, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5021:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5021:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 654, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5005:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5005:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 661, - "nodeType": "ExpressionStatement", - "src": "5005:60:1" - } - ] - }, - "id": 663, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "4971:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 651, - "mutability": "mutable", - "name": "p0", - "nameLocation": "4983:2:1", - "nodeType": "VariableDeclaration", - "scope": 663, - "src": "4975:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 650, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4975:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "4974:12:1" - }, - "returnParameters": { - "id": 653, - "nodeType": "ParameterList", - "parameters": [], - "src": "5001:0:1" - }, - "scope": 8146, - "src": "4962:107:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 676, - "nodeType": "Block", - "src": "5117:67:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e6729", - "id": 671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5161:13:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - "value": "log(string)" - }, - { - "id": 672, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 665, - "src": "5176:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f50", - "typeString": "literal_string \"log(string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 669, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5137:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 670, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5137:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5137:42:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 668, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5121:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5121:59:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 675, - "nodeType": "ExpressionStatement", - "src": "5121:59:1" - } - ] - }, - "id": 677, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5081:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 666, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 665, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5099:2:1", - "nodeType": "VariableDeclaration", - "scope": 677, - "src": "5085:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 664, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5085:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5084:18:1" - }, - "returnParameters": { - "id": 667, - "nodeType": "ParameterList", - "parameters": [], - "src": "5117:0:1" - }, - "scope": 8146, - "src": "5072:112:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 690, - "nodeType": "Block", - "src": "5223:65:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c29", - "id": 685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5267:11:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - "value": "log(bool)" - }, - { - "id": 686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 679, - "src": "5280:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_32458eed3feca62a69292a55ca8a755ae4e6cdc57a38d15c298330064467fdd7", - "typeString": "literal_string \"log(bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5243:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5243:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5243:40:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5227:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5227:57:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 689, - "nodeType": "ExpressionStatement", - "src": "5227:57:1" - } - ] - }, - "id": 691, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5196:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5205:2:1", - "nodeType": "VariableDeclaration", - "scope": 691, - "src": "5200:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5200:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5199:9:1" - }, - "returnParameters": { - "id": 681, - "nodeType": "ParameterList", - "parameters": [], - "src": "5223:0:1" - }, - "scope": 8146, - "src": "5187:101:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 704, - "nodeType": "Block", - "src": "5330:68:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f67286164647265737329", - "id": 699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5374:14:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - "value": "log(address)" - }, - { - "id": 700, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 693, - "src": "5390:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c2ecbc2212ac38c2f9ec89aa5fcef7f532a5db24dbf7cad1f48bc82843b7428", - "typeString": "literal_string \"log(address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 697, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5350:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5350:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 701, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5350:43:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 696, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5334:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5334:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 703, - "nodeType": "ExpressionStatement", - "src": "5334:60:1" - } - ] - }, - "id": 705, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5300:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 693, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5312:2:1", - "nodeType": "VariableDeclaration", - "scope": 705, - "src": "5304:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 692, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5304:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5303:12:1" - }, - "returnParameters": { - "id": 695, - "nodeType": "ParameterList", - "parameters": [], - "src": "5330:0:1" - }, - "scope": 8146, - "src": "5291:107:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 721, - "nodeType": "Block", - "src": "5452:80:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e7432353629", - "id": 715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5496:22:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f666715aa6b8e8ce32bd39173f51eea0643fdd246a826c4756c2f168022b6eb5", - "typeString": "literal_string \"log(uint256,uint256)\"" - }, - "value": "log(uint256,uint256)" - }, - { - "id": 716, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "5520:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 717, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "5524:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f666715aa6b8e8ce32bd39173f51eea0643fdd246a826c4756c2f168022b6eb5", - "typeString": "literal_string \"log(uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 713, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5472:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 714, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5472:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 718, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5472:55:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 712, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5456:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5456:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 720, - "nodeType": "ExpressionStatement", - "src": "5456:72:1" - } - ] - }, - "id": 722, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5410:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 710, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 707, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5422:2:1", - "nodeType": "VariableDeclaration", - "scope": 722, - "src": "5414:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 706, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5414:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 709, - "mutability": "mutable", - "name": "p1", - "nameLocation": "5434:2:1", - "nodeType": "VariableDeclaration", - "scope": 722, - "src": "5426:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5426:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5413:24:1" - }, - "returnParameters": { - "id": 711, - "nodeType": "ParameterList", - "parameters": [], - "src": "5452:0:1" - }, - "scope": 8146, - "src": "5401:131:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 738, - "nodeType": "Block", - "src": "5592:79:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e6729", - "id": 732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5636:21:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_643fd0df4c7dfb004c6169012c8aec390bd7246941d7fe467022f10f2da987c3", - "typeString": "literal_string \"log(uint256,string)\"" - }, - "value": "log(uint256,string)" - }, - { - "id": 733, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 724, - "src": "5659:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 734, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "5663:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_643fd0df4c7dfb004c6169012c8aec390bd7246941d7fe467022f10f2da987c3", - "typeString": "literal_string \"log(uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 730, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5612:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5612:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5612:54:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 729, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5596:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5596:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 737, - "nodeType": "ExpressionStatement", - "src": "5596:71:1" - } - ] - }, - "id": 739, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5544:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 727, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 724, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5556:2:1", - "nodeType": "VariableDeclaration", - "scope": 739, - "src": "5548:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 723, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5548:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 726, - "mutability": "mutable", - "name": "p1", - "nameLocation": "5574:2:1", - "nodeType": "VariableDeclaration", - "scope": 739, - "src": "5560:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 725, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5560:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5547:30:1" - }, - "returnParameters": { - "id": 728, - "nodeType": "ParameterList", - "parameters": [], - "src": "5592:0:1" - }, - "scope": 8146, - "src": "5535:136:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 755, - "nodeType": "Block", - "src": "5722:77:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c29", - "id": 749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5766:19:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c9d7eb3a75db315653a5c0996fcea52a2b2692643ce8ace4d8b12bb9da6c1f2", - "typeString": "literal_string \"log(uint256,bool)\"" - }, - "value": "log(uint256,bool)" - }, - { - "id": 750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 741, - "src": "5787:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 751, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 743, - "src": "5791:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c9d7eb3a75db315653a5c0996fcea52a2b2692643ce8ace4d8b12bb9da6c1f2", - "typeString": "literal_string \"log(uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5742:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5742:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5742:52:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5726:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5726:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 754, - "nodeType": "ExpressionStatement", - "src": "5726:69:1" - } - ] - }, - "id": 756, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5683:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 741, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5695:2:1", - "nodeType": "VariableDeclaration", - "scope": 756, - "src": "5687:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 740, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5687:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 743, - "mutability": "mutable", - "name": "p1", - "nameLocation": "5704:2:1", - "nodeType": "VariableDeclaration", - "scope": 756, - "src": "5699:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 742, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5699:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5686:21:1" - }, - "returnParameters": { - "id": 745, - "nodeType": "ParameterList", - "parameters": [], - "src": "5722:0:1" - }, - "scope": 8146, - "src": "5674:125:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 772, - "nodeType": "Block", - "src": "5853:80:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c6164647265737329", - "id": 766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:22:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69276c86d20522c49707664308d424b84905ef92219f3146bcaacedc72eaed27", - "typeString": "literal_string \"log(uint256,address)\"" - }, - "value": "log(uint256,address)" - }, - { - "id": 767, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 758, - "src": "5921:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 768, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 760, - "src": "5925:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_69276c86d20522c49707664308d424b84905ef92219f3146bcaacedc72eaed27", - "typeString": "literal_string \"log(uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5873:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "5873:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5873:55:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 763, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5857:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5857:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 771, - "nodeType": "ExpressionStatement", - "src": "5857:72:1" - } - ] - }, - "id": 773, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5811:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 758, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5823:2:1", - "nodeType": "VariableDeclaration", - "scope": 773, - "src": "5815:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5815:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 760, - "mutability": "mutable", - "name": "p1", - "nameLocation": "5835:2:1", - "nodeType": "VariableDeclaration", - "scope": 773, - "src": "5827:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5827:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "5814:24:1" - }, - "returnParameters": { - "id": 762, - "nodeType": "ParameterList", - "parameters": [], - "src": "5853:0:1" - }, - "scope": 8146, - "src": "5802:131:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 789, - "nodeType": "Block", - "src": "5993:79:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e7432353629", - "id": 783, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6037:21:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b60e72ccf6d57ab53eb84d7e94a9545806ed7f93c4d5673f11a64f03471e584e", - "typeString": "literal_string \"log(string,uint256)\"" - }, - "value": "log(string,uint256)" - }, - { - "id": 784, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "6060:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 785, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 777, - "src": "6064:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b60e72ccf6d57ab53eb84d7e94a9545806ed7f93c4d5673f11a64f03471e584e", - "typeString": "literal_string \"log(string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 781, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6013:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 782, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6013:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6013:54:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 780, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "5997:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5997:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 788, - "nodeType": "ExpressionStatement", - "src": "5997:71:1" - } - ] - }, - "id": 790, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "5945:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 778, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 775, - "mutability": "mutable", - "name": "p0", - "nameLocation": "5963:2:1", - "nodeType": "VariableDeclaration", - "scope": 790, - "src": "5949:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 774, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5949:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 777, - "mutability": "mutable", - "name": "p1", - "nameLocation": "5975:2:1", - "nodeType": "VariableDeclaration", - "scope": 790, - "src": "5967:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 776, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5967:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "5948:30:1" - }, - "returnParameters": { - "id": 779, - "nodeType": "ParameterList", - "parameters": [], - "src": "5993:0:1" - }, - "scope": 8146, - "src": "5936:136:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 806, - "nodeType": "Block", - "src": "6138:78:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e6729", - "id": 800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6182:20:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - "value": "log(string,string)" - }, - { - "id": 801, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 792, - "src": "6204:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 802, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 794, - "src": "6208:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b5c4277d556d03fbf5ee534fba41dc13982b44f2fa82f1d48fdd8b5b5b692ac", - "typeString": "literal_string \"log(string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 798, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6158:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6158:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6158:53:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 797, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6142:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 804, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6142:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 805, - "nodeType": "ExpressionStatement", - "src": "6142:70:1" - } - ] - }, - "id": 807, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6084:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 792, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6102:2:1", - "nodeType": "VariableDeclaration", - "scope": 807, - "src": "6088:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 791, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6088:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 794, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6120:2:1", - "nodeType": "VariableDeclaration", - "scope": 807, - "src": "6106:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 793, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6106:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6087:36:1" - }, - "returnParameters": { - "id": 796, - "nodeType": "ParameterList", - "parameters": [], - "src": "6138:0:1" - }, - "scope": 8146, - "src": "6075:141:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 823, - "nodeType": "Block", - "src": "6273:76:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c29", - "id": 817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6317:18:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - "value": "log(string,bool)" - }, - { - "id": 818, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 809, - "src": "6337:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 819, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 811, - "src": "6341:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3b556354c088fbb43886eb83c2a04bc7089663f964d22be308197a236f5b870", - "typeString": "literal_string \"log(string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 815, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6293:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 816, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6293:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6293:51:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 814, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6277:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6277:68:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 822, - "nodeType": "ExpressionStatement", - "src": "6277:68:1" - } - ] - }, - "id": 824, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6228:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 812, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 809, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6246:2:1", - "nodeType": "VariableDeclaration", - "scope": 824, - "src": "6232:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 808, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6232:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 811, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6255:2:1", - "nodeType": "VariableDeclaration", - "scope": 824, - "src": "6250:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 810, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6250:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6231:27:1" - }, - "returnParameters": { - "id": 813, - "nodeType": "ParameterList", - "parameters": [], - "src": "6273:0:1" - }, - "scope": 8146, - "src": "6219:130:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 840, - "nodeType": "Block", - "src": "6409:79:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c6164647265737329", - "id": 834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6453:21:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - "value": "log(string,address)" - }, - { - "id": 835, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 826, - "src": "6476:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 836, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 828, - "src": "6480:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_319af333460570a1937bf195dd33445c0d0951c59127da6f1f038b9fdce3fd72", - "typeString": "literal_string \"log(string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 832, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6429:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 833, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6429:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 837, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6429:54:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 831, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6413:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6413:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 839, - "nodeType": "ExpressionStatement", - "src": "6413:71:1" - } - ] - }, - "id": 841, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6361:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 826, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6379:2:1", - "nodeType": "VariableDeclaration", - "scope": 841, - "src": "6365:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6365:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 828, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6391:2:1", - "nodeType": "VariableDeclaration", - "scope": 841, - "src": "6383:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 827, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6383:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6364:30:1" - }, - "returnParameters": { - "id": 830, - "nodeType": "ParameterList", - "parameters": [], - "src": "6409:0:1" - }, - "scope": 8146, - "src": "6352:136:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 857, - "nodeType": "Block", - "src": "6539:77:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e7432353629", - "id": 851, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6583:19:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_399174d3d0c43cb9677bce4fa1b5541fc60a002cbf23e154f1abcbb5f02cf2d7", - "typeString": "literal_string \"log(bool,uint256)\"" - }, - "value": "log(bool,uint256)" - }, - { - "id": 852, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 843, - "src": "6604:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 853, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 845, - "src": "6608:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_399174d3d0c43cb9677bce4fa1b5541fc60a002cbf23e154f1abcbb5f02cf2d7", - "typeString": "literal_string \"log(bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 849, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6559:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 850, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6559:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6559:52:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 848, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6543:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6543:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 856, - "nodeType": "ExpressionStatement", - "src": "6543:69:1" - } - ] - }, - "id": 858, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6500:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 846, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 843, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6509:2:1", - "nodeType": "VariableDeclaration", - "scope": 858, - "src": "6504:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 842, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6504:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 845, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6521:2:1", - "nodeType": "VariableDeclaration", - "scope": 858, - "src": "6513:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 844, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6513:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "6503:21:1" - }, - "returnParameters": { - "id": 847, - "nodeType": "ParameterList", - "parameters": [], - "src": "6539:0:1" - }, - "scope": 8146, - "src": "6491:125:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 874, - "nodeType": "Block", - "src": "6673:76:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e6729", - "id": 868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6717:18:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - "value": "log(bool,string)" - }, - { - "id": 869, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 860, - "src": "6737:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 870, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "6741:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8feac5256a5b88d7ca0173065b796567ecbc9d75ec022fa0f044eb427f962b84", - "typeString": "literal_string \"log(bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 866, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6693:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 867, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6693:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6693:51:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 865, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6677:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6677:68:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 873, - "nodeType": "ExpressionStatement", - "src": "6677:68:1" - } - ] - }, - "id": 875, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6628:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 863, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 860, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6637:2:1", - "nodeType": "VariableDeclaration", - "scope": 875, - "src": "6632:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 859, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6632:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 862, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6655:2:1", - "nodeType": "VariableDeclaration", - "scope": 875, - "src": "6641:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 861, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6641:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "6631:27:1" - }, - "returnParameters": { - "id": 864, - "nodeType": "ParameterList", - "parameters": [], - "src": "6673:0:1" - }, - "scope": 8146, - "src": "6619:130:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 891, - "nodeType": "Block", - "src": "6797:74:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c29", - "id": 885, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6841:16:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - "value": "log(bool,bool)" - }, - { - "id": 886, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 877, - "src": "6859:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 887, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 879, - "src": "6863:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2a110e83227fbe26ff7524076f2091da3e9aa01d70b93677da53b41d22f4fb15", - "typeString": "literal_string \"log(bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 883, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6817:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 884, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6817:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6817:49:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 882, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6801:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6801:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 890, - "nodeType": "ExpressionStatement", - "src": "6801:66:1" - } - ] - }, - "id": 892, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6761:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 877, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6770:2:1", - "nodeType": "VariableDeclaration", - "scope": 892, - "src": "6765:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 876, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6765:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 879, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6779:2:1", - "nodeType": "VariableDeclaration", - "scope": 892, - "src": "6774:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 878, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6774:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "6764:18:1" - }, - "returnParameters": { - "id": 881, - "nodeType": "ParameterList", - "parameters": [], - "src": "6797:0:1" - }, - "scope": 8146, - "src": "6752:119:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 908, - "nodeType": "Block", - "src": "6922:77:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c6164647265737329", - "id": 902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6966:19:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - "value": "log(bool,address)" - }, - { - "id": 903, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 894, - "src": "6987:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 904, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 896, - "src": "6991:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_853c4849443241e2249adafa4f69c8bb738b0f17c7a0a9d9997450cd71db4d55", - "typeString": "literal_string \"log(bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 900, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6942:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 901, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "6942:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6942:52:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 899, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "6926:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6926:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 907, - "nodeType": "ExpressionStatement", - "src": "6926:69:1" - } - ] - }, - "id": 909, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "6883:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 897, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 894, - "mutability": "mutable", - "name": "p0", - "nameLocation": "6892:2:1", - "nodeType": "VariableDeclaration", - "scope": 909, - "src": "6887:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 893, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6887:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 896, - "mutability": "mutable", - "name": "p1", - "nameLocation": "6904:2:1", - "nodeType": "VariableDeclaration", - "scope": 909, - "src": "6896:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 895, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6896:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "6886:21:1" - }, - "returnParameters": { - "id": 898, - "nodeType": "ParameterList", - "parameters": [], - "src": "6922:0:1" - }, - "scope": 8146, - "src": "6874:125:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 925, - "nodeType": "Block", - "src": "7053:80:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e7432353629", - "id": 919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7097:22:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8309e8a8b132619bdb25dffa9d595ba1ecb7835540fd62622dad33018c4a0d3e", - "typeString": "literal_string \"log(address,uint256)\"" - }, - "value": "log(address,uint256)" - }, - { - "id": 920, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "7121:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 921, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "7125:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8309e8a8b132619bdb25dffa9d595ba1ecb7835540fd62622dad33018c4a0d3e", - "typeString": "literal_string \"log(address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 917, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7073:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 918, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7073:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7073:55:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 916, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7057:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7057:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 924, - "nodeType": "ExpressionStatement", - "src": "7057:72:1" - } - ] - }, - "id": 926, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7011:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 914, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 911, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7023:2:1", - "nodeType": "VariableDeclaration", - "scope": 926, - "src": "7015:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 910, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7015:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 913, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7035:2:1", - "nodeType": "VariableDeclaration", - "scope": 926, - "src": "7027:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 912, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7027:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7014:24:1" - }, - "returnParameters": { - "id": 915, - "nodeType": "ParameterList", - "parameters": [], - "src": "7053:0:1" - }, - "scope": 8146, - "src": "7002:131:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 942, - "nodeType": "Block", - "src": "7193:79:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e6729", - "id": 936, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7237:21:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - "value": "log(address,string)" - }, - { - "id": 937, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 928, - "src": "7260:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 938, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 930, - "src": "7264:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_759f86bbdd0758679ecefbd32ea620068b2339dddd9e45ee0fa567ee6c81f0ab", - "typeString": "literal_string \"log(address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 934, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7213:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 935, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7213:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7213:54:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 933, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7197:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 940, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7197:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 941, - "nodeType": "ExpressionStatement", - "src": "7197:71:1" - } - ] - }, - "id": 943, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7145:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 931, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 928, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7157:2:1", - "nodeType": "VariableDeclaration", - "scope": 943, - "src": "7149:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7149:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 930, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7175:2:1", - "nodeType": "VariableDeclaration", - "scope": 943, - "src": "7161:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 929, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7161:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7148:30:1" - }, - "returnParameters": { - "id": 932, - "nodeType": "ParameterList", - "parameters": [], - "src": "7193:0:1" - }, - "scope": 8146, - "src": "7136:136:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 959, - "nodeType": "Block", - "src": "7323:77:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c29", - "id": 953, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7367:19:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - "value": "log(address,bool)" - }, - { - "id": 954, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 945, - "src": "7388:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 955, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "7392:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_75b605d31a3bf49c8d814696c7c66216d3a7e81348c450078f032e425592f72b", - "typeString": "literal_string \"log(address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 951, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7343:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7343:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7343:52:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 950, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7327:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7327:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 958, - "nodeType": "ExpressionStatement", - "src": "7327:69:1" - } - ] - }, - "id": 960, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7284:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 948, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 945, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7296:2:1", - "nodeType": "VariableDeclaration", - "scope": 960, - "src": "7288:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7288:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 947, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7305:2:1", - "nodeType": "VariableDeclaration", - "scope": 960, - "src": "7300:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 946, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7300:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7287:21:1" - }, - "returnParameters": { - "id": 949, - "nodeType": "ParameterList", - "parameters": [], - "src": "7323:0:1" - }, - "scope": 8146, - "src": "7275:125:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 976, - "nodeType": "Block", - "src": "7454:80:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c6164647265737329", - "id": 970, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7498:22:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - "value": "log(address,address)" - }, - { - "id": 971, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 962, - "src": "7522:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 972, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 964, - "src": "7526:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_daf0d4aa9a5679e832ac921da67b43572b4326ee2565442d3ed255b48cfb5161", - "typeString": "literal_string \"log(address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 968, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7474:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7474:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7474:55:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 967, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7458:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7458:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 975, - "nodeType": "ExpressionStatement", - "src": "7458:72:1" - } - ] - }, - "id": 977, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7412:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 962, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7424:2:1", - "nodeType": "VariableDeclaration", - "scope": 977, - "src": "7416:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 961, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7416:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 964, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7436:2:1", - "nodeType": "VariableDeclaration", - "scope": 977, - "src": "7428:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7428:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "7415:24:1" - }, - "returnParameters": { - "id": 966, - "nodeType": "ParameterList", - "parameters": [], - "src": "7454:0:1" - }, - "scope": 8146, - "src": "7403:131:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 996, - "nodeType": "Block", - "src": "7600:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e7432353629", - "id": 989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7644:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d1ed7a3c020c4f5939654147940a147a8e4e638fa1e8f5664b5efbd1e1f3c4a6", - "typeString": "literal_string \"log(uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256)" - }, - { - "id": 990, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 979, - "src": "7676:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 991, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 981, - "src": "7680:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 992, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "7684:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d1ed7a3c020c4f5939654147940a147a8e4e638fa1e8f5664b5efbd1e1f3c4a6", - "typeString": "literal_string \"log(uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7620:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7620:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7620:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 986, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7604:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7604:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 995, - "nodeType": "ExpressionStatement", - "src": "7604:84:1" - } - ] - }, - "id": 997, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7546:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 979, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7558:2:1", - "nodeType": "VariableDeclaration", - "scope": 997, - "src": "7550:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 978, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7550:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 981, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7570:2:1", - "nodeType": "VariableDeclaration", - "scope": 997, - "src": "7562:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 980, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7562:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 983, - "mutability": "mutable", - "name": "p2", - "nameLocation": "7582:2:1", - "nodeType": "VariableDeclaration", - "scope": 997, - "src": "7574:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 982, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7574:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "7549:36:1" - }, - "returnParameters": { - "id": 985, - "nodeType": "ParameterList", - "parameters": [], - "src": "7600:0:1" - }, - "scope": 8146, - "src": "7537:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1016, - "nodeType": "Block", - "src": "7764:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e6729", - "id": 1009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7808:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_71d04af2c0d71f035017c73ec9440d8cef06157a84f0febe8ec74eca98138262", - "typeString": "literal_string \"log(uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,string)" - }, - { - "id": 1010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 999, - "src": "7839:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "7843:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1003, - "src": "7847:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_71d04af2c0d71f035017c73ec9440d8cef06157a84f0febe8ec74eca98138262", - "typeString": "literal_string \"log(uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7784:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7784:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7784:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7768:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7768:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1015, - "nodeType": "ExpressionStatement", - "src": "7768:83:1" - } - ] - }, - "id": 1017, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7704:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 999, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7716:2:1", - "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "7708:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7708:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1001, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7728:2:1", - "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "7720:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7720:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1003, - "mutability": "mutable", - "name": "p2", - "nameLocation": "7746:2:1", - "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "7732:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1002, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7732:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "7707:42:1" - }, - "returnParameters": { - "id": 1005, - "nodeType": "ParameterList", - "parameters": [], - "src": "7764:0:1" - }, - "scope": 8146, - "src": "7695:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1036, - "nodeType": "Block", - "src": "7918:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c29", - "id": 1029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7962:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4766da72b632663e3b9911d02d6f30e0cf213f928bdb9f6fd840851875d9fce0", - "typeString": "literal_string \"log(uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,bool)" - }, - { - "id": 1030, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1019, - "src": "7991:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1031, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "7995:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1032, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "7999:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4766da72b632663e3b9911d02d6f30e0cf213f928bdb9f6fd840851875d9fce0", - "typeString": "literal_string \"log(uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1027, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7938:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "7938:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7938:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1026, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "7922:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7922:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1035, - "nodeType": "ExpressionStatement", - "src": "7922:81:1" - } - ] - }, - "id": 1037, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "7867:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1019, - "mutability": "mutable", - "name": "p0", - "nameLocation": "7879:2:1", - "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "7871:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1018, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7871:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1021, - "mutability": "mutable", - "name": "p1", - "nameLocation": "7891:2:1", - "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "7883:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1020, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7883:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1023, - "mutability": "mutable", - "name": "p2", - "nameLocation": "7900:2:1", - "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "7895:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1022, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7895:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "7870:33:1" - }, - "returnParameters": { - "id": 1025, - "nodeType": "ParameterList", - "parameters": [], - "src": "7918:0:1" - }, - "scope": 8146, - "src": "7858:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1056, - "nodeType": "Block", - "src": "8073:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c6164647265737329", - "id": 1049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8117:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c96b331e359852d9a7254105926ce8dfcc42dd4fce56a736cfb981b4c2984c1", - "typeString": "literal_string \"log(uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,address)" - }, - { - "id": 1050, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1039, - "src": "8149:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1051, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1041, - "src": "8153:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1052, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "8157:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5c96b331e359852d9a7254105926ce8dfcc42dd4fce56a736cfb981b4c2984c1", - "typeString": "literal_string \"log(uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1047, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8093:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8093:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8093:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1046, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8077:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8077:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1055, - "nodeType": "ExpressionStatement", - "src": "8077:84:1" - } - ] - }, - "id": 1057, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8019:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1039, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8031:2:1", - "nodeType": "VariableDeclaration", - "scope": 1057, - "src": "8023:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1038, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8023:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1041, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8043:2:1", - "nodeType": "VariableDeclaration", - "scope": 1057, - "src": "8035:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8035:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1043, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8055:2:1", - "nodeType": "VariableDeclaration", - "scope": 1057, - "src": "8047:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8047:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8022:36:1" - }, - "returnParameters": { - "id": 1045, - "nodeType": "ParameterList", - "parameters": [], - "src": "8073:0:1" - }, - "scope": 8146, - "src": "8010:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1076, - "nodeType": "Block", - "src": "8237:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e7432353629", - "id": 1069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8281:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_37aa7d4c835edd965b1201d9c03f13272bd937d8e244ab84a153693e2f2f30c0", - "typeString": "literal_string \"log(uint256,string,uint256)\"" - }, - "value": "log(uint256,string,uint256)" - }, - { - "id": 1070, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1059, - "src": "8312:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1071, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1061, - "src": "8316:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1072, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1063, - "src": "8320:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_37aa7d4c835edd965b1201d9c03f13272bd937d8e244ab84a153693e2f2f30c0", - "typeString": "literal_string \"log(uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8257:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8257:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8257:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1066, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8241:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8241:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1075, - "nodeType": "ExpressionStatement", - "src": "8241:83:1" - } - ] - }, - "id": 1077, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8177:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1059, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8189:2:1", - "nodeType": "VariableDeclaration", - "scope": 1077, - "src": "8181:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1058, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8181:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1061, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8207:2:1", - "nodeType": "VariableDeclaration", - "scope": 1077, - "src": "8193:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1060, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8193:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1063, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8219:2:1", - "nodeType": "VariableDeclaration", - "scope": 1077, - "src": "8211:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1062, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8211:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8180:42:1" - }, - "returnParameters": { - "id": 1065, - "nodeType": "ParameterList", - "parameters": [], - "src": "8237:0:1" - }, - "scope": 8146, - "src": "8168:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1096, - "nodeType": "Block", - "src": "8406:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e6729", - "id": 1089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8450:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b115611f13262589f336fb650c9278bd1879123a635e6a638f94e6cbdb1c1b35", - "typeString": "literal_string \"log(uint256,string,string)\"" - }, - "value": "log(uint256,string,string)" - }, - { - "id": 1090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1079, - "src": "8480:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1081, - "src": "8484:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1083, - "src": "8488:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b115611f13262589f336fb650c9278bd1879123a635e6a638f94e6cbdb1c1b35", - "typeString": "literal_string \"log(uint256,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8426:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8426:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8426:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8410:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8410:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1095, - "nodeType": "ExpressionStatement", - "src": "8410:82:1" - } - ] - }, - "id": 1097, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8340:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1079, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8352:2:1", - "nodeType": "VariableDeclaration", - "scope": 1097, - "src": "8344:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1078, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8344:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1081, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8370:2:1", - "nodeType": "VariableDeclaration", - "scope": 1097, - "src": "8356:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1080, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8356:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1083, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8388:2:1", - "nodeType": "VariableDeclaration", - "scope": 1097, - "src": "8374:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1082, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8374:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8343:48:1" - }, - "returnParameters": { - "id": 1085, - "nodeType": "ParameterList", - "parameters": [], - "src": "8406:0:1" - }, - "scope": 8146, - "src": "8331:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1116, - "nodeType": "Block", - "src": "8565:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c29", - "id": 1109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8609:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4ceda75ad13e534e8b5089564c6a40ae80cd33aac3e77ef1f87a233c1d43067a", - "typeString": "literal_string \"log(uint256,string,bool)\"" - }, - "value": "log(uint256,string,bool)" - }, - { - "id": 1110, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1099, - "src": "8637:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1111, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1101, - "src": "8641:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1112, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1103, - "src": "8645:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4ceda75ad13e534e8b5089564c6a40ae80cd33aac3e77ef1f87a233c1d43067a", - "typeString": "literal_string \"log(uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1107, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8585:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8585:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1106, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8569:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8569:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1115, - "nodeType": "ExpressionStatement", - "src": "8569:80:1" - } - ] - }, - "id": 1117, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8508:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8520:2:1", - "nodeType": "VariableDeclaration", - "scope": 1117, - "src": "8512:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1098, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8512:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8538:2:1", - "nodeType": "VariableDeclaration", - "scope": 1117, - "src": "8524:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8524:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1103, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8547:2:1", - "nodeType": "VariableDeclaration", - "scope": 1117, - "src": "8542:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1102, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8542:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "8511:39:1" - }, - "returnParameters": { - "id": 1105, - "nodeType": "ParameterList", - "parameters": [], - "src": "8565:0:1" - }, - "scope": 8146, - "src": "8499:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1136, - "nodeType": "Block", - "src": "8725:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c6164647265737329", - "id": 1129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8769:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7afac959002f7dcdccdf461a7e6db7810eebd7217c0b7c30905b3c7e89b561f2", - "typeString": "literal_string \"log(uint256,string,address)\"" - }, - "value": "log(uint256,string,address)" - }, - { - "id": 1130, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1119, - "src": "8800:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1131, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1121, - "src": "8804:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1132, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1123, - "src": "8808:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7afac959002f7dcdccdf461a7e6db7810eebd7217c0b7c30905b3c7e89b561f2", - "typeString": "literal_string \"log(uint256,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8745:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8745:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8745:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1126, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8729:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8729:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1135, - "nodeType": "ExpressionStatement", - "src": "8729:83:1" - } - ] - }, - "id": 1137, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8665:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1124, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8677:2:1", - "nodeType": "VariableDeclaration", - "scope": 1137, - "src": "8669:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1118, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8669:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1121, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8695:2:1", - "nodeType": "VariableDeclaration", - "scope": 1137, - "src": "8681:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1120, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "8681:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1123, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8707:2:1", - "nodeType": "VariableDeclaration", - "scope": 1137, - "src": "8699:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1122, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8699:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "8668:42:1" - }, - "returnParameters": { - "id": 1125, - "nodeType": "ParameterList", - "parameters": [], - "src": "8725:0:1" - }, - "scope": 8146, - "src": "8656:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1156, - "nodeType": "Block", - "src": "8879:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e7432353629", - "id": 1149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8923:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_200980147f19b368809aab41084ebebcf1e19d47edd13f2d540a6327cec213d1", - "typeString": "literal_string \"log(uint256,bool,uint256)\"" - }, - "value": "log(uint256,bool,uint256)" - }, - { - "id": 1150, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1139, - "src": "8952:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1151, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1141, - "src": "8956:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1152, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1143, - "src": "8960:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_200980147f19b368809aab41084ebebcf1e19d47edd13f2d540a6327cec213d1", - "typeString": "literal_string \"log(uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1147, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8899:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "8899:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8899:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1146, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "8883:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8883:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1155, - "nodeType": "ExpressionStatement", - "src": "8883:81:1" - } - ] - }, - "id": 1157, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8828:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1139, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8840:2:1", - "nodeType": "VariableDeclaration", - "scope": 1157, - "src": "8832:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1138, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8832:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1141, - "mutability": "mutable", - "name": "p1", - "nameLocation": "8849:2:1", - "nodeType": "VariableDeclaration", - "scope": 1157, - "src": "8844:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1140, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8844:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1143, - "mutability": "mutable", - "name": "p2", - "nameLocation": "8861:2:1", - "nodeType": "VariableDeclaration", - "scope": 1157, - "src": "8853:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1142, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8853:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "8831:33:1" - }, - "returnParameters": { - "id": 1145, - "nodeType": "ParameterList", - "parameters": [], - "src": "8879:0:1" - }, - "scope": 8146, - "src": "8819:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1176, - "nodeType": "Block", - "src": "9037:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e6729", - "id": 1169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9081:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_85775021582c57b14e9e0b33e0f693439478099486817fe4214a503f559f37df", - "typeString": "literal_string \"log(uint256,bool,string)\"" - }, - "value": "log(uint256,bool,string)" - }, - { - "id": 1170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "9109:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1171, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1161, - "src": "9113:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1172, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1163, - "src": "9117:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_85775021582c57b14e9e0b33e0f693439478099486817fe4214a503f559f37df", - "typeString": "literal_string \"log(uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9057:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9057:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9057:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9041:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9041:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1175, - "nodeType": "ExpressionStatement", - "src": "9041:80:1" - } - ] - }, - "id": 1177, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "8980:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1159, - "mutability": "mutable", - "name": "p0", - "nameLocation": "8992:2:1", - "nodeType": "VariableDeclaration", - "scope": 1177, - "src": "8984:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1158, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8984:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1161, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9001:2:1", - "nodeType": "VariableDeclaration", - "scope": 1177, - "src": "8996:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "8996:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1163, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9019:2:1", - "nodeType": "VariableDeclaration", - "scope": 1177, - "src": "9005:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1162, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9005:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "8983:39:1" - }, - "returnParameters": { - "id": 1165, - "nodeType": "ParameterList", - "parameters": [], - "src": "9037:0:1" - }, - "scope": 8146, - "src": "8971:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1196, - "nodeType": "Block", - "src": "9185:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c29", - "id": 1189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9229:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_207186500d54a80dae0e8fae760b583cb518c2c49967db59c8f7e5596879c0b6", - "typeString": "literal_string \"log(uint256,bool,bool)\"" - }, - "value": "log(uint256,bool,bool)" - }, - { - "id": 1190, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1179, - "src": "9255:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1191, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1181, - "src": "9259:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1192, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1183, - "src": "9263:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_207186500d54a80dae0e8fae760b583cb518c2c49967db59c8f7e5596879c0b6", - "typeString": "literal_string \"log(uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1187, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9205:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9205:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9205:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1186, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9189:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9189:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1195, - "nodeType": "ExpressionStatement", - "src": "9189:78:1" - } - ] - }, - "id": 1197, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9137:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9149:2:1", - "nodeType": "VariableDeclaration", - "scope": 1197, - "src": "9141:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9141:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9158:2:1", - "nodeType": "VariableDeclaration", - "scope": 1197, - "src": "9153:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1180, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9153:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9167:2:1", - "nodeType": "VariableDeclaration", - "scope": 1197, - "src": "9162:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1182, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9162:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9140:30:1" - }, - "returnParameters": { - "id": 1185, - "nodeType": "ParameterList", - "parameters": [], - "src": "9185:0:1" - }, - "scope": 8146, - "src": "9128:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1216, - "nodeType": "Block", - "src": "9334:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c6164647265737329", - "id": 1209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9378:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35085f7b74fe0b67ab2d779d94b2a1efc14ce8d637e06ffda83ca305116f3c99", - "typeString": "literal_string \"log(uint256,bool,address)\"" - }, - "value": "log(uint256,bool,address)" - }, - { - "id": 1210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1199, - "src": "9407:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1211, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1201, - "src": "9411:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1212, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1203, - "src": "9415:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_35085f7b74fe0b67ab2d779d94b2a1efc14ce8d637e06ffda83ca305116f3c99", - "typeString": "literal_string \"log(uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9354:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9354:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9354:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9338:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9338:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1215, - "nodeType": "ExpressionStatement", - "src": "9338:81:1" - } - ] - }, - "id": 1217, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9283:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1199, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9295:2:1", - "nodeType": "VariableDeclaration", - "scope": 1217, - "src": "9287:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1198, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9287:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1201, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9304:2:1", - "nodeType": "VariableDeclaration", - "scope": 1217, - "src": "9299:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1200, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9299:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1203, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9316:2:1", - "nodeType": "VariableDeclaration", - "scope": 1217, - "src": "9308:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1202, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9308:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9286:33:1" - }, - "returnParameters": { - "id": 1205, - "nodeType": "ParameterList", - "parameters": [], - "src": "9334:0:1" - }, - "scope": 8146, - "src": "9274:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1236, - "nodeType": "Block", - "src": "9489:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e7432353629", - "id": 1229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9533:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a9b5ed5e0cc67953f5b0a58c12e9694944af5a126321ab88870dec3bc05a9ae", - "typeString": "literal_string \"log(uint256,address,uint256)\"" - }, - "value": "log(uint256,address,uint256)" - }, - { - "id": 1230, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1219, - "src": "9565:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1231, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "9569:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1232, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1223, - "src": "9573:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5a9b5ed5e0cc67953f5b0a58c12e9694944af5a126321ab88870dec3bc05a9ae", - "typeString": "literal_string \"log(uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1227, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9509:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9509:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9509:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1226, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9493:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9493:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1235, - "nodeType": "ExpressionStatement", - "src": "9493:84:1" - } - ] - }, - "id": 1237, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9435:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1219, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9447:2:1", - "nodeType": "VariableDeclaration", - "scope": 1237, - "src": "9439:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1218, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9439:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1221, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9459:2:1", - "nodeType": "VariableDeclaration", - "scope": 1237, - "src": "9451:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9451:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1223, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9471:2:1", - "nodeType": "VariableDeclaration", - "scope": 1237, - "src": "9463:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1222, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9463:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "9438:36:1" - }, - "returnParameters": { - "id": 1225, - "nodeType": "ParameterList", - "parameters": [], - "src": "9489:0:1" - }, - "scope": 8146, - "src": "9426:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1256, - "nodeType": "Block", - "src": "9653:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e6729", - "id": 1249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9697:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63cb41f9a63efe5dfacd3a2836bdef664d136fd6113f8e931c31a919af38935c", - "typeString": "literal_string \"log(uint256,address,string)\"" - }, - "value": "log(uint256,address,string)" - }, - { - "id": 1250, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1239, - "src": "9728:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1251, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1241, - "src": "9732:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1252, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1243, - "src": "9736:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_63cb41f9a63efe5dfacd3a2836bdef664d136fd6113f8e931c31a919af38935c", - "typeString": "literal_string \"log(uint256,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9673:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9673:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9673:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1246, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9657:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9657:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1255, - "nodeType": "ExpressionStatement", - "src": "9657:83:1" - } - ] - }, - "id": 1257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9593:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1239, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9605:2:1", - "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "9597:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1238, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9597:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1241, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9617:2:1", - "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "9609:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9609:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1243, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9635:2:1", - "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "9621:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1242, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9621:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9596:42:1" - }, - "returnParameters": { - "id": 1245, - "nodeType": "ParameterList", - "parameters": [], - "src": "9653:0:1" - }, - "scope": 8146, - "src": "9584:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1276, - "nodeType": "Block", - "src": "9807:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c29", - "id": 1269, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9851:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b6ec042c5598a780a5bfae5e9ea2c50c251da4c38db3a134b8857be618f0c5c", - "typeString": "literal_string \"log(uint256,address,bool)\"" - }, - "value": "log(uint256,address,bool)" - }, - { - "id": 1270, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1259, - "src": "9880:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1271, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1261, - "src": "9884:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1272, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1263, - "src": "9888:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9b6ec042c5598a780a5bfae5e9ea2c50c251da4c38db3a134b8857be618f0c5c", - "typeString": "literal_string \"log(uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1267, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9827:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1268, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9827:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9827:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1266, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9811:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9811:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1275, - "nodeType": "ExpressionStatement", - "src": "9811:81:1" - } - ] - }, - "id": 1277, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9756:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1264, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9768:2:1", - "nodeType": "VariableDeclaration", - "scope": 1277, - "src": "9760:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1258, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9760:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1261, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9780:2:1", - "nodeType": "VariableDeclaration", - "scope": 1277, - "src": "9772:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1260, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9772:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1263, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9789:2:1", - "nodeType": "VariableDeclaration", - "scope": 1277, - "src": "9784:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9784:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "9759:33:1" - }, - "returnParameters": { - "id": 1265, - "nodeType": "ParameterList", - "parameters": [], - "src": "9807:0:1" - }, - "scope": 8146, - "src": "9747:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1296, - "nodeType": "Block", - "src": "9962:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c6164647265737329", - "id": 1289, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10006:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bcfd9be04f8d6b8ee1ae73075f8fe8db10e4b254a56103daa450197029a55fda", - "typeString": "literal_string \"log(uint256,address,address)\"" - }, - "value": "log(uint256,address,address)" - }, - { - "id": 1290, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1279, - "src": "10038:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1291, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1281, - "src": "10042:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1292, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1283, - "src": "10046:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bcfd9be04f8d6b8ee1ae73075f8fe8db10e4b254a56103daa450197029a55fda", - "typeString": "literal_string \"log(uint256,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1287, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9982:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1288, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "9982:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9982:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1286, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "9966:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9966:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1295, - "nodeType": "ExpressionStatement", - "src": "9966:84:1" - } - ] - }, - "id": 1297, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "9908:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1279, - "mutability": "mutable", - "name": "p0", - "nameLocation": "9920:2:1", - "nodeType": "VariableDeclaration", - "scope": 1297, - "src": "9912:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1278, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9912:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1281, - "mutability": "mutable", - "name": "p1", - "nameLocation": "9932:2:1", - "nodeType": "VariableDeclaration", - "scope": 1297, - "src": "9924:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1280, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9924:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1283, - "mutability": "mutable", - "name": "p2", - "nameLocation": "9944:2:1", - "nodeType": "VariableDeclaration", - "scope": 1297, - "src": "9936:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1282, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9936:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "9911:36:1" - }, - "returnParameters": { - "id": 1285, - "nodeType": "ParameterList", - "parameters": [], - "src": "9962:0:1" - }, - "scope": 8146, - "src": "9899:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1316, - "nodeType": "Block", - "src": "10126:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e7432353629", - "id": 1309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10170:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca47c4ebe9fba29faff9e6b57fbe69e17216e7526486c463d61c06e8992beece", - "typeString": "literal_string \"log(string,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256)" - }, - { - "id": 1310, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1299, - "src": "10201:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1311, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1301, - "src": "10205:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1312, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1303, - "src": "10209:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca47c4ebe9fba29faff9e6b57fbe69e17216e7526486c463d61c06e8992beece", - "typeString": "literal_string \"log(string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1307, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10146:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10146:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10146:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1306, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10130:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10130:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1315, - "nodeType": "ExpressionStatement", - "src": "10130:83:1" - } - ] - }, - "id": 1317, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10066:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1299, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10084:2:1", - "nodeType": "VariableDeclaration", - "scope": 1317, - "src": "10070:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1298, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10070:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1301, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10096:2:1", - "nodeType": "VariableDeclaration", - "scope": 1317, - "src": "10088:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10088:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1303, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10108:2:1", - "nodeType": "VariableDeclaration", - "scope": 1317, - "src": "10100:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1302, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10100:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10069:42:1" - }, - "returnParameters": { - "id": 1305, - "nodeType": "ParameterList", - "parameters": [], - "src": "10126:0:1" - }, - "scope": 8146, - "src": "10057:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1336, - "nodeType": "Block", - "src": "10295:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e6729", - "id": 1329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10339:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5970e089c65c5d431d60f26e6cf1ec3984c873a96b59f1aed9fc44cdf9078bcf", - "typeString": "literal_string \"log(string,uint256,string)\"" - }, - "value": "log(string,uint256,string)" - }, - { - "id": 1330, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "10369:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1331, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1321, - "src": "10373:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1332, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1323, - "src": "10377:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5970e089c65c5d431d60f26e6cf1ec3984c873a96b59f1aed9fc44cdf9078bcf", - "typeString": "literal_string \"log(string,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1327, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10315:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10315:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10315:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1326, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10299:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10299:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1335, - "nodeType": "ExpressionStatement", - "src": "10299:82:1" - } - ] - }, - "id": 1337, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10229:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10247:2:1", - "nodeType": "VariableDeclaration", - "scope": 1337, - "src": "10233:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1318, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10233:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10259:2:1", - "nodeType": "VariableDeclaration", - "scope": 1337, - "src": "10251:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1320, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10251:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1323, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10277:2:1", - "nodeType": "VariableDeclaration", - "scope": 1337, - "src": "10263:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1322, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10263:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10232:48:1" - }, - "returnParameters": { - "id": 1325, - "nodeType": "ParameterList", - "parameters": [], - "src": "10295:0:1" - }, - "scope": 8146, - "src": "10220:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1356, - "nodeType": "Block", - "src": "10454:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c29", - "id": 1349, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10498:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ca7733b1b473f13a94152fab2b969755f42d925703a46c93a1825aad614f145e", - "typeString": "literal_string \"log(string,uint256,bool)\"" - }, - "value": "log(string,uint256,bool)" - }, - { - "id": 1350, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1339, - "src": "10526:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1351, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1341, - "src": "10530:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1352, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1343, - "src": "10534:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ca7733b1b473f13a94152fab2b969755f42d925703a46c93a1825aad614f145e", - "typeString": "literal_string \"log(string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1347, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10474:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1348, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10474:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1353, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10474:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1346, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10458:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10458:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1355, - "nodeType": "ExpressionStatement", - "src": "10458:80:1" - } - ] - }, - "id": 1357, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10397:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1344, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1339, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10415:2:1", - "nodeType": "VariableDeclaration", - "scope": 1357, - "src": "10401:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1338, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10401:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1341, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10427:2:1", - "nodeType": "VariableDeclaration", - "scope": 1357, - "src": "10419:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1340, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10419:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1343, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10436:2:1", - "nodeType": "VariableDeclaration", - "scope": 1357, - "src": "10431:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1342, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10431:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "10400:39:1" - }, - "returnParameters": { - "id": 1345, - "nodeType": "ParameterList", - "parameters": [], - "src": "10454:0:1" - }, - "scope": 8146, - "src": "10388:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1376, - "nodeType": "Block", - "src": "10614:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c6164647265737329", - "id": 1369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10658:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f27335", - "typeString": "literal_string \"log(string,uint256,address)\"" - }, - "value": "log(string,uint256,address)" - }, - { - "id": 1370, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1359, - "src": "10689:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1371, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1361, - "src": "10693:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1372, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1363, - "src": "10697:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f27335", - "typeString": "literal_string \"log(string,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1367, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10634:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1368, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10634:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1373, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10634:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1366, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10618:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1374, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10618:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1375, - "nodeType": "ExpressionStatement", - "src": "10618:83:1" - } - ] - }, - "id": 1377, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10554:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1364, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1359, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10572:2:1", - "nodeType": "VariableDeclaration", - "scope": 1377, - "src": "10558:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1358, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10558:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1361, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10584:2:1", - "nodeType": "VariableDeclaration", - "scope": 1377, - "src": "10576:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1360, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10576:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1363, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10596:2:1", - "nodeType": "VariableDeclaration", - "scope": 1377, - "src": "10588:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1362, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10588:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "10557:42:1" - }, - "returnParameters": { - "id": 1365, - "nodeType": "ParameterList", - "parameters": [], - "src": "10614:0:1" - }, - "scope": 8146, - "src": "10545:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1396, - "nodeType": "Block", - "src": "10783:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e7432353629", - "id": 1389, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10827:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5821efa12787fd2b80909e807f1dcc73717b87128d89e827e5b876178f2fdbd0", - "typeString": "literal_string \"log(string,string,uint256)\"" - }, - "value": "log(string,string,uint256)" - }, - { - "id": 1390, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1379, - "src": "10857:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1391, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1381, - "src": "10861:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1392, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1383, - "src": "10865:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5821efa12787fd2b80909e807f1dcc73717b87128d89e827e5b876178f2fdbd0", - "typeString": "literal_string \"log(string,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1387, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10803:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10803:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10803:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1386, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10787:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10787:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1395, - "nodeType": "ExpressionStatement", - "src": "10787:82:1" - } - ] - }, - "id": 1397, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10717:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1384, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1379, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10735:2:1", - "nodeType": "VariableDeclaration", - "scope": 1397, - "src": "10721:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1378, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10721:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1381, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10753:2:1", - "nodeType": "VariableDeclaration", - "scope": 1397, - "src": "10739:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1380, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10739:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1383, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10765:2:1", - "nodeType": "VariableDeclaration", - "scope": 1397, - "src": "10757:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1382, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10757:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "10720:48:1" - }, - "returnParameters": { - "id": 1385, - "nodeType": "ParameterList", - "parameters": [], - "src": "10783:0:1" - }, - "scope": 8146, - "src": "10708:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1416, - "nodeType": "Block", - "src": "10957:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e6729", - "id": 1409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11001:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - "value": "log(string,string,string)" - }, - { - "id": 1410, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1399, - "src": "11030:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1411, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "11034:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1412, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "11038:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ced7cef693312206c21f0e92e3b54e2e16bf33db5eec350c78866822c665e1f", - "typeString": "literal_string \"log(string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1407, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10977:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "10977:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10977:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1406, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "10961:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10961:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1415, - "nodeType": "ExpressionStatement", - "src": "10961:81:1" - } - ] - }, - "id": 1417, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "10885:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1404, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "10903:2:1", - "nodeType": "VariableDeclaration", - "scope": 1417, - "src": "10889:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1398, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10889:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1401, - "mutability": "mutable", - "name": "p1", - "nameLocation": "10921:2:1", - "nodeType": "VariableDeclaration", - "scope": 1417, - "src": "10907:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1400, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10907:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1403, - "mutability": "mutable", - "name": "p2", - "nameLocation": "10939:2:1", - "nodeType": "VariableDeclaration", - "scope": 1417, - "src": "10925:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "10925:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "10888:54:1" - }, - "returnParameters": { - "id": 1405, - "nodeType": "ParameterList", - "parameters": [], - "src": "10957:0:1" - }, - "scope": 8146, - "src": "10876:170:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1436, - "nodeType": "Block", - "src": "11121:87:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c29", - "id": 1429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11165:25:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - "value": "log(string,string,bool)" - }, - { - "id": 1430, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1419, - "src": "11192:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1431, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1421, - "src": "11196:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1432, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1423, - "src": "11200:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b0e0f9b5ad960213f9ab262d120ce4ec3edffc58d1ad51b99628a777e82d8acb", - "typeString": "literal_string \"log(string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1427, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11141:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11141:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11141:62:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1426, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11125:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1434, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11125:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1435, - "nodeType": "ExpressionStatement", - "src": "11125:79:1" - } - ] - }, - "id": 1437, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11058:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1424, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1419, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11076:2:1", - "nodeType": "VariableDeclaration", - "scope": 1437, - "src": "11062:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1418, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11062:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1421, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11094:2:1", - "nodeType": "VariableDeclaration", - "scope": 1437, - "src": "11080:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11080:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1423, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11103:2:1", - "nodeType": "VariableDeclaration", - "scope": 1437, - "src": "11098:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1422, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11098:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11061:45:1" - }, - "returnParameters": { - "id": 1425, - "nodeType": "ParameterList", - "parameters": [], - "src": "11121:0:1" - }, - "scope": 8146, - "src": "11049:159:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1456, - "nodeType": "Block", - "src": "11286:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c6164647265737329", - "id": 1449, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11330:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - "value": "log(string,string,address)" - }, - { - "id": 1450, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1439, - "src": "11360:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1451, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1441, - "src": "11364:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1452, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "11368:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_95ed0195ee22a092ad93d352c33e8dc78b91f0c01eab9cff270af55b2ae65768", - "typeString": "literal_string \"log(string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1447, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11306:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1448, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11306:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11306:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1446, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11290:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11290:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1455, - "nodeType": "ExpressionStatement", - "src": "11290:82:1" - } - ] - }, - "id": 1457, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11220:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1439, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11238:2:1", - "nodeType": "VariableDeclaration", - "scope": 1457, - "src": "11224:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1438, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11224:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1441, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11256:2:1", - "nodeType": "VariableDeclaration", - "scope": 1457, - "src": "11242:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1440, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11242:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1443, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11268:2:1", - "nodeType": "VariableDeclaration", - "scope": 1457, - "src": "11260:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11260:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11223:48:1" - }, - "returnParameters": { - "id": 1445, - "nodeType": "ParameterList", - "parameters": [], - "src": "11286:0:1" - }, - "scope": 8146, - "src": "11211:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1476, - "nodeType": "Block", - "src": "11445:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e7432353629", - "id": 1469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11489:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c95958d6bc6e492868f9bea34fa0d5d3bf60736d44598880e7a9a99746b5d26a", - "typeString": "literal_string \"log(string,bool,uint256)\"" - }, - "value": "log(string,bool,uint256)" - }, - { - "id": 1470, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1459, - "src": "11517:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1471, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1461, - "src": "11521:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1472, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1463, - "src": "11525:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c95958d6bc6e492868f9bea34fa0d5d3bf60736d44598880e7a9a99746b5d26a", - "typeString": "literal_string \"log(string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11465:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11465:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11465:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1466, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11449:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11449:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1475, - "nodeType": "ExpressionStatement", - "src": "11449:80:1" - } - ] - }, - "id": 1477, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11388:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1459, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11406:2:1", - "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "11392:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11392:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1461, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11415:2:1", - "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "11410:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1460, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11410:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1463, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11427:2:1", - "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "11419:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1462, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11419:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "11391:39:1" - }, - "returnParameters": { - "id": 1465, - "nodeType": "ParameterList", - "parameters": [], - "src": "11445:0:1" - }, - "scope": 8146, - "src": "11379:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1496, - "nodeType": "Block", - "src": "11608:87:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e6729", - "id": 1489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11652:25:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - "value": "log(string,bool,string)" - }, - { - "id": 1490, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1479, - "src": "11679:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1491, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "11683:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1492, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1483, - "src": "11687:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e298f47d872a89293d316b9b936000a26f83eda2ba3171b2f9f16e2bf618c3e7", - "typeString": "literal_string \"log(string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1487, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11628:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11628:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11628:62:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1486, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11612:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11612:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1495, - "nodeType": "ExpressionStatement", - "src": "11612:79:1" - } - ] - }, - "id": 1497, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11545:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1484, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1479, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11563:2:1", - "nodeType": "VariableDeclaration", - "scope": 1497, - "src": "11549:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1478, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11549:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1481, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11572:2:1", - "nodeType": "VariableDeclaration", - "scope": 1497, - "src": "11567:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1480, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11567:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1483, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11590:2:1", - "nodeType": "VariableDeclaration", - "scope": 1497, - "src": "11576:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1482, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11576:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11548:45:1" - }, - "returnParameters": { - "id": 1485, - "nodeType": "ParameterList", - "parameters": [], - "src": "11608:0:1" - }, - "scope": 8146, - "src": "11536:159:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1516, - "nodeType": "Block", - "src": "11761:85:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c29", - "id": 1509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11805:23:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - "value": "log(string,bool,bool)" - }, - { - "id": 1510, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1499, - "src": "11830:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1511, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "11834:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1512, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1503, - "src": "11838:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_850b7ad637241a873b861925ccffb71aaffb030b1df8850f324c9804bc7b443d", - "typeString": "literal_string \"log(string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1507, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11781:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1508, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11781:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1513, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11781:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1506, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11765:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11765:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1515, - "nodeType": "ExpressionStatement", - "src": "11765:77:1" - } - ] - }, - "id": 1517, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11707:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1504, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1499, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11725:2:1", - "nodeType": "VariableDeclaration", - "scope": 1517, - "src": "11711:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1498, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11711:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1501, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11734:2:1", - "nodeType": "VariableDeclaration", - "scope": 1517, - "src": "11729:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1500, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11729:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1503, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11743:2:1", - "nodeType": "VariableDeclaration", - "scope": 1517, - "src": "11738:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1502, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11738:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "11710:36:1" - }, - "returnParameters": { - "id": 1505, - "nodeType": "ParameterList", - "parameters": [], - "src": "11761:0:1" - }, - "scope": 8146, - "src": "11698:148:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1536, - "nodeType": "Block", - "src": "11915:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c6164647265737329", - "id": 1529, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11959:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - "value": "log(string,bool,address)" - }, - { - "id": 1530, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1519, - "src": "11987:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1531, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1521, - "src": "11991:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1532, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1523, - "src": "11995:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_932bbb385d479707ff387e3bb2d8968a7b4115e938510c531aa15b50507fc27f", - "typeString": "literal_string \"log(string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1527, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11935:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1528, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "11935:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11935:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1526, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "11919:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1534, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11919:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1535, - "nodeType": "ExpressionStatement", - "src": "11919:80:1" - } - ] - }, - "id": 1537, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "11858:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1524, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1519, - "mutability": "mutable", - "name": "p0", - "nameLocation": "11876:2:1", - "nodeType": "VariableDeclaration", - "scope": 1537, - "src": "11862:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1518, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11862:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1521, - "mutability": "mutable", - "name": "p1", - "nameLocation": "11885:2:1", - "nodeType": "VariableDeclaration", - "scope": 1537, - "src": "11880:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1520, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "11880:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1523, - "mutability": "mutable", - "name": "p2", - "nameLocation": "11897:2:1", - "nodeType": "VariableDeclaration", - "scope": 1537, - "src": "11889:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1522, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11889:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "11861:39:1" - }, - "returnParameters": { - "id": 1525, - "nodeType": "ParameterList", - "parameters": [], - "src": "11915:0:1" - }, - "scope": 8146, - "src": "11849:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1556, - "nodeType": "Block", - "src": "12075:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e7432353629", - "id": 1549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12119:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d26b92533630e908cb95a1b2ed09291c6aa98f8da7094a2325f8c86cd45e5e4", - "typeString": "literal_string \"log(string,address,uint256)\"" - }, - "value": "log(string,address,uint256)" - }, - { - "id": 1550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1539, - "src": "12150:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1541, - "src": "12154:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "12158:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d26b92533630e908cb95a1b2ed09291c6aa98f8da7094a2325f8c86cd45e5e4", - "typeString": "literal_string \"log(string,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12095:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12095:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12095:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12079:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12079:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1555, - "nodeType": "ExpressionStatement", - "src": "12079:83:1" - } - ] - }, - "id": 1557, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12015:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1539, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12033:2:1", - "nodeType": "VariableDeclaration", - "scope": 1557, - "src": "12019:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1538, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12019:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1541, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12045:2:1", - "nodeType": "VariableDeclaration", - "scope": 1557, - "src": "12037:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1540, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12037:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1543, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12057:2:1", - "nodeType": "VariableDeclaration", - "scope": 1557, - "src": "12049:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1542, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12049:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12018:42:1" - }, - "returnParameters": { - "id": 1545, - "nodeType": "ParameterList", - "parameters": [], - "src": "12075:0:1" - }, - "scope": 8146, - "src": "12006:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1576, - "nodeType": "Block", - "src": "12244:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e6729", - "id": 1569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12288:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - "value": "log(string,address,string)" - }, - { - "id": 1570, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1559, - "src": "12318:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1571, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "12322:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1572, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1563, - "src": "12326:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0e9ad4f87059a51cce5555e129ca819f7e5d52e9c65a4e175882207ee47d634", - "typeString": "literal_string \"log(string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1567, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12264:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1568, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12264:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1573, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12264:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1566, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12248:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12248:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1575, - "nodeType": "ExpressionStatement", - "src": "12248:82:1" - } - ] - }, - "id": 1577, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12178:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1564, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12196:2:1", - "nodeType": "VariableDeclaration", - "scope": 1577, - "src": "12182:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12182:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1561, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12208:2:1", - "nodeType": "VariableDeclaration", - "scope": 1577, - "src": "12200:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1560, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12200:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1563, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12226:2:1", - "nodeType": "VariableDeclaration", - "scope": 1577, - "src": "12212:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1562, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12212:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12181:48:1" - }, - "returnParameters": { - "id": 1565, - "nodeType": "ParameterList", - "parameters": [], - "src": "12244:0:1" - }, - "scope": 8146, - "src": "12169:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1596, - "nodeType": "Block", - "src": "12403:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c29", - "id": 1589, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12447:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - "value": "log(string,address,bool)" - }, - { - "id": 1590, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "12475:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1591, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1581, - "src": "12479:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1592, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1583, - "src": "12483:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c91d5ed4480e0b3323f998bcee9594aa98173c7324b015a4713a7c8429afd0b8", - "typeString": "literal_string \"log(string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1587, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12423:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1588, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12423:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12423:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1586, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12407:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12407:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1595, - "nodeType": "ExpressionStatement", - "src": "12407:80:1" - } - ] - }, - "id": 1597, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12346:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1584, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1579, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12364:2:1", - "nodeType": "VariableDeclaration", - "scope": 1597, - "src": "12350:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1578, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12350:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1581, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12376:2:1", - "nodeType": "VariableDeclaration", - "scope": 1597, - "src": "12368:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1580, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12368:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1583, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12385:2:1", - "nodeType": "VariableDeclaration", - "scope": 1597, - "src": "12380:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1582, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12380:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12349:39:1" - }, - "returnParameters": { - "id": 1585, - "nodeType": "ParameterList", - "parameters": [], - "src": "12403:0:1" - }, - "scope": 8146, - "src": "12337:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1616, - "nodeType": "Block", - "src": "12563:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c6164647265737329", - "id": 1609, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12607:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - "value": "log(string,address,address)" - }, - { - "id": 1610, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1599, - "src": "12638:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1611, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1601, - "src": "12642:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1612, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1603, - "src": "12646:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fcec75e0902c9d61eded5d9f2eed16d5b0f2cd255fe6fa77733f59e1063823e8", - "typeString": "literal_string \"log(string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1607, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12583:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1608, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12583:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12583:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1606, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12567:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12567:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1615, - "nodeType": "ExpressionStatement", - "src": "12567:83:1" - } - ] - }, - "id": 1617, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12503:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1604, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1599, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12521:2:1", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "12507:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1598, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12507:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1601, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12533:2:1", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "12525:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1600, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12525:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1603, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12545:2:1", - "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "12537:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1602, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12537:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "12506:42:1" - }, - "returnParameters": { - "id": 1605, - "nodeType": "ParameterList", - "parameters": [], - "src": "12563:0:1" - }, - "scope": 8146, - "src": "12494:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1636, - "nodeType": "Block", - "src": "12717:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e7432353629", - "id": 1629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12761:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_371033677da72158a60d6dc6ec9fa4683ad37ad854670ba3fcf814603cf8bb28", - "typeString": "literal_string \"log(bool,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256)" - }, - { - "id": 1630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1619, - "src": "12790:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "12794:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "12798:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_371033677da72158a60d6dc6ec9fa4683ad37ad854670ba3fcf814603cf8bb28", - "typeString": "literal_string \"log(bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12737:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12737:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12737:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12721:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12721:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1635, - "nodeType": "ExpressionStatement", - "src": "12721:81:1" - } - ] - }, - "id": 1637, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12666:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1619, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12675:2:1", - "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "12670:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1618, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12670:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1621, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12687:2:1", - "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "12679:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1620, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12679:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1623, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12699:2:1", - "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "12691:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1622, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12691:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "12669:33:1" - }, - "returnParameters": { - "id": 1625, - "nodeType": "ParameterList", - "parameters": [], - "src": "12717:0:1" - }, - "scope": 8146, - "src": "12657:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1656, - "nodeType": "Block", - "src": "12875:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e6729", - "id": 1649, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12919:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3fc3970359ec5bcd4a409af812c658e77b7983043c9e7299db566fbd8131447", - "typeString": "literal_string \"log(bool,uint256,string)\"" - }, - "value": "log(bool,uint256,string)" - }, - { - "id": 1650, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1639, - "src": "12947:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1651, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1641, - "src": "12951:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1652, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1643, - "src": "12955:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3fc3970359ec5bcd4a409af812c658e77b7983043c9e7299db566fbd8131447", - "typeString": "literal_string \"log(bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1647, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "12895:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1648, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "12895:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1653, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12895:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1646, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "12879:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12879:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1655, - "nodeType": "ExpressionStatement", - "src": "12879:80:1" - } - ] - }, - "id": 1657, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12818:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1639, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12827:2:1", - "nodeType": "VariableDeclaration", - "scope": 1657, - "src": "12822:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1638, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12822:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1641, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12839:2:1", - "nodeType": "VariableDeclaration", - "scope": 1657, - "src": "12831:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1640, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12831:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1643, - "mutability": "mutable", - "name": "p2", - "nameLocation": "12857:2:1", - "nodeType": "VariableDeclaration", - "scope": 1657, - "src": "12843:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1642, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "12843:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "12821:39:1" - }, - "returnParameters": { - "id": 1645, - "nodeType": "ParameterList", - "parameters": [], - "src": "12875:0:1" - }, - "scope": 8146, - "src": "12809:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1676, - "nodeType": "Block", - "src": "13023:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c29", - "id": 1669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13067:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8defba9dac8a3ed4ad0f711b733171fd223b5d127b3485540d69bec05995a26", - "typeString": "literal_string \"log(bool,uint256,bool)\"" - }, - "value": "log(bool,uint256,bool)" - }, - { - "id": 1670, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "13093:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1671, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1661, - "src": "13097:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1672, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1663, - "src": "13101:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e8defba9dac8a3ed4ad0f711b733171fd223b5d127b3485540d69bec05995a26", - "typeString": "literal_string \"log(bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1667, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13043:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1668, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13043:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13043:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1666, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13027:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13027:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1675, - "nodeType": "ExpressionStatement", - "src": "13027:78:1" - } - ] - }, - "id": 1677, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "12975:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1664, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1659, - "mutability": "mutable", - "name": "p0", - "nameLocation": "12984:2:1", - "nodeType": "VariableDeclaration", - "scope": 1677, - "src": "12979:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1658, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12979:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1661, - "mutability": "mutable", - "name": "p1", - "nameLocation": "12996:2:1", - "nodeType": "VariableDeclaration", - "scope": 1677, - "src": "12988:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1660, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12988:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1663, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13005:2:1", - "nodeType": "VariableDeclaration", - "scope": 1677, - "src": "13000:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1662, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13000:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "12978:30:1" - }, - "returnParameters": { - "id": 1665, - "nodeType": "ParameterList", - "parameters": [], - "src": "13023:0:1" - }, - "scope": 8146, - "src": "12966:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1696, - "nodeType": "Block", - "src": "13172:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c6164647265737329", - "id": 1689, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13216:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_088ef9d2f4d01d13401423c19b7f189200a7ad3f567d9e20f37299f94f92f574", - "typeString": "literal_string \"log(bool,uint256,address)\"" - }, - "value": "log(bool,uint256,address)" - }, - { - "id": 1690, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1679, - "src": "13245:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1691, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1681, - "src": "13249:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1692, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1683, - "src": "13253:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_088ef9d2f4d01d13401423c19b7f189200a7ad3f567d9e20f37299f94f92f574", - "typeString": "literal_string \"log(bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1687, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13192:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1688, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13192:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13192:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1686, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13176:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1694, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13176:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1695, - "nodeType": "ExpressionStatement", - "src": "13176:81:1" - } - ] - }, - "id": 1697, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13121:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1684, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1679, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13130:2:1", - "nodeType": "VariableDeclaration", - "scope": 1697, - "src": "13125:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13125:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1681, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13142:2:1", - "nodeType": "VariableDeclaration", - "scope": 1697, - "src": "13134:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1680, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13134:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1683, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13154:2:1", - "nodeType": "VariableDeclaration", - "scope": 1697, - "src": "13146:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1682, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13146:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13124:33:1" - }, - "returnParameters": { - "id": 1685, - "nodeType": "ParameterList", - "parameters": [], - "src": "13172:0:1" - }, - "scope": 8146, - "src": "13112:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1716, - "nodeType": "Block", - "src": "13330:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e7432353629", - "id": 1709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13374:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1093ee11e671928331708700100b356c86a8494f33b170ddcffd95462a0adf64", - "typeString": "literal_string \"log(bool,string,uint256)\"" - }, - "value": "log(bool,string,uint256)" - }, - { - "id": 1710, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1699, - "src": "13402:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1711, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1701, - "src": "13406:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1712, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "13410:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1093ee11e671928331708700100b356c86a8494f33b170ddcffd95462a0adf64", - "typeString": "literal_string \"log(bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1707, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13350:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13350:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13350:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1706, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13334:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13334:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1715, - "nodeType": "ExpressionStatement", - "src": "13334:80:1" - } - ] - }, - "id": 1717, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13273:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1704, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1699, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13282:2:1", - "nodeType": "VariableDeclaration", - "scope": 1717, - "src": "13277:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1698, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13277:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1701, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13300:2:1", - "nodeType": "VariableDeclaration", - "scope": 1717, - "src": "13286:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1700, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13286:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1703, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13312:2:1", - "nodeType": "VariableDeclaration", - "scope": 1717, - "src": "13304:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1702, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13304:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13276:39:1" - }, - "returnParameters": { - "id": 1705, - "nodeType": "ParameterList", - "parameters": [], - "src": "13330:0:1" - }, - "scope": 8146, - "src": "13264:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1736, - "nodeType": "Block", - "src": "13493:87:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e6729", - "id": 1729, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13537:25:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - "value": "log(bool,string,string)" - }, - { - "id": 1730, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1719, - "src": "13564:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1731, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1721, - "src": "13568:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1732, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1723, - "src": "13572:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b076847f8b4aee0cfbf46ec501532f9f3c85a581aff135287ff8e917c0a39102", - "typeString": "literal_string \"log(bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1727, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13513:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13513:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1733, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13513:62:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1726, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13497:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13497:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1735, - "nodeType": "ExpressionStatement", - "src": "13497:79:1" - } - ] - }, - "id": 1737, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13430:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1724, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13439:2:1", - "nodeType": "VariableDeclaration", - "scope": 1737, - "src": "13434:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1718, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13434:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13457:2:1", - "nodeType": "VariableDeclaration", - "scope": 1737, - "src": "13443:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1720, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13443:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13475:2:1", - "nodeType": "VariableDeclaration", - "scope": 1737, - "src": "13461:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1722, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13461:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "13433:45:1" - }, - "returnParameters": { - "id": 1725, - "nodeType": "ParameterList", - "parameters": [], - "src": "13493:0:1" - }, - "scope": 8146, - "src": "13421:159:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1756, - "nodeType": "Block", - "src": "13646:85:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c29", - "id": 1749, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13690:23:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - "value": "log(bool,string,bool)" - }, - { - "id": 1750, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1739, - "src": "13715:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1751, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1741, - "src": "13719:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1752, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1743, - "src": "13723:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dbb4c2477dacc98e0e5b96fd6ca6bf0ae1f82dd042439d9f53f8d963bef43eaa", - "typeString": "literal_string \"log(bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1747, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13666:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1748, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13666:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13666:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1746, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13650:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1754, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13650:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1755, - "nodeType": "ExpressionStatement", - "src": "13650:77:1" - } - ] - }, - "id": 1757, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13592:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1744, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1739, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13601:2:1", - "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "13596:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1738, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13596:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1741, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13619:2:1", - "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "13605:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1740, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13605:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1743, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13628:2:1", - "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "13623:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1742, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13623:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "13595:36:1" - }, - "returnParameters": { - "id": 1745, - "nodeType": "ParameterList", - "parameters": [], - "src": "13646:0:1" - }, - "scope": 8146, - "src": "13583:148:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1776, - "nodeType": "Block", - "src": "13800:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c6164647265737329", - "id": 1769, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13844:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - "value": "log(bool,string,address)" - }, - { - "id": 1770, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1759, - "src": "13872:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1771, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "13876:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 1772, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1763, - "src": "13880:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9591b953c9b1d0af9d1e3bc0f6ea9aa5b0e1af8c702f85b36e21b9b2d7e4da79", - "typeString": "literal_string \"log(bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1767, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13820:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13820:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13820:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1766, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13804:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13804:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1775, - "nodeType": "ExpressionStatement", - "src": "13804:80:1" - } - ] - }, - "id": 1777, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13743:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1764, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1759, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13752:2:1", - "nodeType": "VariableDeclaration", - "scope": 1777, - "src": "13747:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1758, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13747:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1761, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13770:2:1", - "nodeType": "VariableDeclaration", - "scope": 1777, - "src": "13756:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1760, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "13756:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1763, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13782:2:1", - "nodeType": "VariableDeclaration", - "scope": 1777, - "src": "13774:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1762, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13774:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "13746:39:1" - }, - "returnParameters": { - "id": 1765, - "nodeType": "ParameterList", - "parameters": [], - "src": "13800:0:1" - }, - "scope": 8146, - "src": "13734:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1796, - "nodeType": "Block", - "src": "13948:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e7432353629", - "id": 1789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13992:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12f216023a0243e7ece19b75fc4619b59ea663e0aefdf2e4b1faa16a9fa3a211", - "typeString": "literal_string \"log(bool,bool,uint256)\"" - }, - "value": "log(bool,bool,uint256)" - }, - { - "id": 1790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1779, - "src": "14018:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1791, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1781, - "src": "14022:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1792, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1783, - "src": "14026:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12f216023a0243e7ece19b75fc4619b59ea663e0aefdf2e4b1faa16a9fa3a211", - "typeString": "literal_string \"log(bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "13968:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "13968:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13968:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "13952:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13952:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1795, - "nodeType": "ExpressionStatement", - "src": "13952:78:1" - } - ] - }, - "id": 1797, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "13900:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1779, - "mutability": "mutable", - "name": "p0", - "nameLocation": "13909:2:1", - "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "13904:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1778, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13904:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1781, - "mutability": "mutable", - "name": "p1", - "nameLocation": "13918:2:1", - "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "13913:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1780, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13913:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1783, - "mutability": "mutable", - "name": "p2", - "nameLocation": "13930:2:1", - "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "13922:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1782, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13922:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "13903:30:1" - }, - "returnParameters": { - "id": 1785, - "nodeType": "ParameterList", - "parameters": [], - "src": "13948:0:1" - }, - "scope": 8146, - "src": "13891:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1816, - "nodeType": "Block", - "src": "14100:85:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e6729", - "id": 1809, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14144:23:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - "value": "log(bool,bool,string)" - }, - { - "id": 1810, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1799, - "src": "14169:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1811, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1801, - "src": "14173:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1812, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1803, - "src": "14177:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2555fa465662416fc443b21c515f245dc550a66f7c658773f7bd7ad91c82f2cc", - "typeString": "literal_string \"log(bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1807, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14120:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1808, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14120:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14120:60:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1806, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14104:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14104:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1815, - "nodeType": "ExpressionStatement", - "src": "14104:77:1" - } - ] - }, - "id": 1817, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14046:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1804, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1799, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14055:2:1", - "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "14050:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1798, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14050:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1801, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14064:2:1", - "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "14059:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1800, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14059:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1803, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14082:2:1", - "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "14068:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1802, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14068:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14049:36:1" - }, - "returnParameters": { - "id": 1805, - "nodeType": "ParameterList", - "parameters": [], - "src": "14100:0:1" - }, - "scope": 8146, - "src": "14037:148:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1836, - "nodeType": "Block", - "src": "14242:83:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c29", - "id": 1829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14286:21:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool)" - }, - { - "id": 1830, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1819, - "src": "14309:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1831, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1821, - "src": "14313:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1832, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1823, - "src": "14317:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50709698278bb02f656e4ac53a2ae8ef0ec4064d340360a5fa4d933e9a742590", - "typeString": "literal_string \"log(bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1827, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14262:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1828, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14262:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14262:58:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1826, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14246:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1834, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14246:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1835, - "nodeType": "ExpressionStatement", - "src": "14246:75:1" - } - ] - }, - "id": 1837, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14197:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1819, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14206:2:1", - "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "14201:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14201:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1821, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14215:2:1", - "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "14210:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1820, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14210:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1823, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14224:2:1", - "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "14219:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1822, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14219:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14200:27:1" - }, - "returnParameters": { - "id": 1825, - "nodeType": "ParameterList", - "parameters": [], - "src": "14242:0:1" - }, - "scope": 8146, - "src": "14188:137:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1856, - "nodeType": "Block", - "src": "14385:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c6164647265737329", - "id": 1849, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14429:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - "value": "log(bool,bool,address)" - }, - { - "id": 1850, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1839, - "src": "14455:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1851, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1841, - "src": "14459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1852, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1843, - "src": "14463:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1078f68da6ddbbe80f829fe8d54d1f2c6347e1ee4ec5a2a7a3a330ada9eccf81", - "typeString": "literal_string \"log(bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1847, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14405:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14405:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14405:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1846, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14389:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14389:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1855, - "nodeType": "ExpressionStatement", - "src": "14389:78:1" - } - ] - }, - "id": 1857, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14337:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1844, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1839, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14346:2:1", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "14341:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1838, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14341:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1841, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14355:2:1", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "14350:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1840, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14350:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1843, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14367:2:1", - "nodeType": "VariableDeclaration", - "scope": 1857, - "src": "14359:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1842, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14359:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14340:30:1" - }, - "returnParameters": { - "id": 1845, - "nodeType": "ParameterList", - "parameters": [], - "src": "14385:0:1" - }, - "scope": 8146, - "src": "14328:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1876, - "nodeType": "Block", - "src": "14534:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e7432353629", - "id": 1869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14578:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f7b9afb4f9ee9df3fee50155d0accfa23536f443bcbc89ec11f75df422d05ac", - "typeString": "literal_string \"log(bool,address,uint256)\"" - }, - "value": "log(bool,address,uint256)" - }, - { - "id": 1870, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1859, - "src": "14607:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1871, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1861, - "src": "14611:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1872, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1863, - "src": "14615:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f7b9afb4f9ee9df3fee50155d0accfa23536f443bcbc89ec11f75df422d05ac", - "typeString": "literal_string \"log(bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1867, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14554:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14554:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14554:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1866, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14538:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14538:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1875, - "nodeType": "ExpressionStatement", - "src": "14538:81:1" - } - ] - }, - "id": 1877, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14483:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1859, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14492:2:1", - "nodeType": "VariableDeclaration", - "scope": 1877, - "src": "14487:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1858, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14487:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1861, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14504:2:1", - "nodeType": "VariableDeclaration", - "scope": 1877, - "src": "14496:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14496:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1863, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14516:2:1", - "nodeType": "VariableDeclaration", - "scope": 1877, - "src": "14508:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1862, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14508:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "14486:33:1" - }, - "returnParameters": { - "id": 1865, - "nodeType": "ParameterList", - "parameters": [], - "src": "14534:0:1" - }, - "scope": 8146, - "src": "14474:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1896, - "nodeType": "Block", - "src": "14692:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e6729", - "id": 1889, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14736:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - "value": "log(bool,address,string)" - }, - { - "id": 1890, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1879, - "src": "14764:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1891, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "14768:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1892, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "14772:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de9a927090b15ed84eefc0c471675a23ce67fd75011b1652fe17ca2dd0dcd06d", - "typeString": "literal_string \"log(bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1887, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14712:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1888, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14712:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14712:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1886, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14696:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14696:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1895, - "nodeType": "ExpressionStatement", - "src": "14696:80:1" - } - ] - }, - "id": 1897, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14635:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1884, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1879, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14644:2:1", - "nodeType": "VariableDeclaration", - "scope": 1897, - "src": "14639:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1878, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14639:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1881, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14656:2:1", - "nodeType": "VariableDeclaration", - "scope": 1897, - "src": "14648:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1880, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14648:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1883, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14674:2:1", - "nodeType": "VariableDeclaration", - "scope": 1897, - "src": "14660:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1882, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "14660:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "14638:39:1" - }, - "returnParameters": { - "id": 1885, - "nodeType": "ParameterList", - "parameters": [], - "src": "14692:0:1" - }, - "scope": 8146, - "src": "14626:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1916, - "nodeType": "Block", - "src": "14840:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c29", - "id": 1909, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14884:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - "value": "log(bool,address,bool)" - }, - { - "id": 1910, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1899, - "src": "14910:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1911, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1901, - "src": "14914:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1912, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "14918:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_18c9c746c9d0e38e4dc234ee76e678bbaa4e473eca3dce0969637d7f01e4a908", - "typeString": "literal_string \"log(bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1907, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "14860:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1908, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "14860:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14860:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1906, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14844:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1914, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14844:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1915, - "nodeType": "ExpressionStatement", - "src": "14844:78:1" - } - ] - }, - "id": 1917, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14792:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1904, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1899, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14801:2:1", - "nodeType": "VariableDeclaration", - "scope": 1917, - "src": "14796:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1898, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14796:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1901, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14813:2:1", - "nodeType": "VariableDeclaration", - "scope": 1917, - "src": "14805:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1900, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14805:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1903, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14822:2:1", - "nodeType": "VariableDeclaration", - "scope": 1917, - "src": "14817:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1902, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14817:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "14795:30:1" - }, - "returnParameters": { - "id": 1905, - "nodeType": "ParameterList", - "parameters": [], - "src": "14840:0:1" - }, - "scope": 8146, - "src": "14783:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1936, - "nodeType": "Block", - "src": "14989:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c6164647265737329", - "id": 1929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15033:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - "value": "log(bool,address,address)" - }, - { - "id": 1930, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1919, - "src": "15062:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 1931, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1921, - "src": "15066:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1932, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1923, - "src": "15070:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2763667477f08a6a3f8ce84e1cc1aeb5e67ee2996f5f36e8939da2b8b8f0265", - "typeString": "literal_string \"log(bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 1927, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15009:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15009:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15009:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1926, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "14993:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14993:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1935, - "nodeType": "ExpressionStatement", - "src": "14993:81:1" - } - ] - }, - "id": 1937, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "14938:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1919, - "mutability": "mutable", - "name": "p0", - "nameLocation": "14947:2:1", - "nodeType": "VariableDeclaration", - "scope": 1937, - "src": "14942:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1918, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14942:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1921, - "mutability": "mutable", - "name": "p1", - "nameLocation": "14959:2:1", - "nodeType": "VariableDeclaration", - "scope": 1937, - "src": "14951:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1920, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14951:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1923, - "mutability": "mutable", - "name": "p2", - "nameLocation": "14971:2:1", - "nodeType": "VariableDeclaration", - "scope": 1937, - "src": "14963:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1922, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14963:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "14941:33:1" - }, - "returnParameters": { - "id": 1925, - "nodeType": "ParameterList", - "parameters": [], - "src": "14989:0:1" - }, - "scope": 8146, - "src": "14929:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1956, - "nodeType": "Block", - "src": "15144:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e7432353629", - "id": 1949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15188:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b69bcaf6823fa467c87c127df102001d1ca4e8a6dc08cab8aa1e5ab4a0ae8c76", - "typeString": "literal_string \"log(address,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256)" - }, - { - "id": 1950, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "15220:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1951, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "15224:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1952, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "15228:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b69bcaf6823fa467c87c127df102001d1ca4e8a6dc08cab8aa1e5ab4a0ae8c76", - "typeString": "literal_string \"log(address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 1947, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15164:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1948, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15164:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1953, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15164:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1946, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15148:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15148:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1955, - "nodeType": "ExpressionStatement", - "src": "15148:84:1" - } - ] - }, - "id": 1957, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15090:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1944, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15102:2:1", - "nodeType": "VariableDeclaration", - "scope": 1957, - "src": "15094:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1938, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15094:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1941, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15114:2:1", - "nodeType": "VariableDeclaration", - "scope": 1957, - "src": "15106:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1940, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15106:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1943, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15126:2:1", - "nodeType": "VariableDeclaration", - "scope": 1957, - "src": "15118:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1942, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15118:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15093:36:1" - }, - "returnParameters": { - "id": 1945, - "nodeType": "ParameterList", - "parameters": [], - "src": "15144:0:1" - }, - "scope": 8146, - "src": "15081:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1976, - "nodeType": "Block", - "src": "15308:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e6729", - "id": 1969, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15352:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1f2e8aa7ff0c088860d7b3f0d1dc288d8e8a07808525cc31a5691f1bc0e149d", - "typeString": "literal_string \"log(address,uint256,string)\"" - }, - "value": "log(address,uint256,string)" - }, - { - "id": 1970, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1959, - "src": "15383:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1971, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "15387:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1972, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1963, - "src": "15391:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1f2e8aa7ff0c088860d7b3f0d1dc288d8e8a07808525cc31a5691f1bc0e149d", - "typeString": "literal_string \"log(address,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 1967, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15328:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1968, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15328:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15328:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1966, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15312:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1974, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15312:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1975, - "nodeType": "ExpressionStatement", - "src": "15312:83:1" - } - ] - }, - "id": 1977, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15248:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1964, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1959, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15260:2:1", - "nodeType": "VariableDeclaration", - "scope": 1977, - "src": "15252:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1958, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15252:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1961, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15272:2:1", - "nodeType": "VariableDeclaration", - "scope": 1977, - "src": "15264:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1960, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15264:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1963, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15290:2:1", - "nodeType": "VariableDeclaration", - "scope": 1977, - "src": "15276:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 1962, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15276:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15251:42:1" - }, - "returnParameters": { - "id": 1965, - "nodeType": "ParameterList", - "parameters": [], - "src": "15308:0:1" - }, - "scope": 8146, - "src": "15239:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 1996, - "nodeType": "Block", - "src": "15462:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c29", - "id": 1989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15506:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_678209a8f42181c670dc624bae130f552678a896a5cb06db485524796aca1390", - "typeString": "literal_string \"log(address,uint256,bool)\"" - }, - "value": "log(address,uint256,bool)" - }, - { - "id": 1990, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1979, - "src": "15535:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 1991, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1981, - "src": "15539:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 1992, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1983, - "src": "15543:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_678209a8f42181c670dc624bae130f552678a896a5cb06db485524796aca1390", - "typeString": "literal_string \"log(address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 1987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15482:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 1988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15482:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 1993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15482:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 1986, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15466:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 1994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15466:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 1995, - "nodeType": "ExpressionStatement", - "src": "15466:81:1" - } - ] - }, - "id": 1997, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15411:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 1984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1979, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15423:2:1", - "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "15415:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1978, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15415:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1981, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15435:2:1", - "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "15427:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1980, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15427:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 1983, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15444:2:1", - "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "15439:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 1982, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "15439:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "15414:33:1" - }, - "returnParameters": { - "id": 1985, - "nodeType": "ParameterList", - "parameters": [], - "src": "15462:0:1" - }, - "scope": 8146, - "src": "15402:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2016, - "nodeType": "Block", - "src": "15617:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c6164647265737329", - "id": 2009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15661:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bc0d848840f8a2b7df87b30af9a8d9856aea86658fd890c9e8abce72cda0b36", - "typeString": "literal_string \"log(address,uint256,address)\"" - }, - "value": "log(address,uint256,address)" - }, - { - "id": 2010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1999, - "src": "15693:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "15697:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "15701:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7bc0d848840f8a2b7df87b30af9a8d9856aea86658fd890c9e8abce72cda0b36", - "typeString": "literal_string \"log(address,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15637:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15637:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15637:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15621:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15621:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2015, - "nodeType": "ExpressionStatement", - "src": "15621:84:1" - } - ] - }, - "id": 2017, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15563:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 1999, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15575:2:1", - "nodeType": "VariableDeclaration", - "scope": 2017, - "src": "15567:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 1998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15567:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2001, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15587:2:1", - "nodeType": "VariableDeclaration", - "scope": 2017, - "src": "15579:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15579:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2003, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15599:2:1", - "nodeType": "VariableDeclaration", - "scope": 2017, - "src": "15591:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2002, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15591:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "15566:36:1" - }, - "returnParameters": { - "id": 2005, - "nodeType": "ParameterList", - "parameters": [], - "src": "15617:0:1" - }, - "scope": 8146, - "src": "15554:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2036, - "nodeType": "Block", - "src": "15781:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e7432353629", - "id": 2029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15825:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_67dd6ff15de5c635b9900811039f919659774d9843a07b7bcdfb1b54315e9200", - "typeString": "literal_string \"log(address,string,uint256)\"" - }, - "value": "log(address,string,uint256)" - }, - { - "id": 2030, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "15856:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2031, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2021, - "src": "15860:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2032, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2023, - "src": "15864:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_67dd6ff15de5c635b9900811039f919659774d9843a07b7bcdfb1b54315e9200", - "typeString": "literal_string \"log(address,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2027, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15801:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2028, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15801:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2033, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15801:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2026, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15785:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15785:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2035, - "nodeType": "ExpressionStatement", - "src": "15785:83:1" - } - ] - }, - "id": 2037, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15721:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2024, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2019, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15733:2:1", - "nodeType": "VariableDeclaration", - "scope": 2037, - "src": "15725:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2018, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15725:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2021, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15751:2:1", - "nodeType": "VariableDeclaration", - "scope": 2037, - "src": "15737:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2020, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15737:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2023, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15763:2:1", - "nodeType": "VariableDeclaration", - "scope": 2037, - "src": "15755:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2022, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15755:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "15724:42:1" - }, - "returnParameters": { - "id": 2025, - "nodeType": "ParameterList", - "parameters": [], - "src": "15781:0:1" - }, - "scope": 8146, - "src": "15712:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2056, - "nodeType": "Block", - "src": "15950:90:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e6729", - "id": 2049, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15994:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - "value": "log(address,string,string)" - }, - { - "id": 2050, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2039, - "src": "16024:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2051, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2041, - "src": "16028:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2052, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2043, - "src": "16032:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fb77226597c11cd0c52945168d7176a06b9af41edea6a51823db111f35573158", - "typeString": "literal_string \"log(address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2047, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "15970:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "15970:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15970:65:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2046, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "15954:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15954:82:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2055, - "nodeType": "ExpressionStatement", - "src": "15954:82:1" - } - ] - }, - "id": 2057, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "15884:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2039, - "mutability": "mutable", - "name": "p0", - "nameLocation": "15896:2:1", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "15888:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2038, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15888:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2041, - "mutability": "mutable", - "name": "p1", - "nameLocation": "15914:2:1", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "15900:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2040, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15900:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2043, - "mutability": "mutable", - "name": "p2", - "nameLocation": "15932:2:1", - "nodeType": "VariableDeclaration", - "scope": 2057, - "src": "15918:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2042, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15918:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "15887:48:1" - }, - "returnParameters": { - "id": 2045, - "nodeType": "ParameterList", - "parameters": [], - "src": "15950:0:1" - }, - "scope": 8146, - "src": "15875:165:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2076, - "nodeType": "Block", - "src": "16109:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c29", - "id": 2069, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16153:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - "value": "log(address,string,bool)" - }, - { - "id": 2070, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2059, - "src": "16181:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2071, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2061, - "src": "16185:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2072, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2063, - "src": "16189:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf020fb14f49566c5748de1f455c699a10a4ed1d7cf32f9adb28d22878df1b96", - "typeString": "literal_string \"log(address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2067, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16129:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2068, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16129:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16129:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2066, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16113:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2074, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16113:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2075, - "nodeType": "ExpressionStatement", - "src": "16113:80:1" - } - ] - }, - "id": 2077, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16052:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2064, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2059, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16064:2:1", - "nodeType": "VariableDeclaration", - "scope": 2077, - "src": "16056:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2058, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16056:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2061, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16082:2:1", - "nodeType": "VariableDeclaration", - "scope": 2077, - "src": "16068:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2060, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16068:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2063, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16091:2:1", - "nodeType": "VariableDeclaration", - "scope": 2077, - "src": "16086:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2062, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16086:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16055:39:1" - }, - "returnParameters": { - "id": 2065, - "nodeType": "ParameterList", - "parameters": [], - "src": "16109:0:1" - }, - "scope": 8146, - "src": "16043:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2096, - "nodeType": "Block", - "src": "16269:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c6164647265737329", - "id": 2089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16313:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - "value": "log(address,string,address)" - }, - { - "id": 2090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "16344:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2081, - "src": "16348:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2083, - "src": "16352:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f08744e82875525f1ef885a48453f58e96cac98a5d32bd6d8c38e4977aede231", - "typeString": "literal_string \"log(address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16289:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16289:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16289:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16273:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16273:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2095, - "nodeType": "ExpressionStatement", - "src": "16273:83:1" - } - ] - }, - "id": 2097, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16209:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2079, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16221:2:1", - "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "16213:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2078, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16213:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2081, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16239:2:1", - "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "16225:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2080, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16225:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2083, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16251:2:1", - "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "16243:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2082, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16243:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16212:42:1" - }, - "returnParameters": { - "id": 2085, - "nodeType": "ParameterList", - "parameters": [], - "src": "16269:0:1" - }, - "scope": 8146, - "src": "16200:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2116, - "nodeType": "Block", - "src": "16423:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e7432353629", - "id": 2109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16467:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c4f99fb8e27f663a71adc9f15ace4bdc959202f3b7faa1c8ca25e5e7e8568f9", - "typeString": "literal_string \"log(address,bool,uint256)\"" - }, - "value": "log(address,bool,uint256)" - }, - { - "id": 2110, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2099, - "src": "16496:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2111, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2101, - "src": "16500:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2112, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2103, - "src": "16504:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9c4f99fb8e27f663a71adc9f15ace4bdc959202f3b7faa1c8ca25e5e7e8568f9", - "typeString": "literal_string \"log(address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2107, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16443:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2108, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16443:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2113, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16443:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2106, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16427:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16427:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2115, - "nodeType": "ExpressionStatement", - "src": "16427:81:1" - } - ] - }, - "id": 2117, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16372:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2104, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16384:2:1", - "nodeType": "VariableDeclaration", - "scope": 2117, - "src": "16376:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16376:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16393:2:1", - "nodeType": "VariableDeclaration", - "scope": 2117, - "src": "16388:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2100, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16388:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2103, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16405:2:1", - "nodeType": "VariableDeclaration", - "scope": 2117, - "src": "16397:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16397:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16375:33:1" - }, - "returnParameters": { - "id": 2105, - "nodeType": "ParameterList", - "parameters": [], - "src": "16423:0:1" - }, - "scope": 8146, - "src": "16363:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2136, - "nodeType": "Block", - "src": "16581:88:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e6729", - "id": 2129, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16625:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - "value": "log(address,bool,string)" - }, - { - "id": 2130, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "16653:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2131, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2121, - "src": "16657:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2132, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2123, - "src": "16661:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_212255cc5ff4a2d867f69451c60f51c24e41784276f4ceffe8ec3af322690750", - "typeString": "literal_string \"log(address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16601:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16601:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16601:63:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2126, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16585:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16585:80:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2135, - "nodeType": "ExpressionStatement", - "src": "16585:80:1" - } - ] - }, - "id": 2137, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16524:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2124, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2119, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16536:2:1", - "nodeType": "VariableDeclaration", - "scope": 2137, - "src": "16528:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2118, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16528:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2121, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16545:2:1", - "nodeType": "VariableDeclaration", - "scope": 2137, - "src": "16540:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2120, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16540:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2123, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16563:2:1", - "nodeType": "VariableDeclaration", - "scope": 2137, - "src": "16549:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2122, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16549:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "16527:39:1" - }, - "returnParameters": { - "id": 2125, - "nodeType": "ParameterList", - "parameters": [], - "src": "16581:0:1" - }, - "scope": 8146, - "src": "16515:154:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2156, - "nodeType": "Block", - "src": "16729:86:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c29", - "id": 2149, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16773:24:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - "value": "log(address,bool,bool)" - }, - { - "id": 2150, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2139, - "src": "16799:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2151, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2141, - "src": "16803:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2152, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2143, - "src": "16807:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb830c92a079b46f3abcb83e519f578cffe7387941b6885067265feec096d279", - "typeString": "literal_string \"log(address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2147, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16749:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16749:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16749:61:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2146, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16733:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16733:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2155, - "nodeType": "ExpressionStatement", - "src": "16733:78:1" - } - ] - }, - "id": 2157, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16681:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2144, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2139, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16693:2:1", - "nodeType": "VariableDeclaration", - "scope": 2157, - "src": "16685:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2138, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16685:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2141, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16702:2:1", - "nodeType": "VariableDeclaration", - "scope": 2157, - "src": "16697:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2140, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16697:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2143, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16711:2:1", - "nodeType": "VariableDeclaration", - "scope": 2157, - "src": "16706:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2142, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16706:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "16684:30:1" - }, - "returnParameters": { - "id": 2145, - "nodeType": "ParameterList", - "parameters": [], - "src": "16729:0:1" - }, - "scope": 8146, - "src": "16672:143:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2176, - "nodeType": "Block", - "src": "16878:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c6164647265737329", - "id": 2169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16922:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - "value": "log(address,bool,address)" - }, - { - "id": 2170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2159, - "src": "16951:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2171, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2161, - "src": "16955:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2172, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2163, - "src": "16959:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f11699ed537119f000a51ba9fbd5bb55b3990a1a718acbe99659bd1bc84dc18d", - "typeString": "literal_string \"log(address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "16898:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "16898:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16898:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "16882:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16882:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2175, - "nodeType": "ExpressionStatement", - "src": "16882:81:1" - } - ] - }, - "id": 2177, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16827:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2159, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16839:2:1", - "nodeType": "VariableDeclaration", - "scope": 2177, - "src": "16831:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16831:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2161, - "mutability": "mutable", - "name": "p1", - "nameLocation": "16848:2:1", - "nodeType": "VariableDeclaration", - "scope": 2177, - "src": "16843:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2160, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16843:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2163, - "mutability": "mutable", - "name": "p2", - "nameLocation": "16860:2:1", - "nodeType": "VariableDeclaration", - "scope": 2177, - "src": "16852:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16852:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "16830:33:1" - }, - "returnParameters": { - "id": 2165, - "nodeType": "ParameterList", - "parameters": [], - "src": "16878:0:1" - }, - "scope": 8146, - "src": "16818:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2196, - "nodeType": "Block", - "src": "17033:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e7432353629", - "id": 2189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17077:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_17fe6185890336f35fbbd1b2962ba4f7207a4a65eb5b7443a7be8a152af930a4", - "typeString": "literal_string \"log(address,address,uint256)\"" - }, - "value": "log(address,address,uint256)" - }, - { - "id": 2190, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2179, - "src": "17109:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2191, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "17113:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2192, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "17117:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_17fe6185890336f35fbbd1b2962ba4f7207a4a65eb5b7443a7be8a152af930a4", - "typeString": "literal_string \"log(address,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2187, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17053:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17053:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2193, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17053:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2186, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17037:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17037:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2195, - "nodeType": "ExpressionStatement", - "src": "17037:84:1" - } - ] - }, - "id": 2197, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "16979:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2184, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "16991:2:1", - "nodeType": "VariableDeclaration", - "scope": 2197, - "src": "16983:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2178, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16983:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17003:2:1", - "nodeType": "VariableDeclaration", - "scope": 2197, - "src": "16995:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2180, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16995:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17015:2:1", - "nodeType": "VariableDeclaration", - "scope": 2197, - "src": "17007:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2182, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17007:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "16982:36:1" - }, - "returnParameters": { - "id": 2185, - "nodeType": "ParameterList", - "parameters": [], - "src": "17033:0:1" - }, - "scope": 8146, - "src": "16970:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2216, - "nodeType": "Block", - "src": "17197:91:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e6729", - "id": 2209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17241:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - "value": "log(address,address,string)" - }, - { - "id": 2210, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2199, - "src": "17272:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2211, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2201, - "src": "17276:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2212, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "17280:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_007150be50a4671a6be318012e9cd2eabb1e1bc8869b45c34abbaa04d81c8eee", - "typeString": "literal_string \"log(address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2207, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17217:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17217:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2213, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17217:66:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2206, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17201:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17201:83:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2215, - "nodeType": "ExpressionStatement", - "src": "17201:83:1" - } - ] - }, - "id": 2217, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17137:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2199, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17149:2:1", - "nodeType": "VariableDeclaration", - "scope": 2217, - "src": "17141:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2198, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17141:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2201, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17161:2:1", - "nodeType": "VariableDeclaration", - "scope": 2217, - "src": "17153:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2200, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17153:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2203, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17179:2:1", - "nodeType": "VariableDeclaration", - "scope": 2217, - "src": "17165:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2202, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17165:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17140:42:1" - }, - "returnParameters": { - "id": 2205, - "nodeType": "ParameterList", - "parameters": [], - "src": "17197:0:1" - }, - "scope": 8146, - "src": "17128:160:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2236, - "nodeType": "Block", - "src": "17351:89:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c29", - "id": 2229, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17395:27:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - "value": "log(address,address,bool)" - }, - { - "id": 2230, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "17424:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2231, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "17428:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2232, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "17432:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f2a6628622808c8bbef4f3e513ab11e708a8f5073988f2f7988e111aa26586dc", - "typeString": "literal_string \"log(address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2227, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17371:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2228, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17371:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17371:64:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2226, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17355:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17355:81:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2235, - "nodeType": "ExpressionStatement", - "src": "17355:81:1" - } - ] - }, - "id": 2237, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17300:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2219, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17312:2:1", - "nodeType": "VariableDeclaration", - "scope": 2237, - "src": "17304:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2218, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17304:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2221, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17324:2:1", - "nodeType": "VariableDeclaration", - "scope": 2237, - "src": "17316:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17316:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2223, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17333:2:1", - "nodeType": "VariableDeclaration", - "scope": 2237, - "src": "17328:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2222, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17328:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17303:33:1" - }, - "returnParameters": { - "id": 2225, - "nodeType": "ParameterList", - "parameters": [], - "src": "17351:0:1" - }, - "scope": 8146, - "src": "17291:149:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2256, - "nodeType": "Block", - "src": "17506:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c6164647265737329", - "id": 2249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17550:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - "value": "log(address,address,address)" - }, - { - "id": 2250, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "17582:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2251, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2241, - "src": "17586:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2252, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2243, - "src": "17590:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_018c84c25fb680b5bcd4e1ab1848682497c9dd3b635564a91c36ce3d1414c830", - "typeString": "literal_string \"log(address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17526:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17526:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17526:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2246, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17510:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17510:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2255, - "nodeType": "ExpressionStatement", - "src": "17510:84:1" - } - ] - }, - "id": 2257, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17452:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2239, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17464:2:1", - "nodeType": "VariableDeclaration", - "scope": 2257, - "src": "17456:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2238, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17456:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2241, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17476:2:1", - "nodeType": "VariableDeclaration", - "scope": 2257, - "src": "17468:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17468:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2243, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17488:2:1", - "nodeType": "VariableDeclaration", - "scope": 2257, - "src": "17480:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2242, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17480:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "17455:36:1" - }, - "returnParameters": { - "id": 2245, - "nodeType": "ParameterList", - "parameters": [], - "src": "17506:0:1" - }, - "scope": 8146, - "src": "17443:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2279, - "nodeType": "Block", - "src": "17676:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c75696e7432353629", - "id": 2271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17720:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_193fb8009d4d1e3c22da0dd831b1e3aed72b8cabd1ebf3967b4ab3c2bbcf1c4f", - "typeString": "literal_string \"log(uint256,uint256,uint256,uint256)\"" - }, - "value": "log(uint256,uint256,uint256,uint256)" - }, - { - "id": 2272, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "17760:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2273, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "17764:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2274, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2263, - "src": "17768:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2275, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2265, - "src": "17772:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_193fb8009d4d1e3c22da0dd831b1e3aed72b8cabd1ebf3967b4ab3c2bbcf1c4f", - "typeString": "literal_string \"log(uint256,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2269, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17696:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2270, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17696:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2276, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17696:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2268, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17680:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17680:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2278, - "nodeType": "ExpressionStatement", - "src": "17680:96:1" - } - ] - }, - "id": 2280, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17610:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2259, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17622:2:1", - "nodeType": "VariableDeclaration", - "scope": 2280, - "src": "17614:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2258, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17614:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2261, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17634:2:1", - "nodeType": "VariableDeclaration", - "scope": 2280, - "src": "17626:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2260, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17626:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2263, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17646:2:1", - "nodeType": "VariableDeclaration", - "scope": 2280, - "src": "17638:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2262, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17638:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2265, - "mutability": "mutable", - "name": "p3", - "nameLocation": "17658:2:1", - "nodeType": "VariableDeclaration", - "scope": 2280, - "src": "17650:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2264, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17650:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "17613:48:1" - }, - "returnParameters": { - "id": 2267, - "nodeType": "ParameterList", - "parameters": [], - "src": "17676:0:1" - }, - "scope": 8146, - "src": "17601:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2302, - "nodeType": "Block", - "src": "17864:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c737472696e6729", - "id": 2294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17908:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_59cfcbe3e387f57023dcccd8733484dcb5a23a41a25c4015c01a4e8d3520c4ef", - "typeString": "literal_string \"log(uint256,uint256,uint256,string)\"" - }, - "value": "log(uint256,uint256,uint256,string)" - }, - { - "id": 2295, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2282, - "src": "17947:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2296, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2284, - "src": "17951:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2297, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2286, - "src": "17955:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2298, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2288, - "src": "17959:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_59cfcbe3e387f57023dcccd8733484dcb5a23a41a25c4015c01a4e8d3520c4ef", - "typeString": "literal_string \"log(uint256,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2292, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "17884:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2293, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "17884:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2299, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17884:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2291, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "17868:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17868:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2301, - "nodeType": "ExpressionStatement", - "src": "17868:95:1" - } - ] - }, - "id": 2303, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17792:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2282, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17804:2:1", - "nodeType": "VariableDeclaration", - "scope": 2303, - "src": "17796:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2281, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17796:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2284, - "mutability": "mutable", - "name": "p1", - "nameLocation": "17816:2:1", - "nodeType": "VariableDeclaration", - "scope": 2303, - "src": "17808:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2283, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17808:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2286, - "mutability": "mutable", - "name": "p2", - "nameLocation": "17828:2:1", - "nodeType": "VariableDeclaration", - "scope": 2303, - "src": "17820:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2285, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17820:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2288, - "mutability": "mutable", - "name": "p3", - "nameLocation": "17846:2:1", - "nodeType": "VariableDeclaration", - "scope": 2303, - "src": "17832:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2287, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "17832:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "17795:54:1" - }, - "returnParameters": { - "id": 2290, - "nodeType": "ParameterList", - "parameters": [], - "src": "17864:0:1" - }, - "scope": 8146, - "src": "17783:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2325, - "nodeType": "Block", - "src": "18042:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c626f6f6c29", - "id": 2317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18086:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c598d18505e9c7404a061484d6144251d0ef342167a57ace85723d498abac8e3", - "typeString": "literal_string \"log(uint256,uint256,uint256,bool)\"" - }, - "value": "log(uint256,uint256,uint256,bool)" - }, - { - "id": 2318, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2305, - "src": "18123:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2319, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2307, - "src": "18127:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2320, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "18131:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2321, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "18135:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c598d18505e9c7404a061484d6144251d0ef342167a57ace85723d498abac8e3", - "typeString": "literal_string \"log(uint256,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2315, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18062:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2316, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18062:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2322, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18062:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2314, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18046:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18046:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2324, - "nodeType": "ExpressionStatement", - "src": "18046:93:1" - } - ] - }, - "id": 2326, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "17979:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2312, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2305, - "mutability": "mutable", - "name": "p0", - "nameLocation": "17991:2:1", - "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "17983:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17983:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2307, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18003:2:1", - "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "17995:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2306, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17995:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2309, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18015:2:1", - "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "18007:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18007:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2311, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18024:2:1", - "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "18019:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2310, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18019:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "17982:45:1" - }, - "returnParameters": { - "id": 2313, - "nodeType": "ParameterList", - "parameters": [], - "src": "18042:0:1" - }, - "scope": 8146, - "src": "17970:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2348, - "nodeType": "Block", - "src": "18221:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c75696e743235362c6164647265737329", - "id": 2340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18265:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fa8185afaca325eb459625959e5610b99e97bbcba8d5834d7632610b4f237c79", - "typeString": "literal_string \"log(uint256,uint256,uint256,address)\"" - }, - "value": "log(uint256,uint256,uint256,address)" - }, - { - "id": 2341, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2328, - "src": "18305:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2342, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2330, - "src": "18309:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2343, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2332, - "src": "18313:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2344, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2334, - "src": "18317:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fa8185afaca325eb459625959e5610b99e97bbcba8d5834d7632610b4f237c79", - "typeString": "literal_string \"log(uint256,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2338, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18241:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18241:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18241:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2337, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18225:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18225:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2347, - "nodeType": "ExpressionStatement", - "src": "18225:96:1" - } - ] - }, - "id": 2349, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18155:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2335, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2328, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18167:2:1", - "nodeType": "VariableDeclaration", - "scope": 2349, - "src": "18159:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2327, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18159:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2330, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18179:2:1", - "nodeType": "VariableDeclaration", - "scope": 2349, - "src": "18171:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18171:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2332, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18191:2:1", - "nodeType": "VariableDeclaration", - "scope": 2349, - "src": "18183:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2331, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18183:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2334, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18203:2:1", - "nodeType": "VariableDeclaration", - "scope": 2349, - "src": "18195:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2333, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18195:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18158:48:1" - }, - "returnParameters": { - "id": 2336, - "nodeType": "ParameterList", - "parameters": [], - "src": "18221:0:1" - }, - "scope": 8146, - "src": "18146:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2371, - "nodeType": "Block", - "src": "18409:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c75696e7432353629", - "id": 2363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18453:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da297eb5acf47b1a9c0089c080d654cc07f2a8c9aa94fc68af26a6405cde114", - "typeString": "literal_string \"log(uint256,uint256,string,uint256)\"" - }, - "value": "log(uint256,uint256,string,uint256)" - }, - { - "id": 2364, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2351, - "src": "18492:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2365, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "18496:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2366, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "18500:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2367, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2357, - "src": "18504:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5da297eb5acf47b1a9c0089c080d654cc07f2a8c9aa94fc68af26a6405cde114", - "typeString": "literal_string \"log(uint256,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2361, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18429:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18429:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18429:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2360, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18413:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18413:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2370, - "nodeType": "ExpressionStatement", - "src": "18413:95:1" - } - ] - }, - "id": 2372, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18337:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2351, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18349:2:1", - "nodeType": "VariableDeclaration", - "scope": 2372, - "src": "18341:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2350, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18341:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2353, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18361:2:1", - "nodeType": "VariableDeclaration", - "scope": 2372, - "src": "18353:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2352, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18353:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2355, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18379:2:1", - "nodeType": "VariableDeclaration", - "scope": 2372, - "src": "18365:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2354, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18365:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2357, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18391:2:1", - "nodeType": "VariableDeclaration", - "scope": 2372, - "src": "18383:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2356, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18383:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "18340:54:1" - }, - "returnParameters": { - "id": 2359, - "nodeType": "ParameterList", - "parameters": [], - "src": "18409:0:1" - }, - "scope": 8146, - "src": "18328:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2394, - "nodeType": "Block", - "src": "18602:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c737472696e6729", - "id": 2386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18646:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_27d8afd2525217fff7302dbf79acc81edc09cb300d94f2503a4fb8a8115910e0", - "typeString": "literal_string \"log(uint256,uint256,string,string)\"" - }, - "value": "log(uint256,uint256,string,string)" - }, - { - "id": 2387, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2374, - "src": "18684:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2388, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2376, - "src": "18688:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2389, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2378, - "src": "18692:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2390, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2380, - "src": "18696:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_27d8afd2525217fff7302dbf79acc81edc09cb300d94f2503a4fb8a8115910e0", - "typeString": "literal_string \"log(uint256,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2384, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18622:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18622:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18622:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2383, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18606:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18606:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2393, - "nodeType": "ExpressionStatement", - "src": "18606:94:1" - } - ] - }, - "id": 2395, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18524:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2381, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2374, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18536:2:1", - "nodeType": "VariableDeclaration", - "scope": 2395, - "src": "18528:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2373, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18528:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2376, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18548:2:1", - "nodeType": "VariableDeclaration", - "scope": 2395, - "src": "18540:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2375, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18540:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2378, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18566:2:1", - "nodeType": "VariableDeclaration", - "scope": 2395, - "src": "18552:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2377, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18552:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2380, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18584:2:1", - "nodeType": "VariableDeclaration", - "scope": 2395, - "src": "18570:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2379, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18570:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "18527:60:1" - }, - "returnParameters": { - "id": 2382, - "nodeType": "ParameterList", - "parameters": [], - "src": "18602:0:1" - }, - "scope": 8146, - "src": "18515:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2417, - "nodeType": "Block", - "src": "18785:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c626f6f6c29", - "id": 2409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18829:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7af6ab2578caf14043420c6b292dcb787d09d31b13365d7673f201f9b2e310c9", - "typeString": "literal_string \"log(uint256,uint256,string,bool)\"" - }, - "value": "log(uint256,uint256,string,bool)" - }, - { - "id": 2410, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2397, - "src": "18865:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2411, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2399, - "src": "18869:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2412, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2401, - "src": "18873:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2413, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2403, - "src": "18877:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7af6ab2578caf14043420c6b292dcb787d09d31b13365d7673f201f9b2e310c9", - "typeString": "literal_string \"log(uint256,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2407, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18805:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18805:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18805:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2406, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18789:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18789:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2416, - "nodeType": "ExpressionStatement", - "src": "18789:92:1" - } - ] - }, - "id": 2418, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18716:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2404, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2397, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18728:2:1", - "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "18720:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18720:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2399, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18740:2:1", - "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "18732:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2398, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18732:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2401, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18758:2:1", - "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "18744:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2400, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18744:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2403, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18767:2:1", - "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "18762:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2402, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18762:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "18719:51:1" - }, - "returnParameters": { - "id": 2405, - "nodeType": "ParameterList", - "parameters": [], - "src": "18785:0:1" - }, - "scope": 8146, - "src": "18707:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2440, - "nodeType": "Block", - "src": "18969:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c737472696e672c6164647265737329", - "id": 2432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19013:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_42d21db701843c064ab7fb7cddd0cda130fcc29c7289dd90519dfea1322b1a53", - "typeString": "literal_string \"log(uint256,uint256,string,address)\"" - }, - "value": "log(uint256,uint256,string,address)" - }, - { - "id": 2433, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2420, - "src": "19052:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2434, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2422, - "src": "19056:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2435, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2424, - "src": "19060:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2436, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "19064:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_42d21db701843c064ab7fb7cddd0cda130fcc29c7289dd90519dfea1322b1a53", - "typeString": "literal_string \"log(uint256,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2430, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "18989:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2431, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "18989:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18989:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2429, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "18973:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18973:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2439, - "nodeType": "ExpressionStatement", - "src": "18973:95:1" - } - ] - }, - "id": 2441, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "18897:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2427, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2420, - "mutability": "mutable", - "name": "p0", - "nameLocation": "18909:2:1", - "nodeType": "VariableDeclaration", - "scope": 2441, - "src": "18901:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2419, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18901:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2422, - "mutability": "mutable", - "name": "p1", - "nameLocation": "18921:2:1", - "nodeType": "VariableDeclaration", - "scope": 2441, - "src": "18913:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2421, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18913:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2424, - "mutability": "mutable", - "name": "p2", - "nameLocation": "18939:2:1", - "nodeType": "VariableDeclaration", - "scope": 2441, - "src": "18925:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2423, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "18925:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2426, - "mutability": "mutable", - "name": "p3", - "nameLocation": "18951:2:1", - "nodeType": "VariableDeclaration", - "scope": 2441, - "src": "18943:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18943:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "18900:54:1" - }, - "returnParameters": { - "id": 2428, - "nodeType": "ParameterList", - "parameters": [], - "src": "18969:0:1" - }, - "scope": 8146, - "src": "18888:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2463, - "nodeType": "Block", - "src": "19147:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c75696e7432353629", - "id": 2455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19191:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb7f6fd2c2005d3f08b2528135265cced621d1abf62716b05a9b62bc732577fd", - "typeString": "literal_string \"log(uint256,uint256,bool,uint256)\"" - }, - "value": "log(uint256,uint256,bool,uint256)" - }, - { - "id": 2456, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2443, - "src": "19228:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2457, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2445, - "src": "19232:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2458, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2447, - "src": "19236:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2459, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2449, - "src": "19240:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb7f6fd2c2005d3f08b2528135265cced621d1abf62716b05a9b62bc732577fd", - "typeString": "literal_string \"log(uint256,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2453, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19167:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19167:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2460, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19167:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2452, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "19151:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19151:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2462, - "nodeType": "ExpressionStatement", - "src": "19151:93:1" - } - ] - }, - "id": 2464, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19084:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2443, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19096:2:1", - "nodeType": "VariableDeclaration", - "scope": 2464, - "src": "19088:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2442, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19088:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2445, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19108:2:1", - "nodeType": "VariableDeclaration", - "scope": 2464, - "src": "19100:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2444, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19100:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2447, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19117:2:1", - "nodeType": "VariableDeclaration", - "scope": 2464, - "src": "19112:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2446, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19112:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2449, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19129:2:1", - "nodeType": "VariableDeclaration", - "scope": 2464, - "src": "19121:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19121:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19087:45:1" - }, - "returnParameters": { - "id": 2451, - "nodeType": "ParameterList", - "parameters": [], - "src": "19147:0:1" - }, - "scope": 8146, - "src": "19075:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2486, - "nodeType": "Block", - "src": "19329:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c737472696e6729", - "id": 2478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19373:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5b4fc99467445b3de47079da2d48b3031bb8d3adcbee781cbdca55596f1414a", - "typeString": "literal_string \"log(uint256,uint256,bool,string)\"" - }, - "value": "log(uint256,uint256,bool,string)" - }, - { - "id": 2479, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2466, - "src": "19409:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2480, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2468, - "src": "19413:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2481, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2470, - "src": "19417:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2482, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2472, - "src": "19421:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5b4fc99467445b3de47079da2d48b3031bb8d3adcbee781cbdca55596f1414a", - "typeString": "literal_string \"log(uint256,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2476, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19349:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2477, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19349:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2483, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19349:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2475, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "19333:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19333:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2485, - "nodeType": "ExpressionStatement", - "src": "19333:92:1" - } - ] - }, - "id": 2487, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19260:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2473, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2466, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19272:2:1", - "nodeType": "VariableDeclaration", - "scope": 2487, - "src": "19264:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2465, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19264:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2468, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19284:2:1", - "nodeType": "VariableDeclaration", - "scope": 2487, - "src": "19276:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2467, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19276:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2470, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19293:2:1", - "nodeType": "VariableDeclaration", - "scope": 2487, - "src": "19288:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2469, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19288:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2472, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19311:2:1", - "nodeType": "VariableDeclaration", - "scope": 2487, - "src": "19297:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "19297:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19263:51:1" - }, - "returnParameters": { - "id": 2474, - "nodeType": "ParameterList", - "parameters": [], - "src": "19329:0:1" - }, - "scope": 8146, - "src": "19251:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2509, - "nodeType": "Block", - "src": "19501:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c626f6f6c29", - "id": 2501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19545:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ab085ae680de5118cde80cb5e8cb1f7383786238f1394e82b7ab82553a0dd7fe", - "typeString": "literal_string \"log(uint256,uint256,bool,bool)\"" - }, - "value": "log(uint256,uint256,bool,bool)" - }, - { - "id": 2502, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2489, - "src": "19579:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2503, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2491, - "src": "19583:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2504, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2493, - "src": "19587:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2505, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2495, - "src": "19591:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ab085ae680de5118cde80cb5e8cb1f7383786238f1394e82b7ab82553a0dd7fe", - "typeString": "literal_string \"log(uint256,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2499, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19521:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19521:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19521:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2498, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "19505:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19505:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2508, - "nodeType": "ExpressionStatement", - "src": "19505:90:1" - } - ] - }, - "id": 2510, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19441:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2489, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19453:2:1", - "nodeType": "VariableDeclaration", - "scope": 2510, - "src": "19445:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2488, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19445:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2491, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19465:2:1", - "nodeType": "VariableDeclaration", - "scope": 2510, - "src": "19457:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2490, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19457:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2493, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19474:2:1", - "nodeType": "VariableDeclaration", - "scope": 2510, - "src": "19469:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2492, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19469:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2495, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19483:2:1", - "nodeType": "VariableDeclaration", - "scope": 2510, - "src": "19478:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2494, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19478:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "19444:42:1" - }, - "returnParameters": { - "id": 2497, - "nodeType": "ParameterList", - "parameters": [], - "src": "19501:0:1" - }, - "scope": 8146, - "src": "19432:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2532, - "nodeType": "Block", - "src": "19674:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c626f6f6c2c6164647265737329", - "id": 2524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19718:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9a816a83f59c7e2fc96bb179b1fa8fd5307277d58bad9d6b835a280d4474fc1b", - "typeString": "literal_string \"log(uint256,uint256,bool,address)\"" - }, - "value": "log(uint256,uint256,bool,address)" - }, - { - "id": 2525, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2512, - "src": "19755:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2526, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2514, - "src": "19759:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2527, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "19763:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2528, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2518, - "src": "19767:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9a816a83f59c7e2fc96bb179b1fa8fd5307277d58bad9d6b835a280d4474fc1b", - "typeString": "literal_string \"log(uint256,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19694:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19694:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2529, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19694:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2521, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "19678:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19678:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2531, - "nodeType": "ExpressionStatement", - "src": "19678:93:1" - } - ] - }, - "id": 2533, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19611:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2519, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2512, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19623:2:1", - "nodeType": "VariableDeclaration", - "scope": 2533, - "src": "19615:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19615:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2514, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19635:2:1", - "nodeType": "VariableDeclaration", - "scope": 2533, - "src": "19627:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2513, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19627:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2516, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19644:2:1", - "nodeType": "VariableDeclaration", - "scope": 2533, - "src": "19639:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2515, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19639:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2518, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19656:2:1", - "nodeType": "VariableDeclaration", - "scope": 2533, - "src": "19648:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2517, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19648:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "19614:45:1" - }, - "returnParameters": { - "id": 2520, - "nodeType": "ParameterList", - "parameters": [], - "src": "19674:0:1" - }, - "scope": 8146, - "src": "19602:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2555, - "nodeType": "Block", - "src": "19853:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c75696e7432353629", - "id": 2547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19897:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88f6e4b2e9fd1797748b31e8b1564d27784c7a0b5de7a75df225524205baab36", - "typeString": "literal_string \"log(uint256,uint256,address,uint256)\"" - }, - "value": "log(uint256,uint256,address,uint256)" - }, - { - "id": 2548, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2535, - "src": "19937:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2549, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2537, - "src": "19941:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2550, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2539, - "src": "19945:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2551, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2541, - "src": "19949:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88f6e4b2e9fd1797748b31e8b1564d27784c7a0b5de7a75df225524205baab36", - "typeString": "literal_string \"log(uint256,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2545, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "19873:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2546, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "19873:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19873:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2544, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "19857:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19857:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2554, - "nodeType": "ExpressionStatement", - "src": "19857:96:1" - } - ] - }, - "id": 2556, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19787:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2542, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2535, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19799:2:1", - "nodeType": "VariableDeclaration", - "scope": 2556, - "src": "19791:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2534, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19791:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2537, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19811:2:1", - "nodeType": "VariableDeclaration", - "scope": 2556, - "src": "19803:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2536, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19803:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2539, - "mutability": "mutable", - "name": "p2", - "nameLocation": "19823:2:1", - "nodeType": "VariableDeclaration", - "scope": 2556, - "src": "19815:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19815:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2541, - "mutability": "mutable", - "name": "p3", - "nameLocation": "19835:2:1", - "nodeType": "VariableDeclaration", - "scope": 2556, - "src": "19827:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2540, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19827:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "19790:48:1" - }, - "returnParameters": { - "id": 2543, - "nodeType": "ParameterList", - "parameters": [], - "src": "19853:0:1" - }, - "scope": 8146, - "src": "19778:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2578, - "nodeType": "Block", - "src": "20041:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c737472696e6729", - "id": 2570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20085:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6cde40b8d4f88da65710732f1ce432c86447f486bf713e5763c0ab174df12f40", - "typeString": "literal_string \"log(uint256,uint256,address,string)\"" - }, - "value": "log(uint256,uint256,address,string)" - }, - { - "id": 2571, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2558, - "src": "20124:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2572, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2560, - "src": "20128:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2573, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2562, - "src": "20132:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2574, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2564, - "src": "20136:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6cde40b8d4f88da65710732f1ce432c86447f486bf713e5763c0ab174df12f40", - "typeString": "literal_string \"log(uint256,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2568, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20061:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20061:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20061:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2567, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20045:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20045:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2577, - "nodeType": "ExpressionStatement", - "src": "20045:95:1" - } - ] - }, - "id": 2579, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "19969:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2558, - "mutability": "mutable", - "name": "p0", - "nameLocation": "19981:2:1", - "nodeType": "VariableDeclaration", - "scope": 2579, - "src": "19973:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19973:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2560, - "mutability": "mutable", - "name": "p1", - "nameLocation": "19993:2:1", - "nodeType": "VariableDeclaration", - "scope": 2579, - "src": "19985:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2559, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19985:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2562, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20005:2:1", - "nodeType": "VariableDeclaration", - "scope": 2579, - "src": "19997:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "19997:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2564, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20023:2:1", - "nodeType": "VariableDeclaration", - "scope": 2579, - "src": "20009:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2563, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20009:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "19972:54:1" - }, - "returnParameters": { - "id": 2566, - "nodeType": "ParameterList", - "parameters": [], - "src": "20041:0:1" - }, - "scope": 8146, - "src": "19960:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2601, - "nodeType": "Block", - "src": "20219:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c626f6f6c29", - "id": 2593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20263:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15cac47617578377cd39f9593e7bb3ffa0e284336b9741dcc2c4151a93e1b201", - "typeString": "literal_string \"log(uint256,uint256,address,bool)\"" - }, - "value": "log(uint256,uint256,address,bool)" - }, - { - "id": 2594, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2581, - "src": "20300:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2595, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2583, - "src": "20304:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2596, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2585, - "src": "20308:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2597, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2587, - "src": "20312:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_15cac47617578377cd39f9593e7bb3ffa0e284336b9741dcc2c4151a93e1b201", - "typeString": "literal_string \"log(uint256,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2591, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20239:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20239:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2598, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20239:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2590, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20223:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20223:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2600, - "nodeType": "ExpressionStatement", - "src": "20223:93:1" - } - ] - }, - "id": 2602, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20156:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2581, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20168:2:1", - "nodeType": "VariableDeclaration", - "scope": 2602, - "src": "20160:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2580, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20160:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2583, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20180:2:1", - "nodeType": "VariableDeclaration", - "scope": 2602, - "src": "20172:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2582, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20172:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2585, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20192:2:1", - "nodeType": "VariableDeclaration", - "scope": 2602, - "src": "20184:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20184:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2587, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20201:2:1", - "nodeType": "VariableDeclaration", - "scope": 2602, - "src": "20196:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2586, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20196:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20159:45:1" - }, - "returnParameters": { - "id": 2589, - "nodeType": "ParameterList", - "parameters": [], - "src": "20219:0:1" - }, - "scope": 8146, - "src": "20147:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2624, - "nodeType": "Block", - "src": "20398:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c75696e743235362c616464726573732c6164647265737329", - "id": 2616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20442:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56a5d1b1d2f0613b93371fc2b5ec91f6c2ba1375e1e4ff59b5061b56ca88e88d", - "typeString": "literal_string \"log(uint256,uint256,address,address)\"" - }, - "value": "log(uint256,uint256,address,address)" - }, - { - "id": 2617, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2604, - "src": "20482:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2618, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "20486:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2619, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2608, - "src": "20490:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2620, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2610, - "src": "20494:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_56a5d1b1d2f0613b93371fc2b5ec91f6c2ba1375e1e4ff59b5061b56ca88e88d", - "typeString": "literal_string \"log(uint256,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2614, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20418:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20418:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20418:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2613, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20402:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20402:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2623, - "nodeType": "ExpressionStatement", - "src": "20402:96:1" - } - ] - }, - "id": 2625, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20332:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2611, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2604, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20344:2:1", - "nodeType": "VariableDeclaration", - "scope": 2625, - "src": "20336:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2603, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20336:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2606, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20356:2:1", - "nodeType": "VariableDeclaration", - "scope": 2625, - "src": "20348:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2605, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20348:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2608, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20368:2:1", - "nodeType": "VariableDeclaration", - "scope": 2625, - "src": "20360:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2607, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20360:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2610, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20380:2:1", - "nodeType": "VariableDeclaration", - "scope": 2625, - "src": "20372:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2609, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "20372:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "20335:48:1" - }, - "returnParameters": { - "id": 2612, - "nodeType": "ParameterList", - "parameters": [], - "src": "20398:0:1" - }, - "scope": 8146, - "src": "20323:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2647, - "nodeType": "Block", - "src": "20586:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c75696e7432353629", - "id": 2639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20630:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82c25b74e3ddb6ea40e867e0a41af8848bdc6a88fd5e365497c46917573fd66f", - "typeString": "literal_string \"log(uint256,string,uint256,uint256)\"" - }, - "value": "log(uint256,string,uint256,uint256)" - }, - { - "id": 2640, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2627, - "src": "20669:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2641, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2629, - "src": "20673:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2642, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "20677:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2643, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2633, - "src": "20681:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_82c25b74e3ddb6ea40e867e0a41af8848bdc6a88fd5e365497c46917573fd66f", - "typeString": "literal_string \"log(uint256,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2637, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20606:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2638, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20606:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20606:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2636, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20590:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20590:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2646, - "nodeType": "ExpressionStatement", - "src": "20590:95:1" - } - ] - }, - "id": 2648, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20514:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2627, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20526:2:1", - "nodeType": "VariableDeclaration", - "scope": 2648, - "src": "20518:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2626, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20518:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2629, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20544:2:1", - "nodeType": "VariableDeclaration", - "scope": 2648, - "src": "20530:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2628, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20530:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2631, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20556:2:1", - "nodeType": "VariableDeclaration", - "scope": 2648, - "src": "20548:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2630, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20548:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2633, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20568:2:1", - "nodeType": "VariableDeclaration", - "scope": 2648, - "src": "20560:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2632, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20560:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "20517:54:1" - }, - "returnParameters": { - "id": 2635, - "nodeType": "ParameterList", - "parameters": [], - "src": "20586:0:1" - }, - "scope": 8146, - "src": "20505:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2670, - "nodeType": "Block", - "src": "20779:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c737472696e6729", - "id": 2662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20823:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b7b914cad3c94167dcd4b5ef970076918e96b3894a20503b7d3f9648bea8aace", - "typeString": "literal_string \"log(uint256,string,uint256,string)\"" - }, - "value": "log(uint256,string,uint256,string)" - }, - { - "id": 2663, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2650, - "src": "20861:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2664, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2652, - "src": "20865:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2665, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2654, - "src": "20869:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2666, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2656, - "src": "20873:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b7b914cad3c94167dcd4b5ef970076918e96b3894a20503b7d3f9648bea8aace", - "typeString": "literal_string \"log(uint256,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2660, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20799:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2661, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20799:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20799:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2659, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20783:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20783:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2669, - "nodeType": "ExpressionStatement", - "src": "20783:94:1" - } - ] - }, - "id": 2671, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20701:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2657, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2650, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20713:2:1", - "nodeType": "VariableDeclaration", - "scope": 2671, - "src": "20705:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2649, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20705:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2652, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20731:2:1", - "nodeType": "VariableDeclaration", - "scope": 2671, - "src": "20717:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2651, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20717:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2654, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20743:2:1", - "nodeType": "VariableDeclaration", - "scope": 2671, - "src": "20735:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2653, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20735:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2656, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20761:2:1", - "nodeType": "VariableDeclaration", - "scope": 2671, - "src": "20747:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2655, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20747:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "20704:60:1" - }, - "returnParameters": { - "id": 2658, - "nodeType": "ParameterList", - "parameters": [], - "src": "20779:0:1" - }, - "scope": 8146, - "src": "20692:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2693, - "nodeType": "Block", - "src": "20962:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c626f6f6c29", - "id": 2685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21006:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_691a8f74cbf1a313fd1bdfd5dda19feaf4f9deac56f7ca7c4fa6386e5382a03c", - "typeString": "literal_string \"log(uint256,string,uint256,bool)\"" - }, - "value": "log(uint256,string,uint256,bool)" - }, - { - "id": 2686, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2673, - "src": "21042:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2687, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2675, - "src": "21046:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2688, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2677, - "src": "21050:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2689, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2679, - "src": "21054:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_691a8f74cbf1a313fd1bdfd5dda19feaf4f9deac56f7ca7c4fa6386e5382a03c", - "typeString": "literal_string \"log(uint256,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2683, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "20982:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2684, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "20982:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2690, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20982:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2682, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "20966:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "20966:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2692, - "nodeType": "ExpressionStatement", - "src": "20966:92:1" - } - ] - }, - "id": 2694, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "20893:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2680, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2673, - "mutability": "mutable", - "name": "p0", - "nameLocation": "20905:2:1", - "nodeType": "VariableDeclaration", - "scope": 2694, - "src": "20897:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2672, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20897:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2675, - "mutability": "mutable", - "name": "p1", - "nameLocation": "20923:2:1", - "nodeType": "VariableDeclaration", - "scope": 2694, - "src": "20909:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2674, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "20909:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2677, - "mutability": "mutable", - "name": "p2", - "nameLocation": "20935:2:1", - "nodeType": "VariableDeclaration", - "scope": 2694, - "src": "20927:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2676, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "20927:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2679, - "mutability": "mutable", - "name": "p3", - "nameLocation": "20944:2:1", - "nodeType": "VariableDeclaration", - "scope": 2694, - "src": "20939:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2678, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "20939:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "20896:51:1" - }, - "returnParameters": { - "id": 2681, - "nodeType": "ParameterList", - "parameters": [], - "src": "20962:0:1" - }, - "scope": 8146, - "src": "20884:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2716, - "nodeType": "Block", - "src": "21146:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c75696e743235362c6164647265737329", - "id": 2708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21190:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2279b4b3c26cbcd4374acce75e4c447a59a65883d849a72eaa051b3a07ec08", - "typeString": "literal_string \"log(uint256,string,uint256,address)\"" - }, - "value": "log(uint256,string,uint256,address)" - }, - { - "id": 2709, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2696, - "src": "21229:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2710, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2698, - "src": "21233:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2711, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2700, - "src": "21237:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2712, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2702, - "src": "21241:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b2279b4b3c26cbcd4374acce75e4c447a59a65883d849a72eaa051b3a07ec08", - "typeString": "literal_string \"log(uint256,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2706, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21166:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21166:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21166:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2705, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "21150:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21150:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2715, - "nodeType": "ExpressionStatement", - "src": "21150:95:1" - } - ] - }, - "id": 2717, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21074:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2703, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2696, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21086:2:1", - "nodeType": "VariableDeclaration", - "scope": 2717, - "src": "21078:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2695, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21078:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2698, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21104:2:1", - "nodeType": "VariableDeclaration", - "scope": 2717, - "src": "21090:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2697, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21090:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2700, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21116:2:1", - "nodeType": "VariableDeclaration", - "scope": 2717, - "src": "21108:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2699, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21108:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2702, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21128:2:1", - "nodeType": "VariableDeclaration", - "scope": 2717, - "src": "21120:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2701, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21120:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21077:54:1" - }, - "returnParameters": { - "id": 2704, - "nodeType": "ParameterList", - "parameters": [], - "src": "21146:0:1" - }, - "scope": 8146, - "src": "21065:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2739, - "nodeType": "Block", - "src": "21339:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c75696e7432353629", - "id": 2731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21383:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b028c9bd0105e32bab3e2b1b4678f4cd49b1f267c4fcb1899043ad16b67c3dd1", - "typeString": "literal_string \"log(uint256,string,string,uint256)\"" - }, - "value": "log(uint256,string,string,uint256)" - }, - { - "id": 2732, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2719, - "src": "21421:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2733, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2721, - "src": "21425:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2734, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2723, - "src": "21429:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2735, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "21433:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b028c9bd0105e32bab3e2b1b4678f4cd49b1f267c4fcb1899043ad16b67c3dd1", - "typeString": "literal_string \"log(uint256,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2729, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21359:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2730, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21359:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21359:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2728, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "21343:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21343:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2738, - "nodeType": "ExpressionStatement", - "src": "21343:94:1" - } - ] - }, - "id": 2740, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21261:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2719, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21273:2:1", - "nodeType": "VariableDeclaration", - "scope": 2740, - "src": "21265:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2718, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21265:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2721, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21291:2:1", - "nodeType": "VariableDeclaration", - "scope": 2740, - "src": "21277:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2720, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21277:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2723, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21309:2:1", - "nodeType": "VariableDeclaration", - "scope": 2740, - "src": "21295:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2722, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21295:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2725, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21321:2:1", - "nodeType": "VariableDeclaration", - "scope": 2740, - "src": "21313:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21313:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "21264:60:1" - }, - "returnParameters": { - "id": 2727, - "nodeType": "ParameterList", - "parameters": [], - "src": "21339:0:1" - }, - "scope": 8146, - "src": "21252:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2762, - "nodeType": "Block", - "src": "21537:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c737472696e6729", - "id": 2754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21581:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21ad06836085541851abea445814b5a1baf9d3be52c1169a6570c83010dbea5a", - "typeString": "literal_string \"log(uint256,string,string,string)\"" - }, - "value": "log(uint256,string,string,string)" - }, - { - "id": 2755, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2742, - "src": "21618:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2756, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2744, - "src": "21622:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2757, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2746, - "src": "21626:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2758, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2748, - "src": "21630:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_21ad06836085541851abea445814b5a1baf9d3be52c1169a6570c83010dbea5a", - "typeString": "literal_string \"log(uint256,string,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2752, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21557:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2753, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21557:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21557:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2751, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "21541:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21541:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2761, - "nodeType": "ExpressionStatement", - "src": "21541:93:1" - } - ] - }, - "id": 2763, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21453:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2742, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21465:2:1", - "nodeType": "VariableDeclaration", - "scope": 2763, - "src": "21457:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2741, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21457:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2744, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21483:2:1", - "nodeType": "VariableDeclaration", - "scope": 2763, - "src": "21469:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2743, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21469:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2746, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21501:2:1", - "nodeType": "VariableDeclaration", - "scope": 2763, - "src": "21487:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2745, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21487:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2748, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21519:2:1", - "nodeType": "VariableDeclaration", - "scope": 2763, - "src": "21505:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2747, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21505:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "21456:66:1" - }, - "returnParameters": { - "id": 2750, - "nodeType": "ParameterList", - "parameters": [], - "src": "21537:0:1" - }, - "scope": 8146, - "src": "21444:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2785, - "nodeType": "Block", - "src": "21725:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c626f6f6c29", - "id": 2777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21769:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b3a6b6bdf3265665181b9a9ab1338c75ebc293704c96a9a669654a5ba9f6d3e9", - "typeString": "literal_string \"log(uint256,string,string,bool)\"" - }, - "value": "log(uint256,string,string,bool)" - }, - { - "id": 2778, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2765, - "src": "21804:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2779, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2767, - "src": "21808:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2780, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2769, - "src": "21812:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2781, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2771, - "src": "21816:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b3a6b6bdf3265665181b9a9ab1338c75ebc293704c96a9a669654a5ba9f6d3e9", - "typeString": "literal_string \"log(uint256,string,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2775, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21745:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2776, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21745:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21745:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2774, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "21729:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21729:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2784, - "nodeType": "ExpressionStatement", - "src": "21729:91:1" - } - ] - }, - "id": 2786, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21650:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2772, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2765, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21662:2:1", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "21654:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2764, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21654:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2767, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21680:2:1", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "21666:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2766, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21666:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2769, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21698:2:1", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "21684:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2768, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21684:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2771, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21707:2:1", - "nodeType": "VariableDeclaration", - "scope": 2786, - "src": "21702:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2770, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21702:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "21653:57:1" - }, - "returnParameters": { - "id": 2773, - "nodeType": "ParameterList", - "parameters": [], - "src": "21725:0:1" - }, - "scope": 8146, - "src": "21641:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2808, - "nodeType": "Block", - "src": "21914:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c737472696e672c6164647265737329", - "id": 2800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21958:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d583c60265ad086fe6216ef9aea37bf5de1e77bdf9055c734c55781d5f4b81d7", - "typeString": "literal_string \"log(uint256,string,string,address)\"" - }, - "value": "log(uint256,string,string,address)" - }, - { - "id": 2801, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2788, - "src": "21996:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2802, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2790, - "src": "22000:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2803, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2792, - "src": "22004:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2804, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2794, - "src": "22008:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d583c60265ad086fe6216ef9aea37bf5de1e77bdf9055c734c55781d5f4b81d7", - "typeString": "literal_string \"log(uint256,string,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2798, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "21934:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2799, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "21934:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21934:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2797, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "21918:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21918:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2807, - "nodeType": "ExpressionStatement", - "src": "21918:94:1" - } - ] - }, - "id": 2809, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "21836:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2788, - "mutability": "mutable", - "name": "p0", - "nameLocation": "21848:2:1", - "nodeType": "VariableDeclaration", - "scope": 2809, - "src": "21840:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2787, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "21840:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2790, - "mutability": "mutable", - "name": "p1", - "nameLocation": "21866:2:1", - "nodeType": "VariableDeclaration", - "scope": 2809, - "src": "21852:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2789, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21852:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2792, - "mutability": "mutable", - "name": "p2", - "nameLocation": "21884:2:1", - "nodeType": "VariableDeclaration", - "scope": 2809, - "src": "21870:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2791, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "21870:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2794, - "mutability": "mutable", - "name": "p3", - "nameLocation": "21896:2:1", - "nodeType": "VariableDeclaration", - "scope": 2809, - "src": "21888:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2793, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21888:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "21839:60:1" - }, - "returnParameters": { - "id": 2796, - "nodeType": "ParameterList", - "parameters": [], - "src": "21914:0:1" - }, - "scope": 8146, - "src": "21827:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2831, - "nodeType": "Block", - "src": "22097:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c75696e7432353629", - "id": 2823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22141:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf00988004d982e10d8d4fa7f603a1414e3b2b91cdfcf6f72808ca6c3100f96a", - "typeString": "literal_string \"log(uint256,string,bool,uint256)\"" - }, - "value": "log(uint256,string,bool,uint256)" - }, - { - "id": 2824, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2811, - "src": "22177:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2825, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2813, - "src": "22181:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2826, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2815, - "src": "22185:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2827, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2817, - "src": "22189:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf00988004d982e10d8d4fa7f603a1414e3b2b91cdfcf6f72808ca6c3100f96a", - "typeString": "literal_string \"log(uint256,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2821, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22117:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2822, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22117:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2828, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22117:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2820, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "22101:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22101:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2830, - "nodeType": "ExpressionStatement", - "src": "22101:92:1" - } - ] - }, - "id": 2832, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22028:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2811, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22040:2:1", - "nodeType": "VariableDeclaration", - "scope": 2832, - "src": "22032:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22032:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2813, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22058:2:1", - "nodeType": "VariableDeclaration", - "scope": 2832, - "src": "22044:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2812, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22044:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2815, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22067:2:1", - "nodeType": "VariableDeclaration", - "scope": 2832, - "src": "22062:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2814, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22062:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2817, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22079:2:1", - "nodeType": "VariableDeclaration", - "scope": 2832, - "src": "22071:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2816, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22071:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22031:51:1" - }, - "returnParameters": { - "id": 2819, - "nodeType": "ParameterList", - "parameters": [], - "src": "22097:0:1" - }, - "scope": 8146, - "src": "22019:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2854, - "nodeType": "Block", - "src": "22284:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c737472696e6729", - "id": 2846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22328:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d2d423cdca0e3ae7a0a1a283a67d891c85787b75e0c5291c02d15317d67fe45c", - "typeString": "literal_string \"log(uint256,string,bool,string)\"" - }, - "value": "log(uint256,string,bool,string)" - }, - { - "id": 2847, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2834, - "src": "22363:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2848, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2836, - "src": "22367:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2849, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2838, - "src": "22371:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2850, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "22375:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d2d423cdca0e3ae7a0a1a283a67d891c85787b75e0c5291c02d15317d67fe45c", - "typeString": "literal_string \"log(uint256,string,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2844, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22304:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2845, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22304:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22304:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2843, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "22288:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22288:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2853, - "nodeType": "ExpressionStatement", - "src": "22288:91:1" - } - ] - }, - "id": 2855, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22209:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2834, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22221:2:1", - "nodeType": "VariableDeclaration", - "scope": 2855, - "src": "22213:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2833, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22213:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2836, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22239:2:1", - "nodeType": "VariableDeclaration", - "scope": 2855, - "src": "22225:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2835, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22225:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2838, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22248:2:1", - "nodeType": "VariableDeclaration", - "scope": 2855, - "src": "22243:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22243:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2840, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22266:2:1", - "nodeType": "VariableDeclaration", - "scope": 2855, - "src": "22252:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2839, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22252:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22212:57:1" - }, - "returnParameters": { - "id": 2842, - "nodeType": "ParameterList", - "parameters": [], - "src": "22284:0:1" - }, - "scope": 8146, - "src": "22200:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2877, - "nodeType": "Block", - "src": "22461:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c626f6f6c29", - "id": 2869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22505:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ba535d9cec0fb8bbd83e61b83d0f575d149cba6778a192239c1bdc5170053e4f", - "typeString": "literal_string \"log(uint256,string,bool,bool)\"" - }, - "value": "log(uint256,string,bool,bool)" - }, - { - "id": 2870, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2857, - "src": "22538:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2871, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "22542:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2872, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2861, - "src": "22546:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2873, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2863, - "src": "22550:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ba535d9cec0fb8bbd83e61b83d0f575d149cba6778a192239c1bdc5170053e4f", - "typeString": "literal_string \"log(uint256,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2867, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22481:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22481:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2874, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22481:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2866, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "22465:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22465:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2876, - "nodeType": "ExpressionStatement", - "src": "22465:89:1" - } - ] - }, - "id": 2878, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22395:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2857, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22407:2:1", - "nodeType": "VariableDeclaration", - "scope": 2878, - "src": "22399:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2856, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22399:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2859, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22425:2:1", - "nodeType": "VariableDeclaration", - "scope": 2878, - "src": "22411:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2858, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22411:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2861, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22434:2:1", - "nodeType": "VariableDeclaration", - "scope": 2878, - "src": "22429:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2860, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22429:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2863, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22443:2:1", - "nodeType": "VariableDeclaration", - "scope": 2878, - "src": "22438:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2862, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22438:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "22398:48:1" - }, - "returnParameters": { - "id": 2865, - "nodeType": "ParameterList", - "parameters": [], - "src": "22461:0:1" - }, - "scope": 8146, - "src": "22386:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2900, - "nodeType": "Block", - "src": "22639:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c626f6f6c2c6164647265737329", - "id": 2892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22683:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ae2ec581fba979c4f79aae94f13936ff6bb7e283817b2ec0602d9daa028a1550", - "typeString": "literal_string \"log(uint256,string,bool,address)\"" - }, - "value": "log(uint256,string,bool,address)" - }, - { - "id": 2893, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2880, - "src": "22719:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2894, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2882, - "src": "22723:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2895, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2884, - "src": "22727:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 2896, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2886, - "src": "22731:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ae2ec581fba979c4f79aae94f13936ff6bb7e283817b2ec0602d9daa028a1550", - "typeString": "literal_string \"log(uint256,string,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2890, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22659:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2891, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22659:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2897, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22659:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2889, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "22643:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22643:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2899, - "nodeType": "ExpressionStatement", - "src": "22643:92:1" - } - ] - }, - "id": 2901, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22570:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2880, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22582:2:1", - "nodeType": "VariableDeclaration", - "scope": 2901, - "src": "22574:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2879, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22574:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2882, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22600:2:1", - "nodeType": "VariableDeclaration", - "scope": 2901, - "src": "22586:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2881, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22586:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2884, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22609:2:1", - "nodeType": "VariableDeclaration", - "scope": 2901, - "src": "22604:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2883, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "22604:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2886, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22621:2:1", - "nodeType": "VariableDeclaration", - "scope": 2901, - "src": "22613:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22613:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "22573:51:1" - }, - "returnParameters": { - "id": 2888, - "nodeType": "ParameterList", - "parameters": [], - "src": "22639:0:1" - }, - "scope": 8146, - "src": "22561:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2923, - "nodeType": "Block", - "src": "22823:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c75696e7432353629", - "id": 2915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22867:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e8d3018d32ee5012095e63c81679b366f06035e83d43be351e9c327886860908", - "typeString": "literal_string \"log(uint256,string,address,uint256)\"" - }, - "value": "log(uint256,string,address,uint256)" - }, - { - "id": 2916, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2903, - "src": "22906:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2917, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2905, - "src": "22910:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2918, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2907, - "src": "22914:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2919, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2909, - "src": "22918:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e8d3018d32ee5012095e63c81679b366f06035e83d43be351e9c327886860908", - "typeString": "literal_string \"log(uint256,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 2913, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "22843:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2914, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "22843:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22843:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2912, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "22827:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22827:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2922, - "nodeType": "ExpressionStatement", - "src": "22827:95:1" - } - ] - }, - "id": 2924, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22751:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2910, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2903, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22763:2:1", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "22755:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2902, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22755:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2905, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22781:2:1", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "22767:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2904, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22767:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2907, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22793:2:1", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "22785:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2906, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22785:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2909, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22805:2:1", - "nodeType": "VariableDeclaration", - "scope": 2924, - "src": "22797:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2908, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22797:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "22754:54:1" - }, - "returnParameters": { - "id": 2911, - "nodeType": "ParameterList", - "parameters": [], - "src": "22823:0:1" - }, - "scope": 8146, - "src": "22742:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2946, - "nodeType": "Block", - "src": "23016:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c737472696e6729", - "id": 2938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23060:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9c3adfa1394c3989d93ade538d03d04b05867057c1dd54721ae2c85f9a1a4720", - "typeString": "literal_string \"log(uint256,string,address,string)\"" - }, - "value": "log(uint256,string,address,string)" - }, - { - "id": 2939, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2926, - "src": "23098:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2940, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2928, - "src": "23102:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2941, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2930, - "src": "23106:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2942, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2932, - "src": "23110:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9c3adfa1394c3989d93ade538d03d04b05867057c1dd54721ae2c85f9a1a4720", - "typeString": "literal_string \"log(uint256,string,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 2936, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23036:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23036:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23036:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2935, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23020:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23020:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2945, - "nodeType": "ExpressionStatement", - "src": "23020:94:1" - } - ] - }, - "id": 2947, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "22938:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2926, - "mutability": "mutable", - "name": "p0", - "nameLocation": "22950:2:1", - "nodeType": "VariableDeclaration", - "scope": 2947, - "src": "22942:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2925, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "22942:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2928, - "mutability": "mutable", - "name": "p1", - "nameLocation": "22968:2:1", - "nodeType": "VariableDeclaration", - "scope": 2947, - "src": "22954:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2927, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22954:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2930, - "mutability": "mutable", - "name": "p2", - "nameLocation": "22980:2:1", - "nodeType": "VariableDeclaration", - "scope": 2947, - "src": "22972:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2929, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "22972:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2932, - "mutability": "mutable", - "name": "p3", - "nameLocation": "22998:2:1", - "nodeType": "VariableDeclaration", - "scope": 2947, - "src": "22984:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2931, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "22984:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "22941:60:1" - }, - "returnParameters": { - "id": 2934, - "nodeType": "ParameterList", - "parameters": [], - "src": "23016:0:1" - }, - "scope": 8146, - "src": "22929:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2969, - "nodeType": "Block", - "src": "23199:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c626f6f6c29", - "id": 2961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23243:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90c30a564e5b352d6dfee73888402a5685ca327aad7827d5040904440ee085c5", - "typeString": "literal_string \"log(uint256,string,address,bool)\"" - }, - "value": "log(uint256,string,address,bool)" - }, - { - "id": 2962, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2949, - "src": "23279:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2963, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "23283:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2964, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "23287:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2965, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2955, - "src": "23291:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90c30a564e5b352d6dfee73888402a5685ca327aad7827d5040904440ee085c5", - "typeString": "literal_string \"log(uint256,string,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 2959, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23219:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2960, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23219:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2966, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23219:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2958, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23203:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23203:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2968, - "nodeType": "ExpressionStatement", - "src": "23203:92:1" - } - ] - }, - "id": 2970, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23130:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2956, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2949, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23142:2:1", - "nodeType": "VariableDeclaration", - "scope": 2970, - "src": "23134:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2948, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23134:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2951, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23160:2:1", - "nodeType": "VariableDeclaration", - "scope": 2970, - "src": "23146:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2950, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23146:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2953, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23172:2:1", - "nodeType": "VariableDeclaration", - "scope": 2970, - "src": "23164:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2952, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23164:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2955, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23181:2:1", - "nodeType": "VariableDeclaration", - "scope": 2970, - "src": "23176:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2954, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23176:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23133:51:1" - }, - "returnParameters": { - "id": 2957, - "nodeType": "ParameterList", - "parameters": [], - "src": "23199:0:1" - }, - "scope": 8146, - "src": "23121:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 2992, - "nodeType": "Block", - "src": "23383:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c737472696e672c616464726573732c6164647265737329", - "id": 2984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23427:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6168ed618844a2c75dc49207e69cdff562cd2faf2e74aa5192211a023611c6bd", - "typeString": "literal_string \"log(uint256,string,address,address)\"" - }, - "value": "log(uint256,string,address,address)" - }, - { - "id": 2985, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2972, - "src": "23466:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 2986, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2974, - "src": "23470:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 2987, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2976, - "src": "23474:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 2988, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2978, - "src": "23478:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6168ed618844a2c75dc49207e69cdff562cd2faf2e74aa5192211a023611c6bd", - "typeString": "literal_string \"log(uint256,string,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 2982, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23403:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 2983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23403:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 2989, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23403:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 2981, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23387:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 2990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23387:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 2991, - "nodeType": "ExpressionStatement", - "src": "23387:95:1" - } - ] - }, - "id": 2993, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23311:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 2979, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2972, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23323:2:1", - "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "23315:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2971, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23315:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2974, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23341:2:1", - "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "23327:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2973, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23327:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2976, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23353:2:1", - "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "23345:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2975, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23345:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2978, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23365:2:1", - "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "23357:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2977, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23357:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "23314:54:1" - }, - "returnParameters": { - "id": 2980, - "nodeType": "ParameterList", - "parameters": [], - "src": "23383:0:1" - }, - "scope": 8146, - "src": "23302:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3015, - "nodeType": "Block", - "src": "23561:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c75696e7432353629", - "id": 3007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23605:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c6acc7a8396e6de9a5a1476aecf2cbff57758b174747b0371b7f3994e930b8b4", - "typeString": "literal_string \"log(uint256,bool,uint256,uint256)\"" - }, - "value": "log(uint256,bool,uint256,uint256)" - }, - { - "id": 3008, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2995, - "src": "23642:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3009, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2997, - "src": "23646:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3010, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2999, - "src": "23650:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3011, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3001, - "src": "23654:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c6acc7a8396e6de9a5a1476aecf2cbff57758b174747b0371b7f3994e930b8b4", - "typeString": "literal_string \"log(uint256,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3005, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23581:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23581:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23581:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3004, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23565:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23565:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3014, - "nodeType": "ExpressionStatement", - "src": "23565:93:1" - } - ] - }, - "id": 3016, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23498:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 2995, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23510:2:1", - "nodeType": "VariableDeclaration", - "scope": 3016, - "src": "23502:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2994, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23502:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2997, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23519:2:1", - "nodeType": "VariableDeclaration", - "scope": 3016, - "src": "23514:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 2996, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23514:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 2999, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23531:2:1", - "nodeType": "VariableDeclaration", - "scope": 3016, - "src": "23523:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 2998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23523:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3001, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23543:2:1", - "nodeType": "VariableDeclaration", - "scope": 3016, - "src": "23535:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23535:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "23501:45:1" - }, - "returnParameters": { - "id": 3003, - "nodeType": "ParameterList", - "parameters": [], - "src": "23561:0:1" - }, - "scope": 8146, - "src": "23489:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3038, - "nodeType": "Block", - "src": "23743:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c737472696e6729", - "id": 3030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23787:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de03e77403acbacf9b1b18c1115984c9fba2c45e2eec9f12c266ada3f62a0d1b", - "typeString": "literal_string \"log(uint256,bool,uint256,string)\"" - }, - "value": "log(uint256,bool,uint256,string)" - }, - { - "id": 3031, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3018, - "src": "23823:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3032, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3020, - "src": "23827:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3033, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3022, - "src": "23831:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3034, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3024, - "src": "23835:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de03e77403acbacf9b1b18c1115984c9fba2c45e2eec9f12c266ada3f62a0d1b", - "typeString": "literal_string \"log(uint256,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3028, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23763:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3029, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23763:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3035, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23763:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3027, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23747:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23747:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3037, - "nodeType": "ExpressionStatement", - "src": "23747:92:1" - } - ] - }, - "id": 3039, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23674:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3025, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3018, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23686:2:1", - "nodeType": "VariableDeclaration", - "scope": 3039, - "src": "23678:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3017, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23678:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3020, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23695:2:1", - "nodeType": "VariableDeclaration", - "scope": 3039, - "src": "23690:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3019, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23690:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3022, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23707:2:1", - "nodeType": "VariableDeclaration", - "scope": 3039, - "src": "23699:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3021, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23699:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3024, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23725:2:1", - "nodeType": "VariableDeclaration", - "scope": 3039, - "src": "23711:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3023, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "23711:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "23677:51:1" - }, - "returnParameters": { - "id": 3026, - "nodeType": "ParameterList", - "parameters": [], - "src": "23743:0:1" - }, - "scope": 8146, - "src": "23665:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3061, - "nodeType": "Block", - "src": "23915:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c626f6f6c29", - "id": 3053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "23959:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91a02e2ac8ae09683fa28beba3fd130b88054c89e51901b8e0510c8e25aa37d1", - "typeString": "literal_string \"log(uint256,bool,uint256,bool)\"" - }, - "value": "log(uint256,bool,uint256,bool)" - }, - { - "id": 3054, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3041, - "src": "23993:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3055, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3043, - "src": "23997:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3056, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "24001:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3057, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "24005:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91a02e2ac8ae09683fa28beba3fd130b88054c89e51901b8e0510c8e25aa37d1", - "typeString": "literal_string \"log(uint256,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3051, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "23935:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "23935:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23935:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3050, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "23919:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "23919:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3060, - "nodeType": "ExpressionStatement", - "src": "23919:90:1" - } - ] - }, - "id": 3062, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "23855:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3048, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3041, - "mutability": "mutable", - "name": "p0", - "nameLocation": "23867:2:1", - "nodeType": "VariableDeclaration", - "scope": 3062, - "src": "23859:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3040, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23859:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3043, - "mutability": "mutable", - "name": "p1", - "nameLocation": "23876:2:1", - "nodeType": "VariableDeclaration", - "scope": 3062, - "src": "23871:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3042, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23871:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3045, - "mutability": "mutable", - "name": "p2", - "nameLocation": "23888:2:1", - "nodeType": "VariableDeclaration", - "scope": 3062, - "src": "23880:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3044, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23880:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3047, - "mutability": "mutable", - "name": "p3", - "nameLocation": "23897:2:1", - "nodeType": "VariableDeclaration", - "scope": 3062, - "src": "23892:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3046, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "23892:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "23858:42:1" - }, - "returnParameters": { - "id": 3049, - "nodeType": "ParameterList", - "parameters": [], - "src": "23915:0:1" - }, - "scope": 8146, - "src": "23846:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3084, - "nodeType": "Block", - "src": "24088:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c75696e743235362c6164647265737329", - "id": 3076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24132:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88cb6041693b97a5282ad65a65484c065fbc3d3a4dac698c427f5b30bb33b29b", - "typeString": "literal_string \"log(uint256,bool,uint256,address)\"" - }, - "value": "log(uint256,bool,uint256,address)" - }, - { - "id": 3077, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3064, - "src": "24169:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3078, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3066, - "src": "24173:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3079, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3068, - "src": "24177:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3080, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3070, - "src": "24181:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88cb6041693b97a5282ad65a65484c065fbc3d3a4dac698c427f5b30bb33b29b", - "typeString": "literal_string \"log(uint256,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3074, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24108:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3075, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24108:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24108:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3073, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24092:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24092:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3083, - "nodeType": "ExpressionStatement", - "src": "24092:93:1" - } - ] - }, - "id": 3085, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24025:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3071, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3064, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24037:2:1", - "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "24029:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24029:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3066, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24046:2:1", - "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "24041:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3065, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24041:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3068, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24058:2:1", - "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "24050:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3067, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24050:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3070, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24070:2:1", - "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "24062:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24062:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24028:45:1" - }, - "returnParameters": { - "id": 3072, - "nodeType": "ParameterList", - "parameters": [], - "src": "24088:0:1" - }, - "scope": 8146, - "src": "24016:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3107, - "nodeType": "Block", - "src": "24270:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c75696e7432353629", - "id": 3099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24314:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1d07463509a567bf9962980ac948a2ea7c76a53c189a607b7b35b14e806be8", - "typeString": "literal_string \"log(uint256,bool,string,uint256)\"" - }, - "value": "log(uint256,bool,string,uint256)" - }, - { - "id": 3100, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3087, - "src": "24350:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3101, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3089, - "src": "24354:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3102, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3091, - "src": "24358:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3103, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "24362:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c1d07463509a567bf9962980ac948a2ea7c76a53c189a607b7b35b14e806be8", - "typeString": "literal_string \"log(uint256,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3097, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24290:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3098, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24290:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24290:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3096, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24274:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24274:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3106, - "nodeType": "ExpressionStatement", - "src": "24274:92:1" - } - ] - }, - "id": 3108, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24201:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3087, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24213:2:1", - "nodeType": "VariableDeclaration", - "scope": 3108, - "src": "24205:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3086, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24205:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3089, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24222:2:1", - "nodeType": "VariableDeclaration", - "scope": 3108, - "src": "24217:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3088, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24217:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3091, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24240:2:1", - "nodeType": "VariableDeclaration", - "scope": 3108, - "src": "24226:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3090, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24226:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3093, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24252:2:1", - "nodeType": "VariableDeclaration", - "scope": 3108, - "src": "24244:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24244:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24204:51:1" - }, - "returnParameters": { - "id": 3095, - "nodeType": "ParameterList", - "parameters": [], - "src": "24270:0:1" - }, - "scope": 8146, - "src": "24192:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3130, - "nodeType": "Block", - "src": "24457:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c737472696e6729", - "id": 3122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24501:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_68c8b8bd8cd0cfd8add7c6745840520db0bd1049365ac415de6367b3b79b5ddd", - "typeString": "literal_string \"log(uint256,bool,string,string)\"" - }, - "value": "log(uint256,bool,string,string)" - }, - { - "id": 3123, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3110, - "src": "24536:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3124, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3112, - "src": "24540:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3125, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3114, - "src": "24544:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3126, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3116, - "src": "24548:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_68c8b8bd8cd0cfd8add7c6745840520db0bd1049365ac415de6367b3b79b5ddd", - "typeString": "literal_string \"log(uint256,bool,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3120, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24477:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24477:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24477:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3119, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24461:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24461:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3129, - "nodeType": "ExpressionStatement", - "src": "24461:91:1" - } - ] - }, - "id": 3131, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24382:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3117, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3110, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24394:2:1", - "nodeType": "VariableDeclaration", - "scope": 3131, - "src": "24386:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24386:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3112, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24403:2:1", - "nodeType": "VariableDeclaration", - "scope": 3131, - "src": "24398:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3111, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24398:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3114, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24421:2:1", - "nodeType": "VariableDeclaration", - "scope": 3131, - "src": "24407:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3113, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24407:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3116, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24439:2:1", - "nodeType": "VariableDeclaration", - "scope": 3131, - "src": "24425:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3115, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24425:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "24385:57:1" - }, - "returnParameters": { - "id": 3118, - "nodeType": "ParameterList", - "parameters": [], - "src": "24457:0:1" - }, - "scope": 8146, - "src": "24373:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3153, - "nodeType": "Block", - "src": "24634:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c626f6f6c29", - "id": 3145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24678:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb928d7f2c458ba40d8ba853c60153b2f73ca9189d4be051103bc8a6c10d45ad", - "typeString": "literal_string \"log(uint256,bool,string,bool)\"" - }, - "value": "log(uint256,bool,string,bool)" - }, - { - "id": 3146, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3133, - "src": "24711:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3147, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3135, - "src": "24715:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3148, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3137, - "src": "24719:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3149, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3139, - "src": "24723:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb928d7f2c458ba40d8ba853c60153b2f73ca9189d4be051103bc8a6c10d45ad", - "typeString": "literal_string \"log(uint256,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24654:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24654:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3150, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24654:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3142, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24638:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24638:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3152, - "nodeType": "ExpressionStatement", - "src": "24638:89:1" - } - ] - }, - "id": 3154, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24568:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3140, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3133, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24580:2:1", - "nodeType": "VariableDeclaration", - "scope": 3154, - "src": "24572:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3132, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24572:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3135, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24589:2:1", - "nodeType": "VariableDeclaration", - "scope": 3154, - "src": "24584:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3134, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24584:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3137, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24607:2:1", - "nodeType": "VariableDeclaration", - "scope": 3154, - "src": "24593:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3136, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24593:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3139, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24616:2:1", - "nodeType": "VariableDeclaration", - "scope": 3154, - "src": "24611:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3138, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24611:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "24571:48:1" - }, - "returnParameters": { - "id": 3141, - "nodeType": "ParameterList", - "parameters": [], - "src": "24634:0:1" - }, - "scope": 8146, - "src": "24559:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3176, - "nodeType": "Block", - "src": "24812:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c737472696e672c6164647265737329", - "id": 3168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "24856:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef529018e81552426f837435fb92b39b88965df2736546faff28c9f06e5f58b5", - "typeString": "literal_string \"log(uint256,bool,string,address)\"" - }, - "value": "log(uint256,bool,string,address)" - }, - { - "id": 3169, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3156, - "src": "24892:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3170, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3158, - "src": "24896:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3171, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3160, - "src": "24900:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3172, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3162, - "src": "24904:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef529018e81552426f837435fb92b39b88965df2736546faff28c9f06e5f58b5", - "typeString": "literal_string \"log(uint256,bool,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "24832:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "24832:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24832:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3165, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24816:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24816:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3175, - "nodeType": "ExpressionStatement", - "src": "24816:92:1" - } - ] - }, - "id": 3177, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24743:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3163, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3156, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24755:2:1", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "24747:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24747:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3158, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24764:2:1", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "24759:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3157, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24759:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3160, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24782:2:1", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "24768:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3159, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24768:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3162, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24794:2:1", - "nodeType": "VariableDeclaration", - "scope": 3177, - "src": "24786:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3161, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "24786:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "24746:51:1" - }, - "returnParameters": { - "id": 3164, - "nodeType": "ParameterList", - "parameters": [], - "src": "24812:0:1" - }, - "scope": 8146, - "src": "24734:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3199, - "nodeType": "Block", - "src": "24984:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 3191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25028:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7464ce2380e6490f75dd524dd03612157b27bca22ecbf1bc2f0ca22ac41015d1", - "typeString": "literal_string \"log(uint256,bool,bool,uint256)\"" - }, - "value": "log(uint256,bool,bool,uint256)" - }, - { - "id": 3192, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3179, - "src": "25062:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3193, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3181, - "src": "25066:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3194, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3183, - "src": "25070:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3195, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3185, - "src": "25074:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7464ce2380e6490f75dd524dd03612157b27bca22ecbf1bc2f0ca22ac41015d1", - "typeString": "literal_string \"log(uint256,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3189, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25004:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25004:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25004:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3188, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "24988:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24988:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3198, - "nodeType": "ExpressionStatement", - "src": "24988:90:1" - } - ] - }, - "id": 3200, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "24924:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3186, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3179, - "mutability": "mutable", - "name": "p0", - "nameLocation": "24936:2:1", - "nodeType": "VariableDeclaration", - "scope": 3200, - "src": "24928:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3178, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24928:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3181, - "mutability": "mutable", - "name": "p1", - "nameLocation": "24945:2:1", - "nodeType": "VariableDeclaration", - "scope": 3200, - "src": "24940:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3180, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24940:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3183, - "mutability": "mutable", - "name": "p2", - "nameLocation": "24954:2:1", - "nodeType": "VariableDeclaration", - "scope": 3200, - "src": "24949:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3182, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "24949:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3185, - "mutability": "mutable", - "name": "p3", - "nameLocation": "24966:2:1", - "nodeType": "VariableDeclaration", - "scope": 3200, - "src": "24958:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3184, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "24958:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "24927:42:1" - }, - "returnParameters": { - "id": 3187, - "nodeType": "ParameterList", - "parameters": [], - "src": "24984:0:1" - }, - "scope": 8146, - "src": "24915:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3222, - "nodeType": "Block", - "src": "25160:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c737472696e6729", - "id": 3214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25204:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dddb956172e374c580dd136b5b8151c6400d22ece6b561a1010b6b9e902dd439", - "typeString": "literal_string \"log(uint256,bool,bool,string)\"" - }, - "value": "log(uint256,bool,bool,string)" - }, - { - "id": 3215, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3202, - "src": "25237:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3216, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3204, - "src": "25241:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3217, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3206, - "src": "25245:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3218, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3208, - "src": "25249:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dddb956172e374c580dd136b5b8151c6400d22ece6b561a1010b6b9e902dd439", - "typeString": "literal_string \"log(uint256,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3212, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25180:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3213, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25180:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25180:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3211, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "25164:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25164:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3221, - "nodeType": "ExpressionStatement", - "src": "25164:89:1" - } - ] - }, - "id": 3223, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25094:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3202, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25106:2:1", - "nodeType": "VariableDeclaration", - "scope": 3223, - "src": "25098:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3201, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25098:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3204, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25115:2:1", - "nodeType": "VariableDeclaration", - "scope": 3223, - "src": "25110:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3203, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25110:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3206, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25124:2:1", - "nodeType": "VariableDeclaration", - "scope": 3223, - "src": "25119:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3205, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25119:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3208, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25142:2:1", - "nodeType": "VariableDeclaration", - "scope": 3223, - "src": "25128:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3207, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25128:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25097:48:1" - }, - "returnParameters": { - "id": 3210, - "nodeType": "ParameterList", - "parameters": [], - "src": "25160:0:1" - }, - "scope": 8146, - "src": "25085:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3245, - "nodeType": "Block", - "src": "25326:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 3237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25370:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b6f577a1520f8fa7d40eaff9dcd5f293e28b7606bd07d0a450b13db93da80473", - "typeString": "literal_string \"log(uint256,bool,bool,bool)\"" - }, - "value": "log(uint256,bool,bool,bool)" - }, - { - "id": 3238, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3225, - "src": "25401:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3239, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3227, - "src": "25405:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3240, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3229, - "src": "25409:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3241, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3231, - "src": "25413:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b6f577a1520f8fa7d40eaff9dcd5f293e28b7606bd07d0a450b13db93da80473", - "typeString": "literal_string \"log(uint256,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3235, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25346:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3236, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25346:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25346:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3234, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "25330:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25330:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3244, - "nodeType": "ExpressionStatement", - "src": "25330:87:1" - } - ] - }, - "id": 3246, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25269:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3232, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3225, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25281:2:1", - "nodeType": "VariableDeclaration", - "scope": 3246, - "src": "25273:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3224, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25273:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3227, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25290:2:1", - "nodeType": "VariableDeclaration", - "scope": 3246, - "src": "25285:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3226, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25285:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3229, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25299:2:1", - "nodeType": "VariableDeclaration", - "scope": 3246, - "src": "25294:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3228, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25294:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3231, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25308:2:1", - "nodeType": "VariableDeclaration", - "scope": 3246, - "src": "25303:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3230, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25303:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25272:39:1" - }, - "returnParameters": { - "id": 3233, - "nodeType": "ParameterList", - "parameters": [], - "src": "25326:0:1" - }, - "scope": 8146, - "src": "25260:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3268, - "nodeType": "Block", - "src": "25493:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c626f6f6c2c6164647265737329", - "id": 3260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25537:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_69640b598ea5b9e4e68e932871cb8a509ce832c6718a902773532568b8c95c31", - "typeString": "literal_string \"log(uint256,bool,bool,address)\"" - }, - "value": "log(uint256,bool,bool,address)" - }, - { - "id": 3261, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3248, - "src": "25571:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3262, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3250, - "src": "25575:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3263, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3252, - "src": "25579:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3264, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3254, - "src": "25583:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_69640b598ea5b9e4e68e932871cb8a509ce832c6718a902773532568b8c95c31", - "typeString": "literal_string \"log(uint256,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3258, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25513:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25513:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3265, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25513:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3257, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "25497:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25497:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3267, - "nodeType": "ExpressionStatement", - "src": "25497:90:1" - } - ] - }, - "id": 3269, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25433:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3255, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3248, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25445:2:1", - "nodeType": "VariableDeclaration", - "scope": 3269, - "src": "25437:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3247, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25437:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3250, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25454:2:1", - "nodeType": "VariableDeclaration", - "scope": 3269, - "src": "25449:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3249, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25449:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3252, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25463:2:1", - "nodeType": "VariableDeclaration", - "scope": 3269, - "src": "25458:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3251, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25458:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3254, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25475:2:1", - "nodeType": "VariableDeclaration", - "scope": 3269, - "src": "25467:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3253, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25467:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "25436:42:1" - }, - "returnParameters": { - "id": 3256, - "nodeType": "ParameterList", - "parameters": [], - "src": "25493:0:1" - }, - "scope": 8146, - "src": "25424:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3291, - "nodeType": "Block", - "src": "25666:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c75696e7432353629", - "id": 3283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25710:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_078287f5d654caee11cca90bb8c074a9529509cd07319dc17a93fa036ea5ea88", - "typeString": "literal_string \"log(uint256,bool,address,uint256)\"" - }, - "value": "log(uint256,bool,address,uint256)" - }, - { - "id": 3284, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3271, - "src": "25747:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3285, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3273, - "src": "25751:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3286, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3275, - "src": "25755:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3287, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3277, - "src": "25759:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_078287f5d654caee11cca90bb8c074a9529509cd07319dc17a93fa036ea5ea88", - "typeString": "literal_string \"log(uint256,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3281, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25686:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3282, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25686:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3288, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25686:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3280, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "25670:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25670:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3290, - "nodeType": "ExpressionStatement", - "src": "25670:93:1" - } - ] - }, - "id": 3292, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25603:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3271, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25615:2:1", - "nodeType": "VariableDeclaration", - "scope": 3292, - "src": "25607:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25607:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3273, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25624:2:1", - "nodeType": "VariableDeclaration", - "scope": 3292, - "src": "25619:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3272, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25619:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3275, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25636:2:1", - "nodeType": "VariableDeclaration", - "scope": 3292, - "src": "25628:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3274, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25628:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3277, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25648:2:1", - "nodeType": "VariableDeclaration", - "scope": 3292, - "src": "25640:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3276, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25640:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "25606:45:1" - }, - "returnParameters": { - "id": 3279, - "nodeType": "ParameterList", - "parameters": [], - "src": "25666:0:1" - }, - "scope": 8146, - "src": "25594:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3314, - "nodeType": "Block", - "src": "25848:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c737472696e6729", - "id": 3306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "25892:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ade052c70a8f7736e3d4ca12bfb5de52ba51cd4551a71eb41200e5ca9b193461", - "typeString": "literal_string \"log(uint256,bool,address,string)\"" - }, - "value": "log(uint256,bool,address,string)" - }, - { - "id": 3307, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3294, - "src": "25928:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3308, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3296, - "src": "25932:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3309, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3298, - "src": "25936:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3310, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3300, - "src": "25940:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ade052c70a8f7736e3d4ca12bfb5de52ba51cd4551a71eb41200e5ca9b193461", - "typeString": "literal_string \"log(uint256,bool,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3304, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "25868:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "25868:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25868:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3303, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "25852:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25852:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3313, - "nodeType": "ExpressionStatement", - "src": "25852:92:1" - } - ] - }, - "id": 3315, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25779:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3301, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3294, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25791:2:1", - "nodeType": "VariableDeclaration", - "scope": 3315, - "src": "25783:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25783:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3296, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25800:2:1", - "nodeType": "VariableDeclaration", - "scope": 3315, - "src": "25795:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3295, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25795:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3298, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25812:2:1", - "nodeType": "VariableDeclaration", - "scope": 3315, - "src": "25804:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3297, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25804:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3300, - "mutability": "mutable", - "name": "p3", - "nameLocation": "25830:2:1", - "nodeType": "VariableDeclaration", - "scope": 3315, - "src": "25816:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3299, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "25816:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "25782:51:1" - }, - "returnParameters": { - "id": 3302, - "nodeType": "ParameterList", - "parameters": [], - "src": "25848:0:1" - }, - "scope": 8146, - "src": "25770:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3337, - "nodeType": "Block", - "src": "26020:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c626f6f6c29", - "id": 3329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26064:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_454d54a5a1119d55883b5fbee0d6f19af54017eb1650d2284224aac472880f6a", - "typeString": "literal_string \"log(uint256,bool,address,bool)\"" - }, - "value": "log(uint256,bool,address,bool)" - }, - { - "id": 3330, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3317, - "src": "26098:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3331, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3319, - "src": "26102:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3332, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3321, - "src": "26106:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3333, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3323, - "src": "26110:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_454d54a5a1119d55883b5fbee0d6f19af54017eb1650d2284224aac472880f6a", - "typeString": "literal_string \"log(uint256,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3327, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26040:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26040:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3334, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26040:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3326, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26024:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26024:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3336, - "nodeType": "ExpressionStatement", - "src": "26024:90:1" - } - ] - }, - "id": 3338, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "25960:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3324, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3317, - "mutability": "mutable", - "name": "p0", - "nameLocation": "25972:2:1", - "nodeType": "VariableDeclaration", - "scope": 3338, - "src": "25964:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3316, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "25964:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3319, - "mutability": "mutable", - "name": "p1", - "nameLocation": "25981:2:1", - "nodeType": "VariableDeclaration", - "scope": 3338, - "src": "25976:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3318, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25976:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3321, - "mutability": "mutable", - "name": "p2", - "nameLocation": "25993:2:1", - "nodeType": "VariableDeclaration", - "scope": 3338, - "src": "25985:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3320, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "25985:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3323, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26002:2:1", - "nodeType": "VariableDeclaration", - "scope": 3338, - "src": "25997:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3322, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "25997:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "25963:42:1" - }, - "returnParameters": { - "id": 3325, - "nodeType": "ParameterList", - "parameters": [], - "src": "26020:0:1" - }, - "scope": 8146, - "src": "25951:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3360, - "nodeType": "Block", - "src": "26193:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c626f6f6c2c616464726573732c6164647265737329", - "id": 3352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26237:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1ef4cbbfd0316a849f14b661567c9c341a49bccb745dfb6a3d9b82c389ac190", - "typeString": "literal_string \"log(uint256,bool,address,address)\"" - }, - "value": "log(uint256,bool,address,address)" - }, - { - "id": 3353, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3340, - "src": "26274:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3354, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3342, - "src": "26278:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3355, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3344, - "src": "26282:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3356, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3346, - "src": "26286:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1ef4cbbfd0316a849f14b661567c9c341a49bccb745dfb6a3d9b82c389ac190", - "typeString": "literal_string \"log(uint256,bool,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3350, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26213:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26213:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26213:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3349, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26197:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26197:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3359, - "nodeType": "ExpressionStatement", - "src": "26197:93:1" - } - ] - }, - "id": 3361, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26130:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3340, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26142:2:1", - "nodeType": "VariableDeclaration", - "scope": 3361, - "src": "26134:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3339, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26134:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3342, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26151:2:1", - "nodeType": "VariableDeclaration", - "scope": 3361, - "src": "26146:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3341, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26146:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3344, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26163:2:1", - "nodeType": "VariableDeclaration", - "scope": 3361, - "src": "26155:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3343, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26155:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3346, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26175:2:1", - "nodeType": "VariableDeclaration", - "scope": 3361, - "src": "26167:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26167:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26133:45:1" - }, - "returnParameters": { - "id": 3348, - "nodeType": "ParameterList", - "parameters": [], - "src": "26193:0:1" - }, - "scope": 8146, - "src": "26121:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3383, - "nodeType": "Block", - "src": "26372:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c75696e7432353629", - "id": 3375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26416:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c9cd9c12a2e17a9af800ac7e9a2b379066135ecb5b197bdb13381ac61cbc59a", - "typeString": "literal_string \"log(uint256,address,uint256,uint256)\"" - }, - "value": "log(uint256,address,uint256,uint256)" - }, - { - "id": 3376, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3363, - "src": "26456:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3377, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3365, - "src": "26460:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3378, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3367, - "src": "26464:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3379, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3369, - "src": "26468:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c9cd9c12a2e17a9af800ac7e9a2b379066135ecb5b197bdb13381ac61cbc59a", - "typeString": "literal_string \"log(uint256,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3373, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26392:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26392:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3380, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26392:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3372, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26376:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26376:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3382, - "nodeType": "ExpressionStatement", - "src": "26376:96:1" - } - ] - }, - "id": 3384, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26306:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3370, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3363, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26318:2:1", - "nodeType": "VariableDeclaration", - "scope": 3384, - "src": "26310:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3362, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26310:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3365, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26330:2:1", - "nodeType": "VariableDeclaration", - "scope": 3384, - "src": "26322:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26322:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3367, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26342:2:1", - "nodeType": "VariableDeclaration", - "scope": 3384, - "src": "26334:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3366, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26334:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3369, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26354:2:1", - "nodeType": "VariableDeclaration", - "scope": 3384, - "src": "26346:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3368, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26346:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "26309:48:1" - }, - "returnParameters": { - "id": 3371, - "nodeType": "ParameterList", - "parameters": [], - "src": "26372:0:1" - }, - "scope": 8146, - "src": "26297:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3406, - "nodeType": "Block", - "src": "26560:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c737472696e6729", - "id": 3398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26604:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ddb06521f885b932f9898b05830c564a50fea82133f47ad308278affbd84d0bd", - "typeString": "literal_string \"log(uint256,address,uint256,string)\"" - }, - "value": "log(uint256,address,uint256,string)" - }, - { - "id": 3399, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3386, - "src": "26643:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3400, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3388, - "src": "26647:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3401, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3390, - "src": "26651:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3402, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3392, - "src": "26655:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ddb06521f885b932f9898b05830c564a50fea82133f47ad308278affbd84d0bd", - "typeString": "literal_string \"log(uint256,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3396, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26580:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26580:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3403, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26580:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3395, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26564:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26564:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3405, - "nodeType": "ExpressionStatement", - "src": "26564:95:1" - } - ] - }, - "id": 3407, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26488:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3393, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3386, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26500:2:1", - "nodeType": "VariableDeclaration", - "scope": 3407, - "src": "26492:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3385, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26492:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3388, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26512:2:1", - "nodeType": "VariableDeclaration", - "scope": 3407, - "src": "26504:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3387, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26504:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3390, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26524:2:1", - "nodeType": "VariableDeclaration", - "scope": 3407, - "src": "26516:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3389, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26516:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3392, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26542:2:1", - "nodeType": "VariableDeclaration", - "scope": 3407, - "src": "26528:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3391, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "26528:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "26491:54:1" - }, - "returnParameters": { - "id": 3394, - "nodeType": "ParameterList", - "parameters": [], - "src": "26560:0:1" - }, - "scope": 8146, - "src": "26479:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3429, - "nodeType": "Block", - "src": "26738:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c626f6f6c29", - "id": 3421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26782:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f743a7c155871069fb5e6df4e57e25e572bb3015b18294cc69630b2e0ae2e5f", - "typeString": "literal_string \"log(uint256,address,uint256,bool)\"" - }, - "value": "log(uint256,address,uint256,bool)" - }, - { - "id": 3422, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "26819:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3423, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "26823:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3424, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "26827:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3425, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3415, - "src": "26831:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f743a7c155871069fb5e6df4e57e25e572bb3015b18294cc69630b2e0ae2e5f", - "typeString": "literal_string \"log(uint256,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3419, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26758:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26758:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26758:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3418, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26742:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26742:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3428, - "nodeType": "ExpressionStatement", - "src": "26742:93:1" - } - ] - }, - "id": 3430, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26675:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3416, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3409, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26687:2:1", - "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "26679:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3408, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26679:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3411, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26699:2:1", - "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "26691:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3410, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26691:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3413, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26711:2:1", - "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "26703:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3412, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26703:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3415, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26720:2:1", - "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "26715:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3414, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "26715:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "26678:45:1" - }, - "returnParameters": { - "id": 3417, - "nodeType": "ParameterList", - "parameters": [], - "src": "26738:0:1" - }, - "scope": 8146, - "src": "26666:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3452, - "nodeType": "Block", - "src": "26917:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c75696e743235362c6164647265737329", - "id": 3444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "26961:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_15c127b50404cc1f9627d5115fd42bf400df548658b1002bf25e12f94854b379", - "typeString": "literal_string \"log(uint256,address,uint256,address)\"" - }, - "value": "log(uint256,address,uint256,address)" - }, - { - "id": 3445, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3432, - "src": "27001:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3446, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3434, - "src": "27005:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3447, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3436, - "src": "27009:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3448, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3438, - "src": "27013:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_15c127b50404cc1f9627d5115fd42bf400df548658b1002bf25e12f94854b379", - "typeString": "literal_string \"log(uint256,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3442, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "26937:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3443, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "26937:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26937:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3441, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "26921:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "26921:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3451, - "nodeType": "ExpressionStatement", - "src": "26921:96:1" - } - ] - }, - "id": 3453, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "26851:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3439, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3432, - "mutability": "mutable", - "name": "p0", - "nameLocation": "26863:2:1", - "nodeType": "VariableDeclaration", - "scope": 3453, - "src": "26855:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3431, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26855:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3434, - "mutability": "mutable", - "name": "p1", - "nameLocation": "26875:2:1", - "nodeType": "VariableDeclaration", - "scope": 3453, - "src": "26867:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26867:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3436, - "mutability": "mutable", - "name": "p2", - "nameLocation": "26887:2:1", - "nodeType": "VariableDeclaration", - "scope": 3453, - "src": "26879:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3435, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "26879:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3438, - "mutability": "mutable", - "name": "p3", - "nameLocation": "26899:2:1", - "nodeType": "VariableDeclaration", - "scope": 3453, - "src": "26891:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3437, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "26891:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "26854:48:1" - }, - "returnParameters": { - "id": 3440, - "nodeType": "ParameterList", - "parameters": [], - "src": "26917:0:1" - }, - "scope": 8146, - "src": "26842:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3475, - "nodeType": "Block", - "src": "27105:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c75696e7432353629", - "id": 3467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27149:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46826b5dec5e8aeff4504f2c138d4e9c8aadb89d9034725f3050269a35303ba0", - "typeString": "literal_string \"log(uint256,address,string,uint256)\"" - }, - "value": "log(uint256,address,string,uint256)" - }, - { - "id": 3468, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3455, - "src": "27188:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3469, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3457, - "src": "27192:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3470, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3459, - "src": "27196:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3471, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3461, - "src": "27200:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46826b5dec5e8aeff4504f2c138d4e9c8aadb89d9034725f3050269a35303ba0", - "typeString": "literal_string \"log(uint256,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3465, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27125:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27125:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3472, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27125:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3464, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "27109:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27109:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3474, - "nodeType": "ExpressionStatement", - "src": "27109:95:1" - } - ] - }, - "id": 3476, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27033:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3462, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3455, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27045:2:1", - "nodeType": "VariableDeclaration", - "scope": 3476, - "src": "27037:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27037:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3457, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27057:2:1", - "nodeType": "VariableDeclaration", - "scope": 3476, - "src": "27049:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3456, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27049:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3459, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27075:2:1", - "nodeType": "VariableDeclaration", - "scope": 3476, - "src": "27061:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3458, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27061:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27087:2:1", - "nodeType": "VariableDeclaration", - "scope": 3476, - "src": "27079:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3460, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27079:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27036:54:1" - }, - "returnParameters": { - "id": 3463, - "nodeType": "ParameterList", - "parameters": [], - "src": "27105:0:1" - }, - "scope": 8146, - "src": "27024:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3498, - "nodeType": "Block", - "src": "27298:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c737472696e6729", - "id": 3490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27342:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e128ca3cc785552dc4e62d3c73af79fb5f114dc6f0c0eb2bc0e3bdbbd4a1d3b", - "typeString": "literal_string \"log(uint256,address,string,string)\"" - }, - "value": "log(uint256,address,string,string)" - }, - { - "id": 3491, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3478, - "src": "27380:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3492, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3480, - "src": "27384:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3493, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3482, - "src": "27388:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3494, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3484, - "src": "27392:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e128ca3cc785552dc4e62d3c73af79fb5f114dc6f0c0eb2bc0e3bdbbd4a1d3b", - "typeString": "literal_string \"log(uint256,address,string,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27318:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27318:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27318:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3487, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "27302:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27302:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3497, - "nodeType": "ExpressionStatement", - "src": "27302:94:1" - } - ] - }, - "id": 3499, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27220:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3485, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3478, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27232:2:1", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "27224:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3477, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27224:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3480, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27244:2:1", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "27236:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27236:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3482, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27262:2:1", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "27248:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3481, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27248:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3484, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27280:2:1", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "27266:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3483, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27266:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27223:60:1" - }, - "returnParameters": { - "id": 3486, - "nodeType": "ParameterList", - "parameters": [], - "src": "27298:0:1" - }, - "scope": 8146, - "src": "27211:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3521, - "nodeType": "Block", - "src": "27481:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c626f6f6c29", - "id": 3513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27525:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc32ab07df108ae88df1c6b9771e60e5cd39cbe0f0e92481af8633000db2c64b", - "typeString": "literal_string \"log(uint256,address,string,bool)\"" - }, - "value": "log(uint256,address,string,bool)" - }, - { - "id": 3514, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3501, - "src": "27561:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3515, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3503, - "src": "27565:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3516, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3505, - "src": "27569:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3517, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3507, - "src": "27573:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cc32ab07df108ae88df1c6b9771e60e5cd39cbe0f0e92481af8633000db2c64b", - "typeString": "literal_string \"log(uint256,address,string,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3511, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27501:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3512, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27501:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27501:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3510, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "27485:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27485:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3520, - "nodeType": "ExpressionStatement", - "src": "27485:92:1" - } - ] - }, - "id": 3522, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27412:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3508, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3501, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27424:2:1", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "27416:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3500, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27416:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3503, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27436:2:1", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "27428:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27428:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3505, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27454:2:1", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "27440:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3504, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27440:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3507, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27463:2:1", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "27458:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3506, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27458:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "27415:51:1" - }, - "returnParameters": { - "id": 3509, - "nodeType": "ParameterList", - "parameters": [], - "src": "27481:0:1" - }, - "scope": 8146, - "src": "27403:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3544, - "nodeType": "Block", - "src": "27665:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c737472696e672c6164647265737329", - "id": 3536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27709:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9cba8fffa4a3e6f47d307a71f619bf1719d0a75680c6c916d7776ea0341039b9", - "typeString": "literal_string \"log(uint256,address,string,address)\"" - }, - "value": "log(uint256,address,string,address)" - }, - { - "id": 3537, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3524, - "src": "27748:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3538, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3526, - "src": "27752:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3539, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3528, - "src": "27756:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3540, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3530, - "src": "27760:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9cba8fffa4a3e6f47d307a71f619bf1719d0a75680c6c916d7776ea0341039b9", - "typeString": "literal_string \"log(uint256,address,string,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3534, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27685:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27685:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27685:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3533, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "27669:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27669:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3543, - "nodeType": "ExpressionStatement", - "src": "27669:95:1" - } - ] - }, - "id": 3545, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27593:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3531, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3524, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27605:2:1", - "nodeType": "VariableDeclaration", - "scope": 3545, - "src": "27597:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3523, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27597:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3526, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27617:2:1", - "nodeType": "VariableDeclaration", - "scope": 3545, - "src": "27609:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27609:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3528, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27635:2:1", - "nodeType": "VariableDeclaration", - "scope": 3545, - "src": "27621:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3527, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27621:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3530, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27647:2:1", - "nodeType": "VariableDeclaration", - "scope": 3545, - "src": "27639:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3529, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27639:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "27596:54:1" - }, - "returnParameters": { - "id": 3532, - "nodeType": "ParameterList", - "parameters": [], - "src": "27665:0:1" - }, - "scope": 8146, - "src": "27584:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3567, - "nodeType": "Block", - "src": "27843:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c75696e7432353629", - "id": 3559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "27887:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5abd992a7a64be8afc8745d44215dd5b4a31f8b03abd4cb03ff6565b7f51c1b1", - "typeString": "literal_string \"log(uint256,address,bool,uint256)\"" - }, - "value": "log(uint256,address,bool,uint256)" - }, - { - "id": 3560, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3547, - "src": "27924:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3561, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3549, - "src": "27928:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3562, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3551, - "src": "27932:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3563, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3553, - "src": "27936:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5abd992a7a64be8afc8745d44215dd5b4a31f8b03abd4cb03ff6565b7f51c1b1", - "typeString": "literal_string \"log(uint256,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3557, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "27863:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "27863:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27863:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3556, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "27847:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "27847:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3566, - "nodeType": "ExpressionStatement", - "src": "27847:93:1" - } - ] - }, - "id": 3568, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27780:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3554, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3547, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27792:2:1", - "nodeType": "VariableDeclaration", - "scope": 3568, - "src": "27784:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3546, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27784:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3549, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27804:2:1", - "nodeType": "VariableDeclaration", - "scope": 3568, - "src": "27796:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3548, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27796:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3551, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27813:2:1", - "nodeType": "VariableDeclaration", - "scope": 3568, - "src": "27808:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3550, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27808:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3553, - "mutability": "mutable", - "name": "p3", - "nameLocation": "27825:2:1", - "nodeType": "VariableDeclaration", - "scope": 3568, - "src": "27817:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3552, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27817:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "27783:45:1" - }, - "returnParameters": { - "id": 3555, - "nodeType": "ParameterList", - "parameters": [], - "src": "27843:0:1" - }, - "scope": 8146, - "src": "27771:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3590, - "nodeType": "Block", - "src": "28025:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c737472696e6729", - "id": 3582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28069:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_90fb06aa0f94ddb9149d9a0d0271a9fd2b331af93ebc6a4aece22e4f82154c7d", - "typeString": "literal_string \"log(uint256,address,bool,string)\"" - }, - "value": "log(uint256,address,bool,string)" - }, - { - "id": 3583, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3570, - "src": "28105:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3584, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3572, - "src": "28109:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3585, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3574, - "src": "28113:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3586, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3576, - "src": "28117:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_90fb06aa0f94ddb9149d9a0d0271a9fd2b331af93ebc6a4aece22e4f82154c7d", - "typeString": "literal_string \"log(uint256,address,bool,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3580, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28045:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3581, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28045:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28045:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3579, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28029:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28029:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3589, - "nodeType": "ExpressionStatement", - "src": "28029:92:1" - } - ] - }, - "id": 3591, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "27956:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3570, - "mutability": "mutable", - "name": "p0", - "nameLocation": "27968:2:1", - "nodeType": "VariableDeclaration", - "scope": 3591, - "src": "27960:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3569, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "27960:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3572, - "mutability": "mutable", - "name": "p1", - "nameLocation": "27980:2:1", - "nodeType": "VariableDeclaration", - "scope": 3591, - "src": "27972:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "27972:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3574, - "mutability": "mutable", - "name": "p2", - "nameLocation": "27989:2:1", - "nodeType": "VariableDeclaration", - "scope": 3591, - "src": "27984:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3573, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "27984:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3576, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28007:2:1", - "nodeType": "VariableDeclaration", - "scope": 3591, - "src": "27993:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "27993:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "27959:51:1" - }, - "returnParameters": { - "id": 3578, - "nodeType": "ParameterList", - "parameters": [], - "src": "28025:0:1" - }, - "scope": 8146, - "src": "27947:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3613, - "nodeType": "Block", - "src": "28197:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c626f6f6c29", - "id": 3605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28241:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e351140f919f09731a4793c7bb4d5f07234902f499ced9e1e3c9639d2685c6f1", - "typeString": "literal_string \"log(uint256,address,bool,bool)\"" - }, - "value": "log(uint256,address,bool,bool)" - }, - { - "id": 3606, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "28275:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3607, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3595, - "src": "28279:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3608, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3597, - "src": "28283:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3609, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3599, - "src": "28287:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e351140f919f09731a4793c7bb4d5f07234902f499ced9e1e3c9639d2685c6f1", - "typeString": "literal_string \"log(uint256,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3603, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28217:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28217:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28217:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3602, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28201:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28201:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3612, - "nodeType": "ExpressionStatement", - "src": "28201:90:1" - } - ] - }, - "id": 3614, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28137:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3593, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28149:2:1", - "nodeType": "VariableDeclaration", - "scope": 3614, - "src": "28141:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3592, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28141:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3595, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28161:2:1", - "nodeType": "VariableDeclaration", - "scope": 3614, - "src": "28153:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28153:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3597, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28170:2:1", - "nodeType": "VariableDeclaration", - "scope": 3614, - "src": "28165:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28165:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3599, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28179:2:1", - "nodeType": "VariableDeclaration", - "scope": 3614, - "src": "28174:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3598, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28174:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28140:42:1" - }, - "returnParameters": { - "id": 3601, - "nodeType": "ParameterList", - "parameters": [], - "src": "28197:0:1" - }, - "scope": 8146, - "src": "28128:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3636, - "nodeType": "Block", - "src": "28370:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c626f6f6c2c6164647265737329", - "id": 3628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28414:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef72c5130890d3b81e89bdbf9a039a84547328dd01c955d6bb1088aaf2252d05", - "typeString": "literal_string \"log(uint256,address,bool,address)\"" - }, - "value": "log(uint256,address,bool,address)" - }, - { - "id": 3629, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3616, - "src": "28451:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3630, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3618, - "src": "28455:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3631, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3620, - "src": "28459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3632, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3622, - "src": "28463:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef72c5130890d3b81e89bdbf9a039a84547328dd01c955d6bb1088aaf2252d05", - "typeString": "literal_string \"log(uint256,address,bool,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3626, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28390:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3627, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28390:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3633, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28390:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3625, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28374:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28374:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3635, - "nodeType": "ExpressionStatement", - "src": "28374:93:1" - } - ] - }, - "id": 3637, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28307:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3623, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3616, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28319:2:1", - "nodeType": "VariableDeclaration", - "scope": 3637, - "src": "28311:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3615, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28311:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3618, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28331:2:1", - "nodeType": "VariableDeclaration", - "scope": 3637, - "src": "28323:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28323:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3620, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28340:2:1", - "nodeType": "VariableDeclaration", - "scope": 3637, - "src": "28335:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3619, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28335:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3622, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28352:2:1", - "nodeType": "VariableDeclaration", - "scope": 3637, - "src": "28344:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3621, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28344:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "28310:45:1" - }, - "returnParameters": { - "id": 3624, - "nodeType": "ParameterList", - "parameters": [], - "src": "28370:0:1" - }, - "scope": 8146, - "src": "28298:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3659, - "nodeType": "Block", - "src": "28549:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c75696e7432353629", - "id": 3651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28593:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_736efbb692cd4ba0c879f89673f1c5a7eb58e7bd2b833c4d30d41d3aa9c7a23a", - "typeString": "literal_string \"log(uint256,address,address,uint256)\"" - }, - "value": "log(uint256,address,address,uint256)" - }, - { - "id": 3652, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3639, - "src": "28633:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3653, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3641, - "src": "28637:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3654, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3643, - "src": "28641:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3655, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3645, - "src": "28645:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_736efbb692cd4ba0c879f89673f1c5a7eb58e7bd2b833c4d30d41d3aa9c7a23a", - "typeString": "literal_string \"log(uint256,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3649, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28569:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3650, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28569:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28569:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3648, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28553:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28553:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3658, - "nodeType": "ExpressionStatement", - "src": "28553:96:1" - } - ] - }, - "id": 3660, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28483:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3646, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3639, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28495:2:1", - "nodeType": "VariableDeclaration", - "scope": 3660, - "src": "28487:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28487:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3641, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28507:2:1", - "nodeType": "VariableDeclaration", - "scope": 3660, - "src": "28499:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28499:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3643, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28519:2:1", - "nodeType": "VariableDeclaration", - "scope": 3660, - "src": "28511:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3642, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28511:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3645, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28531:2:1", - "nodeType": "VariableDeclaration", - "scope": 3660, - "src": "28523:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3644, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28523:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "28486:48:1" - }, - "returnParameters": { - "id": 3647, - "nodeType": "ParameterList", - "parameters": [], - "src": "28549:0:1" - }, - "scope": 8146, - "src": "28474:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3682, - "nodeType": "Block", - "src": "28737:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c737472696e6729", - "id": 3674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28781:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_031c6f73458c2a0d841ad5d5914dceb24973d9df898a3826eec79330397cd882", - "typeString": "literal_string \"log(uint256,address,address,string)\"" - }, - "value": "log(uint256,address,address,string)" - }, - { - "id": 3675, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3662, - "src": "28820:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3676, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3664, - "src": "28824:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3677, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3666, - "src": "28828:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3678, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3668, - "src": "28832:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_031c6f73458c2a0d841ad5d5914dceb24973d9df898a3826eec79330397cd882", - "typeString": "literal_string \"log(uint256,address,address,string)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3672, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28757:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3673, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28757:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3679, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28757:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3671, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28741:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28741:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3681, - "nodeType": "ExpressionStatement", - "src": "28741:95:1" - } - ] - }, - "id": 3683, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28665:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3669, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3662, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28677:2:1", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "28669:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3661, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28669:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3664, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28689:2:1", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "28681:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3663, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28681:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3666, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28701:2:1", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "28693:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28693:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3668, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28719:2:1", - "nodeType": "VariableDeclaration", - "scope": 3683, - "src": "28705:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3667, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "28705:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "28668:54:1" - }, - "returnParameters": { - "id": 3670, - "nodeType": "ParameterList", - "parameters": [], - "src": "28737:0:1" - }, - "scope": 8146, - "src": "28656:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3705, - "nodeType": "Block", - "src": "28915:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c626f6f6c29", - "id": 3697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "28959:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_091ffaf5e3365a794bfeb97b8157886a9ba00c981ee88d8a8fdb0cc96a5e6c1d", - "typeString": "literal_string \"log(uint256,address,address,bool)\"" - }, - "value": "log(uint256,address,address,bool)" - }, - { - "id": 3698, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3685, - "src": "28996:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3699, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3687, - "src": "29000:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3700, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3689, - "src": "29004:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3701, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3691, - "src": "29008:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_091ffaf5e3365a794bfeb97b8157886a9ba00c981ee88d8a8fdb0cc96a5e6c1d", - "typeString": "literal_string \"log(uint256,address,address,bool)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3695, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "28935:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3696, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "28935:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3702, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28935:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3694, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "28919:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "28919:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3704, - "nodeType": "ExpressionStatement", - "src": "28919:93:1" - } - ] - }, - "id": 3706, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "28852:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3692, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3685, - "mutability": "mutable", - "name": "p0", - "nameLocation": "28864:2:1", - "nodeType": "VariableDeclaration", - "scope": 3706, - "src": "28856:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3684, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "28856:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3687, - "mutability": "mutable", - "name": "p1", - "nameLocation": "28876:2:1", - "nodeType": "VariableDeclaration", - "scope": 3706, - "src": "28868:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3686, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28868:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3689, - "mutability": "mutable", - "name": "p2", - "nameLocation": "28888:2:1", - "nodeType": "VariableDeclaration", - "scope": 3706, - "src": "28880:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3688, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "28880:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3691, - "mutability": "mutable", - "name": "p3", - "nameLocation": "28897:2:1", - "nodeType": "VariableDeclaration", - "scope": 3706, - "src": "28892:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3690, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "28892:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "28855:45:1" - }, - "returnParameters": { - "id": 3693, - "nodeType": "ParameterList", - "parameters": [], - "src": "28915:0:1" - }, - "scope": 8146, - "src": "28843:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3728, - "nodeType": "Block", - "src": "29094:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f672875696e743235362c616464726573732c616464726573732c6164647265737329", - "id": 3720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29138:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2488b414330cbd4ddab2b849dacd8bed50b19b82318ec6e4a5ccdf72ee519553", - "typeString": "literal_string \"log(uint256,address,address,address)\"" - }, - "value": "log(uint256,address,address,address)" - }, - { - "id": 3721, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3708, - "src": "29178:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3722, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3710, - "src": "29182:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3723, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3712, - "src": "29186:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 3724, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3714, - "src": "29190:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2488b414330cbd4ddab2b849dacd8bed50b19b82318ec6e4a5ccdf72ee519553", - "typeString": "literal_string \"log(uint256,address,address,address)\"" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3718, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29114:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29114:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3725, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29114:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3717, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "29098:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29098:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3727, - "nodeType": "ExpressionStatement", - "src": "29098:96:1" - } - ] - }, - "id": 3729, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29028:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3715, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3708, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29040:2:1", - "nodeType": "VariableDeclaration", - "scope": 3729, - "src": "29032:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3707, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29032:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3710, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29052:2:1", - "nodeType": "VariableDeclaration", - "scope": 3729, - "src": "29044:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29044:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3712, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29064:2:1", - "nodeType": "VariableDeclaration", - "scope": 3729, - "src": "29056:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3711, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29056:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3714, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29076:2:1", - "nodeType": "VariableDeclaration", - "scope": 3729, - "src": "29068:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3713, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29068:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29031:48:1" - }, - "returnParameters": { - "id": 3716, - "nodeType": "ParameterList", - "parameters": [], - "src": "29094:0:1" - }, - "scope": 8146, - "src": "29019:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3751, - "nodeType": "Block", - "src": "29282:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c75696e7432353629", - "id": 3743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29326:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a7a8785394d9aadf7945b4e3d27726dea716dc88e3f64cc80b3aa9abbd2751c5", - "typeString": "literal_string \"log(string,uint256,uint256,uint256)\"" - }, - "value": "log(string,uint256,uint256,uint256)" - }, - { - "id": 3744, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3731, - "src": "29365:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3745, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3733, - "src": "29369:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3746, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "29373:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3747, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "29377:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a7a8785394d9aadf7945b4e3d27726dea716dc88e3f64cc80b3aa9abbd2751c5", - "typeString": "literal_string \"log(string,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3741, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29302:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3742, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29302:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29302:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3740, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "29286:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29286:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3750, - "nodeType": "ExpressionStatement", - "src": "29286:95:1" - } - ] - }, - "id": 3752, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29210:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3738, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3731, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29228:2:1", - "nodeType": "VariableDeclaration", - "scope": 3752, - "src": "29214:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3730, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29214:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3733, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29240:2:1", - "nodeType": "VariableDeclaration", - "scope": 3752, - "src": "29232:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3732, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29232:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3735, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29252:2:1", - "nodeType": "VariableDeclaration", - "scope": 3752, - "src": "29244:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3734, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29244:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3737, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29264:2:1", - "nodeType": "VariableDeclaration", - "scope": 3752, - "src": "29256:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3736, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29256:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29213:54:1" - }, - "returnParameters": { - "id": 3739, - "nodeType": "ParameterList", - "parameters": [], - "src": "29282:0:1" - }, - "scope": 8146, - "src": "29201:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3774, - "nodeType": "Block", - "src": "29475:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c737472696e6729", - "id": 3766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29519:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_854b34964800cd321ba295da547026c9cfe69753667a81487e80d237f63c927f", - "typeString": "literal_string \"log(string,uint256,uint256,string)\"" - }, - "value": "log(string,uint256,uint256,string)" - }, - { - "id": 3767, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3754, - "src": "29557:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3768, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3756, - "src": "29561:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3769, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3758, - "src": "29565:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3770, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3760, - "src": "29569:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_854b34964800cd321ba295da547026c9cfe69753667a81487e80d237f63c927f", - "typeString": "literal_string \"log(string,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29495:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29495:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29495:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3763, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "29479:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29479:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3773, - "nodeType": "ExpressionStatement", - "src": "29479:94:1" - } - ] - }, - "id": 3775, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29397:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3761, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3754, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29415:2:1", - "nodeType": "VariableDeclaration", - "scope": 3775, - "src": "29401:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3753, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29401:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3756, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29427:2:1", - "nodeType": "VariableDeclaration", - "scope": 3775, - "src": "29419:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3755, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29419:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3758, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29439:2:1", - "nodeType": "VariableDeclaration", - "scope": 3775, - "src": "29431:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3757, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29431:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3760, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29457:2:1", - "nodeType": "VariableDeclaration", - "scope": 3775, - "src": "29443:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3759, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29443:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "29400:60:1" - }, - "returnParameters": { - "id": 3762, - "nodeType": "ParameterList", - "parameters": [], - "src": "29475:0:1" - }, - "scope": 8146, - "src": "29388:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3797, - "nodeType": "Block", - "src": "29658:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c626f6f6c29", - "id": 3789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29702:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7626db92bcbe8fb38799da91134ebae6bc6c7b10cb0db567e752720b8fd9ae0f", - "typeString": "literal_string \"log(string,uint256,uint256,bool)\"" - }, - "value": "log(string,uint256,uint256,bool)" - }, - { - "id": 3790, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3777, - "src": "29738:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3791, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3779, - "src": "29742:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3792, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3781, - "src": "29746:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3793, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3783, - "src": "29750:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7626db92bcbe8fb38799da91134ebae6bc6c7b10cb0db567e752720b8fd9ae0f", - "typeString": "literal_string \"log(string,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3787, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29678:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29678:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29678:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3786, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "29662:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29662:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3796, - "nodeType": "ExpressionStatement", - "src": "29662:92:1" - } - ] - }, - "id": 3798, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29589:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3784, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3777, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29607:2:1", - "nodeType": "VariableDeclaration", - "scope": 3798, - "src": "29593:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3776, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29593:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3779, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29619:2:1", - "nodeType": "VariableDeclaration", - "scope": 3798, - "src": "29611:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3778, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29611:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3781, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29631:2:1", - "nodeType": "VariableDeclaration", - "scope": 3798, - "src": "29623:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3780, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29623:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3783, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29640:2:1", - "nodeType": "VariableDeclaration", - "scope": 3798, - "src": "29635:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3782, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "29635:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "29592:51:1" - }, - "returnParameters": { - "id": 3785, - "nodeType": "ParameterList", - "parameters": [], - "src": "29658:0:1" - }, - "scope": 8146, - "src": "29580:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3820, - "nodeType": "Block", - "src": "29842:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c75696e743235362c6164647265737329", - "id": 3812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "29886:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e21de278b3902dab5803384c9ad03fb95c973bc87490e387079e41c7f244f118", - "typeString": "literal_string \"log(string,uint256,uint256,address)\"" - }, - "value": "log(string,uint256,uint256,address)" - }, - { - "id": 3813, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3800, - "src": "29925:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3814, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3802, - "src": "29929:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3815, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3804, - "src": "29933:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3816, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3806, - "src": "29937:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e21de278b3902dab5803384c9ad03fb95c973bc87490e387079e41c7f244f118", - "typeString": "literal_string \"log(string,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3810, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "29862:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3811, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "29862:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29862:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3809, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "29846:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "29846:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3819, - "nodeType": "ExpressionStatement", - "src": "29846:95:1" - } - ] - }, - "id": 3821, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29770:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3807, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3800, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29788:2:1", - "nodeType": "VariableDeclaration", - "scope": 3821, - "src": "29774:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3799, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29774:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3802, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29800:2:1", - "nodeType": "VariableDeclaration", - "scope": 3821, - "src": "29792:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3801, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29792:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3804, - "mutability": "mutable", - "name": "p2", - "nameLocation": "29812:2:1", - "nodeType": "VariableDeclaration", - "scope": 3821, - "src": "29804:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3803, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29804:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3806, - "mutability": "mutable", - "name": "p3", - "nameLocation": "29824:2:1", - "nodeType": "VariableDeclaration", - "scope": 3821, - "src": "29816:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3805, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "29816:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "29773:54:1" - }, - "returnParameters": { - "id": 3808, - "nodeType": "ParameterList", - "parameters": [], - "src": "29842:0:1" - }, - "scope": 8146, - "src": "29761:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3843, - "nodeType": "Block", - "src": "30035:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c75696e7432353629", - "id": 3835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30079:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c67ea9d1db4353b82da41ad5e5b85243320ba3a89399b41c13eee1ab804e84c9", - "typeString": "literal_string \"log(string,uint256,string,uint256)\"" - }, - "value": "log(string,uint256,string,uint256)" - }, - { - "id": 3836, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3823, - "src": "30117:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3837, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3825, - "src": "30121:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3838, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3827, - "src": "30125:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3839, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3829, - "src": "30129:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c67ea9d1db4353b82da41ad5e5b85243320ba3a89399b41c13eee1ab804e84c9", - "typeString": "literal_string \"log(string,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3833, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30055:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3834, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30055:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30055:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3832, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30039:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30039:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3842, - "nodeType": "ExpressionStatement", - "src": "30039:94:1" - } - ] - }, - "id": 3844, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "29957:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3830, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3823, - "mutability": "mutable", - "name": "p0", - "nameLocation": "29975:2:1", - "nodeType": "VariableDeclaration", - "scope": 3844, - "src": "29961:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29961:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3825, - "mutability": "mutable", - "name": "p1", - "nameLocation": "29987:2:1", - "nodeType": "VariableDeclaration", - "scope": 3844, - "src": "29979:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3824, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "29979:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3827, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30005:2:1", - "nodeType": "VariableDeclaration", - "scope": 3844, - "src": "29991:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3826, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "29991:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3829, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30017:2:1", - "nodeType": "VariableDeclaration", - "scope": 3844, - "src": "30009:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30009:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "29960:60:1" - }, - "returnParameters": { - "id": 3831, - "nodeType": "ParameterList", - "parameters": [], - "src": "30035:0:1" - }, - "scope": 8146, - "src": "29948:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3866, - "nodeType": "Block", - "src": "30233:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c737472696e6729", - "id": 3858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30277:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ab84e1fba099b79ad99dc62242807811428e5c36b5f473a3b74e319a04c4089", - "typeString": "literal_string \"log(string,uint256,string,string)\"" - }, - "value": "log(string,uint256,string,string)" - }, - { - "id": 3859, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3846, - "src": "30314:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3860, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3848, - "src": "30318:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3861, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3850, - "src": "30322:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3862, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3852, - "src": "30326:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ab84e1fba099b79ad99dc62242807811428e5c36b5f473a3b74e319a04c4089", - "typeString": "literal_string \"log(string,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3856, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30253:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3857, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30253:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30253:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3855, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30237:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30237:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3865, - "nodeType": "ExpressionStatement", - "src": "30237:93:1" - } - ] - }, - "id": 3867, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30149:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3846, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30167:2:1", - "nodeType": "VariableDeclaration", - "scope": 3867, - "src": "30153:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3845, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30153:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3848, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30179:2:1", - "nodeType": "VariableDeclaration", - "scope": 3867, - "src": "30171:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3847, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30171:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3850, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30197:2:1", - "nodeType": "VariableDeclaration", - "scope": 3867, - "src": "30183:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3849, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30183:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3852, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30215:2:1", - "nodeType": "VariableDeclaration", - "scope": 3867, - "src": "30201:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3851, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30201:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30152:66:1" - }, - "returnParameters": { - "id": 3854, - "nodeType": "ParameterList", - "parameters": [], - "src": "30233:0:1" - }, - "scope": 8146, - "src": "30140:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3889, - "nodeType": "Block", - "src": "30421:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c626f6f6c29", - "id": 3881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30465:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d24491d69f4bc88a6e68cd8228b6698af11fe37f60f65c80e3f11428a8eba2f", - "typeString": "literal_string \"log(string,uint256,string,bool)\"" - }, - "value": "log(string,uint256,string,bool)" - }, - { - "id": 3882, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3869, - "src": "30500:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3883, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3871, - "src": "30504:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3884, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3873, - "src": "30508:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3885, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3875, - "src": "30512:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7d24491d69f4bc88a6e68cd8228b6698af11fe37f60f65c80e3f11428a8eba2f", - "typeString": "literal_string \"log(string,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3879, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30441:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3880, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30441:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30441:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3878, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30425:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30425:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3888, - "nodeType": "ExpressionStatement", - "src": "30425:91:1" - } - ] - }, - "id": 3890, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30346:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3876, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3869, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30364:2:1", - "nodeType": "VariableDeclaration", - "scope": 3890, - "src": "30350:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3868, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30350:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3871, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30376:2:1", - "nodeType": "VariableDeclaration", - "scope": 3890, - "src": "30368:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3870, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30368:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3873, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30394:2:1", - "nodeType": "VariableDeclaration", - "scope": 3890, - "src": "30380:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3872, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30380:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3875, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30403:2:1", - "nodeType": "VariableDeclaration", - "scope": 3890, - "src": "30398:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3874, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30398:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "30349:57:1" - }, - "returnParameters": { - "id": 3877, - "nodeType": "ParameterList", - "parameters": [], - "src": "30421:0:1" - }, - "scope": 8146, - "src": "30337:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3912, - "nodeType": "Block", - "src": "30610:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c737472696e672c6164647265737329", - "id": 3904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30654:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7c4632a48572fa2d4647539e525c9742d692f8e780540d6116f897ab472257cb", - "typeString": "literal_string \"log(string,uint256,string,address)\"" - }, - "value": "log(string,uint256,string,address)" - }, - { - "id": 3905, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3892, - "src": "30692:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3906, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3894, - "src": "30696:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3907, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3896, - "src": "30700:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3908, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3898, - "src": "30704:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7c4632a48572fa2d4647539e525c9742d692f8e780540d6116f897ab472257cb", - "typeString": "literal_string \"log(string,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3902, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30630:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3903, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30630:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30630:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3901, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30614:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30614:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3911, - "nodeType": "ExpressionStatement", - "src": "30614:94:1" - } - ] - }, - "id": 3913, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30532:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3899, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3892, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30550:2:1", - "nodeType": "VariableDeclaration", - "scope": 3913, - "src": "30536:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3891, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30536:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3894, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30562:2:1", - "nodeType": "VariableDeclaration", - "scope": 3913, - "src": "30554:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3893, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30554:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3896, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30580:2:1", - "nodeType": "VariableDeclaration", - "scope": 3913, - "src": "30566:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30566:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3898, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30592:2:1", - "nodeType": "VariableDeclaration", - "scope": 3913, - "src": "30584:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3897, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "30584:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "30535:60:1" - }, - "returnParameters": { - "id": 3900, - "nodeType": "ParameterList", - "parameters": [], - "src": "30610:0:1" - }, - "scope": 8146, - "src": "30523:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3935, - "nodeType": "Block", - "src": "30793:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c75696e7432353629", - "id": 3927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "30837:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e41b6f6f58a4f880a3266f23bebaff73175ff4306317c20982bc2eabc04edd13", - "typeString": "literal_string \"log(string,uint256,bool,uint256)\"" - }, - "value": "log(string,uint256,bool,uint256)" - }, - { - "id": 3928, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3915, - "src": "30873:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3929, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3917, - "src": "30877:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3930, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "30881:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3931, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3921, - "src": "30885:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e41b6f6f58a4f880a3266f23bebaff73175ff4306317c20982bc2eabc04edd13", - "typeString": "literal_string \"log(string,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 3925, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "30813:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "30813:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3932, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30813:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3924, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30797:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30797:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3934, - "nodeType": "ExpressionStatement", - "src": "30797:92:1" - } - ] - }, - "id": 3936, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30724:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3922, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3915, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30742:2:1", - "nodeType": "VariableDeclaration", - "scope": 3936, - "src": "30728:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3914, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30728:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3917, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30754:2:1", - "nodeType": "VariableDeclaration", - "scope": 3936, - "src": "30746:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3916, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30746:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3919, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30763:2:1", - "nodeType": "VariableDeclaration", - "scope": 3936, - "src": "30758:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3918, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30758:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3921, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30775:2:1", - "nodeType": "VariableDeclaration", - "scope": 3936, - "src": "30767:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3920, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30767:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "30727:51:1" - }, - "returnParameters": { - "id": 3923, - "nodeType": "ParameterList", - "parameters": [], - "src": "30793:0:1" - }, - "scope": 8146, - "src": "30715:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3958, - "nodeType": "Block", - "src": "30980:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c737472696e6729", - "id": 3950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31024:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_abf73a9831ab2bdeb8da9d06a81eab42196b20e336ab670ecba37bac94839d87", - "typeString": "literal_string \"log(string,uint256,bool,string)\"" - }, - "value": "log(string,uint256,bool,string)" - }, - { - "id": 3951, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3938, - "src": "31059:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3952, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3940, - "src": "31063:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3953, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3942, - "src": "31067:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3954, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3944, - "src": "31071:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_abf73a9831ab2bdeb8da9d06a81eab42196b20e336ab670ecba37bac94839d87", - "typeString": "literal_string \"log(string,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 3948, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31000:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31000:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31000:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3947, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "30984:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "30984:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3957, - "nodeType": "ExpressionStatement", - "src": "30984:91:1" - } - ] - }, - "id": 3959, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "30905:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3945, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3938, - "mutability": "mutable", - "name": "p0", - "nameLocation": "30923:2:1", - "nodeType": "VariableDeclaration", - "scope": 3959, - "src": "30909:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3937, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30909:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3940, - "mutability": "mutable", - "name": "p1", - "nameLocation": "30935:2:1", - "nodeType": "VariableDeclaration", - "scope": 3959, - "src": "30927:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3939, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "30927:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3942, - "mutability": "mutable", - "name": "p2", - "nameLocation": "30944:2:1", - "nodeType": "VariableDeclaration", - "scope": 3959, - "src": "30939:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3941, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "30939:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3944, - "mutability": "mutable", - "name": "p3", - "nameLocation": "30962:2:1", - "nodeType": "VariableDeclaration", - "scope": 3959, - "src": "30948:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3943, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "30948:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "30908:57:1" - }, - "returnParameters": { - "id": 3946, - "nodeType": "ParameterList", - "parameters": [], - "src": "30980:0:1" - }, - "scope": 8146, - "src": "30896:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 3981, - "nodeType": "Block", - "src": "31157:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c626f6f6c29", - "id": 3973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31201:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_354c36d6798abb81721fb2beaef51c92cab9d4cf16be10f0a4724648784ecb76", - "typeString": "literal_string \"log(string,uint256,bool,bool)\"" - }, - "value": "log(string,uint256,bool,bool)" - }, - { - "id": 3974, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3961, - "src": "31234:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3975, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3963, - "src": "31238:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3976, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3965, - "src": "31242:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 3977, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3967, - "src": "31246:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_354c36d6798abb81721fb2beaef51c92cab9d4cf16be10f0a4724648784ecb76", - "typeString": "literal_string \"log(string,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 3971, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31177:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3972, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31177:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 3978, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31177:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3970, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "31161:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 3979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31161:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 3980, - "nodeType": "ExpressionStatement", - "src": "31161:89:1" - } - ] - }, - "id": 3982, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31091:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3961, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31109:2:1", - "nodeType": "VariableDeclaration", - "scope": 3982, - "src": "31095:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3960, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31095:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3963, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31121:2:1", - "nodeType": "VariableDeclaration", - "scope": 3982, - "src": "31113:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3962, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31113:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3965, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31130:2:1", - "nodeType": "VariableDeclaration", - "scope": 3982, - "src": "31125:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3964, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31125:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3967, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31139:2:1", - "nodeType": "VariableDeclaration", - "scope": 3982, - "src": "31134:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3966, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31134:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31094:48:1" - }, - "returnParameters": { - "id": 3969, - "nodeType": "ParameterList", - "parameters": [], - "src": "31157:0:1" - }, - "scope": 8146, - "src": "31082:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4004, - "nodeType": "Block", - "src": "31335:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c626f6f6c2c6164647265737329", - "id": 3996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31379:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0e95b9833a204b7ba633bd63a60ec523906565f2c86d8936f7ff3e9937880f7", - "typeString": "literal_string \"log(string,uint256,bool,address)\"" - }, - "value": "log(string,uint256,bool,address)" - }, - { - "id": 3997, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3984, - "src": "31415:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 3998, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3986, - "src": "31419:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 3999, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3988, - "src": "31423:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4000, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3990, - "src": "31427:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0e95b9833a204b7ba633bd63a60ec523906565f2c86d8936f7ff3e9937880f7", - "typeString": "literal_string \"log(string,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 3994, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31355:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 3995, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31355:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31355:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 3993, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "31339:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31339:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4003, - "nodeType": "ExpressionStatement", - "src": "31339:92:1" - } - ] - }, - "id": 4005, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31266:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3984, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31284:2:1", - "nodeType": "VariableDeclaration", - "scope": 4005, - "src": "31270:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 3983, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31270:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3986, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31296:2:1", - "nodeType": "VariableDeclaration", - "scope": 4005, - "src": "31288:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3985, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31288:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3988, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31305:2:1", - "nodeType": "VariableDeclaration", - "scope": 4005, - "src": "31300:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3987, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31300:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 3990, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31317:2:1", - "nodeType": "VariableDeclaration", - "scope": 4005, - "src": "31309:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3989, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31309:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "31269:51:1" - }, - "returnParameters": { - "id": 3992, - "nodeType": "ParameterList", - "parameters": [], - "src": "31335:0:1" - }, - "scope": 8146, - "src": "31257:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4027, - "nodeType": "Block", - "src": "31519:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c75696e7432353629", - "id": 4019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31563:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4f04fdc6b6271b036262883bae0d1ea5155524010fed0023b5c71c574fb937ff", - "typeString": "literal_string \"log(string,uint256,address,uint256)\"" - }, - "value": "log(string,uint256,address,uint256)" - }, - { - "id": 4020, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4007, - "src": "31602:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4021, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4009, - "src": "31606:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4022, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4011, - "src": "31610:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4023, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4013, - "src": "31614:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4f04fdc6b6271b036262883bae0d1ea5155524010fed0023b5c71c574fb937ff", - "typeString": "literal_string \"log(string,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4017, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31539:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31539:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31539:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4016, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "31523:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31523:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4026, - "nodeType": "ExpressionStatement", - "src": "31523:95:1" - } - ] - }, - "id": 4028, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31447:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4007, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31465:2:1", - "nodeType": "VariableDeclaration", - "scope": 4028, - "src": "31451:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4006, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31451:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4009, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31477:2:1", - "nodeType": "VariableDeclaration", - "scope": 4028, - "src": "31469:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4008, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31469:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4011, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31489:2:1", - "nodeType": "VariableDeclaration", - "scope": 4028, - "src": "31481:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31481:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4013, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31501:2:1", - "nodeType": "VariableDeclaration", - "scope": 4028, - "src": "31493:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4012, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31493:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "31450:54:1" - }, - "returnParameters": { - "id": 4015, - "nodeType": "ParameterList", - "parameters": [], - "src": "31519:0:1" - }, - "scope": 8146, - "src": "31438:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4050, - "nodeType": "Block", - "src": "31712:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c737472696e6729", - "id": 4042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31756:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9ffb2f93ff043d0a86ff6dc2ddf23d28dfc95ecde23d406177dfe6f19d070d2b", - "typeString": "literal_string \"log(string,uint256,address,string)\"" - }, - "value": "log(string,uint256,address,string)" - }, - { - "id": 4043, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4030, - "src": "31794:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4044, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4032, - "src": "31798:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4045, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4034, - "src": "31802:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4046, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4036, - "src": "31806:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9ffb2f93ff043d0a86ff6dc2ddf23d28dfc95ecde23d406177dfe6f19d070d2b", - "typeString": "literal_string \"log(string,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4040, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31732:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4041, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31732:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31732:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4039, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "31716:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31716:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4049, - "nodeType": "ExpressionStatement", - "src": "31716:94:1" - } - ] - }, - "id": 4051, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31634:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4030, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31652:2:1", - "nodeType": "VariableDeclaration", - "scope": 4051, - "src": "31638:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4029, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31638:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4032, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31664:2:1", - "nodeType": "VariableDeclaration", - "scope": 4051, - "src": "31656:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4031, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31656:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4034, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31676:2:1", - "nodeType": "VariableDeclaration", - "scope": 4051, - "src": "31668:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31668:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4036, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31694:2:1", - "nodeType": "VariableDeclaration", - "scope": 4051, - "src": "31680:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4035, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31680:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "31637:60:1" - }, - "returnParameters": { - "id": 4038, - "nodeType": "ParameterList", - "parameters": [], - "src": "31712:0:1" - }, - "scope": 8146, - "src": "31625:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4073, - "nodeType": "Block", - "src": "31895:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c626f6f6c29", - "id": 4065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "31939:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_82112a429657399db0318af6ca78ff56626aa907939e7cf56b60b07035dcc190", - "typeString": "literal_string \"log(string,uint256,address,bool)\"" - }, - "value": "log(string,uint256,address,bool)" - }, - { - "id": 4066, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4053, - "src": "31975:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4067, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4055, - "src": "31979:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4068, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4057, - "src": "31983:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4069, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4059, - "src": "31987:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_82112a429657399db0318af6ca78ff56626aa907939e7cf56b60b07035dcc190", - "typeString": "literal_string \"log(string,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4063, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "31915:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4064, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "31915:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31915:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4062, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "31899:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "31899:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4072, - "nodeType": "ExpressionStatement", - "src": "31899:92:1" - } - ] - }, - "id": 4074, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "31826:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4060, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4053, - "mutability": "mutable", - "name": "p0", - "nameLocation": "31844:2:1", - "nodeType": "VariableDeclaration", - "scope": 4074, - "src": "31830:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4052, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "31830:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4055, - "mutability": "mutable", - "name": "p1", - "nameLocation": "31856:2:1", - "nodeType": "VariableDeclaration", - "scope": 4074, - "src": "31848:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4054, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "31848:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4057, - "mutability": "mutable", - "name": "p2", - "nameLocation": "31868:2:1", - "nodeType": "VariableDeclaration", - "scope": 4074, - "src": "31860:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4056, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "31860:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4059, - "mutability": "mutable", - "name": "p3", - "nameLocation": "31877:2:1", - "nodeType": "VariableDeclaration", - "scope": 4074, - "src": "31872:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4058, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "31872:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "31829:51:1" - }, - "returnParameters": { - "id": 4061, - "nodeType": "ParameterList", - "parameters": [], - "src": "31895:0:1" - }, - "scope": 8146, - "src": "31817:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4096, - "nodeType": "Block", - "src": "32079:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c75696e743235362c616464726573732c6164647265737329", - "id": 4088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32123:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ea2b7aea4409bbe3ef8ca502419b3574b002a6123a1f864be076316b8efcd1d", - "typeString": "literal_string \"log(string,uint256,address,address)\"" - }, - "value": "log(string,uint256,address,address)" - }, - { - "id": 4089, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4076, - "src": "32162:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4090, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4078, - "src": "32166:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4091, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4080, - "src": "32170:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4092, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4082, - "src": "32174:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ea2b7aea4409bbe3ef8ca502419b3574b002a6123a1f864be076316b8efcd1d", - "typeString": "literal_string \"log(string,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4086, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32099:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32099:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32099:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4085, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "32083:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32083:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4095, - "nodeType": "ExpressionStatement", - "src": "32083:95:1" - } - ] - }, - "id": 4097, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32007:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4083, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4076, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32025:2:1", - "nodeType": "VariableDeclaration", - "scope": 4097, - "src": "32011:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4075, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32011:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4078, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32037:2:1", - "nodeType": "VariableDeclaration", - "scope": 4097, - "src": "32029:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4077, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32029:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4080, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32049:2:1", - "nodeType": "VariableDeclaration", - "scope": 4097, - "src": "32041:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4079, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32041:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4082, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32061:2:1", - "nodeType": "VariableDeclaration", - "scope": 4097, - "src": "32053:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4081, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32053:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32010:54:1" - }, - "returnParameters": { - "id": 4084, - "nodeType": "ParameterList", - "parameters": [], - "src": "32079:0:1" - }, - "scope": 8146, - "src": "31998:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4119, - "nodeType": "Block", - "src": "32272:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c75696e7432353629", - "id": 4111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32316:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f45d7d2cd1abe030b09347ce21ce66b503ffdad3e7a1ad6df9e55da5d9367776", - "typeString": "literal_string \"log(string,string,uint256,uint256)\"" - }, - "value": "log(string,string,uint256,uint256)" - }, - { - "id": 4112, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4099, - "src": "32354:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4113, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4101, - "src": "32358:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4114, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4103, - "src": "32362:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4115, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4105, - "src": "32366:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f45d7d2cd1abe030b09347ce21ce66b503ffdad3e7a1ad6df9e55da5d9367776", - "typeString": "literal_string \"log(string,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4109, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32292:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32292:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32292:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4108, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "32276:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32276:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4118, - "nodeType": "ExpressionStatement", - "src": "32276:94:1" - } - ] - }, - "id": 4120, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32194:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4106, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4099, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32212:2:1", - "nodeType": "VariableDeclaration", - "scope": 4120, - "src": "32198:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4098, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32198:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4101, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32230:2:1", - "nodeType": "VariableDeclaration", - "scope": 4120, - "src": "32216:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4100, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32216:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4103, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32242:2:1", - "nodeType": "VariableDeclaration", - "scope": 4120, - "src": "32234:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4102, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32234:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4105, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32254:2:1", - "nodeType": "VariableDeclaration", - "scope": 4120, - "src": "32246:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32246:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32197:60:1" - }, - "returnParameters": { - "id": 4107, - "nodeType": "ParameterList", - "parameters": [], - "src": "32272:0:1" - }, - "scope": 8146, - "src": "32185:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4142, - "nodeType": "Block", - "src": "32470:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c737472696e6729", - "id": 4134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32514:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d1a971aebb8f2fbb7526a470ca55e409230d59ee63217090d29ce11b768e909", - "typeString": "literal_string \"log(string,string,uint256,string)\"" - }, - "value": "log(string,string,uint256,string)" - }, - { - "id": 4135, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4122, - "src": "32551:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4136, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4124, - "src": "32555:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4137, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4126, - "src": "32559:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4138, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4128, - "src": "32563:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d1a971aebb8f2fbb7526a470ca55e409230d59ee63217090d29ce11b768e909", - "typeString": "literal_string \"log(string,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4132, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32490:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32490:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32490:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4131, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "32474:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32474:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4141, - "nodeType": "ExpressionStatement", - "src": "32474:93:1" - } - ] - }, - "id": 4143, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32386:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4129, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4122, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32404:2:1", - "nodeType": "VariableDeclaration", - "scope": 4143, - "src": "32390:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4121, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32390:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4124, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32422:2:1", - "nodeType": "VariableDeclaration", - "scope": 4143, - "src": "32408:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4123, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32408:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4126, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32434:2:1", - "nodeType": "VariableDeclaration", - "scope": 4143, - "src": "32426:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4125, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32426:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4128, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32452:2:1", - "nodeType": "VariableDeclaration", - "scope": 4143, - "src": "32438:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4127, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32438:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "32389:66:1" - }, - "returnParameters": { - "id": 4130, - "nodeType": "ParameterList", - "parameters": [], - "src": "32470:0:1" - }, - "scope": 8146, - "src": "32377:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4165, - "nodeType": "Block", - "src": "32658:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c626f6f6c29", - "id": 4157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32702:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c3a8a6546b97cf01562dd9ca797c4955f3bab9bc163d02081737c20b686446d2", - "typeString": "literal_string \"log(string,string,uint256,bool)\"" - }, - "value": "log(string,string,uint256,bool)" - }, - { - "id": 4158, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4145, - "src": "32737:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4159, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4147, - "src": "32741:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4160, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4149, - "src": "32745:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4161, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4151, - "src": "32749:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c3a8a6546b97cf01562dd9ca797c4955f3bab9bc163d02081737c20b686446d2", - "typeString": "literal_string \"log(string,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4155, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32678:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4156, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32678:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32678:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4154, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "32662:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32662:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4164, - "nodeType": "ExpressionStatement", - "src": "32662:91:1" - } - ] - }, - "id": 4166, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32583:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4145, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32601:2:1", - "nodeType": "VariableDeclaration", - "scope": 4166, - "src": "32587:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4144, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32587:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4147, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32619:2:1", - "nodeType": "VariableDeclaration", - "scope": 4166, - "src": "32605:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4146, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32605:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4149, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32631:2:1", - "nodeType": "VariableDeclaration", - "scope": 4166, - "src": "32623:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4148, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32623:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4151, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32640:2:1", - "nodeType": "VariableDeclaration", - "scope": 4166, - "src": "32635:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4150, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "32635:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "32586:57:1" - }, - "returnParameters": { - "id": 4153, - "nodeType": "ParameterList", - "parameters": [], - "src": "32658:0:1" - }, - "scope": 8146, - "src": "32574:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4188, - "nodeType": "Block", - "src": "32847:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c75696e743235362c6164647265737329", - "id": 4180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "32891:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1023f7b286378387abf24b7020dbd1ddde789519cf7f13da727146a2a8a61fc6", - "typeString": "literal_string \"log(string,string,uint256,address)\"" - }, - "value": "log(string,string,uint256,address)" - }, - { - "id": 4181, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4168, - "src": "32929:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4182, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4170, - "src": "32933:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4183, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4172, - "src": "32937:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4184, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4174, - "src": "32941:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1023f7b286378387abf24b7020dbd1ddde789519cf7f13da727146a2a8a61fc6", - "typeString": "literal_string \"log(string,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4178, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "32867:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "32867:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32867:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4177, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "32851:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "32851:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4187, - "nodeType": "ExpressionStatement", - "src": "32851:94:1" - } - ] - }, - "id": 4189, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32769:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4175, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4168, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32787:2:1", - "nodeType": "VariableDeclaration", - "scope": 4189, - "src": "32773:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4167, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32773:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4170, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32805:2:1", - "nodeType": "VariableDeclaration", - "scope": 4189, - "src": "32791:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4169, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32791:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4172, - "mutability": "mutable", - "name": "p2", - "nameLocation": "32817:2:1", - "nodeType": "VariableDeclaration", - "scope": 4189, - "src": "32809:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4171, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "32809:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4174, - "mutability": "mutable", - "name": "p3", - "nameLocation": "32829:2:1", - "nodeType": "VariableDeclaration", - "scope": 4189, - "src": "32821:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4173, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "32821:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "32772:60:1" - }, - "returnParameters": { - "id": 4176, - "nodeType": "ParameterList", - "parameters": [], - "src": "32847:0:1" - }, - "scope": 8146, - "src": "32760:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4211, - "nodeType": "Block", - "src": "33045:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c75696e7432353629", - "id": 4203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33089:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8eafb02b2f27070f4cef3c26d2b8a8d041c7bf077352780062dc5a70550ac689", - "typeString": "literal_string \"log(string,string,string,uint256)\"" - }, - "value": "log(string,string,string,uint256)" - }, - { - "id": 4204, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4191, - "src": "33126:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4205, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "33130:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4206, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4195, - "src": "33134:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4207, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4197, - "src": "33138:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8eafb02b2f27070f4cef3c26d2b8a8d041c7bf077352780062dc5a70550ac689", - "typeString": "literal_string \"log(string,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4201, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33065:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4202, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33065:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33065:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4200, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "33049:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33049:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4210, - "nodeType": "ExpressionStatement", - "src": "33049:93:1" - } - ] - }, - "id": 4212, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "32961:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4198, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4191, - "mutability": "mutable", - "name": "p0", - "nameLocation": "32979:2:1", - "nodeType": "VariableDeclaration", - "scope": 4212, - "src": "32965:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4190, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32965:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4193, - "mutability": "mutable", - "name": "p1", - "nameLocation": "32997:2:1", - "nodeType": "VariableDeclaration", - "scope": 4212, - "src": "32983:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4192, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "32983:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4195, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33015:2:1", - "nodeType": "VariableDeclaration", - "scope": 4212, - "src": "33001:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4194, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33001:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4197, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33027:2:1", - "nodeType": "VariableDeclaration", - "scope": 4212, - "src": "33019:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4196, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33019:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "32964:66:1" - }, - "returnParameters": { - "id": 4199, - "nodeType": "ParameterList", - "parameters": [], - "src": "33045:0:1" - }, - "scope": 8146, - "src": "32952:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4234, - "nodeType": "Block", - "src": "33248:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c737472696e6729", - "id": 4226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33292:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - "value": "log(string,string,string,string)" - }, - { - "id": 4227, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4214, - "src": "33328:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4228, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4216, - "src": "33332:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4229, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4218, - "src": "33336:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4230, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4220, - "src": "33340:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_de68f20a8e88f68d54c5aa294860ee37b58680632686e2f1101e4e042a2cbcbe", - "typeString": "literal_string \"log(string,string,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4224, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33268:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33268:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33268:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4223, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "33252:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33252:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4233, - "nodeType": "ExpressionStatement", - "src": "33252:92:1" - } - ] - }, - "id": 4235, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33158:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4221, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4214, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33176:2:1", - "nodeType": "VariableDeclaration", - "scope": 4235, - "src": "33162:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4213, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33162:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4216, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33194:2:1", - "nodeType": "VariableDeclaration", - "scope": 4235, - "src": "33180:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4215, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33180:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4218, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33212:2:1", - "nodeType": "VariableDeclaration", - "scope": 4235, - "src": "33198:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4217, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33198:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4220, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33230:2:1", - "nodeType": "VariableDeclaration", - "scope": 4235, - "src": "33216:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4219, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33216:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33161:72:1" - }, - "returnParameters": { - "id": 4222, - "nodeType": "ParameterList", - "parameters": [], - "src": "33248:0:1" - }, - "scope": 8146, - "src": "33149:199:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4257, - "nodeType": "Block", - "src": "33441:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c626f6f6c29", - "id": 4249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33485:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - "value": "log(string,string,string,bool)" - }, - { - "id": 4250, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4237, - "src": "33519:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4251, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4239, - "src": "33523:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4252, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4241, - "src": "33527:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4253, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4243, - "src": "33531:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2c1754ed9d3bc50669c3e71e3115dc4403f3cff35aa9b6b58799f80b5496f332", - "typeString": "literal_string \"log(string,string,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4247, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33461:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4248, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33461:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4254, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33461:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4246, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "33445:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33445:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4256, - "nodeType": "ExpressionStatement", - "src": "33445:90:1" - } - ] - }, - "id": 4258, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33360:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4237, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33378:2:1", - "nodeType": "VariableDeclaration", - "scope": 4258, - "src": "33364:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4236, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33364:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4239, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33396:2:1", - "nodeType": "VariableDeclaration", - "scope": 4258, - "src": "33382:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33382:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4241, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33414:2:1", - "nodeType": "VariableDeclaration", - "scope": 4258, - "src": "33400:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4240, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33400:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4243, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33423:2:1", - "nodeType": "VariableDeclaration", - "scope": 4258, - "src": "33418:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4242, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33418:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "33363:63:1" - }, - "returnParameters": { - "id": 4245, - "nodeType": "ParameterList", - "parameters": [], - "src": "33441:0:1" - }, - "scope": 8146, - "src": "33351:188:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4280, - "nodeType": "Block", - "src": "33635:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c737472696e672c6164647265737329", - "id": 4272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33679:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - "value": "log(string,string,string,address)" - }, - { - "id": 4273, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4260, - "src": "33716:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4274, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4262, - "src": "33720:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4275, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4264, - "src": "33724:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4276, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4266, - "src": "33728:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d572f449cf1e446ea3ace51a34ce30628f4f1588a39dc5d550cefb210c5bb16", - "typeString": "literal_string \"log(string,string,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4270, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33655:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4271, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33655:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33655:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4269, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "33639:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33639:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4279, - "nodeType": "ExpressionStatement", - "src": "33639:93:1" - } - ] - }, - "id": 4281, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33551:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4267, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4260, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33569:2:1", - "nodeType": "VariableDeclaration", - "scope": 4281, - "src": "33555:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4259, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33555:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4262, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33587:2:1", - "nodeType": "VariableDeclaration", - "scope": 4281, - "src": "33573:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4261, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33573:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4264, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33605:2:1", - "nodeType": "VariableDeclaration", - "scope": 4281, - "src": "33591:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4263, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33591:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4266, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33617:2:1", - "nodeType": "VariableDeclaration", - "scope": 4281, - "src": "33609:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4265, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "33609:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "33554:66:1" - }, - "returnParameters": { - "id": 4268, - "nodeType": "ParameterList", - "parameters": [], - "src": "33635:0:1" - }, - "scope": 8146, - "src": "33542:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4303, - "nodeType": "Block", - "src": "33823:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c75696e7432353629", - "id": 4295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "33867:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6aefad2ecee6d91421acc41f939bded56985ac5c9cf6e49011ee16b1bb31729", - "typeString": "literal_string \"log(string,string,bool,uint256)\"" - }, - "value": "log(string,string,bool,uint256)" - }, - { - "id": 4296, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4283, - "src": "33902:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4297, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4285, - "src": "33906:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4298, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4287, - "src": "33910:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4299, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4289, - "src": "33914:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6aefad2ecee6d91421acc41f939bded56985ac5c9cf6e49011ee16b1bb31729", - "typeString": "literal_string \"log(string,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4293, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "33843:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4294, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "33843:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4300, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33843:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4292, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "33827:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "33827:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4302, - "nodeType": "ExpressionStatement", - "src": "33827:91:1" - } - ] - }, - "id": 4304, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33748:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4290, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4283, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33766:2:1", - "nodeType": "VariableDeclaration", - "scope": 4304, - "src": "33752:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4282, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33752:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4285, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33784:2:1", - "nodeType": "VariableDeclaration", - "scope": 4304, - "src": "33770:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4284, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33770:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4287, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33793:2:1", - "nodeType": "VariableDeclaration", - "scope": 4304, - "src": "33788:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4286, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33788:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4289, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33805:2:1", - "nodeType": "VariableDeclaration", - "scope": 4304, - "src": "33797:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "33797:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "33751:57:1" - }, - "returnParameters": { - "id": 4291, - "nodeType": "ParameterList", - "parameters": [], - "src": "33823:0:1" - }, - "scope": 8146, - "src": "33739:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4326, - "nodeType": "Block", - "src": "34015:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c737472696e6729", - "id": 4318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34059:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - "value": "log(string,string,bool,string)" - }, - { - "id": 4319, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4306, - "src": "34093:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4320, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4308, - "src": "34097:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4321, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4310, - "src": "34101:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4322, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4312, - "src": "34105:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5e84b0ea51a130c3c7e1443097f28cb5c541ea8487836ae7cb1ca9c6e683699b", - "typeString": "literal_string \"log(string,string,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4316, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34035:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34035:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4323, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34035:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4315, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34019:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34019:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4325, - "nodeType": "ExpressionStatement", - "src": "34019:90:1" - } - ] - }, - "id": 4327, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "33934:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4313, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4306, - "mutability": "mutable", - "name": "p0", - "nameLocation": "33952:2:1", - "nodeType": "VariableDeclaration", - "scope": 4327, - "src": "33938:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4305, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33938:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4308, - "mutability": "mutable", - "name": "p1", - "nameLocation": "33970:2:1", - "nodeType": "VariableDeclaration", - "scope": 4327, - "src": "33956:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4307, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33956:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4310, - "mutability": "mutable", - "name": "p2", - "nameLocation": "33979:2:1", - "nodeType": "VariableDeclaration", - "scope": 4327, - "src": "33974:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4309, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "33974:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4312, - "mutability": "mutable", - "name": "p3", - "nameLocation": "33997:2:1", - "nodeType": "VariableDeclaration", - "scope": 4327, - "src": "33983:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4311, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "33983:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "33937:63:1" - }, - "returnParameters": { - "id": 4314, - "nodeType": "ParameterList", - "parameters": [], - "src": "34015:0:1" - }, - "scope": 8146, - "src": "33925:188:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4349, - "nodeType": "Block", - "src": "34197:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c626f6f6c29", - "id": 4341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34241:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - "value": "log(string,string,bool,bool)" - }, - { - "id": 4342, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4329, - "src": "34273:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4343, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4331, - "src": "34277:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4344, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4333, - "src": "34281:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4345, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4335, - "src": "34285:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_40785869c0ea63ca2ccbcf7415552989c2f1ce04f151eb3b2bd695c64d21af10", - "typeString": "literal_string \"log(string,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4339, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34217:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4340, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34217:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4346, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34217:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4338, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34201:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34201:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4348, - "nodeType": "ExpressionStatement", - "src": "34201:88:1" - } - ] - }, - "id": 4350, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34125:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4336, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4329, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34143:2:1", - "nodeType": "VariableDeclaration", - "scope": 4350, - "src": "34129:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4328, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34129:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4331, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34161:2:1", - "nodeType": "VariableDeclaration", - "scope": 4350, - "src": "34147:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4330, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34147:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4333, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34170:2:1", - "nodeType": "VariableDeclaration", - "scope": 4350, - "src": "34165:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4332, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34165:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4335, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34179:2:1", - "nodeType": "VariableDeclaration", - "scope": 4350, - "src": "34174:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4334, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34174:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34128:54:1" - }, - "returnParameters": { - "id": 4337, - "nodeType": "ParameterList", - "parameters": [], - "src": "34197:0:1" - }, - "scope": 8146, - "src": "34116:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4372, - "nodeType": "Block", - "src": "34380:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c626f6f6c2c6164647265737329", - "id": 4364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34424:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - "value": "log(string,string,bool,address)" - }, - { - "id": 4365, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4352, - "src": "34459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4366, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4354, - "src": "34463:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4367, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4356, - "src": "34467:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4368, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4358, - "src": "34471:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c371c7db0a4b104babdbdf00d079eb75cb5aa1d401c4fb726c8e5559029df84d", - "typeString": "literal_string \"log(string,string,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4362, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34400:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4363, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34400:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34400:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4361, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34384:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34384:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4371, - "nodeType": "ExpressionStatement", - "src": "34384:91:1" - } - ] - }, - "id": 4373, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34305:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4359, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4352, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34323:2:1", - "nodeType": "VariableDeclaration", - "scope": 4373, - "src": "34309:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4351, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34309:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4354, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34341:2:1", - "nodeType": "VariableDeclaration", - "scope": 4373, - "src": "34327:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4353, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34327:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4356, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34350:2:1", - "nodeType": "VariableDeclaration", - "scope": 4373, - "src": "34345:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4355, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34345:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4358, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34362:2:1", - "nodeType": "VariableDeclaration", - "scope": 4373, - "src": "34354:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34354:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "34308:57:1" - }, - "returnParameters": { - "id": 4360, - "nodeType": "ParameterList", - "parameters": [], - "src": "34380:0:1" - }, - "scope": 8146, - "src": "34296:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4395, - "nodeType": "Block", - "src": "34569:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c75696e7432353629", - "id": 4387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34613:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7cc3c607046f21bb2d1cc4864448de2e6c44029beb9bfc36cf6ca90777ae5a00", - "typeString": "literal_string \"log(string,string,address,uint256)\"" - }, - "value": "log(string,string,address,uint256)" - }, - { - "id": 4388, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4375, - "src": "34651:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4389, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4377, - "src": "34655:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4390, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4379, - "src": "34659:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4391, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4381, - "src": "34663:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7cc3c607046f21bb2d1cc4864448de2e6c44029beb9bfc36cf6ca90777ae5a00", - "typeString": "literal_string \"log(string,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4385, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34589:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34589:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4392, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34589:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4384, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34573:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34573:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4394, - "nodeType": "ExpressionStatement", - "src": "34573:94:1" - } - ] - }, - "id": 4396, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34491:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4382, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4375, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34509:2:1", - "nodeType": "VariableDeclaration", - "scope": 4396, - "src": "34495:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4374, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34495:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4377, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34527:2:1", - "nodeType": "VariableDeclaration", - "scope": 4396, - "src": "34513:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4376, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34513:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4379, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34539:2:1", - "nodeType": "VariableDeclaration", - "scope": 4396, - "src": "34531:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34531:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4381, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34551:2:1", - "nodeType": "VariableDeclaration", - "scope": 4396, - "src": "34543:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4380, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "34543:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "34494:60:1" - }, - "returnParameters": { - "id": 4383, - "nodeType": "ParameterList", - "parameters": [], - "src": "34569:0:1" - }, - "scope": 8146, - "src": "34482:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4418, - "nodeType": "Block", - "src": "34767:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c737472696e6729", - "id": 4410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34811:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - "value": "log(string,string,address,string)" - }, - { - "id": 4411, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4398, - "src": "34848:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4412, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4400, - "src": "34852:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4413, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4402, - "src": "34856:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4414, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4404, - "src": "34860:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eb1bff805ef136c60bfed230c7b932a14c6f7a62608edeaf56f8f2c0575d25b6", - "typeString": "literal_string \"log(string,string,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4408, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34787:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34787:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34787:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4407, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34771:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34771:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4417, - "nodeType": "ExpressionStatement", - "src": "34771:93:1" - } - ] - }, - "id": 4419, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34683:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4398, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34701:2:1", - "nodeType": "VariableDeclaration", - "scope": 4419, - "src": "34687:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4397, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34687:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4400, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34719:2:1", - "nodeType": "VariableDeclaration", - "scope": 4419, - "src": "34705:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4399, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34705:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4402, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34731:2:1", - "nodeType": "VariableDeclaration", - "scope": 4419, - "src": "34723:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4401, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34723:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4404, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34749:2:1", - "nodeType": "VariableDeclaration", - "scope": 4419, - "src": "34735:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4403, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34735:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "34686:66:1" - }, - "returnParameters": { - "id": 4406, - "nodeType": "ParameterList", - "parameters": [], - "src": "34767:0:1" - }, - "scope": 8146, - "src": "34674:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4441, - "nodeType": "Block", - "src": "34955:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c626f6f6c29", - "id": 4433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "34999:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - "value": "log(string,string,address,bool)" - }, - { - "id": 4434, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4421, - "src": "35034:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4435, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4423, - "src": "35038:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4436, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4425, - "src": "35042:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4437, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4427, - "src": "35046:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5ccd4e373eb6ae26626c8607ae861c55cda5fd321363edde7e6328e09072ba63", - "typeString": "literal_string \"log(string,string,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4431, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "34975:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "34975:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4438, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34975:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4430, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "34959:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "34959:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4440, - "nodeType": "ExpressionStatement", - "src": "34959:91:1" - } - ] - }, - "id": 4442, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "34880:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4428, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4421, - "mutability": "mutable", - "name": "p0", - "nameLocation": "34898:2:1", - "nodeType": "VariableDeclaration", - "scope": 4442, - "src": "34884:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4420, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34884:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4423, - "mutability": "mutable", - "name": "p1", - "nameLocation": "34916:2:1", - "nodeType": "VariableDeclaration", - "scope": 4442, - "src": "34902:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4422, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "34902:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4425, - "mutability": "mutable", - "name": "p2", - "nameLocation": "34928:2:1", - "nodeType": "VariableDeclaration", - "scope": 4442, - "src": "34920:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4424, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "34920:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4427, - "mutability": "mutable", - "name": "p3", - "nameLocation": "34937:2:1", - "nodeType": "VariableDeclaration", - "scope": 4442, - "src": "34932:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4426, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "34932:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "34883:57:1" - }, - "returnParameters": { - "id": 4429, - "nodeType": "ParameterList", - "parameters": [], - "src": "34955:0:1" - }, - "scope": 8146, - "src": "34871:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4464, - "nodeType": "Block", - "src": "35144:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c737472696e672c616464726573732c6164647265737329", - "id": 4456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35188:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - "value": "log(string,string,address,address)" - }, - { - "id": 4457, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4444, - "src": "35226:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4458, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4446, - "src": "35230:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4459, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4448, - "src": "35234:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4460, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4450, - "src": "35238:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_439c7befd1b6bfcb9bd001c1f3a991ef43c070f0ace0c190dd9f16d7ae338a5d", - "typeString": "literal_string \"log(string,string,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4454, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35164:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35164:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35164:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4453, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "35148:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35148:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4463, - "nodeType": "ExpressionStatement", - "src": "35148:94:1" - } - ] - }, - "id": 4465, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35066:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4451, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4444, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35084:2:1", - "nodeType": "VariableDeclaration", - "scope": 4465, - "src": "35070:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4443, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35070:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4446, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35102:2:1", - "nodeType": "VariableDeclaration", - "scope": 4465, - "src": "35088:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4445, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35088:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4448, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35114:2:1", - "nodeType": "VariableDeclaration", - "scope": 4465, - "src": "35106:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4447, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35106:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4450, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35126:2:1", - "nodeType": "VariableDeclaration", - "scope": 4465, - "src": "35118:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4449, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35118:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35069:60:1" - }, - "returnParameters": { - "id": 4452, - "nodeType": "ParameterList", - "parameters": [], - "src": "35144:0:1" - }, - "scope": 8146, - "src": "35057:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4487, - "nodeType": "Block", - "src": "35327:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c75696e7432353629", - "id": 4479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35371:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_64b5bb671d0911515c2d999ed3f7f689c3b5762a99b342dfee4a1d88fec7b25e", - "typeString": "literal_string \"log(string,bool,uint256,uint256)\"" - }, - "value": "log(string,bool,uint256,uint256)" - }, - { - "id": 4480, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4467, - "src": "35407:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4481, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4469, - "src": "35411:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4482, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4471, - "src": "35415:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4483, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4473, - "src": "35419:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_64b5bb671d0911515c2d999ed3f7f689c3b5762a99b342dfee4a1d88fec7b25e", - "typeString": "literal_string \"log(string,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4477, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35347:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4478, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35347:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35347:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4476, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "35331:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35331:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4486, - "nodeType": "ExpressionStatement", - "src": "35331:92:1" - } - ] - }, - "id": 4488, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35258:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4467, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35276:2:1", - "nodeType": "VariableDeclaration", - "scope": 4488, - "src": "35262:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4466, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35262:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4469, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35285:2:1", - "nodeType": "VariableDeclaration", - "scope": 4488, - "src": "35280:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4468, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35280:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4471, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35297:2:1", - "nodeType": "VariableDeclaration", - "scope": 4488, - "src": "35289:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4470, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35289:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4473, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35309:2:1", - "nodeType": "VariableDeclaration", - "scope": 4488, - "src": "35301:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4472, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35301:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35261:51:1" - }, - "returnParameters": { - "id": 4475, - "nodeType": "ParameterList", - "parameters": [], - "src": "35327:0:1" - }, - "scope": 8146, - "src": "35249:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4510, - "nodeType": "Block", - "src": "35514:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c737472696e6729", - "id": 4502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35558:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_742d6ee771df9df1dec5a8b70ff5f7f41567f6ae9fe27e7e391b2811f9978b00", - "typeString": "literal_string \"log(string,bool,uint256,string)\"" - }, - "value": "log(string,bool,uint256,string)" - }, - { - "id": 4503, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4490, - "src": "35593:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4504, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4492, - "src": "35597:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4505, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4494, - "src": "35601:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4506, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4496, - "src": "35605:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_742d6ee771df9df1dec5a8b70ff5f7f41567f6ae9fe27e7e391b2811f9978b00", - "typeString": "literal_string \"log(string,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4500, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35534:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35534:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35534:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4499, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "35518:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35518:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4509, - "nodeType": "ExpressionStatement", - "src": "35518:91:1" - } - ] - }, - "id": 4511, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35439:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4490, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35457:2:1", - "nodeType": "VariableDeclaration", - "scope": 4511, - "src": "35443:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4489, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35443:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4492, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35466:2:1", - "nodeType": "VariableDeclaration", - "scope": 4511, - "src": "35461:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4491, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35461:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4494, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35478:2:1", - "nodeType": "VariableDeclaration", - "scope": 4511, - "src": "35470:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4493, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35470:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4496, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35496:2:1", - "nodeType": "VariableDeclaration", - "scope": 4511, - "src": "35482:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4495, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35482:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "35442:57:1" - }, - "returnParameters": { - "id": 4498, - "nodeType": "ParameterList", - "parameters": [], - "src": "35514:0:1" - }, - "scope": 8146, - "src": "35430:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4533, - "nodeType": "Block", - "src": "35691:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c626f6f6c29", - "id": 4525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35735:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8af7cf8a379b674b00a81c3841f4203ce23fde0db10f1f8c2a0017ca424d79e2", - "typeString": "literal_string \"log(string,bool,uint256,bool)\"" - }, - "value": "log(string,bool,uint256,bool)" - }, - { - "id": 4526, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4513, - "src": "35768:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4527, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4515, - "src": "35772:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4528, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4517, - "src": "35776:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4529, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4519, - "src": "35780:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8af7cf8a379b674b00a81c3841f4203ce23fde0db10f1f8c2a0017ca424d79e2", - "typeString": "literal_string \"log(string,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4523, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35711:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4524, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35711:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35711:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4522, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "35695:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35695:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4532, - "nodeType": "ExpressionStatement", - "src": "35695:89:1" - } - ] - }, - "id": 4534, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35625:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4513, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35643:2:1", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "35629:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4512, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35629:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4515, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35652:2:1", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "35647:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4514, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35647:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4517, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35664:2:1", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "35656:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4516, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35656:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4519, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35673:2:1", - "nodeType": "VariableDeclaration", - "scope": 4534, - "src": "35668:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35668:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "35628:48:1" - }, - "returnParameters": { - "id": 4521, - "nodeType": "ParameterList", - "parameters": [], - "src": "35691:0:1" - }, - "scope": 8146, - "src": "35616:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4556, - "nodeType": "Block", - "src": "35869:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c75696e743235362c6164647265737329", - "id": 4548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "35913:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_935e09bfd29779a7e049f17e6e907bb9f7181e93c0c486cf646b7471eb4a9d1e", - "typeString": "literal_string \"log(string,bool,uint256,address)\"" - }, - "value": "log(string,bool,uint256,address)" - }, - { - "id": 4549, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4536, - "src": "35949:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4550, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4538, - "src": "35953:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4551, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4540, - "src": "35957:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4552, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4542, - "src": "35961:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_935e09bfd29779a7e049f17e6e907bb9f7181e93c0c486cf646b7471eb4a9d1e", - "typeString": "literal_string \"log(string,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4546, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "35889:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "35889:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35889:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4545, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "35873:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "35873:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4555, - "nodeType": "ExpressionStatement", - "src": "35873:92:1" - } - ] - }, - "id": 4557, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35800:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4536, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35818:2:1", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "35804:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4535, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35804:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4538, - "mutability": "mutable", - "name": "p1", - "nameLocation": "35827:2:1", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "35822:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4537, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "35822:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4540, - "mutability": "mutable", - "name": "p2", - "nameLocation": "35839:2:1", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "35831:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "35831:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4542, - "mutability": "mutable", - "name": "p3", - "nameLocation": "35851:2:1", - "nodeType": "VariableDeclaration", - "scope": 4557, - "src": "35843:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4541, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "35843:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "35803:51:1" - }, - "returnParameters": { - "id": 4544, - "nodeType": "ParameterList", - "parameters": [], - "src": "35869:0:1" - }, - "scope": 8146, - "src": "35791:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4579, - "nodeType": "Block", - "src": "36056:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c75696e7432353629", - "id": 4571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36100:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_24f9146562ee02c43db65ac014241fab3a51c9e29435f60d2ed133a186cac03a", - "typeString": "literal_string \"log(string,bool,string,uint256)\"" - }, - "value": "log(string,bool,string,uint256)" - }, - { - "id": 4572, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4559, - "src": "36135:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4573, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4561, - "src": "36139:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4574, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4563, - "src": "36143:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4575, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4565, - "src": "36147:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_24f9146562ee02c43db65ac014241fab3a51c9e29435f60d2ed133a186cac03a", - "typeString": "literal_string \"log(string,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4569, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36076:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36076:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4576, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36076:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4568, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36060:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36060:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4578, - "nodeType": "ExpressionStatement", - "src": "36060:91:1" - } - ] - }, - "id": 4580, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "35981:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4566, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4559, - "mutability": "mutable", - "name": "p0", - "nameLocation": "35999:2:1", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "35985:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "35985:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4561, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36008:2:1", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "36003:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4560, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36003:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4563, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36026:2:1", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "36012:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4562, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36012:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4565, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36038:2:1", - "nodeType": "VariableDeclaration", - "scope": 4580, - "src": "36030:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4564, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36030:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "35984:57:1" - }, - "returnParameters": { - "id": 4567, - "nodeType": "ParameterList", - "parameters": [], - "src": "36056:0:1" - }, - "scope": 8146, - "src": "35972:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4602, - "nodeType": "Block", - "src": "36248:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c737472696e6729", - "id": 4594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36292:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - "value": "log(string,bool,string,string)" - }, - { - "id": 4595, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4582, - "src": "36326:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4596, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4584, - "src": "36330:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4597, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4586, - "src": "36334:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4598, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4588, - "src": "36338:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a826caebc65f4a71211c1c7fd8dc9bdd856d7ef7dbeef42d8af156e9f73bc47d", - "typeString": "literal_string \"log(string,bool,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4592, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36268:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4593, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36268:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4599, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36268:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4591, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36252:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36252:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4601, - "nodeType": "ExpressionStatement", - "src": "36252:90:1" - } - ] - }, - "id": 4603, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36167:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4589, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4582, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36185:2:1", - "nodeType": "VariableDeclaration", - "scope": 4603, - "src": "36171:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4581, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36171:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4584, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36194:2:1", - "nodeType": "VariableDeclaration", - "scope": 4603, - "src": "36189:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4583, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36189:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4586, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36212:2:1", - "nodeType": "VariableDeclaration", - "scope": 4603, - "src": "36198:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4585, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36198:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4588, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36230:2:1", - "nodeType": "VariableDeclaration", - "scope": 4603, - "src": "36216:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4587, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36216:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36170:63:1" - }, - "returnParameters": { - "id": 4590, - "nodeType": "ParameterList", - "parameters": [], - "src": "36248:0:1" - }, - "scope": 8146, - "src": "36158:188:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4625, - "nodeType": "Block", - "src": "36430:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c626f6f6c29", - "id": 4617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36474:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - "value": "log(string,bool,string,bool)" - }, - { - "id": 4618, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4605, - "src": "36506:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4619, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4607, - "src": "36510:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4620, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4609, - "src": "36514:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4621, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4611, - "src": "36518:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3f8a701d00386d6ad9c7b7a930805b985bcbbe108e894a7d5cb9493e87e57e8b", - "typeString": "literal_string \"log(string,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4615, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36450:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36450:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36450:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4614, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36434:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36434:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4624, - "nodeType": "ExpressionStatement", - "src": "36434:88:1" - } - ] - }, - "id": 4626, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36358:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4605, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36376:2:1", - "nodeType": "VariableDeclaration", - "scope": 4626, - "src": "36362:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4604, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36362:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4607, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36385:2:1", - "nodeType": "VariableDeclaration", - "scope": 4626, - "src": "36380:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4606, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36380:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4609, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36403:2:1", - "nodeType": "VariableDeclaration", - "scope": 4626, - "src": "36389:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4608, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36389:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4611, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36412:2:1", - "nodeType": "VariableDeclaration", - "scope": 4626, - "src": "36407:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4610, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36407:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "36361:54:1" - }, - "returnParameters": { - "id": 4613, - "nodeType": "ParameterList", - "parameters": [], - "src": "36430:0:1" - }, - "scope": 8146, - "src": "36349:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4648, - "nodeType": "Block", - "src": "36613:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c737472696e672c6164647265737329", - "id": 4640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36657:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - "value": "log(string,bool,string,address)" - }, - { - "id": 4641, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4628, - "src": "36692:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4642, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4630, - "src": "36696:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4643, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4632, - "src": "36700:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4644, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4634, - "src": "36704:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e0625b292fa5cbc865b55f61713cbbe0ce7abb244ec2df45291ea19c30ddfaf8", - "typeString": "literal_string \"log(string,bool,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4638, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36633:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4639, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36633:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36633:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4637, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36617:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36617:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4647, - "nodeType": "ExpressionStatement", - "src": "36617:91:1" - } - ] - }, - "id": 4649, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36538:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4635, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4628, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36556:2:1", - "nodeType": "VariableDeclaration", - "scope": 4649, - "src": "36542:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4627, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36542:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4630, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36565:2:1", - "nodeType": "VariableDeclaration", - "scope": 4649, - "src": "36560:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4629, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36560:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4632, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36583:2:1", - "nodeType": "VariableDeclaration", - "scope": 4649, - "src": "36569:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4631, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36569:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4634, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36595:2:1", - "nodeType": "VariableDeclaration", - "scope": 4649, - "src": "36587:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4633, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "36587:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "36541:57:1" - }, - "returnParameters": { - "id": 4636, - "nodeType": "ParameterList", - "parameters": [], - "src": "36613:0:1" - }, - "scope": 8146, - "src": "36529:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4671, - "nodeType": "Block", - "src": "36790:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 4663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "36834:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e3f78a95b6137f6ae9ccc69d6fedacb3b283b432b4367bfc497a4b3b428665c", - "typeString": "literal_string \"log(string,bool,bool,uint256)\"" - }, - "value": "log(string,bool,bool,uint256)" - }, - { - "id": 4664, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4651, - "src": "36867:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4665, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4653, - "src": "36871:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4666, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4655, - "src": "36875:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4667, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4657, - "src": "36879:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e3f78a95b6137f6ae9ccc69d6fedacb3b283b432b4367bfc497a4b3b428665c", - "typeString": "literal_string \"log(string,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4661, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36810:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4662, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36810:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36810:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4660, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36794:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36794:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4670, - "nodeType": "ExpressionStatement", - "src": "36794:89:1" - } - ] - }, - "id": 4672, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36724:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4651, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36742:2:1", - "nodeType": "VariableDeclaration", - "scope": 4672, - "src": "36728:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4650, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36728:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4653, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36751:2:1", - "nodeType": "VariableDeclaration", - "scope": 4672, - "src": "36746:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4652, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36746:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4655, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36760:2:1", - "nodeType": "VariableDeclaration", - "scope": 4672, - "src": "36755:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4654, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36755:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4657, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36772:2:1", - "nodeType": "VariableDeclaration", - "scope": 4672, - "src": "36764:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4656, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "36764:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "36727:48:1" - }, - "returnParameters": { - "id": 4659, - "nodeType": "ParameterList", - "parameters": [], - "src": "36790:0:1" - }, - "scope": 8146, - "src": "36715:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4694, - "nodeType": "Block", - "src": "36971:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c737472696e6729", - "id": 4686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37015:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - "value": "log(string,bool,bool,string)" - }, - { - "id": 4687, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4674, - "src": "37047:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4688, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4676, - "src": "37051:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4689, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4678, - "src": "37055:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4690, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4680, - "src": "37059:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9d22d5dd5fa6b44920526f32944af8a0b12651bcfe7d5e4d9330573146eaf058", - "typeString": "literal_string \"log(string,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4684, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "36991:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "36991:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4691, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36991:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4683, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "36975:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "36975:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4693, - "nodeType": "ExpressionStatement", - "src": "36975:88:1" - } - ] - }, - "id": 4695, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "36899:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4681, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4674, - "mutability": "mutable", - "name": "p0", - "nameLocation": "36917:2:1", - "nodeType": "VariableDeclaration", - "scope": 4695, - "src": "36903:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4673, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36903:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4676, - "mutability": "mutable", - "name": "p1", - "nameLocation": "36926:2:1", - "nodeType": "VariableDeclaration", - "scope": 4695, - "src": "36921:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4675, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36921:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4678, - "mutability": "mutable", - "name": "p2", - "nameLocation": "36935:2:1", - "nodeType": "VariableDeclaration", - "scope": 4695, - "src": "36930:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4677, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "36930:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4680, - "mutability": "mutable", - "name": "p3", - "nameLocation": "36953:2:1", - "nodeType": "VariableDeclaration", - "scope": 4695, - "src": "36939:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4679, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "36939:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "36902:54:1" - }, - "returnParameters": { - "id": 4682, - "nodeType": "ParameterList", - "parameters": [], - "src": "36971:0:1" - }, - "scope": 8146, - "src": "36890:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4717, - "nodeType": "Block", - "src": "37142:94:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 4709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37186:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - "value": "log(string,bool,bool,bool)" - }, - { - "id": 4710, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4697, - "src": "37216:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4711, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4699, - "src": "37220:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4712, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4701, - "src": "37224:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4713, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4703, - "src": "37228:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_895af8c5b50078ceec3119054e20583155eeb3e1a8f56b8ed56efbec57456ad2", - "typeString": "literal_string \"log(string,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4707, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37162:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4708, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37162:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4714, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37162:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4706, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "37146:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37146:86:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4716, - "nodeType": "ExpressionStatement", - "src": "37146:86:1" - } - ] - }, - "id": 4718, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37079:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4704, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4697, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37097:2:1", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "37083:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4696, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37083:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4699, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37106:2:1", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "37101:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4698, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37101:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4701, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37115:2:1", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "37110:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4700, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37110:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4703, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37124:2:1", - "nodeType": "VariableDeclaration", - "scope": 4718, - "src": "37119:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4702, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37119:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37082:45:1" - }, - "returnParameters": { - "id": 4705, - "nodeType": "ParameterList", - "parameters": [], - "src": "37142:0:1" - }, - "scope": 8146, - "src": "37070:166:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4740, - "nodeType": "Block", - "src": "37314:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c626f6f6c2c6164647265737329", - "id": 4732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37358:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - "value": "log(string,bool,bool,address)" - }, - { - "id": 4733, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4720, - "src": "37391:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4734, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4722, - "src": "37395:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4735, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "37399:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4736, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4726, - "src": "37403:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7190a529624f3e9168945b9053b9648f6439313f31cad0801b50f9dc38a45d4d", - "typeString": "literal_string \"log(string,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4730, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37334:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37334:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37334:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4729, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "37318:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37318:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4739, - "nodeType": "ExpressionStatement", - "src": "37318:89:1" - } - ] - }, - "id": 4741, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37248:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4727, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4720, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37266:2:1", - "nodeType": "VariableDeclaration", - "scope": 4741, - "src": "37252:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4719, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37252:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4722, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37275:2:1", - "nodeType": "VariableDeclaration", - "scope": 4741, - "src": "37270:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4721, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37270:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4724, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37284:2:1", - "nodeType": "VariableDeclaration", - "scope": 4741, - "src": "37279:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4723, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37279:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4726, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37296:2:1", - "nodeType": "VariableDeclaration", - "scope": 4741, - "src": "37288:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4725, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37288:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37251:48:1" - }, - "returnParameters": { - "id": 4728, - "nodeType": "ParameterList", - "parameters": [], - "src": "37314:0:1" - }, - "scope": 8146, - "src": "37239:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4763, - "nodeType": "Block", - "src": "37492:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c75696e7432353629", - "id": 4755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37536:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d08bb051545e1af26b8dc05172e6aa8a0bd85212ec19e971b10cea364c21531", - "typeString": "literal_string \"log(string,bool,address,uint256)\"" - }, - "value": "log(string,bool,address,uint256)" - }, - { - "id": 4756, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4743, - "src": "37572:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4757, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4745, - "src": "37576:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4758, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4747, - "src": "37580:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4759, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4749, - "src": "37584:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d08bb051545e1af26b8dc05172e6aa8a0bd85212ec19e971b10cea364c21531", - "typeString": "literal_string \"log(string,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4753, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37512:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37512:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37512:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4752, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "37496:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37496:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4762, - "nodeType": "ExpressionStatement", - "src": "37496:92:1" - } - ] - }, - "id": 4764, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37423:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4750, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4743, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37441:2:1", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "37427:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4742, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37427:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4745, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37450:2:1", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "37445:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4744, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37445:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4747, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37462:2:1", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "37454:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4746, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37454:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4749, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37474:2:1", - "nodeType": "VariableDeclaration", - "scope": 4764, - "src": "37466:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4748, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "37466:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "37426:51:1" - }, - "returnParameters": { - "id": 4751, - "nodeType": "ParameterList", - "parameters": [], - "src": "37492:0:1" - }, - "scope": 8146, - "src": "37414:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4786, - "nodeType": "Block", - "src": "37679:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c737472696e6729", - "id": 4778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37723:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - "value": "log(string,bool,address,string)" - }, - { - "id": 4779, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4766, - "src": "37758:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4780, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4768, - "src": "37762:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4781, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4770, - "src": "37766:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4782, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4772, - "src": "37770:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2d8e33a4e52268aad313274a8446eec6f40466a28da2456a8f12d83b298c13ef", - "typeString": "literal_string \"log(string,bool,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4776, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37699:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37699:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37699:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4775, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "37683:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37683:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4785, - "nodeType": "ExpressionStatement", - "src": "37683:91:1" - } - ] - }, - "id": 4787, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37604:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4773, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4766, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37622:2:1", - "nodeType": "VariableDeclaration", - "scope": 4787, - "src": "37608:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4765, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37608:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4768, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37631:2:1", - "nodeType": "VariableDeclaration", - "scope": 4787, - "src": "37626:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4767, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37626:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4770, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37643:2:1", - "nodeType": "VariableDeclaration", - "scope": 4787, - "src": "37635:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4769, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37635:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4772, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37661:2:1", - "nodeType": "VariableDeclaration", - "scope": 4787, - "src": "37647:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4771, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37647:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "37607:57:1" - }, - "returnParameters": { - "id": 4774, - "nodeType": "ParameterList", - "parameters": [], - "src": "37679:0:1" - }, - "scope": 8146, - "src": "37595:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4809, - "nodeType": "Block", - "src": "37856:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c626f6f6c29", - "id": 4801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "37900:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - "value": "log(string,bool,address,bool)" - }, - { - "id": 4802, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4789, - "src": "37933:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4803, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4791, - "src": "37937:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4804, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4793, - "src": "37941:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4805, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4795, - "src": "37945:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_958c28c6e7bd79de7ce7f6f112cbcb194d9e383764dfb947492ee1374ff5c482", - "typeString": "literal_string \"log(string,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4799, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "37876:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "37876:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37876:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4798, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "37860:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "37860:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4808, - "nodeType": "ExpressionStatement", - "src": "37860:89:1" - } - ] - }, - "id": 4810, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37790:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4796, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4789, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37808:2:1", - "nodeType": "VariableDeclaration", - "scope": 4810, - "src": "37794:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4788, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37794:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4791, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37817:2:1", - "nodeType": "VariableDeclaration", - "scope": 4810, - "src": "37812:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4790, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37812:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4793, - "mutability": "mutable", - "name": "p2", - "nameLocation": "37829:2:1", - "nodeType": "VariableDeclaration", - "scope": 4810, - "src": "37821:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4792, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37821:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4795, - "mutability": "mutable", - "name": "p3", - "nameLocation": "37838:2:1", - "nodeType": "VariableDeclaration", - "scope": 4810, - "src": "37833:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4794, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37833:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "37793:48:1" - }, - "returnParameters": { - "id": 4797, - "nodeType": "ParameterList", - "parameters": [], - "src": "37856:0:1" - }, - "scope": 8146, - "src": "37781:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4832, - "nodeType": "Block", - "src": "38034:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c626f6f6c2c616464726573732c6164647265737329", - "id": 4824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38078:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - "value": "log(string,bool,address,address)" - }, - { - "id": 4825, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4812, - "src": "38114:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4826, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4814, - "src": "38118:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 4827, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4816, - "src": "38122:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4828, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4818, - "src": "38126:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_33e9dd1deb33816160eb59d86987de501b214bedbbe3c70103eff4092834b53d", - "typeString": "literal_string \"log(string,bool,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4822, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38054:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4823, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38054:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4829, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38054:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4821, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38038:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38038:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4831, - "nodeType": "ExpressionStatement", - "src": "38038:92:1" - } - ] - }, - "id": 4833, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "37965:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4819, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4812, - "mutability": "mutable", - "name": "p0", - "nameLocation": "37983:2:1", - "nodeType": "VariableDeclaration", - "scope": 4833, - "src": "37969:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4811, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "37969:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4814, - "mutability": "mutable", - "name": "p1", - "nameLocation": "37992:2:1", - "nodeType": "VariableDeclaration", - "scope": 4833, - "src": "37987:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4813, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "37987:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4816, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38004:2:1", - "nodeType": "VariableDeclaration", - "scope": 4833, - "src": "37996:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4815, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "37996:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4818, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38016:2:1", - "nodeType": "VariableDeclaration", - "scope": 4833, - "src": "38008:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4817, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38008:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "37968:51:1" - }, - "returnParameters": { - "id": 4820, - "nodeType": "ParameterList", - "parameters": [], - "src": "38034:0:1" - }, - "scope": 8146, - "src": "37956:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4855, - "nodeType": "Block", - "src": "38218:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c75696e7432353629", - "id": 4847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38262:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f8f51b1efa50f24f22e6d84ce2fe784a33e1301484ada1546e913ae05d6370e9", - "typeString": "literal_string \"log(string,address,uint256,uint256)\"" - }, - "value": "log(string,address,uint256,uint256)" - }, - { - "id": 4848, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4835, - "src": "38301:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4849, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4837, - "src": "38305:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4850, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4839, - "src": "38309:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4851, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4841, - "src": "38313:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f8f51b1efa50f24f22e6d84ce2fe784a33e1301484ada1546e913ae05d6370e9", - "typeString": "literal_string \"log(string,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4845, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38238:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4846, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38238:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38238:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4844, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38222:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38222:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4854, - "nodeType": "ExpressionStatement", - "src": "38222:95:1" - } - ] - }, - "id": 4856, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38146:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4842, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4835, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38164:2:1", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "38150:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4834, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38150:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4837, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38176:2:1", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "38168:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4836, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38168:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4839, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38188:2:1", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "38180:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4838, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38180:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4841, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38200:2:1", - "nodeType": "VariableDeclaration", - "scope": 4856, - "src": "38192:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4840, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38192:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38149:54:1" - }, - "returnParameters": { - "id": 4843, - "nodeType": "ParameterList", - "parameters": [], - "src": "38218:0:1" - }, - "scope": 8146, - "src": "38137:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4878, - "nodeType": "Block", - "src": "38411:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c737472696e6729", - "id": 4870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38455:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5a477632ed0f8b7872a83c9247644de555db395491f2f355c6edb676d8bcb46c", - "typeString": "literal_string \"log(string,address,uint256,string)\"" - }, - "value": "log(string,address,uint256,string)" - }, - { - "id": 4871, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4858, - "src": "38493:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4872, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4860, - "src": "38497:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4873, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4862, - "src": "38501:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4874, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4864, - "src": "38505:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5a477632ed0f8b7872a83c9247644de555db395491f2f355c6edb676d8bcb46c", - "typeString": "literal_string \"log(string,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4868, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38431:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4869, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38431:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38431:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4867, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38415:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38415:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4877, - "nodeType": "ExpressionStatement", - "src": "38415:94:1" - } - ] - }, - "id": 4879, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38333:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4865, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4858, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38351:2:1", - "nodeType": "VariableDeclaration", - "scope": 4879, - "src": "38337:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4857, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38337:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4860, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38363:2:1", - "nodeType": "VariableDeclaration", - "scope": 4879, - "src": "38355:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4859, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38355:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4862, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38375:2:1", - "nodeType": "VariableDeclaration", - "scope": 4879, - "src": "38367:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4861, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38367:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4864, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38393:2:1", - "nodeType": "VariableDeclaration", - "scope": 4879, - "src": "38379:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4863, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38379:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "38336:60:1" - }, - "returnParameters": { - "id": 4866, - "nodeType": "ParameterList", - "parameters": [], - "src": "38411:0:1" - }, - "scope": 8146, - "src": "38324:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4901, - "nodeType": "Block", - "src": "38594:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c626f6f6c29", - "id": 4893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38638:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fc4845f029f76ed29f7b800fe92a7851214073a807806d7d808676b2cbe7a1c7", - "typeString": "literal_string \"log(string,address,uint256,bool)\"" - }, - "value": "log(string,address,uint256,bool)" - }, - { - "id": 4894, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4881, - "src": "38674:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4895, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4883, - "src": "38678:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4896, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4885, - "src": "38682:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4897, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4887, - "src": "38686:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fc4845f029f76ed29f7b800fe92a7851214073a807806d7d808676b2cbe7a1c7", - "typeString": "literal_string \"log(string,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4891, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38614:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38614:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4898, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38614:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4890, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38598:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38598:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4900, - "nodeType": "ExpressionStatement", - "src": "38598:92:1" - } - ] - }, - "id": 4902, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38525:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4888, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4881, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38543:2:1", - "nodeType": "VariableDeclaration", - "scope": 4902, - "src": "38529:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4880, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38529:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4883, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38555:2:1", - "nodeType": "VariableDeclaration", - "scope": 4902, - "src": "38547:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4882, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38547:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4885, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38567:2:1", - "nodeType": "VariableDeclaration", - "scope": 4902, - "src": "38559:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4884, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38559:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4887, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38576:2:1", - "nodeType": "VariableDeclaration", - "scope": 4902, - "src": "38571:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4886, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "38571:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "38528:51:1" - }, - "returnParameters": { - "id": 4889, - "nodeType": "ParameterList", - "parameters": [], - "src": "38594:0:1" - }, - "scope": 8146, - "src": "38516:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4924, - "nodeType": "Block", - "src": "38778:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c75696e743235362c6164647265737329", - "id": 4916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "38822:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_63fb8bc57476e3f2139504feb3fa304f43eeecc15ac8e150b7b3c9fdfa4ea83a", - "typeString": "literal_string \"log(string,address,uint256,address)\"" - }, - "value": "log(string,address,uint256,address)" - }, - { - "id": 4917, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4904, - "src": "38861:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4918, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4906, - "src": "38865:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4919, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4908, - "src": "38869:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 4920, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4910, - "src": "38873:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_63fb8bc57476e3f2139504feb3fa304f43eeecc15ac8e150b7b3c9fdfa4ea83a", - "typeString": "literal_string \"log(string,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 4914, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38798:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38798:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38798:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4913, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38782:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38782:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4923, - "nodeType": "ExpressionStatement", - "src": "38782:95:1" - } - ] - }, - "id": 4925, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38706:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4911, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4904, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38724:2:1", - "nodeType": "VariableDeclaration", - "scope": 4925, - "src": "38710:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4903, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38710:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4906, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38736:2:1", - "nodeType": "VariableDeclaration", - "scope": 4925, - "src": "38728:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4905, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38728:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4908, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38748:2:1", - "nodeType": "VariableDeclaration", - "scope": 4925, - "src": "38740:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4907, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38740:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4910, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38760:2:1", - "nodeType": "VariableDeclaration", - "scope": 4925, - "src": "38752:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4909, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38752:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "38709:54:1" - }, - "returnParameters": { - "id": 4912, - "nodeType": "ParameterList", - "parameters": [], - "src": "38778:0:1" - }, - "scope": 8146, - "src": "38697:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4947, - "nodeType": "Block", - "src": "38971:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c75696e7432353629", - "id": 4939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39015:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91d1112e9ca774de680c78512401449500c1938a4e449f6e73f80a84d95cfcfd", - "typeString": "literal_string \"log(string,address,string,uint256)\"" - }, - "value": "log(string,address,string,uint256)" - }, - { - "id": 4940, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4927, - "src": "39053:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4941, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4929, - "src": "39057:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4942, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4931, - "src": "39061:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4943, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4933, - "src": "39065:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_91d1112e9ca774de680c78512401449500c1938a4e449f6e73f80a84d95cfcfd", - "typeString": "literal_string \"log(string,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 4937, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "38991:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "38991:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4944, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38991:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4936, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "38975:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "38975:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4946, - "nodeType": "ExpressionStatement", - "src": "38975:94:1" - } - ] - }, - "id": 4948, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "38893:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4934, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4927, - "mutability": "mutable", - "name": "p0", - "nameLocation": "38911:2:1", - "nodeType": "VariableDeclaration", - "scope": 4948, - "src": "38897:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4926, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38897:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4929, - "mutability": "mutable", - "name": "p1", - "nameLocation": "38923:2:1", - "nodeType": "VariableDeclaration", - "scope": 4948, - "src": "38915:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4928, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "38915:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4931, - "mutability": "mutable", - "name": "p2", - "nameLocation": "38941:2:1", - "nodeType": "VariableDeclaration", - "scope": 4948, - "src": "38927:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4930, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "38927:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4933, - "mutability": "mutable", - "name": "p3", - "nameLocation": "38953:2:1", - "nodeType": "VariableDeclaration", - "scope": 4948, - "src": "38945:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4932, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "38945:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "38896:60:1" - }, - "returnParameters": { - "id": 4935, - "nodeType": "ParameterList", - "parameters": [], - "src": "38971:0:1" - }, - "scope": 8146, - "src": "38884:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4970, - "nodeType": "Block", - "src": "39169:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c737472696e6729", - "id": 4962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39213:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - "value": "log(string,address,string,string)" - }, - { - "id": 4963, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4950, - "src": "39250:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4964, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4952, - "src": "39254:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4965, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4954, - "src": "39258:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4966, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4956, - "src": "39262:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_245986f22170901865e76245a48ee28ce0127ca357f6ad576a72190e1d358797", - "typeString": "literal_string \"log(string,address,string,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 4960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39189:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39189:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4967, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39189:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4959, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "39173:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39173:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4969, - "nodeType": "ExpressionStatement", - "src": "39173:93:1" - } - ] - }, - "id": 4971, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39085:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4957, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4950, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39103:2:1", - "nodeType": "VariableDeclaration", - "scope": 4971, - "src": "39089:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4949, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39089:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4952, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39115:2:1", - "nodeType": "VariableDeclaration", - "scope": 4971, - "src": "39107:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4951, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39107:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4954, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39133:2:1", - "nodeType": "VariableDeclaration", - "scope": 4971, - "src": "39119:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39119:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4956, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39151:2:1", - "nodeType": "VariableDeclaration", - "scope": 4971, - "src": "39137:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4955, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39137:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39088:66:1" - }, - "returnParameters": { - "id": 4958, - "nodeType": "ParameterList", - "parameters": [], - "src": "39169:0:1" - }, - "scope": 8146, - "src": "39076:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 4993, - "nodeType": "Block", - "src": "39357:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c626f6f6c29", - "id": 4985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39401:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - "value": "log(string,address,string,bool)" - }, - { - "id": 4986, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4973, - "src": "39436:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4987, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4975, - "src": "39440:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 4988, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4977, - "src": "39444:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 4989, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4979, - "src": "39448:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f15d28c15ddff15fba1c00f6a4975ae6af8b36c9b2a875bf59bd45049046154", - "typeString": "literal_string \"log(string,address,string,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 4983, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39377:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 4984, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39377:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 4990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39377:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 4982, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "39361:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 4991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39361:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4992, - "nodeType": "ExpressionStatement", - "src": "39361:91:1" - } - ] - }, - "id": 4994, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39282:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4980, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4973, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39300:2:1", - "nodeType": "VariableDeclaration", - "scope": 4994, - "src": "39286:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4972, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39286:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4975, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39312:2:1", - "nodeType": "VariableDeclaration", - "scope": 4994, - "src": "39304:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4974, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39304:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4977, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39330:2:1", - "nodeType": "VariableDeclaration", - "scope": 4994, - "src": "39316:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4976, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39316:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4979, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39339:2:1", - "nodeType": "VariableDeclaration", - "scope": 4994, - "src": "39334:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4978, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39334:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "39285:57:1" - }, - "returnParameters": { - "id": 4981, - "nodeType": "ParameterList", - "parameters": [], - "src": "39357:0:1" - }, - "scope": 8146, - "src": "39273:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5016, - "nodeType": "Block", - "src": "39546:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c737472696e672c6164647265737329", - "id": 5008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39590:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - "value": "log(string,address,string,address)" - }, - { - "id": 5009, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4996, - "src": "39628:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5010, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4998, - "src": "39632:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5011, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5000, - "src": "39636:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5012, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5002, - "src": "39640:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aabc9a311ab49789834b120d81155a7fee846a9f0d4f740bbeb970770190c82d", - "typeString": "literal_string \"log(string,address,string,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5006, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39566:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5007, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39566:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39566:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5005, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "39550:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39550:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5015, - "nodeType": "ExpressionStatement", - "src": "39550:94:1" - } - ] - }, - "id": 5017, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39468:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5003, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4996, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39486:2:1", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "39472:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4995, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39472:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 4998, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39498:2:1", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "39490:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4997, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39490:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5000, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39516:2:1", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "39502:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4999, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39502:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5002, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39528:2:1", - "nodeType": "VariableDeclaration", - "scope": 5017, - "src": "39520:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5001, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39520:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "39471:60:1" - }, - "returnParameters": { - "id": 5004, - "nodeType": "ParameterList", - "parameters": [], - "src": "39546:0:1" - }, - "scope": 8146, - "src": "39459:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5039, - "nodeType": "Block", - "src": "39729:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c75696e7432353629", - "id": 5031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39773:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e9f866aadef9b1f2b0257e0ed5e2df8882ba55e598b4f5282674b64ae3f06b5", - "typeString": "literal_string \"log(string,address,bool,uint256)\"" - }, - "value": "log(string,address,bool,uint256)" - }, - { - "id": 5032, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5019, - "src": "39809:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5033, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5021, - "src": "39813:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5034, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5023, - "src": "39817:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5035, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5025, - "src": "39821:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e9f866aadef9b1f2b0257e0ed5e2df8882ba55e598b4f5282674b64ae3f06b5", - "typeString": "literal_string \"log(string,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5029, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39749:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5030, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39749:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39749:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5028, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "39733:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39733:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5038, - "nodeType": "ExpressionStatement", - "src": "39733:92:1" - } - ] - }, - "id": 5040, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39660:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5026, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5019, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39678:2:1", - "nodeType": "VariableDeclaration", - "scope": 5040, - "src": "39664:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5018, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39664:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5021, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39690:2:1", - "nodeType": "VariableDeclaration", - "scope": 5040, - "src": "39682:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5020, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39682:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5023, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39699:2:1", - "nodeType": "VariableDeclaration", - "scope": 5040, - "src": "39694:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5022, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39694:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5025, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39711:2:1", - "nodeType": "VariableDeclaration", - "scope": 5040, - "src": "39703:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5024, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "39703:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "39663:51:1" - }, - "returnParameters": { - "id": 5027, - "nodeType": "ParameterList", - "parameters": [], - "src": "39729:0:1" - }, - "scope": 8146, - "src": "39651:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5062, - "nodeType": "Block", - "src": "39916:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c737472696e6729", - "id": 5054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "39960:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - "value": "log(string,address,bool,string)" - }, - { - "id": 5055, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5042, - "src": "39995:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5056, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5044, - "src": "39999:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5057, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5046, - "src": "40003:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5058, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5048, - "src": "40007:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0454c0793d4a41e5f630eb9a887926f8a67ff9e817a5feb968698354ac9d22fb", - "typeString": "literal_string \"log(string,address,bool,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5052, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "39936:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5053, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "39936:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39936:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5051, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "39920:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "39920:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5061, - "nodeType": "ExpressionStatement", - "src": "39920:91:1" - } - ] - }, - "id": 5063, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "39841:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5042, - "mutability": "mutable", - "name": "p0", - "nameLocation": "39859:2:1", - "nodeType": "VariableDeclaration", - "scope": 5063, - "src": "39845:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5041, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39845:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5044, - "mutability": "mutable", - "name": "p1", - "nameLocation": "39871:2:1", - "nodeType": "VariableDeclaration", - "scope": 5063, - "src": "39863:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5043, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "39863:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5046, - "mutability": "mutable", - "name": "p2", - "nameLocation": "39880:2:1", - "nodeType": "VariableDeclaration", - "scope": 5063, - "src": "39875:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5045, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "39875:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5048, - "mutability": "mutable", - "name": "p3", - "nameLocation": "39898:2:1", - "nodeType": "VariableDeclaration", - "scope": 5063, - "src": "39884:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5047, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "39884:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "39844:57:1" - }, - "returnParameters": { - "id": 5050, - "nodeType": "ParameterList", - "parameters": [], - "src": "39916:0:1" - }, - "scope": 8146, - "src": "39832:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5085, - "nodeType": "Block", - "src": "40093:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c626f6f6c29", - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40137:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - "value": "log(string,address,bool,bool)" - }, - { - "id": 5078, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5065, - "src": "40170:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5079, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5067, - "src": "40174:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5080, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5069, - "src": "40178:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5081, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5071, - "src": "40182:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_79884c2bc85eb73c854df1610df373a05f191b834f79cd47a7ab28be2308c039", - "typeString": "literal_string \"log(string,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5075, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40113:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40113:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5082, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40113:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5074, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "40097:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40097:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5084, - "nodeType": "ExpressionStatement", - "src": "40097:89:1" - } - ] - }, - "id": 5086, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40027:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5065, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40045:2:1", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "40031:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5064, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40031:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5067, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40057:2:1", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "40049:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5066, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40049:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5069, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40066:2:1", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "40061:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5068, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40061:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5071, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40075:2:1", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "40070:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5070, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40070:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40030:48:1" - }, - "returnParameters": { - "id": 5073, - "nodeType": "ParameterList", - "parameters": [], - "src": "40093:0:1" - }, - "scope": 8146, - "src": "40018:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5108, - "nodeType": "Block", - "src": "40271:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c626f6f6c2c6164647265737329", - "id": 5100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40315:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - "value": "log(string,address,bool,address)" - }, - { - "id": 5101, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5088, - "src": "40351:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5102, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5090, - "src": "40355:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5103, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5092, - "src": "40359:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5104, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5094, - "src": "40363:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_223603bd064d72559a7d519ad0f1c6a8da707a49f5718dfa23a5ccb01bf9ab76", - "typeString": "literal_string \"log(string,address,bool,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5098, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40291:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5099, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40291:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40291:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5097, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "40275:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40275:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5107, - "nodeType": "ExpressionStatement", - "src": "40275:92:1" - } - ] - }, - "id": 5109, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40202:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5088, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40220:2:1", - "nodeType": "VariableDeclaration", - "scope": 5109, - "src": "40206:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5087, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40206:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5090, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40232:2:1", - "nodeType": "VariableDeclaration", - "scope": 5109, - "src": "40224:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5089, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40224:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5092, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40241:2:1", - "nodeType": "VariableDeclaration", - "scope": 5109, - "src": "40236:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5091, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40236:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5094, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40253:2:1", - "nodeType": "VariableDeclaration", - "scope": 5109, - "src": "40245:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40245:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40205:51:1" - }, - "returnParameters": { - "id": 5096, - "nodeType": "ParameterList", - "parameters": [], - "src": "40271:0:1" - }, - "scope": 8146, - "src": "40193:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5131, - "nodeType": "Block", - "src": "40455:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c75696e7432353629", - "id": 5123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40499:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8ef3f399de1ebecd7840dee5f4cdc1bad43021ab37fa3acdd3dfbd36f7092e7b", - "typeString": "literal_string \"log(string,address,address,uint256)\"" - }, - "value": "log(string,address,address,uint256)" - }, - { - "id": 5124, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5111, - "src": "40538:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5125, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5113, - "src": "40542:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5126, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5115, - "src": "40546:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5127, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5117, - "src": "40550:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8ef3f399de1ebecd7840dee5f4cdc1bad43021ab37fa3acdd3dfbd36f7092e7b", - "typeString": "literal_string \"log(string,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5121, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40475:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40475:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40475:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5120, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "40459:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40459:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5130, - "nodeType": "ExpressionStatement", - "src": "40459:95:1" - } - ] - }, - "id": 5132, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40383:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5118, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5111, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40401:2:1", - "nodeType": "VariableDeclaration", - "scope": 5132, - "src": "40387:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5110, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40387:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5113, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40413:2:1", - "nodeType": "VariableDeclaration", - "scope": 5132, - "src": "40405:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5112, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40405:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5115, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40425:2:1", - "nodeType": "VariableDeclaration", - "scope": 5132, - "src": "40417:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5114, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40417:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5117, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40437:2:1", - "nodeType": "VariableDeclaration", - "scope": 5132, - "src": "40429:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5116, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "40429:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "40386:54:1" - }, - "returnParameters": { - "id": 5119, - "nodeType": "ParameterList", - "parameters": [], - "src": "40455:0:1" - }, - "scope": 8146, - "src": "40374:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5154, - "nodeType": "Block", - "src": "40648:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c737472696e6729", - "id": 5146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40692:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - "value": "log(string,address,address,string)" - }, - { - "id": 5147, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5134, - "src": "40730:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5148, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5136, - "src": "40734:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5149, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5138, - "src": "40738:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5150, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5140, - "src": "40742:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_800a1c6756a402b6162ca8653fd8e87e2c52d1c019c876e92eb2980479636a76", - "typeString": "literal_string \"log(string,address,address,string)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5144, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40668:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40668:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40668:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5143, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "40652:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40652:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5153, - "nodeType": "ExpressionStatement", - "src": "40652:94:1" - } - ] - }, - "id": 5155, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40570:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5141, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5134, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40588:2:1", - "nodeType": "VariableDeclaration", - "scope": 5155, - "src": "40574:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5133, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40574:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5136, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40600:2:1", - "nodeType": "VariableDeclaration", - "scope": 5155, - "src": "40592:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5135, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40592:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5138, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40612:2:1", - "nodeType": "VariableDeclaration", - "scope": 5155, - "src": "40604:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5137, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40604:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5140, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40630:2:1", - "nodeType": "VariableDeclaration", - "scope": 5155, - "src": "40616:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5139, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40616:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "40573:60:1" - }, - "returnParameters": { - "id": 5142, - "nodeType": "ParameterList", - "parameters": [], - "src": "40648:0:1" - }, - "scope": 8146, - "src": "40561:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5177, - "nodeType": "Block", - "src": "40831:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c626f6f6c29", - "id": 5169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "40875:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - "value": "log(string,address,address,bool)" - }, - { - "id": 5170, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5157, - "src": "40911:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5171, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5159, - "src": "40915:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5172, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5161, - "src": "40919:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5173, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5163, - "src": "40923:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b59dbd60587b4eeae521d5427cbc88bff32729f88aff059e7deb0a3a4320aaf4", - "typeString": "literal_string \"log(string,address,address,bool)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5167, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "40851:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "40851:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40851:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5166, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "40835:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "40835:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5176, - "nodeType": "ExpressionStatement", - "src": "40835:92:1" - } - ] - }, - "id": 5178, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40762:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5157, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40780:2:1", - "nodeType": "VariableDeclaration", - "scope": 5178, - "src": "40766:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5156, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40766:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5159, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40792:2:1", - "nodeType": "VariableDeclaration", - "scope": 5178, - "src": "40784:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5158, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40784:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5161, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40804:2:1", - "nodeType": "VariableDeclaration", - "scope": 5178, - "src": "40796:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5160, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40796:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5163, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40813:2:1", - "nodeType": "VariableDeclaration", - "scope": 5178, - "src": "40808:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5162, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "40808:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "40765:51:1" - }, - "returnParameters": { - "id": 5165, - "nodeType": "ParameterList", - "parameters": [], - "src": "40831:0:1" - }, - "scope": 8146, - "src": "40753:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5200, - "nodeType": "Block", - "src": "41015:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728737472696e672c616464726573732c616464726573732c6164647265737329", - "id": 5192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41059:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - "value": "log(string,address,address,address)" - }, - { - "id": 5193, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5180, - "src": "41098:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5194, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5182, - "src": "41102:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5195, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5184, - "src": "41106:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5196, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5186, - "src": "41110:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ed8f28f6f4b5d54b1d37f705e543f556805f28b9d1bb3aef0ef7e57ef4992d15", - "typeString": "literal_string \"log(string,address,address,address)\"" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5190, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41035:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41035:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41035:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5189, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41019:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41019:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5199, - "nodeType": "ExpressionStatement", - "src": "41019:95:1" - } - ] - }, - "id": 5201, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "40943:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5180, - "mutability": "mutable", - "name": "p0", - "nameLocation": "40961:2:1", - "nodeType": "VariableDeclaration", - "scope": 5201, - "src": "40947:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5179, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "40947:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5182, - "mutability": "mutable", - "name": "p1", - "nameLocation": "40973:2:1", - "nodeType": "VariableDeclaration", - "scope": 5201, - "src": "40965:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5181, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40965:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5184, - "mutability": "mutable", - "name": "p2", - "nameLocation": "40985:2:1", - "nodeType": "VariableDeclaration", - "scope": 5201, - "src": "40977:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5183, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40977:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5186, - "mutability": "mutable", - "name": "p3", - "nameLocation": "40997:2:1", - "nodeType": "VariableDeclaration", - "scope": 5201, - "src": "40989:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5185, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "40989:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "40946:54:1" - }, - "returnParameters": { - "id": 5188, - "nodeType": "ParameterList", - "parameters": [], - "src": "41015:0:1" - }, - "scope": 8146, - "src": "40934:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5223, - "nodeType": "Block", - "src": "41193:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c75696e7432353629", - "id": 5215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41237:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_374bb4b29e495d2b557643d341fe72136bf6e92f2ac9b1edd86dbbd72a19d62b", - "typeString": "literal_string \"log(bool,uint256,uint256,uint256)\"" - }, - "value": "log(bool,uint256,uint256,uint256)" - }, - { - "id": 5216, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5203, - "src": "41274:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5217, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5205, - "src": "41278:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5218, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5207, - "src": "41282:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5219, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5209, - "src": "41286:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_374bb4b29e495d2b557643d341fe72136bf6e92f2ac9b1edd86dbbd72a19d62b", - "typeString": "literal_string \"log(bool,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5213, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41213:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5214, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41213:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41213:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5212, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41197:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41197:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5222, - "nodeType": "ExpressionStatement", - "src": "41197:93:1" - } - ] - }, - "id": 5224, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41130:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5203, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41139:2:1", - "nodeType": "VariableDeclaration", - "scope": 5224, - "src": "41134:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5202, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41134:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5205, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41151:2:1", - "nodeType": "VariableDeclaration", - "scope": 5224, - "src": "41143:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5204, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41143:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5207, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41163:2:1", - "nodeType": "VariableDeclaration", - "scope": 5224, - "src": "41155:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5206, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41155:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5209, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41175:2:1", - "nodeType": "VariableDeclaration", - "scope": 5224, - "src": "41167:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5208, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41167:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41133:45:1" - }, - "returnParameters": { - "id": 5211, - "nodeType": "ParameterList", - "parameters": [], - "src": "41193:0:1" - }, - "scope": 8146, - "src": "41121:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5246, - "nodeType": "Block", - "src": "41375:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c737472696e6729", - "id": 5238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41419:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8e69fb5dd49f06ae0054ca1d4af84221644c5b45a9306505e04580a4156255c3", - "typeString": "literal_string \"log(bool,uint256,uint256,string)\"" - }, - "value": "log(bool,uint256,uint256,string)" - }, - { - "id": 5239, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5226, - "src": "41455:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5240, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5228, - "src": "41459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5241, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5230, - "src": "41463:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5242, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5232, - "src": "41467:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8e69fb5dd49f06ae0054ca1d4af84221644c5b45a9306505e04580a4156255c3", - "typeString": "literal_string \"log(bool,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5236, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41395:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5237, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41395:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5243, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41395:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5235, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41379:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41379:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5245, - "nodeType": "ExpressionStatement", - "src": "41379:92:1" - } - ] - }, - "id": 5247, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41306:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5226, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41315:2:1", - "nodeType": "VariableDeclaration", - "scope": 5247, - "src": "41310:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5225, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41310:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5228, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41327:2:1", - "nodeType": "VariableDeclaration", - "scope": 5247, - "src": "41319:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5227, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41319:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5230, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41339:2:1", - "nodeType": "VariableDeclaration", - "scope": 5247, - "src": "41331:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5229, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41331:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5232, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41357:2:1", - "nodeType": "VariableDeclaration", - "scope": 5247, - "src": "41343:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5231, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41343:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "41309:51:1" - }, - "returnParameters": { - "id": 5234, - "nodeType": "ParameterList", - "parameters": [], - "src": "41375:0:1" - }, - "scope": 8146, - "src": "41297:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5269, - "nodeType": "Block", - "src": "41547:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c626f6f6c29", - "id": 5261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41591:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be9843530e69b1feba88a3a9701a6984aaa8a57e749a7f9d10c857993e79900d", - "typeString": "literal_string \"log(bool,uint256,uint256,bool)\"" - }, - "value": "log(bool,uint256,uint256,bool)" - }, - { - "id": 5262, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5249, - "src": "41625:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5263, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5251, - "src": "41629:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5264, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5253, - "src": "41633:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5265, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5255, - "src": "41637:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_be9843530e69b1feba88a3a9701a6984aaa8a57e749a7f9d10c857993e79900d", - "typeString": "literal_string \"log(bool,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5259, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41567:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41567:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41567:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5258, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41551:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41551:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5268, - "nodeType": "ExpressionStatement", - "src": "41551:90:1" - } - ] - }, - "id": 5270, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41487:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5256, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5249, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41496:2:1", - "nodeType": "VariableDeclaration", - "scope": 5270, - "src": "41491:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5248, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41491:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5251, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41508:2:1", - "nodeType": "VariableDeclaration", - "scope": 5270, - "src": "41500:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5250, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41500:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5253, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41520:2:1", - "nodeType": "VariableDeclaration", - "scope": 5270, - "src": "41512:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5252, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41512:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5255, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41529:2:1", - "nodeType": "VariableDeclaration", - "scope": 5270, - "src": "41524:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5254, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41524:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "41490:42:1" - }, - "returnParameters": { - "id": 5257, - "nodeType": "ParameterList", - "parameters": [], - "src": "41547:0:1" - }, - "scope": 8146, - "src": "41478:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5292, - "nodeType": "Block", - "src": "41720:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c75696e743235362c6164647265737329", - "id": 5284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41764:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_00dd87b926eb0a94d5705f2c40026359b9577dfd5ddb2d0d51c86b3f4acb5010", - "typeString": "literal_string \"log(bool,uint256,uint256,address)\"" - }, - "value": "log(bool,uint256,uint256,address)" - }, - { - "id": 5285, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "41801:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5286, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5274, - "src": "41805:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5287, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5276, - "src": "41809:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5288, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5278, - "src": "41813:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_00dd87b926eb0a94d5705f2c40026359b9577dfd5ddb2d0d51c86b3f4acb5010", - "typeString": "literal_string \"log(bool,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5282, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41740:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41740:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41740:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5281, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41724:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41724:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5291, - "nodeType": "ExpressionStatement", - "src": "41724:93:1" - } - ] - }, - "id": 5293, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41657:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5279, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5272, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41666:2:1", - "nodeType": "VariableDeclaration", - "scope": 5293, - "src": "41661:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5271, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41661:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5274, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41678:2:1", - "nodeType": "VariableDeclaration", - "scope": 5293, - "src": "41670:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41670:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5276, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41690:2:1", - "nodeType": "VariableDeclaration", - "scope": 5293, - "src": "41682:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5275, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41682:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5278, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41702:2:1", - "nodeType": "VariableDeclaration", - "scope": 5293, - "src": "41694:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5277, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "41694:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "41660:45:1" - }, - "returnParameters": { - "id": 5280, - "nodeType": "ParameterList", - "parameters": [], - "src": "41720:0:1" - }, - "scope": 8146, - "src": "41648:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5315, - "nodeType": "Block", - "src": "41902:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c75696e7432353629", - "id": 5307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "41946:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a1199e21848ce015eabd66ea7f6a3409c7fc6ef9bb322d84e4c06706c42747e", - "typeString": "literal_string \"log(bool,uint256,string,uint256)\"" - }, - "value": "log(bool,uint256,string,uint256)" - }, - { - "id": 5308, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5295, - "src": "41982:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5309, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5297, - "src": "41986:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5310, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5299, - "src": "41990:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5311, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5301, - "src": "41994:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6a1199e21848ce015eabd66ea7f6a3409c7fc6ef9bb322d84e4c06706c42747e", - "typeString": "literal_string \"log(bool,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5305, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "41922:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5306, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "41922:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5312, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41922:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5304, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "41906:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "41906:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5314, - "nodeType": "ExpressionStatement", - "src": "41906:92:1" - } - ] - }, - "id": 5316, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "41833:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5295, - "mutability": "mutable", - "name": "p0", - "nameLocation": "41842:2:1", - "nodeType": "VariableDeclaration", - "scope": 5316, - "src": "41837:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5294, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "41837:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5297, - "mutability": "mutable", - "name": "p1", - "nameLocation": "41854:2:1", - "nodeType": "VariableDeclaration", - "scope": 5316, - "src": "41846:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5296, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41846:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5299, - "mutability": "mutable", - "name": "p2", - "nameLocation": "41872:2:1", - "nodeType": "VariableDeclaration", - "scope": 5316, - "src": "41858:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5298, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "41858:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5301, - "mutability": "mutable", - "name": "p3", - "nameLocation": "41884:2:1", - "nodeType": "VariableDeclaration", - "scope": 5316, - "src": "41876:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "41876:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "41836:51:1" - }, - "returnParameters": { - "id": 5303, - "nodeType": "ParameterList", - "parameters": [], - "src": "41902:0:1" - }, - "scope": 8146, - "src": "41824:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5338, - "nodeType": "Block", - "src": "42089:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c737472696e6729", - "id": 5330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42133:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f5bc2249bce1f463dc4a6cae73d4e7be2aab36b6885cd1506575f16575a67f07", - "typeString": "literal_string \"log(bool,uint256,string,string)\"" - }, - "value": "log(bool,uint256,string,string)" - }, - { - "id": 5331, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5318, - "src": "42168:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5332, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5320, - "src": "42172:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5333, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5322, - "src": "42176:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5334, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5324, - "src": "42180:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f5bc2249bce1f463dc4a6cae73d4e7be2aab36b6885cd1506575f16575a67f07", - "typeString": "literal_string \"log(bool,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5328, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42109:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5329, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42109:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5335, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42109:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5327, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42093:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42093:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5337, - "nodeType": "ExpressionStatement", - "src": "42093:91:1" - } - ] - }, - "id": 5339, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42014:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5325, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5318, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42023:2:1", - "nodeType": "VariableDeclaration", - "scope": 5339, - "src": "42018:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5317, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42018:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5320, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42035:2:1", - "nodeType": "VariableDeclaration", - "scope": 5339, - "src": "42027:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5319, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42027:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5322, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42053:2:1", - "nodeType": "VariableDeclaration", - "scope": 5339, - "src": "42039:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5321, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42039:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5324, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42071:2:1", - "nodeType": "VariableDeclaration", - "scope": 5339, - "src": "42057:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5323, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42057:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42017:57:1" - }, - "returnParameters": { - "id": 5326, - "nodeType": "ParameterList", - "parameters": [], - "src": "42089:0:1" - }, - "scope": 8146, - "src": "42005:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5361, - "nodeType": "Block", - "src": "42266:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c626f6f6c29", - "id": 5353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42310:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e5e70b2b79ba63a1232a1075e7d527614bad7291574e41ebeb8ef428426395c2", - "typeString": "literal_string \"log(bool,uint256,string,bool)\"" - }, - "value": "log(bool,uint256,string,bool)" - }, - { - "id": 5354, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5341, - "src": "42343:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5355, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5343, - "src": "42347:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5356, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5345, - "src": "42351:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5357, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5347, - "src": "42355:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e5e70b2b79ba63a1232a1075e7d527614bad7291574e41ebeb8ef428426395c2", - "typeString": "literal_string \"log(bool,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5351, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42286:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5352, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42286:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42286:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5350, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42270:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42270:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5360, - "nodeType": "ExpressionStatement", - "src": "42270:89:1" - } - ] - }, - "id": 5362, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42200:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5348, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5341, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42209:2:1", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "42204:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5340, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42204:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5343, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42221:2:1", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "42213:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5342, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42213:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5345, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42239:2:1", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "42225:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5344, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42225:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5347, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42248:2:1", - "nodeType": "VariableDeclaration", - "scope": 5362, - "src": "42243:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5346, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42243:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42203:48:1" - }, - "returnParameters": { - "id": 5349, - "nodeType": "ParameterList", - "parameters": [], - "src": "42266:0:1" - }, - "scope": 8146, - "src": "42191:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5384, - "nodeType": "Block", - "src": "42444:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c737472696e672c6164647265737329", - "id": 5376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42488:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fedd1fffaad08b0e5474b192f50d84da9ca48f54859d4d4f42d00bf3f4781fab", - "typeString": "literal_string \"log(bool,uint256,string,address)\"" - }, - "value": "log(bool,uint256,string,address)" - }, - { - "id": 5377, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5364, - "src": "42524:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5378, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "42528:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5379, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5368, - "src": "42532:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5380, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5370, - "src": "42536:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fedd1fffaad08b0e5474b192f50d84da9ca48f54859d4d4f42d00bf3f4781fab", - "typeString": "literal_string \"log(bool,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5374, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42464:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5375, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42464:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42464:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5373, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42448:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42448:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5383, - "nodeType": "ExpressionStatement", - "src": "42448:92:1" - } - ] - }, - "id": 5385, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42375:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5364, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42384:2:1", - "nodeType": "VariableDeclaration", - "scope": 5385, - "src": "42379:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5363, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42379:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5366, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42396:2:1", - "nodeType": "VariableDeclaration", - "scope": 5385, - "src": "42388:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5365, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42388:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5368, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42414:2:1", - "nodeType": "VariableDeclaration", - "scope": 5385, - "src": "42400:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5367, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42400:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5370, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42426:2:1", - "nodeType": "VariableDeclaration", - "scope": 5385, - "src": "42418:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "42418:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "42378:51:1" - }, - "returnParameters": { - "id": 5372, - "nodeType": "ParameterList", - "parameters": [], - "src": "42444:0:1" - }, - "scope": 8146, - "src": "42366:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5407, - "nodeType": "Block", - "src": "42616:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c75696e7432353629", - "id": 5399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42660:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7f9bbca288abffbb423da5759392c2bb0e6c7c60dc55ee1c76da7b38adac1443", - "typeString": "literal_string \"log(bool,uint256,bool,uint256)\"" - }, - "value": "log(bool,uint256,bool,uint256)" - }, - { - "id": 5400, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5387, - "src": "42694:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5401, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5389, - "src": "42698:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5402, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5391, - "src": "42702:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5403, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5393, - "src": "42706:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7f9bbca288abffbb423da5759392c2bb0e6c7c60dc55ee1c76da7b38adac1443", - "typeString": "literal_string \"log(bool,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5397, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42636:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42636:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42636:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5396, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42620:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42620:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5406, - "nodeType": "ExpressionStatement", - "src": "42620:90:1" - } - ] - }, - "id": 5408, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42556:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5394, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5387, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42565:2:1", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "42560:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5386, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42560:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5389, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42577:2:1", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "42569:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5388, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42569:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5391, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42586:2:1", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "42581:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5390, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42581:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5393, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42598:2:1", - "nodeType": "VariableDeclaration", - "scope": 5408, - "src": "42590:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5392, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42590:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "42559:42:1" - }, - "returnParameters": { - "id": 5395, - "nodeType": "ParameterList", - "parameters": [], - "src": "42616:0:1" - }, - "scope": 8146, - "src": "42547:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5430, - "nodeType": "Block", - "src": "42792:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c737472696e6729", - "id": 5422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "42836:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9143dbb14a0962a6e3d7ec52e236cb9bf165b86383a96499ea4cf52b827d7ce0", - "typeString": "literal_string \"log(bool,uint256,bool,string)\"" - }, - "value": "log(bool,uint256,bool,string)" - }, - { - "id": 5423, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5410, - "src": "42869:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5424, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5412, - "src": "42873:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5425, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5414, - "src": "42877:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5426, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5416, - "src": "42881:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9143dbb14a0962a6e3d7ec52e236cb9bf165b86383a96499ea4cf52b827d7ce0", - "typeString": "literal_string \"log(bool,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5420, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42812:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42812:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42812:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5419, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42796:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42796:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5429, - "nodeType": "ExpressionStatement", - "src": "42796:89:1" - } - ] - }, - "id": 5431, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42726:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5410, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42735:2:1", - "nodeType": "VariableDeclaration", - "scope": 5431, - "src": "42730:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5409, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42730:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5412, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42747:2:1", - "nodeType": "VariableDeclaration", - "scope": 5431, - "src": "42739:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5411, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42739:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5414, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42756:2:1", - "nodeType": "VariableDeclaration", - "scope": 5431, - "src": "42751:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5413, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42751:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5416, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42774:2:1", - "nodeType": "VariableDeclaration", - "scope": 5431, - "src": "42760:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5415, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "42760:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "42729:48:1" - }, - "returnParameters": { - "id": 5418, - "nodeType": "ParameterList", - "parameters": [], - "src": "42792:0:1" - }, - "scope": 8146, - "src": "42717:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5453, - "nodeType": "Block", - "src": "42958:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c626f6f6c29", - "id": 5445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43002:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ceb5f4d77121f3d3cfafeaa403e6fff70e4470d0bfb40c1d850f89e3d65029f2", - "typeString": "literal_string \"log(bool,uint256,bool,bool)\"" - }, - "value": "log(bool,uint256,bool,bool)" - }, - { - "id": 5446, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5433, - "src": "43033:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5447, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5435, - "src": "43037:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5448, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5437, - "src": "43041:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5449, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5439, - "src": "43045:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ceb5f4d77121f3d3cfafeaa403e6fff70e4470d0bfb40c1d850f89e3d65029f2", - "typeString": "literal_string \"log(bool,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5443, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "42978:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "42978:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42978:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5442, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "42962:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "42962:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5452, - "nodeType": "ExpressionStatement", - "src": "42962:87:1" - } - ] - }, - "id": 5454, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "42901:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5440, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5433, - "mutability": "mutable", - "name": "p0", - "nameLocation": "42910:2:1", - "nodeType": "VariableDeclaration", - "scope": 5454, - "src": "42905:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5432, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42905:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5435, - "mutability": "mutable", - "name": "p1", - "nameLocation": "42922:2:1", - "nodeType": "VariableDeclaration", - "scope": 5454, - "src": "42914:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5434, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "42914:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5437, - "mutability": "mutable", - "name": "p2", - "nameLocation": "42931:2:1", - "nodeType": "VariableDeclaration", - "scope": 5454, - "src": "42926:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5436, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42926:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5439, - "mutability": "mutable", - "name": "p3", - "nameLocation": "42940:2:1", - "nodeType": "VariableDeclaration", - "scope": 5454, - "src": "42935:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "42935:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "42904:39:1" - }, - "returnParameters": { - "id": 5441, - "nodeType": "ParameterList", - "parameters": [], - "src": "42958:0:1" - }, - "scope": 8146, - "src": "42892:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5476, - "nodeType": "Block", - "src": "43125:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c626f6f6c2c6164647265737329", - "id": 5468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43169:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9acd3616ce3d15d7b870c591206f600266707f40592e6070353f762f54c75a2e", - "typeString": "literal_string \"log(bool,uint256,bool,address)\"" - }, - "value": "log(bool,uint256,bool,address)" - }, - { - "id": 5469, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5456, - "src": "43203:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5470, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5458, - "src": "43207:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5471, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5460, - "src": "43211:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5472, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5462, - "src": "43215:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9acd3616ce3d15d7b870c591206f600266707f40592e6070353f762f54c75a2e", - "typeString": "literal_string \"log(bool,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5466, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43145:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43145:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43145:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5465, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "43129:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43129:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5475, - "nodeType": "ExpressionStatement", - "src": "43129:90:1" - } - ] - }, - "id": 5477, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43065:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5463, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5456, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43074:2:1", - "nodeType": "VariableDeclaration", - "scope": 5477, - "src": "43069:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5455, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43069:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5458, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43086:2:1", - "nodeType": "VariableDeclaration", - "scope": 5477, - "src": "43078:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5457, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43078:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5460, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43095:2:1", - "nodeType": "VariableDeclaration", - "scope": 5477, - "src": "43090:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5459, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43090:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5462, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43107:2:1", - "nodeType": "VariableDeclaration", - "scope": 5477, - "src": "43099:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5461, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43099:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43068:42:1" - }, - "returnParameters": { - "id": 5464, - "nodeType": "ParameterList", - "parameters": [], - "src": "43125:0:1" - }, - "scope": 8146, - "src": "43056:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5499, - "nodeType": "Block", - "src": "43298:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c75696e7432353629", - "id": 5491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43342:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1537dc87a2086882c18d77c4157142ca3b6771cb00e940824367191cd9b5e560", - "typeString": "literal_string \"log(bool,uint256,address,uint256)\"" - }, - "value": "log(bool,uint256,address,uint256)" - }, - { - "id": 5492, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5479, - "src": "43379:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5493, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5481, - "src": "43383:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5494, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5483, - "src": "43387:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5495, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5485, - "src": "43391:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1537dc87a2086882c18d77c4157142ca3b6771cb00e940824367191cd9b5e560", - "typeString": "literal_string \"log(bool,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5489, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43318:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5490, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43318:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5496, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43318:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5488, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "43302:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43302:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5498, - "nodeType": "ExpressionStatement", - "src": "43302:93:1" - } - ] - }, - "id": 5500, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43235:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5479, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43244:2:1", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "43239:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5478, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43239:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5481, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43256:2:1", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "43248:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5480, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43248:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5483, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43268:2:1", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "43260:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43260:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5485, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43280:2:1", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "43272:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5484, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43272:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43238:45:1" - }, - "returnParameters": { - "id": 5487, - "nodeType": "ParameterList", - "parameters": [], - "src": "43298:0:1" - }, - "scope": 8146, - "src": "43226:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5522, - "nodeType": "Block", - "src": "43480:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c737472696e6729", - "id": 5514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43524:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1bb3b09a4221f0a7df6a4e6e8ee3a14c54c5ebf8032d4ada871c774122536c94", - "typeString": "literal_string \"log(bool,uint256,address,string)\"" - }, - "value": "log(bool,uint256,address,string)" - }, - { - "id": 5515, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5502, - "src": "43560:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5516, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5504, - "src": "43564:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5517, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5506, - "src": "43568:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5518, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5508, - "src": "43572:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1bb3b09a4221f0a7df6a4e6e8ee3a14c54c5ebf8032d4ada871c774122536c94", - "typeString": "literal_string \"log(bool,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5512, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43500:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5513, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43500:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43500:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5511, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "43484:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43484:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5521, - "nodeType": "ExpressionStatement", - "src": "43484:92:1" - } - ] - }, - "id": 5523, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43411:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5502, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43420:2:1", - "nodeType": "VariableDeclaration", - "scope": 5523, - "src": "43415:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5501, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43415:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5504, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43432:2:1", - "nodeType": "VariableDeclaration", - "scope": 5523, - "src": "43424:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5503, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43424:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5506, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43444:2:1", - "nodeType": "VariableDeclaration", - "scope": 5523, - "src": "43436:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5505, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43436:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5508, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43462:2:1", - "nodeType": "VariableDeclaration", - "scope": 5523, - "src": "43448:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5507, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43448:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "43414:51:1" - }, - "returnParameters": { - "id": 5510, - "nodeType": "ParameterList", - "parameters": [], - "src": "43480:0:1" - }, - "scope": 8146, - "src": "43402:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5545, - "nodeType": "Block", - "src": "43652:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c626f6f6c29", - "id": 5537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43696:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4c314ff4d8914c4657179922b73426f4bcee4ae499bd03b5b3cf557ef247ea8", - "typeString": "literal_string \"log(bool,uint256,address,bool)\"" - }, - "value": "log(bool,uint256,address,bool)" - }, - { - "id": 5538, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5525, - "src": "43730:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5539, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5527, - "src": "43734:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5540, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5529, - "src": "43738:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5541, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5531, - "src": "43742:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b4c314ff4d8914c4657179922b73426f4bcee4ae499bd03b5b3cf557ef247ea8", - "typeString": "literal_string \"log(bool,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5535, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43672:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5536, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43672:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5542, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43672:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5534, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "43656:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43656:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5544, - "nodeType": "ExpressionStatement", - "src": "43656:90:1" - } - ] - }, - "id": 5546, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43592:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5532, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5525, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43601:2:1", - "nodeType": "VariableDeclaration", - "scope": 5546, - "src": "43596:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5524, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43596:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5527, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43613:2:1", - "nodeType": "VariableDeclaration", - "scope": 5546, - "src": "43605:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5526, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43605:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5529, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43625:2:1", - "nodeType": "VariableDeclaration", - "scope": 5546, - "src": "43617:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5528, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43617:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5531, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43634:2:1", - "nodeType": "VariableDeclaration", - "scope": 5546, - "src": "43629:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5530, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43629:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "43595:42:1" - }, - "returnParameters": { - "id": 5533, - "nodeType": "ParameterList", - "parameters": [], - "src": "43652:0:1" - }, - "scope": 8146, - "src": "43583:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5568, - "nodeType": "Block", - "src": "43825:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c75696e743235362c616464726573732c6164647265737329", - "id": 5560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "43869:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_26f560a852938fadf6addef4dd03c86f93715a295417544d6a793cb20f13b8dd", - "typeString": "literal_string \"log(bool,uint256,address,address)\"" - }, - "value": "log(bool,uint256,address,address)" - }, - { - "id": 5561, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5548, - "src": "43906:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5562, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5550, - "src": "43910:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5563, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5552, - "src": "43914:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5564, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "43918:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_26f560a852938fadf6addef4dd03c86f93715a295417544d6a793cb20f13b8dd", - "typeString": "literal_string \"log(bool,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5558, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "43845:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "43845:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5565, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43845:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5557, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "43829:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "43829:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5567, - "nodeType": "ExpressionStatement", - "src": "43829:93:1" - } - ] - }, - "id": 5569, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43762:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5555, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5548, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43771:2:1", - "nodeType": "VariableDeclaration", - "scope": 5569, - "src": "43766:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5547, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43766:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5550, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43783:2:1", - "nodeType": "VariableDeclaration", - "scope": 5569, - "src": "43775:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5549, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43775:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5552, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43795:2:1", - "nodeType": "VariableDeclaration", - "scope": 5569, - "src": "43787:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5551, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43787:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5554, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43807:2:1", - "nodeType": "VariableDeclaration", - "scope": 5569, - "src": "43799:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5553, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "43799:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "43765:45:1" - }, - "returnParameters": { - "id": 5556, - "nodeType": "ParameterList", - "parameters": [], - "src": "43825:0:1" - }, - "scope": 8146, - "src": "43753:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5591, - "nodeType": "Block", - "src": "44007:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c75696e7432353629", - "id": 5583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44051:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28863fcbec29a80af15c2b8595f162a2324efa0e9f70b928971349e597c15cb0", - "typeString": "literal_string \"log(bool,string,uint256,uint256)\"" - }, - "value": "log(bool,string,uint256,uint256)" - }, - { - "id": 5584, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5571, - "src": "44087:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5585, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "44091:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5586, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5575, - "src": "44095:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5587, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5577, - "src": "44099:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_28863fcbec29a80af15c2b8595f162a2324efa0e9f70b928971349e597c15cb0", - "typeString": "literal_string \"log(bool,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5581, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44027:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5582, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44027:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44027:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5580, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44011:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44011:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5590, - "nodeType": "ExpressionStatement", - "src": "44011:92:1" - } - ] - }, - "id": 5592, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "43938:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5578, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5571, - "mutability": "mutable", - "name": "p0", - "nameLocation": "43947:2:1", - "nodeType": "VariableDeclaration", - "scope": 5592, - "src": "43942:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5570, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "43942:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5573, - "mutability": "mutable", - "name": "p1", - "nameLocation": "43965:2:1", - "nodeType": "VariableDeclaration", - "scope": 5592, - "src": "43951:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5572, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "43951:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5575, - "mutability": "mutable", - "name": "p2", - "nameLocation": "43977:2:1", - "nodeType": "VariableDeclaration", - "scope": 5592, - "src": "43969:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5574, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43969:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "mutability": "mutable", - "name": "p3", - "nameLocation": "43989:2:1", - "nodeType": "VariableDeclaration", - "scope": 5592, - "src": "43981:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5576, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "43981:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "43941:51:1" - }, - "returnParameters": { - "id": 5579, - "nodeType": "ParameterList", - "parameters": [], - "src": "44007:0:1" - }, - "scope": 8146, - "src": "43929:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5614, - "nodeType": "Block", - "src": "44194:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c737472696e6729", - "id": 5606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44238:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1ad96de6602c0b08f6631d6647303bccf3e586fcfa2c15fa04c5d6cbf0ffc70d", - "typeString": "literal_string \"log(bool,string,uint256,string)\"" - }, - "value": "log(bool,string,uint256,string)" - }, - { - "id": 5607, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5594, - "src": "44273:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5608, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5596, - "src": "44277:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5609, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5598, - "src": "44281:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5610, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5600, - "src": "44285:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1ad96de6602c0b08f6631d6647303bccf3e586fcfa2c15fa04c5d6cbf0ffc70d", - "typeString": "literal_string \"log(bool,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5604, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44214:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44214:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5611, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44214:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5603, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44198:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44198:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5613, - "nodeType": "ExpressionStatement", - "src": "44198:91:1" - } - ] - }, - "id": 5615, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44119:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5601, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5594, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44128:2:1", - "nodeType": "VariableDeclaration", - "scope": 5615, - "src": "44123:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5593, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44123:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5596, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44146:2:1", - "nodeType": "VariableDeclaration", - "scope": 5615, - "src": "44132:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5595, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44132:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5598, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44158:2:1", - "nodeType": "VariableDeclaration", - "scope": 5615, - "src": "44150:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5597, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44150:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5600, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44176:2:1", - "nodeType": "VariableDeclaration", - "scope": 5615, - "src": "44162:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5599, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44162:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44122:57:1" - }, - "returnParameters": { - "id": 5602, - "nodeType": "ParameterList", - "parameters": [], - "src": "44194:0:1" - }, - "scope": 8146, - "src": "44110:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5637, - "nodeType": "Block", - "src": "44371:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c626f6f6c29", - "id": 5629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44415:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6b0e5d538cb3332d8fd45a0c2680232536414e292adbc2f70059f1d665e25411", - "typeString": "literal_string \"log(bool,string,uint256,bool)\"" - }, - "value": "log(bool,string,uint256,bool)" - }, - { - "id": 5630, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5617, - "src": "44448:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5631, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5619, - "src": "44452:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5632, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5621, - "src": "44456:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5633, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5623, - "src": "44460:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6b0e5d538cb3332d8fd45a0c2680232536414e292adbc2f70059f1d665e25411", - "typeString": "literal_string \"log(bool,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44391:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44391:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44391:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5626, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44375:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44375:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5636, - "nodeType": "ExpressionStatement", - "src": "44375:89:1" - } - ] - }, - "id": 5638, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44305:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5624, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5617, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44314:2:1", - "nodeType": "VariableDeclaration", - "scope": 5638, - "src": "44309:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5616, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44309:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5619, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44332:2:1", - "nodeType": "VariableDeclaration", - "scope": 5638, - "src": "44318:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5618, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44318:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5621, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44344:2:1", - "nodeType": "VariableDeclaration", - "scope": 5638, - "src": "44336:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5620, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44336:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5623, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44353:2:1", - "nodeType": "VariableDeclaration", - "scope": 5638, - "src": "44348:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5622, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44348:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "44308:48:1" - }, - "returnParameters": { - "id": 5625, - "nodeType": "ParameterList", - "parameters": [], - "src": "44371:0:1" - }, - "scope": 8146, - "src": "44296:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5660, - "nodeType": "Block", - "src": "44549:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c75696e743235362c6164647265737329", - "id": 5652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44593:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1596a1ceb88c7fe162cbcf294bbc564db1eb943f277b50b442bf55dba1134056", - "typeString": "literal_string \"log(bool,string,uint256,address)\"" - }, - "value": "log(bool,string,uint256,address)" - }, - { - "id": 5653, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5640, - "src": "44629:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5654, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5642, - "src": "44633:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5655, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5644, - "src": "44637:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5656, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5646, - "src": "44641:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1596a1ceb88c7fe162cbcf294bbc564db1eb943f277b50b442bf55dba1134056", - "typeString": "literal_string \"log(bool,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5650, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44569:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5651, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44569:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5657, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44569:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5649, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44553:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44553:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5659, - "nodeType": "ExpressionStatement", - "src": "44553:92:1" - } - ] - }, - "id": 5661, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44480:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5647, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5640, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44489:2:1", - "nodeType": "VariableDeclaration", - "scope": 5661, - "src": "44484:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5639, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44484:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5642, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44507:2:1", - "nodeType": "VariableDeclaration", - "scope": 5661, - "src": "44493:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5641, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44493:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5644, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44519:2:1", - "nodeType": "VariableDeclaration", - "scope": 5661, - "src": "44511:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5643, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44511:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5646, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44531:2:1", - "nodeType": "VariableDeclaration", - "scope": 5661, - "src": "44523:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5645, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "44523:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "44483:51:1" - }, - "returnParameters": { - "id": 5648, - "nodeType": "ParameterList", - "parameters": [], - "src": "44549:0:1" - }, - "scope": 8146, - "src": "44471:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5683, - "nodeType": "Block", - "src": "44736:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c75696e7432353629", - "id": 5675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44780:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7be0c3eb1e87c47c60c12330b930fb496493960f97b03f8342bbe08fec9d20a2", - "typeString": "literal_string \"log(bool,string,string,uint256)\"" - }, - "value": "log(bool,string,string,uint256)" - }, - { - "id": 5676, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5663, - "src": "44815:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5677, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5665, - "src": "44819:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5678, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5667, - "src": "44823:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5679, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5669, - "src": "44827:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7be0c3eb1e87c47c60c12330b930fb496493960f97b03f8342bbe08fec9d20a2", - "typeString": "literal_string \"log(bool,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5673, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44756:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5674, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44756:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5680, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44756:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5672, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44740:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44740:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5682, - "nodeType": "ExpressionStatement", - "src": "44740:91:1" - } - ] - }, - "id": 5684, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44661:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5670, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5663, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44670:2:1", - "nodeType": "VariableDeclaration", - "scope": 5684, - "src": "44665:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5662, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44665:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5665, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44688:2:1", - "nodeType": "VariableDeclaration", - "scope": 5684, - "src": "44674:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5664, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44674:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5667, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44706:2:1", - "nodeType": "VariableDeclaration", - "scope": 5684, - "src": "44692:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5666, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44692:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5669, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44718:2:1", - "nodeType": "VariableDeclaration", - "scope": 5684, - "src": "44710:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5668, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "44710:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "44664:57:1" - }, - "returnParameters": { - "id": 5671, - "nodeType": "ParameterList", - "parameters": [], - "src": "44736:0:1" - }, - "scope": 8146, - "src": "44652:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5706, - "nodeType": "Block", - "src": "44928:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c737472696e6729", - "id": 5698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "44972:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - "value": "log(bool,string,string,string)" - }, - { - "id": 5699, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5686, - "src": "45006:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5700, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5688, - "src": "45010:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5701, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5690, - "src": "45014:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5702, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5692, - "src": "45018:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1762e32af9fa924f818d8f4a6c92011d30129df73749081e0b95feea819a17c9", - "typeString": "literal_string \"log(bool,string,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5696, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "44948:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "44948:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44948:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5695, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "44932:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "44932:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5705, - "nodeType": "ExpressionStatement", - "src": "44932:90:1" - } - ] - }, - "id": 5707, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "44847:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5693, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5686, - "mutability": "mutable", - "name": "p0", - "nameLocation": "44856:2:1", - "nodeType": "VariableDeclaration", - "scope": 5707, - "src": "44851:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5685, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "44851:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5688, - "mutability": "mutable", - "name": "p1", - "nameLocation": "44874:2:1", - "nodeType": "VariableDeclaration", - "scope": 5707, - "src": "44860:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5687, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44860:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5690, - "mutability": "mutable", - "name": "p2", - "nameLocation": "44892:2:1", - "nodeType": "VariableDeclaration", - "scope": 5707, - "src": "44878:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5689, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44878:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5692, - "mutability": "mutable", - "name": "p3", - "nameLocation": "44910:2:1", - "nodeType": "VariableDeclaration", - "scope": 5707, - "src": "44896:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5691, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "44896:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "44850:63:1" - }, - "returnParameters": { - "id": 5694, - "nodeType": "ParameterList", - "parameters": [], - "src": "44928:0:1" - }, - "scope": 8146, - "src": "44838:188:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5729, - "nodeType": "Block", - "src": "45110:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c626f6f6c29", - "id": 5721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45154:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - "value": "log(bool,string,string,bool)" - }, - { - "id": 5722, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5709, - "src": "45186:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5723, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5711, - "src": "45190:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5724, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5713, - "src": "45194:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5725, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5715, - "src": "45198:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1e4b87e52d13efc5b368defba0463e423637ec55125c6230945d005f817198d1", - "typeString": "literal_string \"log(bool,string,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5719, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45130:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5720, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45130:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45130:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5718, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45114:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45114:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5728, - "nodeType": "ExpressionStatement", - "src": "45114:88:1" - } - ] - }, - "id": 5730, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45038:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5716, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5709, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45047:2:1", - "nodeType": "VariableDeclaration", - "scope": 5730, - "src": "45042:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5708, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45042:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5711, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45065:2:1", - "nodeType": "VariableDeclaration", - "scope": 5730, - "src": "45051:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5710, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45051:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5713, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45083:2:1", - "nodeType": "VariableDeclaration", - "scope": 5730, - "src": "45069:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5712, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45069:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5715, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45092:2:1", - "nodeType": "VariableDeclaration", - "scope": 5730, - "src": "45087:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5714, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45087:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45041:54:1" - }, - "returnParameters": { - "id": 5717, - "nodeType": "ParameterList", - "parameters": [], - "src": "45110:0:1" - }, - "scope": 8146, - "src": "45029:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5752, - "nodeType": "Block", - "src": "45293:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c737472696e672c6164647265737329", - "id": 5744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45337:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - "value": "log(bool,string,string,address)" - }, - { - "id": 5745, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5732, - "src": "45372:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5746, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5734, - "src": "45376:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5747, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5736, - "src": "45380:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5748, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5738, - "src": "45384:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_97d394d89551bd441d1340d1c3dcc3b6160871bf042c6884bcb4049b2fa2bdb5", - "typeString": "literal_string \"log(bool,string,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5742, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45313:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45313:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45313:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5741, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45297:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45297:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5751, - "nodeType": "ExpressionStatement", - "src": "45297:91:1" - } - ] - }, - "id": 5753, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45218:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5739, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5732, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45227:2:1", - "nodeType": "VariableDeclaration", - "scope": 5753, - "src": "45222:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5731, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45222:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5734, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45245:2:1", - "nodeType": "VariableDeclaration", - "scope": 5753, - "src": "45231:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5733, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45231:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5736, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45263:2:1", - "nodeType": "VariableDeclaration", - "scope": 5753, - "src": "45249:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5735, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45249:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5738, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45275:2:1", - "nodeType": "VariableDeclaration", - "scope": 5753, - "src": "45267:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5737, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45267:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45221:57:1" - }, - "returnParameters": { - "id": 5740, - "nodeType": "ParameterList", - "parameters": [], - "src": "45293:0:1" - }, - "scope": 8146, - "src": "45209:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5775, - "nodeType": "Block", - "src": "45470:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c75696e7432353629", - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45514:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1606a393d6d8ee0e5b372b3b4baba691a3700cb155888ecb60500deb6038e937", - "typeString": "literal_string \"log(bool,string,bool,uint256)\"" - }, - "value": "log(bool,string,bool,uint256)" - }, - { - "id": 5768, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5755, - "src": "45547:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5769, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5757, - "src": "45551:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5770, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5759, - "src": "45555:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5771, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5761, - "src": "45559:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1606a393d6d8ee0e5b372b3b4baba691a3700cb155888ecb60500deb6038e937", - "typeString": "literal_string \"log(bool,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5765, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45490:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45490:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45490:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5764, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45474:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45474:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5774, - "nodeType": "ExpressionStatement", - "src": "45474:89:1" - } - ] - }, - "id": 5776, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45404:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5762, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5755, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45413:2:1", - "nodeType": "VariableDeclaration", - "scope": 5776, - "src": "45408:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5754, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45408:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5757, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45431:2:1", - "nodeType": "VariableDeclaration", - "scope": 5776, - "src": "45417:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5756, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45417:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5759, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45440:2:1", - "nodeType": "VariableDeclaration", - "scope": 5776, - "src": "45435:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5758, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45435:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5761, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45452:2:1", - "nodeType": "VariableDeclaration", - "scope": 5776, - "src": "45444:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5760, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "45444:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "45407:48:1" - }, - "returnParameters": { - "id": 5763, - "nodeType": "ParameterList", - "parameters": [], - "src": "45470:0:1" - }, - "scope": 8146, - "src": "45395:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5798, - "nodeType": "Block", - "src": "45651:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c737472696e6729", - "id": 5790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45695:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - "value": "log(bool,string,bool,string)" - }, - { - "id": 5791, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5778, - "src": "45727:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5792, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5780, - "src": "45731:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5793, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5782, - "src": "45735:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5794, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5784, - "src": "45739:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_483d0416329d0c81c68975a0cac822497c590c00f8ae8be66af490d0f9215468", - "typeString": "literal_string \"log(bool,string,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5788, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45671:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45671:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45671:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5787, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45655:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45655:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5797, - "nodeType": "ExpressionStatement", - "src": "45655:88:1" - } - ] - }, - "id": 5799, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45579:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5785, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5778, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45588:2:1", - "nodeType": "VariableDeclaration", - "scope": 5799, - "src": "45583:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5777, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45583:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5780, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45606:2:1", - "nodeType": "VariableDeclaration", - "scope": 5799, - "src": "45592:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5779, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45592:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5782, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45615:2:1", - "nodeType": "VariableDeclaration", - "scope": 5799, - "src": "45610:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5781, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45610:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5784, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45633:2:1", - "nodeType": "VariableDeclaration", - "scope": 5799, - "src": "45619:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5783, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45619:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "45582:54:1" - }, - "returnParameters": { - "id": 5786, - "nodeType": "ParameterList", - "parameters": [], - "src": "45651:0:1" - }, - "scope": 8146, - "src": "45570:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5821, - "nodeType": "Block", - "src": "45822:94:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c626f6f6c29", - "id": 5813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "45866:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - "value": "log(bool,string,bool,bool)" - }, - { - "id": 5814, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5801, - "src": "45896:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5815, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5803, - "src": "45900:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5816, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5805, - "src": "45904:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5817, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5807, - "src": "45908:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dc5e935b9ccf45ff13b5900aeaf3a593df3e9479fc07e9c213f5fcaa0951e91f", - "typeString": "literal_string \"log(bool,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "45842:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "45842:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5818, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45842:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5810, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45826:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45826:86:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5820, - "nodeType": "ExpressionStatement", - "src": "45826:86:1" - } - ] - }, - "id": 5822, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45759:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5808, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5801, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45768:2:1", - "nodeType": "VariableDeclaration", - "scope": 5822, - "src": "45763:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5800, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45763:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5803, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45786:2:1", - "nodeType": "VariableDeclaration", - "scope": 5822, - "src": "45772:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5802, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45772:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5805, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45795:2:1", - "nodeType": "VariableDeclaration", - "scope": 5822, - "src": "45790:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5804, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45790:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5807, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45804:2:1", - "nodeType": "VariableDeclaration", - "scope": 5822, - "src": "45799:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5806, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45799:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "45762:45:1" - }, - "returnParameters": { - "id": 5809, - "nodeType": "ParameterList", - "parameters": [], - "src": "45822:0:1" - }, - "scope": 8146, - "src": "45750:166:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5844, - "nodeType": "Block", - "src": "45994:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c626f6f6c2c6164647265737329", - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46038:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - "value": "log(bool,string,bool,address)" - }, - { - "id": 5837, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5824, - "src": "46071:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5838, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5826, - "src": "46075:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5839, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5828, - "src": "46079:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5840, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5830, - "src": "46083:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_538e06ab06366b189ea53da7c11628ee5730bc373b0bc64719bea1a2afab03c5", - "typeString": "literal_string \"log(bool,string,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5834, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46014:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46014:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46014:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5833, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "45998:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "45998:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5843, - "nodeType": "ExpressionStatement", - "src": "45998:89:1" - } - ] - }, - "id": 5845, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "45928:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5831, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5824, - "mutability": "mutable", - "name": "p0", - "nameLocation": "45937:2:1", - "nodeType": "VariableDeclaration", - "scope": 5845, - "src": "45932:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5823, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45932:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5826, - "mutability": "mutable", - "name": "p1", - "nameLocation": "45955:2:1", - "nodeType": "VariableDeclaration", - "scope": 5845, - "src": "45941:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "45941:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5828, - "mutability": "mutable", - "name": "p2", - "nameLocation": "45964:2:1", - "nodeType": "VariableDeclaration", - "scope": 5845, - "src": "45959:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5827, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "45959:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5830, - "mutability": "mutable", - "name": "p3", - "nameLocation": "45976:2:1", - "nodeType": "VariableDeclaration", - "scope": 5845, - "src": "45968:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5829, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "45968:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "45931:48:1" - }, - "returnParameters": { - "id": 5832, - "nodeType": "ParameterList", - "parameters": [], - "src": "45994:0:1" - }, - "scope": 8146, - "src": "45919:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5867, - "nodeType": "Block", - "src": "46172:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c75696e7432353629", - "id": 5859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46216:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a5cada94c7dfdda57d4cfcf14da44c63431bfd533756a6e0d0d0a684af164218", - "typeString": "literal_string \"log(bool,string,address,uint256)\"" - }, - "value": "log(bool,string,address,uint256)" - }, - { - "id": 5860, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5847, - "src": "46252:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5861, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5849, - "src": "46256:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5862, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5851, - "src": "46260:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5863, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5853, - "src": "46264:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a5cada94c7dfdda57d4cfcf14da44c63431bfd533756a6e0d0d0a684af164218", - "typeString": "literal_string \"log(bool,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5857, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46192:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5858, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46192:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46192:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5856, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "46176:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46176:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5866, - "nodeType": "ExpressionStatement", - "src": "46176:92:1" - } - ] - }, - "id": 5868, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46103:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5854, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5847, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46112:2:1", - "nodeType": "VariableDeclaration", - "scope": 5868, - "src": "46107:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5846, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46107:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5849, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46130:2:1", - "nodeType": "VariableDeclaration", - "scope": 5868, - "src": "46116:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5848, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46116:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5851, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46142:2:1", - "nodeType": "VariableDeclaration", - "scope": 5868, - "src": "46134:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5850, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46134:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5853, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46154:2:1", - "nodeType": "VariableDeclaration", - "scope": 5868, - "src": "46146:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5852, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46146:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46106:51:1" - }, - "returnParameters": { - "id": 5855, - "nodeType": "ParameterList", - "parameters": [], - "src": "46172:0:1" - }, - "scope": 8146, - "src": "46094:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5890, - "nodeType": "Block", - "src": "46359:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c737472696e6729", - "id": 5882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46403:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - "value": "log(bool,string,address,string)" - }, - { - "id": 5883, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5870, - "src": "46438:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5884, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5872, - "src": "46442:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5885, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5874, - "src": "46446:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5886, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5876, - "src": "46450:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12d6c788fea4d6144f2607e1e8821bec55a5c2dfdc4cece41a536f7b7831e7a7", - "typeString": "literal_string \"log(bool,string,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5880, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46379:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46379:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46379:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5879, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "46363:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46363:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5889, - "nodeType": "ExpressionStatement", - "src": "46363:91:1" - } - ] - }, - "id": 5891, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46284:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5877, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5870, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46293:2:1", - "nodeType": "VariableDeclaration", - "scope": 5891, - "src": "46288:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5869, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46288:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5872, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46311:2:1", - "nodeType": "VariableDeclaration", - "scope": 5891, - "src": "46297:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5871, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46297:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5874, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46323:2:1", - "nodeType": "VariableDeclaration", - "scope": 5891, - "src": "46315:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5873, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46315:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5876, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46341:2:1", - "nodeType": "VariableDeclaration", - "scope": 5891, - "src": "46327:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5875, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46327:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46287:57:1" - }, - "returnParameters": { - "id": 5878, - "nodeType": "ParameterList", - "parameters": [], - "src": "46359:0:1" - }, - "scope": 8146, - "src": "46275:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5913, - "nodeType": "Block", - "src": "46536:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c626f6f6c29", - "id": 5905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46580:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - "value": "log(bool,string,address,bool)" - }, - { - "id": 5906, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5893, - "src": "46613:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5907, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5895, - "src": "46617:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5908, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5897, - "src": "46621:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5909, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5899, - "src": "46625:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6dd434ca1fa26d491bcd72b7fe69eb72d41cae8eadbda5a7f985734e1b80c67d", - "typeString": "literal_string \"log(bool,string,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46556:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46556:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46556:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5902, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "46540:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46540:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5912, - "nodeType": "ExpressionStatement", - "src": "46540:89:1" - } - ] - }, - "id": 5914, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46470:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5900, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5893, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46479:2:1", - "nodeType": "VariableDeclaration", - "scope": 5914, - "src": "46474:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5892, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46474:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5895, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46497:2:1", - "nodeType": "VariableDeclaration", - "scope": 5914, - "src": "46483:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5894, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46483:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5897, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46509:2:1", - "nodeType": "VariableDeclaration", - "scope": 5914, - "src": "46501:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46501:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5899, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46518:2:1", - "nodeType": "VariableDeclaration", - "scope": 5914, - "src": "46513:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5898, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46513:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "46473:48:1" - }, - "returnParameters": { - "id": 5901, - "nodeType": "ParameterList", - "parameters": [], - "src": "46536:0:1" - }, - "scope": 8146, - "src": "46461:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5936, - "nodeType": "Block", - "src": "46714:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c737472696e672c616464726573732c6164647265737329", - "id": 5928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46758:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - "value": "log(bool,string,address,address)" - }, - { - "id": 5929, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5916, - "src": "46794:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5930, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5918, - "src": "46798:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 5931, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5920, - "src": "46802:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 5932, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5922, - "src": "46806:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2b2b18dc50ecc75180f201de41eca533fbda0c7bf525c06b5b8e87bc1d010822", - "typeString": "literal_string \"log(bool,string,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 5926, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46734:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5927, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46734:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5933, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46734:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5925, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "46718:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46718:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5935, - "nodeType": "ExpressionStatement", - "src": "46718:92:1" - } - ] - }, - "id": 5937, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46645:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5916, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46654:2:1", - "nodeType": "VariableDeclaration", - "scope": 5937, - "src": "46649:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5915, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46649:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5918, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46672:2:1", - "nodeType": "VariableDeclaration", - "scope": 5937, - "src": "46658:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5917, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "46658:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5920, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46684:2:1", - "nodeType": "VariableDeclaration", - "scope": 5937, - "src": "46676:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5919, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46676:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5922, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46696:2:1", - "nodeType": "VariableDeclaration", - "scope": 5937, - "src": "46688:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5921, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "46688:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "46648:51:1" - }, - "returnParameters": { - "id": 5924, - "nodeType": "ParameterList", - "parameters": [], - "src": "46714:0:1" - }, - "scope": 8146, - "src": "46636:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5959, - "nodeType": "Block", - "src": "46886:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c75696e7432353629", - "id": 5951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "46930:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0bb00eab8772a517edb34ef48e9be8dbee2f7b7490bba02909d18953766a9d34", - "typeString": "literal_string \"log(bool,bool,uint256,uint256)\"" - }, - "value": "log(bool,bool,uint256,uint256)" - }, - { - "id": 5952, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5939, - "src": "46964:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5953, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5941, - "src": "46968:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5954, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5943, - "src": "46972:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5955, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5945, - "src": "46976:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0bb00eab8772a517edb34ef48e9be8dbee2f7b7490bba02909d18953766a9d34", - "typeString": "literal_string \"log(bool,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 5949, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "46906:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "46906:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46906:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5948, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "46890:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "46890:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5958, - "nodeType": "ExpressionStatement", - "src": "46890:90:1" - } - ] - }, - "id": 5960, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46826:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5946, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5939, - "mutability": "mutable", - "name": "p0", - "nameLocation": "46835:2:1", - "nodeType": "VariableDeclaration", - "scope": 5960, - "src": "46830:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5938, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46830:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5941, - "mutability": "mutable", - "name": "p1", - "nameLocation": "46844:2:1", - "nodeType": "VariableDeclaration", - "scope": 5960, - "src": "46839:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5940, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "46839:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5943, - "mutability": "mutable", - "name": "p2", - "nameLocation": "46856:2:1", - "nodeType": "VariableDeclaration", - "scope": 5960, - "src": "46848:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5942, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46848:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5945, - "mutability": "mutable", - "name": "p3", - "nameLocation": "46868:2:1", - "nodeType": "VariableDeclaration", - "scope": 5960, - "src": "46860:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5944, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "46860:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "46829:42:1" - }, - "returnParameters": { - "id": 5947, - "nodeType": "ParameterList", - "parameters": [], - "src": "46886:0:1" - }, - "scope": 8146, - "src": "46817:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 5982, - "nodeType": "Block", - "src": "47062:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c737472696e6729", - "id": 5974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47106:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7dd4d0e0c518f4b352fd13daccf87a5d9bed9e01e109d2cd329f8180d1bf37cf", - "typeString": "literal_string \"log(bool,bool,uint256,string)\"" - }, - "value": "log(bool,bool,uint256,string)" - }, - { - "id": 5975, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5962, - "src": "47139:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5976, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5964, - "src": "47143:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5977, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5966, - "src": "47147:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 5978, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5968, - "src": "47151:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7dd4d0e0c518f4b352fd13daccf87a5d9bed9e01e109d2cd329f8180d1bf37cf", - "typeString": "literal_string \"log(bool,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 5972, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47082:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5973, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47082:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 5979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47082:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5971, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47066:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 5980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47066:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5981, - "nodeType": "ExpressionStatement", - "src": "47066:89:1" - } - ] - }, - "id": 5983, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "46996:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5969, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5962, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47005:2:1", - "nodeType": "VariableDeclaration", - "scope": 5983, - "src": "47000:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5961, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47000:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5964, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47014:2:1", - "nodeType": "VariableDeclaration", - "scope": 5983, - "src": "47009:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5963, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47009:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5966, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47026:2:1", - "nodeType": "VariableDeclaration", - "scope": 5983, - "src": "47018:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5965, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47018:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5968, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47044:2:1", - "nodeType": "VariableDeclaration", - "scope": 5983, - "src": "47030:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5967, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47030:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "46999:48:1" - }, - "returnParameters": { - "id": 5970, - "nodeType": "ParameterList", - "parameters": [], - "src": "47062:0:1" - }, - "scope": 8146, - "src": "46987:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6005, - "nodeType": "Block", - "src": "47228:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c626f6f6c29", - "id": 5997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47272:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_619e4d0eef4ca09035d413eaba6f544cfd6dc9e01c2aeecde070c53237f5a842", - "typeString": "literal_string \"log(bool,bool,uint256,bool)\"" - }, - "value": "log(bool,bool,uint256,bool)" - }, - { - "id": 5998, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5985, - "src": "47303:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 5999, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5987, - "src": "47307:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6000, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5989, - "src": "47311:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6001, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5991, - "src": "47315:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_619e4d0eef4ca09035d413eaba6f544cfd6dc9e01c2aeecde070c53237f5a842", - "typeString": "literal_string \"log(bool,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 5995, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47248:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 5996, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47248:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47248:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 5994, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47232:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47232:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6004, - "nodeType": "ExpressionStatement", - "src": "47232:87:1" - } - ] - }, - "id": 6006, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47171:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5992, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5985, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47180:2:1", - "nodeType": "VariableDeclaration", - "scope": 6006, - "src": "47175:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5984, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47175:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5987, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47189:2:1", - "nodeType": "VariableDeclaration", - "scope": 6006, - "src": "47184:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5986, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47184:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5989, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47201:2:1", - "nodeType": "VariableDeclaration", - "scope": 6006, - "src": "47193:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5988, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47193:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 5991, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47210:2:1", - "nodeType": "VariableDeclaration", - "scope": 6006, - "src": "47205:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5990, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47205:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47174:39:1" - }, - "returnParameters": { - "id": 5993, - "nodeType": "ParameterList", - "parameters": [], - "src": "47228:0:1" - }, - "scope": 8146, - "src": "47162:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6028, - "nodeType": "Block", - "src": "47395:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c75696e743235362c6164647265737329", - "id": 6020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47439:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_54a7a9a08e00a28d36d734cc45e318f9adc9ffbfd731cd45d0dc5a2abe2b9ac9", - "typeString": "literal_string \"log(bool,bool,uint256,address)\"" - }, - "value": "log(bool,bool,uint256,address)" - }, - { - "id": 6021, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6008, - "src": "47473:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6022, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6010, - "src": "47477:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6023, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6012, - "src": "47481:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6024, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6014, - "src": "47485:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_54a7a9a08e00a28d36d734cc45e318f9adc9ffbfd731cd45d0dc5a2abe2b9ac9", - "typeString": "literal_string \"log(bool,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6018, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47415:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47415:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47415:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6017, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47399:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47399:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6027, - "nodeType": "ExpressionStatement", - "src": "47399:90:1" - } - ] - }, - "id": 6029, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47335:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6015, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6008, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47344:2:1", - "nodeType": "VariableDeclaration", - "scope": 6029, - "src": "47339:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6007, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47339:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6010, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47353:2:1", - "nodeType": "VariableDeclaration", - "scope": 6029, - "src": "47348:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6009, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47348:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6012, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47365:2:1", - "nodeType": "VariableDeclaration", - "scope": 6029, - "src": "47357:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6011, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47357:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6014, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47377:2:1", - "nodeType": "VariableDeclaration", - "scope": 6029, - "src": "47369:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6013, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "47369:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "47338:42:1" - }, - "returnParameters": { - "id": 6016, - "nodeType": "ParameterList", - "parameters": [], - "src": "47395:0:1" - }, - "scope": 8146, - "src": "47326:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6051, - "nodeType": "Block", - "src": "47571:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c75696e7432353629", - "id": 6043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47615:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3a9ca2f5717705d404f75ae4eff025addb4f91e02ce7d2b9a424fc7423a8246", - "typeString": "literal_string \"log(bool,bool,string,uint256)\"" - }, - "value": "log(bool,bool,string,uint256)" - }, - { - "id": 6044, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6031, - "src": "47648:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6045, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6033, - "src": "47652:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6046, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6035, - "src": "47656:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6047, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "47660:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e3a9ca2f5717705d404f75ae4eff025addb4f91e02ce7d2b9a424fc7423a8246", - "typeString": "literal_string \"log(bool,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6041, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47591:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6042, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47591:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6048, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47591:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6040, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47575:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47575:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6050, - "nodeType": "ExpressionStatement", - "src": "47575:89:1" - } - ] - }, - "id": 6052, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47505:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6038, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6031, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47514:2:1", - "nodeType": "VariableDeclaration", - "scope": 6052, - "src": "47509:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6030, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47509:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6033, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47523:2:1", - "nodeType": "VariableDeclaration", - "scope": 6052, - "src": "47518:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6032, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47518:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6035, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47541:2:1", - "nodeType": "VariableDeclaration", - "scope": 6052, - "src": "47527:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6034, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47527:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6037, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47553:2:1", - "nodeType": "VariableDeclaration", - "scope": 6052, - "src": "47545:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6036, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "47545:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "47508:48:1" - }, - "returnParameters": { - "id": 6039, - "nodeType": "ParameterList", - "parameters": [], - "src": "47571:0:1" - }, - "scope": 8146, - "src": "47496:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6074, - "nodeType": "Block", - "src": "47752:96:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c737472696e6729", - "id": 6066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47796:30:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - "value": "log(bool,bool,string,string)" - }, - { - "id": 6067, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6054, - "src": "47828:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6068, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6056, - "src": "47832:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6069, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6058, - "src": "47836:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6070, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6060, - "src": "47840:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d1e87518c98344bc3efd52648f61de340bda51607aec409d641f3467caafaaf", - "typeString": "literal_string \"log(bool,bool,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6064, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47772:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6065, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47772:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6071, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47772:71:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6063, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47756:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47756:88:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6073, - "nodeType": "ExpressionStatement", - "src": "47756:88:1" - } - ] - }, - "id": 6075, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47680:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6061, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6054, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47689:2:1", - "nodeType": "VariableDeclaration", - "scope": 6075, - "src": "47684:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6053, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47684:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6056, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47698:2:1", - "nodeType": "VariableDeclaration", - "scope": 6075, - "src": "47693:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6055, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47693:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6058, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47716:2:1", - "nodeType": "VariableDeclaration", - "scope": 6075, - "src": "47702:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6057, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47702:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6060, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47734:2:1", - "nodeType": "VariableDeclaration", - "scope": 6075, - "src": "47720:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6059, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47720:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "47683:54:1" - }, - "returnParameters": { - "id": 6062, - "nodeType": "ParameterList", - "parameters": [], - "src": "47752:0:1" - }, - "scope": 8146, - "src": "47671:177:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6097, - "nodeType": "Block", - "src": "47923:94:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c626f6f6c29", - "id": 6089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "47967:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - "value": "log(bool,bool,string,bool)" - }, - { - "id": 6090, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6077, - "src": "47997:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6091, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6079, - "src": "48001:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6092, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6081, - "src": "48005:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6093, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6083, - "src": "48009:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_b857163a2b7b8273ed53cefa410aa148f1833bdfc22da11e1e2fb89c6e625d02", - "typeString": "literal_string \"log(bool,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6087, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "47943:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "47943:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6094, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47943:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6086, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "47927:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "47927:86:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6096, - "nodeType": "ExpressionStatement", - "src": "47927:86:1" - } - ] - }, - "id": 6098, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "47860:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6084, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6077, - "mutability": "mutable", - "name": "p0", - "nameLocation": "47869:2:1", - "nodeType": "VariableDeclaration", - "scope": 6098, - "src": "47864:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6076, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47864:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6079, - "mutability": "mutable", - "name": "p1", - "nameLocation": "47878:2:1", - "nodeType": "VariableDeclaration", - "scope": 6098, - "src": "47873:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6078, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47873:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6081, - "mutability": "mutable", - "name": "p2", - "nameLocation": "47896:2:1", - "nodeType": "VariableDeclaration", - "scope": 6098, - "src": "47882:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6080, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "47882:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6083, - "mutability": "mutable", - "name": "p3", - "nameLocation": "47905:2:1", - "nodeType": "VariableDeclaration", - "scope": 6098, - "src": "47900:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6082, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "47900:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "47863:45:1" - }, - "returnParameters": { - "id": 6085, - "nodeType": "ParameterList", - "parameters": [], - "src": "47923:0:1" - }, - "scope": 8146, - "src": "47851:166:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6120, - "nodeType": "Block", - "src": "48095:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c737472696e672c6164647265737329", - "id": 6112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48139:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - "value": "log(bool,bool,string,address)" - }, - { - "id": 6113, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6100, - "src": "48172:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6114, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6102, - "src": "48176:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6115, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6104, - "src": "48180:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6116, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6106, - "src": "48184:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f9ad2b893873fa31c02b102aa30743b2e44c102daa588ea9d1eb1f2baf23d202", - "typeString": "literal_string \"log(bool,bool,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6110, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48115:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48115:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48115:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6109, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48099:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48099:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6119, - "nodeType": "ExpressionStatement", - "src": "48099:89:1" - } - ] - }, - "id": 6121, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48029:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6107, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6100, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48038:2:1", - "nodeType": "VariableDeclaration", - "scope": 6121, - "src": "48033:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6099, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48033:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6102, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48047:2:1", - "nodeType": "VariableDeclaration", - "scope": 6121, - "src": "48042:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6101, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48042:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6104, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48065:2:1", - "nodeType": "VariableDeclaration", - "scope": 6121, - "src": "48051:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6103, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48051:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6106, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48077:2:1", - "nodeType": "VariableDeclaration", - "scope": 6121, - "src": "48069:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6105, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48069:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48032:48:1" - }, - "returnParameters": { - "id": 6108, - "nodeType": "ParameterList", - "parameters": [], - "src": "48095:0:1" - }, - "scope": 8146, - "src": "48020:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6143, - "nodeType": "Block", - "src": "48261:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 6135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48305:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d7045c1b7eb7ef78b5ae54b2426a16952d89f674f6d689a4e37aa73bc076a7c", - "typeString": "literal_string \"log(bool,bool,bool,uint256)\"" - }, - "value": "log(bool,bool,bool,uint256)" - }, - { - "id": 6136, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6123, - "src": "48336:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6137, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6125, - "src": "48340:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6138, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6127, - "src": "48344:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6139, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6129, - "src": "48348:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d7045c1b7eb7ef78b5ae54b2426a16952d89f674f6d689a4e37aa73bc076a7c", - "typeString": "literal_string \"log(bool,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6133, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48281:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48281:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6140, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48281:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6132, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48265:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48265:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6142, - "nodeType": "ExpressionStatement", - "src": "48265:87:1" - } - ] - }, - "id": 6144, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48204:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6123, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48213:2:1", - "nodeType": "VariableDeclaration", - "scope": 6144, - "src": "48208:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6122, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48208:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6125, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48222:2:1", - "nodeType": "VariableDeclaration", - "scope": 6144, - "src": "48217:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6124, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48217:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6127, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48231:2:1", - "nodeType": "VariableDeclaration", - "scope": 6144, - "src": "48226:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6126, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48226:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6129, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48243:2:1", - "nodeType": "VariableDeclaration", - "scope": 6144, - "src": "48235:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6128, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48235:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48207:39:1" - }, - "returnParameters": { - "id": 6131, - "nodeType": "ParameterList", - "parameters": [], - "src": "48261:0:1" - }, - "scope": 8146, - "src": "48195:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6166, - "nodeType": "Block", - "src": "48431:94:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c737472696e6729", - "id": 6158, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48475:28:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - "value": "log(bool,bool,bool,string)" - }, - { - "id": 6159, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6146, - "src": "48505:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6160, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6148, - "src": "48509:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6161, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6150, - "src": "48513:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6162, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "48517:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2ae408d4d030305a0361ad07c397f2b9653613b220d82459c7aeb9a6bab96c15", - "typeString": "literal_string \"log(bool,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6156, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48451:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6157, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48451:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48451:69:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6155, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48435:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48435:86:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6165, - "nodeType": "ExpressionStatement", - "src": "48435:86:1" - } - ] - }, - "id": 6167, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48368:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6146, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48377:2:1", - "nodeType": "VariableDeclaration", - "scope": 6167, - "src": "48372:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6145, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48372:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6148, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48386:2:1", - "nodeType": "VariableDeclaration", - "scope": 6167, - "src": "48381:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6147, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48381:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6150, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48395:2:1", - "nodeType": "VariableDeclaration", - "scope": 6167, - "src": "48390:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6149, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48390:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6152, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48413:2:1", - "nodeType": "VariableDeclaration", - "scope": 6167, - "src": "48399:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6151, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "48399:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "48371:45:1" - }, - "returnParameters": { - "id": 6154, - "nodeType": "ParameterList", - "parameters": [], - "src": "48431:0:1" - }, - "scope": 8146, - "src": "48359:166:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6189, - "nodeType": "Block", - "src": "48591:92:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 6181, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48635:26:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - "value": "log(bool,bool,bool,bool)" - }, - { - "id": 6182, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6169, - "src": "48663:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6183, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6171, - "src": "48667:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6184, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6173, - "src": "48671:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6185, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6175, - "src": "48675:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3b2a5ce0ddf7b166153a4354c81efba12a817983a38c6bc3b58fd91ce816d99f", - "typeString": "literal_string \"log(bool,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6179, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48611:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6180, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48611:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48611:67:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6178, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48595:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48595:84:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6188, - "nodeType": "ExpressionStatement", - "src": "48595:84:1" - } - ] - }, - "id": 6190, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48537:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6169, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48546:2:1", - "nodeType": "VariableDeclaration", - "scope": 6190, - "src": "48541:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6168, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48541:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6171, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48555:2:1", - "nodeType": "VariableDeclaration", - "scope": 6190, - "src": "48550:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6170, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48550:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6173, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48564:2:1", - "nodeType": "VariableDeclaration", - "scope": 6190, - "src": "48559:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6172, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48559:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6175, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48573:2:1", - "nodeType": "VariableDeclaration", - "scope": 6190, - "src": "48568:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6174, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48568:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "48540:36:1" - }, - "returnParameters": { - "id": 6177, - "nodeType": "ParameterList", - "parameters": [], - "src": "48591:0:1" - }, - "scope": 8146, - "src": "48528:155:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6212, - "nodeType": "Block", - "src": "48752:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c626f6f6c2c6164647265737329", - "id": 6204, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48796:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - "value": "log(bool,bool,bool,address)" - }, - { - "id": 6205, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6192, - "src": "48827:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6206, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6194, - "src": "48831:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6207, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6196, - "src": "48835:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6208, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6198, - "src": "48839:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c329b1a1752dedfc6b781d23096b49b7f905d62405e6e3f0ab0344786ff69f4", - "typeString": "literal_string \"log(bool,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6202, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48772:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48772:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48772:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6201, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48756:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48756:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6211, - "nodeType": "ExpressionStatement", - "src": "48756:87:1" - } - ] - }, - "id": 6213, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48695:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6192, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48704:2:1", - "nodeType": "VariableDeclaration", - "scope": 6213, - "src": "48699:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6191, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48699:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6194, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48713:2:1", - "nodeType": "VariableDeclaration", - "scope": 6213, - "src": "48708:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6193, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48708:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6196, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48722:2:1", - "nodeType": "VariableDeclaration", - "scope": 6213, - "src": "48717:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6195, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48717:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6198, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48734:2:1", - "nodeType": "VariableDeclaration", - "scope": 6213, - "src": "48726:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6197, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48726:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "48698:39:1" - }, - "returnParameters": { - "id": 6200, - "nodeType": "ParameterList", - "parameters": [], - "src": "48752:0:1" - }, - "scope": 8146, - "src": "48686:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6235, - "nodeType": "Block", - "src": "48919:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c75696e7432353629", - "id": 6227, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "48963:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4c123d5798ed03bd59911522da9ad7b1fc4e62f5a5de1c95ef20dc3897657cf1", - "typeString": "literal_string \"log(bool,bool,address,uint256)\"" - }, - "value": "log(bool,bool,address,uint256)" - }, - { - "id": 6228, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6215, - "src": "48997:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6229, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6217, - "src": "49001:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6230, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6219, - "src": "49005:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6231, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6221, - "src": "49009:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4c123d5798ed03bd59911522da9ad7b1fc4e62f5a5de1c95ef20dc3897657cf1", - "typeString": "literal_string \"log(bool,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6225, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "48939:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6226, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "48939:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48939:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6224, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "48923:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "48923:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6234, - "nodeType": "ExpressionStatement", - "src": "48923:90:1" - } - ] - }, - "id": 6236, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "48859:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6222, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6215, - "mutability": "mutable", - "name": "p0", - "nameLocation": "48868:2:1", - "nodeType": "VariableDeclaration", - "scope": 6236, - "src": "48863:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6214, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48863:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6217, - "mutability": "mutable", - "name": "p1", - "nameLocation": "48877:2:1", - "nodeType": "VariableDeclaration", - "scope": 6236, - "src": "48872:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6216, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "48872:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6219, - "mutability": "mutable", - "name": "p2", - "nameLocation": "48889:2:1", - "nodeType": "VariableDeclaration", - "scope": 6236, - "src": "48881:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6218, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "48881:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6221, - "mutability": "mutable", - "name": "p3", - "nameLocation": "48901:2:1", - "nodeType": "VariableDeclaration", - "scope": 6236, - "src": "48893:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6220, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "48893:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "48862:42:1" - }, - "returnParameters": { - "id": 6223, - "nodeType": "ParameterList", - "parameters": [], - "src": "48919:0:1" - }, - "scope": 8146, - "src": "48850:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6258, - "nodeType": "Block", - "src": "49095:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c737472696e6729", - "id": 6250, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49139:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - "value": "log(bool,bool,address,string)" - }, - { - "id": 6251, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6238, - "src": "49172:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6252, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6240, - "src": "49176:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6253, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6242, - "src": "49180:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6254, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6244, - "src": "49184:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a0a479635c05dee438b610769de0f667f2e93ee267e4cd4badf3dd44eb6271d2", - "typeString": "literal_string \"log(bool,bool,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6248, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49115:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49115:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49115:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6247, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49099:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49099:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6257, - "nodeType": "ExpressionStatement", - "src": "49099:89:1" - } - ] - }, - "id": 6259, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49029:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6238, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49038:2:1", - "nodeType": "VariableDeclaration", - "scope": 6259, - "src": "49033:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6237, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49033:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6240, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49047:2:1", - "nodeType": "VariableDeclaration", - "scope": 6259, - "src": "49042:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6239, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49042:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6242, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49059:2:1", - "nodeType": "VariableDeclaration", - "scope": 6259, - "src": "49051:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49051:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6244, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49077:2:1", - "nodeType": "VariableDeclaration", - "scope": 6259, - "src": "49063:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6243, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49063:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49032:48:1" - }, - "returnParameters": { - "id": 6246, - "nodeType": "ParameterList", - "parameters": [], - "src": "49095:0:1" - }, - "scope": 8146, - "src": "49020:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6281, - "nodeType": "Block", - "src": "49261:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c626f6f6c29", - "id": 6273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49305:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - "value": "log(bool,bool,address,bool)" - }, - { - "id": 6274, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6261, - "src": "49336:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6275, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6263, - "src": "49340:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6276, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6265, - "src": "49344:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6277, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6267, - "src": "49348:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c0a302d8f11e8919127c20f396068f7014b94967efb042778db9b27b68ee1eaf", - "typeString": "literal_string \"log(bool,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6271, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49281:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6272, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49281:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6278, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49281:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6270, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49265:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6279, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49265:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6280, - "nodeType": "ExpressionStatement", - "src": "49265:87:1" - } - ] - }, - "id": 6282, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49204:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6261, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49213:2:1", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "49208:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6260, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49208:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6263, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49222:2:1", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "49217:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6262, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49217:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6265, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49234:2:1", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "49226:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6264, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49226:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6267, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49243:2:1", - "nodeType": "VariableDeclaration", - "scope": 6282, - "src": "49238:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6266, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49238:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49207:39:1" - }, - "returnParameters": { - "id": 6269, - "nodeType": "ParameterList", - "parameters": [], - "src": "49261:0:1" - }, - "scope": 8146, - "src": "49195:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6304, - "nodeType": "Block", - "src": "49428:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c626f6f6c2c616464726573732c6164647265737329", - "id": 6296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49472:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - "value": "log(bool,bool,address,address)" - }, - { - "id": 6297, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6284, - "src": "49506:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6298, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6286, - "src": "49510:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6299, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "49514:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6300, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6290, - "src": "49518:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f4880ea4063b4f7e3c68468bb4a7a3f1502aa7497bce4fb0ba02ec0450f047f4", - "typeString": "literal_string \"log(bool,bool,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6294, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49448:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6295, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49448:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49448:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6293, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49432:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6302, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49432:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6303, - "nodeType": "ExpressionStatement", - "src": "49432:90:1" - } - ] - }, - "id": 6305, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49368:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6291, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6284, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49377:2:1", - "nodeType": "VariableDeclaration", - "scope": 6305, - "src": "49372:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6283, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49372:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6286, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49386:2:1", - "nodeType": "VariableDeclaration", - "scope": 6305, - "src": "49381:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6285, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49381:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6288, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49398:2:1", - "nodeType": "VariableDeclaration", - "scope": 6305, - "src": "49390:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6287, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49390:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6290, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49410:2:1", - "nodeType": "VariableDeclaration", - "scope": 6305, - "src": "49402:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6289, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49402:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "49371:42:1" - }, - "returnParameters": { - "id": 6292, - "nodeType": "ParameterList", - "parameters": [], - "src": "49428:0:1" - }, - "scope": 8146, - "src": "49359:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6327, - "nodeType": "Block", - "src": "49601:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c75696e7432353629", - "id": 6319, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49645:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7bf181a13b51d775e7d4339fb4fee9749d9226fa1720a2ae5e3183ab5674d16e", - "typeString": "literal_string \"log(bool,address,uint256,uint256)\"" - }, - "value": "log(bool,address,uint256,uint256)" - }, - { - "id": 6320, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6307, - "src": "49682:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6321, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6309, - "src": "49686:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6322, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6311, - "src": "49690:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6323, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6313, - "src": "49694:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7bf181a13b51d775e7d4339fb4fee9749d9226fa1720a2ae5e3183ab5674d16e", - "typeString": "literal_string \"log(bool,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6317, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49621:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49621:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49621:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6316, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49605:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49605:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6326, - "nodeType": "ExpressionStatement", - "src": "49605:93:1" - } - ] - }, - "id": 6328, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49538:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6314, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6307, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49547:2:1", - "nodeType": "VariableDeclaration", - "scope": 6328, - "src": "49542:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6306, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49542:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6309, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49559:2:1", - "nodeType": "VariableDeclaration", - "scope": 6328, - "src": "49551:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6308, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49551:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6311, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49571:2:1", - "nodeType": "VariableDeclaration", - "scope": 6328, - "src": "49563:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6310, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49563:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6313, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49583:2:1", - "nodeType": "VariableDeclaration", - "scope": 6328, - "src": "49575:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49575:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "49541:45:1" - }, - "returnParameters": { - "id": 6315, - "nodeType": "ParameterList", - "parameters": [], - "src": "49601:0:1" - }, - "scope": 8146, - "src": "49529:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6350, - "nodeType": "Block", - "src": "49783:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c737472696e6729", - "id": 6342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49827:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51f09ff8d49d8535177ce9f46f86e22d6e0ebf6aab24e3ad1fe351dec9cb8af7", - "typeString": "literal_string \"log(bool,address,uint256,string)\"" - }, - "value": "log(bool,address,uint256,string)" - }, - { - "id": 6343, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6330, - "src": "49863:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6344, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6332, - "src": "49867:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6345, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6334, - "src": "49871:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6346, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6336, - "src": "49875:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_51f09ff8d49d8535177ce9f46f86e22d6e0ebf6aab24e3ad1fe351dec9cb8af7", - "typeString": "literal_string \"log(bool,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6340, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49803:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49803:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49803:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6339, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49787:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6348, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49787:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6349, - "nodeType": "ExpressionStatement", - "src": "49787:92:1" - } - ] - }, - "id": 6351, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49714:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6337, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6330, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49723:2:1", - "nodeType": "VariableDeclaration", - "scope": 6351, - "src": "49718:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6329, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49718:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6332, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49735:2:1", - "nodeType": "VariableDeclaration", - "scope": 6351, - "src": "49727:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6331, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49727:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6334, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49747:2:1", - "nodeType": "VariableDeclaration", - "scope": 6351, - "src": "49739:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6333, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49739:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6336, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49765:2:1", - "nodeType": "VariableDeclaration", - "scope": 6351, - "src": "49751:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6335, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "49751:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "49717:51:1" - }, - "returnParameters": { - "id": 6338, - "nodeType": "ParameterList", - "parameters": [], - "src": "49783:0:1" - }, - "scope": 8146, - "src": "49705:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6373, - "nodeType": "Block", - "src": "49955:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c626f6f6c29", - "id": 6365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "49999:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d6019f1c844577cb799272d8b580ae7d31e1d26be8513d99f3a91ca8ea67c958", - "typeString": "literal_string \"log(bool,address,uint256,bool)\"" - }, - "value": "log(bool,address,uint256,bool)" - }, - { - "id": 6366, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6353, - "src": "50033:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6367, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6355, - "src": "50037:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6368, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6357, - "src": "50041:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6369, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6359, - "src": "50045:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d6019f1c844577cb799272d8b580ae7d31e1d26be8513d99f3a91ca8ea67c958", - "typeString": "literal_string \"log(bool,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6363, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "49975:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "49975:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49975:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6362, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "49959:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6371, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "49959:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6372, - "nodeType": "ExpressionStatement", - "src": "49959:90:1" - } - ] - }, - "id": 6374, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "49895:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6360, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6353, - "mutability": "mutable", - "name": "p0", - "nameLocation": "49904:2:1", - "nodeType": "VariableDeclaration", - "scope": 6374, - "src": "49899:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6352, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49899:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6355, - "mutability": "mutable", - "name": "p1", - "nameLocation": "49916:2:1", - "nodeType": "VariableDeclaration", - "scope": 6374, - "src": "49908:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6354, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "49908:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6357, - "mutability": "mutable", - "name": "p2", - "nameLocation": "49928:2:1", - "nodeType": "VariableDeclaration", - "scope": 6374, - "src": "49920:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6356, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "49920:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6359, - "mutability": "mutable", - "name": "p3", - "nameLocation": "49937:2:1", - "nodeType": "VariableDeclaration", - "scope": 6374, - "src": "49932:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6358, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "49932:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "49898:42:1" - }, - "returnParameters": { - "id": 6361, - "nodeType": "ParameterList", - "parameters": [], - "src": "49955:0:1" - }, - "scope": 8146, - "src": "49886:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6396, - "nodeType": "Block", - "src": "50128:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c75696e743235362c6164647265737329", - "id": 6388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50172:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_136b05dd56dbfa6e97805ce657954968bb4ea366eef252c9fa3aec31b1aa7ebd", - "typeString": "literal_string \"log(bool,address,uint256,address)\"" - }, - "value": "log(bool,address,uint256,address)" - }, - { - "id": 6389, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6376, - "src": "50209:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6390, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6378, - "src": "50213:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6391, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6380, - "src": "50217:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6392, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6382, - "src": "50221:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_136b05dd56dbfa6e97805ce657954968bb4ea366eef252c9fa3aec31b1aa7ebd", - "typeString": "literal_string \"log(bool,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6386, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50148:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50148:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50148:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6385, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "50132:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50132:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6395, - "nodeType": "ExpressionStatement", - "src": "50132:93:1" - } - ] - }, - "id": 6397, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50065:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6383, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6376, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50074:2:1", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "50069:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6375, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50069:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6378, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50086:2:1", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "50078:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6377, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50078:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6380, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50098:2:1", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "50090:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6379, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50090:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6382, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50110:2:1", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "50102:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50102:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50068:45:1" - }, - "returnParameters": { - "id": 6384, - "nodeType": "ParameterList", - "parameters": [], - "src": "50128:0:1" - }, - "scope": 8146, - "src": "50056:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6419, - "nodeType": "Block", - "src": "50310:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c75696e7432353629", - "id": 6411, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50354:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c21f64c781c24c69fbdf6daf185e821c3143831e9c7b3ede1933a6cffd68030d", - "typeString": "literal_string \"log(bool,address,string,uint256)\"" - }, - "value": "log(bool,address,string,uint256)" - }, - { - "id": 6412, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6399, - "src": "50390:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6413, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6401, - "src": "50394:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6414, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6403, - "src": "50398:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6415, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6405, - "src": "50402:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c21f64c781c24c69fbdf6daf185e821c3143831e9c7b3ede1933a6cffd68030d", - "typeString": "literal_string \"log(bool,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6409, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50330:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6410, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50330:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50330:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6408, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "50314:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50314:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6418, - "nodeType": "ExpressionStatement", - "src": "50314:92:1" - } - ] - }, - "id": 6420, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50241:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6406, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6399, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50250:2:1", - "nodeType": "VariableDeclaration", - "scope": 6420, - "src": "50245:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6398, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50245:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6401, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50262:2:1", - "nodeType": "VariableDeclaration", - "scope": 6420, - "src": "50254:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6400, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50254:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6403, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50280:2:1", - "nodeType": "VariableDeclaration", - "scope": 6420, - "src": "50266:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6402, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50266:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6405, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50292:2:1", - "nodeType": "VariableDeclaration", - "scope": 6420, - "src": "50284:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50284:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50244:51:1" - }, - "returnParameters": { - "id": 6407, - "nodeType": "ParameterList", - "parameters": [], - "src": "50310:0:1" - }, - "scope": 8146, - "src": "50232:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6442, - "nodeType": "Block", - "src": "50497:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c737472696e6729", - "id": 6434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50541:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - "value": "log(bool,address,string,string)" - }, - { - "id": 6435, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6422, - "src": "50576:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6436, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6424, - "src": "50580:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6437, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6426, - "src": "50584:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6438, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6428, - "src": "50588:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a73c1db639dbf1382c9113eacdf5b14a7ccd81fc001ac60393623936011bf49d", - "typeString": "literal_string \"log(bool,address,string,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6432, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50517:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50517:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6439, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50517:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6431, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "50501:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6440, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50501:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6441, - "nodeType": "ExpressionStatement", - "src": "50501:91:1" - } - ] - }, - "id": 6443, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50422:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6429, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6422, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50431:2:1", - "nodeType": "VariableDeclaration", - "scope": 6443, - "src": "50426:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6421, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50426:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6424, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50443:2:1", - "nodeType": "VariableDeclaration", - "scope": 6443, - "src": "50435:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6423, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50435:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6426, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50461:2:1", - "nodeType": "VariableDeclaration", - "scope": 6443, - "src": "50447:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6425, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50447:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6428, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50479:2:1", - "nodeType": "VariableDeclaration", - "scope": 6443, - "src": "50465:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6427, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50465:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "50425:57:1" - }, - "returnParameters": { - "id": 6430, - "nodeType": "ParameterList", - "parameters": [], - "src": "50497:0:1" - }, - "scope": 8146, - "src": "50413:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6465, - "nodeType": "Block", - "src": "50674:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c626f6f6c29", - "id": 6457, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50718:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - "value": "log(bool,address,string,bool)" - }, - { - "id": 6458, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6445, - "src": "50751:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6459, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6447, - "src": "50755:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6460, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "50759:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6461, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6451, - "src": "50763:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e2bfd60b4f6acdab0603dda631b69bf37ab7cbf71bc5953f9ed72c1f2a76f7dc", - "typeString": "literal_string \"log(bool,address,string,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6455, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50694:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50694:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50694:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6454, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "50678:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50678:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6464, - "nodeType": "ExpressionStatement", - "src": "50678:89:1" - } - ] - }, - "id": 6466, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50608:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6445, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50617:2:1", - "nodeType": "VariableDeclaration", - "scope": 6466, - "src": "50612:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6444, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50612:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6447, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50629:2:1", - "nodeType": "VariableDeclaration", - "scope": 6466, - "src": "50621:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6446, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50621:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6449, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50647:2:1", - "nodeType": "VariableDeclaration", - "scope": 6466, - "src": "50633:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6448, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50633:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6451, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50656:2:1", - "nodeType": "VariableDeclaration", - "scope": 6466, - "src": "50651:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6450, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50651:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "50611:48:1" - }, - "returnParameters": { - "id": 6453, - "nodeType": "ParameterList", - "parameters": [], - "src": "50674:0:1" - }, - "scope": 8146, - "src": "50599:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6488, - "nodeType": "Block", - "src": "50852:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c737472696e672c6164647265737329", - "id": 6480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "50896:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - "value": "log(bool,address,string,address)" - }, - { - "id": 6481, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "50932:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6482, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6470, - "src": "50936:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6483, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6472, - "src": "50940:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6484, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6474, - "src": "50944:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f7c603e9035cbc7959bb3d44ec862ddc6711eecebd67d54ceb0010f42f85654", - "typeString": "literal_string \"log(bool,address,string,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6478, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "50872:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6479, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "50872:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50872:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6477, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "50856:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "50856:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6487, - "nodeType": "ExpressionStatement", - "src": "50856:92:1" - } - ] - }, - "id": 6489, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50783:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6468, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50792:2:1", - "nodeType": "VariableDeclaration", - "scope": 6489, - "src": "50787:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6467, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50787:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6470, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50804:2:1", - "nodeType": "VariableDeclaration", - "scope": 6489, - "src": "50796:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50796:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6472, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50822:2:1", - "nodeType": "VariableDeclaration", - "scope": 6489, - "src": "50808:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6471, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "50808:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6474, - "mutability": "mutable", - "name": "p3", - "nameLocation": "50834:2:1", - "nodeType": "VariableDeclaration", - "scope": 6489, - "src": "50826:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6473, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50826:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "50786:51:1" - }, - "returnParameters": { - "id": 6476, - "nodeType": "ParameterList", - "parameters": [], - "src": "50852:0:1" - }, - "scope": 8146, - "src": "50774:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6511, - "nodeType": "Block", - "src": "51024:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c75696e7432353629", - "id": 6503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51068:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_07831502b96d5b050adbd4ca2f9d4cd011dd7a8d3e1266dadb6c832ee8e56059", - "typeString": "literal_string \"log(bool,address,bool,uint256)\"" - }, - "value": "log(bool,address,bool,uint256)" - }, - { - "id": 6504, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6491, - "src": "51102:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6505, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "51106:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6506, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6495, - "src": "51110:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6507, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6497, - "src": "51114:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_07831502b96d5b050adbd4ca2f9d4cd011dd7a8d3e1266dadb6c832ee8e56059", - "typeString": "literal_string \"log(bool,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6501, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51044:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6502, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51044:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51044:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6500, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51028:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6509, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51028:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6510, - "nodeType": "ExpressionStatement", - "src": "51028:90:1" - } - ] - }, - "id": 6512, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "50964:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6491, - "mutability": "mutable", - "name": "p0", - "nameLocation": "50973:2:1", - "nodeType": "VariableDeclaration", - "scope": 6512, - "src": "50968:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6490, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50968:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6493, - "mutability": "mutable", - "name": "p1", - "nameLocation": "50985:2:1", - "nodeType": "VariableDeclaration", - "scope": 6512, - "src": "50977:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "50977:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6495, - "mutability": "mutable", - "name": "p2", - "nameLocation": "50994:2:1", - "nodeType": "VariableDeclaration", - "scope": 6512, - "src": "50989:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6494, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "50989:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6497, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51006:2:1", - "nodeType": "VariableDeclaration", - "scope": 6512, - "src": "50998:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6496, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "50998:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "50967:42:1" - }, - "returnParameters": { - "id": 6499, - "nodeType": "ParameterList", - "parameters": [], - "src": "51024:0:1" - }, - "scope": 8146, - "src": "50955:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6534, - "nodeType": "Block", - "src": "51200:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c737472696e6729", - "id": 6526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51244:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - "value": "log(bool,address,bool,string)" - }, - { - "id": 6527, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6514, - "src": "51277:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6528, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6516, - "src": "51281:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6529, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6518, - "src": "51285:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6530, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6520, - "src": "51289:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a66cb34796065525d301a5b87b440b55f1936e34dd66e2f2039307bc4e3ea59", - "typeString": "literal_string \"log(bool,address,bool,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6524, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51220:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51220:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51220:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6523, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51204:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6532, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51204:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6533, - "nodeType": "ExpressionStatement", - "src": "51204:89:1" - } - ] - }, - "id": 6535, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51134:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6521, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6514, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51143:2:1", - "nodeType": "VariableDeclaration", - "scope": 6535, - "src": "51138:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6513, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51138:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6516, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51155:2:1", - "nodeType": "VariableDeclaration", - "scope": 6535, - "src": "51147:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6515, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51147:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6518, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51164:2:1", - "nodeType": "VariableDeclaration", - "scope": 6535, - "src": "51159:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6517, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51159:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6520, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51182:2:1", - "nodeType": "VariableDeclaration", - "scope": 6535, - "src": "51168:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6519, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51168:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51137:48:1" - }, - "returnParameters": { - "id": 6522, - "nodeType": "ParameterList", - "parameters": [], - "src": "51200:0:1" - }, - "scope": 8146, - "src": "51125:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6557, - "nodeType": "Block", - "src": "51366:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c626f6f6c29", - "id": 6549, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51410:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - "value": "log(bool,address,bool,bool)" - }, - { - "id": 6550, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6537, - "src": "51441:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6551, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6539, - "src": "51445:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6552, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6541, - "src": "51449:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6553, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6543, - "src": "51453:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6a9c478bc98300d44308882e2e0b5864f2536a2939cb77105f503738b5832577", - "typeString": "literal_string \"log(bool,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6547, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51386:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6548, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51386:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6554, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51386:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6546, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51370:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6555, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51370:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6556, - "nodeType": "ExpressionStatement", - "src": "51370:87:1" - } - ] - }, - "id": 6558, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51309:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6544, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6537, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51318:2:1", - "nodeType": "VariableDeclaration", - "scope": 6558, - "src": "51313:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6536, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51313:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6539, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51330:2:1", - "nodeType": "VariableDeclaration", - "scope": 6558, - "src": "51322:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6538, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51322:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6541, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51339:2:1", - "nodeType": "VariableDeclaration", - "scope": 6558, - "src": "51334:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6540, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51334:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6543, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51348:2:1", - "nodeType": "VariableDeclaration", - "scope": 6558, - "src": "51343:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6542, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51343:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "51312:39:1" - }, - "returnParameters": { - "id": 6545, - "nodeType": "ParameterList", - "parameters": [], - "src": "51366:0:1" - }, - "scope": 8146, - "src": "51300:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6580, - "nodeType": "Block", - "src": "51533:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c626f6f6c2c6164647265737329", - "id": 6572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51577:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - "value": "log(bool,address,bool,address)" - }, - { - "id": 6573, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6560, - "src": "51611:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6574, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6562, - "src": "51615:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6575, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6564, - "src": "51619:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6576, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6566, - "src": "51623:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1c41a336759f1c2fe1d8b137296b2dfbdcfe7114fc53f203852c2835c09f8870", - "typeString": "literal_string \"log(bool,address,bool,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6570, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51553:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51553:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6577, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51553:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6569, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51537:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6578, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51537:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6579, - "nodeType": "ExpressionStatement", - "src": "51537:90:1" - } - ] - }, - "id": 6581, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51473:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6567, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6560, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51482:2:1", - "nodeType": "VariableDeclaration", - "scope": 6581, - "src": "51477:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6559, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51477:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6562, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51494:2:1", - "nodeType": "VariableDeclaration", - "scope": 6581, - "src": "51486:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6561, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51486:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6564, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51503:2:1", - "nodeType": "VariableDeclaration", - "scope": 6581, - "src": "51498:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6563, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51498:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6566, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51515:2:1", - "nodeType": "VariableDeclaration", - "scope": 6581, - "src": "51507:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6565, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51507:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "51476:42:1" - }, - "returnParameters": { - "id": 6568, - "nodeType": "ParameterList", - "parameters": [], - "src": "51533:0:1" - }, - "scope": 8146, - "src": "51464:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6603, - "nodeType": "Block", - "src": "51706:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c75696e7432353629", - "id": 6595, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51750:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c66d1be8b80b8d96088c57d6fc12897f737822d5beb6e751a923520a0a509b8", - "typeString": "literal_string \"log(bool,address,address,uint256)\"" - }, - "value": "log(bool,address,address,uint256)" - }, - { - "id": 6596, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6583, - "src": "51787:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6597, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6585, - "src": "51791:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6598, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6587, - "src": "51795:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6599, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6589, - "src": "51799:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0c66d1be8b80b8d96088c57d6fc12897f737822d5beb6e751a923520a0a509b8", - "typeString": "literal_string \"log(bool,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6593, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51726:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6594, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51726:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51726:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6592, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51710:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51710:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6602, - "nodeType": "ExpressionStatement", - "src": "51710:93:1" - } - ] - }, - "id": 6604, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51643:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6590, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6583, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51652:2:1", - "nodeType": "VariableDeclaration", - "scope": 6604, - "src": "51647:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6582, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51647:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6585, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51664:2:1", - "nodeType": "VariableDeclaration", - "scope": 6604, - "src": "51656:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6584, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51656:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6587, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51676:2:1", - "nodeType": "VariableDeclaration", - "scope": 6604, - "src": "51668:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6586, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51668:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6589, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51688:2:1", - "nodeType": "VariableDeclaration", - "scope": 6604, - "src": "51680:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6588, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "51680:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "51646:45:1" - }, - "returnParameters": { - "id": 6591, - "nodeType": "ParameterList", - "parameters": [], - "src": "51706:0:1" - }, - "scope": 8146, - "src": "51634:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6626, - "nodeType": "Block", - "src": "51888:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c737472696e6729", - "id": 6618, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "51932:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - "value": "log(bool,address,address,string)" - }, - { - "id": 6619, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6606, - "src": "51968:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6620, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6608, - "src": "51972:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6621, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6610, - "src": "51976:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6622, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6612, - "src": "51980:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_d812a167fb7ec8cf55a11f06ff411238f0a431de331592d8a735c8c8481f7432", - "typeString": "literal_string \"log(bool,address,address,string)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6616, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "51908:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "51908:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51908:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6615, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "51892:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6624, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "51892:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6625, - "nodeType": "ExpressionStatement", - "src": "51892:92:1" - } - ] - }, - "id": 6627, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "51819:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6613, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6606, - "mutability": "mutable", - "name": "p0", - "nameLocation": "51828:2:1", - "nodeType": "VariableDeclaration", - "scope": 6627, - "src": "51823:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6605, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "51823:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6608, - "mutability": "mutable", - "name": "p1", - "nameLocation": "51840:2:1", - "nodeType": "VariableDeclaration", - "scope": 6627, - "src": "51832:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6607, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51832:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6610, - "mutability": "mutable", - "name": "p2", - "nameLocation": "51852:2:1", - "nodeType": "VariableDeclaration", - "scope": 6627, - "src": "51844:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6609, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "51844:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6612, - "mutability": "mutable", - "name": "p3", - "nameLocation": "51870:2:1", - "nodeType": "VariableDeclaration", - "scope": 6627, - "src": "51856:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6611, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "51856:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "51822:51:1" - }, - "returnParameters": { - "id": 6614, - "nodeType": "ParameterList", - "parameters": [], - "src": "51888:0:1" - }, - "scope": 8146, - "src": "51810:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6649, - "nodeType": "Block", - "src": "52060:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c626f6f6c29", - "id": 6641, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52104:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - "value": "log(bool,address,address,bool)" - }, - { - "id": 6642, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6629, - "src": "52138:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6643, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6631, - "src": "52142:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6644, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6633, - "src": "52146:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6645, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6635, - "src": "52150:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_46600be071bbf2a7e3a3cb4fd0e6efe39e86453e4c4a27c400470867be7afd9e", - "typeString": "literal_string \"log(bool,address,address,bool)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6639, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52080:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6640, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52080:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52080:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6638, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52064:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52064:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6648, - "nodeType": "ExpressionStatement", - "src": "52064:90:1" - } - ] - }, - "id": 6650, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52000:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6636, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6629, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52009:2:1", - "nodeType": "VariableDeclaration", - "scope": 6650, - "src": "52004:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6628, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52004:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6631, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52021:2:1", - "nodeType": "VariableDeclaration", - "scope": 6650, - "src": "52013:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6630, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52013:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6633, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52033:2:1", - "nodeType": "VariableDeclaration", - "scope": 6650, - "src": "52025:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6632, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52025:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6635, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52042:2:1", - "nodeType": "VariableDeclaration", - "scope": 6650, - "src": "52037:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6634, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52037:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52003:42:1" - }, - "returnParameters": { - "id": 6637, - "nodeType": "ParameterList", - "parameters": [], - "src": "52060:0:1" - }, - "scope": 8146, - "src": "51991:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6672, - "nodeType": "Block", - "src": "52233:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728626f6f6c2c616464726573732c616464726573732c6164647265737329", - "id": 6664, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52277:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - "value": "log(bool,address,address,address)" - }, - { - "id": 6665, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6652, - "src": "52314:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6666, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6654, - "src": "52318:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6667, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6656, - "src": "52322:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6668, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6658, - "src": "52326:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1d14d00189540d88098b9fe614aa8c0efbe231c1a0fee05e7d705c0342377123", - "typeString": "literal_string \"log(bool,address,address,address)\"" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6662, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52253:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52253:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6669, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52253:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6661, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52237:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52237:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6671, - "nodeType": "ExpressionStatement", - "src": "52237:93:1" - } - ] - }, - "id": 6673, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52170:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6659, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6652, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52179:2:1", - "nodeType": "VariableDeclaration", - "scope": 6673, - "src": "52174:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6651, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52174:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6654, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52191:2:1", - "nodeType": "VariableDeclaration", - "scope": 6673, - "src": "52183:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6653, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52183:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6656, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52203:2:1", - "nodeType": "VariableDeclaration", - "scope": 6673, - "src": "52195:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6655, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52195:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6658, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52215:2:1", - "nodeType": "VariableDeclaration", - "scope": 6673, - "src": "52207:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6657, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52207:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52173:45:1" - }, - "returnParameters": { - "id": 6660, - "nodeType": "ParameterList", - "parameters": [], - "src": "52233:0:1" - }, - "scope": 8146, - "src": "52161:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6695, - "nodeType": "Block", - "src": "52412:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c75696e7432353629", - "id": 6687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52456:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_34f0e636808ebabd61ce9b247c78c7a38984ab35d5f29c0bd51299288509f6d6", - "typeString": "literal_string \"log(address,uint256,uint256,uint256)\"" - }, - "value": "log(address,uint256,uint256,uint256)" - }, - { - "id": 6688, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6675, - "src": "52496:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6689, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6677, - "src": "52500:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6690, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6679, - "src": "52504:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6691, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6681, - "src": "52508:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_34f0e636808ebabd61ce9b247c78c7a38984ab35d5f29c0bd51299288509f6d6", - "typeString": "literal_string \"log(address,uint256,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6685, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52432:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6686, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52432:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52432:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6684, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52416:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6693, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52416:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6694, - "nodeType": "ExpressionStatement", - "src": "52416:96:1" - } - ] - }, - "id": 6696, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52346:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6682, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6675, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52358:2:1", - "nodeType": "VariableDeclaration", - "scope": 6696, - "src": "52350:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6674, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52350:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6677, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52370:2:1", - "nodeType": "VariableDeclaration", - "scope": 6696, - "src": "52362:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6676, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52362:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6679, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52382:2:1", - "nodeType": "VariableDeclaration", - "scope": 6696, - "src": "52374:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6678, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52374:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6681, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52394:2:1", - "nodeType": "VariableDeclaration", - "scope": 6696, - "src": "52386:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6680, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52386:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "52349:48:1" - }, - "returnParameters": { - "id": 6683, - "nodeType": "ParameterList", - "parameters": [], - "src": "52412:0:1" - }, - "scope": 8146, - "src": "52337:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6718, - "nodeType": "Block", - "src": "52600:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c737472696e6729", - "id": 6710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52644:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4a28c017e545dc04fb82dd1a46d46ba463e69e0aeff774fbced9bedd205b6cf6", - "typeString": "literal_string \"log(address,uint256,uint256,string)\"" - }, - "value": "log(address,uint256,uint256,string)" - }, - { - "id": 6711, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6698, - "src": "52683:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6712, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6700, - "src": "52687:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6713, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6702, - "src": "52691:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6714, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6704, - "src": "52695:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4a28c017e545dc04fb82dd1a46d46ba463e69e0aeff774fbced9bedd205b6cf6", - "typeString": "literal_string \"log(address,uint256,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6708, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52620:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52620:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6715, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52620:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6707, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52604:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52604:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6717, - "nodeType": "ExpressionStatement", - "src": "52604:95:1" - } - ] - }, - "id": 6719, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52528:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6698, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52540:2:1", - "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "52532:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6697, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52532:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6700, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52552:2:1", - "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "52544:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6699, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52544:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6702, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52564:2:1", - "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "52556:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6701, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52556:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6704, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52582:2:1", - "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "52568:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6703, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "52568:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "52531:54:1" - }, - "returnParameters": { - "id": 6706, - "nodeType": "ParameterList", - "parameters": [], - "src": "52600:0:1" - }, - "scope": 8146, - "src": "52519:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6741, - "nodeType": "Block", - "src": "52778:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c626f6f6c29", - "id": 6733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "52822:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_66f1bc67b5cb59260b3541ed684f0a38ab8f590dfff7947bd562de33eae3c57e", - "typeString": "literal_string \"log(address,uint256,uint256,bool)\"" - }, - "value": "log(address,uint256,uint256,bool)" - }, - { - "id": 6734, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6721, - "src": "52859:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6735, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6723, - "src": "52863:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6736, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6725, - "src": "52867:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6737, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6727, - "src": "52871:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_66f1bc67b5cb59260b3541ed684f0a38ab8f590dfff7947bd562de33eae3c57e", - "typeString": "literal_string \"log(address,uint256,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6731, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52798:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52798:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6738, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52798:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6730, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52782:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52782:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6740, - "nodeType": "ExpressionStatement", - "src": "52782:93:1" - } - ] - }, - "id": 6742, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52715:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6721, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52727:2:1", - "nodeType": "VariableDeclaration", - "scope": 6742, - "src": "52719:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52719:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6723, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52739:2:1", - "nodeType": "VariableDeclaration", - "scope": 6742, - "src": "52731:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6722, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52731:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6725, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52751:2:1", - "nodeType": "VariableDeclaration", - "scope": 6742, - "src": "52743:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6724, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52743:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6727, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52760:2:1", - "nodeType": "VariableDeclaration", - "scope": 6742, - "src": "52755:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6726, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "52755:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "52718:45:1" - }, - "returnParameters": { - "id": 6729, - "nodeType": "ParameterList", - "parameters": [], - "src": "52778:0:1" - }, - "scope": 8146, - "src": "52706:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6764, - "nodeType": "Block", - "src": "52957:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c75696e743235362c6164647265737329", - "id": 6756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53001:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_20e3984d0b91232a40a479187d959e3fb7102cd2a40a0267e07a4f648290e390", - "typeString": "literal_string \"log(address,uint256,uint256,address)\"" - }, - "value": "log(address,uint256,uint256,address)" - }, - { - "id": 6757, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6744, - "src": "53041:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6758, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6746, - "src": "53045:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6759, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6748, - "src": "53049:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6760, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6750, - "src": "53053:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_20e3984d0b91232a40a479187d959e3fb7102cd2a40a0267e07a4f648290e390", - "typeString": "literal_string \"log(address,uint256,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6754, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "52977:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "52977:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52977:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6753, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "52961:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "52961:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6763, - "nodeType": "ExpressionStatement", - "src": "52961:96:1" - } - ] - }, - "id": 6765, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "52891:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6751, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6744, - "mutability": "mutable", - "name": "p0", - "nameLocation": "52903:2:1", - "nodeType": "VariableDeclaration", - "scope": 6765, - "src": "52895:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6743, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52895:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6746, - "mutability": "mutable", - "name": "p1", - "nameLocation": "52915:2:1", - "nodeType": "VariableDeclaration", - "scope": 6765, - "src": "52907:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6745, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52907:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6748, - "mutability": "mutable", - "name": "p2", - "nameLocation": "52927:2:1", - "nodeType": "VariableDeclaration", - "scope": 6765, - "src": "52919:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "52919:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6750, - "mutability": "mutable", - "name": "p3", - "nameLocation": "52939:2:1", - "nodeType": "VariableDeclaration", - "scope": 6765, - "src": "52931:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6749, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "52931:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "52894:48:1" - }, - "returnParameters": { - "id": 6752, - "nodeType": "ParameterList", - "parameters": [], - "src": "52957:0:1" - }, - "scope": 8146, - "src": "52882:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6787, - "nodeType": "Block", - "src": "53145:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c75696e7432353629", - "id": 6779, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53189:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bf01f89152073297823dffc184d44302911f7269a4d8bb68457feda7325d0054", - "typeString": "literal_string \"log(address,uint256,string,uint256)\"" - }, - "value": "log(address,uint256,string,uint256)" - }, - { - "id": 6780, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6767, - "src": "53228:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6781, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6769, - "src": "53232:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6782, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6771, - "src": "53236:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6783, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6773, - "src": "53240:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bf01f89152073297823dffc184d44302911f7269a4d8bb68457feda7325d0054", - "typeString": "literal_string \"log(address,uint256,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6777, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53165:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6778, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53165:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6784, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53165:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6776, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "53149:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53149:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6786, - "nodeType": "ExpressionStatement", - "src": "53149:95:1" - } - ] - }, - "id": 6788, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53073:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6774, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6767, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53085:2:1", - "nodeType": "VariableDeclaration", - "scope": 6788, - "src": "53077:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6766, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53077:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6769, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53097:2:1", - "nodeType": "VariableDeclaration", - "scope": 6788, - "src": "53089:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6768, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53089:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6771, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53115:2:1", - "nodeType": "VariableDeclaration", - "scope": 6788, - "src": "53101:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6770, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53101:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6773, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53127:2:1", - "nodeType": "VariableDeclaration", - "scope": 6788, - "src": "53119:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6772, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53119:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53076:54:1" - }, - "returnParameters": { - "id": 6775, - "nodeType": "ParameterList", - "parameters": [], - "src": "53145:0:1" - }, - "scope": 8146, - "src": "53064:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6810, - "nodeType": "Block", - "src": "53338:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c737472696e6729", - "id": 6802, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53382:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_88a8c40673ee8948292248925b0e9d44ca87355f3f886942e848cf22ee50e1c9", - "typeString": "literal_string \"log(address,uint256,string,string)\"" - }, - "value": "log(address,uint256,string,string)" - }, - { - "id": 6803, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6790, - "src": "53420:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6804, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6792, - "src": "53424:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6805, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6794, - "src": "53428:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6806, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6796, - "src": "53432:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_88a8c40673ee8948292248925b0e9d44ca87355f3f886942e848cf22ee50e1c9", - "typeString": "literal_string \"log(address,uint256,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6800, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53358:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6801, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53358:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53358:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6799, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "53342:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53342:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6809, - "nodeType": "ExpressionStatement", - "src": "53342:94:1" - } - ] - }, - "id": 6811, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53260:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6797, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6790, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53272:2:1", - "nodeType": "VariableDeclaration", - "scope": 6811, - "src": "53264:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6789, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53264:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6792, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53284:2:1", - "nodeType": "VariableDeclaration", - "scope": 6811, - "src": "53276:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6791, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53276:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6794, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53302:2:1", - "nodeType": "VariableDeclaration", - "scope": 6811, - "src": "53288:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6793, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53288:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6796, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53320:2:1", - "nodeType": "VariableDeclaration", - "scope": 6811, - "src": "53306:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6795, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53306:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53263:60:1" - }, - "returnParameters": { - "id": 6798, - "nodeType": "ParameterList", - "parameters": [], - "src": "53338:0:1" - }, - "scope": 8146, - "src": "53251:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6833, - "nodeType": "Block", - "src": "53521:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c626f6f6c29", - "id": 6825, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53565:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf18105cbdc058258aaac7d4703aebeff683e464ae87b167f8bcabefd4799184", - "typeString": "literal_string \"log(address,uint256,string,bool)\"" - }, - "value": "log(address,uint256,string,bool)" - }, - { - "id": 6826, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6813, - "src": "53601:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6827, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6815, - "src": "53605:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6828, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6817, - "src": "53609:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6829, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6819, - "src": "53613:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf18105cbdc058258aaac7d4703aebeff683e464ae87b167f8bcabefd4799184", - "typeString": "literal_string \"log(address,uint256,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6823, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53541:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6824, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53541:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53541:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6822, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "53525:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53525:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6832, - "nodeType": "ExpressionStatement", - "src": "53525:92:1" - } - ] - }, - "id": 6834, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53452:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6820, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6813, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53464:2:1", - "nodeType": "VariableDeclaration", - "scope": 6834, - "src": "53456:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6812, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53456:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6815, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53476:2:1", - "nodeType": "VariableDeclaration", - "scope": 6834, - "src": "53468:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53468:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6817, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53494:2:1", - "nodeType": "VariableDeclaration", - "scope": 6834, - "src": "53480:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6816, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53480:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6819, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53503:2:1", - "nodeType": "VariableDeclaration", - "scope": 6834, - "src": "53498:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6818, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53498:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "53455:51:1" - }, - "returnParameters": { - "id": 6821, - "nodeType": "ParameterList", - "parameters": [], - "src": "53521:0:1" - }, - "scope": 8146, - "src": "53443:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6856, - "nodeType": "Block", - "src": "53705:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c737472696e672c6164647265737329", - "id": 6848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53749:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5c430d475ad8236f34d086a6aae3612106ae74c8621b8677d58f13dcda27570a", - "typeString": "literal_string \"log(address,uint256,string,address)\"" - }, - "value": "log(address,uint256,string,address)" - }, - { - "id": 6849, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6836, - "src": "53788:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6850, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6838, - "src": "53792:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6851, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6840, - "src": "53796:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 6852, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6842, - "src": "53800:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5c430d475ad8236f34d086a6aae3612106ae74c8621b8677d58f13dcda27570a", - "typeString": "literal_string \"log(address,uint256,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6846, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53725:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53725:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53725:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6845, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "53709:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6854, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53709:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6855, - "nodeType": "ExpressionStatement", - "src": "53709:95:1" - } - ] - }, - "id": 6857, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53633:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6843, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6836, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53645:2:1", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "53637:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6835, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53637:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6838, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53657:2:1", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "53649:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6837, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53649:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6840, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53675:2:1", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "53661:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6839, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "53661:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6842, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53687:2:1", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "53679:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6841, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53679:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "53636:54:1" - }, - "returnParameters": { - "id": 6844, - "nodeType": "ParameterList", - "parameters": [], - "src": "53705:0:1" - }, - "scope": 8146, - "src": "53624:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6879, - "nodeType": "Block", - "src": "53883:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c75696e7432353629", - "id": 6871, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "53927:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_22f6b999343c50207803e85ddd9e714a5457dacc91c49407b8de02bdaf889e5e", - "typeString": "literal_string \"log(address,uint256,bool,uint256)\"" - }, - "value": "log(address,uint256,bool,uint256)" - }, - { - "id": 6872, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6859, - "src": "53964:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6873, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6861, - "src": "53968:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6874, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6863, - "src": "53972:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6875, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6865, - "src": "53976:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_22f6b999343c50207803e85ddd9e714a5457dacc91c49407b8de02bdaf889e5e", - "typeString": "literal_string \"log(address,uint256,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6869, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "53903:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6870, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "53903:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6876, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53903:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6868, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "53887:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "53887:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6878, - "nodeType": "ExpressionStatement", - "src": "53887:93:1" - } - ] - }, - "id": 6880, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53820:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6866, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6859, - "mutability": "mutable", - "name": "p0", - "nameLocation": "53832:2:1", - "nodeType": "VariableDeclaration", - "scope": 6880, - "src": "53824:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6858, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "53824:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6861, - "mutability": "mutable", - "name": "p1", - "nameLocation": "53844:2:1", - "nodeType": "VariableDeclaration", - "scope": 6880, - "src": "53836:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6860, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53836:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6863, - "mutability": "mutable", - "name": "p2", - "nameLocation": "53853:2:1", - "nodeType": "VariableDeclaration", - "scope": 6880, - "src": "53848:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6862, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "53848:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6865, - "mutability": "mutable", - "name": "p3", - "nameLocation": "53865:2:1", - "nodeType": "VariableDeclaration", - "scope": 6880, - "src": "53857:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6864, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "53857:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "53823:45:1" - }, - "returnParameters": { - "id": 6867, - "nodeType": "ParameterList", - "parameters": [], - "src": "53883:0:1" - }, - "scope": 8146, - "src": "53811:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6902, - "nodeType": "Block", - "src": "54065:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c737472696e6729", - "id": 6894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54109:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5ad85f9b1e72940e5c2ff98bcaf10dac65873a2d1f60566284e5a9bba66ce0b", - "typeString": "literal_string \"log(address,uint256,bool,string)\"" - }, - "value": "log(address,uint256,bool,string)" - }, - { - "id": 6895, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6882, - "src": "54145:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6896, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6884, - "src": "54149:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6897, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6886, - "src": "54153:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6898, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6888, - "src": "54157:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5ad85f9b1e72940e5c2ff98bcaf10dac65873a2d1f60566284e5a9bba66ce0b", - "typeString": "literal_string \"log(address,uint256,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6892, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54085:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54085:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54085:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6891, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54069:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54069:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6901, - "nodeType": "ExpressionStatement", - "src": "54069:92:1" - } - ] - }, - "id": 6903, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "53996:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6889, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6882, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54008:2:1", - "nodeType": "VariableDeclaration", - "scope": 6903, - "src": "54000:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6881, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54000:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6884, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54020:2:1", - "nodeType": "VariableDeclaration", - "scope": 6903, - "src": "54012:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6883, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54012:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6886, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54029:2:1", - "nodeType": "VariableDeclaration", - "scope": 6903, - "src": "54024:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6885, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54024:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6888, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54047:2:1", - "nodeType": "VariableDeclaration", - "scope": 6903, - "src": "54033:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6887, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54033:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "53999:51:1" - }, - "returnParameters": { - "id": 6890, - "nodeType": "ParameterList", - "parameters": [], - "src": "54065:0:1" - }, - "scope": 8146, - "src": "53987:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6925, - "nodeType": "Block", - "src": "54237:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c626f6f6c29", - "id": 6917, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54281:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3bf5e5379bfb03415fbd47322e912c55a56b102cc24fbed41ca848047f460ae7", - "typeString": "literal_string \"log(address,uint256,bool,bool)\"" - }, - "value": "log(address,uint256,bool,bool)" - }, - { - "id": 6918, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6905, - "src": "54315:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6919, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6907, - "src": "54319:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6920, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6909, - "src": "54323:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6921, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6911, - "src": "54327:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3bf5e5379bfb03415fbd47322e912c55a56b102cc24fbed41ca848047f460ae7", - "typeString": "literal_string \"log(address,uint256,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 6915, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54257:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6916, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54257:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54257:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6914, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54241:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54241:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6924, - "nodeType": "ExpressionStatement", - "src": "54241:90:1" - } - ] - }, - "id": 6926, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54177:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6905, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54189:2:1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "54181:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6904, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54181:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6907, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54201:2:1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "54193:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6906, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54193:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6909, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54210:2:1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "54205:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6908, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54205:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6911, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54219:2:1", - "nodeType": "VariableDeclaration", - "scope": 6926, - "src": "54214:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6910, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54214:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54180:42:1" - }, - "returnParameters": { - "id": 6913, - "nodeType": "ParameterList", - "parameters": [], - "src": "54237:0:1" - }, - "scope": 8146, - "src": "54168:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6948, - "nodeType": "Block", - "src": "54410:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c626f6f6c2c6164647265737329", - "id": 6940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54454:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a31bfdcce87cf9e77dc577737a291feb3aa727a8fbb8205e53519527c85ff290", - "typeString": "literal_string \"log(address,uint256,bool,address)\"" - }, - "value": "log(address,uint256,bool,address)" - }, - { - "id": 6941, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6928, - "src": "54491:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6942, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6930, - "src": "54495:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6943, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6932, - "src": "54499:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 6944, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6934, - "src": "54503:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a31bfdcce87cf9e77dc577737a291feb3aa727a8fbb8205e53519527c85ff290", - "typeString": "literal_string \"log(address,uint256,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 6938, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54430:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54430:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54430:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6937, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54414:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6946, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54414:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6947, - "nodeType": "ExpressionStatement", - "src": "54414:93:1" - } - ] - }, - "id": 6949, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54347:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6935, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6928, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54359:2:1", - "nodeType": "VariableDeclaration", - "scope": 6949, - "src": "54351:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6927, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54351:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6930, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54371:2:1", - "nodeType": "VariableDeclaration", - "scope": 6949, - "src": "54363:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54363:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6932, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54380:2:1", - "nodeType": "VariableDeclaration", - "scope": 6949, - "src": "54375:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6931, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54375:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6934, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54392:2:1", - "nodeType": "VariableDeclaration", - "scope": 6949, - "src": "54384:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6933, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54384:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "54350:45:1" - }, - "returnParameters": { - "id": 6936, - "nodeType": "ParameterList", - "parameters": [], - "src": "54410:0:1" - }, - "scope": 8146, - "src": "54338:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6971, - "nodeType": "Block", - "src": "54589:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c75696e7432353629", - "id": 6963, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54633:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_100f650ebf81cb406bb4fb842e06128992c5a86986b0eab3b9e965c3254516e6", - "typeString": "literal_string \"log(address,uint256,address,uint256)\"" - }, - "value": "log(address,uint256,address,uint256)" - }, - { - "id": 6964, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6951, - "src": "54673:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6965, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6953, - "src": "54677:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6966, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6955, - "src": "54681:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6967, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6957, - "src": "54685:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_100f650ebf81cb406bb4fb842e06128992c5a86986b0eab3b9e965c3254516e6", - "typeString": "literal_string \"log(address,uint256,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 6961, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54609:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6962, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54609:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54609:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6960, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54593:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54593:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6970, - "nodeType": "ExpressionStatement", - "src": "54593:96:1" - } - ] - }, - "id": 6972, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54523:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6958, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6951, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54535:2:1", - "nodeType": "VariableDeclaration", - "scope": 6972, - "src": "54527:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54527:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6953, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54547:2:1", - "nodeType": "VariableDeclaration", - "scope": 6972, - "src": "54539:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6952, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54539:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6955, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54559:2:1", - "nodeType": "VariableDeclaration", - "scope": 6972, - "src": "54551:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6954, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54551:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6957, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54571:2:1", - "nodeType": "VariableDeclaration", - "scope": 6972, - "src": "54563:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6956, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54563:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "54526:48:1" - }, - "returnParameters": { - "id": 6959, - "nodeType": "ParameterList", - "parameters": [], - "src": "54589:0:1" - }, - "scope": 8146, - "src": "54514:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 6994, - "nodeType": "Block", - "src": "54777:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c737472696e6729", - "id": 6986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54821:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1da986ea2505037a166dd31728d673db1dd36bf0935c0201f0d23934a6acafdb", - "typeString": "literal_string \"log(address,uint256,address,string)\"" - }, - "value": "log(address,uint256,address,string)" - }, - { - "id": 6987, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6974, - "src": "54860:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6988, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6976, - "src": "54864:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 6989, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6978, - "src": "54868:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 6990, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6980, - "src": "54872:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1da986ea2505037a166dd31728d673db1dd36bf0935c0201f0d23934a6acafdb", - "typeString": "literal_string \"log(address,uint256,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 6984, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54797:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 6985, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54797:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 6991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54797:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 6983, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54781:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 6992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54781:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6993, - "nodeType": "ExpressionStatement", - "src": "54781:95:1" - } - ] - }, - "id": 6995, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54705:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6974, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54717:2:1", - "nodeType": "VariableDeclaration", - "scope": 6995, - "src": "54709:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6973, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54709:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6976, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54729:2:1", - "nodeType": "VariableDeclaration", - "scope": 6995, - "src": "54721:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6975, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54721:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6978, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54741:2:1", - "nodeType": "VariableDeclaration", - "scope": 6995, - "src": "54733:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6977, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54733:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6980, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54759:2:1", - "nodeType": "VariableDeclaration", - "scope": 6995, - "src": "54745:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6979, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "54745:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "54708:54:1" - }, - "returnParameters": { - "id": 6982, - "nodeType": "ParameterList", - "parameters": [], - "src": "54777:0:1" - }, - "scope": 8146, - "src": "54696:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7017, - "nodeType": "Block", - "src": "54955:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c626f6f6c29", - "id": 7009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "54999:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a1bcc9b3f106a0ac6ebf0cd2eda5f636e4ab1afa891b1acb460dd180f14bb322", - "typeString": "literal_string \"log(address,uint256,address,bool)\"" - }, - "value": "log(address,uint256,address,bool)" - }, - { - "id": 7010, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6997, - "src": "55036:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7011, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6999, - "src": "55040:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7012, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7001, - "src": "55044:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7013, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7003, - "src": "55048:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a1bcc9b3f106a0ac6ebf0cd2eda5f636e4ab1afa891b1acb460dd180f14bb322", - "typeString": "literal_string \"log(address,uint256,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7007, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "54975:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "54975:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54975:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7006, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "54959:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7015, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "54959:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7016, - "nodeType": "ExpressionStatement", - "src": "54959:93:1" - } - ] - }, - "id": 7018, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "54892:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7004, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6997, - "mutability": "mutable", - "name": "p0", - "nameLocation": "54904:2:1", - "nodeType": "VariableDeclaration", - "scope": 7018, - "src": "54896:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54896:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 6999, - "mutability": "mutable", - "name": "p1", - "nameLocation": "54916:2:1", - "nodeType": "VariableDeclaration", - "scope": 7018, - "src": "54908:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6998, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "54908:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7001, - "mutability": "mutable", - "name": "p2", - "nameLocation": "54928:2:1", - "nodeType": "VariableDeclaration", - "scope": 7018, - "src": "54920:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7000, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "54920:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7003, - "mutability": "mutable", - "name": "p3", - "nameLocation": "54937:2:1", - "nodeType": "VariableDeclaration", - "scope": 7018, - "src": "54932:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7002, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "54932:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "54895:45:1" - }, - "returnParameters": { - "id": 7005, - "nodeType": "ParameterList", - "parameters": [], - "src": "54955:0:1" - }, - "scope": 8146, - "src": "54883:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7040, - "nodeType": "Block", - "src": "55134:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c75696e743235362c616464726573732c6164647265737329", - "id": 7032, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55178:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_478d1c625a50f0548fbd6ce5c9463f034dc2ce146c930b3546dac402346457d4", - "typeString": "literal_string \"log(address,uint256,address,address)\"" - }, - "value": "log(address,uint256,address,address)" - }, - { - "id": 7033, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7020, - "src": "55218:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7034, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7022, - "src": "55222:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7035, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7024, - "src": "55226:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7036, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7026, - "src": "55230:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_478d1c625a50f0548fbd6ce5c9463f034dc2ce146c930b3546dac402346457d4", - "typeString": "literal_string \"log(address,uint256,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7030, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55154:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7031, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55154:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55154:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7029, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "55138:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55138:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7039, - "nodeType": "ExpressionStatement", - "src": "55138:96:1" - } - ] - }, - "id": 7041, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55068:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7027, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7020, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55080:2:1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "55072:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7019, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55072:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7022, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55092:2:1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "55084:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7021, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55084:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7024, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55104:2:1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "55096:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55096:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7026, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55116:2:1", - "nodeType": "VariableDeclaration", - "scope": 7041, - "src": "55108:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55108:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55071:48:1" - }, - "returnParameters": { - "id": 7028, - "nodeType": "ParameterList", - "parameters": [], - "src": "55134:0:1" - }, - "scope": 8146, - "src": "55059:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7063, - "nodeType": "Block", - "src": "55322:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c75696e7432353629", - "id": 7055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55366:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1dc8e1b86f5e8cc33f88f9c9577316d392566cde443e43069eebe8e56a0a0562", - "typeString": "literal_string \"log(address,string,uint256,uint256)\"" - }, - "value": "log(address,string,uint256,uint256)" - }, - { - "id": 7056, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7043, - "src": "55405:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7057, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7045, - "src": "55409:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7058, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7047, - "src": "55413:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7059, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7049, - "src": "55417:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_1dc8e1b86f5e8cc33f88f9c9577316d392566cde443e43069eebe8e56a0a0562", - "typeString": "literal_string \"log(address,string,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7053, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55342:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7054, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55342:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55342:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7052, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "55326:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7061, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55326:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7062, - "nodeType": "ExpressionStatement", - "src": "55326:95:1" - } - ] - }, - "id": 7064, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55250:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7043, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55262:2:1", - "nodeType": "VariableDeclaration", - "scope": 7064, - "src": "55254:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7042, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55254:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7045, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55280:2:1", - "nodeType": "VariableDeclaration", - "scope": 7064, - "src": "55266:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7044, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55266:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7047, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55292:2:1", - "nodeType": "VariableDeclaration", - "scope": 7064, - "src": "55284:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7046, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55284:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7049, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55304:2:1", - "nodeType": "VariableDeclaration", - "scope": 7064, - "src": "55296:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7048, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55296:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "55253:54:1" - }, - "returnParameters": { - "id": 7051, - "nodeType": "ParameterList", - "parameters": [], - "src": "55322:0:1" - }, - "scope": 8146, - "src": "55241:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7086, - "nodeType": "Block", - "src": "55515:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c737472696e6729", - "id": 7078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55559:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_448830a8c1281c2ef562207eb8a81eaf8ce3a05f5db2e480f1a7741f740725d3", - "typeString": "literal_string \"log(address,string,uint256,string)\"" - }, - "value": "log(address,string,uint256,string)" - }, - { - "id": 7079, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7066, - "src": "55597:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7080, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7068, - "src": "55601:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7081, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7070, - "src": "55605:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7082, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7072, - "src": "55609:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_448830a8c1281c2ef562207eb8a81eaf8ce3a05f5db2e480f1a7741f740725d3", - "typeString": "literal_string \"log(address,string,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7076, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55535:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55535:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55535:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7075, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "55519:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7084, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55519:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7085, - "nodeType": "ExpressionStatement", - "src": "55519:94:1" - } - ] - }, - "id": 7087, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55437:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7073, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7066, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55449:2:1", - "nodeType": "VariableDeclaration", - "scope": 7087, - "src": "55441:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7065, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55441:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7068, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55467:2:1", - "nodeType": "VariableDeclaration", - "scope": 7087, - "src": "55453:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7067, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55453:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7070, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55479:2:1", - "nodeType": "VariableDeclaration", - "scope": 7087, - "src": "55471:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7069, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55471:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7072, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55497:2:1", - "nodeType": "VariableDeclaration", - "scope": 7087, - "src": "55483:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7071, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55483:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "55440:60:1" - }, - "returnParameters": { - "id": 7074, - "nodeType": "ParameterList", - "parameters": [], - "src": "55515:0:1" - }, - "scope": 8146, - "src": "55428:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7109, - "nodeType": "Block", - "src": "55698:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c626f6f6c29", - "id": 7101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55742:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0ef7e050655c297a96024e476b2cd79b6c7fd3efbcd797a5d2723a888114ada4", - "typeString": "literal_string \"log(address,string,uint256,bool)\"" - }, - "value": "log(address,string,uint256,bool)" - }, - { - "id": 7102, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7089, - "src": "55778:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7103, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7091, - "src": "55782:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7104, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7093, - "src": "55786:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7105, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7095, - "src": "55790:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0ef7e050655c297a96024e476b2cd79b6c7fd3efbcd797a5d2723a888114ada4", - "typeString": "literal_string \"log(address,string,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7099, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55718:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55718:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55718:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7098, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "55702:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55702:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7108, - "nodeType": "ExpressionStatement", - "src": "55702:92:1" - } - ] - }, - "id": 7110, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55629:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7096, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7089, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55641:2:1", - "nodeType": "VariableDeclaration", - "scope": 7110, - "src": "55633:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7088, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55633:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7091, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55659:2:1", - "nodeType": "VariableDeclaration", - "scope": 7110, - "src": "55645:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7090, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55645:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7093, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55671:2:1", - "nodeType": "VariableDeclaration", - "scope": 7110, - "src": "55663:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55663:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7095, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55680:2:1", - "nodeType": "VariableDeclaration", - "scope": 7110, - "src": "55675:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7094, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "55675:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "55632:51:1" - }, - "returnParameters": { - "id": 7097, - "nodeType": "ParameterList", - "parameters": [], - "src": "55698:0:1" - }, - "scope": 8146, - "src": "55620:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7132, - "nodeType": "Block", - "src": "55882:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c75696e743235362c6164647265737329", - "id": 7124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "55926:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_631836789e813227d6b1cf492359a1dbdd837663758bd3e55e319e4a730f0a18", - "typeString": "literal_string \"log(address,string,uint256,address)\"" - }, - "value": "log(address,string,uint256,address)" - }, - { - "id": 7125, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7112, - "src": "55965:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7126, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7114, - "src": "55969:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7127, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7116, - "src": "55973:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7128, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7118, - "src": "55977:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_631836789e813227d6b1cf492359a1dbdd837663758bd3e55e319e4a730f0a18", - "typeString": "literal_string \"log(address,string,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7122, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "55902:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7123, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "55902:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55902:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7121, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "55886:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "55886:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7131, - "nodeType": "ExpressionStatement", - "src": "55886:95:1" - } - ] - }, - "id": 7133, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55810:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7119, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7112, - "mutability": "mutable", - "name": "p0", - "nameLocation": "55822:2:1", - "nodeType": "VariableDeclaration", - "scope": 7133, - "src": "55814:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7111, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55814:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7114, - "mutability": "mutable", - "name": "p1", - "nameLocation": "55840:2:1", - "nodeType": "VariableDeclaration", - "scope": 7133, - "src": "55826:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7113, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "55826:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7116, - "mutability": "mutable", - "name": "p2", - "nameLocation": "55852:2:1", - "nodeType": "VariableDeclaration", - "scope": 7133, - "src": "55844:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7115, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "55844:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7118, - "mutability": "mutable", - "name": "p3", - "nameLocation": "55864:2:1", - "nodeType": "VariableDeclaration", - "scope": 7133, - "src": "55856:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7117, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "55856:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "55813:54:1" - }, - "returnParameters": { - "id": 7120, - "nodeType": "ParameterList", - "parameters": [], - "src": "55882:0:1" - }, - "scope": 8146, - "src": "55801:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7155, - "nodeType": "Block", - "src": "56075:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c75696e7432353629", - "id": 7147, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56119:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_159f89272dbf40436b74fcc844c992c1f5cc6a7cc05a9db80782be1a20a8f265", - "typeString": "literal_string \"log(address,string,string,uint256)\"" - }, - "value": "log(address,string,string,uint256)" - }, - { - "id": 7148, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7135, - "src": "56157:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7149, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7137, - "src": "56161:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7150, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7139, - "src": "56165:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7151, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7141, - "src": "56169:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_159f89272dbf40436b74fcc844c992c1f5cc6a7cc05a9db80782be1a20a8f265", - "typeString": "literal_string \"log(address,string,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7145, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56095:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56095:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7152, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56095:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7144, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "56079:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56079:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7154, - "nodeType": "ExpressionStatement", - "src": "56079:94:1" - } - ] - }, - "id": 7156, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "55997:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7142, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7135, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56009:2:1", - "nodeType": "VariableDeclaration", - "scope": 7156, - "src": "56001:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7134, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56001:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7137, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56027:2:1", - "nodeType": "VariableDeclaration", - "scope": 7156, - "src": "56013:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7136, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56013:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7139, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56045:2:1", - "nodeType": "VariableDeclaration", - "scope": 7156, - "src": "56031:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7138, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56031:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7141, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56057:2:1", - "nodeType": "VariableDeclaration", - "scope": 7156, - "src": "56049:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7140, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56049:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56000:60:1" - }, - "returnParameters": { - "id": 7143, - "nodeType": "ParameterList", - "parameters": [], - "src": "56075:0:1" - }, - "scope": 8146, - "src": "55988:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7178, - "nodeType": "Block", - "src": "56273:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c737472696e6729", - "id": 7170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56317:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - "value": "log(address,string,string,string)" - }, - { - "id": 7171, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7158, - "src": "56354:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7172, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7160, - "src": "56358:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7173, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7162, - "src": "56362:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7174, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7164, - "src": "56366:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5d02c50b371ad9a1f5c638dc99b5e9b545011f148f0be5233c530a4b2a12665c", - "typeString": "literal_string \"log(address,string,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7168, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56293:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56293:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7175, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56293:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7167, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "56277:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56277:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7177, - "nodeType": "ExpressionStatement", - "src": "56277:93:1" - } - ] - }, - "id": 7179, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56189:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7165, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7158, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56201:2:1", - "nodeType": "VariableDeclaration", - "scope": 7179, - "src": "56193:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7157, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56193:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7160, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56219:2:1", - "nodeType": "VariableDeclaration", - "scope": 7179, - "src": "56205:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7159, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56205:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7162, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56237:2:1", - "nodeType": "VariableDeclaration", - "scope": 7179, - "src": "56223:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7161, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56223:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7164, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56255:2:1", - "nodeType": "VariableDeclaration", - "scope": 7179, - "src": "56241:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7163, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56241:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56192:66:1" - }, - "returnParameters": { - "id": 7166, - "nodeType": "ParameterList", - "parameters": [], - "src": "56273:0:1" - }, - "scope": 8146, - "src": "56180:194:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7201, - "nodeType": "Block", - "src": "56461:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c626f6f6c29", - "id": 7193, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56505:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - "value": "log(address,string,string,bool)" - }, - { - "id": 7194, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7181, - "src": "56540:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7195, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7183, - "src": "56544:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7196, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7185, - "src": "56548:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7197, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7187, - "src": "56552:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_35a5071fa9f4610e50772083182f21e949e7a02301a3936e315dd1c4fc39a9ed", - "typeString": "literal_string \"log(address,string,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7191, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56481:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56481:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7198, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56481:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7190, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "56465:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56465:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7200, - "nodeType": "ExpressionStatement", - "src": "56465:91:1" - } - ] - }, - "id": 7202, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56386:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7188, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7181, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56398:2:1", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "56390:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7180, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56390:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7183, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56416:2:1", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "56402:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7182, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56402:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7185, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56434:2:1", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "56420:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56420:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7187, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56443:2:1", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "56438:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7186, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56438:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "56389:57:1" - }, - "returnParameters": { - "id": 7189, - "nodeType": "ParameterList", - "parameters": [], - "src": "56461:0:1" - }, - "scope": 8146, - "src": "56377:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7224, - "nodeType": "Block", - "src": "56650:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c737472696e672c6164647265737329", - "id": 7216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56694:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - "value": "log(address,string,string,address)" - }, - { - "id": 7217, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7204, - "src": "56732:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7218, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7206, - "src": "56736:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7219, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7208, - "src": "56740:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7220, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7210, - "src": "56744:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a04e2f87a739673cc9223810c24b00b35c6b2c9f3ef123cc82866752e1fa816f", - "typeString": "literal_string \"log(address,string,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7214, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56670:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56670:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56670:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7213, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "56654:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56654:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7223, - "nodeType": "ExpressionStatement", - "src": "56654:94:1" - } - ] - }, - "id": 7225, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56572:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7211, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7204, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56584:2:1", - "nodeType": "VariableDeclaration", - "scope": 7225, - "src": "56576:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56576:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7206, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56602:2:1", - "nodeType": "VariableDeclaration", - "scope": 7225, - "src": "56588:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7205, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56588:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7208, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56620:2:1", - "nodeType": "VariableDeclaration", - "scope": 7225, - "src": "56606:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7207, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56606:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7210, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56632:2:1", - "nodeType": "VariableDeclaration", - "scope": 7225, - "src": "56624:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7209, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56624:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "56575:60:1" - }, - "returnParameters": { - "id": 7212, - "nodeType": "ParameterList", - "parameters": [], - "src": "56650:0:1" - }, - "scope": 8146, - "src": "56563:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7247, - "nodeType": "Block", - "src": "56833:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c75696e7432353629", - "id": 7239, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "56877:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_515e38b61b40d622a4c0448953be005b3991f6a70155c59b5dca42a264aa0345", - "typeString": "literal_string \"log(address,string,bool,uint256)\"" - }, - "value": "log(address,string,bool,uint256)" - }, - { - "id": 7240, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7227, - "src": "56913:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7241, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7229, - "src": "56917:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7242, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7231, - "src": "56921:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7243, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7233, - "src": "56925:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_515e38b61b40d622a4c0448953be005b3991f6a70155c59b5dca42a264aa0345", - "typeString": "literal_string \"log(address,string,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7237, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "56853:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7238, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "56853:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7244, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56853:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7236, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "56837:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7245, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "56837:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7246, - "nodeType": "ExpressionStatement", - "src": "56837:92:1" - } - ] - }, - "id": 7248, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56764:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7227, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56776:2:1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "56768:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7226, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56768:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7229, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56794:2:1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "56780:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7228, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56780:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7231, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56803:2:1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "56798:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7230, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56798:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7233, - "mutability": "mutable", - "name": "p3", - "nameLocation": "56815:2:1", - "nodeType": "VariableDeclaration", - "scope": 7248, - "src": "56807:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7232, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "56807:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "56767:51:1" - }, - "returnParameters": { - "id": 7235, - "nodeType": "ParameterList", - "parameters": [], - "src": "56833:0:1" - }, - "scope": 8146, - "src": "56755:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7270, - "nodeType": "Block", - "src": "57020:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c737472696e6729", - "id": 7262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57064:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - "value": "log(address,string,bool,string)" - }, - { - "id": 7263, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7250, - "src": "57099:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7264, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7252, - "src": "57103:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7265, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7254, - "src": "57107:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7266, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7256, - "src": "57111:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_bc0b61fe9497b47eb6a51a5a6a4bf26b32ddcbc9407ccae8cc7de64b3e3d84cc", - "typeString": "literal_string \"log(address,string,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7260, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57040:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7261, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57040:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57040:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7259, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57024:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7268, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57024:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7269, - "nodeType": "ExpressionStatement", - "src": "57024:91:1" - } - ] - }, - "id": 7271, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "56945:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7257, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7250, - "mutability": "mutable", - "name": "p0", - "nameLocation": "56957:2:1", - "nodeType": "VariableDeclaration", - "scope": 7271, - "src": "56949:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7249, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "56949:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7252, - "mutability": "mutable", - "name": "p1", - "nameLocation": "56975:2:1", - "nodeType": "VariableDeclaration", - "scope": 7271, - "src": "56961:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7251, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56961:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7254, - "mutability": "mutable", - "name": "p2", - "nameLocation": "56984:2:1", - "nodeType": "VariableDeclaration", - "scope": 7271, - "src": "56979:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7253, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "56979:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7256, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57002:2:1", - "nodeType": "VariableDeclaration", - "scope": 7271, - "src": "56988:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7255, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "56988:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "56948:57:1" - }, - "returnParameters": { - "id": 7258, - "nodeType": "ParameterList", - "parameters": [], - "src": "57020:0:1" - }, - "scope": 8146, - "src": "56936:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7293, - "nodeType": "Block", - "src": "57197:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c626f6f6c29", - "id": 7285, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57241:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - "value": "log(address,string,bool,bool)" - }, - { - "id": 7286, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7273, - "src": "57274:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7287, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7275, - "src": "57278:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7288, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7277, - "src": "57282:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7289, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7279, - "src": "57286:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_5f1d5c9f0de8c048364058d1d6842804ada33dbc34bf9eaff8f2be978f384e08", - "typeString": "literal_string \"log(address,string,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7283, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57217:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7284, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57217:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57217:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7282, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57201:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57201:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7292, - "nodeType": "ExpressionStatement", - "src": "57201:89:1" - } - ] - }, - "id": 7294, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57131:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7280, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7273, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57143:2:1", - "nodeType": "VariableDeclaration", - "scope": 7294, - "src": "57135:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7272, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57135:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7275, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57161:2:1", - "nodeType": "VariableDeclaration", - "scope": 7294, - "src": "57147:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7274, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57147:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7277, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57170:2:1", - "nodeType": "VariableDeclaration", - "scope": 7294, - "src": "57165:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7276, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57165:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7279, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57179:2:1", - "nodeType": "VariableDeclaration", - "scope": 7294, - "src": "57174:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7278, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57174:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57134:48:1" - }, - "returnParameters": { - "id": 7281, - "nodeType": "ParameterList", - "parameters": [], - "src": "57197:0:1" - }, - "scope": 8146, - "src": "57122:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7316, - "nodeType": "Block", - "src": "57375:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c626f6f6c2c6164647265737329", - "id": 7308, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57419:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - "value": "log(address,string,bool,address)" - }, - { - "id": 7309, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7296, - "src": "57455:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7310, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7298, - "src": "57459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7311, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7300, - "src": "57463:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7312, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7302, - "src": "57467:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_205871c2f2d320acdd350939b5fc035cc20b1a9cc058fb26f1c9fb3d2ba59970", - "typeString": "literal_string \"log(address,string,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7306, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57395:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7307, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57395:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57395:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7305, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57379:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7314, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57379:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7315, - "nodeType": "ExpressionStatement", - "src": "57379:92:1" - } - ] - }, - "id": 7317, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57306:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7303, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7296, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57318:2:1", - "nodeType": "VariableDeclaration", - "scope": 7317, - "src": "57310:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7295, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57310:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7298, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57336:2:1", - "nodeType": "VariableDeclaration", - "scope": 7317, - "src": "57322:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7297, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57322:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7300, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57345:2:1", - "nodeType": "VariableDeclaration", - "scope": 7317, - "src": "57340:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7299, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57340:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7302, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57357:2:1", - "nodeType": "VariableDeclaration", - "scope": 7317, - "src": "57349:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7301, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57349:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "57309:51:1" - }, - "returnParameters": { - "id": 7304, - "nodeType": "ParameterList", - "parameters": [], - "src": "57375:0:1" - }, - "scope": 8146, - "src": "57297:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7339, - "nodeType": "Block", - "src": "57559:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c75696e7432353629", - "id": 7331, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57603:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_457fe3cf7da0d45ce051e53ef9adc21213d4d7779b5a0fadf99dea432be4beb7", - "typeString": "literal_string \"log(address,string,address,uint256)\"" - }, - "value": "log(address,string,address,uint256)" - }, - { - "id": 7332, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7319, - "src": "57642:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7333, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7321, - "src": "57646:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7334, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7323, - "src": "57650:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7335, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7325, - "src": "57654:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_457fe3cf7da0d45ce051e53ef9adc21213d4d7779b5a0fadf99dea432be4beb7", - "typeString": "literal_string \"log(address,string,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7329, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57579:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57579:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57579:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7328, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57563:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57563:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7338, - "nodeType": "ExpressionStatement", - "src": "57563:95:1" - } - ] - }, - "id": 7340, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57487:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7326, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7319, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57499:2:1", - "nodeType": "VariableDeclaration", - "scope": 7340, - "src": "57491:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7318, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57491:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7321, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57517:2:1", - "nodeType": "VariableDeclaration", - "scope": 7340, - "src": "57503:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7320, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57503:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7323, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57529:2:1", - "nodeType": "VariableDeclaration", - "scope": 7340, - "src": "57521:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7322, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57521:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7325, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57541:2:1", - "nodeType": "VariableDeclaration", - "scope": 7340, - "src": "57533:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7324, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "57533:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "57490:54:1" - }, - "returnParameters": { - "id": 7327, - "nodeType": "ParameterList", - "parameters": [], - "src": "57559:0:1" - }, - "scope": 8146, - "src": "57478:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7362, - "nodeType": "Block", - "src": "57752:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c737472696e6729", - "id": 7354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57796:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - "value": "log(address,string,address,string)" - }, - { - "id": 7355, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7342, - "src": "57834:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7356, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7344, - "src": "57838:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7357, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7346, - "src": "57842:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7358, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7348, - "src": "57846:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f7e3624510fc5618feb98a49f5d4404e3749dacbdc916c267fea7b2051a08dea", - "typeString": "literal_string \"log(address,string,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7352, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57772:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57772:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57772:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7351, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57756:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57756:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7361, - "nodeType": "ExpressionStatement", - "src": "57756:94:1" - } - ] - }, - "id": 7363, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57674:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7349, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7342, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57686:2:1", - "nodeType": "VariableDeclaration", - "scope": 7363, - "src": "57678:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7341, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57678:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7344, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57704:2:1", - "nodeType": "VariableDeclaration", - "scope": 7363, - "src": "57690:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7343, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57690:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7346, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57716:2:1", - "nodeType": "VariableDeclaration", - "scope": 7363, - "src": "57708:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57708:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7348, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57734:2:1", - "nodeType": "VariableDeclaration", - "scope": 7363, - "src": "57720:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7347, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57720:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "57677:60:1" - }, - "returnParameters": { - "id": 7350, - "nodeType": "ParameterList", - "parameters": [], - "src": "57752:0:1" - }, - "scope": 8146, - "src": "57665:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7385, - "nodeType": "Block", - "src": "57935:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c626f6f6c29", - "id": 7377, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "57979:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - "value": "log(address,string,address,bool)" - }, - { - "id": 7378, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7365, - "src": "58015:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7379, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7367, - "src": "58019:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7380, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7369, - "src": "58023:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7381, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7371, - "src": "58027:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0df12b7620e0bad204ac79fe9930fef9b9a40702161764a681594d50d657b081", - "typeString": "literal_string \"log(address,string,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7375, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "57955:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "57955:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57955:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7374, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "57939:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "57939:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7384, - "nodeType": "ExpressionStatement", - "src": "57939:92:1" - } - ] - }, - "id": 7386, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "57866:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7372, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7365, - "mutability": "mutable", - "name": "p0", - "nameLocation": "57878:2:1", - "nodeType": "VariableDeclaration", - "scope": 7386, - "src": "57870:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7364, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57870:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7367, - "mutability": "mutable", - "name": "p1", - "nameLocation": "57896:2:1", - "nodeType": "VariableDeclaration", - "scope": 7386, - "src": "57882:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7366, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "57882:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7369, - "mutability": "mutable", - "name": "p2", - "nameLocation": "57908:2:1", - "nodeType": "VariableDeclaration", - "scope": 7386, - "src": "57900:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7368, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "57900:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7371, - "mutability": "mutable", - "name": "p3", - "nameLocation": "57917:2:1", - "nodeType": "VariableDeclaration", - "scope": 7386, - "src": "57912:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7370, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "57912:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "57869:51:1" - }, - "returnParameters": { - "id": 7373, - "nodeType": "ParameterList", - "parameters": [], - "src": "57935:0:1" - }, - "scope": 8146, - "src": "57857:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7408, - "nodeType": "Block", - "src": "58119:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c737472696e672c616464726573732c6164647265737329", - "id": 7400, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58163:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - "value": "log(address,string,address,address)" - }, - { - "id": 7401, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7388, - "src": "58202:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7402, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7390, - "src": "58206:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7403, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7392, - "src": "58210:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7404, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7394, - "src": "58214:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0d36fa2022fafb45586a59914be3ad4c57b76e89535385dcff89c28c80605121", - "typeString": "literal_string \"log(address,string,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7398, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58139:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7399, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58139:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58139:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7397, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "58123:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58123:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7407, - "nodeType": "ExpressionStatement", - "src": "58123:95:1" - } - ] - }, - "id": 7409, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58047:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7388, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58059:2:1", - "nodeType": "VariableDeclaration", - "scope": 7409, - "src": "58051:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7387, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58051:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7390, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58077:2:1", - "nodeType": "VariableDeclaration", - "scope": 7409, - "src": "58063:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7389, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58063:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7392, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58089:2:1", - "nodeType": "VariableDeclaration", - "scope": 7409, - "src": "58081:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7391, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58081:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7394, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58101:2:1", - "nodeType": "VariableDeclaration", - "scope": 7409, - "src": "58093:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7393, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58093:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58050:54:1" - }, - "returnParameters": { - "id": 7396, - "nodeType": "ParameterList", - "parameters": [], - "src": "58119:0:1" - }, - "scope": 8146, - "src": "58038:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7431, - "nodeType": "Block", - "src": "58297:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c75696e7432353629", - "id": 7423, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58341:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_386ff5f4530ea008cf639214e5b8a55077ec58314989bc72a4ee1f3ffe9617a4", - "typeString": "literal_string \"log(address,bool,uint256,uint256)\"" - }, - "value": "log(address,bool,uint256,uint256)" - }, - { - "id": 7424, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7411, - "src": "58378:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7425, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7413, - "src": "58382:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7426, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7415, - "src": "58386:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7427, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7417, - "src": "58390:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_386ff5f4530ea008cf639214e5b8a55077ec58314989bc72a4ee1f3ffe9617a4", - "typeString": "literal_string \"log(address,bool,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58317:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58317:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58317:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7420, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "58301:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58301:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7430, - "nodeType": "ExpressionStatement", - "src": "58301:93:1" - } - ] - }, - "id": 7432, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58234:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7411, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58246:2:1", - "nodeType": "VariableDeclaration", - "scope": 7432, - "src": "58238:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7410, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58238:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7413, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58255:2:1", - "nodeType": "VariableDeclaration", - "scope": 7432, - "src": "58250:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7412, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58250:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7415, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58267:2:1", - "nodeType": "VariableDeclaration", - "scope": 7432, - "src": "58259:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7414, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58259:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7417, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58279:2:1", - "nodeType": "VariableDeclaration", - "scope": 7432, - "src": "58271:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7416, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58271:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58237:45:1" - }, - "returnParameters": { - "id": 7419, - "nodeType": "ParameterList", - "parameters": [], - "src": "58297:0:1" - }, - "scope": 8146, - "src": "58225:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7454, - "nodeType": "Block", - "src": "58479:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c737472696e6729", - "id": 7446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58523:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0aa6cfad2c268cd387390ada6d4a75b3aa3e38d6511517eb59fcd07a90f9c283", - "typeString": "literal_string \"log(address,bool,uint256,string)\"" - }, - "value": "log(address,bool,uint256,string)" - }, - { - "id": 7447, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7434, - "src": "58559:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7448, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7436, - "src": "58563:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7449, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7438, - "src": "58567:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7450, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7440, - "src": "58571:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0aa6cfad2c268cd387390ada6d4a75b3aa3e38d6511517eb59fcd07a90f9c283", - "typeString": "literal_string \"log(address,bool,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58499:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58499:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7451, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58499:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7443, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "58483:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7452, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58483:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7453, - "nodeType": "ExpressionStatement", - "src": "58483:92:1" - } - ] - }, - "id": 7455, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58410:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7434, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58422:2:1", - "nodeType": "VariableDeclaration", - "scope": 7455, - "src": "58414:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7433, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58414:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7436, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58431:2:1", - "nodeType": "VariableDeclaration", - "scope": 7455, - "src": "58426:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7435, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58426:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7438, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58443:2:1", - "nodeType": "VariableDeclaration", - "scope": 7455, - "src": "58435:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7437, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58435:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7440, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58461:2:1", - "nodeType": "VariableDeclaration", - "scope": 7455, - "src": "58447:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7439, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58447:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "58413:51:1" - }, - "returnParameters": { - "id": 7442, - "nodeType": "ParameterList", - "parameters": [], - "src": "58479:0:1" - }, - "scope": 8146, - "src": "58401:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7477, - "nodeType": "Block", - "src": "58651:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c626f6f6c29", - "id": 7469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58695:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c4643e20494ddb98fe78bc587bcecbcc7db255edcee8232992e8be9b00c4713c", - "typeString": "literal_string \"log(address,bool,uint256,bool)\"" - }, - "value": "log(address,bool,uint256,bool)" - }, - { - "id": 7470, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7457, - "src": "58729:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7471, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7459, - "src": "58733:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7472, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7461, - "src": "58737:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7473, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7463, - "src": "58741:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c4643e20494ddb98fe78bc587bcecbcc7db255edcee8232992e8be9b00c4713c", - "typeString": "literal_string \"log(address,bool,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7467, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58671:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7468, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58671:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7474, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58671:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7466, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "58655:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58655:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7476, - "nodeType": "ExpressionStatement", - "src": "58655:90:1" - } - ] - }, - "id": 7478, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58591:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7457, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58603:2:1", - "nodeType": "VariableDeclaration", - "scope": 7478, - "src": "58595:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7456, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58595:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7459, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58612:2:1", - "nodeType": "VariableDeclaration", - "scope": 7478, - "src": "58607:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7458, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58607:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7461, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58624:2:1", - "nodeType": "VariableDeclaration", - "scope": 7478, - "src": "58616:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7460, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58616:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7463, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58633:2:1", - "nodeType": "VariableDeclaration", - "scope": 7478, - "src": "58628:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7462, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58628:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "58594:42:1" - }, - "returnParameters": { - "id": 7465, - "nodeType": "ParameterList", - "parameters": [], - "src": "58651:0:1" - }, - "scope": 8146, - "src": "58582:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7500, - "nodeType": "Block", - "src": "58824:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c75696e743235362c6164647265737329", - "id": 7492, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "58868:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ccf790a175b1b762ef5bfd3564f0b74c078f15eca08b8ee654a38a96a5ad2aee", - "typeString": "literal_string \"log(address,bool,uint256,address)\"" - }, - "value": "log(address,bool,uint256,address)" - }, - { - "id": 7493, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7480, - "src": "58905:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7494, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7482, - "src": "58909:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7495, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7484, - "src": "58913:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7496, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7486, - "src": "58917:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ccf790a175b1b762ef5bfd3564f0b74c078f15eca08b8ee654a38a96a5ad2aee", - "typeString": "literal_string \"log(address,bool,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7490, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "58844:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7491, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "58844:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7497, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58844:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7489, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "58828:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "58828:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7499, - "nodeType": "ExpressionStatement", - "src": "58828:93:1" - } - ] - }, - "id": 7501, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58761:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7487, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7480, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58773:2:1", - "nodeType": "VariableDeclaration", - "scope": 7501, - "src": "58765:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58765:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7482, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58782:2:1", - "nodeType": "VariableDeclaration", - "scope": 7501, - "src": "58777:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58777:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7484, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58794:2:1", - "nodeType": "VariableDeclaration", - "scope": 7501, - "src": "58786:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7483, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58786:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7486, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58806:2:1", - "nodeType": "VariableDeclaration", - "scope": 7501, - "src": "58798:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7485, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58798:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "58764:45:1" - }, - "returnParameters": { - "id": 7488, - "nodeType": "ParameterList", - "parameters": [], - "src": "58824:0:1" - }, - "scope": 8146, - "src": "58752:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7523, - "nodeType": "Block", - "src": "59006:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c75696e7432353629", - "id": 7515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59050:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_80e6a20b48643c1f2494eae694f173a69e42da349d0e193e48fece80e869df69", - "typeString": "literal_string \"log(address,bool,string,uint256)\"" - }, - "value": "log(address,bool,string,uint256)" - }, - { - "id": 7516, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7503, - "src": "59086:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7517, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7505, - "src": "59090:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7518, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7507, - "src": "59094:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7519, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7509, - "src": "59098:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_80e6a20b48643c1f2494eae694f173a69e42da349d0e193e48fece80e869df69", - "typeString": "literal_string \"log(address,bool,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7513, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59026:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7514, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59026:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59026:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7512, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59010:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59010:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7522, - "nodeType": "ExpressionStatement", - "src": "59010:92:1" - } - ] - }, - "id": 7524, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "58937:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7510, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7503, - "mutability": "mutable", - "name": "p0", - "nameLocation": "58949:2:1", - "nodeType": "VariableDeclaration", - "scope": 7524, - "src": "58941:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "58941:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7505, - "mutability": "mutable", - "name": "p1", - "nameLocation": "58958:2:1", - "nodeType": "VariableDeclaration", - "scope": 7524, - "src": "58953:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7504, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "58953:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7507, - "mutability": "mutable", - "name": "p2", - "nameLocation": "58976:2:1", - "nodeType": "VariableDeclaration", - "scope": 7524, - "src": "58962:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7506, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "58962:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7509, - "mutability": "mutable", - "name": "p3", - "nameLocation": "58988:2:1", - "nodeType": "VariableDeclaration", - "scope": 7524, - "src": "58980:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7508, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "58980:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "58940:51:1" - }, - "returnParameters": { - "id": 7511, - "nodeType": "ParameterList", - "parameters": [], - "src": "59006:0:1" - }, - "scope": 8146, - "src": "58928:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7546, - "nodeType": "Block", - "src": "59193:99:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c737472696e6729", - "id": 7538, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59237:33:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - "value": "log(address,bool,string,string)" - }, - { - "id": 7539, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7526, - "src": "59272:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7540, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7528, - "src": "59276:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7541, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7530, - "src": "59280:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7542, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7532, - "src": "59284:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_475c5c33f91155b7a0e86c9fac7985c60ab58f4bfb411ee9b31d994a7fc95d1f", - "typeString": "literal_string \"log(address,bool,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7536, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59213:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59213:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7543, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59213:74:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7535, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59197:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7544, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59197:91:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7545, - "nodeType": "ExpressionStatement", - "src": "59197:91:1" - } - ] - }, - "id": 7547, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59118:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7533, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7526, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59130:2:1", - "nodeType": "VariableDeclaration", - "scope": 7547, - "src": "59122:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7525, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59122:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7528, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59139:2:1", - "nodeType": "VariableDeclaration", - "scope": 7547, - "src": "59134:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7527, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59134:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7530, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59157:2:1", - "nodeType": "VariableDeclaration", - "scope": 7547, - "src": "59143:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7529, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59143:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7532, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59175:2:1", - "nodeType": "VariableDeclaration", - "scope": 7547, - "src": "59161:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7531, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59161:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59121:57:1" - }, - "returnParameters": { - "id": 7534, - "nodeType": "ParameterList", - "parameters": [], - "src": "59193:0:1" - }, - "scope": 8146, - "src": "59109:183:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7569, - "nodeType": "Block", - "src": "59370:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c626f6f6c29", - "id": 7561, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59414:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - "value": "log(address,bool,string,bool)" - }, - { - "id": 7562, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7549, - "src": "59447:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7563, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7551, - "src": "59451:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7564, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7553, - "src": "59455:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7565, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7555, - "src": "59459:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_50ad461db24803fc9b2ba76f072192e0a4d8fbb3667a50c400f504443380890f", - "typeString": "literal_string \"log(address,bool,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7559, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59390:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59390:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59390:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7558, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59374:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59374:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7568, - "nodeType": "ExpressionStatement", - "src": "59374:89:1" - } - ] - }, - "id": 7570, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59304:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7556, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7549, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59316:2:1", - "nodeType": "VariableDeclaration", - "scope": 7570, - "src": "59308:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7548, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59308:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7551, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59325:2:1", - "nodeType": "VariableDeclaration", - "scope": 7570, - "src": "59320:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7550, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59320:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7553, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59343:2:1", - "nodeType": "VariableDeclaration", - "scope": 7570, - "src": "59329:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7552, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59329:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7555, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59352:2:1", - "nodeType": "VariableDeclaration", - "scope": 7570, - "src": "59347:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7554, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59347:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "59307:48:1" - }, - "returnParameters": { - "id": 7557, - "nodeType": "ParameterList", - "parameters": [], - "src": "59370:0:1" - }, - "scope": 8146, - "src": "59295:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7592, - "nodeType": "Block", - "src": "59548:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c737472696e672c6164647265737329", - "id": 7584, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59592:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - "value": "log(address,bool,string,address)" - }, - { - "id": 7585, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7572, - "src": "59628:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7586, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7574, - "src": "59632:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7587, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7576, - "src": "59636:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7588, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7578, - "src": "59640:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_19fd495659df511498cf8dde03672830bd109ef2d9b9bec18e72190917c328bc", - "typeString": "literal_string \"log(address,bool,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7582, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59568:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7583, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59568:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59568:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7581, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59552:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7590, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59552:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7591, - "nodeType": "ExpressionStatement", - "src": "59552:92:1" - } - ] - }, - "id": 7593, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59479:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7579, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7572, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59491:2:1", - "nodeType": "VariableDeclaration", - "scope": 7593, - "src": "59483:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7571, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59483:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7574, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59500:2:1", - "nodeType": "VariableDeclaration", - "scope": 7593, - "src": "59495:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7573, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59495:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7576, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59518:2:1", - "nodeType": "VariableDeclaration", - "scope": 7593, - "src": "59504:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7575, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59504:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7578, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59530:2:1", - "nodeType": "VariableDeclaration", - "scope": 7593, - "src": "59522:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7577, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59522:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "59482:51:1" - }, - "returnParameters": { - "id": 7580, - "nodeType": "ParameterList", - "parameters": [], - "src": "59548:0:1" - }, - "scope": 8146, - "src": "59470:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7615, - "nodeType": "Block", - "src": "59720:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c75696e7432353629", - "id": 7607, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59764:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8c4e5de62881fec144fb423112f08d23c6aca116363a7b195024519470acf22e", - "typeString": "literal_string \"log(address,bool,bool,uint256)\"" - }, - "value": "log(address,bool,bool,uint256)" - }, - { - "id": 7608, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7595, - "src": "59798:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7609, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7597, - "src": "59802:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7610, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7599, - "src": "59806:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7611, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7601, - "src": "59810:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8c4e5de62881fec144fb423112f08d23c6aca116363a7b195024519470acf22e", - "typeString": "literal_string \"log(address,bool,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7605, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59740:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59740:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59740:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7604, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59724:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7613, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59724:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7614, - "nodeType": "ExpressionStatement", - "src": "59724:90:1" - } - ] - }, - "id": 7616, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59660:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7602, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7595, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59672:2:1", - "nodeType": "VariableDeclaration", - "scope": 7616, - "src": "59664:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59664:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7597, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59681:2:1", - "nodeType": "VariableDeclaration", - "scope": 7616, - "src": "59676:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7596, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59676:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7599, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59690:2:1", - "nodeType": "VariableDeclaration", - "scope": 7616, - "src": "59685:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7598, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59685:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7601, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59702:2:1", - "nodeType": "VariableDeclaration", - "scope": 7616, - "src": "59694:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7600, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "59694:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "59663:42:1" - }, - "returnParameters": { - "id": 7603, - "nodeType": "ParameterList", - "parameters": [], - "src": "59720:0:1" - }, - "scope": 8146, - "src": "59651:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7638, - "nodeType": "Block", - "src": "59896:97:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c737472696e6729", - "id": 7630, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "59940:31:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - "value": "log(address,bool,bool,string)" - }, - { - "id": 7631, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7618, - "src": "59973:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7632, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7620, - "src": "59977:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7633, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7622, - "src": "59981:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7634, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7624, - "src": "59985:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_dfc4a2e8c56809b44edbbc6d92d0a8441e551ad5387596bf8b629c56d9a91300", - "typeString": "literal_string \"log(address,bool,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7628, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "59916:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "59916:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7635, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59916:72:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7627, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "59900:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "59900:89:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7637, - "nodeType": "ExpressionStatement", - "src": "59900:89:1" - } - ] - }, - "id": 7639, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "59830:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7625, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7618, - "mutability": "mutable", - "name": "p0", - "nameLocation": "59842:2:1", - "nodeType": "VariableDeclaration", - "scope": 7639, - "src": "59834:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7617, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "59834:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7620, - "mutability": "mutable", - "name": "p1", - "nameLocation": "59851:2:1", - "nodeType": "VariableDeclaration", - "scope": 7639, - "src": "59846:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7619, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59846:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7622, - "mutability": "mutable", - "name": "p2", - "nameLocation": "59860:2:1", - "nodeType": "VariableDeclaration", - "scope": 7639, - "src": "59855:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7621, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "59855:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7624, - "mutability": "mutable", - "name": "p3", - "nameLocation": "59878:2:1", - "nodeType": "VariableDeclaration", - "scope": 7639, - "src": "59864:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7623, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "59864:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "59833:48:1" - }, - "returnParameters": { - "id": 7626, - "nodeType": "ParameterList", - "parameters": [], - "src": "59896:0:1" - }, - "scope": 8146, - "src": "59821:172:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7661, - "nodeType": "Block", - "src": "60062:95:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c626f6f6c29", - "id": 7653, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60106:29:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - "value": "log(address,bool,bool,bool)" - }, - { - "id": 7654, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7641, - "src": "60137:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7655, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7643, - "src": "60141:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7656, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7645, - "src": "60145:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7657, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7647, - "src": "60149:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cac434792b973db16714db96d2aeda353b2253f27255abe42b9960b2dc550634", - "typeString": "literal_string \"log(address,bool,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7651, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60082:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7652, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60082:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60082:70:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7650, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60066:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60066:87:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7660, - "nodeType": "ExpressionStatement", - "src": "60066:87:1" - } - ] - }, - "id": 7662, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60005:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7648, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7641, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60017:2:1", - "nodeType": "VariableDeclaration", - "scope": 7662, - "src": "60009:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7640, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60009:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7643, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60026:2:1", - "nodeType": "VariableDeclaration", - "scope": 7662, - "src": "60021:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7642, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60021:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7645, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60035:2:1", - "nodeType": "VariableDeclaration", - "scope": 7662, - "src": "60030:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7644, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60030:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7647, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60044:2:1", - "nodeType": "VariableDeclaration", - "scope": 7662, - "src": "60039:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7646, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60039:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60008:39:1" - }, - "returnParameters": { - "id": 7649, - "nodeType": "ParameterList", - "parameters": [], - "src": "60062:0:1" - }, - "scope": 8146, - "src": "59996:161:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7684, - "nodeType": "Block", - "src": "60229:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c626f6f6c2c6164647265737329", - "id": 7676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60273:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - "value": "log(address,bool,bool,address)" - }, - { - "id": 7677, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7664, - "src": "60307:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7678, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7666, - "src": "60311:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7679, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7668, - "src": "60315:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7680, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7670, - "src": "60319:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_cf394485abbd1f04b85b0f2c1a2cfc07e3d51c1c6f28386bf16d9e45161e8953", - "typeString": "literal_string \"log(address,bool,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7674, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60249:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7675, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60249:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7681, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60249:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7673, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60233:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60233:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7683, - "nodeType": "ExpressionStatement", - "src": "60233:90:1" - } - ] - }, - "id": 7685, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60169:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7671, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7664, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60181:2:1", - "nodeType": "VariableDeclaration", - "scope": 7685, - "src": "60173:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7663, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60173:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7666, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60190:2:1", - "nodeType": "VariableDeclaration", - "scope": 7685, - "src": "60185:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7665, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60185:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7668, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60199:2:1", - "nodeType": "VariableDeclaration", - "scope": 7685, - "src": "60194:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7667, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60194:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7670, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60211:2:1", - "nodeType": "VariableDeclaration", - "scope": 7685, - "src": "60203:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7669, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60203:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60172:42:1" - }, - "returnParameters": { - "id": 7672, - "nodeType": "ParameterList", - "parameters": [], - "src": "60229:0:1" - }, - "scope": 8146, - "src": "60160:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7707, - "nodeType": "Block", - "src": "60402:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c75696e7432353629", - "id": 7699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60446:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a75c59de36827f2596ade7bd79f668ae219518c12b79ebf06071586765c3e039", - "typeString": "literal_string \"log(address,bool,address,uint256)\"" - }, - "value": "log(address,bool,address,uint256)" - }, - { - "id": 7700, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7687, - "src": "60483:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7701, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7689, - "src": "60487:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7702, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "60491:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7703, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7693, - "src": "60495:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a75c59de36827f2596ade7bd79f668ae219518c12b79ebf06071586765c3e039", - "typeString": "literal_string \"log(address,bool,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7697, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60422:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7698, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60422:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60422:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7696, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60406:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60406:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7706, - "nodeType": "ExpressionStatement", - "src": "60406:93:1" - } - ] - }, - "id": 7708, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60339:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7687, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60351:2:1", - "nodeType": "VariableDeclaration", - "scope": 7708, - "src": "60343:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7686, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60343:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7689, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60360:2:1", - "nodeType": "VariableDeclaration", - "scope": 7708, - "src": "60355:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7688, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60355:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7691, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60372:2:1", - "nodeType": "VariableDeclaration", - "scope": 7708, - "src": "60364:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7690, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60364:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7693, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60384:2:1", - "nodeType": "VariableDeclaration", - "scope": 7708, - "src": "60376:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7692, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "60376:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "60342:45:1" - }, - "returnParameters": { - "id": 7695, - "nodeType": "ParameterList", - "parameters": [], - "src": "60402:0:1" - }, - "scope": 8146, - "src": "60330:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7730, - "nodeType": "Block", - "src": "60584:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c737472696e6729", - "id": 7722, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60628:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - "value": "log(address,bool,address,string)" - }, - { - "id": 7723, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7710, - "src": "60664:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7724, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7712, - "src": "60668:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7725, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "60672:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7726, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7716, - "src": "60676:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2dd778e616be9386b5911da1a074bbaf979640681783fca6396ea75c8caf6453", - "typeString": "literal_string \"log(address,bool,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7720, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60604:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60604:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7727, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60604:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7719, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60588:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7728, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60588:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7729, - "nodeType": "ExpressionStatement", - "src": "60588:92:1" - } - ] - }, - "id": 7731, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60515:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7717, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7710, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60527:2:1", - "nodeType": "VariableDeclaration", - "scope": 7731, - "src": "60519:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7709, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60519:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7712, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60536:2:1", - "nodeType": "VariableDeclaration", - "scope": 7731, - "src": "60531:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7711, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60531:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7714, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60548:2:1", - "nodeType": "VariableDeclaration", - "scope": 7731, - "src": "60540:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7713, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60540:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7716, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60566:2:1", - "nodeType": "VariableDeclaration", - "scope": 7731, - "src": "60552:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7715, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "60552:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "60518:51:1" - }, - "returnParameters": { - "id": 7718, - "nodeType": "ParameterList", - "parameters": [], - "src": "60584:0:1" - }, - "scope": 8146, - "src": "60506:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7753, - "nodeType": "Block", - "src": "60756:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c626f6f6c29", - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60800:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - "value": "log(address,bool,address,bool)" - }, - { - "id": 7746, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7733, - "src": "60834:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7747, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7735, - "src": "60838:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7748, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7737, - "src": "60842:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7749, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7739, - "src": "60846:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_a6f50b0f122c916fe81861751b94bdddb5e453947768e8af206397bb510790b1", - "typeString": "literal_string \"log(address,bool,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7743, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60776:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60776:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7750, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60776:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7742, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60760:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60760:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7752, - "nodeType": "ExpressionStatement", - "src": "60760:90:1" - } - ] - }, - "id": 7754, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60696:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7740, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7733, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60708:2:1", - "nodeType": "VariableDeclaration", - "scope": 7754, - "src": "60700:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7732, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60700:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7735, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60717:2:1", - "nodeType": "VariableDeclaration", - "scope": 7754, - "src": "60712:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7734, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60712:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7737, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60729:2:1", - "nodeType": "VariableDeclaration", - "scope": 7754, - "src": "60721:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7736, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60721:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7739, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60738:2:1", - "nodeType": "VariableDeclaration", - "scope": 7754, - "src": "60733:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7738, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60733:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "60699:42:1" - }, - "returnParameters": { - "id": 7741, - "nodeType": "ParameterList", - "parameters": [], - "src": "60756:0:1" - }, - "scope": 8146, - "src": "60687:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7776, - "nodeType": "Block", - "src": "60929:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c626f6f6c2c616464726573732c6164647265737329", - "id": 7768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "60973:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - "value": "log(address,bool,address,address)" - }, - { - "id": 7769, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7756, - "src": "61010:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7770, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7758, - "src": "61014:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7771, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7760, - "src": "61018:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7772, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7762, - "src": "61022:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_660375ddb58761b4ce952ec7e1ae63efe9f8e9e69831fd72875968fec9046e35", - "typeString": "literal_string \"log(address,bool,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7766, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "60949:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "60949:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60949:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7765, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "60933:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7774, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "60933:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7775, - "nodeType": "ExpressionStatement", - "src": "60933:93:1" - } - ] - }, - "id": 7777, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "60866:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7763, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7756, - "mutability": "mutable", - "name": "p0", - "nameLocation": "60878:2:1", - "nodeType": "VariableDeclaration", - "scope": 7777, - "src": "60870:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60870:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7758, - "mutability": "mutable", - "name": "p1", - "nameLocation": "60887:2:1", - "nodeType": "VariableDeclaration", - "scope": 7777, - "src": "60882:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7757, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "60882:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7760, - "mutability": "mutable", - "name": "p2", - "nameLocation": "60899:2:1", - "nodeType": "VariableDeclaration", - "scope": 7777, - "src": "60891:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7759, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60891:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7762, - "mutability": "mutable", - "name": "p3", - "nameLocation": "60911:2:1", - "nodeType": "VariableDeclaration", - "scope": 7777, - "src": "60903:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7761, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "60903:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "60869:45:1" - }, - "returnParameters": { - "id": 7764, - "nodeType": "ParameterList", - "parameters": [], - "src": "60929:0:1" - }, - "scope": 8146, - "src": "60857:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7799, - "nodeType": "Block", - "src": "61108:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c75696e7432353629", - "id": 7791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61152:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_be55348107f27daf63b48e87ab23840f2cbf20bdfa1dd4b92b4c2b337967fa25", - "typeString": "literal_string \"log(address,address,uint256,uint256)\"" - }, - "value": "log(address,address,uint256,uint256)" - }, - { - "id": 7792, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7779, - "src": "61192:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7793, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7781, - "src": "61196:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7794, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7783, - "src": "61200:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7795, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7785, - "src": "61204:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_be55348107f27daf63b48e87ab23840f2cbf20bdfa1dd4b92b4c2b337967fa25", - "typeString": "literal_string \"log(address,address,uint256,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7789, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61128:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61128:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7796, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61128:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7788, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "61112:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61112:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7798, - "nodeType": "ExpressionStatement", - "src": "61112:96:1" - } - ] - }, - "id": 7800, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61042:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7786, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7779, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61054:2:1", - "nodeType": "VariableDeclaration", - "scope": 7800, - "src": "61046:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7778, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61046:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7781, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61066:2:1", - "nodeType": "VariableDeclaration", - "scope": 7800, - "src": "61058:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7780, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61058:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7783, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61078:2:1", - "nodeType": "VariableDeclaration", - "scope": 7800, - "src": "61070:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7782, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61070:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7785, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61090:2:1", - "nodeType": "VariableDeclaration", - "scope": 7800, - "src": "61082:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7784, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61082:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61045:48:1" - }, - "returnParameters": { - "id": 7787, - "nodeType": "ParameterList", - "parameters": [], - "src": "61108:0:1" - }, - "scope": 8146, - "src": "61033:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7822, - "nodeType": "Block", - "src": "61296:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c737472696e6729", - "id": 7814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61340:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fdb4f99053c71d9229026b69fabc5567b4324649a228ca0935bada4975f57343", - "typeString": "literal_string \"log(address,address,uint256,string)\"" - }, - "value": "log(address,address,uint256,string)" - }, - { - "id": 7815, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7802, - "src": "61379:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7816, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7804, - "src": "61383:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7817, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7806, - "src": "61387:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7818, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7808, - "src": "61391:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fdb4f99053c71d9229026b69fabc5567b4324649a228ca0935bada4975f57343", - "typeString": "literal_string \"log(address,address,uint256,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7812, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61316:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61316:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61316:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7811, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "61300:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7820, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61300:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7821, - "nodeType": "ExpressionStatement", - "src": "61300:95:1" - } - ] - }, - "id": 7823, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61224:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7809, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7802, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61236:2:1", - "nodeType": "VariableDeclaration", - "scope": 7823, - "src": "61228:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7801, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61228:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7804, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61248:2:1", - "nodeType": "VariableDeclaration", - "scope": 7823, - "src": "61240:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7803, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61240:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7806, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61260:2:1", - "nodeType": "VariableDeclaration", - "scope": 7823, - "src": "61252:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7805, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61252:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7808, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61278:2:1", - "nodeType": "VariableDeclaration", - "scope": 7823, - "src": "61264:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7807, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61264:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61227:54:1" - }, - "returnParameters": { - "id": 7810, - "nodeType": "ParameterList", - "parameters": [], - "src": "61296:0:1" - }, - "scope": 8146, - "src": "61215:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7845, - "nodeType": "Block", - "src": "61474:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c626f6f6c29", - "id": 7837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61518:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9b4254e23753cb4c7d637e38638d109b03aeabf8705961d18d943c5bfa6672cd", - "typeString": "literal_string \"log(address,address,uint256,bool)\"" - }, - "value": "log(address,address,uint256,bool)" - }, - { - "id": 7838, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7825, - "src": "61555:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7839, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7827, - "src": "61559:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7840, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7829, - "src": "61563:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7841, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7831, - "src": "61567:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9b4254e23753cb4c7d637e38638d109b03aeabf8705961d18d943c5bfa6672cd", - "typeString": "literal_string \"log(address,address,uint256,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7835, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61494:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61494:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61494:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7834, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "61478:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7843, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61478:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7844, - "nodeType": "ExpressionStatement", - "src": "61478:93:1" - } - ] - }, - "id": 7846, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61411:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7832, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7825, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61423:2:1", - "nodeType": "VariableDeclaration", - "scope": 7846, - "src": "61415:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7824, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61415:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7827, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61435:2:1", - "nodeType": "VariableDeclaration", - "scope": 7846, - "src": "61427:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7826, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61427:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7829, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61447:2:1", - "nodeType": "VariableDeclaration", - "scope": 7846, - "src": "61439:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61439:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7831, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61456:2:1", - "nodeType": "VariableDeclaration", - "scope": 7846, - "src": "61451:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7830, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "61451:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "61414:45:1" - }, - "returnParameters": { - "id": 7833, - "nodeType": "ParameterList", - "parameters": [], - "src": "61474:0:1" - }, - "scope": 8146, - "src": "61402:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7868, - "nodeType": "Block", - "src": "61653:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c75696e743235362c6164647265737329", - "id": 7860, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61697:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8da6def55c582f2ce59d561e896a66e570478eda5169747a6ea3575cfa60d28b", - "typeString": "literal_string \"log(address,address,uint256,address)\"" - }, - "value": "log(address,address,uint256,address)" - }, - { - "id": 7861, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7848, - "src": "61737:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7862, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7850, - "src": "61741:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7863, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7852, - "src": "61745:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "id": 7864, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7854, - "src": "61749:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8da6def55c582f2ce59d561e896a66e570478eda5169747a6ea3575cfa60d28b", - "typeString": "literal_string \"log(address,address,uint256,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7858, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61673:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7859, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61673:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61673:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7857, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "61657:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61657:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7867, - "nodeType": "ExpressionStatement", - "src": "61657:96:1" - } - ] - }, - "id": 7869, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61587:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7855, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7848, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61599:2:1", - "nodeType": "VariableDeclaration", - "scope": 7869, - "src": "61591:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7847, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61591:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7850, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61611:2:1", - "nodeType": "VariableDeclaration", - "scope": 7869, - "src": "61603:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7849, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61603:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7852, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61623:2:1", - "nodeType": "VariableDeclaration", - "scope": 7869, - "src": "61615:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7851, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61615:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7854, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61635:2:1", - "nodeType": "VariableDeclaration", - "scope": 7869, - "src": "61627:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61627:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "61590:48:1" - }, - "returnParameters": { - "id": 7856, - "nodeType": "ParameterList", - "parameters": [], - "src": "61653:0:1" - }, - "scope": 8146, - "src": "61578:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7891, - "nodeType": "Block", - "src": "61841:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c75696e7432353629", - "id": 7883, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "61885:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_ef1cefe7e092dcc5b0ed6bc72a78756f9c352fc002139efb9b181c734d5d45d5", - "typeString": "literal_string \"log(address,address,string,uint256)\"" - }, - "value": "log(address,address,string,uint256)" - }, - { - "id": 7884, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7871, - "src": "61924:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7885, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7873, - "src": "61928:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7886, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7875, - "src": "61932:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7887, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7877, - "src": "61936:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_ef1cefe7e092dcc5b0ed6bc72a78756f9c352fc002139efb9b181c734d5d45d5", - "typeString": "literal_string \"log(address,address,string,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7881, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "61861:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7882, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "61861:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7888, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61861:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7880, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "61845:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7889, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "61845:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7890, - "nodeType": "ExpressionStatement", - "src": "61845:95:1" - } - ] - }, - "id": 7892, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61769:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7878, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7871, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61781:2:1", - "nodeType": "VariableDeclaration", - "scope": 7892, - "src": "61773:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7870, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61773:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7873, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61793:2:1", - "nodeType": "VariableDeclaration", - "scope": 7892, - "src": "61785:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7872, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61785:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7875, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61811:2:1", - "nodeType": "VariableDeclaration", - "scope": 7892, - "src": "61797:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7874, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61797:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7877, - "mutability": "mutable", - "name": "p3", - "nameLocation": "61823:2:1", - "nodeType": "VariableDeclaration", - "scope": 7892, - "src": "61815:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7876, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "61815:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "61772:54:1" - }, - "returnParameters": { - "id": 7879, - "nodeType": "ParameterList", - "parameters": [], - "src": "61841:0:1" - }, - "scope": 8146, - "src": "61760:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7914, - "nodeType": "Block", - "src": "62034:102:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c737472696e6729", - "id": 7906, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62078:36:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - "value": "log(address,address,string,string)" - }, - { - "id": 7907, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7894, - "src": "62116:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7908, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7896, - "src": "62120:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7909, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7898, - "src": "62124:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7910, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7900, - "src": "62128:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_21bdaf25c85279ffda21e4e2b9f685ff585c62a37c0ebe7ae25670fd06df3aa1", - "typeString": "literal_string \"log(address,address,string,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7904, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62054:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7905, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62054:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7911, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62054:77:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7903, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62038:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62038:94:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7913, - "nodeType": "ExpressionStatement", - "src": "62038:94:1" - } - ] - }, - "id": 7915, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "61956:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7901, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7894, - "mutability": "mutable", - "name": "p0", - "nameLocation": "61968:2:1", - "nodeType": "VariableDeclaration", - "scope": 7915, - "src": "61960:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7893, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61960:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7896, - "mutability": "mutable", - "name": "p1", - "nameLocation": "61980:2:1", - "nodeType": "VariableDeclaration", - "scope": 7915, - "src": "61972:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7895, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "61972:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7898, - "mutability": "mutable", - "name": "p2", - "nameLocation": "61998:2:1", - "nodeType": "VariableDeclaration", - "scope": 7915, - "src": "61984:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7897, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "61984:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7900, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62016:2:1", - "nodeType": "VariableDeclaration", - "scope": 7915, - "src": "62002:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7899, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62002:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "61959:60:1" - }, - "returnParameters": { - "id": 7902, - "nodeType": "ParameterList", - "parameters": [], - "src": "62034:0:1" - }, - "scope": 8146, - "src": "61947:189:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7937, - "nodeType": "Block", - "src": "62217:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c626f6f6c29", - "id": 7929, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62261:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - "value": "log(address,address,string,bool)" - }, - { - "id": 7930, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7917, - "src": "62297:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7931, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7919, - "src": "62301:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7932, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7921, - "src": "62305:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7933, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7923, - "src": "62309:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6f1a594e70810560eaae5bbc82bc991f1120ac326ec142f6fb212682169447fd", - "typeString": "literal_string \"log(address,address,string,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 7927, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62237:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7928, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62237:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7934, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62237:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7926, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62221:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7935, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62221:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7936, - "nodeType": "ExpressionStatement", - "src": "62221:92:1" - } - ] - }, - "id": 7938, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62148:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7924, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7917, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62160:2:1", - "nodeType": "VariableDeclaration", - "scope": 7938, - "src": "62152:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62152:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7919, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62172:2:1", - "nodeType": "VariableDeclaration", - "scope": 7938, - "src": "62164:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62164:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7921, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62190:2:1", - "nodeType": "VariableDeclaration", - "scope": 7938, - "src": "62176:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7920, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62176:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7923, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62199:2:1", - "nodeType": "VariableDeclaration", - "scope": 7938, - "src": "62194:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7922, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62194:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62151:51:1" - }, - "returnParameters": { - "id": 7925, - "nodeType": "ParameterList", - "parameters": [], - "src": "62217:0:1" - }, - "scope": 8146, - "src": "62139:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7960, - "nodeType": "Block", - "src": "62401:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c737472696e672c6164647265737329", - "id": 7952, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62445:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - "value": "log(address,address,string,address)" - }, - { - "id": 7953, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7940, - "src": "62484:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7954, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7942, - "src": "62488:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7955, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7944, - "src": "62492:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 7956, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7946, - "src": "62496:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_8f736d1685010d3a1ac02ed96109cdd5141fd92077c14203bc63442ad9b6a687", - "typeString": "literal_string \"log(address,address,string,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 7950, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62421:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62421:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62421:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7949, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62405:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7958, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62405:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7959, - "nodeType": "ExpressionStatement", - "src": "62405:95:1" - } - ] - }, - "id": 7961, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62329:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7947, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7940, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62341:2:1", - "nodeType": "VariableDeclaration", - "scope": 7961, - "src": "62333:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7939, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62333:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7942, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62353:2:1", - "nodeType": "VariableDeclaration", - "scope": 7961, - "src": "62345:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7941, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62345:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7944, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62371:2:1", - "nodeType": "VariableDeclaration", - "scope": 7961, - "src": "62357:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7943, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62357:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7946, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62383:2:1", - "nodeType": "VariableDeclaration", - "scope": 7961, - "src": "62375:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7945, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62375:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "62332:54:1" - }, - "returnParameters": { - "id": 7948, - "nodeType": "ParameterList", - "parameters": [], - "src": "62401:0:1" - }, - "scope": 8146, - "src": "62320:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 7983, - "nodeType": "Block", - "src": "62579:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c75696e7432353629", - "id": 7975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62623:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3971e78c267e3c99a8d143ab93f96daa498ed164b55c7e4c2a5439320fbc2671", - "typeString": "literal_string \"log(address,address,bool,uint256)\"" - }, - "value": "log(address,address,bool,uint256)" - }, - { - "id": 7976, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7963, - "src": "62660:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7977, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7965, - "src": "62664:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 7978, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7967, - "src": "62668:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 7979, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7969, - "src": "62672:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3971e78c267e3c99a8d143ab93f96daa498ed164b55c7e4c2a5439320fbc2671", - "typeString": "literal_string \"log(address,address,bool,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 7973, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62599:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7974, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62599:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 7980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62599:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7972, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62583:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 7981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62583:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7982, - "nodeType": "ExpressionStatement", - "src": "62583:93:1" - } - ] - }, - "id": 7984, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62516:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7970, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7963, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62528:2:1", - "nodeType": "VariableDeclaration", - "scope": 7984, - "src": "62520:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7962, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62520:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7965, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62540:2:1", - "nodeType": "VariableDeclaration", - "scope": 7984, - "src": "62532:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7964, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62532:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7967, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62549:2:1", - "nodeType": "VariableDeclaration", - "scope": 7984, - "src": "62544:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7966, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62544:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7969, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62561:2:1", - "nodeType": "VariableDeclaration", - "scope": 7984, - "src": "62553:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7968, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "62553:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "62519:45:1" - }, - "returnParameters": { - "id": 7971, - "nodeType": "ParameterList", - "parameters": [], - "src": "62579:0:1" - }, - "scope": 8146, - "src": "62507:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8006, - "nodeType": "Block", - "src": "62761:100:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c737472696e6729", - "id": 7998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62805:34:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - "value": "log(address,address,bool,string)" - }, - { - "id": 7999, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7986, - "src": "62841:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8000, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7988, - "src": "62845:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8001, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7990, - "src": "62849:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8002, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7992, - "src": "62853:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_aa6540c8e9a40f69e022e01a14ab22c94aae4999f1d7a246236f464d7c933b88", - "typeString": "literal_string \"log(address,address,bool,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 7996, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62781:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 7997, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62781:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8003, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62781:75:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 7995, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62765:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62765:92:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8005, - "nodeType": "ExpressionStatement", - "src": "62765:92:1" - } - ] - }, - "id": 8007, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62692:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7986, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62704:2:1", - "nodeType": "VariableDeclaration", - "scope": 8007, - "src": "62696:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7985, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62696:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7988, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62716:2:1", - "nodeType": "VariableDeclaration", - "scope": 8007, - "src": "62708:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7987, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62708:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7990, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62725:2:1", - "nodeType": "VariableDeclaration", - "scope": 8007, - "src": "62720:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7989, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62720:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 7992, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62743:2:1", - "nodeType": "VariableDeclaration", - "scope": 8007, - "src": "62729:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 7991, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "62729:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "62695:51:1" - }, - "returnParameters": { - "id": 7994, - "nodeType": "ParameterList", - "parameters": [], - "src": "62761:0:1" - }, - "scope": 8146, - "src": "62683:178:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8029, - "nodeType": "Block", - "src": "62933:98:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c626f6f6c29", - "id": 8021, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "62977:32:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - "value": "log(address,address,bool,bool)" - }, - { - "id": 8022, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8009, - "src": "63011:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8023, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8011, - "src": "63015:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8024, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8013, - "src": "63019:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8025, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8015, - "src": "63023:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_2cd4134aedbc2cd722f2b9715dc3acb74b16b253590361dd98a4d6cb66119b65", - "typeString": "literal_string \"log(address,address,bool,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 8019, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "62953:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8020, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "62953:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62953:73:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8018, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "62937:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8027, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "62937:90:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8028, - "nodeType": "ExpressionStatement", - "src": "62937:90:1" - } - ] - }, - "id": 8030, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "62873:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8016, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8009, - "mutability": "mutable", - "name": "p0", - "nameLocation": "62885:2:1", - "nodeType": "VariableDeclaration", - "scope": 8030, - "src": "62877:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8008, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62877:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8011, - "mutability": "mutable", - "name": "p1", - "nameLocation": "62897:2:1", - "nodeType": "VariableDeclaration", - "scope": 8030, - "src": "62889:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8010, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "62889:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8013, - "mutability": "mutable", - "name": "p2", - "nameLocation": "62906:2:1", - "nodeType": "VariableDeclaration", - "scope": 8030, - "src": "62901:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8012, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62901:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8015, - "mutability": "mutable", - "name": "p3", - "nameLocation": "62915:2:1", - "nodeType": "VariableDeclaration", - "scope": 8030, - "src": "62910:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8014, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "62910:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "62876:42:1" - }, - "returnParameters": { - "id": 8017, - "nodeType": "ParameterList", - "parameters": [], - "src": "62933:0:1" - }, - "scope": 8146, - "src": "62864:167:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8052, - "nodeType": "Block", - "src": "63106:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c626f6f6c2c6164647265737329", - "id": 8044, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63150:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - "value": "log(address,address,bool,address)" - }, - { - "id": 8045, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8032, - "src": "63187:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8046, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8034, - "src": "63191:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8047, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8036, - "src": "63195:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "id": 8048, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8038, - "src": "63199:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9f1bc36e6c1a1385bfe3a230338e478ee5447b81d25d35962aff021b2c578b9c", - "typeString": "literal_string \"log(address,address,bool,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 8042, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63126:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8043, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63126:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63126:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8041, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "63110:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63110:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8051, - "nodeType": "ExpressionStatement", - "src": "63110:93:1" - } - ] - }, - "id": 8053, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63043:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8039, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8032, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63055:2:1", - "nodeType": "VariableDeclaration", - "scope": 8053, - "src": "63047:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8031, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63047:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8034, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63067:2:1", - "nodeType": "VariableDeclaration", - "scope": 8053, - "src": "63059:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8033, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63059:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8036, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63076:2:1", - "nodeType": "VariableDeclaration", - "scope": 8053, - "src": "63071:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8035, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63071:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8038, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63088:2:1", - "nodeType": "VariableDeclaration", - "scope": 8053, - "src": "63080:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8037, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63080:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63046:45:1" - }, - "returnParameters": { - "id": 8040, - "nodeType": "ParameterList", - "parameters": [], - "src": "63106:0:1" - }, - "scope": 8146, - "src": "63034:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8075, - "nodeType": "Block", - "src": "63285:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c75696e7432353629", - "id": 8067, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63329:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_94250d77556167cb7a7fd3eb9433101f8af8848163edfced0c46147ba10a2577", - "typeString": "literal_string \"log(address,address,address,uint256)\"" - }, - "value": "log(address,address,address,uint256)" - }, - { - "id": 8068, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8055, - "src": "63369:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8069, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8057, - "src": "63373:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8070, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8059, - "src": "63377:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8071, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8061, - "src": "63381:2:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_94250d77556167cb7a7fd3eb9433101f8af8848163edfced0c46147ba10a2577", - "typeString": "literal_string \"log(address,address,address,uint256)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 8065, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63305:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8066, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63305:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63305:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8064, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "63289:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8073, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63289:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8074, - "nodeType": "ExpressionStatement", - "src": "63289:96:1" - } - ] - }, - "id": 8076, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63219:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8062, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8055, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63231:2:1", - "nodeType": "VariableDeclaration", - "scope": 8076, - "src": "63223:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8054, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63223:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8057, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63243:2:1", - "nodeType": "VariableDeclaration", - "scope": 8076, - "src": "63235:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8056, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63235:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8059, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63255:2:1", - "nodeType": "VariableDeclaration", - "scope": 8076, - "src": "63247:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8058, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63247:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8061, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63267:2:1", - "nodeType": "VariableDeclaration", - "scope": 8076, - "src": "63259:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8060, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "63259:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "63222:48:1" - }, - "returnParameters": { - "id": 8063, - "nodeType": "ParameterList", - "parameters": [], - "src": "63285:0:1" - }, - "scope": 8146, - "src": "63210:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8098, - "nodeType": "Block", - "src": "63473:103:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c737472696e6729", - "id": 8090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63517:37:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - "value": "log(address,address,address,string)" - }, - { - "id": 8091, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8078, - "src": "63556:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8092, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8080, - "src": "63560:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8093, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8082, - "src": "63564:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8094, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8084, - "src": "63568:2:1", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f808da2086fed855c3e15d9dbfed3b17a93ed9a59947aae6ab05b7e18576f025", - "typeString": "literal_string \"log(address,address,address,string)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 8088, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63493:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8089, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63493:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8095, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63493:78:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8087, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "63477:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8096, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63477:95:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8097, - "nodeType": "ExpressionStatement", - "src": "63477:95:1" - } - ] - }, - "id": 8099, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63401:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8085, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8078, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63413:2:1", - "nodeType": "VariableDeclaration", - "scope": 8099, - "src": "63405:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8077, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63405:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8080, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63425:2:1", - "nodeType": "VariableDeclaration", - "scope": 8099, - "src": "63417:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8079, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63417:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8082, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63437:2:1", - "nodeType": "VariableDeclaration", - "scope": 8099, - "src": "63429:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8081, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63429:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8084, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63455:2:1", - "nodeType": "VariableDeclaration", - "scope": 8099, - "src": "63441:16:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 8083, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "63441:6:1", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "63404:54:1" - }, - "returnParameters": { - "id": 8086, - "nodeType": "ParameterList", - "parameters": [], - "src": "63473:0:1" - }, - "scope": 8146, - "src": "63392:184:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8121, - "nodeType": "Block", - "src": "63651:101:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c626f6f6c29", - "id": 8113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63695:35:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - "value": "log(address,address,address,bool)" - }, - { - "id": 8114, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8101, - "src": "63732:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8115, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8103, - "src": "63736:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8116, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8105, - "src": "63740:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8117, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8107, - "src": "63744:2:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0e378994a4cd2663acfd73a7ad4e09d196e4fb7ee05b7cdf0708eb30271e2afb", - "typeString": "literal_string \"log(address,address,address,bool)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "id": 8111, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63671:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63671:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63671:76:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8110, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "63655:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63655:93:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8120, - "nodeType": "ExpressionStatement", - "src": "63655:93:1" - } - ] - }, - "id": 8122, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63588:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8101, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63600:2:1", - "nodeType": "VariableDeclaration", - "scope": 8122, - "src": "63592:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8100, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63592:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8103, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63612:2:1", - "nodeType": "VariableDeclaration", - "scope": 8122, - "src": "63604:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8102, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63604:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8105, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63624:2:1", - "nodeType": "VariableDeclaration", - "scope": 8122, - "src": "63616:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8104, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63616:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8107, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63633:2:1", - "nodeType": "VariableDeclaration", - "scope": 8122, - "src": "63628:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8106, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "63628:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "63591:45:1" - }, - "returnParameters": { - "id": 8109, - "nodeType": "ParameterList", - "parameters": [], - "src": "63651:0:1" - }, - "scope": 8146, - "src": "63579:173:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "body": { - "id": 8144, - "nodeType": "Block", - "src": "63830:104:1", - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "6c6f6728616464726573732c616464726573732c616464726573732c6164647265737329", - "id": 8136, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "63874:38:1", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - "value": "log(address,address,address,address)" - }, - { - "id": 8137, - "name": "p0", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8124, - "src": "63914:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8138, - "name": "p1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8126, - "src": "63918:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8139, - "name": "p2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8128, - "src": "63922:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 8140, - "name": "p3", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8130, - "src": "63926:2:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_665bf1345e006aa321c0b6b71bed55ce0d6cdd812632f8c43114f62c55ffa0b5", - "typeString": "literal_string \"log(address,address,address,address)\"" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "id": 8134, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "63850:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "63850:23:1", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 8141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63850:79:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8133, - "name": "_sendLogPayload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 106, - "src": "63834:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 8142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "63834:96:1", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8143, - "nodeType": "ExpressionStatement", - "src": "63834:96:1" - } - ] - }, - "id": 8145, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "log", - "nameLocation": "63764:3:1", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8131, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8124, - "mutability": "mutable", - "name": "p0", - "nameLocation": "63776:2:1", - "nodeType": "VariableDeclaration", - "scope": 8145, - "src": "63768:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8123, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63768:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8126, - "mutability": "mutable", - "name": "p1", - "nameLocation": "63788:2:1", - "nodeType": "VariableDeclaration", - "scope": 8145, - "src": "63780:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8125, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63780:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8128, - "mutability": "mutable", - "name": "p2", - "nameLocation": "63800:2:1", - "nodeType": "VariableDeclaration", - "scope": 8145, - "src": "63792:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8127, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63792:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 8130, - "mutability": "mutable", - "name": "p3", - "nameLocation": "63812:2:1", - "nodeType": "VariableDeclaration", - "scope": 8145, - "src": "63804:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8129, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "63804:7:1", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - } - ], - "src": "63767:48:1" - }, - "returnParameters": { - "id": 8132, - "nodeType": "ParameterList", - "parameters": [], - "src": "63830:0:1" - }, - "scope": 8146, - "src": "63755:179:1", - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "scope": 8147, - "src": "67:63870:1", - "usedErrors": [] - } - ], - "src": "32:63906:1" - }, - "id": 1 - } - } - } -} diff --git a/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.dbg.json b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.dbg.json new file mode 100644 index 0000000000..ca1ea27b34 --- /dev/null +++ b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../build-info/7839ba878952cc00ff316061405f273a.json" +} diff --git a/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.json b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.json new file mode 100644 index 0000000000..0ce95af980 --- /dev/null +++ b/apps/remix-ide-e2e/src/helpers/hardhat_compilation_Lock.json @@ -0,0 +1,74 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Lock", + "sourceName": "contracts/Lock.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "_unlockTime", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "when", + "type": "uint256" + } + ], + "name": "Withdrawal", + "type": "event" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "unlockTime", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/apps/remix-ide-e2e/src/tests/ballot.test.ts b/apps/remix-ide-e2e/src/tests/ballot.test.ts index 2e1c0cf488..9bda934c6d 100644 --- a/apps/remix-ide-e2e/src/tests/ballot.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot.test.ts @@ -491,8 +491,7 @@ const configFile = ` "": ["ast"], "*": ["abi", "metadata", "devdoc", "userdoc", "storageLayout", "evm.legacyAssembly", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers", "evm.gasEstimates", "evm.assembly"] } - }, - "evmVersion": "byzantium" + } } } ` diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index b9602b4b57..60408cf1d3 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.test.ts @@ -19,8 +19,8 @@ module.exports = { .clickLaunchIcon('solidity').click('*[data-id="compilerContainerCompileBtn"]') .pause(4000) .clickLaunchIcon('udapp') - .waitForElementPresent('*[title="Deploy - transact (not payable)"]', 60000) - .click('*[title="Deploy - transact (not payable)"]') + .waitForElementPresent('*[data-title="Deploy - transact (not payable)"]', 60000) + .click('*[data-title="Deploy - transact (not payable)"]') .debugTransaction(0) .waitForElementContainsText('*[data-id="sidePanelSwapitTitle"]', 'DEBUGGER', 60000) .clearConsole() @@ -30,8 +30,8 @@ module.exports = { browser.waitForElementVisible('*[data-id="verticalIconsKindudapp"]') .clickLaunchIcon('udapp') .clickInstance(0) - .scrollAndClick('*[title="string name, uint256 goal"]') - .setValue('*[title="string name, uint256 goal"]', '"toast", 999') + .scrollAndClick('*[data-title="string name, uint256 goal"]') + .setValue('*[data-title="string name, uint256 goal"]', '"toast", 999') .click('*[data-id="createProject - transact (not payable)"]') .debugTransaction(0) .pause(2000) @@ -88,7 +88,7 @@ module.exports = { .clickLaunchIcon('solidity') .testContracts('externalImport.sol', sources[1]['externalImport.sol'], ['ERC20']) .clickLaunchIcon('udapp') - .waitForElementPresent('*[title="Deploy - transact (not payable)"]', 35000) + .waitForElementPresent('*[data-title="Deploy - transact (not payable)"]', 35000) .selectContract('ERC20') .createContract('"tokenName", "symbol"') .debugTransaction(0) @@ -97,11 +97,6 @@ module.exports = { locateStrategy: 'xpath', selector: '//*[@data-id="treeViewLivm trace step" and contains(.,"545")]', }) - .goToVMTraceStep(10) - .waitForElementVisible({ - locateStrategy: 'xpath', - selector: '//*[@data-id="treeViewLivm trace step" and contains(.,"10")]', - }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`constructor (string memory name_, string memory symbol_) { _name = name_; @@ -109,6 +104,11 @@ module.exports = { }`) !== -1, 'current displayed content is not from the ERC20 source code') }) + .goToVMTraceStep(10) + .waitForElementVisible({ + locateStrategy: 'xpath', + selector: '//*[@data-id="treeViewLivm trace step" and contains(.,"10")]', + }) }, 'Should display correct source highlighting while debugging a contract which has ABIEncoderV2 #group2': function (browser: NightwatchBrowser) { @@ -159,7 +159,7 @@ module.exports = { .clickLaunchIcon('solidity') .testContracts('locals.sol', sources[3]['locals.sol'], ['testLocals']) .clickLaunchIcon('udapp') - .waitForElementPresent('*[title="Deploy - transact (not payable)"]', 40000) + .waitForElementPresent('*[data-title="Deploy - transact (not payable)"]', 40000) .createContract('') .pause(2000) .clearConsole() @@ -191,14 +191,14 @@ module.exports = { .clickFunction('f - transact (not payable)', { types: 'uint256[] ', values: '[]' }) .debugTransaction(0) .pause(2000) - .click('*[data-id="debuggerTransactionStartButton"]') // stop debugging + .click('*[id="debuggerTransactionStartButtonContainer"]') // stop debugging .click('*[data-id="debugGeneratedSourcesLabel"]') // select debug with generated sources - .click('*[data-id="debuggerTransactionStartButton"]') // start debugging + .click('*[id="debuggerTransactionStartButtonContainer"]') // start debugging .pause(2000) .getEditorValue((content) => { browser.assert.ok(content.indexOf('if slt(sub(dataEnd, headStart), 32)') !== -1, 'current displayed content is not a generated source') }) - .click('*[data-id="debuggerTransactionStartButton"]') + .click('*[id="debuggerTransactionStartButtonContainer"]') }, // depends on Should debug using generated sources 'Should call the debugger api: getTrace #group4': function (browser: NightwatchBrowser) { @@ -266,7 +266,7 @@ const sources = [ 'blah.sol': { content: ` pragma solidity >=0.7.0 <0.9.0; - + contract Kickstarter { enum State { Started, Completed } @@ -276,9 +276,9 @@ const sources = [ string name; uint goal; State state; - } + } - Project[] public projects; + Project[] public projects; constructor() { @@ -291,7 +291,7 @@ const sources = [ project.state = State.Started; project.goal = goal; } - } + } ` } }, @@ -309,12 +309,12 @@ const sources = [ function test1 (bytes calldata userData) external returns (bytes memory, bytes32, bytes32, uint) { bytes32 idAsk = abi.decode(userData[:33], (bytes32)); bytes32 idOffer = abi.decode(userData[32:64], (bytes32)); - + bytes memory ro = abi.encodePacked(msg.sender, msg.sender, idAsk, idOffer); return (ro, idAsk, idOffer, userData.length); } - - + + function testgp (bytes calldata userData) external returns (bytes4) { return abi.decode(userData[:4], (bytes4)); } @@ -341,9 +341,9 @@ const sources = [ 'withGeneratedSources.sol': { content: ` // SPDX-License-Identifier: GPL-3.0 - pragma experimental ABIEncoderV2; - contract A { - function f(uint[] memory) public returns (uint256) { } + pragma experimental ABIEncoderV2; + contract A { + function f(uint[] memory) public returns (uint256) { } } ` } @@ -372,7 +372,7 @@ const sources = [ } /** - * @dev Return value + * @dev Return value * @return value of 'number' */ function retrieve() public view returns (uint256){ @@ -393,14 +393,14 @@ const sources = [ function callA() public { p = 123; try b.callB() { - + } catch (bytes memory reason) { - + } } } - + contract B { C c; uint p; @@ -413,7 +413,7 @@ const sources = [ c.callC(); } } - + contract C { uint p; function callC() public { @@ -498,7 +498,7 @@ const jsGetTrace = `(async () => { } })()` -const jsDebug = `(async () => { +const jsDebug = `(async () => { try { const result = await remix.call('debugger', 'debug', '0x65f0813753462414f9a91f0aabea946188327995f54b893b63a8d7ff186cfca3') console.log('result ', result) diff --git a/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts b/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts index 8f303bf593..ae1f51af60 100644 --- a/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts +++ b/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts @@ -28,7 +28,7 @@ module.exports = { 'Loads Main View': function (browser: NightwatchBrowser) { browser.waitForElementVisible('div[data-id="mainPanelPluginsContainer"]') .waitForElementVisible('div[data-id="landingPageHomeContainer"]') - .waitForElementVisible('div[data-id="landingPageHpSections"]') + .waitForElementVisible('div[data-id="remixUIHTAll"]') .waitForElementVisible('div[data-id="terminalContainer"]') }, diff --git a/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts b/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts index 3b3fa18470..7eed25d7a6 100644 --- a/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts +++ b/apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts @@ -216,7 +216,7 @@ module.exports = { .waitForElementVisible(autoCompleteLineElement('importedbook')) .waitForElementVisible(autoCompleteLineElement('importpublicstring')) .waitForElementVisible(autoCompleteLineElement('publicimport')) - // no private + // no private .waitForElementNotPresent(autoCompleteLineElement('importprivatestring')) .waitForElementNotPresent(autoCompleteLineElement('privateimport')) // no internal @@ -523,4 +523,4 @@ module.exports = { .sendKeys(this.Keys.ENTER) }) } -} \ No newline at end of file +} diff --git a/apps/remix-ide-e2e/src/tests/etherscan_api.ts b/apps/remix-ide-e2e/src/tests/etherscan_api.ts index 7089d5b563..2a8fc5c500 100644 --- a/apps/remix-ide-e2e/src/tests/etherscan_api.ts +++ b/apps/remix-ide-e2e/src/tests/etherscan_api.ts @@ -46,7 +46,16 @@ module.exports = { .click('[data-id="verify-contract"]') .waitForElementVisible('[data-id="verify-result"]') .waitForElementContainsText('[data-id="verify-result"]', 'Contract source code already verified') - } + }, + + 'Should call the etherscan plugin api #group1': function (browser: NightwatchBrowser) { + browser + .frameParent() + .clickLaunchIcon('filePanel') + .addFile('receiptStatusScript.ts', { content: receiptStatusScript }) + .click('*[data-id="play-editor"]') // run the script + .waitForElementContainsText('*[data-id="terminalJournal"]', 'Pass - Verified', 60000) + } } const verifiedContract = ` @@ -105,3 +114,36 @@ contract Owner { return owner; } }` + +const receiptStatusScript = ` + const receiptStatus = async () => { + try { + const apikey = '2HKUX5ZVASZIKWJM8MIQVCRUVZ6JAWT531' + const ret = await remix.call('etherscan' as any, 'receiptStatus', 'n1qtqfn8jggwqv9uvni5zzectnztqbxqqvizznvl4vg1pndb9v', apikey) + console.log(ret) + } catch (e) { + console.log(e.message) + } + } + receiptStatus() +` + +/* eslint-disable */ +const verifyScript = ` + const verify = async () => { + try { + const apikey = '2HKUX5ZVASZIKWJM8MIQVCRUVZ6JAWT531' + const contractAddress = '0x900d15ce8fc2115c4a870107e5ea855e4243900e' + const contractArguments = '' // hex value without 0x + const contractName = 'Owner' + const contractFile = 'contracts/2_Owner.sol' + const compilationResultParam = await remix.call('compilerArtefacts' as any, 'getCompilerAbstract', contractFile) + console.log('verifying..') + const ret = await remix.call('etherscan' as any, 'verify', apikey, contractAddress, contractArguments, contractName, compilationResultParam) + console.log(ret) + } catch (e) { + console.log(e.message) + } + } + verify() +` diff --git a/apps/remix-ide-e2e/src/tests/generalSettings.test.ts b/apps/remix-ide-e2e/src/tests/generalSettings.test.ts index ef6213ea23..9b02df154c 100644 --- a/apps/remix-ide-e2e/src/tests/generalSettings.test.ts +++ b/apps/remix-ide-e2e/src/tests/generalSettings.test.ts @@ -133,6 +133,30 @@ module.exports = { .checkElementStyle(':root', '--info', remixIdeThemes.cyborg.info) .checkElementStyle(':root', '--warning', remixIdeThemes.cyborg.warning) .checkElementStyle(':root', '--danger', remixIdeThemes.cyborg.danger) + }, + + 'Should load zh-CN locale ': function (browser) { + browser.waitForElementVisible('*[data-id="verticalIconsKindsettings"]', 5000) + .scrollAndClick('*[data-id="settingsTabLocaleLabelzh-CN"]') + .pause(2000) + .assert.containsText('*[data-id="sidePanelSwapitTitle"]', '设置') + .assert.containsText('*[data-id="listenNetworkCheckInput"]', '监听所有交易') + .assert.containsText('*[data-id="settingsTabGenerateContractMetadataLabel"]', '生成合约元数据') + .assert.containsText('*[data-id="settingsAutoCompleteLabel"]', '在编辑器中启用代码自动补全') + .assert.containsText('*[data-id="settingsShowGasLabel"]', '在编辑器中展示 gas 预算') + .assert.containsText('*[data-id="displayErrorsLabel"]', '编辑代码时展示错误提示') + }, + + 'Should load en-US locale ': function (browser) { + browser.waitForElementVisible('*[data-id="verticalIconsKindsettings"]', 5000) + .scrollAndClick('*[data-id="settingsTabLocaleLabelen-US"]') + .pause(2000) + .assert.containsText('*[data-id="sidePanelSwapitTitle"]', 'SETTINGS') + .assert.containsText('*[data-id="listenNetworkCheckInput"]', 'listen on all transactions') + .assert.containsText('*[data-id="settingsTabGenerateContractMetadataLabel"]', 'Generate contract metadata') + .assert.containsText('*[data-id="settingsAutoCompleteLabel"]', 'Enable code completion in editor') + .assert.containsText('*[data-id="settingsShowGasLabel"]', 'Display gas estimates in editor') + .assert.containsText('*[data-id="displayErrorsLabel"]', 'Display errors in editor while typing') } } diff --git a/apps/remix-ide-e2e/src/tests/proxy.test.ts b/apps/remix-ide-e2e/src/tests/proxy.test.ts index 29e611b155..d6d51ed57d 100644 --- a/apps/remix-ide-e2e/src/tests/proxy.test.ts +++ b/apps/remix-ide-e2e/src/tests/proxy.test.ts @@ -56,7 +56,7 @@ module.exports = { browser .addFile('myTokenV2.sol', sources[1]['myTokenV2.sol']) .clickLaunchIcon('solidity') - .pause(2000) + .assert.visible('[data-id="compilerContainerCompileBtn"]') .click('[data-id="compilerContainerCompileBtn"]') .waitForElementPresent('select[id="compiledContracts"] option[value=MyTokenV2]', 60000) .clickLaunchIcon('udapp') @@ -70,12 +70,13 @@ module.exports = { browser .openFile('myTokenV1.sol') .clickLaunchIcon('solidity') - .pause(2000) + .assert.visible('[data-id="compilerContainerCompileBtn"]') .click('[data-id="compilerContainerCompileBtn"]') .waitForElementPresent('select[id="compiledContracts"] option[value=MyToken]', 60000) .clickLaunchIcon('udapp') .click('select.udapp_contractNames') .click('select.udapp_contractNames option[value=MyToken]') + .verify.visible('[data-id="contractGUIDeployWithProxyLabel"]') .waitForElementPresent('[data-id="contractGUIDeployWithProxyLabel"]') .click('[data-id="contractGUIDeployWithProxyLabel"]') .createContract('') @@ -113,7 +114,7 @@ module.exports = { .click('[data-id="deployAndRunClearInstances"]') .addFile('initializeProxy.sol', sources[2]['initializeProxy.sol']) .clickLaunchIcon('solidity') - .pause(2000) + .assert.visible('[data-id="compilerContainerCompileBtn"]') .click('[data-id="compilerContainerCompileBtn"]') .waitForElementPresent('select[id="compiledContracts"] option[value=MyInitializedToken]', 60000) .clickLaunchIcon('udapp') @@ -121,10 +122,12 @@ module.exports = { .click('select.udapp_contractNames option[value=MyInitializedToken]') .waitForElementPresent('[data-id="contractGUIDeployWithProxyLabel"]') .click('[data-id="contractGUIDeployWithProxyLabel"]') - .waitForElementPresent('input[title="tokenName"]') - .waitForElementPresent('input[title="tokenSymbol"]') - .setValue('input[title="tokenName"]', 'Remix') - .setValue('input[title="tokenSymbol"]', "R") + .useXpath() + .waitForElementPresent('//*[@id="runTabView"]/div/div[2]/div[3]/div[1]/div/div[1]/div[4]/div/div[1]/input') + .waitForElementPresent('//*[@id="runTabView"]/div/div[2]/div[3]/div[1]/div/div[1]/div[4]/div/div[2]/input') + .setValue('//*[@id="runTabView"]/div/div[2]/div[3]/div[1]/div/div[1]/div[4]/div/div[1]/input', 'Remix') + .setValue('//*[@id="runTabView"]/div/div[2]/div[3]/div[1]/div/div[1]/div[4]/div/div[2]/input', "R") + .useCss() .createContract('') .waitForElementContainsText('[data-id="udappNotifyModalDialogModalTitle-react"]', 'Deploy Implementation & Proxy (ERC1967)') .waitForElementVisible('[data-id="udappNotify-modal-footer-ok-react"]') @@ -160,7 +163,7 @@ module.exports = { .click('[data-id="deployAndRunClearInstances"]') .openFile('myTokenV2.sol') .clickLaunchIcon('solidity') - .pause(2000) + .assert.visible('[data-id="compilerContainerCompileBtn"]') .click('[data-id="compilerContainerCompileBtn"]') .waitForElementPresent('select[id="compiledContracts"] option[value=MyTokenV2]', 60000) .clickLaunchIcon('udapp') @@ -202,7 +205,7 @@ module.exports = { .click('[data-id="deployAndRunClearInstances"]') .openFile('myTokenV2.sol') .clickLaunchIcon('solidity') - .pause(2000) + .assert.visible('[data-id="compilerContainerCompileBtn"]') .click('[data-id="compilerContainerCompileBtn"]') .waitForElementPresent('select[id="compiledContracts"] option[value=MyTokenV2]', 60000) .clickLaunchIcon('udapp') diff --git a/apps/remix-ide-e2e/src/tests/remixd.test.ts b/apps/remix-ide-e2e/src/tests/remixd.test.ts index 34c0d84d56..fb881e28e9 100644 --- a/apps/remix-ide-e2e/src/tests/remixd.test.ts +++ b/apps/remix-ide-e2e/src/tests/remixd.test.ts @@ -1,11 +1,18 @@ 'use strict' import { NightwatchBrowser } from 'nightwatch' -import { writeFileSync } from 'fs' import init from '../helpers/init' -import * as hardhatCompilation from '../helpers/hardhat_compilation_8a7ab689ec618720f53ce867a3031c03.json' +import { join } from 'path' +import { ChildProcess, spawn } from 'child_process' +import { writeFileSync } from 'fs' +import * as hardhatCompilation from '../helpers/hardhat_compilation_7839ba878952cc00ff316061405f273a.json' +import * as hardhat_compilation_Lock_dbg from '../helpers/hardhat_compilation_Lock.dbg.json' +import * as hardhat_compilation_Lock from '../helpers/hardhat_compilation_Lock.json' + import * as foundryCompilation from '../helpers/foundry_compilation.json' import * as truffle_compilation from '../helpers/truffle_compilation.json' +import kill from 'tree-kill' +let remixd: ChildProcess const assetsTestContract = `import "./contract.sol"; contract Assets { uint[] proposals; @@ -53,24 +60,38 @@ module.exports = { before: function (browser, done) { init(browser, done) }, + after: function (browser) { + browser.perform((done) => { + console.log('remixd', remixd.pid) + kill(remixd.pid) + done() + }) + }, '@sources': function () { return sources }, - 'start Remixd': function (browser) { - startRemixd(browser) - - }, 'run Remixd tests #group4': function (browser) { - runTests(browser) + browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts')) + console.log('working directory', process.cwd()) + connectRemixd(browser, done) + }) + .perform((done) => { + runTests(browser, done) + }) }, 'Import from node_modules #group1': function (browser) { /* when a relative import is used (i.e import "openzeppelin-solidity/contracts/math/SafeMath.sol") remix (as well as truffle) try to resolve it against the node_modules and installed_contracts folder. */ - - browser.waitForElementVisible('#icon-panel', 2000) + browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts')) + console.log('working directory', process.cwd()) + connectRemixd(browser, done) + }) + .waitForElementVisible('#icon-panel', 2000) .clickLaunchIcon('filePanel') .click('[data-path="ballot.sol"]') .addFile('test_import_node_modules.sol', sources[3]['test_import_node_modules.sol']) @@ -79,30 +100,35 @@ module.exports = { .testContracts('test_import_node_modules.sol', sources[3]['test_import_node_modules.sol'], ['SafeMath']) }, 'Import from node_modules and reference a github import #group2': function (browser) { - browser.waitForElementVisible('#icon-panel', 2000) + browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts')) + console.log('working directory', process.cwd()) + connectRemixd(browser, done) + }) + .waitForElementVisible('#icon-panel', 2000) .clickLaunchIcon('filePanel') .addFile('test_import_node_modules_with_github_import.sol', sources[4]['test_import_node_modules_with_github_import.sol']) .clickLaunchIcon('solidity') .setSolidityCompilerVersion('soljson-v0.8.0+commit.c7dfd78e.js') // open-zeppelin moved to pragma ^0.8.0 .testContracts('test_import_node_modules_with_github_import.sol', sources[4]['test_import_node_modules_with_github_import.sol'], ['ERC20', 'test11']) }, - 'Static Analysis run with remixd #group3': function (browser) { + 'Static Analysis run with remixd #group3': '' + function (browser) { browser.testContracts('test_static_analysis_with_remixd_and_hardhat.sol', sources[5]['test_static_analysis_with_remixd_and_hardhat.sol'], ['test5']).pause(2000) .clickLaunchIcon('solidityStaticAnalysis') - /* - .click('#staticanalysisButton button').pause(4000) - .waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () { - browser - .waitForElementVisible('[data-id="staticAnalysisModuleMiscellaneous1Button"]') - .click('[data-id="staticAnalysisModuleMiscellaneous1Button"]') - .waitForElementVisible('.highlightLine16', 60000) - .getEditorValue((content) => { - browser.assert.ok(content.indexOf( - 'function _sendLogPayload(bytes memory payload) private view {') !== -1, - 'code has not been loaded') - }) - }) - */ + /* + .click('#staticanalysisButton button').pause(4000) + .waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () { + browser + .waitForElementVisible('[data-id="staticAnalysisModuleMiscellaneous1Button"]') + .click('[data-id="staticAnalysisModuleMiscellaneous1Button"]') + .waitForElementVisible('.highlightLine16', 60000) + .getEditorValue((content) => { + browser.assert.ok(content.indexOf( + 'function _sendLogPayload(bytes memory payload) private view {') !== -1, + 'code has not been loaded') + }) + }) + */ }, 'Run git status': '' + function (browser) { @@ -112,38 +138,85 @@ module.exports = { .journalLastChildIncludes('On branch ') }, - 'Close Remixd #group3': function (browser) { + 'Close Remixd #group3': '' + function (browser) { browser .clickLaunchIcon('pluginManager') .scrollAndClick('#pluginManager *[data-id="pluginManagerComponentDeactivateButtonremixd"]') }, 'Should listen on compilation result from hardhat #group5': function (browser: NightwatchBrowser) { + browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/hardhat')) console.log('working directory', process.cwd()) - writeFileSync('./apps/remix-ide/contracts/artifacts/build-info/c7062fdd360381a85af23eeef31c98f8.json', JSON.stringify(hardhatCompilation)) - done() + connectRemixd(browser, done) }) - .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from hardhat').before(60000) - - browser.clickLaunchIcon('udapp') - .assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by hardhat') + .perform((done) => { + console.log('generating compilation result') + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/build-info/7839ba878952cc00ff316061405f273a.json', JSON.stringify(hardhatCompilation)) + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.json', JSON.stringify(hardhat_compilation_Lock)) + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.dbg.json', JSON.stringify(hardhat_compilation_Lock_dbg)) + done() + }) + .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from Hardhat').before(60000) + + browser.clickLaunchIcon('filePanel') + .openFile('contracts') + .openFile('contracts/Lock.sol') + .clickLaunchIcon('udapp') .selectContract('Lock') .createContract('1') .expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) - }, - 'Should listen on compilation result from foundry #group6': function (browser: NightwatchBrowser) { + + }, + + 'Should load compilation result from hardhat when remixd connects #group6': function (browser: NightwatchBrowser) { + // artifacts/build-info/c7062fdd360381a85af23eeef31c98f8.json has already been created + + browser + .perform((done) => { + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.dbg.json', JSON.stringify(hardhat_compilation_Lock_dbg)) + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.json', JSON.stringify(hardhat_compilation_Lock)) + writeFileSync('./apps/remix-ide/contracts/hardhat/artifacts/build-info/7839ba878952cc00ff316061405f273a.json', JSON.stringify(hardhatCompilation)) + done() + }) + .perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/hardhat')) + console.log('working directory', process.cwd()) + connectRemixd(browser, done) + }) + .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from Hardhat').before(60000) + + browser.clickLaunchIcon('filePanel') + .openFile('contracts') + .openFile('contracts/Lock.sol') + .clickLaunchIcon('udapp') + .selectContract('Lock') + .createContract('1') + .expect.element('*[data-id="terminalJournal"]').text.to.contain('Unlock time should be in the future').before(60000) + + + }, + + 'Should listen on compilation result from foundry #group7': function (browser: NightwatchBrowser) { + browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/foundry')) console.log('working directory', process.cwd()) - writeFileSync('./apps/remix-ide/contracts/out/Counter.sol/Counter.json', JSON.stringify(foundryCompilation)) - done() + connectRemixd(browser, done) }) - .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from foundry').before(60000) - + .perform((done) => { + writeFileSync('./apps/remix-ide/contracts/foundry/out/Counter.sol/Counter.json', JSON.stringify(foundryCompilation)) + done() + }) + .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from Foundry').before(60000) + let contractAaddress - browser.clickLaunchIcon('udapp') - .assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by foundry') + browser.clickLaunchIcon('filePanel') + .openFile('src') + .openFile('src/Counter.sol') + .clickLaunchIcon('udapp') .selectContract('Counter') .createContract('') .getAddressAtPosition(0, (address) => { @@ -156,49 +229,40 @@ module.exports = { browser.testConstantFunction(contractAaddress, 'number - call', null, '0:\nuint256: 1').perform(() => { done() }) - }) - }, + }) + + + }, + + 'Should listen on compilation result from truffle #group8': function (browser: NightwatchBrowser) { - 'Should listen on compilation result from truffle #group7': function (browser: NightwatchBrowser) { browser.perform((done) => { + remixd = spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/truffle')) console.log('working directory', process.cwd()) - writeFileSync('./apps/remix-ide/contracts/build/contracts/Migrations.json', JSON.stringify(truffle_compilation)) - done() + connectRemixd(browser, done) }) - .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from truffle').before(60000) - - browser.clickLaunchIcon('udapp') - .assert.textContains('*[data-id="udappCompiledBy"]', 'Compiled by truffle') + .perform((done) => { + writeFileSync('./apps/remix-ide/contracts/truffle/build/contracts/Migrations.json', JSON.stringify(truffle_compilation)) + done() + }) + .expect.element('*[data-id="terminalJournal"]').text.to.contain('receiving compilation result from Truffle').before(60000) + + browser.clickLaunchIcon('filePanel') + .openFile('contracts') + .openFile('contracts/Migrations.sol') + .clickLaunchIcon('udapp') .selectContract('Migrations') .createContract('') .testFunction('last', { status: 'true Transaction mined and execution succeed' - }) - } -} + }) -function startRemixd (browser: NightwatchBrowser) { - const browserName = browser.options.desiredCapabilities.browserName - if (browserName === 'safari' || browserName === 'internet explorer') { - console.log('do not run remixd test for ' + browserName + ': sauce labs doesn\'t seems to handle websocket') - browser.end() - return - } - browser - .waitForElementVisible('#icon-panel', 2000) - .clickLaunchIcon('filePanel') - .clickLaunchIcon('pluginManager') - .scrollAndClick('#pluginManager *[data-id="pluginManagerComponentActivateButtonremixd"]') - .waitForElementVisible('*[data-id="remixdConnect-modal-footer-ok-react"]', 2000) - .pause(2000) - .click('*[data-id="remixdConnect-modal-footer-ok-react"]') - .pause(10000) - // .click('*[data-id="workspacesModalDialog-modal-footer-ok-react"]') + } } -function runTests (browser: NightwatchBrowser) { +function runTests(browser: NightwatchBrowser, done: any) { const browserName = browser.options.desiredCapabilities.browserName browser.clickLaunchIcon('filePanel') .waitForElementVisible('[data-path="folder1"]') @@ -230,10 +294,11 @@ function runTests (browser: NightwatchBrowser) { .waitForElementVisible('[data-path="folder1/renamed_contract_' + browserName + '.sol"]') // check if renamed file is preset .waitForElementNotPresent('[data-path="folder1/contract_' + browserName + '.sol"]') // check if renamed (old) file is not present .waitForElementNotPresent('[data-path="folder1/contract_' + browserName + '_toremove.sol"]') // check if removed (old) file is not present + .perform(done()) // .click('[data-path="folder1/renamed_contract_' + browserName + '.sol"]') } -function testImportFromRemixd (browser: NightwatchBrowser, callback: VoidFunction) { +function testImportFromRemixd(browser: NightwatchBrowser, callback: VoidFunction) { browser .waitForElementVisible('[data-path="src"]', 100000) .click('[data-path="src"]') @@ -245,3 +310,37 @@ function testImportFromRemixd (browser: NightwatchBrowser, callback: VoidFunctio .verifyContracts(['Assets', 'gmbh']) .perform(() => { callback() }) } + +function spawnRemixd(path: string) { + const remixd = spawn('yarn run remixd', [`-s ${path}`], { cwd: process.cwd(), shell: true, detached: true }) + remixd.stdout.on('data', function (data) { + console.log('stdout: ' + data.toString()) + }) + remixd.stderr.on('err', function (data) { + console.log('err: ' + data.toString()) + }) + return remixd +} + +function connectRemixd(browser: NightwatchBrowser, done: any) { + const browserName = browser.options.desiredCapabilities.browserName + if (browserName === 'safari' || browserName === 'internet explorer') { + console.log('do not run remixd test for ' + browserName + ': sauce labs doesn\'t seems to handle websocket') + browser.end() + done() + return + } + + browser + .pause(5000) + .waitForElementVisible('#icon-panel', 2000) + .clickLaunchIcon('filePanel') + .clickLaunchIcon('pluginManager') + .scrollAndClick('#pluginManager *[data-id="pluginManagerComponentActivateButtonremixd"]') + .waitForElementVisible('*[data-id="remixdConnect-modal-footer-ok-react"]', 2000) + .pause(2000) + .click('*[data-id="remixdConnect-modal-footer-ok-react"]') + .pause(5000) + .perform(() => done()) +} + diff --git a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts b/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts index 5e7284368a..01d48ef889 100644 --- a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts +++ b/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts @@ -152,9 +152,12 @@ module.exports = { .waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]') .addFile('myTests/simple_storage_test.sol', sources[0]['tests/simple_storage_test.sol']) .clickLaunchIcon('solidityUnitTesting') - .clearValue('*[data-id="uiPathInput"]') - .setValue('*[data-id="uiPathInput"]', 'myTests') + .execute(() => { + const myQuery: any = document.getElementById('utPath') + myQuery.value = 'myTests' + }) .click('*[data-id="testTabGenerateTestFolder"]') + .saveScreenshot('./reports/screenshots/changeCurrentPathg3.png') .clickElementAtPosition('.singleTest', 0, { forceSelectIfUnselected: true }) .scrollAndClick('*[data-id="testTabRunTestsTabRunAction"]') .waitForElementPresent('*[data-id="testTabSolidityUnitTestsOutputheader"]', 60000) @@ -287,7 +290,7 @@ module.exports = { .waitForElementContainsText('*[data-id="sidePanelSwapitTitle"]', 'DEBUGGER', 60000) .waitForElementContainsText('*[data-id="functionPanel"]', 'checkWinningProposalFailed()', 60000) .waitForElementVisible('*[data-id="dropdownPanelSolidityLocals"]').pause(1000) - .waitForElementContainsText('*[data-id="solidityLocals"]', 'no locals', 60000) + .waitForElementContainsText('*[data-id="solidityLocals"]', 'No data available', 60000) .goToVMTraceStep(316) .waitForElementContainsText('*[data-id="functionPanel"]', 'checkWinningProposalFailed()', 60000) .waitForElementContainsText('*[data-id="functionPanel"]', 'vote(proposal)', 60000) @@ -359,15 +362,15 @@ const sources = [ contract SimpleStorage { uint public storedData; - + constructor() { storedData = 100; } - + function set(uint x) public { storedData = x; } - + function get() public view returns (uint retVal) { return storedData; } @@ -408,7 +411,7 @@ const sources = [ pragma solidity >=0.4.22 <0.9.0; contract Kickstarter { enum State { Started, Completed } - + struct Project { address owner; string name; @@ -420,10 +423,10 @@ const sources = [ } uint numProjects; Project[] public projects; - + constructor() { } - + function createProject(string memory name, uint goal) public { projects.push(); // new line Project storage project = projects[projects.length - 1]; @@ -432,28 +435,28 @@ const sources = [ project.owner = msg.sender; project.state = State.Started; } - + function fundProject(uint projectId) payable public { Project storage project = projects[projectId]; // require project exists // PLEASE CHECK / or erase // not this: require(projects[projectId].exists, "the project must exist to be funded"); - + // require for... underflow/overflow protection project.funders[msg.sender] += msg.value; project.amountContributed += msg.value; project.fundsAvailable += msg.value; - + if (project.amountContributed >= project.goal) { project.state = State.Completed; } } - + // this function is here because we can't use web3 when using the VM function getContractBalance() public view returns(uint balance) { return address(this).balance; } - + } ` }, @@ -470,13 +473,13 @@ const sources = [ enum State { Started, Completed } Kickstarter kickstarter; - + function beforeAll () public { kickstarter = new Kickstarter(); kickstarter.createProject("ProjectA", 123000); kickstarter.createProject("ProjectB", 100); } - + /// #sender: account-1 /// #value: 10000000 function checkProjectExists () public payable { @@ -512,14 +515,14 @@ const sources = [ (address owner, string memory name, uint goal, uint fundsAvailable, uint amountContributed, Kickstarter.State state) = kickstarter.projects(0); Assert.equal(amountContributed, 120000, "contributed amount is incorrect"); } - + } ` }, 'compilationError_test.sol': { content: ` pragma solidity ^0.8.0; - + contract failOnCompilation { fallback() { @@ -547,7 +550,7 @@ const sources = [ uint c = a+b; Assert.equal(a+b, c, "wrong value"); } - } + } ` }, 'tests/ballotFailedDebug_test.sol': { @@ -556,31 +559,31 @@ const sources = [ pragma solidity >=0.7.0 <0.9.0; import "remix_tests.sol"; // this import is automatically injected by Remix. import "../contracts/3_Ballot.sol"; - + contract BallotTest { - + bytes32[] proposalNames; - + Ballot ballotToTest; function beforeAll () public { proposalNames.push(bytes32("candidate1")); ballotToTest = new Ballot(proposalNames); } - + function checkWinningProposalFailed () public { ballotToTest.vote(1); Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal"); } - + function checkWinningProposalPassed () public { ballotToTest.vote(0); Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal"); } - + function checkWinningProposalAgain () public { Assert.equal(ballotToTest.winningProposal(), uint(1), "proposal at index 0 should be the winning proposal"); } - + function checkWinninProposalWithReturnValue () public view returns (bool) { return ballotToTest.winningProposal() == 0; } @@ -594,17 +597,17 @@ const sources = [ import "../contracts/3_Ballot.sol"; import "hardhat/console.sol"; - + contract BallotTest { - + bytes32[] proposalNames; - + Ballot ballotToTest; function beforeAll () public { proposalNames.push(bytes32("candidate1")); ballotToTest = new Ballot(proposalNames); } - + function checkWinningProposal () public { console.log("Inside checkWinningProposal"); ballotToTest.vote(1); // This will revert the transaction @@ -617,13 +620,13 @@ const sources = [ pragma solidity >=0.7.0 <0.9.0; import "remix_tests.sol"; // this import is automatically injected by Remix. import "hardhat/console.sol"; - + contract hhLogs { - + function beforeAll () public { console.log('Inside beforeAll'); } - + function checkSender () public { console.log('msg.sender is %s', msg.sender); Assert.ok(true, "should be true"); diff --git a/apps/remix-ide-e2e/src/tests/terminal.test.ts b/apps/remix-ide-e2e/src/tests/terminal.test.ts index a4ea473b66..d3953f54b4 100644 --- a/apps/remix-ide-e2e/src/tests/terminal.test.ts +++ b/apps/remix-ide-e2e/src/tests/terminal.test.ts @@ -7,7 +7,7 @@ module.exports = { before: function (browser: NightwatchBrowser, done: VoidFunction) { init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false) }, - 'Should execution a simple console command #group1 #group999': function (browser: NightwatchBrowser) { + 'Should execution a simple console command #group1': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="terminalCli"]', 10000) .executeScriptInTerminal('console.log(1 + 1)') diff --git a/apps/remix-ide-e2e/src/tests/vyper_api.ts b/apps/remix-ide-e2e/src/tests/vyper_api.ts index bb0afc3859..a6744227ee 100644 --- a/apps/remix-ide-e2e/src/tests/vyper_api.ts +++ b/apps/remix-ide-e2e/src/tests/vyper_api.ts @@ -24,7 +24,7 @@ module.exports = { 'Should clone the Vyper repo #group1': function (browser: NightwatchBrowser) { browser.click('button[data-id="add-repository"]') .frameParent() - .waitForElementContainsText('*[data-shared="tooltipPopup"]', 'Vyper repository cloned', 30000) + .waitForElementContainsText('*[data-shared="tooltipPopup"]', 'Vyper repository cloned', 60000) .openFile('examples') .openFile('examples/auctions') .openFile('examples/auctions/blind_auction.vy') diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index 6b0c78290c..2ad80c1caf 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -52,28 +52,40 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') // check js and ts files are not transformed .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') - + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './web3-lib')]", + locateStrategy: 'xpath' + }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './web3-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') - .pause(100) + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './ethers-lib')]", + locateStrategy: 'xpath' + }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './ethers-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') - .pause(100) + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'web3.eth.getAccounts')]", + locateStrategy: 'xpath' + }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, from?: string, gas?: number): Promise => {`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') - .pause(100) + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'ethers.providers')]", + locateStrategy: 'xpath' + }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, accountIndex?: number): Promise => {`) !== -1, 'Incorrect content') @@ -81,7 +93,10 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') .click('*[data-id="treeViewLitreeViewItemtests/storage.test.js"]') - .pause(100) + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'chai')]", + locateStrategy: 'xpath' + }) .getEditorValue((content) => { browser.assert.ok(content.indexOf(`const { expect } = require("chai");`) !== -1, 'Incorrect content') @@ -129,29 +144,41 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') // check js and ts files are not transformed .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './web3-lib')]", + locateStrategy: 'xpath', + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './web3-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './ethers-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './ethers-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'web3.eth.getAccounts')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, from?: string, gas?: number): Promise => {`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'ethers.providers')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, accountIndex?: number): Promise => {`) !== -1, 'Incorrect content') }) @@ -177,29 +204,41 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') // check js and ts files are not transformed .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './web3-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './web3-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './ethers-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './ethers-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'web3.eth.getAccounts')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, from?: string, gas?: number): Promise => {`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'ethers.providers')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, accountIndex?: number): Promise => {`) !== -1, 'Incorrect content') }) @@ -225,29 +264,41 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') // check js and ts files are not transformed .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') - .pause(1000) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './web3-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './web3-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './ethers-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './ethers-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'web3.eth.getAccounts')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, from?: string, gas?: number): Promise => {`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'ethers.providers')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, accountIndex?: number): Promise => {`) !== -1, 'Incorrect content') }) @@ -274,7 +325,7 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]') .click('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]') .pause(1000) - .getEditorValue((content) => { + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`contract MyToken is Initializable, ERC1155Upgradeable, OwnableUpgradeable, PausableUpgradeable, ERC1155BurnableUpgradeable, UUPSUpgradeable {`) !== -1, 'Incorrect content') }) @@ -282,22 +333,31 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') // check js and ts files are not transformed .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './web3-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './web3-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/deploy_with_ethers.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, './ethers-lib')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`import { deploy } from './ethers-lib'`) !== -1, 'Incorrect content') }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/web3-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'web3.eth.getAccounts')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, from?: string, gas?: number): Promise => {`) !== -1, 'Incorrect content') browser.assert.ok(content.indexOf(`gas: gas || 3600000`) !== -1, @@ -305,8 +365,11 @@ module.exports = { }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') .click('*[data-id="treeViewLitreeViewItemscripts/ethers-lib.ts"]') - .pause(100) - .getEditorValue((content) => { + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'ethers.providers')]", + locateStrategy: 'xpath' + }) + .getEditorValue((content) => { browser.assert.ok(content.indexOf(`export const deploy = async (contractName: string, args: Array, accountIndex?: number): Promise => {`) !== -1, 'Incorrect content') }) @@ -324,20 +387,20 @@ module.exports = { .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') .click('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') - .pause(1000) .addFile('test.sol', { content: 'test' }) .waitForElementVisible('*[data-id="treeViewLitreeViewItemtest.sol"]') + .waitForElementPresent({ + selector: "//div[contains(@class, 'view-line') and contains(.//span, 'test')]", + locateStrategy: 'xpath' + }) .click('*[data-id="workspaceCreate"]') .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') .click('*[data-id="fileSystemModalDialogContainer-react"] input[data-id="modalDialogCustomPromptTextCreate"]') .setValue('*[data-id="fileSystemModalDialogContainer-react"] input[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_name_1') .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') .click('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') - .pause(2000) .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') - .pause(2000) .waitForElementNotPresent('*[data-id="treeViewLitreeViewItemtest.sol"]') - .pause(2000) .switchWorkspace('workspace_name') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .currentWorkspaceIs('workspace_name') @@ -345,7 +408,15 @@ module.exports = { 'Should rename a workspace #group1': function (browser: NightwatchBrowser) { browser - .click('*[data-id="workspaceRename"]') // rename workspace_name + .useXpath() + .waitForElementPresent({ + selector: '//i[@data-icon="workspaceDropdownMenuIcon"]', + locateStrategy: 'xpath', + }) + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') // rename workspace_name + .useCss() .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]') .click('*[data-id="modalDialogCustomPromptTextRename"]') @@ -353,6 +424,7 @@ module.exports = { .setValue('*[data-id="modalDialogCustomPromptTextRename"]', 'workspace_name_renamed') .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') .click('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') + .pause(2000) .switchWorkspace('workspace_name_1') .pause(2000) .currentWorkspaceIs('workspace_name_1') @@ -365,94 +437,19 @@ module.exports = { 'Should delete a workspace #group1': function (browser: NightwatchBrowser) { browser - .switchWorkspace('workspace_name_1') - .click('*[data-id="workspaceDelete"]') // delete workspace_name_1 - .waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') - .click('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') - .waitForElementVisible('[data-id="workspacesSelect"]') - .click('[data-id="workspacesSelect"]') + .switchWorkspace('workspace_name_1')//*[@id="workspacesMenuDropdown"]/span + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[2]') // delete workspace_name_1 + .waitForElementVisible('//*[@id="fileExplorerView"]/div[2]/div/div/div[2]') + .click('//*[@id="fileExplorerView"]/div[2]/div/div/div[3]/button') + .waitForElementVisible('//*[@id="workspacesSelect"]') + .click('//*[@id="workspacesSelect"]') + .useCss() .waitForElementNotPresent(`[data-id="dropdown-item-workspace_name_1"]`) - }, - - // CLONE REPOSITORY E2E START - - 'Should clone a repository #group2': function (browser: NightwatchBrowser) { - browser - .clickLaunchIcon('filePanel') - .waitForElementVisible('[data-id="cloneGitRepository"]') - .click('[data-id="cloneGitRepository"]') - .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') - .click('[data-id="fileSystemModalDialogModalBody-react"]') - .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') - .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') - .click('[data-id="fileSystem-modal-footer-ok-react"]') - .waitForElementPresent('.fa-spinner') - .pause(5000) - .waitForElementNotPresent('.fa-spinner') - .waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]') - .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix') - }, - - 'Should display dgit icon for cloned workspace #group2': function (browser: NightwatchBrowser) { - browser - .switchWorkspace('default_workspace') - .waitForElementNotVisible('[data-id="workspacesSelect"] .fa-code-branch') - .switchWorkspace('awesome-remix') - .waitForElementVisible('[data-id="workspacesSelect"] .fa-code-branch') - }, - - 'Should display non-clashing names for duplicate clone #group2': '' + function (browser: NightwatchBrowser) { - browser - .waitForElementVisible('[data-id="cloneGitRepository"]') - .click('[data-id="cloneGitRepository"]') - .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') - .click('[data-id="fileSystemModalDialogModalBody-react"]') - .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') - .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') - .click('[data-id="fileSystem-modal-footer-ok-react"]') - .pause(5000) - .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix1') - .waitForElementVisible('[data-id="cloneGitRepository"]') - .click('[data-id="cloneGitRepository"]') - .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') - .click('[data-id="fileSystemModalDialogModalBody-react"]') - .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') - .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') - .click('[data-id="fileSystem-modal-footer-ok-react"]') - .pause(5000) - .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix2') - .waitForElementVisible('[data-id="cloneGitRepository"]') - .click('[data-id="cloneGitRepository"]') - .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') - .click('[data-id="fileSystemModalDialogModalBody-react"]') - .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') - .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') - .click('[data-id="fileSystem-modal-footer-ok-react"]') - .pause(5000) - .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix3') - .switchWorkspace('awesome-remix') - .switchWorkspace('awesome-remix1') - .switchWorkspace('awesome-remix2') - .switchWorkspace('awesome-remix3') - }, - - 'Should display error message in modal for failed clone #group2': function (browser: NightwatchBrowser) { - browser - .waitForElementVisible('[data-id="cloneGitRepository"]') - .click('[data-id="cloneGitRepository"]') - .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') - .click('[data-id="fileSystemModalDialogModalBody-react"]') - .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') - .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/non-existent-repo') - .click('[data-id="fileSystem-modal-footer-ok-react"]') - .pause(5000) - .waitForElementVisible('[data-id="cloneGitRepositoryModalDialogModalBody-react"]') - .waitForElementContainsText('[data-id="cloneGitRepositoryModalDialogModalBody-react"]', 'An error occurred: Please check that you have the correct URL for the repo. If the repo is private, you need to add your github credentials (with the valid token permissions) in Settings plugin') - .click('[data-id="cloneGitRepository-modal-footer-ok-react"]') .end() }, - // CLONE REPOSITORY E2E END - tearDown: sauce } + diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts new file mode 100644 index 0000000000..e2293f4153 --- /dev/null +++ b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts @@ -0,0 +1,274 @@ +'use strict' +import { NightwatchBrowser } from "nightwatch" +import init from "../helpers/init" +import sauce from "./sauce" + +module.exports = { + '@disabled': true, + before: function (browser: NightwatchBrowser, done: VoidFunction) { + init(browser, done) + }, + 'Should not be able to create GIT without credentials #group1': function (browser: NightwatchBrowser) { + browser + .clickLaunchIcon('filePanel') + .click('*[data-id="workspaceCreate"]') + .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') + .waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') + .waitForElementVisible({ + selector: "//*[@class='text-warning' and contains(.,'Please add username and email')]", + locateStrategy: 'xpath' + }) + .waitForElementPresent({ + selector: '//*[@data-id="initGitRepository"][@disabled]', + locateStrategy: 'xpath' + }) + .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_blank' }) + .click('[data-id="initGitRepositoryLabel"]') + .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') + .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) + .pause(100) + .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') + .waitForElementNotPresent('*[data-id="treeViewLitreeViewItem.git"]') + .waitForElementNotVisible('[data-id="workspaceGitPanel"]') + }, + 'Should add credentials #group1 #group2 #group3': function (browser: NightwatchBrowser) { + browser + .clickLaunchIcon('settings') + .setValue('[data-id="settingsTabGithubUsername"]', 'circleci') + .setValue('[data-id="settingsTabGithubEmail"]', 'remix@circleci.com') + .click('[data-id="settingsTabSaveGistToken"]') + }, + + 'Should create and initialize a GIT repository #group1': function (browser: NightwatchBrowser) { + browser + .clickLaunchIcon('filePanel') + .waitForElementNotVisible('[data-id="workspaceGitPanel"]') + .click('*[data-id="workspaceCreate"]') + .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') + .waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') + // eslint-disable-next-line dot-notation + .execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_blank' }) + .click('select[id="wstemplate"]') + .click('select[id="wstemplate"] option[value=blank]') + .click('[data-id="initGitRepositoryLabel"]') + .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') + .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) + .pause(100) + .waitForElementVisible('[data-id="workspaceGitPanel"]') + .waitForElementContainsText('[data-id="workspaceGitBranchesDropdown"]', 'main') + }, + + + + + // CLONE REPOSITORY E2E START + + 'Should clone a repository #group2': function (browser: NightwatchBrowser) { + browser + .clickLaunchIcon('filePanel') + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .waitForElementPresent('.fa-spinner') + .pause(5000) + .waitForElementNotPresent('.fa-spinner') + .waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]') + .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix') + }, + + 'Should display dgit icon for cloned workspace #group2': function (browser: NightwatchBrowser) { + browser + .switchWorkspace('default_workspace') + .waitForElementNotVisible('[data-id="workspacesSelect"] .fa-code-branch') + .switchWorkspace('awesome-remix') + .waitForElementVisible('[data-id="workspacesSelect"] .fa-code-branch') + }, + + 'Should display non-clashing names for duplicate clone #group2': '' + function (browser: NightwatchBrowser) { + browser + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .pause(5000) + .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix1') + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .pause(5000) + .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix2') + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/awesome-remix') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .pause(5000) + .waitForElementContainsText('[data-id="workspacesSelect"]', 'awesome-remix3') + .switchWorkspace('awesome-remix') + .switchWorkspace('awesome-remix1') + .switchWorkspace('awesome-remix2') + .switchWorkspace('awesome-remix3') + }, + + 'Should display error message in modal for failed clone #group2': function (browser: NightwatchBrowser) { + browser + .useXpath() + .waitForElementPresent({ + selector: '//i[@data-icon="workspaceDropdownMenuIcon"]', + locateStrategy: 'xpath', + }) + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ethereum/non-existent-repo') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .pause(5000) + .waitForElementVisible('[data-id="cloneGitRepositoryModalDialogModalBody-react"]') + .waitForElementContainsText('[data-id="cloneGitRepositoryModalDialogModalBody-react"]', 'An error occurred: Please check that you have the correct URL for the repo. If the repo is private, you need to add your github credentials (with the valid token permissions) in Settings plugin') + .click('[data-id="cloneGitRepository-modal-footer-ok-react"]') + }, + + // CLONE REPOSITORY E2E END + + // GIT BRANCHES E2E START + 'Should show all cloned repo branches #group3': function (browser: NightwatchBrowser) { + browser + .clickLaunchIcon('filePanel') + .waitForElementNotVisible('[data-id="workspaceGitPanel"]') + .useXpath() + .click('//*[@id="workspacesMenuDropdown"]/span/i') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .useCss() + .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') + .click('[data-id="fileSystemModalDialogModalBody-react"]') + .waitForElementVisible('[data-id="modalDialogCustomPromptTextClone"]') + .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/ioedeveloper/test-branch-change') + .click('[data-id="fileSystem-modal-footer-ok-react"]') + .waitForElementPresent('.fa-spinner') + .pause(5000) + .waitForElementNotPresent('.fa-spinner') + .waitForElementContainsText('[data-id="workspacesSelect"]', 'test-branch-change') + .waitForElementVisible('[data-id="workspaceGitPanel"]') + .click('[data-id="workspaceGitBranchesDropdown"]') + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .waitForElementContainsText('[data-id="custom-dropdown-items"]', 'origin/dev') + .waitForElementContainsText('[data-id="custom-dropdown-items"]', 'origin/production') + .waitForElementContainsText('[data-id="custom-dropdown-items"]', 'origin/setup') + .expect.element('[data-id="workspaceGit-main"]').text.to.contain('✓ ') + }, + + 'Should a checkout to a remote branch #group3': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .waitForElementContainsText('[data-id="custom-dropdown-items"]', 'origin/dev') + .waitForElementPresent('[data-id="workspaceGit-origin/dev"]') + .click('[data-id="workspaceGit-origin/dev"]') + .pause(5000) + .waitForElementPresent('[data-id="treeViewDivtreeViewItemdev.ts"]') + .click('[data-id="workspaceGitBranchesDropdown"]') + .expect.element('[data-id="workspaceGit-dev"]').text.to.contain('✓ ') + }, + + 'Should search for a branch (local and remote) #group3': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .waitForElementPresent('[data-id="workspaceGitInput"]') + .sendKeys('[data-id="workspaceGitInput"]', 'setup') + .waitForElementNotPresent('[data-id="workspaceGit-origin/dev"]') + .waitForElementNotPresent('[data-id="workspaceGit-origin/production"]') + .waitForElementNotPresent('[data-id="workspaceGit-dev"]') + .waitForElementNotPresent('[data-id="workspaceGit-main"]') + .waitForElementPresent('[data-id="workspaceGit-origin/setup"]') + }, + + 'Should checkout to a new local branch #group3': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .waitForElementPresent('[data-id="workspaceGitInput"]') + .clearValue('[data-id="workspaceGitInput"]') + .sendKeys('[data-id="workspaceGitInput"]', 'newLocalBranch') + .waitForElementContainsText('[data-id="workspaceGitCreateNewBranch"]', `Create branch: newLocalBranch from 'dev'`) + .click('[data-id="workspaceGitCreateNewBranch"]') + .pause(2000) + .click('[data-id="workspaceGitBranchesDropdown"]') + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .expect.element('[data-id="workspaceGit-newLocalBranch"]').text.to.contain('✓ ') + }, + + 'Should checkout to an exisiting local branch #group3': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('[data-id="custom-dropdown-menu"]') + .waitForElementPresent('[data-id="workspaceGitInput"]') + .clearValue('[data-id="workspaceGitInput"]') + .sendKeys('[data-id="workspaceGitInput"]', [browser.Keys.SPACE, browser.Keys.BACK_SPACE]) + .waitForElementPresent('[data-id="workspaceGit-main"]') + .click('[data-id="workspaceGit-main"]') + .pause(2000) + .waitForElementNotPresent('[data-id="treeViewDivtreeViewItemdev.ts"]') + .waitForElementPresent('[data-id="treeViewDivtreeViewItemmain.ts"]') + .click('[data-id="workspaceGitBranchesDropdown"]') + .expect.element('[data-id="workspaceGit-main"]').text.to.contain('✓ ') + }, + + 'Should prevent checkout to a branch if local changes exists #group3': function (browser: NightwatchBrowser) { + browser + .renamePath('README.md', 'README.txt', 'README.txt') + .waitForElementVisible('[data-id="workspaceGitBranchesDropdown"]') + .click('[data-id="workspaceGitBranchesDropdown"]') + .waitForElementVisible('[data-id="workspaceGit-dev"]') + .click('[data-id="workspaceGit-dev"]') + .waitForElementVisible('[data-id="switchBranchModalDialogContainer-react"]') + .waitForElementContainsText('[data-id="switchBranchModalDialogModalBody-react"]', 'Your local changes to the following files would be overwritten by checkout.') + .click('[data-id="switchBranchModalDialogModalFooter-react"]') + .click('[data-id="switchBranch-modal-footer-cancel-react"]') + .pause(2000) + .click('[data-id="workspaceGitBranchesDropdown"]') + .expect.element('[data-id="workspaceGit-main"]').text.to.contain('✓ ') + }, + + 'Should force checkout to a branch with exisiting local changes #group3': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('[data-id="workspaceGit-dev"]') + .click('[data-id="workspaceGit-dev"]') + .waitForElementVisible('[data-id="switchBranchModalDialogContainer-react"]') + .waitForElementContainsText('[data-id="switchBranchModalDialogModalBody-react"]', 'Your local changes to the following files would be overwritten by checkout.') + .click('[data-id="switchBranchModalDialogModalFooter-react"]') + .click('[data-id="switchBranch-modal-footer-ok-react"]') + .pause(2000) + .click('[data-id="workspaceGitBranchesDropdown"]') + .expect.element('[data-id="workspaceGit-dev"]').text.to.contain('✓ ') + }, + + // GIT BRANCHES E2E END + + tearDown: sauce +} \ No newline at end of file diff --git a/apps/remix-ide/ci/browser_test.sh b/apps/remix-ide/ci/browser_test.sh index 4149f4fda7..00e7ec440d 100755 --- a/apps/remix-ide/ci/browser_test.sh +++ b/apps/remix-ide/ci/browser_test.sh @@ -11,7 +11,6 @@ TEST_EXITCODE=0 yarn run ganache-cli & yarn run serve:production & echo 'sharing folder: ' $PWD '/apps/remix-ide/contracts' & -yarn run remixd & sleep 5 @@ -21,7 +20,7 @@ yarn run build:e2e node apps/remix-ide/ci/splice_tests.js $2 $3 TESTFILES=$(node apps/remix-ide/ci/splice_tests.js $2 $3 | circleci tests split --split-by=timings) for TESTFILE in $TESTFILES; do - npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/${TESTFILE}.js --env=$1 || TEST_EXITCODE=1 + npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/${TESTFILE}.js --env=$1 || npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/${TESTFILE}.js --env=$1 || TEST_EXITCODE=1 done echo "$TEST_EXITCODE" diff --git a/apps/remix-ide/ci/flaky.sh b/apps/remix-ide/ci/flaky.sh index 41e6c69528..df38c62885 100755 --- a/apps/remix-ide/ci/flaky.sh +++ b/apps/remix-ide/ci/flaky.sh @@ -21,7 +21,6 @@ TEST_EXITCODE=0 yarn run ganache-cli & yarn run serve:production & echo 'sharing folder: ' $PWD '/apps/remix-ide/contracts' & -yarn run remixd & npx nx serve remix-ide-e2e-src-local-plugin & sleep 5 diff --git a/apps/remix-ide/contracts/foundry/cache/solidity-files-cache.json b/apps/remix-ide/contracts/foundry/cache/solidity-files-cache.json new file mode 100644 index 0000000000..593bdf2e36 --- /dev/null +++ b/apps/remix-ide/contracts/foundry/cache/solidity-files-cache.json @@ -0,0 +1,398 @@ +{ + "_format": "ethers-rs-sol-cache-3", + "paths": { + "artifacts": "out", + "build_infos": "out/build-info", + "sources": "src", + "tests": "test", + "scripts": "script", + "libraries": [ + "lib" + ] + }, + "files": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "lastModificationDate": 1661541843388, + "contentHash": "962996f0e05d5218857a538a62d7c47e", + "sourceName": "lib/forge-std/lib/ds-test/src/test.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [], + "versionRequirement": ">=0.5.0", + "artifacts": { + "DSTest": { + "0.8.16+commit.07a7930e.Linux.gcc": "test.sol/DSTest.json" + } + } + }, + "lib/forge-std/src/Script.sol": { + "lastModificationDate": 1661541842048, + "contentHash": "b313d0193442f5a12848be9c422a0064", + "sourceName": "lib/forge-std/src/Script.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [ + "lib/forge-std/src/Vm.sol", + "lib/forge-std/src/console.sol", + "lib/forge-std/src/console2.sol" + ], + "versionRequirement": ">=0.6.0, <0.9.0", + "artifacts": { + "Script": { + "0.8.16+commit.07a7930e.Linux.gcc": "Script.sol/Script.json" + } + } + }, + "lib/forge-std/src/Test.sol": { + "lastModificationDate": 1661541842048, + "contentHash": "8e1ae731c7bb8023f36077d86d18693f", + "sourceName": "lib/forge-std/src/Test.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [ + "lib/forge-std/lib/ds-test/src/test.sol", + "lib/forge-std/src/Script.sol", + "lib/forge-std/src/Vm.sol", + "lib/forge-std/src/console.sol", + "lib/forge-std/src/console2.sol" + ], + "versionRequirement": ">=0.6.0, <0.9.0", + "artifacts": { + "Test": { + "0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/Test.json" + }, + "stdError": { + "0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdError.json" + }, + "stdMath": { + "0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdMath.json" + }, + "stdStorage": { + "0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdStorage.json" + } + } + }, + "lib/forge-std/src/Vm.sol": { + "lastModificationDate": 1661541842048, + "contentHash": "225040109969e43ff90255e34aaecc99", + "sourceName": "lib/forge-std/src/Vm.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [], + "versionRequirement": ">=0.6.0, <0.9.0", + "artifacts": { + "Vm": { + "0.8.16+commit.07a7930e.Linux.gcc": "Vm.sol/Vm.json" + } + } + }, + "lib/forge-std/src/console.sol": { + "lastModificationDate": 1663196945880, + "contentHash": "100b8a33b917da1147740d7ab8b0ded3", + "sourceName": "lib/forge-std/src/console.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [], + "versionRequirement": ">=0.4.22, <0.9.0", + "artifacts": { + "console": { + "0.8.16+commit.07a7930e.Linux.gcc": "console.sol/console.json" + } + } + }, + "lib/forge-std/src/console2.sol": { + "lastModificationDate": 1661541842052, + "contentHash": "5df91f8e93efbfcccf68973dc1b74a70", + "sourceName": "lib/forge-std/src/console2.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [], + "versionRequirement": ">=0.4.22, <0.9.0", + "artifacts": { + "console2": { + "0.8.16+commit.07a7930e.Linux.gcc": "console2.sol/console2.json" + } + } + }, + "script/Counter.s.sol": { + "lastModificationDate": 1661541840908, + "contentHash": "0705c52104730a78aef4aa6694175c81", + "sourceName": "script/Counter.s.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [ + "lib/forge-std/src/Script.sol", + "lib/forge-std/src/Vm.sol", + "lib/forge-std/src/console.sol", + "lib/forge-std/src/console2.sol" + ], + "versionRequirement": "^0.8.13", + "artifacts": { + "CounterScript": { + "0.8.16+commit.07a7930e.Linux.gcc": "Counter.s.sol/CounterScript.json" + } + } + }, + "src/Counter.sol": { + "lastModificationDate": 1664875932853, + "contentHash": "ae6c800a2b4c57768024d6e9423d39e8", + "sourceName": "src/Counter.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [], + "versionRequirement": "^0.8.13", + "artifacts": { + "Counter": { + "0.8.16+commit.07a7930e.Linux.gcc": "Counter.sol/Counter.json" + } + } + }, + "test/Counter.t.sol": { + "lastModificationDate": 1661541840908, + "contentHash": "5122f4f87ee8fbf9a2468a4c9c780b6a", + "sourceName": "test/Counter.t.sol", + "solcConfig": { + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "outputSelection": { + "*": { + "": [ + "ast" + ], + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata" + ] + } + }, + "evmVersion": "london", + "libraries": {} + } + }, + "imports": [ + "lib/forge-std/lib/ds-test/src/test.sol", + "lib/forge-std/src/Script.sol", + "lib/forge-std/src/Test.sol", + "lib/forge-std/src/Vm.sol", + "lib/forge-std/src/console.sol", + "lib/forge-std/src/console2.sol", + "src/Counter.sol" + ], + "versionRequirement": "^0.8.13", + "artifacts": { + "CounterTest": { + "0.8.16+commit.07a7930e.Linux.gcc": "Counter.t.sol/CounterTest.json" + } + } + } + } + } \ No newline at end of file diff --git a/apps/remix-ide/contracts/foundry.toml b/apps/remix-ide/contracts/foundry/foundry.toml similarity index 100% rename from apps/remix-ide/contracts/foundry.toml rename to apps/remix-ide/contracts/foundry/foundry.toml diff --git a/apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.json b/apps/remix-ide/contracts/foundry/out/Counter.s.sol/CounterScript.json similarity index 60% rename from apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.json rename to apps/remix-ide/contracts/foundry/out/Counter.s.sol/CounterScript.json index 96b2f769b3..07594bec5e 100644 --- a/apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.json +++ b/apps/remix-ide/contracts/foundry/out/Counter.s.sol/CounterScript.json @@ -57,6 +57,125 @@ "setUp()": "0a9254e4", "vm()": "3a768463" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setUp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"script/Counter.s.sol\":\"CounterScript\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"script/Counter.s.sol\":{\"keccak256\":\"0x01edaa1835b1a5bd3f4f66f73451488b8441d30642d3bf1f5fa2c5bf7c005bee\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3c6a0f19216ceeebf4ec16f8f2662a3bebbe18d4037d1399adf2e3e4ccbb57a2\",\"dweb:/ipfs/Qmc8NknjPkSgbXLg6zZQ8uKT6kAWBvBXz5JrDvZfa88UNT\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_SCRIPT", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "run" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "setUp" + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "vm", + "outputs": [ + { + "internalType": "contract Vm", + "name": "", + "type": "address" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "script/Counter.s.sol": "CounterScript" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + }, + "script/Counter.s.sol": { + "keccak256": "0x01edaa1835b1a5bd3f4f66f73451488b8441d30642d3bf1f5fa2c5bf7c005bee", + "urls": [ + "bzz-raw://3c6a0f19216ceeebf4ec16f8f2662a3bebbe18d4037d1399adf2e3e4ccbb57a2", + "dweb:/ipfs/Qmc8NknjPkSgbXLg6zZQ8uKT6kAWBvBXz5JrDvZfa88UNT" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, "ast": { "absolutePath": "script/Counter.s.sol", "id": 21582, diff --git a/apps/remix-ide/contracts/foundry/out/Counter.sol/Counter.json b/apps/remix-ide/contracts/foundry/out/Counter.sol/Counter.json new file mode 100644 index 0000000000..11ebf2c45a --- /dev/null +++ b/apps/remix-ide/contracts/foundry/out/Counter.sol/Counter.json @@ -0,0 +1,377 @@ +{ + "abi": [ + { + "inputs": [], + "name": "increment", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "number", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newNumber", + "type": "uint256" + } + ], + "name": "setNumber", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5060f78061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033", + "sourceMap": "65:192:7:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, + "deployedBytecode": { + "object": "0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033", + "sourceMap": "65:192:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116:80;;;;;;:::i;:::-;171:6;:18;116:80;;;88:21;;;;;;;;;345:25:9;;;333:2;318:18;88:21:7;;;;;;;202:53;;240:6;:8;;;:6;:8;;;:::i;:::-;;;;;;202:53::o;14:180:9:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:9;;14:180;-1:-1:-1;14:180:9:o;381:232::-;420:3;441:17;;;438:140;;500:10;495:3;491:20;488:1;481:31;535:4;532:1;525:15;563:4;560:1;553:15;438:140;-1:-1:-1;605:1:9;594:13;;381:232::o", + "linkReferences": {} + }, + "methodIdentifiers": { + "increment()": "d09de08a", + "number()": "8381f58a", + "setNumber(uint256)": "3fb5c1cb" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"number\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNumber\",\"type\":\"uint256\"}],\"name\":\"setNumber\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/Counter.sol\":\"Counter\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"src/Counter.sol\":{\"keccak256\":\"0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200\",\"dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "increment" + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "number", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newNumber", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "setNumber" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "src/Counter.sol": "Counter" + }, + "libraries": {} + }, + "sources": { + "src/Counter.sol": { + "keccak256": "0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053", + "urls": [ + "bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200", + "dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "src/Counter.sol", + "id": 21604, + "exportedSymbols": { + "Counter": [ + 21603 + ] + }, + "nodeType": "SourceUnit", + "src": "39:219:7", + "nodes": [ + { + "id": 21583, + "nodeType": "PragmaDirective", + "src": "39:24:7", + "literals": [ + "solidity", + "^", + "0.8", + ".13" + ] + }, + { + "id": 21603, + "nodeType": "ContractDefinition", + "src": "65:192:7", + "nodes": [ + { + "id": 21585, + "nodeType": "VariableDeclaration", + "src": "88:21:7", + "constant": false, + "functionSelector": "8381f58a", + "mutability": "mutable", + "name": "number", + "nameLocation": "103:6:7", + "scope": 21603, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 21584, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "88:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "public" + }, + { + "id": 21595, + "nodeType": "FunctionDefinition", + "src": "116:80:7", + "body": { + "id": 21594, + "nodeType": "Block", + "src": "161:35:7", + "statements": [ + { + "expression": { + "id": 21592, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 21590, + "name": "number", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 21585, + "src": "171:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 21591, + "name": "newNumber", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 21587, + "src": "180:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "171:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 21593, + "nodeType": "ExpressionStatement", + "src": "171:18:7" + } + ] + }, + "functionSelector": "3fb5c1cb", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setNumber", + "nameLocation": "125:9:7", + "parameters": { + "id": 21588, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 21587, + "mutability": "mutable", + "name": "newNumber", + "nameLocation": "143:9:7", + "nodeType": "VariableDeclaration", + "scope": 21595, + "src": "135:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 21586, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "135:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "134:19:7" + }, + "returnParameters": { + "id": 21589, + "nodeType": "ParameterList", + "parameters": [], + "src": "161:0:7" + }, + "scope": 21603, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 21602, + "nodeType": "FunctionDefinition", + "src": "202:53:7", + "body": { + "id": 21601, + "nodeType": "Block", + "src": "230:25:7", + "statements": [ + { + "expression": { + "id": 21599, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "240:8:7", + "subExpression": { + "id": 21598, + "name": "number", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 21585, + "src": "240:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 21600, + "nodeType": "ExpressionStatement", + "src": "240:8:7" + } + ] + }, + "functionSelector": "d09de08a", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "increment", + "nameLocation": "211:9:7", + "parameters": { + "id": 21596, + "nodeType": "ParameterList", + "parameters": [], + "src": "220:2:7" + }, + "returnParameters": { + "id": 21597, + "nodeType": "ParameterList", + "parameters": [], + "src": "230:0:7" + }, + "scope": 21603, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "Counter", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 21603 + ], + "name": "Counter", + "nameLocation": "74:7:7", + "scope": 21604, + "usedErrors": [] + } + ], + "license": "UNLICENSED" + }, + "id": 7 +} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.json b/apps/remix-ide/contracts/foundry/out/Counter.t.sol/CounterTest.json similarity index 63% rename from apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.json rename to apps/remix-ide/contracts/foundry/out/Counter.t.sol/CounterTest.json index 8cba6157d0..cc3221aba3 100644 --- a/apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.json +++ b/apps/remix-ide/contracts/foundry/out/Counter.t.sol/CounterTest.json @@ -458,12 +458,12 @@ } ], "bytecode": { - "object": "0x60806040526000805462ff00ff19166201000117905534801561002157600080fd5b5061093f806100316000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b913a5ca1161005b578063b913a5ca146100f5578063ba414fa6146100fd578063f8ccbf4714610115578063fa7626d41461012857600080fd5b80630a9254e41461008d5780633a7684631461009757806361bc221a146100cf57806370f985be146100e2575b600080fd5b610095610135565b005b6100b2737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6008546100b2906001600160a01b031681565b6100956100f0366004610709565b6101ce565b6100956102af565b61010561039a565b60405190151581526020016100c6565b6000546101059062010000900460ff1681565b6000546101059060ff1681565b604051610141906106fc565b604051809103906000f08015801561015d573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169182179055604051633fb5c1cb60e01b815260006004820152633fb5c1cb90602401600060405180830381600087803b1580156101b457600080fd5b505af11580156101c8573d6000803e3d6000fd5b50505050565b600854604051633fb5c1cb60e01b8152600481018390526001600160a01b0390911690633fb5c1cb90602401600060405180830381600087803b15801561021457600080fd5b505af1158015610228573d6000803e3d6000fd5b505050506102ac600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190610722565b826104c5565b50565b600860009054906101000a90046001600160a01b03166001600160a01b031663d09de08a6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b50505050610398600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610722565b60016104c5565b565b60008054610100900460ff16156103ba5750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156104c05760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610448917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161076b565b60408051601f19818403018152908290526104629161078f565b6000604051808303816000865af19150503d806000811461049f576040519150601f19603f3d011682016040523d82523d6000602084013e6104a4565b606091505b50915050808060200190518101906104bc91906107a2565b9150505b919050565b8082146105ec577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516105369060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a160408051818152600a81830152690808115e1c1958dd195960b21b60608201526020810183905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a160408051818152600a8183015269080808081058dd1d585b60b21b60608201526020810184905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a16105ec6105f0565b5050565b737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156106eb5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905261068a929160200161076b565b60408051601f19818403018152908290526106a49161078f565b6000604051808303816000865af19150503d80600081146106e1576040519150601f19603f3d011682016040523d82523d6000602084013e6106e6565b606091505b505050505b6000805461ff001916610100179055565b610145806107c583390190565b60006020828403121561071b57600080fd5b5035919050565b60006020828403121561073457600080fd5b5051919050565b6000815160005b8181101561075c5760208185018101518683015201610742565b50600093019283525090919050565b6001600160e01b0319831681526000610787600483018461073b565b949350505050565b600061079b828461073b565b9392505050565b6000602082840312156107b457600080fd5b8151801515811461079b57600080fdfe608060405234801561001057600080fd5b50610125806100206000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146052578063d09de08a14606c575b600080fd5b6050604c3660046095565b6072565b005b605a60005481565b60405190815260200160405180910390f35b60506081565b607b81607b60c3565b60005550565b600080549080608e8360d9565b9190505550565b60006020828403121560a657600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111560d35760d360ad565b92915050565b60006001820160e85760e860ad565b506001019056fea2646970667358221220981d705d73c405a1cadf6bcd0ff9f1d0fcbbc1599040e504e71517ff0d8aa53264736f6c63430008100033a2646970667358221220147263a13974ad68f85faa7b08304fe21926e7249b84a12780530843cbef02ca64736f6c63430008100033", + "object": "0x60806040526000805462ff00ff19166201000117905534801561002157600080fd5b50610910806100316000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b913a5ca1161005b578063b913a5ca146100f5578063ba414fa6146100fd578063f8ccbf4714610115578063fa7626d41461012857600080fd5b80630a9254e41461008d5780633a7684631461009757806361bc221a146100cf57806370f985be146100e2575b600080fd5b610095610135565b005b6100b2737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6008546100b2906001600160a01b031681565b6100956100f0366004610709565b6101ce565b6100956102af565b61010561039a565b60405190151581526020016100c6565b6000546101059062010000900460ff1681565b6000546101059060ff1681565b604051610141906106fc565b604051809103906000f08015801561015d573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169182179055604051633fb5c1cb60e01b815260006004820152633fb5c1cb90602401600060405180830381600087803b1580156101b457600080fd5b505af11580156101c8573d6000803e3d6000fd5b50505050565b600854604051633fb5c1cb60e01b8152600481018390526001600160a01b0390911690633fb5c1cb90602401600060405180830381600087803b15801561021457600080fd5b505af1158015610228573d6000803e3d6000fd5b505050506102ac600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190610722565b826104c5565b50565b600860009054906101000a90046001600160a01b03166001600160a01b031663d09de08a6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b50505050610398600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610722565b60016104c5565b565b60008054610100900460ff16156103ba5750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156104c05760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610448917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161076b565b60408051601f19818403018152908290526104629161078f565b6000604051808303816000865af19150503d806000811461049f576040519150601f19603f3d011682016040523d82523d6000602084013e6104a4565b606091505b50915050808060200190518101906104bc91906107a2565b9150505b919050565b8082146105ec577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516105369060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a160408051818152600a81830152690808115e1c1958dd195960b21b60608201526020810183905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a160408051818152600a8183015269080808081058dd1d585b60b21b60608201526020810184905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a16105ec6105f0565b5050565b737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156106eb5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905261068a929160200161076b565b60408051601f19818403018152908290526106a49161078f565b6000604051808303816000865af19150503d80600081146106e1576040519150601f19603f3d011682016040523d82523d6000602084013e6106e6565b606091505b505050505b6000805461ff001916610100179055565b610116806107c583390190565b60006020828403121561071b57600080fd5b5035919050565b60006020828403121561073457600080fd5b5051919050565b6000815160005b8181101561075c5760208185018101518683015201610742565b50600093019283525090919050565b6001600160e01b0319831681526000610787600483018461073b565b949350505050565b600061079b828461073b565b9392505050565b6000602082840312156107b457600080fd5b8151801515811461079b57600080fdfe608060405234801561001057600080fd5b5060f78061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033a2646970667358221220dcd18b56e4c79c675c9abea4c20acf75942ffd7a1bb5103cf1ceb17eb729bfb264736f6c63430008100033", "sourceMap": "124:393:8:-:0;;;1572:26:0;;;-1:-1:-1;;165:28:1;;;;;124:393:8;;;;;;;;;;;;;;;;", "linkReferences": {} }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063b913a5ca1161005b578063b913a5ca146100f5578063ba414fa6146100fd578063f8ccbf4714610115578063fa7626d41461012857600080fd5b80630a9254e41461008d5780633a7684631461009757806361bc221a146100cf57806370f985be146100e2575b600080fd5b610095610135565b005b6100b2737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6008546100b2906001600160a01b031681565b6100956100f0366004610709565b6101ce565b6100956102af565b61010561039a565b60405190151581526020016100c6565b6000546101059062010000900460ff1681565b6000546101059060ff1681565b604051610141906106fc565b604051809103906000f08015801561015d573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169182179055604051633fb5c1cb60e01b815260006004820152633fb5c1cb90602401600060405180830381600087803b1580156101b457600080fd5b505af11580156101c8573d6000803e3d6000fd5b50505050565b600854604051633fb5c1cb60e01b8152600481018390526001600160a01b0390911690633fb5c1cb90602401600060405180830381600087803b15801561021457600080fd5b505af1158015610228573d6000803e3d6000fd5b505050506102ac600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190610722565b826104c5565b50565b600860009054906101000a90046001600160a01b03166001600160a01b031663d09de08a6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b50505050610398600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610722565b60016104c5565b565b60008054610100900460ff16156103ba5750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156104c05760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610448917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161076b565b60408051601f19818403018152908290526104629161078f565b6000604051808303816000865af19150503d806000811461049f576040519150601f19603f3d011682016040523d82523d6000602084013e6104a4565b606091505b50915050808060200190518101906104bc91906107a2565b9150505b919050565b8082146105ec577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516105369060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a160408051818152600a81830152690808115e1c1958dd195960b21b60608201526020810183905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a160408051818152600a8183015269080808081058dd1d585b60b21b60608201526020810184905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a16105ec6105f0565b5050565b737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156106eb5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905261068a929160200161076b565b60408051601f19818403018152908290526106a49161078f565b6000604051808303816000865af19150503d80600081146106e1576040519150601f19603f3d011682016040523d82523d6000602084013e6106e6565b606091505b505050505b6000805461ff001916610100179055565b610145806107c583390190565b60006020828403121561071b57600080fd5b5035919050565b60006020828403121561073457600080fd5b5051919050565b6000815160005b8181101561075c5760208185018101518683015201610742565b50600093019283525090919050565b6001600160e01b0319831681526000610787600483018461073b565b949350505050565b600061079b828461073b565b9392505050565b6000602082840312156107b457600080fd5b8151801515811461079b57600080fdfe608060405234801561001057600080fd5b50610125806100206000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146052578063d09de08a14606c575b600080fd5b6050604c3660046095565b6072565b005b605a60005481565b60405190815260200160405180910390f35b60506081565b607b81607b60c3565b60005550565b600080549080608e8360d9565b9190505550565b60006020828403121560a657600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111560d35760d360ad565b92915050565b60006001820160e85760e860ad565b506001019056fea2646970667358221220981d705d73c405a1cadf6bcd0ff9f1d0fcbbc1599040e504e71517ff0d8aa53264736f6c63430008100033a2646970667358221220147263a13974ad68f85faa7b08304fe21926e7249b84a12780530843cbef02ca64736f6c63430008100033", + "object": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063b913a5ca1161005b578063b913a5ca146100f5578063ba414fa6146100fd578063f8ccbf4714610115578063fa7626d41461012857600080fd5b80630a9254e41461008d5780633a7684631461009757806361bc221a146100cf57806370f985be146100e2575b600080fd5b610095610135565b005b6100b2737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6008546100b2906001600160a01b031681565b6100956100f0366004610709565b6101ce565b6100956102af565b61010561039a565b60405190151581526020016100c6565b6000546101059062010000900460ff1681565b6000546101059060ff1681565b604051610141906106fc565b604051809103906000f08015801561015d573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169182179055604051633fb5c1cb60e01b815260006004820152633fb5c1cb90602401600060405180830381600087803b1580156101b457600080fd5b505af11580156101c8573d6000803e3d6000fd5b50505050565b600854604051633fb5c1cb60e01b8152600481018390526001600160a01b0390911690633fb5c1cb90602401600060405180830381600087803b15801561021457600080fd5b505af1158015610228573d6000803e3d6000fd5b505050506102ac600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190610722565b826104c5565b50565b600860009054906101000a90046001600160a01b03166001600160a01b031663d09de08a6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b50505050610398600860009054906101000a90046001600160a01b03166001600160a01b0316638381f58a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610722565b60016104c5565b565b60008054610100900460ff16156103ba5750600054610100900460ff1690565b6000737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156104c05760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b82840152825180830384018152606083019093526000929091610448917f667f9d70ca411d70ead50d8d5c22070dafc36ad75f3dcf5e7237b22ade9aecc49160800161076b565b60408051601f19818403018152908290526104629161078f565b6000604051808303816000865af19150503d806000811461049f576040519150601f19603f3d011682016040523d82523d6000602084013e6104a4565b606091505b50915050808060200190518101906104bc91906107a2565b9150505b919050565b8082146105ec577f41304facd9323d75b11bcdd609cb38effffdb05710f7caf0e9b16c6d9d709f506040516105369060208082526022908201527f4572726f723a2061203d3d2062206e6f7420736174697366696564205b75696e604082015261745d60f01b606082015260800190565b60405180910390a160408051818152600a81830152690808115e1c1958dd195960b21b60608201526020810183905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a160408051818152600a8183015269080808081058dd1d585b60b21b60608201526020810184905290517fb2de2fbe801a0df6c0cbddfd448ba3c41d48a040ca35c56c8196ef0fcae721a89181900360800190a16105ec6105f0565b5050565b737109709ecfa91a80626ff3989d68f67f5b1dd12d3b156106eb5760408051737109709ecfa91a80626ff3989d68f67f5b1dd12d602082018190526519985a5b195960d21b9282019290925260016060820152600091907f70ca10bbd0dbfd9020a9f4b13402c16cb120705e0d1c0aeab10fa353ae586fc49060800160408051601f198184030181529082905261068a929160200161076b565b60408051601f19818403018152908290526106a49161078f565b6000604051808303816000865af19150503d80600081146106e1576040519150601f19603f3d011682016040523d82523d6000602084013e6106e6565b606091505b505050505b6000805461ff001916610100179055565b610116806107c583390190565b60006020828403121561071b57600080fd5b5035919050565b60006020828403121561073457600080fd5b5051919050565b6000815160005b8181101561075c5760208185018101518683015201610742565b50600093019283525090919050565b6001600160e01b0319831681526000610787600483018461073b565b949350505050565b600061079b828461073b565b9392505050565b6000602082840312156107b457600080fd5b8151801515811461079b57600080fdfe608060405234801561001057600080fd5b5060f78061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033a2646970667358221220dcd18b56e4c79c675c9abea4c20acf75942ffd7a1bb5103cf1ceb17eb729bfb264736f6c63430008100033", "sourceMap": "124:393:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187:92;;;:::i;:::-;;316:38:1;;245:64;316:38;;;;;-1:-1:-1;;;;;189:32:9;;;171:51;;159:2;144:18;316:38:1;;;;;;;;159:22:8;;;;;-1:-1:-1;;;;;159:22:8;;;398:117;;;;;;:::i;:::-;;:::i;285:107::-;;;:::i;1819:584:0:-;;;:::i;:::-;;;808:14:9;;801:22;783:41;;771:2;756:18;1819:584:0;643:187:9;165:28:1;;;;;;;;;;;;1572:26:0;;;;;;;;;187:92:8;230:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;220:7:8;:23;;-1:-1:-1;;;;;;220:23:8;-1:-1:-1;;;;;220:23:8;;;;;;;;;252:20;;-1:-1:-1;;;252:20:8;;-1:-1:-1;252:20:8;;;989:25:9;252:17:8;;962:18:9;;252:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187:92::o;398:117::-;449:7;;:20;;-1:-1:-1;;;449:20:8;;;;;989:25:9;;;-1:-1:-1;;;;;449:7:8;;;;:17;;962:18:9;;449:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;479:29;488:7;;;;;;;;;-1:-1:-1;;;;;488:7:8;-1:-1:-1;;;;;488:14:8;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;506:1;479:8;:29::i;:::-;398:117;:::o;285:107::-;327:7;;;;;;;;;-1:-1:-1;;;;;327:7:8;-1:-1:-1;;;;;327:17:8;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;356:29;365:7;;;;;;;;;-1:-1:-1;;;;;365:7:8;-1:-1:-1;;;;;365:14:8;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;383:1;356:8;:29::i;:::-;285:107::o;1819:584:0:-;1853:4;1873:7;;;;;;;1869:528;;;-1:-1:-1;1903:7:0;;;;;;;;1819:584::o;1869:528::-;1941:17;2990:42;2978:55;3059:16;1980:374;;2196:43;;;1671:64;2196:43;;;1570:51:9;;;-1:-1:-1;;;1637:18:9;;;1630:34;2196:43:0;;;;;;;;;1543:18:9;;;2196:43:0;;;-1:-1:-1;;1671:64:0;;2086:175;;2135:34;;2086:175;;;:::i;:::-;;;;-1:-1:-1;;2086:175:0;;;;;;;;;;2047:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:259;;;2323:7;2312:27;;;;;;;;;;;;:::i;:::-;2297:42;;2002:352;1980:374;2374:12;1819:584;-1:-1:-1;1819:584:0:o;5202:262::-;5264:1;5259;:6;5255:203;;5286:41;;;;;2963:2:9;2945:21;;;3002:2;2982:18;;;2975:30;3041:34;3036:2;3021:18;;3014:62;-1:-1:-1;;;3107:2:9;3092:18;;3085:32;3149:3;3134:19;;2761:398;5286:41:0;;;;;;;;5346:31;;;3376:21:9;;;3433:2;3413:18;;;3406:30;-1:-1:-1;;;3467:2:9;3452:18;;3445:40;3552:4;3537:20;;3530:36;;;5346:31:0;;;;;;;3517:3:9;5346:31:0;;;5396;;;3789:21:9;;;3846:2;3826:18;;;3819:30;-1:-1:-1;;;3880:2:9;3865:18;;3858:40;3965:4;3950:20;;3943:36;;;5396:31:0;;;;;;;3930:3:9;5396:31:0;;;5441:6;:4;:6::i;:::-;5202:262;;:::o;2410:424::-;2990:42;2978:55;3059:16;2445:359;;2645:67;;;1671:64;2645:67;;;4192:51:9;;;-1:-1:-1;;;4259:18:9;;;4252:34;;;;2705:4:0;4302:18:9;;;4295:34;2482:11:0;;1671:64;2579:43;;4165:18:9;;2645:67:0;;;-1:-1:-1;;2645:67:0;;;;;;;;;;2534:196;;;2645:67;2534:196;;:::i;:::-;;;;-1:-1:-1;;2534:196:0;;;;;;;;;;2499:245;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2445:359:0;2813:7;:14;;-1:-1:-1;;2813:14:0;;;;;2410:424::o;-1:-1:-1:-;;;;;;;;:::o;458:180:9:-;517:6;570:2;558:9;549:7;545:23;541:32;538:52;;;586:1;583;576:12;538:52;-1:-1:-1;609:23:9;;458:180;-1:-1:-1;458:180:9:o;1207:184::-;1277:6;1330:2;1318:9;1309:7;1305:23;1301:32;1298:52;;;1346:1;1343;1336:12;1298:52;-1:-1:-1;1369:16:9;;1207:184;-1:-1:-1;1207:184:9:o;1675:322::-;1716:3;1754:5;1748:12;1778:1;1788:128;1802:6;1799:1;1796:13;1788:128;;;1899:4;1884:13;;;1880:24;;1874:31;1861:11;;;1854:52;1817:12;1788:128;;;-1:-1:-1;1971:1:9;1935:16;;1960:13;;;-1:-1:-1;1935:16:9;;1675:322;-1:-1:-1;1675:322:9:o;2002:278::-;-1:-1:-1;;;;;;2187:33:9;;2175:46;;2157:3;2237:37;2271:1;2262:11;;2254:6;2237:37;:::i;:::-;2230:44;2002:278;-1:-1:-1;;;;2002:278:9:o;2285:189::-;2414:3;2439:29;2464:3;2456:6;2439:29;:::i;:::-;2432:36;2285:189;-1:-1:-1;;;2285:189:9:o;2479:277::-;2546:6;2599:2;2587:9;2578:7;2574:23;2570:32;2567:52;;;2615:1;2612;2605:12;2567:52;2647:9;2641:16;2700:5;2693:13;2686:21;2679:5;2676:32;2666:60;;2722:1;2719;2712:12", "linkReferences": {} }, @@ -477,18 +477,573 @@ "testSetNumber(uint256)": "70f985be", "vm()": "3a768463" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"contract Counter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setUp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testIncrement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"x\",\"type\":\"uint256\"}],\"name\":\"testSetNumber\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"test/Counter.t.sol\":\"CounterTest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55\",\"dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"src/Counter.sol\":{\"keccak256\":\"0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200\",\"dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC\"]},\"test/Counter.t.sol\":{\"keccak256\":\"0x76bdc40734abcf9acbe5d56422e22662bc218e7d410264f3de6a823036be6a6d\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://27118e74e69a15c903cb826430175f337a9ab5cd1bb55a767ae9439e860052bd\",\"dweb:/ipfs/QmfNHmcHCDN2eDQpbaDTSRyU4uhcZjpLEdvrudZRLY5knF\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "val", + "type": "uint256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "int256[]", + "name": "val", + "type": "int256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "val", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "address", + "name": "val", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_named_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256[]", + "name": "val", + "type": "uint256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256[]", + "name": "val", + "type": "int256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "address[]", + "name": "val", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes", + "name": "val", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes32", + "name": "val", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "string", + "name": "val", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_named_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "logs", + "anonymous": false + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_SCRIPT", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_TEST", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "counter", + "outputs": [ + { + "internalType": "contract Counter", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "failed", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "setUp" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "testIncrement" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "testSetNumber" + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "vm", + "outputs": [ + { + "internalType": "contract Vm", + "name": "", + "type": "address" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "test/Counter.t.sol": "CounterTest" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Test.sol": { + "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", + "urls": [ + "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", + "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + }, + "src/Counter.sol": { + "keccak256": "0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053", + "urls": [ + "bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200", + "dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC" + ], + "license": "UNLICENSED" + }, + "test/Counter.t.sol": { + "keccak256": "0x76bdc40734abcf9acbe5d56422e22662bc218e7d410264f3de6a823036be6a6d", + "urls": [ + "bzz-raw://27118e74e69a15c903cb826430175f337a9ab5cd1bb55a767ae9439e860052bd", + "dweb:/ipfs/QmfNHmcHCDN2eDQpbaDTSRyU4uhcZjpLEdvrudZRLY5knF" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, "ast": { "absolutePath": "test/Counter.t.sol", - "id": 21690, + "id": 21666, "exportedSymbols": { "Counter": [ - 21605 + 21603 ], "CounterTest": [ - 21689 - ], - "CounterYann": [ - 21627 + 21665 ], "DSTest": [ 1786 @@ -525,7 +1080,7 @@ "src": "39:479:8", "nodes": [ { - "id": 21629, + "id": 21605, "nodeType": "PragmaDirective", "src": "39:24:8", "literals": [ @@ -536,36 +1091,36 @@ ] }, { - "id": 21630, + "id": 21606, "nodeType": "ImportDirective", "src": "65:28:8", "absolutePath": "lib/forge-std/src/Test.sol", "file": "forge-std/Test.sol", "nameLocation": "-1:-1:-1", - "scope": 21690, + "scope": 21666, "sourceUnit": 4796, "symbolAliases": [], "unitAlias": "" }, { - "id": 21631, + "id": 21607, "nodeType": "ImportDirective", "src": "94:28:8", "absolutePath": "src/Counter.sol", "file": "../src/Counter.sol", "nameLocation": "-1:-1:-1", - "scope": 21690, - "sourceUnit": 21628, + "scope": 21666, + "sourceUnit": 21604, "symbolAliases": [], "unitAlias": "" }, { - "id": 21689, + "id": 21665, "nodeType": "ContractDefinition", "src": "124:393:8", "nodes": [ { - "id": 21636, + "id": 21612, "nodeType": "VariableDeclaration", "src": "159:22:8", "constant": false, @@ -573,60 +1128,60 @@ "mutability": "mutable", "name": "counter", "nameLocation": "174:7:8", - "scope": 21689, + "scope": 21665, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" }, "typeName": { - "id": 21635, + "id": 21611, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 21634, + "id": 21610, "name": "Counter", "nameLocations": [ "159:7:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 21605, + "referencedDeclaration": 21603, "src": "159:7:8" }, - "referencedDeclaration": 21605, + "referencedDeclaration": 21603, "src": "159:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, "visibility": "public" }, { - "id": 21653, + "id": 21629, "nodeType": "FunctionDefinition", "src": "187:92:8", "body": { - "id": 21652, + "id": 21628, "nodeType": "Block", "src": "211:68:8", "statements": [ { "expression": { - "id": 21644, + "id": 21620, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 21639, + "id": 21615, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "220:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, @@ -636,7 +1191,7 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 21642, + "id": 21618, "isConstant": false, "isLValue": false, "isPure": false, @@ -644,31 +1199,31 @@ "nodeType": "NewExpression", "src": "230:11:8", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Counter_$21605_$", + "typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_Counter_$21603_$", "typeString": "function () returns (contract Counter)" }, "typeName": { - "id": 21641, + "id": 21617, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 21640, + "id": 21616, "name": "Counter", "nameLocations": [ "234:7:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 21605, + "referencedDeclaration": 21603, "src": "234:7:8" }, - "referencedDeclaration": 21605, + "referencedDeclaration": 21603, "src": "234:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } } }, - "id": 21643, + "id": 21619, "isConstant": false, "isLValue": false, "isPure": false, @@ -680,17 +1235,17 @@ "src": "230:13:8", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, "src": "220:23:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21645, + "id": 21621, "nodeType": "ExpressionStatement", "src": "220:23:8" }, @@ -699,7 +1254,7 @@ "arguments": [ { "hexValue": "30", - "id": 21649, + "id": 21625, "isConstant": false, "isLValue": false, "isPure": true, @@ -722,18 +1277,18 @@ } ], "expression": { - "id": 21646, + "id": 21622, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "252:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21648, + "id": 21624, "isConstant": false, "isLValue": false, "isPure": false, @@ -741,14 +1296,14 @@ "memberLocation": "260:9:8", "memberName": "setNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 21597, + "referencedDeclaration": 21595, "src": "252:17:8", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 21650, + "id": 21626, "isConstant": false, "isLValue": false, "isPure": false, @@ -764,7 +1319,7 @@ "typeString": "tuple()" } }, - "id": 21651, + "id": 21627, "nodeType": "ExpressionStatement", "src": "252:20:8" } @@ -777,28 +1332,28 @@ "name": "setUp", "nameLocation": "196:5:8", "parameters": { - "id": 21637, + "id": 21613, "nodeType": "ParameterList", "parameters": [], "src": "201:2:8" }, "returnParameters": { - "id": 21638, + "id": 21614, "nodeType": "ParameterList", "parameters": [], "src": "211:0:8" }, - "scope": 21689, + "scope": 21665, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 21669, + "id": 21645, "nodeType": "FunctionDefinition", "src": "285:107:8", "body": { - "id": 21668, + "id": 21644, "nodeType": "Block", "src": "317:75:8", "statements": [ @@ -808,18 +1363,18 @@ "expression": { "argumentTypes": [], "expression": { - "id": 21656, + "id": 21632, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "327:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21658, + "id": 21634, "isConstant": false, "isLValue": false, "isPure": false, @@ -827,14 +1382,14 @@ "memberLocation": "335:9:8", "memberName": "increment", "nodeType": "MemberAccess", - "referencedDeclaration": 21604, + "referencedDeclaration": 21602, "src": "327:17:8", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", "typeString": "function () external" } }, - "id": 21659, + "id": 21635, "isConstant": false, "isLValue": false, "isPure": false, @@ -850,7 +1405,7 @@ "typeString": "tuple()" } }, - "id": 21660, + "id": 21636, "nodeType": "ExpressionStatement", "src": "327:19:8" }, @@ -862,18 +1417,18 @@ "expression": { "argumentTypes": [], "expression": { - "id": 21662, + "id": 21638, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "365:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21663, + "id": 21639, "isConstant": false, "isLValue": false, "isPure": false, @@ -888,7 +1443,7 @@ "typeString": "function () view external returns (uint256)" } }, - "id": 21664, + "id": 21640, "isConstant": false, "isLValue": false, "isPure": false, @@ -906,7 +1461,7 @@ }, { "hexValue": "31", - "id": 21665, + "id": 21641, "isConstant": false, "isLValue": false, "isPure": true, @@ -932,7 +1487,7 @@ "typeString": "int_const 1" } ], - "id": 21661, + "id": 21637, "name": "assertEq", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -964,7 +1519,7 @@ "typeString": "function (uint256,uint256)" } }, - "id": 21666, + "id": 21642, "isConstant": false, "isLValue": false, "isPure": false, @@ -980,7 +1535,7 @@ "typeString": "tuple()" } }, - "id": 21667, + "id": 21643, "nodeType": "ExpressionStatement", "src": "356:29:8" } @@ -993,28 +1548,28 @@ "name": "testIncrement", "nameLocation": "294:13:8", "parameters": { - "id": 21654, + "id": 21630, "nodeType": "ParameterList", "parameters": [], "src": "307:2:8" }, "returnParameters": { - "id": 21655, + "id": 21631, "nodeType": "ParameterList", "parameters": [], "src": "317:0:8" }, - "scope": 21689, + "scope": 21665, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 21688, + "id": 21664, "nodeType": "FunctionDefinition", "src": "398:117:8", "body": { - "id": 21687, + "id": 21663, "nodeType": "Block", "src": "439:76:8", "statements": [ @@ -1022,11 +1577,11 @@ "expression": { "arguments": [ { - "id": 21677, + "id": 21653, "name": "x", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21671, + "referencedDeclaration": 21647, "src": "467:1:8", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1042,18 +1597,18 @@ } ], "expression": { - "id": 21674, + "id": 21650, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "449:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21676, + "id": 21652, "isConstant": false, "isLValue": false, "isPure": false, @@ -1061,14 +1616,14 @@ "memberLocation": "457:9:8", "memberName": "setNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 21597, + "referencedDeclaration": 21595, "src": "449:17:8", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 21678, + "id": 21654, "isConstant": false, "isLValue": false, "isPure": false, @@ -1084,7 +1639,7 @@ "typeString": "tuple()" } }, - "id": 21679, + "id": 21655, "nodeType": "ExpressionStatement", "src": "449:20:8" }, @@ -1096,18 +1651,18 @@ "expression": { "argumentTypes": [], "expression": { - "id": 21681, + "id": 21657, "name": "counter", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21636, + "referencedDeclaration": 21612, "src": "488:7:8", "typeDescriptions": { - "typeIdentifier": "t_contract$_Counter_$21605", + "typeIdentifier": "t_contract$_Counter_$21603", "typeString": "contract Counter" } }, - "id": 21682, + "id": 21658, "isConstant": false, "isLValue": false, "isPure": false, @@ -1122,7 +1677,7 @@ "typeString": "function () view external returns (uint256)" } }, - "id": 21683, + "id": 21659, "isConstant": false, "isLValue": false, "isPure": false, @@ -1139,11 +1694,11 @@ } }, { - "id": 21684, + "id": 21660, "name": "x", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21671, + "referencedDeclaration": 21647, "src": "506:1:8", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1162,7 +1717,7 @@ "typeString": "uint256" } ], - "id": 21680, + "id": 21656, "name": "assertEq", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1194,7 +1749,7 @@ "typeString": "function (uint256,uint256)" } }, - "id": 21685, + "id": 21661, "isConstant": false, "isLValue": false, "isPure": false, @@ -1210,7 +1765,7 @@ "typeString": "tuple()" } }, - "id": 21686, + "id": 21662, "nodeType": "ExpressionStatement", "src": "479:29:8" } @@ -1223,17 +1778,17 @@ "name": "testSetNumber", "nameLocation": "407:13:8", "parameters": { - "id": 21672, + "id": 21648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 21671, + "id": 21647, "mutability": "mutable", "name": "x", "nameLocation": "429:1:8", "nodeType": "VariableDeclaration", - "scope": 21688, + "scope": 21664, "src": "421:9:8", "stateVariable": false, "storageLocation": "default", @@ -1242,7 +1797,7 @@ "typeString": "uint256" }, "typeName": { - "id": 21670, + "id": 21646, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "421:7:8", @@ -1257,12 +1812,12 @@ "src": "420:11:8" }, "returnParameters": { - "id": 21673, + "id": 21649, "nodeType": "ParameterList", "parameters": [], "src": "439:0:8" }, - "scope": 21689, + "scope": 21665, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -1272,7 +1827,7 @@ "baseContracts": [ { "baseName": { - "id": 21632, + "id": 21608, "name": "Test", "nameLocations": [ "148:4:8" @@ -1281,26 +1836,26 @@ "referencedDeclaration": 3456, "src": "148:4:8" }, - "id": 21633, + "id": 21609, "nodeType": "InheritanceSpecifier", "src": "148:4:8" } ], "canonicalName": "CounterTest", "contractDependencies": [ - 21605 + 21603 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 21689, + 21665, 3456, 2022, 1786 ], "name": "CounterTest", "nameLocation": "133:11:8", - "scope": 21690, + "scope": 21666, "usedErrors": [] } ], diff --git a/apps/remix-ide/contracts/out/Script.sol/Script.json b/apps/remix-ide/contracts/foundry/out/Script.sol/Script.json similarity index 97% rename from apps/remix-ide/contracts/out/Script.sol/Script.json rename to apps/remix-ide/contracts/foundry/out/Script.sol/Script.json index 17db926e19..116330506d 100644 --- a/apps/remix-ide/contracts/out/Script.sol/Script.json +++ b/apps/remix-ide/contracts/foundry/out/Script.sol/Script.json @@ -41,6 +41,105 @@ "IS_SCRIPT()": "f8ccbf47", "vm()": "3a768463" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Script.sol\":\"Script\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_SCRIPT", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "vm", + "outputs": [ + { + "internalType": "contract Vm", + "name": "", + "type": "address" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Script.sol": "Script" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Script.sol", "id": 2023, diff --git a/apps/remix-ide/contracts/out/Test.sol/Test.json b/apps/remix-ide/contracts/foundry/out/Test.sol/Test.json similarity index 98% rename from apps/remix-ide/contracts/out/Test.sol/Test.json rename to apps/remix-ide/contracts/foundry/out/Test.sol/Test.json index 47b1920749..7b709817ab 100644 --- a/apps/remix-ide/contracts/out/Test.sol/Test.json +++ b/apps/remix-ide/contracts/foundry/out/Test.sol/Test.json @@ -433,6 +433,511 @@ "failed()": "ba414fa6", "vm()": "3a768463" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"val\",\"type\":\"uint256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"val\",\"type\":\"int256[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"val\",\"type\":\"address[]\"}],\"name\":\"log_named_array\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contract Vm\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"Test\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55\",\"dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "val", + "type": "uint256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "int256[]", + "name": "val", + "type": "int256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "val", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "log_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "address", + "name": "val", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_named_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256[]", + "name": "val", + "type": "uint256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256[]", + "name": "val", + "type": "int256[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "address[]", + "name": "val", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "log_named_array", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes", + "name": "val", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes32", + "name": "val", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "string", + "name": "val", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_named_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "logs", + "anonymous": false + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_SCRIPT", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_TEST", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "failed", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "vm", + "outputs": [ + { + "internalType": "contract Vm", + "name": "", + "type": "address" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Test.sol": "Test" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Test.sol": { + "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", + "urls": [ + "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", + "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Test.sol", "id": 4796, diff --git a/apps/remix-ide/contracts/out/Test.sol/stdError.json b/apps/remix-ide/contracts/foundry/out/Test.sol/stdError.json similarity index 99% rename from apps/remix-ide/contracts/out/Test.sol/stdError.json rename to apps/remix-ide/contracts/foundry/out/Test.sol/stdError.json index c574d9f63d..c22cd07d7a 100644 --- a/apps/remix-ide/contracts/out/Test.sol/stdError.json +++ b/apps/remix-ide/contracts/foundry/out/Test.sol/stdError.json @@ -153,6 +153,225 @@ "popError()": "b22dc54d", "zeroVarError()": "b67689da" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"arithmeticError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assertionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"divisionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"encodeStorageError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enumConversionError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"indexOOBError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lowLevelError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memOverflowError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"popError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zeroVarError\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdError\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55\",\"dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "arithmeticError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "assertionError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "divisionError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "encodeStorageError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "enumConversionError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "indexOOBError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "lowLevelError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "memOverflowError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "popError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "zeroVarError", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Test.sol": "stdError" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Test.sol": { + "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", + "urls": [ + "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", + "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Test.sol", "id": 4796, diff --git a/apps/remix-ide/contracts/out/Test.sol/stdMath.json b/apps/remix-ide/contracts/foundry/out/Test.sol/stdMath.json similarity index 99% rename from apps/remix-ide/contracts/out/Test.sol/stdMath.json rename to apps/remix-ide/contracts/foundry/out/Test.sol/stdMath.json index ffdd1c7efe..ca2f51f724 100644 --- a/apps/remix-ide/contracts/out/Test.sol/stdMath.json +++ b/apps/remix-ide/contracts/foundry/out/Test.sol/stdMath.json @@ -11,6 +11,94 @@ "linkReferences": {} }, "methodIdentifiers": {}, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdMath\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55\",\"dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Test.sol": "stdMath" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Test.sol": { + "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", + "urls": [ + "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", + "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Test.sol", "id": 4796, diff --git a/apps/remix-ide/contracts/out/Test.sol/stdStorage.json b/apps/remix-ide/contracts/foundry/out/Test.sol/stdStorage.json similarity index 99% rename from apps/remix-ide/contracts/out/Test.sol/stdStorage.json rename to apps/remix-ide/contracts/foundry/out/Test.sol/stdStorage.json index 5db04c5a9a..24619c1187 100644 --- a/apps/remix-ide/contracts/out/Test.sol/stdStorage.json +++ b/apps/remix-ide/contracts/foundry/out/Test.sol/stdStorage.json @@ -88,6 +88,169 @@ "methodIdentifiers": { "bytesToBytes32(bytes,uint256)": "53584939" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes4\",\"name\":\"fsig\",\"type\":\"bytes4\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"keysHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"SlotFound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slot\",\"type\":\"uint256\"}],\"name\":\"WARNING_UninitedSlot\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"b\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"bytesToBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Test.sol\":\"stdStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Test.sol\":{\"keccak256\":\"0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55\",\"dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address", + "indexed": false + }, + { + "internalType": "bytes4", + "name": "fsig", + "type": "bytes4", + "indexed": false + }, + { + "internalType": "bytes32", + "name": "keysHash", + "type": "bytes32", + "indexed": false + }, + { + "internalType": "uint256", + "name": "slot", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "SlotFound", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address", + "name": "who", + "type": "address", + "indexed": false + }, + { + "internalType": "uint256", + "name": "slot", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "WARNING_UninitedSlot", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "b", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "offset", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function", + "name": "bytesToBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Test.sol": "stdStorage" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", + "urls": [ + "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", + "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" + ], + "license": "MIT" + }, + "lib/forge-std/src/Test.sol": { + "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", + "urls": [ + "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", + "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Test.sol", "id": 4796, diff --git a/apps/remix-ide/contracts/out/Vm.sol/Vm.json b/apps/remix-ide/contracts/foundry/out/Vm.sol/Vm.json similarity index 83% rename from apps/remix-ide/contracts/out/Vm.sol/Vm.json rename to apps/remix-ide/contracts/foundry/out/Vm.sol/Vm.json index 684dd73c18..52edca964e 100644 --- a/apps/remix-ide/contracts/out/Vm.sol/Vm.json +++ b/apps/remix-ide/contracts/foundry/out/Vm.sol/Vm.json @@ -1714,6 +1714,1627 @@ "writeFile(string,string)": "897e0a97", "writeLine(string,string)": "619d897f" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accesses\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"reads\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"writes\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activeFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"assume\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"broadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clearMockedCalls\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"closeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"coinbase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"createFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"createSelectFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"createSelectFork\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"deriveKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"difficulty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envAddress\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBool\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"\",\"type\":\"bool[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envInt\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"envUint\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"etch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"expectEmit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"expectEmit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"expectRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"fee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"name\":\"ffi\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"getCode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRecordedLogs\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct Vm.Log[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isPersistent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"label\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"load\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"makePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mockCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mockCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"prank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"prank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projectRoot\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readFile\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"readLine\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"record\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recordLogs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"removeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"revertTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"name\":\"revokePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"revokePersistent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"roll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"forkId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rollFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"rpcUrl\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rpcUrls\",\"outputs\":[{\"internalType\":\"string[2][]\",\"name\":\"\",\"type\":\"string[2][]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"selectFork\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"setEnv\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"setNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sign\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"snapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"startPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopBroadcast\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopPrank\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"toString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"warp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeFile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"writeLine\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"activeFork()\":{\"notice\":\"Returns the currently active fork Reverts if no fork is currently active\"},\"makePersistent(address)\":{\"notice\":\"Returns the RPC url for the given alias\"},\"rpcUrls()\":{\"notice\":\"Returns all rpc urls and their aliases `[alias, url][]`\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/Vm.sol\":\"Vm\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "accesses", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "reads", + "type": "bytes32[]" + }, + { + "internalType": "bytes32[]", + "name": "writes", + "type": "bytes32[]" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "activeFork", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "addr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "assume" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "broadcast" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "broadcast" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "chainId" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "clearMockedCalls" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "closeFile" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "coinbase" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "createFork", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "createFork", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "createSelectFork", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "createSelectFork", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "deal" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "deriveKey", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "deriveKey", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "difficulty" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envAddress", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBool", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBool", + "outputs": [ + { + "internalType": "bool[]", + "name": "", + "type": "bool[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBytes", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBytes", + "outputs": [ + { + "internalType": "bytes[]", + "name": "", + "type": "bytes[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBytes32", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envBytes32", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envInt", + "outputs": [ + { + "internalType": "int256[]", + "name": "", + "type": "int256[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envInt", + "outputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envString", + "outputs": [ + { + "internalType": "string[]", + "name": "", + "type": "string[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envUint", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "envUint", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ] + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "etch" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectCall" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectCall" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectEmit" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectEmit" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectRevert" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectRevert" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "expectRevert" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "fee" + }, + { + "inputs": [ + { + "internalType": "string[]", + "name": "", + "type": "string[]" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "ffi", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "getCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "getNonce", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "getRecordedLogs", + "outputs": [ + { + "internalType": "struct Vm.Log[]", + "name": "", + "type": "tuple[]", + "components": [ + { + "internalType": "bytes32[]", + "name": "topics", + "type": "bytes32[]" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ] + } + ] + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "isPersistent", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "label" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "load", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ] + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "makePersistent" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "makePersistent" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "makePersistent" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "makePersistent" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "mockCall" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "mockCall" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "prank" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "prank" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "projectRoot", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "readFile", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "readLine", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "record" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "recordLogs" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "removeFile" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "revertTo", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "revokePersistent" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "revokePersistent" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "roll" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "forkId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "rollFork" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "rollFork" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "rpcUrl", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "rpcUrls", + "outputs": [ + { + "internalType": "string[2][]", + "name": "", + "type": "string[2][]" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "selectFork" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "setEnv" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "setNonce" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "sign", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "snapshot", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "startBroadcast" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "startBroadcast" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "startPrank" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "startPrank" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "stopBroadcast" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "stopPrank" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "store" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "toString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "warp" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "writeFile" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + }, + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "writeLine" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "activeFork()": { + "notice": "Returns the currently active fork Reverts if no fork is currently active" + }, + "makePersistent(address)": { + "notice": "Returns the RPC url for the given alias" + }, + "rpcUrls()": { + "notice": "Returns all rpc urls and their aliases `[alias, url][]`" + } + }, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/Vm.sol": "Vm" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/Vm.sol": { + "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", + "urls": [ + "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", + "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/Vm.sol", "id": 5435, diff --git a/apps/remix-ide/contracts/out/console.sol/console.json b/apps/remix-ide/contracts/foundry/out/console.sol/console.json similarity index 99% rename from apps/remix-ide/contracts/out/console.sol/console.json rename to apps/remix-ide/contracts/foundry/out/console.sol/console.json index 9295bb7756..86d8418803 100644 --- a/apps/remix-ide/contracts/out/console.sol/console.json +++ b/apps/remix-ide/contracts/foundry/out/console.sol/console.json @@ -11,6 +11,54 @@ "linkReferences": {} }, "methodIdentifiers": {}, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/console.sol\":\"console\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/console.sol": "console" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/console.sol", "id": 13499, diff --git a/apps/remix-ide/contracts/out/console2.sol/console2.json b/apps/remix-ide/contracts/foundry/out/console2.sol/console2.json similarity index 99% rename from apps/remix-ide/contracts/out/console2.sol/console2.json rename to apps/remix-ide/contracts/foundry/out/console2.sol/console2.json index 1d0e6d64f7..af841eebff 100644 --- a/apps/remix-ide/contracts/out/console2.sol/console2.json +++ b/apps/remix-ide/contracts/foundry/out/console2.sol/console2.json @@ -11,6 +11,54 @@ "linkReferences": {} }, "methodIdentifiers": {}, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/src/console2.sol\":\"console2\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/src/console2.sol": "console2" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/console2.sol": { + "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", + "urls": [ + "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", + "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" + ], + "license": "MIT" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/src/console2.sol", "id": 21563, diff --git a/apps/remix-ide/contracts/out/test.sol/DSTest.json b/apps/remix-ide/contracts/foundry/out/test.sol/DSTest.json similarity index 98% rename from apps/remix-ide/contracts/out/test.sol/DSTest.json rename to apps/remix-ide/contracts/foundry/out/test.sol/DSTest.json index ee7bc8f2fe..69e9e36e06 100644 --- a/apps/remix-ide/contracts/out/test.sol/DSTest.json +++ b/apps/remix-ide/contracts/foundry/out/test.sol/DSTest.json @@ -309,6 +309,349 @@ "IS_TEST()": "fa7626d4", "failed()": "ba414fa6" }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"log_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"log_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"log_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"name\":\"log_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"val\",\"type\":\"address\"}],\"name\":\"log_named_address\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"val\",\"type\":\"bytes\"}],\"name\":\"log_named_bytes\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"val\",\"type\":\"bytes32\"}],\"name\":\"log_named_bytes32\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"log_named_decimal_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"val\",\"type\":\"int256\"}],\"name\":\"log_named_int\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"val\",\"type\":\"string\"}],\"name\":\"log_named_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"log_named_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"log_string\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"log_uint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"logs\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"IS_TEST\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"failed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/forge-std/lib/ds-test/src/test.sol\":\"DSTest\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/lib/ds-test/src/test.sol\":{\"keccak256\":\"0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5\",\"dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.16+commit.07a7930e" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "address", + "name": "val", + "type": "address", + "indexed": false + } + ], + "type": "event", + "name": "log_named_address", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes", + "name": "val", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "bytes32", + "name": "val", + "type": "bytes32", + "indexed": false + } + ], + "type": "event", + "name": "log_named_bytes32", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + }, + { + "internalType": "uint256", + "name": "decimals", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_decimal_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "int256", + "name": "val", + "type": "int256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_int", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "string", + "name": "val", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_named_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "key", + "type": "string", + "indexed": false + }, + { + "internalType": "uint256", + "name": "val", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_named_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string", + "indexed": false + } + ], + "type": "event", + "name": "log_string", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256", + "indexed": false + } + ], + "type": "event", + "name": "log_uint", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "logs", + "anonymous": false + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_TEST", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "failed", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "ipfs" + }, + "compilationTarget": { + "lib/forge-std/lib/ds-test/src/test.sol": "DSTest" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/lib/ds-test/src/test.sol": { + "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", + "urls": [ + "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", + "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" + ], + "license": "GPL-3.0-or-later" + } + }, + "version": 1 + }, "ast": { "absolutePath": "lib/forge-std/lib/ds-test/src/test.sol", "id": 1787, diff --git a/apps/remix-ide/contracts/foundry/src/Counter.sol b/apps/remix-ide/contracts/foundry/src/Counter.sol new file mode 100644 index 0000000000..8cc4c42795 --- /dev/null +++ b/apps/remix-ide/contracts/foundry/src/Counter.sol @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.13; + +contract Counter { + uint256 public number; + + function setNumber(uint256 newNumber) public { + number = newNumber; + } + + function increment() public { + number++; + } +} \ No newline at end of file diff --git a/apps/remix-ide/contracts/artifacts/build-info/.gitgnore b/apps/remix-ide/contracts/hardhat/artifacts/build-info/.gitgnore similarity index 100% rename from apps/remix-ide/contracts/artifacts/build-info/.gitgnore rename to apps/remix-ide/contracts/hardhat/artifacts/build-info/.gitgnore diff --git a/apps/remix-ide/contracts/hardhat/artifacts/build-info/7839ba878952cc00ff316061405f273a.json b/apps/remix-ide/contracts/hardhat/artifacts/build-info/7839ba878952cc00ff316061405f273a.json new file mode 100644 index 0000000000..3426fd4a10 --- /dev/null +++ b/apps/remix-ide/contracts/hardhat/artifacts/build-info/7839ba878952cc00ff316061405f273a.json @@ -0,0 +1 @@ +{"id":"7839ba878952cc00ff316061405f273a","_format":"hh-sol-build-info-1","solcVersion":"0.8.17","solcLongVersion":"0.8.17+commit.8df45f5f","input":{"language":"Solidity","sources":{"contracts/Lock.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.9;\n\n// Uncomment this line to use console.log\n// import \"hardhat/console.sol\";\n\ncontract Lock {\n uint public unlockTime;\n address payable public owner;\n\n event Withdrawal(uint amount, uint when);\n\n constructor(uint _unlockTime) payable {\n require(\n block.timestamp < _unlockTime,\n \"Unlock time should be in the future\"\n );\n uint p = 454545;\n unlockTime = _unlockTime;\n owner = payable(msg.sender);\n }\n\n function withdraw() public {\n // Uncomment this line, and the import of \"hardhat/console.sol\", to print a log in your terminal\n // console.log(\"Unlock time is %o and block timestamp is %o\", unlockTime, block.timestamp);\n\n require(block.timestamp >= unlockTime, \"You can't withdraw yet\");\n require(msg.sender == owner, \"You aren't the owner\");\n\n emit Withdrawal(address(this).balance, block.timestamp);\n\n owner.transfer(address(this).balance);\n }\n}\n"}},"settings":{"optimizer":{"enabled":false,"runs":200},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"errors":[{"component":"general","errorCode":"2072","formattedMessage":"Warning: Unused local variable.\n --> contracts/Lock.sol:18:9:\n |\n18 | uint p = 454545;\n | ^^^^^^\n\n","message":"Unused local variable.","severity":"warning","sourceLocation":{"end":445,"file":"contracts/Lock.sol","start":439},"type":"Warning"}],"sources":{"contracts/Lock.sol":{"ast":{"absolutePath":"contracts/Lock.sol","exportedSymbols":{"Lock":[82]},"id":83,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".9"],"nodeType":"PragmaDirective","src":"39:23:0"},{"abstract":false,"baseContracts":[],"canonicalName":"Lock","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":82,"linearizedBaseContracts":[82],"name":"Lock","nameLocation":"149:4:0","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"251c1aa3","id":3,"mutability":"mutable","name":"unlockTime","nameLocation":"172:10:0","nodeType":"VariableDeclaration","scope":82,"src":"160:22:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2,"name":"uint","nodeType":"ElementaryTypeName","src":"160:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"constant":false,"functionSelector":"8da5cb5b","id":5,"mutability":"mutable","name":"owner","nameLocation":"211:5:0","nodeType":"VariableDeclaration","scope":82,"src":"188:28:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":4,"name":"address","nodeType":"ElementaryTypeName","src":"188:15:0","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"public"},{"anonymous":false,"eventSelector":"bf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b93","id":11,"name":"Withdrawal","nameLocation":"229:10:0","nodeType":"EventDefinition","parameters":{"id":10,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"245:6:0","nodeType":"VariableDeclaration","scope":11,"src":"240:11:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6,"name":"uint","nodeType":"ElementaryTypeName","src":"240:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9,"indexed":false,"mutability":"mutable","name":"when","nameLocation":"258:4:0","nodeType":"VariableDeclaration","scope":11,"src":"253:9:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8,"name":"uint","nodeType":"ElementaryTypeName","src":"253:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"239:24:0"},"src":"223:41:0"},{"body":{"id":40,"nodeType":"Block","src":"308:224:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"339:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":18,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"345:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"339:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"357:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"339:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574757265","id":21,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"382:37:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""},"value":"Unlock time should be in the future"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""}],"id":16,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"318:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"318:111:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":23,"nodeType":"ExpressionStatement","src":"318:111:0"},{"assignments":[25],"declarations":[{"constant":false,"id":25,"mutability":"mutable","name":"p","nameLocation":"444:1:0","nodeType":"VariableDeclaration","scope":40,"src":"439:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":24,"name":"uint","nodeType":"ElementaryTypeName","src":"439:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":27,"initialValue":{"hexValue":"343534353435","id":26,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"448:6:0","typeDescriptions":{"typeIdentifier":"t_rational_454545_by_1","typeString":"int_const 454545"},"value":"454545"},"nodeType":"VariableDeclarationStatement","src":"439:15:0"},{"expression":{"id":30,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":28,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"464:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":29,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"477:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"464:24:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":31,"nodeType":"ExpressionStatement","src":"464:24:0"},{"expression":{"id":38,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":32,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"498:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":35,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"514:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"518:6:0","memberName":"sender","nodeType":"MemberAccess","src":"514:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":34,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"506:8:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_payable_$","typeString":"type(address payable)"},"typeName":{"id":33,"name":"address","nodeType":"ElementaryTypeName","src":"506:8:0","stateMutability":"payable","typeDescriptions":{}}},"id":37,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"506:19:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"498:27:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":39,"nodeType":"ExpressionStatement","src":"498:27:0"}]},"id":41,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13,"mutability":"mutable","name":"_unlockTime","nameLocation":"287:11:0","nodeType":"VariableDeclaration","scope":41,"src":"282:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12,"name":"uint","nodeType":"ElementaryTypeName","src":"282:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"281:18:0"},"returnParameters":{"id":15,"nodeType":"ParameterList","parameters":[],"src":"308:0:0"},"scope":82,"src":"270:262:0","stateMutability":"payable","virtual":false,"visibility":"public"},{"body":{"id":80,"nodeType":"Block","src":"565:463:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":48,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":45,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"789:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":46,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"795:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"789:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":47,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"808:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"789:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f752063616e277420776974686472617720796574","id":49,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"820:24:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""},"value":"You can't withdraw yet"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""}],"id":44,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"781:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":50,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"781:64:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":51,"nodeType":"ExpressionStatement","src":"781:64:0"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":53,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"863:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"867:6:0","memberName":"sender","nodeType":"MemberAccess","src":"863:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":55,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"877:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"863:19:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f75206172656e277420746865206f776e6572","id":57,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"884:22:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""},"value":"You aren't the owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""}],"id":52,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"855:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":58,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"855:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":59,"nodeType":"ExpressionStatement","src":"855:52:0"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":63,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"942:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":62,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"934:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":61,"name":"address","nodeType":"ElementaryTypeName","src":"934:7:0","typeDescriptions":{}}},"id":64,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"934:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":65,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"948:7:0","memberName":"balance","nodeType":"MemberAccess","src":"934:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":66,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"957:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":67,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"963:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"957:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":60,"name":"Withdrawal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"923:10:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":68,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"923:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":69,"nodeType":"EmitStatement","src":"918:55:0"},{"expression":{"arguments":[{"expression":{"arguments":[{"id":75,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1007:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":74,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"999:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":73,"name":"address","nodeType":"ElementaryTypeName","src":"999:7:0","typeDescriptions":{}}},"id":76,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":77,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1013:7:0","memberName":"balance","nodeType":"MemberAccess","src":"999:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":70,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"984:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":72,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"990:8:0","memberName":"transfer","nodeType":"MemberAccess","src":"984:14:0","typeDescriptions":{"typeIdentifier":"t_function_transfer_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":78,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"984:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":79,"nodeType":"ExpressionStatement","src":"984:37:0"}]},"functionSelector":"3ccfd60b","id":81,"implemented":true,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"547:8:0","nodeType":"FunctionDefinition","parameters":{"id":42,"nodeType":"ParameterList","parameters":[],"src":"555:2:0"},"returnParameters":{"id":43,"nodeType":"ParameterList","parameters":[],"src":"565:0:0"},"scope":82,"src":"538:490:0","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":83,"src":"140:890:0","usedErrors":[]}],"src":"39:992:0"},"id":0}},"contracts":{"contracts/Lock.sol":{"Lock":{"abi":[{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_41":{"entryPoint":null,"id":41,"parameterSlots":1,"returnSlots":0},"abi_decode_t_uint256_fromMemory":{"entryPoint":228,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":249,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack":{"entryPoint":390,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":425,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_unbounded":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":294,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":195,"id":null,"parameterSlots":1,"returnSlots":1},"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":0},"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b":{"entryPoint":190,"id":null,"parameterSlots":0,"returnSlots":0},"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413":{"entryPoint":311,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_t_uint256":{"entryPoint":205,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:2248:1","statements":[{"body":{"nodeType":"YulBlock","src":"47:35:1","statements":[{"nodeType":"YulAssignment","src":"57:19:1","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"73:2:1","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"67:5:1"},"nodeType":"YulFunctionCall","src":"67:9:1"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"57:6:1"}]}]},"name":"allocate_unbounded","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"40:6:1","type":""}],"src":"7:75:1"},{"body":{"nodeType":"YulBlock","src":"177:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"194:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"197:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"187:6:1"},"nodeType":"YulFunctionCall","src":"187:12:1"},"nodeType":"YulExpressionStatement","src":"187:12:1"}]},"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulFunctionDefinition","src":"88:117:1"},{"body":{"nodeType":"YulBlock","src":"300:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"317:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"320:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"310:6:1"},"nodeType":"YulFunctionCall","src":"310:12:1"},"nodeType":"YulExpressionStatement","src":"310:12:1"}]},"name":"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db","nodeType":"YulFunctionDefinition","src":"211:117:1"},{"body":{"nodeType":"YulBlock","src":"379:32:1","statements":[{"nodeType":"YulAssignment","src":"389:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"400:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"389:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"361:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"371:7:1","type":""}],"src":"334:77:1"},{"body":{"nodeType":"YulBlock","src":"460:79:1","statements":[{"body":{"nodeType":"YulBlock","src":"517:16:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"526:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"529:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"519:6:1"},"nodeType":"YulFunctionCall","src":"519:12:1"},"nodeType":"YulExpressionStatement","src":"519:12:1"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"483:5:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"508:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"490:17:1"},"nodeType":"YulFunctionCall","src":"490:24:1"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"480:2:1"},"nodeType":"YulFunctionCall","src":"480:35:1"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"473:6:1"},"nodeType":"YulFunctionCall","src":"473:43:1"},"nodeType":"YulIf","src":"470:63:1"}]},"name":"validator_revert_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"453:5:1","type":""}],"src":"417:122:1"},{"body":{"nodeType":"YulBlock","src":"608:80:1","statements":[{"nodeType":"YulAssignment","src":"618:22:1","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"633:6:1"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"627:5:1"},"nodeType":"YulFunctionCall","src":"627:13:1"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"618:5:1"}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"676:5:1"}],"functionName":{"name":"validator_revert_t_uint256","nodeType":"YulIdentifier","src":"649:26:1"},"nodeType":"YulFunctionCall","src":"649:33:1"},"nodeType":"YulExpressionStatement","src":"649:33:1"}]},"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"586:6:1","type":""},{"name":"end","nodeType":"YulTypedName","src":"594:3:1","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"602:5:1","type":""}],"src":"545:143:1"},{"body":{"nodeType":"YulBlock","src":"771:274:1","statements":[{"body":{"nodeType":"YulBlock","src":"817:83:1","statements":[{"expression":{"arguments":[],"functionName":{"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulIdentifier","src":"819:77:1"},"nodeType":"YulFunctionCall","src":"819:79:1"},"nodeType":"YulExpressionStatement","src":"819:79:1"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"792:7:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"801:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"788:3:1"},"nodeType":"YulFunctionCall","src":"788:23:1"},{"kind":"number","nodeType":"YulLiteral","src":"813:2:1","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"784:3:1"},"nodeType":"YulFunctionCall","src":"784:32:1"},"nodeType":"YulIf","src":"781:119:1"},{"nodeType":"YulBlock","src":"910:128:1","statements":[{"nodeType":"YulVariableDeclaration","src":"925:15:1","value":{"kind":"number","nodeType":"YulLiteral","src":"939:1:1","type":"","value":"0"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"929:6:1","type":""}]},{"nodeType":"YulAssignment","src":"954:74:1","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1000:9:1"},{"name":"offset","nodeType":"YulIdentifier","src":"1011:6:1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"996:3:1"},"nodeType":"YulFunctionCall","src":"996:22:1"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1020:7:1"}],"functionName":{"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulIdentifier","src":"964:31:1"},"nodeType":"YulFunctionCall","src":"964:64:1"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"954:6:1"}]}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"741:9:1","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"752:7:1","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"764:6:1","type":""}],"src":"694:351:1"},{"body":{"nodeType":"YulBlock","src":"1147:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1164:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1169:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1157:6:1"},"nodeType":"YulFunctionCall","src":"1157:19:1"},"nodeType":"YulExpressionStatement","src":"1157:19:1"},{"nodeType":"YulAssignment","src":"1185:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1204:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1209:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1200:3:1"},"nodeType":"YulFunctionCall","src":"1200:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1185:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1119:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1124:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1135:11:1","type":""}],"src":"1051:169:1"},{"body":{"nodeType":"YulBlock","src":"1332:116:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1354:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1362:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1350:3:1"},"nodeType":"YulFunctionCall","src":"1350:14:1"},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574","kind":"string","nodeType":"YulLiteral","src":"1366:34:1","type":"","value":"Unlock time should be in the fut"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1343:6:1"},"nodeType":"YulFunctionCall","src":"1343:58:1"},"nodeType":"YulExpressionStatement","src":"1343:58:1"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1422:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1430:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1418:3:1"},"nodeType":"YulFunctionCall","src":"1418:15:1"},{"hexValue":"757265","kind":"string","nodeType":"YulLiteral","src":"1435:5:1","type":"","value":"ure"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1411:6:1"},"nodeType":"YulFunctionCall","src":"1411:30:1"},"nodeType":"YulExpressionStatement","src":"1411:30:1"}]},"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1324:6:1","type":""}],"src":"1226:222:1"},{"body":{"nodeType":"YulBlock","src":"1600:220:1","statements":[{"nodeType":"YulAssignment","src":"1610:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1676:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1681:2:1","type":"","value":"35"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1617:58:1"},"nodeType":"YulFunctionCall","src":"1617:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1610:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1782:3:1"}],"functionName":{"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulIdentifier","src":"1693:88:1"},"nodeType":"YulFunctionCall","src":"1693:93:1"},"nodeType":"YulExpressionStatement","src":"1693:93:1"},{"nodeType":"YulAssignment","src":"1795:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1806:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1811:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1802:3:1"},"nodeType":"YulFunctionCall","src":"1802:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1795:3:1"}]}]},"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1588:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1596:3:1","type":""}],"src":"1454:366:1"},{"body":{"nodeType":"YulBlock","src":"1997:248:1","statements":[{"nodeType":"YulAssignment","src":"2007:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2019:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2030:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2015:3:1"},"nodeType":"YulFunctionCall","src":"2015:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2007:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2054:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2065:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2050:3:1"},"nodeType":"YulFunctionCall","src":"2050:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2073:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2079:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2069:3:1"},"nodeType":"YulFunctionCall","src":"2069:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2043:6:1"},"nodeType":"YulFunctionCall","src":"2043:47:1"},"nodeType":"YulExpressionStatement","src":"2043:47:1"},{"nodeType":"YulAssignment","src":"2099:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2233:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2107:124:1"},"nodeType":"YulFunctionCall","src":"2107:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2099:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1977:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1992:4:1","type":""}],"src":"1826:419:1"}]},"contents":"{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(memPtr) {\n\n mstore(add(memPtr, 0), \"Unlock time should be in the fut\")\n\n mstore(add(memPtr, 32), \"ure\")\n\n }\n\n function abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x5E1 CODESIZE SUB DUP1 PUSH2 0x5E1 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0xF9 JUMP JUMPDEST DUP1 TIMESTAMP LT PUSH2 0x67 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E SWAP1 PUSH2 0x1A9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH3 0x6EF91 SWAP1 POP DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP CALLER PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP POP PUSH2 0x1C9 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD6 DUP2 PUSH2 0xC3 JUMP JUMPDEST DUP2 EQ PUSH2 0xE1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xF3 DUP2 PUSH2 0xCD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x10F JUMPI PUSH2 0x10E PUSH2 0xBE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x11D DUP5 DUP3 DUP6 ADD PUSH2 0xE4 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x556E6C6F636B2074696D652073686F756C6420626520696E2074686520667574 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7572650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x193 PUSH1 0x23 DUP4 PUSH2 0x126 JUMP JUMPDEST SWAP2 POP PUSH2 0x19E DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1C2 DUP2 PUSH2 0x186 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x409 DUP1 PUSH2 0x1D8 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;270:262;;;;;;;;;;;;;;;;;;;;;:::i;:::-;357:11;339:15;:29;318:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;439:6;448;439:15;;477:11;464:10;:24;;;;514:10;498:5;;:27;;;;;;;;;;;;;;;;;;308:224;270:262;140:890;;88:117:1;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:143::-;602:5;633:6;627:13;618:22;;649:33;676:5;649:33;:::i;:::-;545:143;;;;:::o;694:351::-;764:6;813:2;801:9;792:7;788:23;784:32;781:119;;;819:79;;:::i;:::-;781:119;939:1;964:64;1020:7;1011:6;1000:9;996:22;964:64;:::i;:::-;954:74;;910:128;694:351;;;;:::o;1051:169::-;1135:11;1169:6;1164:3;1157:19;1209:4;1204:3;1200:14;1185:29;;1051:169;;;;:::o;1226:222::-;1366:34;1362:1;1354:6;1350:14;1343:58;1435:5;1430:2;1422:6;1418:15;1411:30;1226:222;:::o;1454:366::-;1596:3;1617:67;1681:2;1676:3;1617:67;:::i;:::-;1610:74;;1693:93;1782:3;1693:93;:::i;:::-;1811:2;1806:3;1802:12;1795:19;;1454:366;;;:::o;1826:419::-;1992:4;2030:2;2019:9;2015:18;2007:26;;2079:9;2073:4;2069:20;2065:1;2054:9;2050:17;2043:47;2107:131;2233:4;2107:131;:::i;:::-;2099:139;;1826:419;;;:::o;140:890:0:-;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@owner_5":{"entryPoint":523,"id":5,"parameterSlots":0,"returnSlots":0},"@unlockTime_3":{"entryPoint":140,"id":3,"parameterSlots":0,"returnSlots":0},"@withdraw_81":{"entryPoint":146,"id":81,"parameterSlots":0,"returnSlots":0},"abi_encode_t_address_payable_to_t_address_payable_fromStack":{"entryPoint":663,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack":{"entryPoint":763,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack":{"entryPoint":871,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_uint256_to_t_uint256_fromStack":{"entryPoint":571,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed":{"entryPoint":678,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":798,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":906,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":586,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":938,"id":null,"parameterSlots":3,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":705,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_address_payable":{"entryPoint":645,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint160":{"entryPoint":613,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":561,"id":null,"parameterSlots":1,"returnSlots":1},"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8":{"entryPoint":722,"id":null,"parameterSlots":1,"returnSlots":0},"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a":{"entryPoint":830,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3550:1","statements":[{"body":{"nodeType":"YulBlock","src":"52:32:1","statements":[{"nodeType":"YulAssignment","src":"62:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"73:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"62:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"34:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"44:7:1","type":""}],"src":"7:77:1"},{"body":{"nodeType":"YulBlock","src":"155:53:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"172:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"195:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"177:17:1"},"nodeType":"YulFunctionCall","src":"177:24:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"165:6:1"},"nodeType":"YulFunctionCall","src":"165:37:1"},"nodeType":"YulExpressionStatement","src":"165:37:1"}]},"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"143:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"150:3:1","type":""}],"src":"90:118:1"},{"body":{"nodeType":"YulBlock","src":"312:124:1","statements":[{"nodeType":"YulAssignment","src":"322:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"334:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"345:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"330:3:1"},"nodeType":"YulFunctionCall","src":"330:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"322:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"402:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"415:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"426:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"411:3:1"},"nodeType":"YulFunctionCall","src":"411:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"358:43:1"},"nodeType":"YulFunctionCall","src":"358:71:1"},"nodeType":"YulExpressionStatement","src":"358:71:1"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"284:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"296:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"307:4:1","type":""}],"src":"214:222:1"},{"body":{"nodeType":"YulBlock","src":"487:81:1","statements":[{"nodeType":"YulAssignment","src":"497:65:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"512:5:1"},{"kind":"number","nodeType":"YulLiteral","src":"519:42:1","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"508:3:1"},"nodeType":"YulFunctionCall","src":"508:54:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"497:7:1"}]}]},"name":"cleanup_t_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"469:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"479:7:1","type":""}],"src":"442:126:1"},{"body":{"nodeType":"YulBlock","src":"627:51:1","statements":[{"nodeType":"YulAssignment","src":"637:35:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"666:5:1"}],"functionName":{"name":"cleanup_t_uint160","nodeType":"YulIdentifier","src":"648:17:1"},"nodeType":"YulFunctionCall","src":"648:24:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"637:7:1"}]}]},"name":"cleanup_t_address_payable","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"609:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"619:7:1","type":""}],"src":"574:104:1"},{"body":{"nodeType":"YulBlock","src":"765:61:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"782:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"813:5:1"}],"functionName":{"name":"cleanup_t_address_payable","nodeType":"YulIdentifier","src":"787:25:1"},"nodeType":"YulFunctionCall","src":"787:32:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"775:6:1"},"nodeType":"YulFunctionCall","src":"775:45:1"},"nodeType":"YulExpressionStatement","src":"775:45:1"}]},"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"753:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"760:3:1","type":""}],"src":"684:142:1"},{"body":{"nodeType":"YulBlock","src":"946:140:1","statements":[{"nodeType":"YulAssignment","src":"956:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"968:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"979:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"964:3:1"},"nodeType":"YulFunctionCall","src":"964:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"956:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1052:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1065:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"1076:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1061:3:1"},"nodeType":"YulFunctionCall","src":"1061:17:1"}],"functionName":{"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulIdentifier","src":"992:59:1"},"nodeType":"YulFunctionCall","src":"992:87:1"},"nodeType":"YulExpressionStatement","src":"992:87:1"}]},"name":"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"918:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"930:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"941:4:1","type":""}],"src":"832:254:1"},{"body":{"nodeType":"YulBlock","src":"1188:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1205:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1210:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1198:6:1"},"nodeType":"YulFunctionCall","src":"1198:19:1"},"nodeType":"YulExpressionStatement","src":"1198:19:1"},{"nodeType":"YulAssignment","src":"1226:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1245:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1250:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1241:3:1"},"nodeType":"YulFunctionCall","src":"1241:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1226:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1160:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1165:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1176:11:1","type":""}],"src":"1092:169:1"},{"body":{"nodeType":"YulBlock","src":"1373:66:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1395:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1403:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1391:3:1"},"nodeType":"YulFunctionCall","src":"1391:14:1"},{"hexValue":"596f752063616e277420776974686472617720796574","kind":"string","nodeType":"YulLiteral","src":"1407:24:1","type":"","value":"You can't withdraw yet"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1384:6:1"},"nodeType":"YulFunctionCall","src":"1384:48:1"},"nodeType":"YulExpressionStatement","src":"1384:48:1"}]},"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1365:6:1","type":""}],"src":"1267:172:1"},{"body":{"nodeType":"YulBlock","src":"1591:220:1","statements":[{"nodeType":"YulAssignment","src":"1601:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1667:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1672:2:1","type":"","value":"22"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1608:58:1"},"nodeType":"YulFunctionCall","src":"1608:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1601:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1773:3:1"}],"functionName":{"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulIdentifier","src":"1684:88:1"},"nodeType":"YulFunctionCall","src":"1684:93:1"},"nodeType":"YulExpressionStatement","src":"1684:93:1"},{"nodeType":"YulAssignment","src":"1786:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1797:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1802:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1793:3:1"},"nodeType":"YulFunctionCall","src":"1793:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1786:3:1"}]}]},"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1579:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1587:3:1","type":""}],"src":"1445:366:1"},{"body":{"nodeType":"YulBlock","src":"1988:248:1","statements":[{"nodeType":"YulAssignment","src":"1998:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2010:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2021:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2006:3:1"},"nodeType":"YulFunctionCall","src":"2006:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1998:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2045:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2056:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2041:3:1"},"nodeType":"YulFunctionCall","src":"2041:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2064:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2070:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2060:3:1"},"nodeType":"YulFunctionCall","src":"2060:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2034:6:1"},"nodeType":"YulFunctionCall","src":"2034:47:1"},"nodeType":"YulExpressionStatement","src":"2034:47:1"},{"nodeType":"YulAssignment","src":"2090:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2224:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2098:124:1"},"nodeType":"YulFunctionCall","src":"2098:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2090:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1968:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1983:4:1","type":""}],"src":"1817:419:1"},{"body":{"nodeType":"YulBlock","src":"2348:64:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"2370:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"2378:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2366:3:1"},"nodeType":"YulFunctionCall","src":"2366:14:1"},{"hexValue":"596f75206172656e277420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"2382:22:1","type":"","value":"You aren't the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2359:6:1"},"nodeType":"YulFunctionCall","src":"2359:46:1"},"nodeType":"YulExpressionStatement","src":"2359:46:1"}]},"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"2340:6:1","type":""}],"src":"2242:170:1"},{"body":{"nodeType":"YulBlock","src":"2564:220:1","statements":[{"nodeType":"YulAssignment","src":"2574:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2640:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2645:2:1","type":"","value":"20"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2581:58:1"},"nodeType":"YulFunctionCall","src":"2581:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"2574:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2746:3:1"}],"functionName":{"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulIdentifier","src":"2657:88:1"},"nodeType":"YulFunctionCall","src":"2657:93:1"},"nodeType":"YulExpressionStatement","src":"2657:93:1"},{"nodeType":"YulAssignment","src":"2759:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2770:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2775:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2766:3:1"},"nodeType":"YulFunctionCall","src":"2766:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"2759:3:1"}]}]},"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"2552:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"2560:3:1","type":""}],"src":"2418:366:1"},{"body":{"nodeType":"YulBlock","src":"2961:248:1","statements":[{"nodeType":"YulAssignment","src":"2971:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2983:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2994:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2979:3:1"},"nodeType":"YulFunctionCall","src":"2979:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2971:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3018:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3029:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3014:3:1"},"nodeType":"YulFunctionCall","src":"3014:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3037:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"3043:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3033:3:1"},"nodeType":"YulFunctionCall","src":"3033:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3007:6:1"},"nodeType":"YulFunctionCall","src":"3007:47:1"},"nodeType":"YulExpressionStatement","src":"3007:47:1"},{"nodeType":"YulAssignment","src":"3063:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3197:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"3071:124:1"},"nodeType":"YulFunctionCall","src":"3071:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3063:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2941:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2956:4:1","type":""}],"src":"2790:419:1"},{"body":{"nodeType":"YulBlock","src":"3341:206:1","statements":[{"nodeType":"YulAssignment","src":"3351:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3363:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3374:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3359:3:1"},"nodeType":"YulFunctionCall","src":"3359:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3351:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3431:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3444:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3455:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3440:3:1"},"nodeType":"YulFunctionCall","src":"3440:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3387:43:1"},"nodeType":"YulFunctionCall","src":"3387:71:1"},"nodeType":"YulExpressionStatement","src":"3387:71:1"},{"expression":{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"3512:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3525:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3536:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3521:3:1"},"nodeType":"YulFunctionCall","src":"3521:18:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3468:43:1"},"nodeType":"YulFunctionCall","src":"3468:72:1"},"nodeType":"YulExpressionStatement","src":"3468:72:1"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3305:9:1","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3317:6:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3325:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3336:4:1","type":""}],"src":"3215:332:1"}]},"contents":"{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_payable_to_t_address_payable_fromStack(value, pos) {\n mstore(pos, cleanup_t_address_payable(value))\n }\n\n function abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(memPtr) {\n\n mstore(add(memPtr, 0), \"You can't withdraw yet\")\n\n }\n\n function abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 22)\n store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(memPtr) {\n\n mstore(add(memPtr, 0), \"You aren't the owner\")\n\n }\n\n function abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;538:490;;;:::i;:::-;;188:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;160:22;;;;:::o;538:490::-;808:10;;789:15;:29;;781:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;877:5;;;;;;;;;;;863:19;;:10;:19;;;855:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;923:50;934:21;957:15;923:50;;;;;;;:::i;:::-;;;;;;;;984:5;;;;;;;;;;;:14;;:37;999:21;984:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;538:490::o;188:28::-;;;;;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:104::-;619:7;648:24;666:5;648:24;:::i;:::-;637:35;;574:104;;;:::o;684:142::-;787:32;813:5;787:32;:::i;:::-;782:3;775:45;684:142;;:::o;832:254::-;941:4;979:2;968:9;964:18;956:26;;992:87;1076:1;1065:9;1061:17;1052:6;992:87;:::i;:::-;832:254;;;;:::o;1092:169::-;1176:11;1210:6;1205:3;1198:19;1250:4;1245:3;1241:14;1226:29;;1092:169;;;;:::o;1267:172::-;1407:24;1403:1;1395:6;1391:14;1384:48;1267:172;:::o;1445:366::-;1587:3;1608:67;1672:2;1667:3;1608:67;:::i;:::-;1601:74;;1684:93;1773:3;1684:93;:::i;:::-;1802:2;1797:3;1793:12;1786:19;;1445:366;;;:::o;1817:419::-;1983:4;2021:2;2010:9;2006:18;1998:26;;2070:9;2064:4;2060:20;2056:1;2045:9;2041:17;2034:47;2098:131;2224:4;2098:131;:::i;:::-;2090:139;;1817:419;;;:::o;2242:170::-;2382:22;2378:1;2370:6;2366:14;2359:46;2242:170;:::o;2418:366::-;2560:3;2581:67;2645:2;2640:3;2581:67;:::i;:::-;2574:74;;2657:93;2746:3;2657:93;:::i;:::-;2775:2;2770:3;2766:12;2759:19;;2418:366;;;:::o;2790:419::-;2956:4;2994:2;2983:9;2979:18;2971:26;;3043:9;3037:4;3033:20;3029:1;3018:9;3014:17;3007:47;3071:131;3197:4;3071:131;:::i;:::-;3063:139;;2790:419;;;:::o;3215:332::-;3336:4;3374:2;3363:9;3359:18;3351:26;;3387:71;3455:1;3444:9;3440:17;3431:6;3387:71;:::i;:::-;3468:72;3536:2;3525:9;3521:18;3512:6;3468:72;:::i;:::-;3215:332;;;;;:::o"},"methodIdentifiers":{"owner()":"8da5cb5b","unlockTime()":"251c1aa3","withdraw()":"3ccfd60b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockTime\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"when\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Lock.sol\":\"Lock\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Lock.sol\":{\"keccak256\":\"0xa5ebf2cef5285b3206868acdf827f5efad8cc2b9e9d27825149726738201f7fd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://df07ce18da48c5d5377d12dddb8ed9d1a860111b9a9ae36539bfcde6af7a41a1\",\"dweb:/ipfs/QmVrX2e4QHJJo22XrNkCy2koPNhMz49bzvmRXuaLKRtx5f\"]}},\"version\":1}"}}}},"default":{"id":"7839ba878952cc00ff316061405f273a","_format":"hh-sol-build-info-1","solcVersion":"0.8.17","solcLongVersion":"0.8.17+commit.8df45f5f","input":{"language":"Solidity","sources":{"contracts/Lock.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.9;\n\n// Uncomment this line to use console.log\n// import \"hardhat/console.sol\";\n\ncontract Lock {\n uint public unlockTime;\n address payable public owner;\n\n event Withdrawal(uint amount, uint when);\n\n constructor(uint _unlockTime) payable {\n require(\n block.timestamp < _unlockTime,\n \"Unlock time should be in the future\"\n );\n uint p = 454545;\n unlockTime = _unlockTime;\n owner = payable(msg.sender);\n }\n\n function withdraw() public {\n // Uncomment this line, and the import of \"hardhat/console.sol\", to print a log in your terminal\n // console.log(\"Unlock time is %o and block timestamp is %o\", unlockTime, block.timestamp);\n\n require(block.timestamp >= unlockTime, \"You can't withdraw yet\");\n require(msg.sender == owner, \"You aren't the owner\");\n\n emit Withdrawal(address(this).balance, block.timestamp);\n\n owner.transfer(address(this).balance);\n }\n}\n"}},"settings":{"optimizer":{"enabled":false,"runs":200},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"errors":[{"component":"general","errorCode":"2072","formattedMessage":"Warning: Unused local variable.\n --> contracts/Lock.sol:18:9:\n |\n18 | uint p = 454545;\n | ^^^^^^\n\n","message":"Unused local variable.","severity":"warning","sourceLocation":{"end":445,"file":"contracts/Lock.sol","start":439},"type":"Warning"}],"sources":{"contracts/Lock.sol":{"ast":{"absolutePath":"contracts/Lock.sol","exportedSymbols":{"Lock":[82]},"id":83,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".9"],"nodeType":"PragmaDirective","src":"39:23:0"},{"abstract":false,"baseContracts":[],"canonicalName":"Lock","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":82,"linearizedBaseContracts":[82],"name":"Lock","nameLocation":"149:4:0","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"251c1aa3","id":3,"mutability":"mutable","name":"unlockTime","nameLocation":"172:10:0","nodeType":"VariableDeclaration","scope":82,"src":"160:22:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2,"name":"uint","nodeType":"ElementaryTypeName","src":"160:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"constant":false,"functionSelector":"8da5cb5b","id":5,"mutability":"mutable","name":"owner","nameLocation":"211:5:0","nodeType":"VariableDeclaration","scope":82,"src":"188:28:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":4,"name":"address","nodeType":"ElementaryTypeName","src":"188:15:0","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"public"},{"anonymous":false,"eventSelector":"bf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b93","id":11,"name":"Withdrawal","nameLocation":"229:10:0","nodeType":"EventDefinition","parameters":{"id":10,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"245:6:0","nodeType":"VariableDeclaration","scope":11,"src":"240:11:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6,"name":"uint","nodeType":"ElementaryTypeName","src":"240:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9,"indexed":false,"mutability":"mutable","name":"when","nameLocation":"258:4:0","nodeType":"VariableDeclaration","scope":11,"src":"253:9:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8,"name":"uint","nodeType":"ElementaryTypeName","src":"253:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"239:24:0"},"src":"223:41:0"},{"body":{"id":40,"nodeType":"Block","src":"308:224:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"339:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":18,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"345:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"339:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"357:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"339:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574757265","id":21,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"382:37:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""},"value":"Unlock time should be in the future"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","typeString":"literal_string \"Unlock time should be in the future\""}],"id":16,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"318:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"318:111:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":23,"nodeType":"ExpressionStatement","src":"318:111:0"},{"assignments":[25],"declarations":[{"constant":false,"id":25,"mutability":"mutable","name":"p","nameLocation":"444:1:0","nodeType":"VariableDeclaration","scope":40,"src":"439:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":24,"name":"uint","nodeType":"ElementaryTypeName","src":"439:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":27,"initialValue":{"hexValue":"343534353435","id":26,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"448:6:0","typeDescriptions":{"typeIdentifier":"t_rational_454545_by_1","typeString":"int_const 454545"},"value":"454545"},"nodeType":"VariableDeclarationStatement","src":"439:15:0"},{"expression":{"id":30,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":28,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"464:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":29,"name":"_unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13,"src":"477:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"464:24:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":31,"nodeType":"ExpressionStatement","src":"464:24:0"},{"expression":{"id":38,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":32,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"498:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":35,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"514:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"518:6:0","memberName":"sender","nodeType":"MemberAccess","src":"514:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":34,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"506:8:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_payable_$","typeString":"type(address payable)"},"typeName":{"id":33,"name":"address","nodeType":"ElementaryTypeName","src":"506:8:0","stateMutability":"payable","typeDescriptions":{}}},"id":37,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"506:19:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"498:27:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":39,"nodeType":"ExpressionStatement","src":"498:27:0"}]},"id":41,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13,"mutability":"mutable","name":"_unlockTime","nameLocation":"287:11:0","nodeType":"VariableDeclaration","scope":41,"src":"282:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12,"name":"uint","nodeType":"ElementaryTypeName","src":"282:4:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"281:18:0"},"returnParameters":{"id":15,"nodeType":"ParameterList","parameters":[],"src":"308:0:0"},"scope":82,"src":"270:262:0","stateMutability":"payable","virtual":false,"visibility":"public"},{"body":{"id":80,"nodeType":"Block","src":"565:463:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":48,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":45,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"789:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":46,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"795:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"789:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":47,"name":"unlockTime","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3,"src":"808:10:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"789:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f752063616e277420776974686472617720796574","id":49,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"820:24:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""},"value":"You can't withdraw yet"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","typeString":"literal_string \"You can't withdraw yet\""}],"id":44,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"781:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":50,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"781:64:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":51,"nodeType":"ExpressionStatement","src":"781:64:0"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":53,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"863:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"867:6:0","memberName":"sender","nodeType":"MemberAccess","src":"863:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":55,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"877:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"src":"863:19:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"596f75206172656e277420746865206f776e6572","id":57,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"884:22:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""},"value":"You aren't the owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","typeString":"literal_string \"You aren't the owner\""}],"id":52,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"855:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":58,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"855:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":59,"nodeType":"ExpressionStatement","src":"855:52:0"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":63,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"942:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":62,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"934:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":61,"name":"address","nodeType":"ElementaryTypeName","src":"934:7:0","typeDescriptions":{}}},"id":64,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"934:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":65,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"948:7:0","memberName":"balance","nodeType":"MemberAccess","src":"934:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":66,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"957:5:0","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":67,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"963:9:0","memberName":"timestamp","nodeType":"MemberAccess","src":"957:15:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":60,"name":"Withdrawal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"923:10:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":68,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"923:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":69,"nodeType":"EmitStatement","src":"918:55:0"},{"expression":{"arguments":[{"expression":{"arguments":[{"id":75,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1007:4:0","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$82","typeString":"contract Lock"}],"id":74,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"999:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":73,"name":"address","nodeType":"ElementaryTypeName","src":"999:7:0","typeDescriptions":{}}},"id":76,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":77,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1013:7:0","memberName":"balance","nodeType":"MemberAccess","src":"999:21:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":70,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5,"src":"984:5:0","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":72,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"990:8:0","memberName":"transfer","nodeType":"MemberAccess","src":"984:14:0","typeDescriptions":{"typeIdentifier":"t_function_transfer_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":78,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"984:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":79,"nodeType":"ExpressionStatement","src":"984:37:0"}]},"functionSelector":"3ccfd60b","id":81,"implemented":true,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"547:8:0","nodeType":"FunctionDefinition","parameters":{"id":42,"nodeType":"ParameterList","parameters":[],"src":"555:2:0"},"returnParameters":{"id":43,"nodeType":"ParameterList","parameters":[],"src":"565:0:0"},"scope":82,"src":"538:490:0","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":83,"src":"140:890:0","usedErrors":[]}],"src":"39:992:0"},"id":0}},"contracts":{"contracts/Lock.sol":{"Lock":{"abi":[{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_41":{"entryPoint":null,"id":41,"parameterSlots":1,"returnSlots":0},"abi_decode_t_uint256_fromMemory":{"entryPoint":228,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":249,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack":{"entryPoint":390,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":425,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_unbounded":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":294,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":195,"id":null,"parameterSlots":1,"returnSlots":1},"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":0},"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b":{"entryPoint":190,"id":null,"parameterSlots":0,"returnSlots":0},"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413":{"entryPoint":311,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_t_uint256":{"entryPoint":205,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:2248:1","statements":[{"body":{"nodeType":"YulBlock","src":"47:35:1","statements":[{"nodeType":"YulAssignment","src":"57:19:1","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"73:2:1","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"67:5:1"},"nodeType":"YulFunctionCall","src":"67:9:1"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"57:6:1"}]}]},"name":"allocate_unbounded","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"40:6:1","type":""}],"src":"7:75:1"},{"body":{"nodeType":"YulBlock","src":"177:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"194:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"197:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"187:6:1"},"nodeType":"YulFunctionCall","src":"187:12:1"},"nodeType":"YulExpressionStatement","src":"187:12:1"}]},"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulFunctionDefinition","src":"88:117:1"},{"body":{"nodeType":"YulBlock","src":"300:28:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"317:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"320:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"310:6:1"},"nodeType":"YulFunctionCall","src":"310:12:1"},"nodeType":"YulExpressionStatement","src":"310:12:1"}]},"name":"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db","nodeType":"YulFunctionDefinition","src":"211:117:1"},{"body":{"nodeType":"YulBlock","src":"379:32:1","statements":[{"nodeType":"YulAssignment","src":"389:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"400:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"389:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"361:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"371:7:1","type":""}],"src":"334:77:1"},{"body":{"nodeType":"YulBlock","src":"460:79:1","statements":[{"body":{"nodeType":"YulBlock","src":"517:16:1","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"526:1:1","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"529:1:1","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"519:6:1"},"nodeType":"YulFunctionCall","src":"519:12:1"},"nodeType":"YulExpressionStatement","src":"519:12:1"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"483:5:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"508:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"490:17:1"},"nodeType":"YulFunctionCall","src":"490:24:1"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"480:2:1"},"nodeType":"YulFunctionCall","src":"480:35:1"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"473:6:1"},"nodeType":"YulFunctionCall","src":"473:43:1"},"nodeType":"YulIf","src":"470:63:1"}]},"name":"validator_revert_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"453:5:1","type":""}],"src":"417:122:1"},{"body":{"nodeType":"YulBlock","src":"608:80:1","statements":[{"nodeType":"YulAssignment","src":"618:22:1","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"633:6:1"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"627:5:1"},"nodeType":"YulFunctionCall","src":"627:13:1"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"618:5:1"}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"676:5:1"}],"functionName":{"name":"validator_revert_t_uint256","nodeType":"YulIdentifier","src":"649:26:1"},"nodeType":"YulFunctionCall","src":"649:33:1"},"nodeType":"YulExpressionStatement","src":"649:33:1"}]},"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"586:6:1","type":""},{"name":"end","nodeType":"YulTypedName","src":"594:3:1","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"602:5:1","type":""}],"src":"545:143:1"},{"body":{"nodeType":"YulBlock","src":"771:274:1","statements":[{"body":{"nodeType":"YulBlock","src":"817:83:1","statements":[{"expression":{"arguments":[],"functionName":{"name":"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b","nodeType":"YulIdentifier","src":"819:77:1"},"nodeType":"YulFunctionCall","src":"819:79:1"},"nodeType":"YulExpressionStatement","src":"819:79:1"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"792:7:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"801:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"788:3:1"},"nodeType":"YulFunctionCall","src":"788:23:1"},{"kind":"number","nodeType":"YulLiteral","src":"813:2:1","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"784:3:1"},"nodeType":"YulFunctionCall","src":"784:32:1"},"nodeType":"YulIf","src":"781:119:1"},{"nodeType":"YulBlock","src":"910:128:1","statements":[{"nodeType":"YulVariableDeclaration","src":"925:15:1","value":{"kind":"number","nodeType":"YulLiteral","src":"939:1:1","type":"","value":"0"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"929:6:1","type":""}]},{"nodeType":"YulAssignment","src":"954:74:1","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1000:9:1"},{"name":"offset","nodeType":"YulIdentifier","src":"1011:6:1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"996:3:1"},"nodeType":"YulFunctionCall","src":"996:22:1"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1020:7:1"}],"functionName":{"name":"abi_decode_t_uint256_fromMemory","nodeType":"YulIdentifier","src":"964:31:1"},"nodeType":"YulFunctionCall","src":"964:64:1"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"954:6:1"}]}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"741:9:1","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"752:7:1","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"764:6:1","type":""}],"src":"694:351:1"},{"body":{"nodeType":"YulBlock","src":"1147:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1164:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1169:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1157:6:1"},"nodeType":"YulFunctionCall","src":"1157:19:1"},"nodeType":"YulExpressionStatement","src":"1157:19:1"},{"nodeType":"YulAssignment","src":"1185:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1204:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1209:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1200:3:1"},"nodeType":"YulFunctionCall","src":"1200:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1185:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1119:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1124:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1135:11:1","type":""}],"src":"1051:169:1"},{"body":{"nodeType":"YulBlock","src":"1332:116:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1354:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1362:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1350:3:1"},"nodeType":"YulFunctionCall","src":"1350:14:1"},{"hexValue":"556e6c6f636b2074696d652073686f756c6420626520696e2074686520667574","kind":"string","nodeType":"YulLiteral","src":"1366:34:1","type":"","value":"Unlock time should be in the fut"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1343:6:1"},"nodeType":"YulFunctionCall","src":"1343:58:1"},"nodeType":"YulExpressionStatement","src":"1343:58:1"},{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1422:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1430:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1418:3:1"},"nodeType":"YulFunctionCall","src":"1418:15:1"},{"hexValue":"757265","kind":"string","nodeType":"YulLiteral","src":"1435:5:1","type":"","value":"ure"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1411:6:1"},"nodeType":"YulFunctionCall","src":"1411:30:1"},"nodeType":"YulExpressionStatement","src":"1411:30:1"}]},"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1324:6:1","type":""}],"src":"1226:222:1"},{"body":{"nodeType":"YulBlock","src":"1600:220:1","statements":[{"nodeType":"YulAssignment","src":"1610:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1676:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1681:2:1","type":"","value":"35"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1617:58:1"},"nodeType":"YulFunctionCall","src":"1617:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1610:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1782:3:1"}],"functionName":{"name":"store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413","nodeType":"YulIdentifier","src":"1693:88:1"},"nodeType":"YulFunctionCall","src":"1693:93:1"},"nodeType":"YulExpressionStatement","src":"1693:93:1"},{"nodeType":"YulAssignment","src":"1795:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1806:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1811:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1802:3:1"},"nodeType":"YulFunctionCall","src":"1802:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1795:3:1"}]}]},"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1588:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1596:3:1","type":""}],"src":"1454:366:1"},{"body":{"nodeType":"YulBlock","src":"1997:248:1","statements":[{"nodeType":"YulAssignment","src":"2007:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2019:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2030:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2015:3:1"},"nodeType":"YulFunctionCall","src":"2015:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2007:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2054:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2065:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2050:3:1"},"nodeType":"YulFunctionCall","src":"2050:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2073:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2079:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2069:3:1"},"nodeType":"YulFunctionCall","src":"2069:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2043:6:1"},"nodeType":"YulFunctionCall","src":"2043:47:1"},"nodeType":"YulExpressionStatement","src":"2043:47:1"},{"nodeType":"YulAssignment","src":"2099:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2233:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2107:124:1"},"nodeType":"YulFunctionCall","src":"2107:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2099:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1977:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1992:4:1","type":""}],"src":"1826:419:1"}]},"contents":"{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(memPtr) {\n\n mstore(add(memPtr, 0), \"Unlock time should be in the fut\")\n\n mstore(add(memPtr, 32), \"ure\")\n\n }\n\n function abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f6fa9918d4578fba07be58c41841a4c6937c19725f7f4601884cd186799a8413_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x5E1 CODESIZE SUB DUP1 PUSH2 0x5E1 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x25 SWAP2 SWAP1 PUSH2 0xF9 JUMP JUMPDEST DUP1 TIMESTAMP LT PUSH2 0x67 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5E SWAP1 PUSH2 0x1A9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH3 0x6EF91 SWAP1 POP DUP2 PUSH1 0x0 DUP2 SWAP1 SSTORE POP CALLER PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP POP PUSH2 0x1C9 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD6 DUP2 PUSH2 0xC3 JUMP JUMPDEST DUP2 EQ PUSH2 0xE1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xF3 DUP2 PUSH2 0xCD JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x10F JUMPI PUSH2 0x10E PUSH2 0xBE JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x11D DUP5 DUP3 DUP6 ADD PUSH2 0xE4 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x556E6C6F636B2074696D652073686F756C6420626520696E2074686520667574 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7572650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x193 PUSH1 0x23 DUP4 PUSH2 0x126 JUMP JUMPDEST SWAP2 POP PUSH2 0x19E DUP3 PUSH2 0x137 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1C2 DUP2 PUSH2 0x186 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x409 DUP1 PUSH2 0x1D8 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;270:262;;;;;;;;;;;;;;;;;;;;;:::i;:::-;357:11;339:15;:29;318:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;439:6;448;439:15;;477:11;464:10;:24;;;;514:10;498:5;;:27;;;;;;;;;;;;;;;;;;308:224;270:262;140:890;;88:117:1;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:143::-;602:5;633:6;627:13;618:22;;649:33;676:5;649:33;:::i;:::-;545:143;;;;:::o;694:351::-;764:6;813:2;801:9;792:7;788:23;784:32;781:119;;;819:79;;:::i;:::-;781:119;939:1;964:64;1020:7;1011:6;1000:9;996:22;964:64;:::i;:::-;954:74;;910:128;694:351;;;;:::o;1051:169::-;1135:11;1169:6;1164:3;1157:19;1209:4;1204:3;1200:14;1185:29;;1051:169;;;;:::o;1226:222::-;1366:34;1362:1;1354:6;1350:14;1343:58;1435:5;1430:2;1422:6;1418:15;1411:30;1226:222;:::o;1454:366::-;1596:3;1617:67;1681:2;1676:3;1617:67;:::i;:::-;1610:74;;1693:93;1782:3;1693:93;:::i;:::-;1811:2;1806:3;1802:12;1795:19;;1454:366;;;:::o;1826:419::-;1992:4;2030:2;2019:9;2015:18;2007:26;;2079:9;2073:4;2069:20;2065:1;2054:9;2050:17;2043:47;2107:131;2233:4;2107:131;:::i;:::-;2099:139;;1826:419;;;:::o;140:890:0:-;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@owner_5":{"entryPoint":523,"id":5,"parameterSlots":0,"returnSlots":0},"@unlockTime_3":{"entryPoint":140,"id":3,"parameterSlots":0,"returnSlots":0},"@withdraw_81":{"entryPoint":146,"id":81,"parameterSlots":0,"returnSlots":0},"abi_encode_t_address_payable_to_t_address_payable_fromStack":{"entryPoint":663,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack":{"entryPoint":763,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack":{"entryPoint":871,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_t_uint256_to_t_uint256_fromStack":{"entryPoint":571,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed":{"entryPoint":678,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":798,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":906,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":586,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":938,"id":null,"parameterSlots":3,"returnSlots":1},"array_storeLengthForEncoding_t_string_memory_ptr_fromStack":{"entryPoint":705,"id":null,"parameterSlots":2,"returnSlots":1},"cleanup_t_address_payable":{"entryPoint":645,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint160":{"entryPoint":613,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_t_uint256":{"entryPoint":561,"id":null,"parameterSlots":1,"returnSlots":1},"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8":{"entryPoint":722,"id":null,"parameterSlots":1,"returnSlots":0},"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a":{"entryPoint":830,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3550:1","statements":[{"body":{"nodeType":"YulBlock","src":"52:32:1","statements":[{"nodeType":"YulAssignment","src":"62:16:1","value":{"name":"value","nodeType":"YulIdentifier","src":"73:5:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"62:7:1"}]}]},"name":"cleanup_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"34:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"44:7:1","type":""}],"src":"7:77:1"},{"body":{"nodeType":"YulBlock","src":"155:53:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"172:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"195:5:1"}],"functionName":{"name":"cleanup_t_uint256","nodeType":"YulIdentifier","src":"177:17:1"},"nodeType":"YulFunctionCall","src":"177:24:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"165:6:1"},"nodeType":"YulFunctionCall","src":"165:37:1"},"nodeType":"YulExpressionStatement","src":"165:37:1"}]},"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"143:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"150:3:1","type":""}],"src":"90:118:1"},{"body":{"nodeType":"YulBlock","src":"312:124:1","statements":[{"nodeType":"YulAssignment","src":"322:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"334:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"345:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"330:3:1"},"nodeType":"YulFunctionCall","src":"330:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"322:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"402:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"415:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"426:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"411:3:1"},"nodeType":"YulFunctionCall","src":"411:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"358:43:1"},"nodeType":"YulFunctionCall","src":"358:71:1"},"nodeType":"YulExpressionStatement","src":"358:71:1"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"284:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"296:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"307:4:1","type":""}],"src":"214:222:1"},{"body":{"nodeType":"YulBlock","src":"487:81:1","statements":[{"nodeType":"YulAssignment","src":"497:65:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"512:5:1"},{"kind":"number","nodeType":"YulLiteral","src":"519:42:1","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"508:3:1"},"nodeType":"YulFunctionCall","src":"508:54:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"497:7:1"}]}]},"name":"cleanup_t_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"469:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"479:7:1","type":""}],"src":"442:126:1"},{"body":{"nodeType":"YulBlock","src":"627:51:1","statements":[{"nodeType":"YulAssignment","src":"637:35:1","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"666:5:1"}],"functionName":{"name":"cleanup_t_uint160","nodeType":"YulIdentifier","src":"648:17:1"},"nodeType":"YulFunctionCall","src":"648:24:1"},"variableNames":[{"name":"cleaned","nodeType":"YulIdentifier","src":"637:7:1"}]}]},"name":"cleanup_t_address_payable","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"609:5:1","type":""}],"returnVariables":[{"name":"cleaned","nodeType":"YulTypedName","src":"619:7:1","type":""}],"src":"574:104:1"},{"body":{"nodeType":"YulBlock","src":"765:61:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"782:3:1"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"813:5:1"}],"functionName":{"name":"cleanup_t_address_payable","nodeType":"YulIdentifier","src":"787:25:1"},"nodeType":"YulFunctionCall","src":"787:32:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"775:6:1"},"nodeType":"YulFunctionCall","src":"775:45:1"},"nodeType":"YulExpressionStatement","src":"775:45:1"}]},"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"753:5:1","type":""},{"name":"pos","nodeType":"YulTypedName","src":"760:3:1","type":""}],"src":"684:142:1"},{"body":{"nodeType":"YulBlock","src":"946:140:1","statements":[{"nodeType":"YulAssignment","src":"956:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"968:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"979:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"964:3:1"},"nodeType":"YulFunctionCall","src":"964:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"956:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1052:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1065:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"1076:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1061:3:1"},"nodeType":"YulFunctionCall","src":"1061:17:1"}],"functionName":{"name":"abi_encode_t_address_payable_to_t_address_payable_fromStack","nodeType":"YulIdentifier","src":"992:59:1"},"nodeType":"YulFunctionCall","src":"992:87:1"},"nodeType":"YulExpressionStatement","src":"992:87:1"}]},"name":"abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"918:9:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"930:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"941:4:1","type":""}],"src":"832:254:1"},{"body":{"nodeType":"YulBlock","src":"1188:73:1","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1205:3:1"},{"name":"length","nodeType":"YulIdentifier","src":"1210:6:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1198:6:1"},"nodeType":"YulFunctionCall","src":"1198:19:1"},"nodeType":"YulExpressionStatement","src":"1198:19:1"},{"nodeType":"YulAssignment","src":"1226:29:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1245:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1250:4:1","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1241:3:1"},"nodeType":"YulFunctionCall","src":"1241:14:1"},"variableNames":[{"name":"updated_pos","nodeType":"YulIdentifier","src":"1226:11:1"}]}]},"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1160:3:1","type":""},{"name":"length","nodeType":"YulTypedName","src":"1165:6:1","type":""}],"returnVariables":[{"name":"updated_pos","nodeType":"YulTypedName","src":"1176:11:1","type":""}],"src":"1092:169:1"},{"body":{"nodeType":"YulBlock","src":"1373:66:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1395:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"1403:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1391:3:1"},"nodeType":"YulFunctionCall","src":"1391:14:1"},{"hexValue":"596f752063616e277420776974686472617720796574","kind":"string","nodeType":"YulLiteral","src":"1407:24:1","type":"","value":"You can't withdraw yet"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1384:6:1"},"nodeType":"YulFunctionCall","src":"1384:48:1"},"nodeType":"YulExpressionStatement","src":"1384:48:1"}]},"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"1365:6:1","type":""}],"src":"1267:172:1"},{"body":{"nodeType":"YulBlock","src":"1591:220:1","statements":[{"nodeType":"YulAssignment","src":"1601:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1667:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1672:2:1","type":"","value":"22"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"1608:58:1"},"nodeType":"YulFunctionCall","src":"1608:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"1601:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1773:3:1"}],"functionName":{"name":"store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8","nodeType":"YulIdentifier","src":"1684:88:1"},"nodeType":"YulFunctionCall","src":"1684:93:1"},"nodeType":"YulExpressionStatement","src":"1684:93:1"},{"nodeType":"YulAssignment","src":"1786:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"1797:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"1802:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1793:3:1"},"nodeType":"YulFunctionCall","src":"1793:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"1786:3:1"}]}]},"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"1579:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"1587:3:1","type":""}],"src":"1445:366:1"},{"body":{"nodeType":"YulBlock","src":"1988:248:1","statements":[{"nodeType":"YulAssignment","src":"1998:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2010:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2021:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2006:3:1"},"nodeType":"YulFunctionCall","src":"2006:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1998:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2045:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2056:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2041:3:1"},"nodeType":"YulFunctionCall","src":"2041:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2064:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"2070:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2060:3:1"},"nodeType":"YulFunctionCall","src":"2060:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2034:6:1"},"nodeType":"YulFunctionCall","src":"2034:47:1"},"nodeType":"YulExpressionStatement","src":"2034:47:1"},{"nodeType":"YulAssignment","src":"2090:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"2224:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2098:124:1"},"nodeType":"YulFunctionCall","src":"2098:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2090:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1968:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1983:4:1","type":""}],"src":"1817:419:1"},{"body":{"nodeType":"YulBlock","src":"2348:64:1","statements":[{"expression":{"arguments":[{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"2370:6:1"},{"kind":"number","nodeType":"YulLiteral","src":"2378:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2366:3:1"},"nodeType":"YulFunctionCall","src":"2366:14:1"},{"hexValue":"596f75206172656e277420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"2382:22:1","type":"","value":"You aren't the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2359:6:1"},"nodeType":"YulFunctionCall","src":"2359:46:1"},"nodeType":"YulExpressionStatement","src":"2359:46:1"}]},"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulFunctionDefinition","parameters":[{"name":"memPtr","nodeType":"YulTypedName","src":"2340:6:1","type":""}],"src":"2242:170:1"},{"body":{"nodeType":"YulBlock","src":"2564:220:1","statements":[{"nodeType":"YulAssignment","src":"2574:74:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2640:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2645:2:1","type":"","value":"20"}],"functionName":{"name":"array_storeLengthForEncoding_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"2581:58:1"},"nodeType":"YulFunctionCall","src":"2581:67:1"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"2574:3:1"}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2746:3:1"}],"functionName":{"name":"store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a","nodeType":"YulIdentifier","src":"2657:88:1"},"nodeType":"YulFunctionCall","src":"2657:93:1"},"nodeType":"YulExpressionStatement","src":"2657:93:1"},{"nodeType":"YulAssignment","src":"2759:19:1","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2770:3:1"},{"kind":"number","nodeType":"YulLiteral","src":"2775:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2766:3:1"},"nodeType":"YulFunctionCall","src":"2766:12:1"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"2759:3:1"}]}]},"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"2552:3:1","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"2560:3:1","type":""}],"src":"2418:366:1"},{"body":{"nodeType":"YulBlock","src":"2961:248:1","statements":[{"nodeType":"YulAssignment","src":"2971:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2983:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"2994:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2979:3:1"},"nodeType":"YulFunctionCall","src":"2979:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2971:4:1"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3018:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3029:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3014:3:1"},"nodeType":"YulFunctionCall","src":"3014:17:1"},{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3037:4:1"},{"name":"headStart","nodeType":"YulIdentifier","src":"3043:9:1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3033:3:1"},"nodeType":"YulFunctionCall","src":"3033:20:1"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3007:6:1"},"nodeType":"YulFunctionCall","src":"3007:47:1"},"nodeType":"YulExpressionStatement","src":"3007:47:1"},{"nodeType":"YulAssignment","src":"3063:139:1","value":{"arguments":[{"name":"tail","nodeType":"YulIdentifier","src":"3197:4:1"}],"functionName":{"name":"abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack","nodeType":"YulIdentifier","src":"3071:124:1"},"nodeType":"YulFunctionCall","src":"3071:131:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3063:4:1"}]}]},"name":"abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2941:9:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2956:4:1","type":""}],"src":"2790:419:1"},{"body":{"nodeType":"YulBlock","src":"3341:206:1","statements":[{"nodeType":"YulAssignment","src":"3351:26:1","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3363:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3374:2:1","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3359:3:1"},"nodeType":"YulFunctionCall","src":"3359:18:1"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3351:4:1"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3431:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3444:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3455:1:1","type":"","value":"0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3440:3:1"},"nodeType":"YulFunctionCall","src":"3440:17:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3387:43:1"},"nodeType":"YulFunctionCall","src":"3387:71:1"},"nodeType":"YulExpressionStatement","src":"3387:71:1"},{"expression":{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"3512:6:1"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3525:9:1"},{"kind":"number","nodeType":"YulLiteral","src":"3536:2:1","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3521:3:1"},"nodeType":"YulFunctionCall","src":"3521:18:1"}],"functionName":{"name":"abi_encode_t_uint256_to_t_uint256_fromStack","nodeType":"YulIdentifier","src":"3468:43:1"},"nodeType":"YulFunctionCall","src":"3468:72:1"},"nodeType":"YulExpressionStatement","src":"3468:72:1"}]},"name":"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3305:9:1","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3317:6:1","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3325:6:1","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3336:4:1","type":""}],"src":"3215:332:1"}]},"contents":"{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_payable_to_t_address_payable_fromStack(value, pos) {\n mstore(pos, cleanup_t_address_payable(value))\n }\n\n function abi_encode_tuple_t_address_payable__to_t_address_payable__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value0, add(headStart, 0))\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(memPtr) {\n\n mstore(add(memPtr, 0), \"You can't withdraw yet\")\n\n }\n\n function abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 22)\n store_literal_in_memory_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_09be2a1d7c98765b8c1bd9ab3700b54ab19d501eebe572af39b71382f17d12e8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(memPtr) {\n\n mstore(add(memPtr, 0), \"You aren't the owner\")\n\n }\n\n function abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_345d93c1110e55177ee5f687f392a2e775da2aa3d491c8308e925f0505e3530a_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n}\n","id":1,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x251C1AA3 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x6E JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x8C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x24A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x6C PUSH2 0x92 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x76 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x83 SWAP2 SWAP1 PUSH2 0x2A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD TIMESTAMP LT ISZERO PUSH2 0xD7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xCE SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x167 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E SWAP1 PUSH2 0x38A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0xBF2ED60BD5B5965D685680C01195C9514E4382E28E3A5A2D2D5244BF59411B93 SELFBALANCE TIMESTAMP PUSH1 0x40 MLOAD PUSH2 0x198 SWAP3 SWAP2 SWAP1 PUSH2 0x3AA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x208 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x244 DUP2 PUSH2 0x231 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x25F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x290 DUP3 PUSH2 0x265 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A0 DUP2 PUSH2 0x285 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2BB PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x297 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x596F752063616E27742077697468647261772079657400000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x308 PUSH1 0x16 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x313 DUP3 PUSH2 0x2D2 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x337 DUP2 PUSH2 0x2FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x596F75206172656E277420746865206F776E6572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x374 PUSH1 0x14 DUP4 PUSH2 0x2C1 JUMP JUMPDEST SWAP2 POP PUSH2 0x37F DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x3A3 DUP2 PUSH2 0x367 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0x3BF PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0x23B JUMP JUMPDEST PUSH2 0x3CC PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x23B JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CALLDATASIZE LOG0 0xD1 PUSH1 0x8A CALLCODE 0x2F 0xC2 0xFC DUP7 PUSH31 0x67C4FEDE260661A25D94E8D38A0F76A2324A7CEBE564736F6C634300081100 CALLER ","sourceMap":"140:890:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;160:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;538:490;;;:::i;:::-;;188:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;160:22;;;;:::o;538:490::-;808:10;;789:15;:29;;781:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;877:5;;;;;;;;;;;863:19;;:10;:19;;;855:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;923:50;934:21;957:15;923:50;;;;;;;:::i;:::-;;;;;;;;984:5;;;;;;;;;;;:14;;:37;999:21;984:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;538:490::o;188:28::-;;;;;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:104::-;619:7;648:24;666:5;648:24;:::i;:::-;637:35;;574:104;;;:::o;684:142::-;787:32;813:5;787:32;:::i;:::-;782:3;775:45;684:142;;:::o;832:254::-;941:4;979:2;968:9;964:18;956:26;;992:87;1076:1;1065:9;1061:17;1052:6;992:87;:::i;:::-;832:254;;;;:::o;1092:169::-;1176:11;1210:6;1205:3;1198:19;1250:4;1245:3;1241:14;1226:29;;1092:169;;;;:::o;1267:172::-;1407:24;1403:1;1395:6;1391:14;1384:48;1267:172;:::o;1445:366::-;1587:3;1608:67;1672:2;1667:3;1608:67;:::i;:::-;1601:74;;1684:93;1773:3;1684:93;:::i;:::-;1802:2;1797:3;1793:12;1786:19;;1445:366;;;:::o;1817:419::-;1983:4;2021:2;2010:9;2006:18;1998:26;;2070:9;2064:4;2060:20;2056:1;2045:9;2041:17;2034:47;2098:131;2224:4;2098:131;:::i;:::-;2090:139;;1817:419;;;:::o;2242:170::-;2382:22;2378:1;2370:6;2366:14;2359:46;2242:170;:::o;2418:366::-;2560:3;2581:67;2645:2;2640:3;2581:67;:::i;:::-;2574:74;;2657:93;2746:3;2657:93;:::i;:::-;2775:2;2770:3;2766:12;2759:19;;2418:366;;;:::o;2790:419::-;2956:4;2994:2;2983:9;2979:18;2971:26;;3043:9;3037:4;3033:20;3029:1;3018:9;3014:17;3007:47;3071:131;3197:4;3071:131;:::i;:::-;3063:139;;2790:419;;;:::o;3215:332::-;3336:4;3374:2;3363:9;3359:18;3351:26;;3387:71;3455:1;3444:9;3440:17;3431:6;3387:71;:::i;:::-;3468:72;3536:2;3525:9;3521:18;3512:6;3468:72;:::i;:::-;3215:332;;;;;:::o"},"methodIdentifiers":{"owner()":"8da5cb5b","unlockTime()":"251c1aa3","withdraw()":"3ccfd60b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockTime\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"when\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Lock.sol\":\"Lock\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/Lock.sol\":{\"keccak256\":\"0xa5ebf2cef5285b3206868acdf827f5efad8cc2b9e9d27825149726738201f7fd\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://df07ce18da48c5d5377d12dddb8ed9d1a860111b9a9ae36539bfcde6af7a41a1\",\"dweb:/ipfs/QmVrX2e4QHJJo22XrNkCy2koPNhMz49bzvmRXuaLKRtx5f\"]}},\"version\":1}"}}}}}} \ No newline at end of file diff --git a/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/.gitgnore b/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/.gitgnore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.dbg.json b/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.dbg.json new file mode 100644 index 0000000000..73802d3f55 --- /dev/null +++ b/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.dbg.json @@ -0,0 +1 @@ +{"_format":"hh-sol-dbg-1","buildInfo":"../../build-info/7839ba878952cc00ff316061405f273a.json","default":{"_format":"hh-sol-dbg-1","buildInfo":"../../build-info/7839ba878952cc00ff316061405f273a.json"}} \ No newline at end of file diff --git a/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.json b/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.json new file mode 100644 index 0000000000..7af0ab9260 --- /dev/null +++ b/apps/remix-ide/contracts/hardhat/artifacts/contracts/Lock.sol/Lock.json @@ -0,0 +1 @@ +{"_format":"hh-sol-artifact-1","contractName":"Lock","sourceName":"contracts/Lock.sol","abi":[{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"bytecode":"0x60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","deployedBytecode":"0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","linkReferences":{},"deployedLinkReferences":{},"default":{"_format":"hh-sol-artifact-1","contractName":"Lock","sourceName":"contracts/Lock.sol","abi":[{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"when","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"bytecode":"0x60806040526040516105e13803806105e1833981810160405281019061002591906100f9565b804210610067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161005e906101a9565b60405180910390fd5b60006206ef9190508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101c9565b600080fd5b6000819050919050565b6100d6816100c3565b81146100e157600080fd5b50565b6000815190506100f3816100cd565b92915050565b60006020828403121561010f5761010e6100be565b5b600061011d848285016100e4565b91505092915050565b600082825260208201905092915050565b7f556e6c6f636b2074696d652073686f756c6420626520696e207468652066757460008201527f7572650000000000000000000000000000000000000000000000000000000000602082015250565b6000610193602383610126565b915061019e82610137565b604082019050919050565b600060208201905081810360008301526101c281610186565b9050919050565b610409806101d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","deployedBytecode":"0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063251c1aa3146100465780633ccfd60b146100645780638da5cb5b1461006e575b600080fd5b61004e61008c565b60405161005b919061024a565b60405180910390f35b61006c610092565b005b61007661020b565b60405161008391906102a6565b60405180910390f35b60005481565b6000544210156100d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100ce9061031e565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161015e9061038a565b60405180910390fd5b7fbf2ed60bd5b5965d685680c01195c9514e4382e28e3a5a2d2d5244bf59411b9347426040516101989291906103aa565b60405180910390a1600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610208573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000819050919050565b61024481610231565b82525050565b600060208201905061025f600083018461023b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029082610265565b9050919050565b6102a081610285565b82525050565b60006020820190506102bb6000830184610297565b92915050565b600082825260208201905092915050565b7f596f752063616e27742077697468647261772079657400000000000000000000600082015250565b60006103086016836102c1565b9150610313826102d2565b602082019050919050565b60006020820190508181036000830152610337816102fb565b9050919050565b7f596f75206172656e277420746865206f776e6572000000000000000000000000600082015250565b60006103746014836102c1565b915061037f8261033e565b602082019050919050565b600060208201905081810360008301526103a381610367565b9050919050565b60006040820190506103bf600083018561023b565b6103cc602083018461023b565b939250505056fea264697066735822122036a0d1608af22fc2fc867e67c4fede260661a25d94e8d38a0f76a2324a7cebe564736f6c63430008110033","linkReferences":{},"deployedLinkReferences":{}}} \ No newline at end of file diff --git a/apps/remix-ide/contracts/hardhat/compiler_config.json b/apps/remix-ide/contracts/hardhat/compiler_config.json new file mode 100644 index 0000000000..9026d3afa9 --- /dev/null +++ b/apps/remix-ide/contracts/hardhat/compiler_config.json @@ -0,0 +1,16 @@ + +{ + "language": "Solidity", + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "outputSelection": { + "*": { + "": ["ast"], + "*": ["abi", "metadata", "devdoc", "userdoc", "storageLayout", "evm.legacyAssembly", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers", "evm.gasEstimates", "evm.assembly"] + } + } + } +} diff --git a/apps/remix-ide/contracts/hardhat/contracts/Lock.sol b/apps/remix-ide/contracts/hardhat/contracts/Lock.sol new file mode 100644 index 0000000000..9854ce1637 --- /dev/null +++ b/apps/remix-ide/contracts/hardhat/contracts/Lock.sol @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.9; + +// Uncomment this line to use console.log +// import "hardhat/console.sol"; + +contract Lock { + uint public unlockTime; + address payable public owner; + + event Withdrawal(uint amount, uint when); + + constructor(uint _unlockTime) payable { + require( + block.timestamp < _unlockTime, + "Unlock time should be in the future" + ); + uint p = 454545; + unlockTime = _unlockTime; + owner = payable(msg.sender); + } + + function withdraw() public { + // Uncomment this line, and the import of "hardhat/console.sol", to print a log in your terminal + // console.log("Unlock time is %o and block timestamp is %o", unlockTime, block.timestamp); + + require(block.timestamp >= unlockTime, "You can't withdraw yet"); + require(msg.sender == owner, "You aren't the owner"); + + emit Withdrawal(address(this).balance, block.timestamp); + + owner.transfer(address(this).balance); + } +} diff --git a/apps/remix-ide/contracts/hardhat.config.js b/apps/remix-ide/contracts/hardhat/hardhat.config.js similarity index 100% rename from apps/remix-ide/contracts/hardhat.config.js rename to apps/remix-ide/contracts/hardhat/hardhat.config.js diff --git a/apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.metadata.json b/apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.metadata.json deleted file mode 100644 index 6d7012aaa1..0000000000 --- a/apps/remix-ide/contracts/out/Counter.s.sol/CounterScript.metadata.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "run", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "setUp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "script/Counter.s.sol": "CounterScript" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - }, - "script/Counter.s.sol": { - "keccak256": "0x01edaa1835b1a5bd3f4f66f73451488b8441d30642d3bf1f5fa2c5bf7c005bee", - "license": "UNLICENSED", - "urls": [ - "bzz-raw://3c6a0f19216ceeebf4ec16f8f2662a3bebbe18d4037d1399adf2e3e4ccbb57a2", - "dweb:/ipfs/Qmc8NknjPkSgbXLg6zZQ8uKT6kAWBvBXz5JrDvZfa88UNT" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Counter.sol/Counter.json b/apps/remix-ide/contracts/out/Counter.sol/Counter.json deleted file mode 100644 index b6e2e78a2a..0000000000 --- a/apps/remix-ide/contracts/out/Counter.sol/Counter.json +++ /dev/null @@ -1,587 +0,0 @@ -{ - "abi": [ - { - "inputs": [], - "name": "increment", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "number", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "newNumber", - "type": "uint256" - } - ], - "name": "setNumber", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b50610125806100206000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146052578063d09de08a14606c575b600080fd5b6050604c3660046095565b6072565b005b605a60005481565b60405190815260200160405180910390f35b60506081565b607b81607b60c3565b60005550565b600080549080608e8360d9565b9190505550565b60006020828403121560a657600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111560d35760d360ad565b92915050565b60006001820160e85760e860ad565b506001019056fea2646970667358221220981d705d73c405a1cadf6bcd0ff9f1d0fcbbc1599040e504e71517ff0d8aa53264736f6c63430008100033", - "sourceMap": "65:198:7:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146052578063d09de08a14606c575b600080fd5b6050604c3660046095565b6072565b005b605a60005481565b60405190815260200160405180910390f35b60506081565b607b81607b60c3565b60005550565b600080549080608e8360d9565b9190505550565b60006020828403121560a657600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111560d35760d360ad565b92915050565b60006001820160e85760e860ad565b506001019056fea2646970667358221220981d705d73c405a1cadf6bcd0ff9f1d0fcbbc1599040e504e71517ff0d8aa53264736f6c63430008100033", - "sourceMap": "65:198:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116:86;;;;;;:::i;:::-;;:::i;:::-;;88:21;;;;;;;;;345:25:9;;;333:2;318:18;88:21:7;;;;;;;208:53;;;:::i;116:86::-;180:15;:9;192:3;180:15;:::i;:::-;171:6;:24;-1:-1:-1;116:86:7:o;208:53::-;246:6;:8;;;:6;:8;;;:::i;:::-;;;;;;208:53::o;14:180:9:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:9;;14:180;-1:-1:-1;14:180:9:o;381:127::-;442:10;437:3;433:20;430:1;423:31;473:4;470:1;463:15;497:4;494:1;487:15;513:125;578:9;;;599:10;;;596:36;;;612:18;;:::i;:::-;513:125;;;;:::o;643:135::-;682:3;703:17;;;700:43;;723:18;;:::i;:::-;-1:-1:-1;770:1:9;759:13;;643:135::o", - "linkReferences": {} - }, - "methodIdentifiers": { - "increment()": "d09de08a", - "number()": "8381f58a", - "setNumber(uint256)": "3fb5c1cb" - }, - "ast": { - "absolutePath": "src/Counter.sol", - "id": 21628, - "exportedSymbols": { - "Counter": [ - 21605 - ], - "CounterYann": [ - 21627 - ] - }, - "nodeType": "SourceUnit", - "src": "39:427:7", - "nodes": [ - { - "id": 21583, - "nodeType": "PragmaDirective", - "src": "39:24:7", - "literals": [ - "solidity", - "^", - "0.8", - ".13" - ] - }, - { - "id": 21605, - "nodeType": "ContractDefinition", - "src": "65:198:7", - "nodes": [ - { - "id": 21585, - "nodeType": "VariableDeclaration", - "src": "88:21:7", - "constant": false, - "functionSelector": "8381f58a", - "mutability": "mutable", - "name": "number", - "nameLocation": "103:6:7", - "scope": 21605, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21584, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "88:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "public" - }, - { - "id": 21597, - "nodeType": "FunctionDefinition", - "src": "116:86:7", - "body": { - "id": 21596, - "nodeType": "Block", - "src": "161:41:7", - "statements": [ - { - "expression": { - "id": 21594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 21590, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21585, - "src": "171:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 21593, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 21591, - "name": "newNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21587, - "src": "180:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "313233", - "id": 21592, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "192:3:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_123_by_1", - "typeString": "int_const 123" - }, - "value": "123" - }, - "src": "180:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "171:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 21595, - "nodeType": "ExpressionStatement", - "src": "171:24:7" - } - ] - }, - "functionSelector": "3fb5c1cb", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setNumber", - "nameLocation": "125:9:7", - "parameters": { - "id": 21588, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21587, - "mutability": "mutable", - "name": "newNumber", - "nameLocation": "143:9:7", - "nodeType": "VariableDeclaration", - "scope": 21597, - "src": "135:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21586, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "135:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "134:19:7" - }, - "returnParameters": { - "id": 21589, - "nodeType": "ParameterList", - "parameters": [], - "src": "161:0:7" - }, - "scope": 21605, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 21604, - "nodeType": "FunctionDefinition", - "src": "208:53:7", - "body": { - "id": 21603, - "nodeType": "Block", - "src": "236:25:7", - "statements": [ - { - "expression": { - "id": 21601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "246:8:7", - "subExpression": { - "id": 21600, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21585, - "src": "246:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 21602, - "nodeType": "ExpressionStatement", - "src": "246:8:7" - } - ] - }, - "functionSelector": "d09de08a", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increment", - "nameLocation": "217:9:7", - "parameters": { - "id": 21598, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:7" - }, - "returnParameters": { - "id": 21599, - "nodeType": "ParameterList", - "parameters": [], - "src": "236:0:7" - }, - "scope": 21605, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Counter", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 21605 - ], - "name": "Counter", - "nameLocation": "74:7:7", - "scope": 21628, - "usedErrors": [] - }, - { - "id": 21627, - "nodeType": "ContractDefinition", - "src": "265:200:7", - "nodes": [ - { - "id": 21607, - "nodeType": "VariableDeclaration", - "src": "292:21:7", - "constant": false, - "functionSelector": "8381f58a", - "mutability": "mutable", - "name": "number", - "nameLocation": "307:6:7", - "scope": 21627, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21606, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "292:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "public" - }, - { - "id": 21619, - "nodeType": "FunctionDefinition", - "src": "320:84:7", - "body": { - "id": 21618, - "nodeType": "Block", - "src": "365:39:7", - "statements": [ - { - "expression": { - "id": 21616, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 21612, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21607, - "src": "375:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 21615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 21613, - "name": "newNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21609, - "src": "384:9:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "39", - "id": 21614, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "396:1:7", - "typeDescriptions": { - "typeIdentifier": "t_rational_9_by_1", - "typeString": "int_const 9" - }, - "value": "9" - }, - "src": "384:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "375:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 21617, - "nodeType": "ExpressionStatement", - "src": "375:22:7" - } - ] - }, - "functionSelector": "3fb5c1cb", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setNumber", - "nameLocation": "329:9:7", - "parameters": { - "id": 21610, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 21609, - "mutability": "mutable", - "name": "newNumber", - "nameLocation": "347:9:7", - "nodeType": "VariableDeclaration", - "scope": 21619, - "src": "339:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 21608, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "339:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "338:19:7" - }, - "returnParameters": { - "id": 21611, - "nodeType": "ParameterList", - "parameters": [], - "src": "365:0:7" - }, - "scope": 21627, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 21626, - "nodeType": "FunctionDefinition", - "src": "410:53:7", - "body": { - "id": 21625, - "nodeType": "Block", - "src": "438:25:7", - "statements": [ - { - "expression": { - "id": 21623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "448:8:7", - "subExpression": { - "id": 21622, - "name": "number", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21607, - "src": "448:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 21624, - "nodeType": "ExpressionStatement", - "src": "448:8:7" - } - ] - }, - "functionSelector": "d09de08a", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "increment", - "nameLocation": "419:9:7", - "parameters": { - "id": 21620, - "nodeType": "ParameterList", - "parameters": [], - "src": "428:2:7" - }, - "returnParameters": { - "id": 21621, - "nodeType": "ParameterList", - "parameters": [], - "src": "438:0:7" - }, - "scope": 21627, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "CounterYann", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 21627 - ], - "name": "CounterYann", - "nameLocation": "274:11:7", - "scope": 21628, - "usedErrors": [] - } - ], - "license": "UNLICENSED" - }, - "id": 7 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Counter.sol/Counter.metadata.json b/apps/remix-ide/contracts/out/Counter.sol/Counter.metadata.json deleted file mode 100644 index e01bce1ce2..0000000000 --- a/apps/remix-ide/contracts/out/Counter.sol/Counter.metadata.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "name": "increment", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "number", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "newNumber", - "type": "uint256" - } - ], - "name": "setNumber", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "src/Counter.sol": "Counter" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "src/Counter.sol": { - "keccak256": "0x74eb20a9c3120b64f0e66b02cf476d5d1ff5e07149a4c52b8e774a6800a40b83", - "license": "UNLICENSED", - "urls": [ - "bzz-raw://be4d1233bdd7aaf1846eb4c3b94c58914fa4a4b7a2fa4a5734d9d09c562975dc", - "dweb:/ipfs/QmNVGX1nn75pwmWKQjPdV8cy5u5PHuWGbL6TsztchKqmAZ" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.metadata.json b/apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.metadata.json deleted file mode 100644 index 21425ac08e..0000000000 --- a/apps/remix-ide/contracts/out/Counter.t.sol/CounterTest.metadata.json +++ /dev/null @@ -1,561 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "counter", - "outputs": [ - { - "internalType": "contract Counter", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "setUp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "testIncrement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "x", - "type": "uint256" - } - ], - "name": "testSetNumber", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "test/Counter.t.sol": "CounterTest" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", - "license": "MIT", - "urls": [ - "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", - "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - }, - "src/Counter.sol": { - "keccak256": "0x74eb20a9c3120b64f0e66b02cf476d5d1ff5e07149a4c52b8e774a6800a40b83", - "license": "UNLICENSED", - "urls": [ - "bzz-raw://be4d1233bdd7aaf1846eb4c3b94c58914fa4a4b7a2fa4a5734d9d09c562975dc", - "dweb:/ipfs/QmNVGX1nn75pwmWKQjPdV8cy5u5PHuWGbL6TsztchKqmAZ" - ] - }, - "test/Counter.t.sol": { - "keccak256": "0x76bdc40734abcf9acbe5d56422e22662bc218e7d410264f3de6a823036be6a6d", - "license": "UNLICENSED", - "urls": [ - "bzz-raw://27118e74e69a15c903cb826430175f337a9ab5cd1bb55a767ae9439e860052bd", - "dweb:/ipfs/QmfNHmcHCDN2eDQpbaDTSRyU4uhcZjpLEdvrudZRLY5knF" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Script.sol/Script.metadata.json b/apps/remix-ide/contracts/out/Script.sol/Script.metadata.json deleted file mode 100644 index c2362d8c53..0000000000 --- a/apps/remix-ide/contracts/out/Script.sol/Script.metadata.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Script.sol": "Script" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Test.sol/Test.metadata.json b/apps/remix-ide/contracts/out/Test.sol/Test.metadata.json deleted file mode 100644 index 7904fe713a..0000000000 --- a/apps/remix-ide/contracts/out/Test.sol/Test.metadata.json +++ /dev/null @@ -1,505 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "val", - "type": "uint256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256[]", - "name": "val", - "type": "int256[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address[]", - "name": "val", - "type": "address[]" - } - ], - "name": "log_named_array", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "vm", - "outputs": [ - { - "internalType": "contract Vm", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Test.sol": "Test" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", - "license": "MIT", - "urls": [ - "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", - "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Test.sol/stdError.metadata.json b/apps/remix-ide/contracts/out/Test.sol/stdError.metadata.json deleted file mode 100644 index ca0673c993..0000000000 --- a/apps/remix-ide/contracts/out/Test.sol/stdError.metadata.json +++ /dev/null @@ -1,219 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "name": "arithmeticError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "assertionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "divisionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "encodeStorageError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "enumConversionError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "indexOOBError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "lowLevelError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "memOverflowError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "popError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "zeroVarError", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdError" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", - "license": "MIT", - "urls": [ - "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", - "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Test.sol/stdMath.metadata.json b/apps/remix-ide/contracts/out/Test.sol/stdMath.metadata.json deleted file mode 100644 index 815eda54d3..0000000000 --- a/apps/remix-ide/contracts/out/Test.sol/stdMath.metadata.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdMath" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", - "license": "MIT", - "urls": [ - "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", - "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Test.sol/stdStorage.metadata.json b/apps/remix-ide/contracts/out/Test.sol/stdStorage.metadata.json deleted file mode 100644 index 8a43bba198..0000000000 --- a/apps/remix-ide/contracts/out/Test.sol/stdStorage.metadata.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "who", - "type": "address" - }, - { - "indexed": false, - "internalType": "bytes4", - "name": "fsig", - "type": "bytes4" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "keysHash", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "slot", - "type": "uint256" - } - ], - "name": "SlotFound", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "who", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "slot", - "type": "uint256" - } - ], - "name": "WARNING_UninitedSlot", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "b", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "offset", - "type": "uint256" - } - ], - "name": "bytesToBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "pure", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Test.sol": "stdStorage" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", - "license": "MIT", - "urls": [ - "bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", - "dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" - ] - }, - "lib/forge-std/src/Test.sol": { - "keccak256": "0x5d84dd1e27d9127431d6f9aaeb681227235f2b0285545384d1dc236cbcab1364", - "license": "MIT", - "urls": [ - "bzz-raw://6fe33b19854be51975ae89d4f4d3074a8b4bbd3c0e4dc5befe84d165f7462b55", - "dweb:/ipfs/Qma45Q6fvwpmke2rdPdZapNqjXv17ReoT4xp4Tnj1JdBd7" - ] - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/Vm.sol/Vm.metadata.json b/apps/remix-ide/contracts/out/Vm.sol/Vm.metadata.json deleted file mode 100644 index 6b5e5bb833..0000000000 --- a/apps/remix-ide/contracts/out/Vm.sol/Vm.metadata.json +++ /dev/null @@ -1,1669 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "accesses", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "reads", - "type": "bytes32[]" - }, - { - "internalType": "bytes32[]", - "name": "writes", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "activeFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "addr", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "assume", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "broadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "chainId", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "clearMockedCalls", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "closeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "coinbase", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "createSelectFork", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "deal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "name": "deriveKey", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "difficulty", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envAddress", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBool", - "outputs": [ - { - "internalType": "bool[]", - "name": "", - "type": "bool[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envBytes32", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256[]", - "name": "", - "type": "int256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envInt", - "outputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "envUint", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "etch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "expectEmit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "expectEmit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "expectRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "fee", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string[]", - "name": "", - "type": "string[]" - } - ], - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "getCode", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "getNonce", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "getRecordedLogs", - "outputs": [ - { - "components": [ - { - "internalType": "bytes32[]", - "name": "topics", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "internalType": "struct Vm.Log[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isPersistent", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "label", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "load", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "makePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "mockCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "mockCall", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "prank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "prank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "projectRoot", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readFile", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "readLine", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "record", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "recordLogs", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "removeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "revertTo", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "name": "revokePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "revokePersistent", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "roll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "forkId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "rollFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "rpcUrl", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "rpcUrls", - "outputs": [ - { - "internalType": "string[2][]", - "name": "", - "type": "string[2][]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "selectFork", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "setEnv", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "name": "setNonce", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "sign", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "snapshot", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "startPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "stopBroadcast", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "stopPrank", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "store", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "toString", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "warp", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeFile", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - }, - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "writeLine", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "activeFork()": { - "notice": "Returns the currently active fork Reverts if no fork is currently active" - }, - "makePersistent(address)": { - "notice": "Returns the RPC url for the given alias" - }, - "rpcUrls()": { - "notice": "Returns all rpc urls and their aliases `[alias, url][]`" - } - }, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/Vm.sol": "Vm" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/src/Vm.sol": { - "keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", - "license": "MIT", - "urls": [ - "bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", - "dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/console.sol/console.metadata.json b/apps/remix-ide/contracts/out/console.sol/console.metadata.json deleted file mode 100644 index bb2bc9d3a9..0000000000 --- a/apps/remix-ide/contracts/out/console.sol/console.metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/console.sol": "console" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "license": "MIT", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/console2.sol/console2.metadata.json b/apps/remix-ide/contracts/out/console2.sol/console2.metadata.json deleted file mode 100644 index 342679b90b..0000000000 --- a/apps/remix-ide/contracts/out/console2.sol/console2.metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/src/console2.sol": "console2" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/src/console2.sol": { - "keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", - "license": "MIT", - "urls": [ - "bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", - "dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/out/test.sol/DSTest.metadata.json b/apps/remix-ide/contracts/out/test.sol/DSTest.metadata.json deleted file mode 100644 index 2b3b0e7d14..0000000000 --- a/apps/remix-ide/contracts/out/test.sol/DSTest.metadata.json +++ /dev/null @@ -1,343 +0,0 @@ -{ - "compiler": { - "version": "0.8.16+commit.07a7930e" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "log_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "log_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "log_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "int256", - "name": "", - "type": "int256" - } - ], - "name": "log_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "address", - "name": "val", - "type": "address" - } - ], - "name": "log_named_address", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "val", - "type": "bytes" - } - ], - "name": "log_named_bytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "val", - "type": "bytes32" - } - ], - "name": "log_named_bytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "decimals", - "type": "uint256" - } - ], - "name": "log_named_decimal_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "int256", - "name": "val", - "type": "int256" - } - ], - "name": "log_named_int", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "string", - "name": "val", - "type": "string" - } - ], - "name": "log_named_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "val", - "type": "uint256" - } - ], - "name": "log_named_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "", - "type": "string" - } - ], - "name": "log_string", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "log_uint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "logs", - "type": "event" - }, - { - "inputs": [], - "name": "IS_TEST", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "failed", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "compilationTarget": { - "lib/forge-std/lib/ds-test/src/test.sol": "DSTest" - }, - "evmVersion": "london", - "libraries": {}, - "metadata": { - "bytecodeHash": "ipfs" - }, - "optimizer": { - "enabled": true, - "runs": 200 - }, - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ] - }, - "sources": { - "lib/forge-std/lib/ds-test/src/test.sol": { - "keccak256": "0xb39cd1d5220cb474947b131e15a4538334b7e886af244b440ae5c9c6bba96a54", - "license": "GPL-3.0-or-later", - "urls": [ - "bzz-raw://3101520221449ac0070bda3881311a71d9aa87e5210765e875246922cb5cb5f5", - "dweb:/ipfs/Qmbg6kAHNoG7ox9N9Xqd9Ere2H2XixMFWFqvyPwFCzB3Gr" - ] - } - }, - "version": 1 -} \ No newline at end of file diff --git a/apps/remix-ide/contracts/build/contracts/.gitignore b/apps/remix-ide/contracts/truffle/build/contracts/.gitignore similarity index 100% rename from apps/remix-ide/contracts/build/contracts/.gitignore rename to apps/remix-ide/contracts/truffle/build/contracts/.gitignore diff --git a/apps/remix-ide/contracts/truffle/contracts/Migrations.sol b/apps/remix-ide/contracts/truffle/contracts/Migrations.sol new file mode 100644 index 0000000000..e29a358170 --- /dev/null +++ b/apps/remix-ide/contracts/truffle/contracts/Migrations.sol @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: MIT +// pragma solidity >=0.4.22 <0.8.0; + +contract Migrations { + address public owner = msg.sender; + uint public last_completed_migration; + modifier restricted() { + require( + msg.sender == owner, + "This function is restricted to the contract's owner" + ); + _; + } + + function setCompleted(uint completed) public restricted { + last_completed_migration = completed; + } +} diff --git a/apps/remix-ide/contracts/truffle-config.js b/apps/remix-ide/contracts/truffle/truffle-config.js similarity index 100% rename from apps/remix-ide/contracts/truffle-config.js rename to apps/remix-ide/contracts/truffle/truffle-config.js diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 24c146c8d4..6c1ebf6801 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -3,6 +3,7 @@ import { RunTab, makeUdapp } from './app/udapp' import { RemixEngine } from './remixEngine' import { RemixAppManager } from './remixAppManager' import { ThemeModule } from './app/tabs/theme-module' +import { LocaleModule } from './app/tabs/locale-module' import { NetworkModule } from './app/tabs/network-module' import { Web3ProviderModule } from './app/tabs/web3-provider' import { CompileAndRun } from './app/tabs/compile-and-run' @@ -115,7 +116,8 @@ class AppComponent { const matomoDomains = { 'remix-alpha.ethereum.org': 27, 'remix-beta.ethereum.org': 25, - 'remix.ethereum.org': 23 + 'remix.ethereum.org': 23, + '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop } this.showMatamo = matomoDomains[window.location.hostname] && @@ -141,7 +143,10 @@ class AppComponent { this.gistHandler = new GistHandler() // ----------------- theme service --------------------------------- this.themeModule = new ThemeModule() + // ----------------- locale service --------------------------------- + this.localeModule = new LocaleModule() Registry.getInstance().put({ api: this.themeModule, name: 'themeModule' }) + Registry.getInstance().put({ api: this.localeModule, name: 'localeModule' }) // ----------------- editor service ---------------------------- const editor = new Editor() // wrapper around ace editor @@ -237,6 +242,7 @@ class AppComponent { blockchain, contentImport, this.themeModule, + this.localeModule, editor, fileManager, compilerMetadataGenerator, @@ -368,7 +374,7 @@ class AppComponent { await this.appManager.activatePlugin(['layout']) await this.appManager.activatePlugin(['notification']) await this.appManager.activatePlugin(['editor']) - await this.appManager.activatePlugin(['permissionhandler', 'theme', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'web3Provider', 'offsetToLineColumnConverter']) + await this.appManager.activatePlugin(['permissionhandler', 'theme', 'locale', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'web3Provider', 'offsetToLineColumnConverter']) await this.appManager.activatePlugin(['mainPanel', 'menuicons', 'tabs']) await this.appManager.activatePlugin(['sidePanel']) // activating host plugin separately await this.appManager.activatePlugin(['home']) diff --git a/apps/remix-ide/src/app/components/plugin-manager-component.js b/apps/remix-ide/src/app/components/plugin-manager-component.js index 00013ee545..0013283861 100644 --- a/apps/remix-ide/src/app/components/plugin-manager-component.js +++ b/apps/remix-ide/src/app/components/plugin-manager-component.js @@ -99,7 +99,7 @@ class PluginManagerComponent extends ViewPlugin { return (
); - + } getAndFilterPlugins = (filter) => { diff --git a/apps/remix-ide/src/app/editor/editor.js b/apps/remix-ide/src/app/editor/editor.js index 23601242f3..4876e0618f 100644 --- a/apps/remix-ide/src/app/editor/editor.js +++ b/apps/remix-ide/src/app/editor/editor.js @@ -50,7 +50,8 @@ class Editor extends Plugin { abi: 'json', rs: 'rust', cairo: 'cairo', - ts: 'typescript' + ts: 'typescript', + move: 'move' } this.activated = false diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index 28f7fb2715..9fd3fa7e37 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -50,6 +50,8 @@ class DGitProvider extends Plugin { async getGitConfig () { const workspace = await this.call('filePanel', 'getCurrentWorkspace') + + if (!workspace) return return { fs: window.remixFileSystemCallback, dir: addSlash(workspace.absolutePath) @@ -76,6 +78,7 @@ class DGitProvider extends Plugin { ...await this.getGitConfig(), defaultBranch: (input && input.branch) || 'main' }) + this.emit('init') } async status (cmd) { @@ -91,9 +94,7 @@ class DGitProvider extends Plugin { ...await this.getGitConfig(), ...cmd }) - setTimeout(async () => { - await this.call('fileManager', 'refresh') - }, 1000) + this.emit('add') } async rm (cmd) { @@ -101,19 +102,19 @@ class DGitProvider extends Plugin { ...await this.getGitConfig(), ...cmd }) - setTimeout(async () => { - await this.call('fileManager', 'refresh') - }, 1000) } - async checkout (cmd) { + async checkout (cmd, refresh = true) { await git.checkout({ ...await this.getGitConfig(), ...cmd }) - setTimeout(async () => { - await this.call('fileManager', 'refresh') - }, 1000) + if (refresh) { + setTimeout(async () => { + await this.call('fileManager', 'refresh') + }, 1000) + } + this.emit('checkout') } async log (cmd) { @@ -124,47 +125,58 @@ class DGitProvider extends Plugin { return status } - async remotes () { + async remotes (config) { let remotes = [] try { - remotes = await git.listRemotes({ ...await this.getGitConfig() }) + remotes = await git.listRemotes({ ...config ? config : await this.getGitConfig() }) } catch (e) { // do nothing } return remotes } - async branch (cmd) { + async branch (cmd, refresh = true) { const status = await git.branch({ ...await this.getGitConfig(), ...cmd }) - setTimeout(async () => { - await this.call('fileManager', 'refresh') - }, 1000) + if (refresh) { + setTimeout(async () => { + await this.call('fileManager', 'refresh') + }, 1000) + } + this.emit('branch') return status } - async currentbranch () { - const name = await git.currentBranch({ - ...await this.getGitConfig() - }) - return name - } + async currentbranch (config) { + try{ + const defaultConfig = await this.getGitConfig() + const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig + const name = await git.currentBranch(cmd) - async branches () { - const cmd = { - ...await this.getGitConfig() + return name + }catch(e){ + return '' } - const remotes = await this.remotes() - let branches = [] - branches = (await git.listBranches(cmd)).map((branch) => { return { remote: undefined, name: branch } }) - for (const remote of remotes) { - cmd.remote = remote.remote - const remotebranches = (await git.listBranches(cmd)).map((branch) => { return { remote: remote.remote, name: branch } }) - branches = [...branches, ...remotebranches] + } + + async branches (config) { + try{ + const defaultConfig = await this.getGitConfig() + const cmd = config ? defaultConfig ? { ...defaultConfig, ...config } : config : defaultConfig + const remotes = await this.remotes(config) + let branches = [] + branches = (await git.listBranches(cmd)).map((branch) => { return { remote: undefined, name: branch } }) + for (const remote of remotes) { + cmd.remote = remote.remote + const remotebranches = (await git.listBranches(cmd)).map((branch) => { return { remote: remote.remote, name: branch } }) + branches = [...branches, ...remotebranches] + } + return branches + }catch(e){ + return [] } - return branches } async commit (cmd) { @@ -174,6 +186,7 @@ class DGitProvider extends Plugin { ...await this.getGitConfig(), ...cmd }) + this.emit('commit') return sha } catch (e) { throw new Error(e) @@ -253,6 +266,7 @@ class DGitProvider extends Plugin { await this.call('fileManager', 'refresh') }, 1000) } + this.emit('clone') return result } @@ -387,6 +401,8 @@ class DGitProvider extends Plugin { pinata_api_key: pinataApiKey, pinata_secret_api_key: pinataSecretApiKey } + }).catch((e) => { + console.log(e) }) // also commit to remix IPFS for availability after pinning to Pinata return await this.export(this.remixIPFS) || result.data.IpfsHash @@ -405,6 +421,8 @@ class DGitProvider extends Plugin { pinata_api_key: pinataApiKey, pinata_secret_api_key: pinataSecretApiKey } + }).catch((e) => { + console.log('Pinata unreachable') }) return result.data } catch (error) { diff --git a/apps/remix-ide/src/app/files/fileManager.ts b/apps/remix-ide/src/app/files/fileManager.ts index 89fd32b830..0d9192280d 100644 --- a/apps/remix-ide/src/app/files/fileManager.ts +++ b/apps/remix-ide/src/app/files/fileManager.ts @@ -817,8 +817,8 @@ class FileManager extends Plugin { } } - async isGitRepo (directory: string): Promise { - const path = directory + '/.git' + async isGitRepo (): Promise { + const path = '.git' const exists = await this.exists(path) return exists diff --git a/apps/remix-ide/src/app/files/fileProvider.js b/apps/remix-ide/src/app/files/fileProvider.js index fe8c803bf3..9b7e63efdf 100644 --- a/apps/remix-ide/src/app/files/fileProvider.js +++ b/apps/remix-ide/src/app/files/fileProvider.js @@ -180,7 +180,7 @@ class FileProvider { const stat = await window.remixFileSystem.stat(path) try { if (!stat.isDirectory()) { - return (this.removeFile(path)) + return await this.removeFile(path) } else { const items = await window.remixFileSystem.readdir(path) if (items.length !== 0) { @@ -193,11 +193,12 @@ class FileProvider { } } await window.remixFileSystem.rmdir(path) + this.event.emit('fileRemoved', this._normalizePath(path)) } else { // folder is empty await window.remixFileSystem.rmdir(path) - } - this.event.emit('fileRemoved', this._normalizePath(path)) + this.event.emit('fileRemoved', this._normalizePath(path)) + } } } catch (e) { console.log(e) diff --git a/apps/remix-ide/src/app/files/foundry-handle.js b/apps/remix-ide/src/app/files/foundry-handle.js index 3d9091f6fc..94efd7b04b 100644 --- a/apps/remix-ide/src/app/files/foundry-handle.js +++ b/apps/remix-ide/src/app/files/foundry-handle.js @@ -5,7 +5,7 @@ const profile = { name: 'foundry', displayName: 'Foundry', url: 'ws://127.0.0.1:65525', - methods: [], + methods: ['sync'], description: 'Using Remixd daemon, allow to access foundry API', kind: 'other', version: packageJson.version @@ -15,4 +15,12 @@ export class FoundryHandle extends WebsocketPlugin { constructor () { super(profile) } + + callPluginMethod(key, payload = []) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) + } } diff --git a/apps/remix-ide/src/app/files/git-handle.js b/apps/remix-ide/src/app/files/git-handle.js index a935068679..596bf77015 100644 --- a/apps/remix-ide/src/app/files/git-handle.js +++ b/apps/remix-ide/src/app/files/git-handle.js @@ -15,4 +15,12 @@ export class GitHandle extends WebsocketPlugin { constructor () { super(profile) } + + callPluginMethod(key, payload = []) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) + } } diff --git a/apps/remix-ide/src/app/files/hardhat-handle.js b/apps/remix-ide/src/app/files/hardhat-handle.js index e9e8b770ef..84a2c1d28a 100644 --- a/apps/remix-ide/src/app/files/hardhat-handle.js +++ b/apps/remix-ide/src/app/files/hardhat-handle.js @@ -5,7 +5,7 @@ const profile = { name: 'hardhat', displayName: 'Hardhat', url: 'ws://127.0.0.1:65522', - methods: ['compile'], + methods: ['compile', 'sync'], description: 'Using Remixd daemon, allow to access hardhat API', kind: 'other', version: packageJson.version @@ -15,4 +15,12 @@ export class HardhatHandle extends WebsocketPlugin { constructor () { super(profile) } + + callPluginMethod(key, payload = []) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) + } } diff --git a/apps/remix-ide/src/app/files/slither-handle.js b/apps/remix-ide/src/app/files/slither-handle.js index 9604202d7e..27c7b3cbd8 100644 --- a/apps/remix-ide/src/app/files/slither-handle.js +++ b/apps/remix-ide/src/app/files/slither-handle.js @@ -16,4 +16,12 @@ export class SlitherHandle extends WebsocketPlugin { constructor () { super(profile) } + + callPluginMethod(key, payload = []) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) + } } diff --git a/apps/remix-ide/src/app/files/truffle-handle.js b/apps/remix-ide/src/app/files/truffle-handle.js index 8ef51ffcd1..1111cba60d 100644 --- a/apps/remix-ide/src/app/files/truffle-handle.js +++ b/apps/remix-ide/src/app/files/truffle-handle.js @@ -5,7 +5,7 @@ const profile = { name: 'truffle', displayName: 'truffle', url: 'ws://127.0.0.1:65524', - methods: ['compile'], + methods: ['compile', 'sync'], description: 'Using Remixd daemon, allow to access truffle API', kind: 'other', version: packageJson.version @@ -15,4 +15,13 @@ export class TruffleHandle extends WebsocketPlugin { constructor () { super(profile) } + + callPluginMethod(key, payload = []) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) + } + } diff --git a/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts b/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts index e2311edcf3..17122778f2 100644 --- a/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts +++ b/apps/remix-ide/src/app/plugins/parser/services/code-parser-compiler.ts @@ -6,9 +6,10 @@ import { CompilationResult, CompilationSource } from '@remix-project/remix-solid import { CodeParser } from "../code-parser"; import { fileDecoration, fileDecorationType } from '@remix-ui/file-decorators' import { sourceMappingDecoder } from '@remix-project/remix-debug' -import { CompilerRetriggerMode } from '@remix-project/remix-solidity-ts'; +import { CompilerRetriggerMode, CompilationSourceCode } from '@remix-project/remix-solidity-ts'; import { MarkerSeverity } from 'monaco-editor'; import { findLinesInStringWithMatch, SearchResultLine } from '@remix-ui/search' +import { lastCompilationResult } from '@remixproject/plugin-api'; type errorMarker = { message: string @@ -28,7 +29,7 @@ type errorMarker = { export default class CodeParserCompiler { plugin: CodeParser compiler: any // used to compile the current file seperately from the main compiler - onAstFinished: (success: any, data: CompilationResult, source: CompilationSource, input: any, version: any) => Promise; + onAstFinished: (success: any, data: CompilationResult, source: CompilationSourceCode, input: any, version: any) => Promise; errorState: boolean; gastEstimateTimeOut: any constructor( @@ -39,7 +40,7 @@ export default class CodeParserCompiler { init() { - this.onAstFinished = async (success, data: CompilationResult, source: CompilationSource, input: any, version) => { + this.onAstFinished = async (success, data: CompilationResult, source: CompilationSourceCode, input: any, version) => { this.plugin.call('editor', 'clearAnnotations') this.errorState = true const result = new CompilerAbstract('soljson', data, source, input) @@ -104,7 +105,8 @@ export default class CodeParserCompiler { this.plugin._buildIndex(data, source) - this.plugin.nodeIndex.nodesPerFile[this.plugin.currentFile] = this.plugin._extractFileNodes(this.plugin.currentFile, this.plugin.compilerAbstract) + // cast from the remix-plugin interface to the solidity one. Should be fixed when remix-plugin move to the remix-project repository + this.plugin.nodeIndex.nodesPerFile[this.plugin.currentFile] = this.plugin._extractFileNodes(this.plugin.currentFile, this.plugin.compilerAbstract as unknown as lastCompilationResult) await this.plugin.gasService.showGasEstimates() this.plugin.emit('astFinished') } diff --git a/apps/remix-ide/src/app/plugins/parser/services/code-parser-gas-service.ts b/apps/remix-ide/src/app/plugins/parser/services/code-parser-gas-service.ts index 62493c6340..879d00f06d 100644 --- a/apps/remix-ide/src/app/plugins/parser/services/code-parser-gas-service.ts +++ b/apps/remix-ide/src/app/plugins/parser/services/code-parser-gas-service.ts @@ -1,5 +1,6 @@ import { CodeParser, genericASTNode } from "../code-parser"; import { lineText } from '@remix-ui/editor' +import { lastCompilationResult } from '@remixproject/plugin-api'; export default class CodeParserGasService { plugin: CodeParser @@ -40,7 +41,8 @@ export default class CodeParserGasService { return } this.plugin.currentFile = await this.plugin.call('fileManager', 'file') - this.plugin.nodeIndex.nodesPerFile[this.plugin.currentFile] = await this.plugin._extractFileNodes(this.plugin.currentFile, this.plugin.compilerAbstract) + // cast from the remix-plugin interface to the solidity one. Should be fixed when remix-plugin move to the remix-project repository + this.plugin.nodeIndex.nodesPerFile[this.plugin.currentFile] = await this.plugin._extractFileNodes(this.plugin.currentFile, this.plugin.compilerAbstract as unknown as lastCompilationResult) const gasEstimates = await this.getGasEstimates(this.plugin.currentFile) diff --git a/apps/remix-ide/src/app/plugins/parser/services/code-parser-imports.ts b/apps/remix-ide/src/app/plugins/parser/services/code-parser-imports.ts index 9eaef92dd9..bdc0837b45 100644 --- a/apps/remix-ide/src/app/plugins/parser/services/code-parser-imports.ts +++ b/apps/remix-ide/src/app/plugins/parser/services/code-parser-imports.ts @@ -45,7 +45,13 @@ export default class CodeParserImports { getDirectory = async (dir: string) => { let result = [] - const files = await this.plugin.call('fileManager', 'readdir', dir) + let files = {} + try { + if (await this.plugin.call('fileManager', 'exists', dir)) { + files = await this.plugin.call('fileManager', 'readdir', dir) + } + } catch (e) {} + const fileArray = this.normalize(files) for (const fi of fileArray) { if (fi) { diff --git a/apps/remix-ide/src/app/plugins/remixd-handle.tsx b/apps/remix-ide/src/app/plugins/remixd-handle.tsx index 37076db375..35353d774d 100644 --- a/apps/remix-ide/src/app/plugins/remixd-handle.tsx +++ b/apps/remix-ide/src/app/plugins/remixd-handle.tsx @@ -34,31 +34,49 @@ enum State { export class RemixdHandle extends WebsocketPlugin { localhostProvider: any appManager: PluginManager - constructor (localhostProvider, appManager) { + dependentPlugins: Array + constructor(localhostProvider, appManager) { super(profile) this.localhostProvider = localhostProvider this.appManager = appManager + this.dependentPlugins = ['hardhat', 'truffle', 'slither', 'foundry'] } - async deactivate () { + async deactivate() { + for (const plugin of this.dependentPlugins) { + if (await this.appManager.isActive(plugin)) { + await this.appManager.deactivatePlugin(plugin) + } + } if (super.socket) super.deactivate() // this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342 - if (this.appManager.isActive('hardhat')) this.appManager.deactivatePlugin('hardhat') - if (this.appManager.isActive('truffle')) this.appManager.deactivatePlugin('truffle') - if (this.appManager.isActive('slither')) this.appManager.deactivatePlugin('slither') - if (this.appManager.isActive('foundry')) this.appManager.deactivatePlugin('foundry') this.localhostProvider.close((error) => { if (error) console.log(error) }) } - async activate () { + async activate() { this.connectToLocalhost() return true } - async canceled () { + async canceled() { + for (const plugin of this.dependentPlugins) { + if (await this.appManager.isActive(plugin)) { + await this.appManager.deactivatePlugin(plugin) + } + } + await this.appManager.deactivatePlugin('remixd') + + } + + async callPluginMethod(key: string, payload?: any[]) { + if (this.socket.readyState !== this.socket.OPEN) { + console.log(`${this.profile.name} connection is not opened.`) + return false + } + return super.callPluginMethod(key, payload) } /** @@ -67,11 +85,11 @@ export class RemixdHandle extends WebsocketPlugin { * * @param {String} txHash - hash of the transaction */ - async connectToLocalhost () { - const connection = (error?:any) => { + async connectToLocalhost() { + const connection = async (error?: any) => { if (error) { console.log(error) - const alert:AlertModal = { + const alert: AlertModal = { id: 'connectionAlert', message: 'Cannot connect to the remixd daemon. Please make sure you have the remixd running in the background.' } @@ -81,7 +99,7 @@ export class RemixdHandle extends WebsocketPlugin { const intervalId = setInterval(() => { if (!this.socket || (this.socket && this.socket.readyState === 3)) { // 3 means connection closed clearInterval(intervalId) - const alert:AlertModal = { + const alert: AlertModal = { id: 'connectionAlert', message: 'Connection to remixd terminated. Please make sure remixd is still running in the background.' } @@ -91,39 +109,38 @@ export class RemixdHandle extends WebsocketPlugin { }, 3000) this.localhostProvider.init(() => { this.call('filePanel', 'setWorkspace', { name: LOCALHOST, isLocalhost: true }, true) - }) - this.call('manager', 'activatePlugin', 'hardhat') - this.call('manager', 'activatePlugin', 'truffle') - this.call('manager', 'activatePlugin', 'slither') - this.call('manager', 'activatePlugin', 'foundry') + }); + for (const plugin of this.dependentPlugins) { + await this.appManager.activatePlugin(plugin) + } } } if (this.localhostProvider.isConnected()) { this.deactivate() } else if (!isElectron()) { // warn the user only if he/she is in the browser context - const mod:AppModal = { + const mod: AppModal = { id: 'remixdConnect', title: 'Connect to localhost', message: remixdDialog(), okLabel: 'Connect', cancelLabel: 'Cancel', } - const result = await this.call('notification', 'modal', mod) - if(result) { - try { - this.localhostProvider.preInit() - super.activate() - setTimeout(() => { - if (!this.socket || (this.socket && this.socket.readyState === 3)) { // 3 means connection closed - connection(new Error('Connection with daemon failed.')) - } else { - connection() - } - }, 3000) - } catch (error) { - connection(error) - } + const result = await this.call('notification', 'modal', mod) + if (result) { + try { + this.localhostProvider.preInit() + super.activate() + setTimeout(() => { + if (!this.socket || (this.socket && this.socket.readyState === 3)) { // 3 means connection closed + connection(new Error('Connection with daemon failed.')) + } else { + connection() + } + }, 3000) + } catch (error) { + connection(error) + } } else { await this.canceled() @@ -139,7 +156,7 @@ export class RemixdHandle extends WebsocketPlugin { } } -function remixdDialog () { +function remixdDialog() { const commandText = 'remixd' const fullCommandText = 'remixd -s -u ' return (<> @@ -152,13 +169,13 @@ function remixdDialog () {
The remixd command is: -
{commandText} +
{commandText}
The remixd command without options uses the terminal's current directory as the shared directory and the shared Remix domain can only be https://remix.ethereum.org, https://remix-alpha.ethereum.org, or https://remix-beta.ethereum.org
- Example command with flags:
+ Example command with flags:
{fullCommandText}
diff --git a/apps/remix-ide/src/app/tabs/compile-and-run.ts b/apps/remix-ide/src/app/tabs/compile-and-run.ts index e90d9f5844..a8ce143125 100644 --- a/apps/remix-ide/src/app/tabs/compile-and-run.ts +++ b/apps/remix-ide/src/app/tabs/compile-and-run.ts @@ -51,11 +51,11 @@ export class CompileAndRun extends Plugin { } async runScript (fileName, clearAllInstances) { - await this.call('terminal', 'log', `running ${fileName} ...`) + await this.call('terminal', 'log', { value: `running ${fileName} ...`, type: 'info' }) try { const exists = await this.call('fileManager', 'exists', fileName) if (!exists) { - await this.call('terminal', 'log', `${fileName} does not exist.`) + await this.call('terminal', 'log', { value: `${fileName} does not exist.`, type: 'info' } ) return } const content = await this.call('fileManager', 'readFile', fileName) diff --git a/apps/remix-ide/src/app/tabs/compile-tab.js b/apps/remix-ide/src/app/tabs/compile-tab.js index db61a6370f..04e33277e0 100644 --- a/apps/remix-ide/src/app/tabs/compile-tab.js +++ b/apps/remix-ide/src/app/tabs/compile-tab.js @@ -100,7 +100,7 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA this.renderComponent() // @todo(#2875) should use loading compiler return value to check whether the compiler is loaded instead of "setInterval" const value = JSON.stringify(settings, null, '\t') - + this.call('notification', 'toast', compilerConfigChangedToastMsg(this.currentRequest.from, value)) } diff --git a/apps/remix-ide/src/app/tabs/locale-module.js b/apps/remix-ide/src/app/tabs/locale-module.js new file mode 100644 index 0000000000..9a2c1b3b04 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locale-module.js @@ -0,0 +1,75 @@ +import { Plugin } from '@remixproject/engine' +import { EventEmitter } from 'events' +import { QueryParams } from '@remix-project/remix-lib' +import * as packageJson from '../../../../../package.json' +import Registry from '../state/registry' +import enUS from './locales/en-US' +import zhCN from './locales/zh-CN' +const _paq = window._paq = window._paq || [] + +const locales = [ + { name: 'en-US', messages: enUS }, + { name: 'zh-CN', messages: zhCN }, +] + +const profile = { + name: 'locale', + events: ['localeChanged'], + methods: ['switchLocale', 'getLocales', 'currentLocale'], + version: packageJson.version, + kind: 'locale' +} + +export class LocaleModule extends Plugin { + constructor () { + super(profile) + this.events = new EventEmitter() + this._deps = { + config: Registry.getInstance().get('config') && Registry.getInstance().get('config').api + } + this.locales = {} + locales.map((locale) => { + this.locales[locale.name.toLocaleLowerCase()] = locale + }) + this._paq = _paq + let queryLocale = (new QueryParams()).get().locale + queryLocale = queryLocale && queryLocale.toLocaleLowerCase() + queryLocale = this.locales[queryLocale] ? queryLocale : null + let currentLocale = (this._deps.config && this._deps.config.get('settings/locale')) || null + currentLocale = currentLocale && currentLocale.toLocaleLowerCase() + currentLocale = this.locales[currentLocale] ? currentLocale : null + this.currentLocaleState = { queryLocale, currentLocale } + this.active = queryLocale || currentLocale || 'en-us' + this.forced = !!queryLocale + } + + /** Return the active locale */ + currentLocale () { + return this.locales[this.active] + } + + /** Returns all locales as an array */ + getLocales () { + return Object.keys(this.locales).map(key => this.locales[key]) + } + + /** + * Change the current locale + * @param {string} [localeName] - The name of the locale + */ + switchLocale (localeName) { + localeName = localeName && localeName.toLocaleLowerCase() + if (localeName && !Object.keys(this.locales).includes(localeName)) { + throw new Error(`Locale ${localeName} doesn't exist`) + } + const next = localeName || this.active // Name + if (next === this.active) return // --> exit out of this method + _paq.push(['trackEvent', 'localeModule', 'switchTo', next]) + const nextLocale = this.locales[next] // Locale + if (!this.forced) this._deps.config.set('settings/locale', next) + + if (localeName) this.active = localeName + this.emit('localeChanged', nextLocale) + this.events.emit('localeChanged', nextLocale) + } +} diff --git a/apps/remix-ide/src/app/tabs/locales/en-US.js b/apps/remix-ide/src/app/tabs/locales/en-US.js new file mode 100644 index 0000000000..8111d21cc2 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/en-US.js @@ -0,0 +1,196 @@ +export default { + 'panel.author': 'Author', + 'panel.maintainedBy': 'Maintained By', + 'panel.documentation': 'Documentation', + 'panel.description': 'Description', + + 'settings.displayName': 'Settings', + 'settings.reset': 'Reset to Default settings', + 'settings.general': 'General settings', + 'settings.generateContractMetadataText': 'Generate contract metadata. Generate a JSON file in the contract folder. Allows to specify library addresses the contract depends on. If nothing is specified, Remix deploys libraries automatically.', + 'settings.ethereunVMText': 'Always use Javascript VM at load', + 'settings.wordWrapText': 'Word wrap in editor', + 'settings.useAutoCompleteText': 'Enable code completion in editor.', + 'settings.useShowGasInEditorText': 'Display gas estimates in editor.', + 'settings.displayErrorsText': 'Display errors in editor while typing.', + 'settings.matomoAnalytics': 'Enable Matomo Analytics. We do not collect personally identifiable information (PII). The info is used to improve the site’s UX & UI. See more about ', + 'settings.enablePersonalModeText': ' Enable Personal Mode for web3 provider. Transaction sent over Web3 will use the web3.personal API.\n', + 'settings.warnText': 'Be sure the endpoint is opened before enabling it. \nThis mode allows a user to provide a passphrase in the Remix interface without having to unlock the account. Although this is very convenient, you should completely trust the backend you are connected to (Geth, Parity, ...). Remix never persists any passphrase'.split('\n').map(s => s.trim()).join(' '), + 'settings.gitAccessTokenTitle': 'GitHub Access Token', + 'settings.gitAccessTokenText': 'Manage the access token used to publish to Gist and retrieve GitHub contents.', + 'settings.gitAccessTokenText2': 'Go to github token page (link below) to create a new token and save it in Remix. Make sure this token has only \'create gist\' permission.', + 'settings.etherscanTokenTitle': 'EtherScan Access Token', + 'settings.etherscanAccessTokenText': 'Manage the api key used to interact with Etherscan.', + 'settings.etherscanAccessTokenText2': 'Go to Etherscan api key page (link below) to create a new api key and save it in Remix.', + 'settings.save': 'Save', + 'settings.remove': 'Remove', + 'settings.themes': 'Themes', + 'settings.locales': 'Lanaguage', + 'settings.swarm': 'Swarm Settings', + 'settings.ipfs': 'IPFS Settings', + + 'filePanel.displayName': 'File explorer', + 'filePanel.workspace': 'WORKSPACES', + 'filePanel.create': 'Create', + 'filePanel.clone': 'Clone', + 'filePanel.download': 'Download', + 'filePanel.restore': 'Restore', + 'filePanel.workspace.create': 'Create Workspace', + 'filePanel.workspace.rename': 'Rename Workspace', + 'filePanel.workspace.delete': 'Delete Workspace', + 'filePanel.workspace.deleteConfirm': 'Are you sure to delete the current workspace?', + 'filePanel.workspace.name': 'Workspace name', + 'filePanel.workspace.chooseTemplate': 'Choose a template', + 'filePanel.workspace.download': 'Download Workspace', + 'filePanel.workspace.restore': 'Restore Workspace Backup', + 'filePanel.workspace.clone': 'Clone Git Repository', + 'filePanel.workspace.enterGitUrl': 'Enter git repository url', + 'filePanel.newFile': 'New File', + 'filePanel.newFolder': 'New Folder', + 'filePanel.rename': 'Rename', + 'filePanel.delete': 'Delete', + 'filePanel.deleteAll': 'Delete All', + 'filePanel.run': 'Run', + 'filePanel.pushChangesToGist': 'Push changes to gist', + 'filePanel.publishFolderToGist': 'Publish folder to gist', + 'filePanel.publishFileToGist': 'Publish file to gist', + 'filePanel.copy': 'Copy', + 'filePanel.paste': 'Paste', + 'filePanel.compile': 'Compile', + 'filePanel.compileForNahmii': 'Compile for Nahmii', + 'filePanel.createNewFile': 'Create New File', + 'filePanel.createNewFolder': 'Create New Folder', + 'filePanel.publishToGist': 'Publish all the current workspace files to a github gist', + 'filePanel.uploadFile': 'Load a local file into current workspace', + 'filePanel.updateGist': 'Update the current [gist] explorer', + + 'home.scamAlert': 'Scam Alert', + 'home.scamAlertText': 'The only URL Remix uses is remix.ethereum.org', + 'home.scamAlertText2': 'Beware of online videos promoting "liquidity front runner bots"', + 'home.scamAlertText3': 'Additional safety tips', + 'home.learnMore': 'Learn more', + 'home.here': 'here', + 'home.featuredPlugins': 'Featured Plugins', + 'home.files': 'Files', + 'home.newFile': 'New File', + 'home.openFile': 'Open File', + 'home.connectToLocalhost': 'Connect to Localhost', + 'home.loadFrom': 'LOAD FROM', + 'home.resources': 'Resources', + + 'terminal.listen': 'listen on all transactions', + 'terminal.search': 'Search with transaction hash or address', + 'terminal.used': 'used', + 'terminal.welcomeText1': 'Welcome to', + 'terminal.welcomeText2': 'Your files are stored in', + 'terminal.welcomeText3': 'You can use this terminal to', + 'terminal.welcomeText4': 'Check transactions details and start debugging', + 'terminal.welcomeText5': 'Execute JavaScript scripts', + 'terminal.welcomeText6': 'Input a script directly in the command line interface', + 'terminal.welcomeText7': 'Select a Javascript file in the file explorer and then run `remix.execute()` or `remix.exeCurrent()` in the command line interface', + 'terminal.welcomeText8': 'Right click on a JavaScript file in the file explorer and then click `Run`', + 'terminal.welcomeText9': 'The following libraries are accessible', + 'terminal.welcomeText10': 'Type the library name to see available commands', + + 'debugger.displayName': 'Debugger', + 'debugger.debuggerConfiguration': 'Debugger Configuration', + 'debugger.stopDebugging': 'Stop debugging', + 'debugger.startDebugging': 'Start debugging', + 'debugger.placeholder': 'Transaction hash, should start with 0x', + 'debugger.introduction': `When Debugging with a transaction hash, + if the contract is verified, Remix will try to fetch the source code from Sourcify or Etherscan. Put in your Etherscan API key in the Remix settings. + For supported networks, please see`, + + 'udapp.displayName': 'Deploy & run transactions', + 'udapp.gasLimit': 'Gas limit', + 'udapp.account': 'Account', + 'udapp.value': 'Value', + 'udapp.contract': 'Contract', + 'udapp.signAMessage': 'Sign a message', + 'udapp.enterAMessageToSign': 'Enter a message to sign', + 'udapp.hash': 'hash', + 'udapp.signature': 'signature', + 'udapp.signedMessage': 'Signed Message', + 'udapp.environment': 'Environment', + 'udapp.environmentDocs': 'Click for docs about Environment', + 'udapp.deploy': 'Deploy', + 'udapp.publishTo': 'Publish to', + 'udapp.or': 'or', + 'udapp.atAddress': 'At Address', + 'udapp.noCompiledContracts': 'No compiled contracts', + 'udapp.loadContractFromAddress': 'Load contract from Address', + 'udapp.deployedContracts': 'Deployed Contracts', + 'udapp.deployAndRunClearInstances': 'Clear instances list and reset recorder', + 'udapp.deployAndRunNoInstanceText': 'Currently you have no contract instances to interact with.', + 'udapp.transactionsRecorded': 'Transactions recorded', + + 'search.displayName': 'Search in files', + 'search.replace': 'Replace', + 'search.replaceAll': 'Replace All', + 'search.placeholder1': 'Search ( Enter to search )', + 'search.placeholder2': 'Include ie *.sol ( Enter to include )', + 'search.placeholder3': 'Exclude ie .git/**/* ( Enter to exclude )', + 'search.matchCase': 'Match Case', + 'search.matchWholeWord': 'Match Whole Word', + 'search.useRegularExpression': 'Use Regular Expression', + 'search.replaceWithoutConfirmation': 'replace without confirmation', + 'search.filesToInclude': 'Files to include', + 'search.filesToExclude': 'Files to exclude', + + 'solidity.displayName': 'Solidity compiler', + 'solidity.compiler': 'Compiler', + 'solidity.addACustomCompiler': 'Add a custom compiler', + 'solidity.addACustomCompilerWithURL': 'Add a custom compiler with URL', + 'solidity.includeNightlyBuilds': 'Include nightly builds', + 'solidity.autoCompile': 'Auto compile', + 'solidity.hideWarnings': 'Hide warnings', + 'solidity.enableHardhat': 'Enable Hardhat Compilation', + 'solidity.learnHardhat': 'Learn how to use Hardhat Compilation', + 'solidity.enableTruffle': 'Enable Truffle Compilation', + 'solidity.learnTruffle': 'Learn how to use Truffle Compilation', + 'solidity.advancedConfigurations': 'Advanced Configurations', + 'solidity.compilerConfiguration': 'Compiler configuration', + 'solidity.compilationDetails': 'Compilation Details', + 'solidity.language': 'Language', + 'solidity.evmVersion': 'EVM Version', + 'solidity.enableOptimization': 'Enable optimization', + 'solidity.useConfigurationFile': 'Use configuration file', + 'solidity.change': 'Change', + 'solidity.compile': 'Compile', + 'solidity.noFileSelected': 'no file selected', + 'solidity.compileAndRunScript': 'Compile and Run script', + 'solidity.publishOn': 'Publish on', + 'solidity.Assembly': 'Assembly opcodes describing the contract including corresponding solidity source code', + 'solidity.Opcodes': 'Assembly opcodes describing the contract', + 'solidity.name': 'Name of the compiled contract', + 'solidity.metadata': 'Contains all informations related to the compilation', + 'solidity.bytecode': 'Bytecode being executed during contract creation', + 'solidity.abi': 'ABI: describing all the functions (input/output params, scope, ...)', + 'solidity.web3Deploy': 'Copy/paste this code to any JavaScript/Web3 console to deploy this contract', + 'solidity.metadataHash': 'Hash representing all metadata information', + 'solidity.functionHashes': 'List of declared function and their corresponding hash', + 'solidity.gasEstimates': 'Gas estimation for each function call', + 'solidity.Runtime Bytecode': 'Bytecode storing the state and being executed during normal contract call', + 'solidity.swarmLocation': 'Swarm url where all metadata information can be found (contract needs to be published first)', + + 'pluginManager.displayName': 'Plugin manager', + 'pluginManager.activate': 'Activate', + 'pluginManager.deactivate': 'Deactivate', + 'pluginManager.activeModules': 'Active Modules', + 'pluginManager.inactiveModules': 'Inactive Modules', + 'pluginManager.connectLocal': 'Connect to a Local Plugin', + 'pluginManager.localForm.title': 'Local Plugin', + 'pluginManager.localForm.pluginName': 'Plugin Name', + 'pluginManager.localForm.shouldBeCamelCase': 'Should be camelCase', + 'pluginManager.localForm.displayName': 'Display Name', + 'pluginManager.localForm.nameInTheHeader': 'Name in the header', + 'pluginManager.localForm.required': 'required', + 'pluginManager.localForm.commaSeparatedMethod': 'comma separated list of method names', + 'pluginManager.localForm.commaSeparatedPlugin': 'comma separated list of plugin names', + 'pluginManager.localForm.pluginsItCanActivate': 'Plugins it can activate', + 'pluginManager.localForm.typeOfConnection': 'Type of connection', + 'pluginManager.localForm.locationInRemix': 'Location in remix', + 'pluginManager.localForm.sidePanel': 'Side Panel', + 'pluginManager.localForm.mainPanel': 'Main Panel', + 'pluginManager.localForm.none': 'None', +} diff --git a/apps/remix-ide/src/app/tabs/locales/zh-CN.js b/apps/remix-ide/src/app/tabs/locales/zh-CN.js new file mode 100644 index 0000000000..a69d823b0f --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/zh-CN.js @@ -0,0 +1,196 @@ +export default { + 'panel.author': '作者', + 'panel.maintainedBy': '维护者', + 'panel.documentation': '文档', + 'panel.description': '描述', + + 'settings.displayName': '设置', + 'settings.reset': '恢复默认设置', + 'settings.general': '常规设置', + 'settings.generateContractMetadataText': '生成合约元数据. 在contract文件夹中生成JSON文件. 允许指定合约依赖的库地址. 如果未指定任何内容,Remix将自动部署库.', + 'settings.ethereunVMText': '加载时始终使用以太坊虚拟机', + 'settings.wordWrapText': '文本换行', + 'settings.useAutoCompleteText': '在编辑器中启用代码自动补全.', + 'settings.useShowGasInEditorText': '在编辑器中展示 gas 预算.', + 'settings.displayErrorsText': '编辑代码时展示错误提示.', + 'settings.matomoAnalytics': '启用 Matomo 分析. 我们不会收集个人身份信息 (PII). 收集的信息只会用于提升 UX & UI. 查看更多关于 ', + 'settings.enablePersonalModeText': '为web3提供器启用私有模式. 通过Web3发送的交易将使用web3.personal API.\n', + 'settings.warnText': '在启用之前请确认访问端结点已经开放. \n此模式允许在Remix界面中提供密码而无需解锁账号. 虽然这很方便,但你应当完全信任所连接的后端节点 (Geth, Parity, ...). Remix不会持久化保存任何密码.'.split('\n').map(s => s.trim()).join(' '), + 'settings.gitAccessTokenTitle': 'Github 访问令牌', + 'settings.gitAccessTokenText': '管理用于发布到 Gist 以及读取 Github 内容的 GitHub 访问令牌.', + 'settings.gitAccessTokenText2': '前往 github (参见下方链接) 创建一个新的token,然后保存到Remix中. 确保这个token只有 \'create gist\' 权限.', + 'settings.etherscanTokenTitle': 'EtherScan 访问 Token', + 'settings.etherscanAccessTokenText': '管理用于与Etherscan交互的api密钥.', + 'settings.etherscanAccessTokenText2': '前往 Etherscan api 密钥页面 (参见下方链接),创建一个新的api密钥并保存到Remix中.', + 'settings.save': '保存', + 'settings.remove': '删除', + 'settings.themes': '主题', + 'settings.locales': '语言', + 'settings.swarm': 'Swarm 设置', + 'settings.ipfs': 'IPFS 设置', + + 'filePanel.displayName': '文件浏览器', + 'filePanel.workspace': '工作空间', + 'filePanel.create': '新建', + 'filePanel.clone': '克隆', + 'filePanel.download': '下载', + 'filePanel.restore': '恢复', + 'filePanel.workspace.create': '新建工作空间', + 'filePanel.workspace.rename': '重命名工作空间', + 'filePanel.workspace.delete': '删除工作空间', + 'filePanel.workspace.deleteConfirm': '确定要删除当前工作空间?', + 'filePanel.workspace.name': '工作空间名称', + 'filePanel.workspace.chooseTemplate': '选择一个工作空间模板', + 'filePanel.workspace.download': '下载工作空间', + 'filePanel.workspace.restore': '恢复工作空间', + 'filePanel.workspace.clone': '克隆 Git 仓库', + 'filePanel.workspace.enterGitUrl': '输入 Git 仓库地址', + 'filePanel.newFile': '新建文件', + 'filePanel.newFolder': '新建文件夹', + 'filePanel.rename': '重命名', + 'filePanel.delete': '删除', + 'filePanel.deleteAll': '删除所有', + 'filePanel.run': '运行', + 'filePanel.pushChangesToGist': '将修改推送到gist', + 'filePanel.publishFolderToGist': '将当前目录发布到gist', + 'filePanel.publishFileToGist': '将当前文件发布到gist', + 'filePanel.copy': '复制', + 'filePanel.paste': '黏贴', + 'filePanel.compile': '编译', + 'filePanel.compileForNahmii': 'Nahmii编译', + 'filePanel.createNewFile': '新建文件', + 'filePanel.createNewFolder': '新建文件夹', + 'filePanel.publishToGist': '将当前工作空间下所有文件发布到github gist', + 'filePanel.uploadFile': '加载本地文件到当前工作空间', + 'filePanel.updateGist': '更新当前 [gist] 浏览', + + 'home.scamAlert': '诈骗警报', + 'home.scamAlertText': 'Remix 唯一使用的 URL 是 remix.ethereum.org', + 'home.scamAlertText2': '注意那些宣传 "liquidity front runner bots" 的在线视频', + 'home.scamAlertText3': '其他安全提示', + 'home.learnMore': '了解更多', + 'home.here': '这里', + 'home.featuredPlugins': '精选插件', + 'home.files': '文件', + 'home.newFile': '新建文件', + 'home.openFile': '打开本地文件', + 'home.connectToLocalhost': '连接本地主机', + 'home.loadFrom': '从以下来源导入', + 'home.resources': '资源', + + 'terminal.listen': '监听所有交易', + 'terminal.search': '按交易哈希或地址搜索', + 'terminal.used': '已使用', + 'terminal.welcomeText1': '欢迎使用', + 'terminal.welcomeText2': '您的文件储存在', + 'terminal.welcomeText3': '您可使用此终端', + 'terminal.welcomeText4': '查看交易详情并启动调试', + 'terminal.welcomeText5': '执行 JavaScript 脚本', + 'terminal.welcomeText6': '直接在命令行界面输入脚本', + 'terminal.welcomeText7': '在文件浏览器中选择一个 Javascript 文件,然后在命令行界面运行 `remix.execute()` 或 `remix.exeCurrent()` ', + 'terminal.welcomeText8': '在文件浏览器中右键点击一个 JavaScript 文件,然后点击 `Run`', + 'terminal.welcomeText9': '可以访问以下库', + 'terminal.welcomeText10': '输入库名查看可用的指令', + + 'debugger.displayName': '调试器', + 'debugger.debuggerConfiguration': '调试器配置', + 'debugger.stopDebugging': '停止调试', + 'debugger.startDebugging': '开始调试', + 'debugger.placeholder': '交易哈希, 应该以 0x 开头', + 'debugger.introduction': `当使用交易哈希调试时, + 如果该合约已被验证, Remix 会试图从 Sourcify 或 Etherscan 获取源码. 在 Remix 中设置您的 Etherscan API key. + 有关受支持的网络,请参阅`, + + 'udapp.displayName': '部署 & 发交易', + 'udapp.gasLimit': 'Gas 上限', + 'udapp.account': '账户', + 'udapp.value': '以太币数量', + 'udapp.contract': '合约', + 'udapp.signAMessage': '给一个消息签名', + 'udapp.enterAMessageToSign': '输入一个需要签名的消息', + 'udapp.hash': '哈希', + 'udapp.signature': '签名', + 'udapp.signedMessage': '已签名的消息', + 'udapp.environment': '环境', + 'udapp.environmentDocs': '点击查看环境文档', + 'udapp.deploy': '部署', + 'udapp.publishTo': '发布到', + 'udapp.or': '或', + 'udapp.atAddress': 'At Address', + 'udapp.noCompiledContracts': '没有已编译的合约', + 'udapp.loadContractFromAddress': '加载此地址的合约', + 'udapp.deployedContracts': '已部署的合约', + 'udapp.deployAndRunClearInstances': '清空合约实例并重置交易记录', + 'udapp.deployAndRunNoInstanceText': '当前您没有可交互的合约实例.', + 'udapp.transactionsRecorded': '已记录的交易', + + 'search.displayName': '全文搜索', + 'search.replace': '替换', + 'search.replaceAll': '替换所有', + 'search.placeholder1': '搜索 ( 回车搜索 )', + 'search.placeholder2': '包含 ie *.sol ( 回车包含 )', + 'search.placeholder3': '排除 ie .git/**/* ( 回车排除 )', + 'search.matchCase': '大小写匹配', + 'search.matchWholeWord': '全字匹配', + 'search.useRegularExpression': '使用正则表达式', + 'search.replaceWithoutConfirmation': '替换无需确认', + 'search.filesToInclude': '文件包含', + 'search.filesToExclude': '文件排除', + + 'solidity.displayName': 'Solidity 编译器', + 'solidity.compiler': '编译器', + 'solidity.addACustomCompiler': '添加一个自定义编译器', + 'solidity.addACustomCompilerWithURL': '通过URL添加一个自定义编译器', + 'solidity.includeNightlyBuilds': '包含每日构造版本', + 'solidity.autoCompile': '自动编译', + 'solidity.hideWarnings': '隐藏警告', + 'solidity.enableHardhat': '启用 Hardhat 编译', + 'solidity.learnHardhat': '学习怎么使用 Hardhat 编译', + 'solidity.enableTruffle': '启用 Truffle 编译', + 'solidity.learnTruffle': '学习怎么使用 Truffle 编译', + 'solidity.advancedConfigurations': '高级配置', + 'solidity.compilerConfiguration': '编译器配置', + 'solidity.compilationDetails': '编译详情', + 'solidity.language': '语言', + 'solidity.evmVersion': 'EVM 版本', + 'solidity.enableOptimization': '启用优化', + 'solidity.useConfigurationFile': '使用配置文件', + 'solidity.change': '修改', + 'solidity.compile': '编译', + 'solidity.noFileSelected': '未选中文件', + 'solidity.compileAndRunScript': '编译且执行脚本', + 'solidity.publishOn': '发布到', + 'solidity.Assembly': '合约的汇编操作码,包含对应的solidity源程序', + 'solidity.Opcodes': '合约的汇编操作码', + 'solidity.name': '已编译合约的名称', + 'solidity.metadata': '包含编译相关的全部信息', + 'solidity.bytecode': '合约创建时执行的字节码', + 'solidity.abi': 'ABI: 全部合约函数的描述 (输入/输出 参数, 作用域, ...)', + 'solidity.web3Deploy': '拷贝/粘贴这部分代码到任何 JavaScript/Web3 控制台都可以部署此合约', + 'solidity.metadataHash': '元数据的哈希值', + 'solidity.functionHashes': '合约定义的函数清单,包含对应的哈希', + 'solidity.gasEstimates': '每个函数调用的Gas估算值', + 'solidity.Runtime Bytecode': '用于保存状态并在合约调用期执行的字节码', + 'solidity.swarmLocation': '可以找到所有元数据信息的Swarm url (首先需要发布合约) ', + + 'pluginManager.displayName': '插件管理', + 'pluginManager.activate': '启用', + 'pluginManager.deactivate': '停用', + 'pluginManager.activeModules': '启用的模块', + 'pluginManager.inactiveModules': '停用的模块', + 'pluginManager.connectLocal': '连接本地插件', + 'pluginManager.localForm.title': '本地插件', + 'pluginManager.localForm.pluginName': '插件名称', + 'pluginManager.localForm.shouldBeCamelCase': '应当采用驼峰命名法', + 'pluginManager.localForm.displayName': '展示名称', + 'pluginManager.localForm.nameInTheHeader': '标题中展示的名称', + 'pluginManager.localForm.required': '必填', + 'pluginManager.localForm.commaSeparatedMethod': '英文逗号分隔方法名称', + 'pluginManager.localForm.commaSeparatedPlugin': '英文逗号分隔插件名称', + 'pluginManager.localForm.pluginsItCanActivate': '能激活该插件的插件', + 'pluginManager.localForm.typeOfConnection': '连接类型', + 'pluginManager.localForm.locationInRemix': '在Remix中的位置', + 'pluginManager.localForm.sidePanel': '侧面板', + 'pluginManager.localForm.mainPanel': '主面板', + 'pluginManager.localForm.none': '无', +} diff --git a/apps/remix-ide/src/app/tabs/search.tsx b/apps/remix-ide/src/app/tabs/search.tsx index f9a00045cc..6705428a5f 100644 --- a/apps/remix-ide/src/app/tabs/search.tsx +++ b/apps/remix-ide/src/app/tabs/search.tsx @@ -21,8 +21,8 @@ export class SearchPlugin extends ViewPlugin { constructor () { super(profile) } - - render() { + + render() { return (
@@ -30,4 +30,4 @@ export class SearchPlugin extends ViewPlugin { ); } -} \ No newline at end of file +} diff --git a/apps/remix-ide/src/app/tabs/settings-tab.tsx b/apps/remix-ide/src/app/tabs/settings-tab.tsx index dbc73012be..c0d2e7d072 100644 --- a/apps/remix-ide/src/app/tabs/settings-tab.tsx +++ b/apps/remix-ide/src/app/tabs/settings-tab.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import React from 'react' // eslint-disable-line import { ViewPlugin } from '@remixproject/engine-web' import * as packageJson from '../../../../../package.json' @@ -23,8 +24,8 @@ module.exports = class SettingsTab extends ViewPlugin { config: any = {} editor: any private _deps: { - themeModule: any // eslint-disable-line - + themeModule: any + localeModule: any } element: HTMLDivElement public useMatomoAnalytics: any @@ -37,7 +38,8 @@ module.exports = class SettingsTab extends ViewPlugin { }) this.editor = editor this._deps = { - themeModule: Registry.getInstance().get('themeModule').api + themeModule: Registry.getInstance().get('themeModule').api, + localeModule: Registry.getInstance().get('localeModule').api } this.element = document.createElement('div') this.element.setAttribute('id', 'settingsTab') @@ -49,7 +51,7 @@ module.exports = class SettingsTab extends ViewPlugin { this.renderComponent() } - render() { + render() { return
@@ -62,6 +64,7 @@ module.exports = class SettingsTab extends ViewPlugin { _deps={state._deps} useMatomoAnalytics={state.useMatomoAnalytics} themeModule = {state._deps.themeModule} + localeModule={state._deps.localeModule} /> } @@ -80,4 +83,4 @@ module.exports = class SettingsTab extends ViewPlugin { ...this }) } -} \ No newline at end of file +} diff --git a/apps/remix-ide/src/app/tabs/web3-provider.js b/apps/remix-ide/src/app/tabs/web3-provider.js index 1a0e10a637..615170a9c9 100644 --- a/apps/remix-ide/src/app/tabs/web3-provider.js +++ b/apps/remix-ide/src/app/tabs/web3-provider.js @@ -32,7 +32,7 @@ export class Web3ProviderModule extends Plugin { if (error) { const errorData = error.data ? error.data : error.message ? error.message : error // See: https://github.com/ethers-io/ethers.js/issues/901 - if (!(typeof errorData === 'string' && errorData.includes("unknown method eth_chainId"))) this.call('terminal', 'log', error.data ? error.data : error.message) + if (!(typeof errorData === 'string' && errorData.includes("unknown method eth_chainId"))) this.call('terminal', 'log', { value: error.data ? error.data : error.message, type: 'error' } ) return reject(errorData) } if (payload.method === 'eth_sendTransaction') { diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index c12e67ae87..1a4cade676 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -69,7 +69,7 @@ export class RunTab extends ViewPlugin { this.emit('clearAllInstancesReducer') } - addInstance (address, abi, name) { + addInstance (address, abi, name) { this.emit('addInstanceReducer', address, abi, name) } @@ -78,7 +78,7 @@ export class RunTab extends ViewPlugin { } sendTransaction (tx) { - _paq.push(['trackEvent', 'udapp', 'sendTx']) + _paq.push(['trackEvent', 'udapp', 'sendTx', 'udappTransaction']) return this.blockchain.sendTransaction(tx) } @@ -95,7 +95,7 @@ export class RunTab extends ViewPlugin { } onReady (api) { - this.REACT_API = api + this.REACT_API = api } async onInitDone () { @@ -174,7 +174,7 @@ export class RunTab extends ViewPlugin { } } }) - + await this.call('blockchain', 'addProvider', { name: 'Optimism Provider', isInjected: true, diff --git a/apps/remix-ide/src/app/ui/landing-page/landing-page.js b/apps/remix-ide/src/app/ui/landing-page/landing-page.js index 978c4fdb1c..81444c5c1e 100644 --- a/apps/remix-ide/src/app/ui/landing-page/landing-page.js +++ b/apps/remix-ide/src/app/ui/landing-page/landing-page.js @@ -10,7 +10,7 @@ const profile = { methods: [], events: [], description: 'Remix home tab ', - icon: 'assets/img/remixLogo.webp', + icon: 'assets/img/home.webp', location: 'mainPanel', version: packageJson.version } @@ -30,9 +30,8 @@ export class LandingPage extends ViewPlugin { } render () { - return
- } - + return
+ +
+ } } diff --git a/apps/remix-ide/src/assets/img/StarkNetLogo.png b/apps/remix-ide/src/assets/img/StarkNetLogo.png new file mode 100644 index 0000000000..74218453e0 Binary files /dev/null and b/apps/remix-ide/src/assets/img/StarkNetLogo.png differ diff --git a/apps/remix-ide/src/assets/img/bgRemi.webp b/apps/remix-ide/src/assets/img/bgRemi.webp new file mode 100644 index 0000000000..80ee32e1de Binary files /dev/null and b/apps/remix-ide/src/assets/img/bgRemi.webp differ diff --git a/apps/remix-ide/src/assets/img/home.webp b/apps/remix-ide/src/assets/img/home.webp new file mode 100644 index 0000000000..6af3393ffd Binary files /dev/null and b/apps/remix-ide/src/assets/img/home.webp differ diff --git a/apps/remix-ide/src/assets/img/logoicon.svg b/apps/remix-ide/src/assets/img/logoicon.svg new file mode 100644 index 0000000000..d064e0a227 --- /dev/null +++ b/apps/remix-ide/src/assets/img/logoicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/remix-ide/src/assets/img/remixRewardBetaTester.webp b/apps/remix-ide/src/assets/img/remixRewardBetaTester.webp new file mode 100644 index 0000000000..59a14a9ad2 Binary files /dev/null and b/apps/remix-ide/src/assets/img/remixRewardBetaTester.webp differ diff --git a/apps/remix-ide/src/assets/img/remixRewardUser.webp b/apps/remix-ide/src/assets/img/remixRewardUser.webp new file mode 100644 index 0000000000..4f63b39069 Binary files /dev/null and b/apps/remix-ide/src/assets/img/remixRewardUser.webp differ diff --git a/apps/remix-ide/src/assets/img/remix_logo_light.webp b/apps/remix-ide/src/assets/img/remix_logo_light.webp new file mode 100644 index 0000000000..097a95e50e Binary files /dev/null and b/apps/remix-ide/src/assets/img/remix_logo_light.webp differ diff --git a/apps/remix-ide/src/assets/js/loader.js b/apps/remix-ide/src/assets/js/loader.js index 4e60dbc36d..8f22b3db6c 100644 --- a/apps/remix-ide/src/assets/js/loader.js +++ b/apps/remix-ide/src/assets/js/loader.js @@ -1,7 +1,8 @@ const domains = { 'remix-alpha.ethereum.org': 27, 'remix-beta.ethereum.org': 25, - 'remix.ethereum.org': 23 + 'remix.ethereum.org': 23, + '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop } if (domains[window.location.hostname]) { var _paq = window._paq = window._paq || [] diff --git a/apps/remix-ide/src/blockchain/blockchain.js b/apps/remix-ide/src/blockchain/blockchain.js index 16e42c5cdf..79d63c1684 100644 --- a/apps/remix-ide/src/blockchain/blockchain.js +++ b/apps/remix-ide/src/blockchain/blockchain.js @@ -674,22 +674,24 @@ export class Blockchain extends Plugin { const hhlogs = await this.web3().eth.getHHLogsForTx(txResult.transactionHash) if (hhlogs && hhlogs.length) { - let finalLogs = 'console.log:\n' - for (const log of hhlogs) { - let formattedLog - // Hardhat implements the same formatting options that can be found in Node.js' console.log, - // which in turn uses util.format: https://nodejs.org/dist/latest-v12.x/docs/api/util.html#util_util_format_format_args - // For example: console.log("Name: %s, Age: %d", remix, 6) will log 'Name: remix, Age: 6' - // We check first arg to determine if 'util.format' is needed - if (typeof log[0] === 'string' && (log[0].includes('%s') || log[0].includes('%d'))) { - formattedLog = format(log[0], ...log.slice(1)) - } else { - formattedLog = log.join(' ') - } - finalLogs = finalLogs + ' ' + formattedLog + '\n' - } + let finalLogs =
console.log:
+ { + hhlogs.map((log) => { + let formattedLog + // Hardhat implements the same formatting options that can be found in Node.js' console.log, + // which in turn uses util.format: https://nodejs.org/dist/latest-v12.x/docs/api/util.html#util_util_format_format_args + // For example: console.log("Name: %s, Age: %d", remix, 6) will log 'Name: remix, Age: 6' + // We check first arg to determine if 'util.format' is needed + if (typeof log[0] === 'string' && (log[0].includes('%s') || log[0].includes('%d'))) { + formattedLog = format(log[0], ...log.slice(1)) + } else { + formattedLog = log.join(' ') + } + return
{formattedLog}
+ })} +
_paq.push(['trackEvent', 'udapp', 'hardhat', 'console.log']) - this.call('terminal', 'log', { type: 'info', value: finalLogs }) + this.call('terminal', 'logHtml', finalLogs) } execResult = await this.web3().eth.getExecutionResultFromSimulator(txResult.transactionHash) if (execResult) { diff --git a/apps/remix-ide/src/blockchain/execution-context.js b/apps/remix-ide/src/blockchain/execution-context.js index 0b63c241cd..1b7f808bc4 100644 --- a/apps/remix-ide/src/blockchain/execution-context.js +++ b/apps/remix-ide/src/blockchain/execution-context.js @@ -14,6 +14,8 @@ if (typeof window !== 'undefined' && typeof window.ethereum !== 'undefined') { web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')) } +const noInjectedProviderMsg = 'No injected provider found. Make sure your provider (e.g. MetaMask) is active and running (when recently activated you may have to reload the page).' + /* trigger contextChanged, web3EndpointChanged */ @@ -38,12 +40,16 @@ export class ExecutionContext { this.executionContext = 'vm' } else { this.executionContext = injectedProvider ? 'injected' : 'vm' - if (this.executionContext === 'injected') this.askPermission() + if (this.executionContext === 'injected') this.askPermission(false) } } - askPermission () { - if (ethereum && typeof ethereum.request === "function") ethereum.request({ method: "eth_requestAccounts" }); + askPermission (throwIfNoInjectedProvider) { + if (typeof ethereum !== "undefined" && typeof ethereum.request === "function") { + ethereum.request({ method: "eth_requestAccounts" }) + } else if (throwIfNoInjectedProvider) { + throw new Error(noInjectedProviderMsg) + } } getProvider () { @@ -80,7 +86,7 @@ export class ExecutionContext { } if (web3.currentProvider.isConnected && !web3.currentProvider.isConnected()) { if (web3.currentProvider.isMetaMask) { - this.askPermission() + this.askPermission(false) } return callback('Provider not connected') } @@ -152,13 +158,18 @@ export class ExecutionContext { if (context === 'injected') { if (injectedProvider === undefined) { - infoCb('No injected provider found. Make sure your provider (e.g. MetaMask) is active and running (when recently activated you may have to reload the page).') + infoCb(noInjectedProviderMsg) return cb() } else { if (injectedProvider && injectedProvider._metamask && injectedProvider._metamask.isUnlocked) { if (!await injectedProvider._metamask.isUnlocked()) infoCb('Please make sure the injected provider is unlocked (e.g Metamask).') } - this.askPermission() + try { + this.askPermission(true) + } catch (e) { + infoCb(e.message) + return cb() + } this.executionContext = context web3.setProvider(injectedProvider) await this._updateChainContext() @@ -176,7 +187,12 @@ export class ExecutionContext { }) } else { // injected - this.askPermission() + try { + this.askPermission(true) + } catch (e) { + infoCb(e.message) + return cb() + } this.executionContext = context web3.setProvider(network.provider) await this._updateChainContext() diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index 76fbaae663..4d79ab2705 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -6,7 +6,7 @@ const _paq = window._paq = window._paq || [] // requiredModule removes the plugin from the plugin manager list on UI const requiredModules = [ // services + layout views + system views - 'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', + 'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'locale', 'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', 'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity', 'solidity-logic', 'gistHandler', 'layout', 'notification', 'permissionhandler', 'walkthrough', 'storage', 'restorebackupzip', 'link-libraries', 'deploy-libraries', 'openzeppelin-proxy', @@ -14,7 +14,7 @@ const requiredModules = [ // services + layout views + system views 'compileAndRun', 'search', 'recorder', 'fileDecorator', 'codeParser', 'codeFormatter'] // dependentModules shouldn't be manually activated (e.g hardhat is activated by remixd) -const dependentModules = ['hardhat', 'truffle', 'slither'] +const dependentModules = ['foundry', 'hardhat', 'truffle', 'slither'] const sensitiveCalls = { 'fileManager': ['writeFile', 'copyFile', 'rename', 'copyDir'], @@ -93,7 +93,7 @@ export class RemixAppManager extends PluginManager { } onPluginActivated(plugin) { - this.pluginLoader.set(plugin, this.actives) + this.pluginLoader.set(plugin, this.actives.filter((plugin) => !this.isDependent(plugin))) this.event.emit('activate', plugin) this.emit('activate', plugin) if (!requiredModules.includes(plugin.name)) _paq.push(['trackEvent', 'pluginManager', 'activate', plugin.name]) @@ -110,7 +110,7 @@ export class RemixAppManager extends PluginManager { } onPluginDeactivated(plugin) { - this.pluginLoader.set(plugin, this.actives) + this.pluginLoader.set(plugin, this.actives.filter((plugin) => !this.isDependent(plugin))) this.event.emit('deactivate', plugin) _paq.push(['trackEvent', 'pluginManager', 'deactivate', plugin.name]) } diff --git a/apps/vyper/tsconfig.json b/apps/vyper/tsconfig.json index a3e71f89f3..89dc063037 100644 --- a/apps/vyper/tsconfig.json +++ b/apps/vyper/tsconfig.json @@ -6,8 +6,8 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitReturns": true, + "strict": false, + "noImplicitReturns": false, "noFallthroughCasesInSwitch": true }, "files": [], diff --git a/apps/vyper/webpack.config.js b/apps/vyper/webpack.config.js new file mode 100644 index 0000000000..02143af15b --- /dev/null +++ b/apps/vyper/webpack.config.js @@ -0,0 +1,31 @@ +const nxWebpack = require('@nrwl/react/plugins/webpack') +const TerserPlugin = require('terser-webpack-plugin') + +module.exports = config => { + const nxWebpackConfig = nxWebpack(config) + const webpackConfig = { + ...nxWebpackConfig, + node: { + fs: 'empty', + tls: 'empty', + readline: 'empty', + net: 'empty', + module: 'empty', + child_process: 'empty' + } + } + + if (process.env.NODE_ENV === 'production') { + return { + ...webpackConfig, + mode: 'production', + devtool: 'source-map', + optimization: { + minimize: true, + minimizer: [new TerserPlugin()] + } + } + } else { + return webpackConfig + } +} diff --git a/build-changelog.js b/build-changelog.js index eb6d5bb247..1c9433739d 100644 --- a/build-changelog.js +++ b/build-changelog.js @@ -7,26 +7,25 @@ let data = '' const prCount = inDone.filter((card) => { return card.node.content.url }).length -console.log(prCount, 'Prs\n') -data = prCount + ' Prs\n\n' +console.log(prCount, 'PRs found!\n') +data = prCount + ' PRs found!\n\n' for (let card of inDone) { if (card.node.content.url && card.node.content.merged) { data += ` - [${card.node.content.title}](${card.node.content.url}) (@${card.node.content.author.login})\n` - data += ` participants: ${card.node.content.participants.edges.map((p) => { return `@(${p.node.login})` })}` + data += ` participants: (${card.node.content.participants.edges.map((p) => { return ` @${p.node.login}` })})` data += '\n\n' } } - console.log('change-log.txt updated') fs.writeFileSync('./change-log.txt', data) /* - - go to https://docs.github.com/en/graphql/overview/explorer - - set the correct project id - - run the query (be careful, this only returns the first 100 elements) - - save the JSON content as done.json - - run this script - - get the result in the file done.txt + - Go to https://docs.github.com/en/graphql/overview/explorer + - Set the correct project id + - Run the below mentioned query (be careful, this only returns the first 100 elements) + - Save the JSON content as change-log.json + - Run this script i.e. build-changelog.js + - Use the result from the file change-log.txt to write changelog on Github release */ /* diff --git a/libs/remix-analyzer/package.json b/libs/remix-analyzer/package.json index 151251e4e9..ee5111c3ab 100644 --- a/libs/remix-analyzer/package.json +++ b/libs/remix-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-analyzer", - "version": "0.5.25", + "version": "0.5.29", "description": "Tool to perform static analysis on Solidity smart contracts", "scripts": { "test": "./../../node_modules/.bin/ts-node --project ../../tsconfig.base.json --require tsconfig-paths/register ./../../node_modules/.bin/tape ./test/tests.ts" @@ -24,8 +24,8 @@ "@ethereumjs/block": "^3.5.1", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-astwalker": "^0.0.46", - "@remix-project/remix-lib": "^0.5.16", + "@remix-project/remix-astwalker": "^0.0.50", + "@remix-project/remix-lib": "^0.5.20", "async": "^2.6.2", "ethereumjs-util": "^7.0.10", "ethers": "^5.4.2", @@ -50,5 +50,5 @@ "typescript": "^3.7.5" }, "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-astwalker/package.json b/libs/remix-astwalker/package.json index f230341515..1df321c260 100644 --- a/libs/remix-astwalker/package.json +++ b/libs/remix-astwalker/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-astwalker", - "version": "0.0.46", + "version": "0.0.50", "description": "Tool to walk through Solidity AST", "main": "src/index.js", "scripts": { @@ -36,7 +36,7 @@ "@ethereumjs/block": "^3.5.1", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-lib": "^0.5.16", + "@remix-project/remix-lib": "^0.5.20", "@types/tape": "^4.2.33", "async": "^2.6.2", "ethereumjs-util": "^7.0.10", @@ -53,5 +53,5 @@ "tap-spec": "^5.0.0" }, "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-core-plugin/src/lib/compiler-metadata.ts b/libs/remix-core-plugin/src/lib/compiler-metadata.ts index 403c22b90b..6a2bb7570d 100644 --- a/libs/remix-core-plugin/src/lib/compiler-metadata.ts +++ b/libs/remix-core-plugin/src/lib/compiler-metadata.ts @@ -13,10 +13,12 @@ const profile = { export class CompilerMetadata extends Plugin { networks: string[] innerPath: string + buildInfoNames: Record constructor () { super(profile) this.networks = ['VM:-', 'main:1', 'ropsten:3', 'rinkeby:4', 'kovan:42', 'goerli:5', 'Custom'] this.innerPath = 'artifacts' + this.buildInfoNames = {} } _JSONFileName (path, contractName) { @@ -33,7 +35,7 @@ export class CompilerMetadata extends Plugin { if (!await this.call('settings', 'get', 'settings/generate-contract-metadata')) return const compiler = new CompilerAbstract(languageVersion, data, source, input) const path = self._extractPathOf(source.target) - await this.setBuildInfo(version, input, data, path) + await this.setBuildInfo(version, input, data, path, file) compiler.visitContracts((contract) => { if (contract.file !== source.target) return (async () => { @@ -45,7 +47,24 @@ export class CompilerMetadata extends Plugin { }) } - async setBuildInfo (version, input, output, path) { + // Access each file in build-info, check the input sources + // If they are all same as in current compiled file and sources includes the path of compiled file, remove old build file + async removeStoredBuildInfo (currentInput, path, filePath) { + const buildDir = this.joinPath(path, this.innerPath, 'build-info/') + if (await this.call('fileManager', 'exists', buildDir)) { + const allBuildFiles = await this.call('fileManager', 'fileList', buildDir) + const currentInputFileNames = Object.keys(currentInput.sources) + for (const fileName of allBuildFiles) { + let fileContent = await this.call('fileManager', 'readFile', fileName) + fileContent = JSON.parse(fileContent) + const inputFiles = Object.keys(fileContent.input.sources) + const inputIntersection = currentInputFileNames.filter(element => !inputFiles.includes(element)) + if (inputIntersection.length === 0 && inputFiles.includes(filePath)) await this.call('fileManager', 'remove', fileName) + } + } + } + + async setBuildInfo (version, input, output, path, filePath) { input = JSON.parse(input) const solcLongVersion = version.replace('.Emscripten.clang', '') const solcVersion = solcLongVersion.substring(0, solcLongVersion.indexOf('+commit')) @@ -58,8 +77,19 @@ export class CompilerMetadata extends Plugin { }) const id = createHash('md5').update(Buffer.from(json)).digest().toString('hex') const buildFilename = this.joinPath(path, this.innerPath, 'build-info/' + id + '.json') - const buildData = {id, _format: format, solcVersion, solcLongVersion, input, output} - await this.call('fileManager', 'writeFile', buildFilename, JSON.stringify(buildData, null, '\t')) + // If there are no file in buildInfoNames,it means compilation is running first time after loading Remix + if (!this.buildInfoNames[filePath]) { + // Check the existing build-info and delete all the previous build files for compiled file + await this.removeStoredBuildInfo(input, path, filePath) + this.buildInfoNames[filePath] = buildFilename + const buildData = {id, _format: format, solcVersion, solcLongVersion, input, output} + await this.call('fileManager', 'writeFile', buildFilename, JSON.stringify(buildData, null, '\t')) + } else if (this.buildInfoNames[filePath] && this.buildInfoNames[filePath] !== buildFilename) { + await this.call('fileManager', 'remove', this.buildInfoNames[filePath]) + this.buildInfoNames[filePath] = buildFilename + const buildData = {id, _format: format, solcVersion, solcLongVersion, input, output} + await this.call('fileManager', 'writeFile', buildFilename, JSON.stringify(buildData, null, '\t')) + } } _extractPathOf (file) { diff --git a/libs/remix-core-plugin/src/lib/offset-line-to-column-converter.ts b/libs/remix-core-plugin/src/lib/offset-line-to-column-converter.ts index b6e02bbcdd..0c416b2953 100644 --- a/libs/remix-core-plugin/src/lib/offset-line-to-column-converter.ts +++ b/libs/remix-core-plugin/src/lib/offset-line-to-column-converter.ts @@ -13,9 +13,11 @@ const profile = { export class OffsetToLineColumnConverter extends Plugin { lineBreakPositionsByContent: Record> sourceMappingDecoder: any + offsetConvertion: any constructor () { super(profile) this.lineBreakPositionsByContent = {} + this.offsetConvertion = {} this.sourceMappingDecoder = sourceMappingDecoder } @@ -45,7 +47,15 @@ export class OffsetToLineColumnConverter extends Plugin { } } } - return this.sourceMappingDecoder.convertOffsetToLineColumn(rawLocation, this.lineBreakPositionsByContent[file]) + + const token = `${rawLocation.start}:${rawLocation.length}:${file}` + if (this.offsetConvertion[token]) { + return this.offsetConvertion[token] + } else { + const convertion = this.sourceMappingDecoder.convertOffsetToLineColumn(rawLocation, this.lineBreakPositionsByContent[file]) + this.offsetConvertion[token] = convertion + return convertion + } } /** @@ -64,6 +74,7 @@ export class OffsetToLineColumnConverter extends Plugin { */ clear () { this.lineBreakPositionsByContent = {} + this.offsetConvertion = {} } /** diff --git a/libs/remix-debug/package.json b/libs/remix-debug/package.json index 02b43b44a1..59f57b15d3 100644 --- a/libs/remix-debug/package.json +++ b/libs/remix-debug/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-debug", - "version": "0.5.16", + "version": "0.5.20", "description": "Tool to debug Ethereum transactions", "contributors": [ { @@ -25,9 +25,9 @@ "@ethereumjs/common": "^2.5.0", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-astwalker": "^0.0.46", - "@remix-project/remix-lib": "^0.5.16", - "@remix-project/remix-simulator": "^0.2.16", + "@remix-project/remix-astwalker": "^0.0.50", + "@remix-project/remix-lib": "^0.5.20", + "@remix-project/remix-simulator": "^0.2.20", "ansi-gray": "^0.1.1", "async": "^2.6.2", "color-support": "^1.1.3", @@ -68,5 +68,5 @@ }, "homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-debug#readme", "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-debug/src/Ethdebugger.ts b/libs/remix-debug/src/Ethdebugger.ts index 644a98e57a..f04a740e34 100644 --- a/libs/remix-debug/src/Ethdebugger.ts +++ b/libs/remix-debug/src/Ethdebugger.ts @@ -32,9 +32,11 @@ export class Ethdebugger { storageResolver callTree breakpointManager + offsetToLineColumnConverter constructor (opts) { this.compilationResult = opts.compilationResult || function (contractAddress) { return null } + this.offsetToLineColumnConverter = opts.offsetToLineColumnConverter this.web3 = opts.web3 this.opts = opts @@ -49,7 +51,8 @@ export class Ethdebugger { this.traceManager, this.solidityProxy, this.codeManager, - { ...opts, includeLocalVariables }) + { ...opts, includeLocalVariables }, + this.offsetToLineColumnConverter) } setManagers () { @@ -63,7 +66,8 @@ export class Ethdebugger { this.traceManager, this.solidityProxy, this.codeManager, - { ...this.opts, includeLocalVariables }) + { ...this.opts, includeLocalVariables }, + this.offsetToLineColumnConverter) } resolveStep (index) { @@ -71,7 +75,7 @@ export class Ethdebugger { } setCompilationResult (compilationResult) { - this.solidityProxy.reset((compilationResult && compilationResult.data) || {}) + this.solidityProxy.reset((compilationResult && compilationResult.data) || {}, (compilationResult && compilationResult.source && compilationResult.source.sources) || {}) } async sourceLocationFromVMTraceIndex (address, stepIndex) { diff --git a/libs/remix-debug/src/debugger/VmDebugger.ts b/libs/remix-debug/src/debugger/VmDebugger.ts index b639a48375..19a8be3d51 100644 --- a/libs/remix-debug/src/debugger/VmDebugger.ts +++ b/libs/remix-debug/src/debugger/VmDebugger.ts @@ -114,12 +114,11 @@ export class VmDebuggerLogic { try { const memory = this._traceManager.getMemoryAt(index) if (this.stepManager.currentStepIndex === index) { - this.event.trigger('traceManagerMemoryUpdate', [ui.formatMemory(memory, 16)]) + this.event.trigger('traceManagerMemoryUpdate', [ui.formatMemory(memory, 32)]) } } catch (error) { this.event.trigger('traceManagerMemoryUpdate', [{}]) } - try { const address = this._traceManager.getCurrentCalledAddressAt(index) if (!this.storageResolver) return diff --git a/libs/remix-debug/src/debugger/debugger.ts b/libs/remix-debug/src/debugger/debugger.ts index 41c846b937..a96171e196 100644 --- a/libs/remix-debug/src/debugger/debugger.ts +++ b/libs/remix-debug/src/debugger/debugger.ts @@ -14,6 +14,8 @@ export class Debugger { breakPointManager step_manager // eslint-disable-line camelcase vmDebuggerLogic + currentFile = -1 + currentLine = -1 constructor (options) { this.event = new EventManager() @@ -26,7 +28,8 @@ export class Debugger { this.debugger = new Ethdebugger({ web3: options.web3, debugWithGeneratedSources: options.debugWithGeneratedSources, - compilationResult: this.compilationResult + compilationResult: this.compilationResult, + offsetToLineColumnConverter: this.offsetToLineColumnConverter }) const { traceManager, callTree, solidityProxy } = this.debugger @@ -73,35 +76,56 @@ export class Debugger { const compilationResultForAddress = await this.compilationResult(address) if (!compilationResultForAddress) { this.event.trigger('newSourceLocation', [null]) + this.currentFile = -1 + this.currentLine = -1 + this.vmDebuggerLogic.event.trigger('lineGasCostChanged', [null]) return } - this.debugger.callTree.sourceLocationTracker.getValidSourceLocationFromVMTraceIndex(address, index, compilationResultForAddress.data.contracts).then(async (rawLocation) => { + this.debugger.callTree.getValidSourceLocationFromVMTraceIndexFromCache(address, index, compilationResultForAddress.data.contracts).then(async (rawLocationAndOpcode) => { if (compilationResultForAddress && compilationResultForAddress.data) { + const rawLocation = rawLocationAndOpcode.sourceLocation + const stepDetail = rawLocationAndOpcode.stepDetail const generatedSources = this.debugger.callTree.sourceLocationTracker.getGeneratedSourcesFromAddress(address) - const astSources = Object.assign({}, compilationResultForAddress.data.sources) - const sources = Object.assign({}, compilationResultForAddress.source.sources) - if (generatedSources) { - for (const genSource of generatedSources) { - astSources[genSource.name] = { id: genSource.id, ast: genSource.ast } - sources[genSource.name] = { content: genSource.contents } - } + + const lineColumnPos = rawLocationAndOpcode.lineColumnPos + + let lineGasCostObj = null + try { + lineGasCostObj = await this.debugger.callTree.getGasCostPerLine(rawLocation.file, lineColumnPos.start.line) + } catch (e) { + console.log(e) } - const lineColumnPos = await this.offsetToLineColumnConverter.offsetToLineColumn(rawLocation, rawLocation.file, sources, astSources) - this.event.trigger('newSourceLocation', [lineColumnPos, rawLocation, generatedSources, address]) + this.event.trigger('newSourceLocation', [lineColumnPos, rawLocation, generatedSources, address, stepDetail, (lineGasCostObj && lineGasCostObj.gasCost) || -1]) this.vmDebuggerLogic.event.trigger('sourceLocationChanged', [rawLocation]) + if (this.currentFile !== rawLocation.file || this.currentLine !== lineColumnPos.start.line) { + const instructionIndexes = lineGasCostObj.indexes.map((index) => { // translate from vmtrace index to instruction index + return this.debugger.codeManager.getInstructionIndex(address, index) + }) + this.vmDebuggerLogic.event.trigger('lineGasCostChanged', [instructionIndexes, lineColumnPos.start.line ]) + this.currentFile = rawLocation.file + this.currentLine = lineColumnPos.start.line + } } else { this.event.trigger('newSourceLocation', [null]) - this.vmDebuggerLogic.event.trigger('sourceLocationChanged', [null]) + this.currentFile = -1 + this.currentLine = -1 + this.vmDebuggerLogic.event.trigger('lineGasCostChanged', [null]) } }).catch((_error) => { this.event.trigger('newSourceLocation', [null]) this.vmDebuggerLogic.event.trigger('sourceLocationChanged', [null]) + this.currentFile = -1 + this.currentLine = -1 + this.vmDebuggerLogic.event.trigger('lineGasCostChanged', [null]) }) // }) } catch (error) { this.event.trigger('newSourceLocation', [null]) this.vmDebuggerLogic.event.trigger('sourceLocationChanged', [null]) + this.currentFile = -1 + this.currentLine = -1 + this.vmDebuggerLogic.event.trigger('lineGasCostChanged', [null]) return console.log(error) } } diff --git a/libs/remix-debug/src/solidity-decoder/decodeInfo.ts b/libs/remix-debug/src/solidity-decoder/decodeInfo.ts index f141a7e1f9..a66434a2b7 100644 --- a/libs/remix-debug/src/solidity-decoder/decodeInfo.ts +++ b/libs/remix-debug/src/solidity-decoder/decodeInfo.ts @@ -241,9 +241,7 @@ function getStructMembers (type, stateDefinitions, contractName, location) { if (type.indexOf('.') === -1) { type = contractName + '.' + type } - if (!contractName) { - contractName = type.split('.')[0] - } + contractName = type.split('.')[0] const state = stateDefinitions[contractName] if (state) { for (const dec of state.stateDefinitions) { diff --git a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts index b5440d2d7d..ad0e1638f4 100644 --- a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts +++ b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts @@ -7,6 +7,16 @@ import { parseType } from './decodeInfo' import { isContractCreation, isCallInstruction, isCreateInstruction, isJumpDestInstruction } from '../trace/traceHelper' import { extractLocationFromAstVariable } from './types/util' +export type StepDetail = { + depth: number, + gas: number | string, + gasCost: number, + memory: number[], + op: string, + pc: number, + stack: number[], +} + /** * Tree representing internal jump into function. * Triggers `callTreeReady` event when tree is ready @@ -27,6 +37,15 @@ export class InternalCallTree { functionDefinitionByFile astWalker reducedTrace + locationAndOpcodePerVMTraceIndex: { + [Key: number]: any + } + gasCostPerLine + offsetToLineColumnConverter + pendingConstructorExecutionAt: number + pendingConstructorId: number + pendingConstructor + constructorsStartExecution /** * constructor @@ -37,14 +56,16 @@ export class InternalCallTree { * @param {Object} codeManager - code manager * @param {Object} opts - { includeLocalVariables, debugWithGeneratedSources } */ - constructor (debuggerEvent, traceManager, solidityProxy, codeManager, opts) { + constructor (debuggerEvent, traceManager, solidityProxy, codeManager, opts, offsetToLineColumnConverter?) { this.includeLocalVariables = opts.includeLocalVariables this.debugWithGeneratedSources = opts.debugWithGeneratedSources this.event = new EventManager() this.solidityProxy = solidityProxy this.traceManager = traceManager + this.offsetToLineColumnConverter = offsetToLineColumnConverter this.sourceLocationTracker = new SourceLocationTracker(codeManager, { debugWithGeneratedSources: opts.debugWithGeneratedSources }) debuggerEvent.register('newTraceLoaded', (trace) => { + const time = Date.now() this.reset() if (!this.solidityProxy.loaded()) { this.event.trigger('callTreeBuildFailed', ['compilation result not loaded. Cannot build internal call tree']) @@ -52,11 +73,17 @@ export class InternalCallTree { // each recursive call to buildTree represent a new context (either call, delegatecall, internal function) const calledAddress = traceManager.getCurrentCalledAddressAt(0) const isCreation = isContractCreation(calledAddress) - buildTree(this, 0, '', true, isCreation).then((result) => { + + const scopeId = '1' + this.scopeStarts[0] = scopeId + this.scopes[scopeId] = { firstStep: 0, locals: {}, isCreation, gasCost: 0 } + + buildTree(this, 0, scopeId, isCreation).then((result) => { if (result.error) { this.event.trigger('callTreeBuildFailed', [result.error]) } else { createReducedTrace(this, traceManager.trace.length - 1) + console.log('call tree build lasts ', (Date.now() - time) / 1000) this.event.trigger('callTreeReady', [this.scopes, this.scopeStarts]) } }, (reason) => { @@ -85,10 +112,16 @@ export class InternalCallTree { this.functionCallStack = [] this.functionDefinitionsByScope = {} this.scopeStarts = {} + this.gasCostPerLine = {} this.variableDeclarationByFile = {} this.functionDefinitionByFile = {} this.astWalker = new AstWalker() this.reducedTrace = [] + this.locationAndOpcodePerVMTraceIndex = {} + this.pendingConstructorExecutionAt = -1 + this.pendingConstructorId = -1 + this.constructorsStartExecution = {} + this.pendingConstructor = null } /** @@ -123,6 +156,7 @@ export class InternalCallTree { const scope = this.findScope(vmtraceIndex) if (!scope) return [] let scopeId = this.scopeStarts[scope.firstStep] + const scopeDetail = this.scopes[scopeId] const functions = [] if (!scopeId) return functions let i = 0 @@ -132,7 +166,7 @@ export class InternalCallTree { if (i > 1000) throw new Error('retrieFunctionStack: recursion too deep') const functionDefinition = this.functionDefinitionsByScope[scopeId] if (functionDefinition !== undefined) { - functions.push(functionDefinition) + functions.push({ ...functionDefinition, ...scopeDetail }) } const parent = this.parentScope(scopeId) if (!parent) break @@ -141,32 +175,42 @@ export class InternalCallTree { return functions } - async extractSourceLocation (step) { + async extractSourceLocation (step: number, address?: string) { try { - const address = this.traceManager.getCurrentCalledAddressAt(step) - const location = await this.sourceLocationTracker.getSourceLocationFromVMTraceIndex(address, step, this.solidityProxy.contracts) - return location + if (!address) address = this.traceManager.getCurrentCalledAddressAt(step) + return await this.sourceLocationTracker.getSourceLocationFromVMTraceIndex(address, step, this.solidityProxy.contracts) } catch (error) { throw new Error('InternalCallTree - Cannot retrieve sourcelocation for step ' + step + ' ' + error) } } - async extractValidSourceLocation (step) { + async extractValidSourceLocation (step: number, address?: string) { try { - const address = this.traceManager.getCurrentCalledAddressAt(step) - const location = await this.sourceLocationTracker.getValidSourceLocationFromVMTraceIndex(address, step, this.solidityProxy.contracts) - return location + if (!address) address = this.traceManager.getCurrentCalledAddressAt(step) + return await this.sourceLocationTracker.getValidSourceLocationFromVMTraceIndex(address, step, this.solidityProxy.contracts) } catch (error) { throw new Error('InternalCallTree - Cannot retrieve valid sourcelocation for step ' + step + ' ' + error) } } + + async getValidSourceLocationFromVMTraceIndexFromCache (address: string, step: number, contracts: any) { + return await this.sourceLocationTracker.getValidSourceLocationFromVMTraceIndexFromCache(address, step, contracts, this.locationAndOpcodePerVMTraceIndex) + } + + async getGasCostPerLine(file: number, line: number) { + if (this.gasCostPerLine[file] && this.gasCostPerLine[file][line]) { + return this.gasCostPerLine[file][line] + } + throw new Error('Could not find gas cost per line') + } } -async function buildTree (tree, step, scopeId, isExternalCall, isCreation) { +async function buildTree (tree, step, scopeId, isCreation, functionDefinition?, contractObj?, sourceLocation?, validSourceLocation?) { let subScope = 1 - tree.scopeStarts[step] = scopeId - tree.scopes[scopeId] = { firstStep: step, locals: {}, isCreation } - + if (functionDefinition) { + await registerFunctionParameters(tree, functionDefinition, step, scopeId, contractObj, validSourceLocation) + } + function callDepthChange (step, trace) { if (step + 1 < trace.length) { return trace[step].depth !== trace[step + 1].depth @@ -183,30 +227,104 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation) { included.file === source.file) } - let currentSourceLocation = { start: -1, length: -1, file: -1 } + let currentSourceLocation = sourceLocation || { start: -1, length: -1, file: -1, jump: '-' } let previousSourceLocation = currentSourceLocation + let previousValidSourceLocation = validSourceLocation || currentSourceLocation while (step < tree.traceManager.trace.length) { let sourceLocation - let newLocation = false + let validSourceLocation + let address try { - sourceLocation = await tree.extractSourceLocation(step) + address = tree.traceManager.getCurrentCalledAddressAt(step) + sourceLocation = await tree.extractSourceLocation(step, address) + if (!includedSource(sourceLocation, currentSourceLocation)) { tree.reducedTrace.push(step) currentSourceLocation = sourceLocation - newLocation = true } + + const amountOfSources = tree.sourceLocationTracker.getTotalAmountOfSources(address, tree.solidityProxy.contracts) + if (tree.sourceLocationTracker.isInvalidSourceLocation(currentSourceLocation, amountOfSources)) { // file is -1 or greater than amount of sources + validSourceLocation = previousValidSourceLocation + } else + validSourceLocation = currentSourceLocation + } catch (e) { return { outStep: step, error: 'InternalCallTree - Error resolving source location. ' + step + ' ' + e } } if (!sourceLocation) { return { outStep: step, error: 'InternalCallTree - No source Location. ' + step } } - const isCallInstrn = isCallInstruction(tree.traceManager.trace[step]) - const isCreateInstrn = isCreateInstruction(tree.traceManager.trace[step]) + const stepDetail: StepDetail = tree.traceManager.trace[step] + const nextStepDetail: StepDetail = tree.traceManager.trace[step + 1] + if (stepDetail && nextStepDetail) { + stepDetail.gasCost = parseInt(stepDetail.gas as string) - parseInt(nextStepDetail.gas as string) + } + + // gas per line + let lineColumnPos + if (tree.offsetToLineColumnConverter) { + try { + const generatedSources = tree.sourceLocationTracker.getGeneratedSourcesFromAddress(address) + const astSources = Object.assign({}, tree.solidityProxy.sources) + const sources = Object.assign({}, tree.solidityProxy.sourcesCode) + if (generatedSources) { + for (const genSource of generatedSources) { + astSources[genSource.name] = { id: genSource.id, ast: genSource.ast } + sources[genSource.name] = { content: genSource.contents } + } + } + + lineColumnPos = await tree.offsetToLineColumnConverter.offsetToLineColumn(validSourceLocation, validSourceLocation.file, sources, astSources) + if (!tree.gasCostPerLine[validSourceLocation.file]) tree.gasCostPerLine[validSourceLocation.file] = {} + if (!tree.gasCostPerLine[validSourceLocation.file][lineColumnPos.start.line]) { + tree.gasCostPerLine[validSourceLocation.file][lineColumnPos.start.line] = { + gasCost: 0, + indexes: [] + } + } + tree.gasCostPerLine[validSourceLocation.file][lineColumnPos.start.line].gasCost += stepDetail.gasCost + tree.gasCostPerLine[validSourceLocation.file][lineColumnPos.start.line].indexes.push(step) + } catch (e) { + console.log(e) + } + } + + tree.locationAndOpcodePerVMTraceIndex[step] = { sourceLocation, stepDetail, lineColumnPos } + tree.scopes[scopeId].gasCost += stepDetail.gasCost + + const contractObj = await tree.solidityProxy.contractObjectAtAddress(address) + const generatedSources = getGeneratedSources(tree, scopeId, contractObj) + const functionDefinition = resolveFunctionDefinition(tree, sourceLocation, generatedSources) + + const isInternalTxInstrn = isCallInstruction(stepDetail) + const isCreateInstrn = isCreateInstruction(stepDetail) // we are checking if we are jumping in a new CALL or in an internal function - if (isCallInstrn || sourceLocation.jump === 'i') { + + const constructorExecutionStarts = tree.pendingConstructorExecutionAt > -1 && tree.pendingConstructorExecutionAt < validSourceLocation.start + if (functionDefinition && functionDefinition.kind === 'constructor' && tree.pendingConstructorExecutionAt === -1 && !tree.constructorsStartExecution[functionDefinition.id]) { + tree.pendingConstructorExecutionAt = validSourceLocation.start + tree.pendingConstructorId = functionDefinition.id + tree.pendingConstructor = functionDefinition + // from now on we'll be waiting for a change in the source location which will mark the beginning of the constructor execution. + // constructorsStartExecution allows to keep track on which constructor has already been executed. + } + const internalfunctionCall = functionDefinition && previousSourceLocation.jump === 'i' + if (constructorExecutionStarts || isInternalTxInstrn || internalfunctionCall) { try { - const externalCallResult = await buildTree(tree, step + 1, scopeId === '' ? subScope.toString() : scopeId + '.' + subScope, isCallInstrn, isCreateInstrn) + const newScopeId = scopeId === '' ? subScope.toString() : scopeId + '.' + subScope + tree.scopeStarts[step] = newScopeId + tree.scopes[newScopeId] = { firstStep: step, locals: {}, isCreation, gasCost: 0 } + // for the ctor we we are at the start of its trace, we have to replay this step in order to catch all the locals: + const nextStep = constructorExecutionStarts ? step : step + 1 + if (constructorExecutionStarts) { + tree.constructorsStartExecution[tree.pendingConstructorId] = tree.pendingConstructorExecutionAt + tree.pendingConstructorExecutionAt = -1 + tree.pendingConstructorId = -1 + await registerFunctionParameters(tree, tree.pendingConstructor, step, newScopeId, contractObj, previousValidSourceLocation) + tree.pendingConstructor = null + } + const externalCallResult = await buildTree(tree, nextStep, newScopeId, isCreateInstrn, functionDefinition, contractObj, sourceLocation, validSourceLocation) if (externalCallResult.error) { return { outStep: step, error: 'InternalCallTree - ' + externalCallResult.error } } else { @@ -216,7 +334,7 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation) { } catch (e) { return { outStep: step, error: 'InternalCallTree - ' + e.message } } - } else if ((isExternalCall && callDepthChange(step, tree.traceManager.trace)) || (!isExternalCall && sourceLocation.jump === 'o')) { + } else if (callDepthChange(step, tree.traceManager.trace) || (sourceLocation.jump === 'o' && functionDefinition)) { // if not, we might be returning from a CALL or internal function. This is what is checked here. tree.scopes[scopeId].lastStep = step return { outStep: step + 1 } @@ -224,9 +342,10 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation) { // if not, we are in the current scope. // We check in `includeVariableDeclaration` if there is a new local variable in scope for this specific `step` if (tree.includeLocalVariables) { - await includeVariableDeclaration(tree, step, sourceLocation, scopeId, newLocation, previousSourceLocation) + await includeVariableDeclaration(tree, step, sourceLocation, scopeId, contractObj, generatedSources) } previousSourceLocation = sourceLocation + previousValidSourceLocation = validSourceLocation step++ } } @@ -245,10 +364,33 @@ function getGeneratedSources (tree, scopeId, contractObj) { return null } -async function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLocation, previousSourceLocation) { - const contractObj = await tree.solidityProxy.contractObjectAt(step) +async function registerFunctionParameters (tree, functionDefinition, step, scopeId, contractObj, sourceLocation) { + tree.functionCallStack.push(step) + const functionDefinitionAndInputs = { functionDefinition, inputs: [] } + // means: the previous location was a function definition && JUMPDEST + // => we are at the beginning of the function and input/output are setup + try { + const stack = tree.traceManager.getStackAt(step) + const states = tree.solidityProxy.extractStatesDefinitions() + if (functionDefinition.parameters) { + const inputs = functionDefinition.parameters + const outputs = functionDefinition.returnParameters + // input params + if (inputs && inputs.parameters) { + functionDefinitionAndInputs.inputs = addParams(inputs, tree, scopeId, states, contractObj, sourceLocation, stack.length, inputs.parameters.length, -1) + } + // output params + if (outputs) addParams(outputs, tree, scopeId, states, contractObj, sourceLocation, stack.length, 0, 1) + } + } catch (error) { + console.log(error) + } + + tree.functionDefinitionsByScope[scopeId] = functionDefinitionAndInputs +} + +async function includeVariableDeclaration (tree, step, sourceLocation, scopeId, contractObj, generatedSources) { let states = null - const generatedSources = getGeneratedSources(tree, scopeId, contractObj) const variableDeclarations = resolveVariableDeclaration(tree, sourceLocation, generatedSources) // using the vm trace step, the current source location and the ast, // we check if the current vm trace step target a new ast node of type VariableDeclaration @@ -278,49 +420,6 @@ async function includeVariableDeclaration (tree, step, sourceLocation, scopeId, } } } - - // we check here if we are at the beginning inside a new function. - // if that is the case, we have to add to locals tree the inputs and output params - const functionDefinition = resolveFunctionDefinition(tree, previousSourceLocation, generatedSources) - if (!functionDefinition) return - - const previousIsJumpDest2 = isJumpDestInstruction(tree.traceManager.trace[step - 2]) - const previousIsJumpDest1 = isJumpDestInstruction(tree.traceManager.trace[step - 1]) - const isConstructor = functionDefinition.kind === 'constructor' - if (newLocation && (previousIsJumpDest1 || previousIsJumpDest2 || isConstructor)) { - tree.functionCallStack.push(step) - const functionDefinitionAndInputs = { functionDefinition, inputs: [] } - // means: the previous location was a function definition && JUMPDEST - // => we are at the beginning of the function and input/output are setup - - try { - const stack = tree.traceManager.getStackAt(step) - states = tree.solidityProxy.extractStatesDefinitions() - if (functionDefinition.parameters) { - const inputs = functionDefinition.parameters - const outputs = functionDefinition.returnParameters - // for (const element of functionDefinition.parameters) { - // if (element.nodeType === 'ParameterList') { - // if (!inputs) inputs = element - // else { - // outputs = element - // break - // } - // } - // } - // input params - if (inputs && inputs.parameters) { - functionDefinitionAndInputs.inputs = addParams(inputs, tree, scopeId, states, contractObj, previousSourceLocation, stack.length, inputs.parameters.length, -1) - } - // output params - if (outputs) addParams(outputs, tree, scopeId, states, contractObj, previousSourceLocation, stack.length, 0, 1) - } - } catch (error) { - console.log(error) - } - - tree.functionDefinitionsByScope[scopeId] = functionDefinitionAndInputs - } } // this extract all the variable declaration for a given ast and file @@ -388,7 +487,8 @@ function addParams (parameterList, tree, scopeId, states, contractObj, sourceLoc type: parseType(param.typeDescriptions.typeString, states, contractName, location), stackDepth: stackDepth, sourceLocation: sourceLocation, - abi: contractObj.contract.abi + abi: contractObj.contract.abi, + isParameter: true } params.push(attributesName) } diff --git a/libs/remix-debug/src/solidity-decoder/localDecoder.ts b/libs/remix-debug/src/solidity-decoder/localDecoder.ts index 4d697e9cc4..d7619ce12b 100644 --- a/libs/remix-debug/src/solidity-decoder/localDecoder.ts +++ b/libs/remix-debug/src/solidity-decoder/localDecoder.ts @@ -11,7 +11,7 @@ export async function solidityLocals (vmtraceIndex, internalTreeCall, stack, mem let anonymousIncr = 1 for (const local in scope.locals) { const variable = scope.locals[local] - if (variable.stackDepth < stack.length && variable.sourceLocation.start <= currentSourceLocation.start) { + if (variable.stackDepth < stack.length && (variable.sourceLocation.start <= currentSourceLocation.start || variable.isParameter)) { let name = variable.name if (name.indexOf('$') !== -1) { name = '<' + anonymousIncr + '>' @@ -21,7 +21,7 @@ export async function solidityLocals (vmtraceIndex, internalTreeCall, stack, mem locals[name] = await variable.type.decodeFromStack(variable.stackDepth, stack, memory, storageResolver, calldata, cursor, variable) } catch (e) { console.log(e) - locals[name] = { error: '' } + locals[name] = { error: '', type: variable && variable.type && variable.type.typeName || 'unknown' } } } } diff --git a/libs/remix-debug/src/solidity-decoder/solidityProxy.ts b/libs/remix-debug/src/solidity-decoder/solidityProxy.ts index b9c27dca82..0ec4029020 100644 --- a/libs/remix-debug/src/solidity-decoder/solidityProxy.ts +++ b/libs/remix-debug/src/solidity-decoder/solidityProxy.ts @@ -10,6 +10,8 @@ export class SolidityProxy { getCode sources contracts + compilationResult + sourcesCode constructor ({ getCurrentCalledAddressAt, getCode }) { this.cache = new Cache() @@ -23,9 +25,10 @@ export class SolidityProxy { * * @param {Object} compilationResult - result os a compilatiion (diectly returned by the compiler) */ - reset (compilationResult) { - this.sources = compilationResult.sources + reset (compilationResult, sources?) { + this.sources = compilationResult.sources // ast this.contracts = compilationResult.contracts + if (sources) this.sourcesCode = sources this.cache.reset() } @@ -44,8 +47,18 @@ export class SolidityProxy { * @param {Int} vmTraceIndex - index in the vm trave where to resolve the executed contract name * @param {Function} cb - callback returns (error, contractName) */ - async contractObjectAt (vmTraceIndex) { + async contractObjectAt (vmTraceIndex: number) { const address = this.getCurrentCalledAddressAt(vmTraceIndex) + return this.contractObjectAtAddress(address) + } + + /** + * retrieve the compiled contract name at the @arg vmTraceIndex (cached) + * + * @param {Int} vmTraceIndex - index in the vm trave where to resolve the executed contract name + * @param {Function} cb - callback returns (error, contractName) + */ + async contractObjectAtAddress (address: string) { if (this.cache.contractObjectByAddress[address]) { return this.cache.contractObjectByAddress[address] } diff --git a/libs/remix-debug/src/solidity-decoder/types/StringType.ts b/libs/remix-debug/src/solidity-decoder/types/StringType.ts index 849b8f65a3..84c6483e8e 100644 --- a/libs/remix-debug/src/solidity-decoder/types/StringType.ts +++ b/libs/remix-debug/src/solidity-decoder/types/StringType.ts @@ -25,7 +25,7 @@ export class StringType extends DynamicByteArray { return await super.decodeFromStack(stackDepth, stack, memory, storageResolver, calldata, cursor, variableDetails) } catch (e) { console.log(e) - return { error: '' } + return { error: '', type: this.typeName } } } diff --git a/libs/remix-debug/src/source/offsetToLineColumnConverter.ts b/libs/remix-debug/src/source/offsetToLineColumnConverter.ts index 6605b660b9..a1f296c76f 100644 --- a/libs/remix-debug/src/source/offsetToLineColumnConverter.ts +++ b/libs/remix-debug/src/source/offsetToLineColumnConverter.ts @@ -4,9 +4,11 @@ import { getLinebreakPositions, convertOffsetToLineColumn } from './sourceMappin export class OffsetToColumnConverter { lineBreakPositionsByContent sourceMappingDecoder + offsetConvertion constructor (compilerEvent) { this.lineBreakPositionsByContent = {} + this.offsetConvertion = {} if (compilerEvent) { compilerEvent.register('compilationFinished', (success, data, source, input, version) => { this.clear() @@ -26,10 +28,18 @@ export class OffsetToColumnConverter { } } } - return convertOffsetToLineColumn(rawLocation, this.lineBreakPositionsByContent[file]) + const token = `${rawLocation.start}:${rawLocation.length}:${file}` + if (this.offsetConvertion[token]) { + return this.offsetConvertion[token] + } else { + const convertion = convertOffsetToLineColumn(rawLocation, this.lineBreakPositionsByContent[file]) + this.offsetConvertion[token] = convertion + return convertion + } } clear () { this.lineBreakPositionsByContent = {} + this.offsetConvertion = {} } } diff --git a/libs/remix-debug/src/source/sourceLocationTracker.ts b/libs/remix-debug/src/source/sourceLocationTracker.ts index f9967b5e98..c7502db960 100644 --- a/libs/remix-debug/src/source/sourceLocationTracker.ts +++ b/libs/remix-debug/src/source/sourceLocationTracker.ts @@ -87,13 +87,34 @@ export class SourceLocationTracker { (map.file > amountOfSources - 1) this indicates the current file index exceed the total number of files. this happens when generated sources should not be considered. */ - while (vmtraceStepIndex >= 0 && (map.file === -1 || map.file > amountOfSources - 1)) { + while (vmtraceStepIndex >= 0 && this.isInvalidSourceLocation(map, amountOfSources)) { map = await this.getSourceLocationFromVMTraceIndex(address, vmtraceStepIndex, contracts) vmtraceStepIndex = vmtraceStepIndex - 1 } return map } + isInvalidSourceLocation (sourceLocation, amountOfSources) { + return sourceLocation.file === -1 || sourceLocation.file > amountOfSources - 1 + } + + async getValidSourceLocationFromVMTraceIndexFromCache (address: string, vmtraceStepIndex: number, contracts: any, cache: Map) { + const amountOfSources = this.getTotalAmountOfSources(address, contracts) + let map: any = { file: -1 } + /* + (map.file === -1) this indicates that it isn't associated with a known source code + (map.file > amountOfSources - 1) this indicates the current file index exceed the total number of files. + this happens when generated sources should not be considered. + */ + const originStep = cache[vmtraceStepIndex] + while (vmtraceStepIndex >= 0 && (map.file === -1 || map.file > amountOfSources - 1)) { + map = cache[vmtraceStepIndex].sourceLocation + vmtraceStepIndex = vmtraceStepIndex - 1 + originStep.sourceLocation = map + } + return originStep + } + clearCache () { this.sourceMapByAddress = {} } diff --git a/libs/remix-debug/test/decoder/localDecoder.ts b/libs/remix-debug/test/decoder/localDecoder.ts index f0fee46f35..11bdea2b98 100644 --- a/libs/remix-debug/test/decoder/localDecoder.ts +++ b/libs/remix-debug/test/decoder/localDecoder.ts @@ -23,7 +23,7 @@ tape('solidity', function (t) { async function test (st, privateKey) { let output = compiler.compile(compilerInput(intLocal.contract)) output = JSON.parse(output) - await intLocalTest(st, privateKey, output.contracts['test.sol']['intLocal'].evm.bytecode.object, output) + await intLocalTest(st, privateKey, output.contracts['test.sol']['intLocal'].evm.bytecode.object, output, intLocal.contract) output = compiler.compile(compilerInput(miscLocal.contract)) output = JSON.parse(output) await miscLocalTest(st, privateKey, output.contracts['test.sol']['miscLocal'].evm.bytecode.object, output) diff --git a/libs/remix-debug/test/decoder/localsTests/int.ts b/libs/remix-debug/test/decoder/localsTests/int.ts index 062e6c1f90..f77468cc75 100644 --- a/libs/remix-debug/test/decoder/localsTests/int.ts +++ b/libs/remix-debug/test/decoder/localsTests/int.ts @@ -7,10 +7,10 @@ import { contractCreationToken } from '../../../src/trace/traceHelper' import { SolidityProxy } from '../../../src/solidity-decoder/solidityProxy' import { InternalCallTree } from '../../../src/solidity-decoder/internalCallTree' import { EventManager } from '../../../src/eventManager' +import * as sourceMappingDecoder from '../../../src/source/sourceMappingDecoder' import * as helper from './helper' -module.exports = function (st, privateKey, contractBytecode, compilationResult) { - // eslint-disable-next-line no-async-promise-executor +module.exports = function (st, privateKey, contractBytecode, compilationResult, contractCode) { return new Promise(async (resolve) => { const web3 = await (vmCall as any).getWeb3(); (vmCall as any).sendTx(web3, { nonce: 0, privateKey: privateKey }, null, 0, contractBytecode, function (error, hash) { @@ -27,23 +27,38 @@ module.exports = function (st, privateKey, contractBytecode, compilationResult) codeManager.clear() const solidityProxy = new SolidityProxy({ getCurrentCalledAddressAt: traceManager.getCurrentCalledAddressAt.bind(traceManager), getCode: codeManager.getCode.bind(codeManager) }) solidityProxy.reset(compilationResult) - const debuggerEvent = new EventManager() - const callTree = new InternalCallTree(debuggerEvent, traceManager, solidityProxy, codeManager, { includeLocalVariables: true }) + var debuggerEvent = new EventManager() + const offsetToLineColumnConverter = { + offsetToLineColumn: (rawLocation) => { + return new Promise((resolve) => { + const lineBreaks = sourceMappingDecoder.getLinebreakPositions(contractCode) + resolve(sourceMappingDecoder.convertOffsetToLineColumn(rawLocation, lineBreaks)) + }) + } + } + var callTree = new InternalCallTree(debuggerEvent, traceManager, solidityProxy, codeManager, { includeLocalVariables: true }, offsetToLineColumnConverter) callTree.event.register('callTreeBuildFailed', (error) => { st.fail(error) }) callTree.event.register('callTreeNotReady', (reason) => { st.fail(reason) }) - callTree.event.register('callTreeReady', (scopes, scopeStarts) => { + callTree.event.register('callTreeReady', async (scopes, scopeStarts) => { try { - const functions1 = callTree.retrieveFunctionsStack(102) - const functions2 = callTree.retrieveFunctionsStack(115) + + // test gas cost per line + st.equals((await callTree.getGasCostPerLine(0, 16)).gasCost, 11) + st.equals((await callTree.getGasCostPerLine(0, 32)).gasCost, 84) + + const functions1 = callTree.retrieveFunctionsStack(103) + const functions2 = callTree.retrieveFunctionsStack(116) const functions3 = callTree.retrieveFunctionsStack(13) - - st.equals(functions1.length, 1) - st.equals(functions2.length, 2) - st.equals(functions3.length, 0) + + st.equals(functions1.length, 2) + st.equals(functions2.length, 3) + st.equals(functions3.length, 1) + + st.equal(functions1[0].gasCost, 54) st.equals(Object.keys(functions1[0])[0], 'functionDefinition') st.equals(Object.keys(functions1[0])[1], 'inputs') @@ -58,34 +73,34 @@ module.exports = function (st, privateKey, contractBytecode, compilationResult) st.equals(functions1[0].functionDefinition.name, 'level11') st.equals(functions2[0].functionDefinition.name, 'level12') st.equals(functions2[1].functionDefinition.name, 'level11') - - st.equals(scopeStarts[0], '') - st.equals(scopeStarts[13], '1') - st.equals(scopeStarts[102], '2') - st.equals(scopeStarts[115], '2.1') - st.equals(scopeStarts[136], '3') - st.equals(scopeStarts[153], '4') - st.equals(scopeStarts[166], '4.1') - st.equals(scopes[''].locals['ui8'].type.typeName, 'uint8') - st.equals(scopes[''].locals['ui16'].type.typeName, 'uint16') - st.equals(scopes[''].locals['ui32'].type.typeName, 'uint32') - st.equals(scopes[''].locals['ui64'].type.typeName, 'uint64') - st.equals(scopes[''].locals['ui128'].type.typeName, 'uint128') - st.equals(scopes[''].locals['ui256'].type.typeName, 'uint256') - st.equals(scopes[''].locals['ui'].type.typeName, 'uint256') - st.equals(scopes[''].locals['i8'].type.typeName, 'int8') - st.equals(scopes[''].locals['i16'].type.typeName, 'int16') - st.equals(scopes[''].locals['i32'].type.typeName, 'int32') - st.equals(scopes[''].locals['i64'].type.typeName, 'int64') - st.equals(scopes[''].locals['i128'].type.typeName, 'int128') - st.equals(scopes[''].locals['i256'].type.typeName, 'int256') - st.equals(scopes[''].locals['i'].type.typeName, 'int256') - st.equals(scopes[''].locals['ishrink'].type.typeName, 'int32') - st.equals(scopes['2'].locals['ui8'].type.typeName, 'uint8') - st.equals(scopes['2.1'].locals['ui81'].type.typeName, 'uint8') - st.equals(scopes['3'].locals['ui81'].type.typeName, 'uint8') - st.equals(scopes['4'].locals['ui8'].type.typeName, 'uint8') - st.equals(scopes['4.1'].locals['ui81'].type.typeName, 'uint8') + + st.equals(scopeStarts[0], '1') + st.equals(scopeStarts[10], '1.1') + st.equals(scopeStarts[102], '1.1.1') + st.equals(scopeStarts[115], '1.1.1.1') + st.equals(scopeStarts[136], '1.1.2') + st.equals(scopeStarts[153], '1.1.3') + st.equals(scopeStarts[166], '1.1.3.1') + st.equals(scopes['1.1'].locals['ui8'].type.typeName, 'uint8') + st.equals(scopes['1.1'].locals['ui16'].type.typeName, 'uint16') + st.equals(scopes['1.1'].locals['ui32'].type.typeName, 'uint32') + st.equals(scopes['1.1'].locals['ui64'].type.typeName, 'uint64') + st.equals(scopes['1.1'].locals['ui128'].type.typeName, 'uint128') + st.equals(scopes['1.1'].locals['ui256'].type.typeName, 'uint256') + st.equals(scopes['1.1'].locals['ui'].type.typeName, 'uint256') + st.equals(scopes['1.1'].locals['i8'].type.typeName, 'int8') + st.equals(scopes['1.1'].locals['i16'].type.typeName, 'int16') + st.equals(scopes['1.1'].locals['i32'].type.typeName, 'int32') + st.equals(scopes['1.1'].locals['i64'].type.typeName, 'int64') + st.equals(scopes['1.1'].locals['i128'].type.typeName, 'int128') + st.equals(scopes['1.1'].locals['i256'].type.typeName, 'int256') + st.equals(scopes['1.1'].locals['i'].type.typeName, 'int256') + st.equals(scopes['1.1'].locals['ishrink'].type.typeName, 'int32') + st.equals(scopes['1.1.1'].locals['ui8'].type.typeName, 'uint8') + st.equals(scopes['1.1.1.1'].locals['ui81'].type.typeName, 'uint8') + st.equals(scopes['1.1.2'].locals['ui81'].type.typeName, 'uint8') + st.equals(scopes['1.1.3'].locals['ui8'].type.typeName, 'uint8') + st.equals(scopes['1.1.3.1'].locals['ui81'].type.typeName, 'uint8') } catch (e) { st.fail(e.message) } diff --git a/libs/remix-lib/package.json b/libs/remix-lib/package.json index 170bbfd26b..ca662d3574 100644 --- a/libs/remix-lib/package.json +++ b/libs/remix-lib/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-lib", - "version": "0.5.16", + "version": "0.5.20", "description": "Library to various Remix tools", "contributors": [ { @@ -54,5 +54,5 @@ }, "homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-lib#readme", "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-lib/src/execution/logsManager.ts b/libs/remix-lib/src/execution/logsManager.ts index e852d9a742..70e4ed9d41 100644 --- a/libs/remix-lib/src/execution/logsManager.ts +++ b/libs/remix-lib/src/execution/logsManager.ts @@ -17,7 +17,7 @@ export class LogsManager { } checkBlock (blockNumber, block, web3) { - eachOf(block.transactions, (tx, i, next) => { + eachOf(block.transactions, (tx: any, i, next) => { const txHash = '0x' + tx.hash().toString('hex') web3.eth.getTransactionReceipt(txHash, (_error, receipt) => { diff --git a/libs/remix-lib/src/execution/txFormat.ts b/libs/remix-lib/src/execution/txFormat.ts index e8be0bafcd..1cc381994e 100644 --- a/libs/remix-lib/src/execution/txFormat.ts +++ b/libs/remix-lib/src/execution/txFormat.ts @@ -265,6 +265,7 @@ export function linkBytecodeStandard (contract, contracts, callback, callbackSte cbLibDeployed() }, callbackStep, callbackDeployLibrary) } else { + //@ts-ignore cbLibDeployed('Cannot find compilation data of library ' + libName) } }, (error) => { diff --git a/libs/remix-lib/src/helpers/hhconsoleSigs.ts b/libs/remix-lib/src/helpers/hhconsoleSigs.ts index ee1c9dbcc0..89ef7afb56 100644 --- a/libs/remix-lib/src/helpers/hhconsoleSigs.ts +++ b/libs/remix-lib/src/helpers/hhconsoleSigs.ts @@ -1,6 +1,7 @@ // Fetched from https://github.com/nomiclabs/hardhat/blob/ee4969a0a8f746f4775d4018326056d161066869/packages/hardhat-core/src/internal/hardhat-network/stack-traces/logger.ts#L47 export const ConsoleLogs = { + // Legacy method signatures before this PR: https://github.com/NomicFoundation/hardhat/pull/2964 1368866505: '()', 1309416733: '(int)', 4122065833: '(uint)', @@ -377,5 +378,224 @@ export const ConsoleLogs = { 238520724: '(address,address,address,bool)', 1717301556: '(address,address,address,address)', 4133908826: '(uint,uint)', - 3054400204: '(string,uint)' + 3054400204: '(string,uint)', + + // Latest method signatures after updating uint to uint256 and int to int256 + + 760966329: '(int256)', + 4163653873: '(uint256)', + 1681903839: '(uint256, string)', + 480083635: '(uint256, bool)', + 1764191366: '(uint256, address)', + 965833939: '(bool, uint256)', + 2198464680: '(address, uint256)', + 3522001468: '(uint256, uint256, uint256)', + 1909476082: '(uint256, uint256, string)', + 1197922930: '(uint256, uint256, bool)', + 1553380145: '(uint256, uint256, address)', + 933920076: '(uint256, string, uint256)', + 2970968351: '(uint256, string, string)', + 1290643290: '(uint256, string, bool)', + 2063255897: '(uint256, string, address)', + 537493524: '(uint256, bool, uint256)', + 2239189025: '(uint256, bool, string)', + 544310864: '(uint256, bool, bool)', + 889741179: '(uint256, bool, address)', + 1520131797: '(uint256, address, uint256)', + 1674265081: '(uint256, address, string)', + 2607726658: '(uint256, address, bool)', + 3170737120: '(uint256, address, address)', + 3393701099: '(string, uint256, uint256)', + 1500569737: '(string, uint256, string)', + 3396809649: '(string, uint256, bool)', + 478069832: '(string, uint256, address)', + 1478619041: '(string, string, uint256)', + 3378075862: '(string, bool, uint256)', + 220641573: '(string, address, uint256)', + 923808615: '(bool, uint256, uint256)', + 3288086896: '(bool, uint256, string)', + 3906927529: '(bool, uint256, bool)', + 143587794: '(bool, uint256, address)', + 278130193: '(bool, string, uint256)', + 317855234: '(bool, bool, uint256)', + 1601936123: '(bool, address, uint256)', + 3063663350: '(address, uint256, uint256)', + 2717051050: '(address, uint256, string)', + 1736575400: '(address, uint256, bool)', + 2076235848: '(address, uint256, address)', + 1742565361: '(address, string, uint256)', + 2622462459: '(address, bool, uint256)', + 402547077: '(address, address, uint256)', + 423606272: '(uint256, uint256, uint256, uint256)', + 1506790371: '(uint256, uint256, uint256, string)', + 4202792367: '(uint256, uint256, uint256, address)', + 1570936811: '(uint256, uint256, string, uint256)', + 668512210: '(uint256, uint256, string, string)', + 2062986021: '(uint256, uint256, string, bool)', + 1121066423: '(uint256, uint256, string, address)', + 3950997458: '(uint256, uint256, bool, uint256)', + 2780101785: '(uint256, uint256, bool, string)', + 2869451494: '(uint256, uint256, bool, bool)', + 2592172675: '(uint256, uint256, bool, address)', + 2297881778: '(uint256, uint256, address, uint256)', + 1826504888: '(uint256, uint256, address, string)', + 365610102: '(uint256, uint256, address, bool)', + 1453707697: '(uint256, uint256, address, address)', + 2193775476: '(uint256, string, uint256, uint256)', + 3082360010: '(uint256, string, uint256, string)', + 1763348340: '(uint256, string, uint256, bool)', + 992115124: '(uint256, string, uint256, address)', + 2955463101: '(uint256, string, string, uint256)', + 564987523: '(uint256, string, string, string)', + 3014047421: '(uint256, string, string, bool)', + 3582182914: '(uint256, string, string, address)', + 3472922752: '(uint256, string, bool, uint256)', + 3537118157: '(uint256, string, bool, string)', + 3126025628: '(uint256, string, bool, bool)', + 2922300801: '(uint256, string, bool, address)', + 3906142605: '(uint256, string, address, uint256)', + 2621104033: '(uint256, string, address, string)', + 2428701270: '(uint256, string, address, bool)', + 1634266465: '(uint256, string, address, address)', + 3333212072: '(uint256, bool, uint256, uint256)', + 3724797812: '(uint256, bool, uint256, string)', + 2443193898: '(uint256, bool, uint256, bool)', + 2295029825: '(uint256, bool, uint256, address)', + 740099910: '(uint256, bool, string, uint256)', + 1757984957: '(uint256, bool, string, string)', + 3952250239: '(uint256, bool, string, bool)', + 4015165464: '(uint256, bool, string, address)', + 1952763427: '(uint256, bool, bool, uint256)', + 3722155361: '(uint256, bool, bool, string)', + 3069540257: '(uint256, bool, bool, bool)', + 1768164185: '(uint256, bool, bool, address)', + 125994997: '(uint256, bool, address, uint256)', + 2917159623: '(uint256, bool, address, string)', + 1162695845: '(uint256, bool, address, bool)', + 2716814523: '(uint256, bool, address, address)', + 211605953: '(uint256, address, uint256, uint256)', + 3719324961: '(uint256, address, uint256, string)', + 1601452668: '(uint256, address, uint256, bool)', + 364980149: '(uint256, address, uint256, address)', + 1182952285: '(uint256, address, string, uint256)', + 1041403043: '(uint256, address, string, string)', + 3425872647: '(uint256, address, string, bool)', + 2629472255: '(uint256, address, string, address)', + 1522374954: '(uint256, address, bool, uint256)', + 2432370346: '(uint256, address, bool, string)', + 3813741583: '(uint256, address, bool, bool)', + 4017276179: '(uint256, address, bool, address)', + 1936653238: '(uint256, address, address, uint256)', + 52195187: '(uint256, address, address, string)', + 153090805: '(uint256, address, address, bool)', + 612938772: '(uint256, address, address, address)', + 2812835923: '(string, uint256, uint256, uint256)', + 2236298390: '(string, uint256, uint256, string)', + 1982258066: '(string, uint256, uint256, bool)', + 3793609336: '(string, uint256, uint256, address)', + 3330189777: '(string, uint256, string, uint256)', + 1522028063: '(string, uint256, string, string)', + 2099530013: '(string, uint256, string, bool)', + 2084975268: '(string, uint256, string, address)', + 3827003247: '(string, uint256, bool, uint256)', + 2885106328: '(string, uint256, bool, string)', + 894187222: '(string, uint256, bool, bool)', + 3773389720: '(string, uint256, bool, address)', + 1325727174: '(string, uint256, address, uint256)', + 2684039059: '(string, uint256, address, string)', + 2182163010: '(string, uint256, address, bool)', + 1587722158: '(string, uint256, address, address)', + 4099767596: '(string, string, uint256, uint256)', + 1562023706: '(string, string, uint256, string)', + 3282609748: '(string, string, uint256, bool)', + 270792626: '(string, string, uint256, address)', + 2393878571: '(string, string, string, uint256)', + 3601791698: '(string, string, bool, uint256)', + 2093204999: '(string, string, address, uint256)', + 1689631591: '(string, bool, uint256, uint256)', + 1949134567: '(string, bool, uint256, string)', + 2331496330: '(string, bool, uint256, bool)', + 2472413631: '(string, bool, uint256, address)', + 620303461: '(string, bool, string, uint256)', + 2386524329: '(string, bool, bool, uint256)', + 1560853253: '(string, bool, address, uint256)', + 4176812830: '(string, address, uint256, uint256)', + 1514632754: '(string, address, uint256, string)', + 4232594928: '(string, address, uint256, bool)', + 1677429701: '(string, address, uint256, address)', + 2446397742: '(string, address, string, uint256)', + 1050642026: '(string, address, bool, uint256)', + 2398352281: '(string, address, address, uint256)', + 927708338: '(bool, uint256, uint256, uint256)', + 2389310301: '(bool, uint256, uint256, string)', + 3197649747: '(bool, uint256, uint256, bool)', + 14518201: '(bool, uint256, uint256, address)', + 1779538402: '(bool, uint256, string, uint256)', + 4122747465: '(bool, uint256, string, string)', + 3857124139: '(bool, uint256, string, bool)', + 4275904511: '(bool, uint256, string, address)', + 2437143473: '(bool, uint256, bool, string)', + 3468031191: '(bool, uint256, bool, bool)', + 2597139990: '(bool, uint256, bool, address)', + 355982471: '(bool, uint256, address, uint256)', + 464760986: '(bool, uint256, address, string)', + 3032683775: '(bool, uint256, address, bool)', + 653615272: '(bool, uint256, address, address)', + 679886795: '(bool, string, uint256, uint256)', + 450457062: '(bool, string, uint256, string)', + 1796103507: '(bool, string, uint256, bool)', + 362193358: '(bool, string, uint256, address)', + 2078327787: '(bool, string, string, uint256)', + 369533843: '(bool, string, bool, uint256)', + 196087467: '(bool, bool, uint256, uint256)', + 2111099104: '(bool, bool, uint256, string)', + 1637764366: '(bool, bool, uint256, bool)', + 1420274080: '(bool, bool, uint256, address)', + 3819555375: '(bool, bool, string, uint256)', + 1836074433: '(bool, bool, bool, uint256)', + 1276263767: '(bool, bool, address, uint256)', + 2079424929: '(bool, address, uint256, uint256)', + 1374724088: '(bool, address, uint256, string)', + 3590430492: '(bool, address, uint256, bool)', + 325780957: '(bool, address, uint256, address)', + 3256837319: '(bool, address, string, uint256)', + 126031106: '(bool, address, bool, uint256)', + 208064958: '(bool, address, address, uint256)', + 888202806: '(address, uint256, uint256, uint256)', + 1244184599: '(address, uint256, uint256, string)', + 1727118439: '(address, uint256, uint256, bool)', + 551786573: '(address, uint256, uint256, address)', + 3204577425: '(address, uint256, string, uint256)', + 2292761606: '(address, uint256, string, string)', + 3474460764: '(address, uint256, string, bool)', + 1547898183: '(address, uint256, string, address)', + 586594713: '(address, uint256, bool, uint256)', + 3316483577: '(address, uint256, bool, string)', + 1005970743: '(address, uint256, bool, bool)', + 2736520652: '(address, uint256, bool, address)', + 269444366: '(address, uint256, address, uint256)', + 497649386: '(address, uint256, address, string)', + 2713504179: '(address, uint256, address, bool)', + 1200430178: '(address, uint256, address, address)', + 499704248: '(address, string, uint256, uint256)', + 1149776040: '(address, string, uint256, string)', + 251125840: '(address, string, uint256, bool)', + 1662531192: '(address, string, uint256, address)', + 362776871: '(address, string, string, uint256)', + 1365129398: '(address, string, bool, uint256)', + 1166009295: '(address, string, address, uint256)', + 946861556: '(address, bool, uint256, uint256)', + 178704301: '(address, bool, uint256, string)', + 3294903840: '(address, bool, uint256, bool)', + 3438776481: '(address, bool, uint256, address)', + 2162598411: '(address, bool, string, uint256)', + 2353946086: '(address, bool, bool, uint256)', + 2807847390: '(address, bool, address, uint256)', + 3193255041: '(address, address, uint256, uint256)', + 4256496016: '(address, address, uint256, string)', + 2604815586: '(address, address, uint256, bool)', + 2376523509: '(address, address, uint256, address)', + 4011651047: '(address, address, string, uint256)', + 963766156: '(address, address, bool, uint256)', + 2485456247: '(address, address, address, uint256)', } diff --git a/libs/remix-lib/src/types/ICompilerApi.ts b/libs/remix-lib/src/types/ICompilerApi.ts index 259aa2547a..850c000744 100644 --- a/libs/remix-lib/src/types/ICompilerApi.ts +++ b/libs/remix-lib/src/types/ICompilerApi.ts @@ -49,7 +49,7 @@ export interface ICompilerApi { } export type terminalLog = { - type: 'info' | 'error' | 'warning' + type: 'info' | 'error' | 'warning' | 'log' value: string } diff --git a/libs/remix-simulator/package.json b/libs/remix-simulator/package.json index 5a7f441d42..e72b689481 100644 --- a/libs/remix-simulator/package.json +++ b/libs/remix-simulator/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-simulator", - "version": "0.2.16", + "version": "0.2.20", "description": "Ethereum IDE and tools for the web", "contributors": [ { @@ -21,7 +21,7 @@ "@ethereumjs/common": "^2.5.0", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-lib": "^0.5.16", + "@remix-project/remix-lib": "^0.5.20", "ansi-gray": "^0.1.1", "async": "^3.1.0", "body-parser": "^1.18.2", @@ -67,5 +67,5 @@ }, "homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-simulator#readme", "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-solidity/package.json b/libs/remix-solidity/package.json index ae814ba286..55b60a0769 100644 --- a/libs/remix-solidity/package.json +++ b/libs/remix-solidity/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-solidity", - "version": "0.5.2", + "version": "0.5.6", "description": "Tool to load and run Solidity compiler", "main": "src/index.js", "types": "src/index.d.ts", @@ -18,7 +18,7 @@ "@ethereumjs/block": "^3.5.1", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-lib": "^0.5.16", + "@remix-project/remix-lib": "^0.5.20", "async": "^2.6.2", "eslint-scope": "^5.0.0", "ethereumjs-util": "^7.0.10", @@ -57,5 +57,5 @@ }, "homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-solidity#readme", "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-solidity/src/compiler/compiler-abstract.ts b/libs/remix-solidity/src/compiler/compiler-abstract.ts index ea0f4a7de8..84e2ec3373 100644 --- a/libs/remix-solidity/src/compiler/compiler-abstract.ts +++ b/libs/remix-solidity/src/compiler/compiler-abstract.ts @@ -1,16 +1,17 @@ 'use strict' import helper from './helper' +import { CompilationResult, CompilerInput, CompilationSourceCode } from './types' export class CompilerAbstract { - languageversion: any - data: any - source: any - input: any - constructor (languageversion, data, source, input?) { + languageversion: string + data: CompilationResult + source: CompilationSourceCode + input: CompilerInput + constructor (languageversion: string, data: CompilationResult, source: CompilationSourceCode, input?: CompilerInput) { this.languageversion = languageversion this.data = data this.source = source // source code - this.input = input // source code + this.input = input } getContracts () { diff --git a/libs/remix-solidity/src/compiler/compiler-utils.ts b/libs/remix-solidity/src/compiler/compiler-utils.ts index d451c9238d..ae3af59ae4 100644 --- a/libs/remix-solidity/src/compiler/compiler-utils.ts +++ b/libs/remix-solidity/src/compiler/compiler-utils.ts @@ -50,7 +50,7 @@ export function canUseWorker (selectedVersion) { ) } -export function browserSupportWorker () { - return document.location.protocol !== 'file:' && Worker !== undefined +function browserSupportWorker () { + return document ? document.location.protocol !== 'file:' && Worker !== undefined : false } diff --git a/libs/remix-solidity/src/compiler/types.ts b/libs/remix-solidity/src/compiler/types.ts index 6daa028507..1fdae07700 100644 --- a/libs/remix-solidity/src/compiler/types.ts +++ b/libs/remix-solidity/src/compiler/types.ts @@ -270,9 +270,21 @@ export interface CompilationError { | 'FatalError' | 'Warning' -/// ///////// -// SOURCE // -/// ///////// +/// ////////// +// SOURCE CODE // +/// ////////// +export interface SourcesCode { + [fileName: string] : {content: string} +} + +export type CompilationSourceCode = { + sources: SourcesCode; + target: string; +} + +/// ////////// +// SOURCE AST // +/// ////////// export interface CompilationSource { /** Identifier of the source (used in source maps) */ id: number diff --git a/libs/remix-tests/package.json b/libs/remix-tests/package.json index 4ae14159c7..2491fcdcde 100644 --- a/libs/remix-tests/package.json +++ b/libs/remix-tests/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remix-tests", - "version": "0.2.16", + "version": "0.2.20", "description": "Tool to test Solidity smart contracts", "main": "src/index.js", "types": "./src/index.d.ts", @@ -39,10 +39,10 @@ "@ethereumjs/common": "^2.5.0", "@ethereumjs/tx": "^3.3.2", "@ethereumjs/vm": "^5.5.3", - "@remix-project/remix-lib": "^0.5.16", - "@remix-project/remix-simulator": "^0.2.16", - "@remix-project/remix-solidity": "^0.5.2", - "@remix-project/remix-url-resolver": "^0.0.37", + "@remix-project/remix-lib": "^0.5.20", + "@remix-project/remix-simulator": "^0.2.20", + "@remix-project/remix-solidity": "^0.5.6", + "@remix-project/remix-url-resolver": "^0.0.41", "ansi-gray": "^0.1.1", "async": "^2.6.0", "axios": "1.1.2", @@ -80,5 +80,5 @@ "typescript": "^3.3.1" }, "typings": "src/index.d.ts", - "gitHead": "0c1957c9b2f890076a5062309bc81b41f93af57c" + "gitHead": "569f7d53f6f218d99aa8281929b541ab7e00058f" } \ No newline at end of file diff --git a/libs/remix-tests/tests/testRunner.spec.ts b/libs/remix-tests/tests/testRunner.spec.__ similarity index 100% rename from libs/remix-tests/tests/testRunner.spec.ts rename to libs/remix-tests/tests/testRunner.spec.__ diff --git a/libs/remix-ui/app/src/index.ts b/libs/remix-ui/app/src/index.ts index 5e84cd89c4..01d298d0b7 100644 --- a/libs/remix-ui/app/src/index.ts +++ b/libs/remix-ui/app/src/index.ts @@ -1,5 +1,5 @@ export { default as RemixApp } from './lib/remix-app/remix-app' -export { dispatchModalContext, AppContext } from './lib/remix-app/context/context' +export { dispatchModalContext, dispatchModalInterface, AppContext } from './lib/remix-app/context/context' export { ModalProvider, useDialogDispatchers } from './lib/remix-app/context/provider' export { AppModal } from './lib/remix-app/interface/index' export { AlertModal } from './lib/remix-app/interface/index' diff --git a/libs/remix-ui/app/src/lib/remix-app/actions/modals.ts b/libs/remix-ui/app/src/lib/remix-app/actions/modals.ts index 4a567a83c0..7e78c46cd5 100644 --- a/libs/remix-ui/app/src/lib/remix-app/actions/modals.ts +++ b/libs/remix-ui/app/src/lib/remix-app/actions/modals.ts @@ -22,7 +22,7 @@ export const enum modalActionTypes { type ModalPayload = { [modalActionTypes.setModal]: AppModal [modalActionTypes.handleHideModal]: any - [modalActionTypes.setToast]: string | JSX.Element + [modalActionTypes.setToast]: { message: string | JSX.Element, timestamp: number } [modalActionTypes.handleToaster]: any, [modalActionTypes.processQueue]: any } diff --git a/libs/remix-ui/app/src/lib/remix-app/components/modals/dialogs.tsx b/libs/remix-ui/app/src/lib/remix-app/components/modals/dialogs.tsx index 7aba74f73b..90bd71a05d 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/modals/dialogs.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/modals/dialogs.tsx @@ -10,7 +10,7 @@ const AppDialogs = () => { return ( <> - + ) } export default AppDialogs diff --git a/libs/remix-ui/app/src/lib/remix-app/components/modals/matomo.tsx b/libs/remix-ui/app/src/lib/remix-app/components/modals/matomo.tsx index 4d4daaed3e..276a3ee47b 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/modals/matomo.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/modals/matomo.tsx @@ -1,6 +1,11 @@ import React, { useContext, useEffect, useState } from 'react' import { AppContext } from '../../context/context' import { useDialogDispatchers } from '../../context/provider' +declare global { + interface Window { + _paq: any + } +} const _paq = window._paq = window._paq || [] const MatomoDialog = (props) => { diff --git a/libs/remix-ui/app/src/lib/remix-app/context/provider.tsx b/libs/remix-ui/app/src/lib/remix-app/context/provider.tsx index 701375265d..635500a8b3 100644 --- a/libs/remix-ui/app/src/lib/remix-app/context/provider.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/context/provider.tsx @@ -39,7 +39,7 @@ export const ModalProvider = ({ children = [], reducer = modalReducer, initialSt const toast = (message: string | JSX.Element) => { dispatch({ type: modalActionTypes.setToast, - payload: message + payload: { message, timestamp: Date.now() } }) } diff --git a/libs/remix-ui/app/src/lib/remix-app/interface/index.ts b/libs/remix-ui/app/src/lib/remix-app/interface/index.ts index cc0521dd51..69db40e679 100644 --- a/libs/remix-ui/app/src/lib/remix-app/interface/index.ts +++ b/libs/remix-ui/app/src/lib/remix-app/interface/index.ts @@ -33,7 +33,7 @@ export interface AlertModal { export interface ModalState { modals: AppModal[], - toasters: (string | JSX.Element)[], + toasters: {message: (string | JSX.Element), timestamp: number }[], focusModal: AppModal, - focusToaster: string | JSX.Element + focusToaster: {message: (string | JSX.Element), timestamp: number } } diff --git a/libs/remix-ui/app/src/lib/remix-app/reducer/modals.ts b/libs/remix-ui/app/src/lib/remix-app/reducer/modals.ts index 51641c654c..e2961285d6 100644 --- a/libs/remix-ui/app/src/lib/remix-app/reducer/modals.ts +++ b/libs/remix-ui/app/src/lib/remix-app/reducer/modals.ts @@ -62,8 +62,7 @@ export const modalReducer = (state: ModalState = ModalInitialState, action: Moda } case modalActionTypes.setToast: { const toasterList = state.toasters.slice() - const message = action.payload - toasterList.push(message) + toasterList.push(action.payload) if (toasterList.length === 1) { return { ...state, toasters: toasterList, focusToaster: action.payload } } else { diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index 21b6da8ba7..c9517b2b19 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx @@ -9,6 +9,7 @@ import AppDialogs from './components/modals/dialogs' import DialogViewPlugin from './components/modals/dialogViewPlugin' import { AppContext } from './context/context' import { RemixUiVerticalIconsPanel } from '@remix-ui/vertical-icons-panel' +import { IntlProvider } from 'react-intl' interface IRemixAppUi { app: any @@ -19,6 +20,7 @@ const RemixApp = (props: IRemixAppUi) => { const [hideSidePanel, setHideSidePanel] = useState(false) const [maximiseTrigger, setMaximiseTrigger] = useState(0) const [resetTrigger, setResetTrigger] = useState(0) + const [locale, setLocale] = useState<{ name:string; messages:any }>({ name:'', messages:{} }); const sidePanelRef = useRef(null) useEffect(() => { @@ -28,6 +30,7 @@ const RemixApp = (props: IRemixAppUi) => { props.app.activate() setListeners() }) + setLocale(props.app.localeModule.currentLocale()) } if (props.app) { activateApp() @@ -62,6 +65,9 @@ const RemixApp = (props: IRemixAppUi) => { return prev + 1 }) }) + props.app.localeModule.events.on('localeChanged', (nextLocale) => { + setLocale(nextLocale) + }) } const value = { @@ -73,22 +79,24 @@ const RemixApp = (props: IRemixAppUi) => { } return ( - - - + + + + -
-
{props.app.menuicons.render()}
-
{props.app.sidePanel.render()}
- -
- +
+
{props.app.menuicons.render()}
+
{props.app.sidePanel.render()}
+ +
+ +
-
-
{props.app.hiddenPanel.render()}
- - - +
{props.app.hiddenPanel.render()}
+ + + + ) } diff --git a/libs/remix-ui/app/src/lib/remix-app/state/modals.ts b/libs/remix-ui/app/src/lib/remix-app/state/modals.ts index 2b10dccbea..3120766dac 100644 --- a/libs/remix-ui/app/src/lib/remix-app/state/modals.ts +++ b/libs/remix-ui/app/src/lib/remix-app/state/modals.ts @@ -8,11 +8,11 @@ export const ModalInitialState: ModalState = { hide: true, title: '', message: '', - validationFn: () => { return {valid: true, message: ''} }, + validationFn: () => { return { valid: true, message: '' } }, okLabel: '', okFn: () => { }, cancelLabel: '', cancelFn: () => { } }, - focusToaster: '' + focusToaster: { message: '', timestamp: 0 } } diff --git a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx index 4b0d4fa9be..6383789a24 100644 --- a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx +++ b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx @@ -1,5 +1,8 @@ +import { CustomTooltip } from '@remix-ui/helper'; import React, { CSSProperties } from 'react' //eslint-disable-line import './remix-ui-checkbox.css' +type Placement = import('react-overlays/usePopper').Placement; + /* eslint-disable-next-line */ export interface RemixUiCheckboxProps { @@ -15,6 +18,7 @@ export interface RemixUiCheckboxProps { title?: string visibility?: string display?: string + tooltipPlacement?: Placement } export const RemixUiCheckbox = ({ @@ -29,24 +33,36 @@ export const RemixUiCheckbox = ({ categoryId, title, visibility, - display = 'flex' + display = 'flex', + tooltipPlacement = 'right-start' }: RemixUiCheckboxProps) => { + + const childJSX = ( +
+ + +
+ ) return ( -
- - -
+ + {childJSX} + ) } diff --git a/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx b/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx index 4e3d9485c9..2586761ab7 100644 --- a/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx +++ b/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx @@ -1,9 +1,9 @@ import React, { useState } from 'react' import copy from 'copy-to-clipboard' -import { OverlayTrigger, Tooltip } from 'react-bootstrap' import { Placement } from 'react-bootstrap/esm/Overlay' import './copy-to-clipboard.css' +import { CustomTooltip } from '@remix-ui/helper' interface ICopyToClipboard { content?: any, @@ -50,19 +50,21 @@ export const CopyToClipboard = (props: ICopyToClipboard) => { setTimeout(() => setMessage(tip), 500) } - return ( - - - { message } - - }> - { - children || () - } - + ) + + return ( + + + {childJSX} + ) } diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css index 835b54615b..75f8f771d5 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css @@ -6,16 +6,42 @@ width: 100%; display: flex; justify-content: center; + align-items: center; + color: #fff; } .stepButton { } + +.stepButtonDisabled { + background-color: #005573; + border-color: #005573; +} + +.stepButton:hover { + color: #fff; + background-color: #005573; + border-color: #005573; +} .jumpButtons { width: 100%; display: flex; justify-content: center; + align-items: center; + color: #fff; } .jumpButton { } + +.jumpButtonDisabled { + background-color: #005573; + border-color: #005573; +} + +.jumButton:hover { + color: #fff; + background-color: #005573; + border-color: #005573; +} .navigator { } .navigator:hover { diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx index 2db94f72cc..260b0140a6 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx @@ -1,3 +1,4 @@ +import { CustomTooltip } from '@remix-ui/helper' import React, { useState, useEffect } from 'react' // eslint-disable-line import './button-navigator.css' @@ -50,22 +51,132 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, }) } + const stepBtnStyle = 'd-flex align-items-center justify-content-center btn btn-primary btn-sm stepButton h-75 m-0 p-1' + const disableStepBtnStyle = 'stepButtonDisabled' + const jumpBtnStyle = 'd-flex align-items-center justify-content-center btn btn-primary btn-sm jumpButton h-75 m-0 p-1' + const disableJumpBtnStyle = 'jumpButtonDisabled' + const stepMarkupStructure = { + stepOverBackJSX : { + markup: (
{ stepOverBack && stepOverBack() }}> + +
), + placement: 'top-start', + tagId: 'overbackTooltip', + tooltipMsg: 'Step over back' + }, + stepBackJSX : { + markup: ( +
{ stepIntoBack && stepIntoBack() }} data-id="buttonNavigatorIntoBack" id="buttonNavigatorIntoBackContainer"> + +
+ ), + placement: 'top-start', + tagId: 'intobackTooltip', + tooltipMsg: 'Step back' + }, + + stepIntoJSX : { + markup: ( +
{ stepIntoForward && stepIntoForward() }} data-id="buttonNavigatorIntoForward" id="buttonNavigatorIntoFowardContainer"> + +
+ ), + placement: 'top-start', + tagId: 'intoforwardTooltip', + tooltipMsg: 'Step into' + }, + stepOverForwardJSX : { + markup: ( +
{ stepOverForward && stepOverForward() }} data-id="buttonNavigatorOverForward" id="buttonNavigatorOverForwardContainer"> + +
+ ), + placement: 'top-end', + tagId: 'overbackTooltip', + tooltipMsg: 'Step over forward', + } +} + const jumpMarkupStructure = { + jumpPreviousBreakpointJSX : { + markup: ( +
{ jumpPreviousBreakpoint && jumpPreviousBreakpoint() }} data-id="buttonNavigatorJumpPreviousBreakpoint"> + +
+ ), + placement: 'bottom-start', + tagId: 'jumppreviousbreakpointTooltip', + tooltipMsg: 'Jump to the previous breakpoint' + }, + jumpOutJSX : { + markup: ( +
{ jumpOut && jumpOut() }} data-id="buttonNavigatorJumpOut" id="buttonNavigatorJumpOutContainer"> + +
+ ), + placement: 'bottom-end', + tagId: 'jumpoutTooltip', + tooltipMsg: 'Jump out' + }, + jumpNextBreakpointJSX : { + markup: ( +
{ jumpNextBreakpoint && jumpNextBreakpoint() }} data-id="buttonNavigatorJumpNextBreakpoint" id="buttonNavigatorJumpNextBreakpointContainer"> + +
+ ), + placement: 'bottom-end', + tagId: 'jumpnextbreakpointTooltip', + tooltipMsg: 'Jump to the next breakpoint' + } + } + return (
- - - - + { + Object.keys(stepMarkupStructure).map(x => ( + + {stepMarkupStructure[x].markup} + + )) + }
- - - + { + Object.keys(jumpMarkupStructure).map(x => ( + + {jumpMarkupStructure[x].markup} + + )) + }
- This call has reverted, state changes made during the call will be reverted. + This call has reverted, state changes made during the call will be reverted. This call will run out of gas. The parent call will throw an exception
Click { jumpToException && jumpToException() }}>here to jump where the call reverted.
diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index 2edbe96de2..3233461935 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -1,4 +1,5 @@ import React, { useState, useEffect, useRef } from 'react' // eslint-disable-line +import { FormattedMessage } from 'react-intl' import TxBrowser from './tx-browser/tx-browser' // eslint-disable-line import StepManager from './step-manager/step-manager' // eslint-disable-line import VmDebugger from './vm-debugger/vm-debugger' // eslint-disable-line @@ -6,7 +7,7 @@ import VmDebuggerHead from './vm-debugger/vm-debugger-head' // eslint-disable-li import { TransactionDebugger as Debugger } from '@remix-project/remix-debug' // eslint-disable-line import { DebuggerUIProps } from './idebugger-api' // eslint-disable-line import { Toaster } from '@remix-ui/toaster' // eslint-disable-line -import { isValidHash } from '@remix-ui/helper' +import { CustomTooltip, isValidHash } from '@remix-ui/helper' /* eslint-disable-next-line */ import './debugger-ui.css' const _paq = (window as any)._paq = (window as any)._paq || [] @@ -120,8 +121,8 @@ export const DebuggerUI = (props: DebuggerUIProps) => { }) }) - debuggerInstance.event.register('newSourceLocation', async (lineColumnPos, rawLocation, generatedSources, address) => { - if (!lineColumnPos) { + debuggerInstance.event.register('newSourceLocation', async (lineColumnPos, rawLocation, generatedSources, address, stepDetail, lineGasCost) => { + if (!lineColumnPos) { await debuggerModule.discardHighlight() setState(prevState => { return { ...prevState, sourceLocationStatus: 'Source location not available, neither in Sourcify nor in Etherscan. Please make sure the Etherscan api key is provided in the settings.' } @@ -157,7 +158,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => { return { ...prevState, sourceLocationStatus: '' } }) await debuggerModule.discardHighlight() - await debuggerModule.highlight(lineColumnPos, path) + await debuggerModule.highlight(lineColumnPos, path, rawLocation, stepDetail, lineGasCost) } } }) @@ -265,13 +266,14 @@ export const DebuggerUI = (props: DebuggerUIProps) => { console.log(e.message) } + const localCache = {} const debuggerInstance = new Debugger({ web3, offsetToLineColumnConverter: debuggerModule.offsetToLineColumnConverter, compilationResult: async (address) => { try { - const ret = await debuggerModule.fetchContractAndCompile(address, currentReceipt) - return ret + if (!localCache[address]) localCache[address] = await debuggerModule.fetchContractAndCompile(address, currentReceipt) + return localCache[address] } catch (e) { // debuggerModule.showMessage('Debugging error', 'Unable to fetch a transaction.') console.error(e) @@ -345,18 +347,29 @@ export const DebuggerUI = (props: DebuggerUIProps) => { triggerEvent: state.debugger && state.debugger.vmDebuggerLogic ? state.debugger.vmDebuggerLogic.event.trigger.bind(state.debugger.vmDebuggerLogic.event) : null } + const customJSX = ( + + { + setState(prevState => { + return { ...prevState, opt: { ...prevState.opt, debugWithGeneratedSources: checked } } + }) + }} type="checkbox" /> + + + ) return (
- { - setState(prevState => { - return { ...prevState, opt: { ...prevState.opt, debugWithGeneratedSources: checked } } - }) - }} type="checkbox" title="Debug with generated sources" /> - + + {customJSX} +
{ state.isLocalNodeUsed &&
{ @@ -371,20 +384,20 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
{ state.debugging && state.sourceLocationStatus &&
{state.sourceLocationStatus}
} - { !state.debugging && + { !state.debugging &&
- When Debugging with a transaction hash, - if the contract is verified, Remix will try to fetch the source code from Sourcify or Etherscan. Put in your Etherscan API key in the Remix settings. - For supported networks, please see: https://sourcify.dev & https://etherscan.io/contractsVerified + : https://sourcify.dev & https://etherscan.io/contractsVerified
} { state.debugging && }
- { state.debugging && } - { state.debugging && } + { state.debugging && } + { state.debugging && }
) diff --git a/libs/remix-ui/debugger-ui/src/lib/idebugger-api.ts b/libs/remix-ui/debugger-ui/src/lib/idebugger-api.ts index bfc2925509..1b0d19c3d4 100644 --- a/libs/remix-ui/debugger-ui/src/lib/idebugger-api.ts +++ b/libs/remix-ui/debugger-ui/src/lib/idebugger-api.ts @@ -1,5 +1,5 @@ -import type { CompilationResult, CompilationSource } from '@remix-project/remix-solidity-ts' // eslint-disable-line +import type { CompilationSource, CompilerAbstract, SourcesCode } from '@remix-project/remix-solidity-ts' // eslint-disable-line export interface LineColumnLocation { start: { @@ -14,16 +14,6 @@ export interface RawLocation { start: number, length: number } -export interface Sources { - [fileName: string] : {content: string} -} - -export interface CompilationOutput { - source: { sources: Sources, target: string } - data: CompilationResult - getSourceName: (id: number) => string -} - export interface Asts { [fileName: string] : CompilationSource // ast } @@ -45,7 +35,7 @@ export type onDebugRequested = (hash: string, web3?: any) => void export type onEnvChangedListener = (provider: string) => void export interface IDebuggerApi { - offsetToLineColumnConverter: { offsetToLineColumn: (sourceLocation: RawLocation, file: number, contents: Sources, asts: Asts) => Promise } + offsetToLineColumnConverter: { offsetToLineColumn: (sourceLocation: RawLocation, file: number, contents: SourcesCode, asts: Asts) => Promise } removeHighlights: boolean onRemoveHighlights: (listener: VoidFunction) => void onDebugRequested: (listener: onDebugRequested) => void @@ -54,8 +44,8 @@ export interface IDebuggerApi { onEditorContentChanged: (listener: onEditorContentChanged) => void onEnvChanged: (listener: onEnvChangedListener) => void discardHighlight: () => Promise - highlight: (lineColumnPos: LineColumnLocation, path: string) => Promise - fetchContractAndCompile: (address: string, currentReceipt: TransactionReceipt) => Promise + highlight: (lineColumnPos: LineColumnLocation, path: string, rawLocation: any, stepDetail: any, highlight: any) => Promise + fetchContractAndCompile: (address: string, currentReceipt: TransactionReceipt) => Promise getFile: (path: string) => Promise setFile: (path: string, content: string) => Promise getDebugWeb3: () => any // returns an instance of web3.js, if applicable (mainet, goerli, ...) it returns a reference to a node from devops (so we are sure debug endpoint is available) diff --git a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx index eb0ebd6914..ea0632c909 100644 --- a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx @@ -1,4 +1,6 @@ +import { CustomTooltip } from '@remix-ui/helper' import React, { useState, useEffect, useRef } from 'react' //eslint-disable-line +import { useIntl, FormattedMessage } from 'react-intl' import './tx-browser.css' export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, transactionNumber, debugging }) => { @@ -7,6 +9,9 @@ export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, t }) const inputValue = useRef(null) + + const intl = useIntl() + useEffect(() => { setState(prevState => { return { @@ -45,7 +50,20 @@ export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, t const txInputOnInput = () => { updateTxNumberFlag(!inputValue.current.value) } - + const customJSX = ( +
+ +
+ ) return (
@@ -58,22 +76,20 @@ export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, t type='text' onChange={({ target: { value } }) => txInputChanged(value)} onInput={txInputOnInput} - placeholder={'Transaction hash, should start with 0x'} + placeholder={intl.formatMessage({id: 'debugger.placeholder', defaultMessage: 'Transaction hash, should start with 0x'})} data-id='debuggerTransactionInput' disabled={debugging} />
- + {customJSX} +
diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx index 815681529b..b5fb288c48 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx @@ -1,3 +1,4 @@ +import { stateDecoder } from 'dist/libs/remix-debug/src/solidity-decoder' import React, { useState, useRef, useEffect, useReducer } from 'react' // eslint-disable-line import { initialState, reducer } from '../../reducers/assembly-items' import './styles/assembly-items.css' @@ -9,6 +10,7 @@ export const AssemblyItems = ({ registerEvent }) => { const [nextSelectedItems, setNextSelectedItems] = useState([1]) const [returnInstructionIndexes, setReturnInstructionIndexes] = useState([]) const [outOfGasInstructionIndexes, setOutOfGasInstructionIndexes] = useState([]) + const [opcodeTooltipText, setOpcodeTooltipText] = useState('') const refs = useRef({}) const asmItemsRef = useRef(null) @@ -16,6 +18,10 @@ export const AssemblyItems = ({ registerEvent }) => { registerEvent && registerEvent('codeManagerChanged', (code, address, index, nextIndexes, returnInstructionIndexes, outOfGasInstructionIndexes) => { dispatch({ type: 'FETCH_OPCODES_SUCCESS', payload: { code, address, index, nextIndexes, returnInstructionIndexes, outOfGasInstructionIndexes } }) }) + + registerEvent && registerEvent('lineGasCostChanged', (instructionsIndexes: number[], line: []) => { + dispatch({ type: 'FETCH_INDEXES_FOR_NEW_LINE', payload: { currentLineIndexes: instructionsIndexes || [], line } }) + }) }, []) useEffect(() => { @@ -129,7 +135,9 @@ export const AssemblyItems = ({ registerEvent }) => {
{ assemblyItems.display.map((item, i) => { - return
{ refs.current[i] = ref }}>{item}
+ return
{ refs.current[i] = ref }}> + {item}{assemblyItems.currentLineIndexes.includes(i) ? - LINE {assemblyItems.line + 1} : ' - '} +
}) }
diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger-head.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger-head.tsx index 4402e7a57c..669a5cf89c 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger-head.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger-head.tsx @@ -5,7 +5,7 @@ import StepDetail from './step-detail' // eslint-disable-line import SolidityState from './solidity-state' // eslint-disable-line import SolidityLocals from './solidity-locals' // eslint-disable-line -export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent } }) => { +export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent }, debugging }) => { const [functionPanel, setFunctionPanel] = useState(null) const [stepDetail, setStepDetail] = useState({ 'vm trace step': '-', @@ -31,7 +31,7 @@ export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent } }) const functions = [] for (const func of stack) { - functions.push(func.functionDefinition.name + '(' + func.inputs.join(', ') + ')') + functions.push((func.functionDefinition.name || func.functionDefinition.kind) + '(' + func.inputs.join(', ') + ')' + ' - ' + func.gasCost + ' gas') } setFunctionPanel(() => functions) }) @@ -95,7 +95,7 @@ export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent } }) return { ...solidityLocals, message } }) }) - }, [registerEvent]) + }, [debugging]) return (
diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx index 8bf8307f2a..508097d5df 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx @@ -8,7 +8,7 @@ import ReturnValuesPanel from './dropdown-panel' // eslint-disable-line import FullStoragesChangesPanel from './full-storages-changes' // eslint-disable-line import GlobalVariables from './global-variables' // eslint-disable-line -export const VmDebugger = ({ vmDebugger: { registerEvent }, currentBlock, currentReceipt, currentTransaction }) => { +export const VmDebugger = ({ vmDebugger: { registerEvent }, currentBlock, currentReceipt, currentTransaction, debugging }) => { const [calldataPanel, setCalldataPanel] = useState(null) const [memoryPanel, setMemoryPanel] = useState(null) const [callStackPanel, setCallStackPanel] = useState(null) @@ -49,7 +49,7 @@ export const VmDebugger = ({ vmDebugger: { registerEvent }, currentBlock, curren registerEvent && registerEvent('traceStorageUpdate', (calldata) => { setFullStoragesChangesPanel(() => calldata) }) - }, [registerEvent]) + }, [debugging]) return (
diff --git a/libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts b/libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts index a86554f297..4f1e9c307a 100644 --- a/libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts +++ b/libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts @@ -13,6 +13,7 @@ export const initialState = { }, display: [], index: 0, + initialIndex: 0, nextIndexes: [-1], returnInstructionIndexes: [], outOfGasInstructionIndexes: [], @@ -20,7 +21,10 @@ export const initialState = { bottom: 0, isRequesting: false, isSuccessful: false, - hasError: null + hasError: null, + absoluteCurrentLineIndexes: [], + currentLineIndexes: [], + line: -1 } const reducedOpcode = (opCodes, payload) => { @@ -31,6 +35,7 @@ const reducedOpcode = (opCodes, payload) => { return { index: opCodes.index - bottom, nextIndexes: opCodes.nextIndexes.map(index => index - bottom), + currentLineIndexes: (opCodes.absoluteCurrentLineIndexes && opCodes.absoluteCurrentLineIndexes.map(index => index - bottom)) || [], display: opCodes.code.slice(bottom, top), returnInstructionIndexes: payload.returnInstructionIndexes.map((index) => index.instructionIndex - bottom), outOfGasInstructionIndexes: payload.outOfGasInstructionIndexes.map((index) => index.instructionIndex - bottom) @@ -49,20 +54,23 @@ export const reducer = (state = initialState, action: Action) => { } case 'FETCH_OPCODES_SUCCESS': { const opCodes = action.payload.address === state.opCodes.address ? { - ...state.opCodes, index: action.payload.index, nextIndexes: action.payload.nextIndexes + ...state.opCodes, index: action.payload.index, nextIndexes: action.payload.nextIndexes, absoluteCurrentLineIndexes: state.absoluteCurrentLineIndexes } : deepEqual(action.payload.code, state.opCodes.code) ? state.opCodes : action.payload const reduced = reducedOpcode(opCodes, action.payload) return { + ...state, opCodes, display: reduced.display, + initialIndex: action.payload.index, index: reduced.index, nextIndexes: reduced.nextIndexes, isRequesting: false, isSuccessful: true, hasError: null, returnInstructionIndexes: reduced.returnInstructionIndexes, - outOfGasInstructionIndexes: reduced.outOfGasInstructionIndexes + outOfGasInstructionIndexes: reduced.outOfGasInstructionIndexes, + currentLineIndexes: reduced.currentLineIndexes } } case 'FETCH_OPCODES_ERROR': { @@ -73,6 +81,16 @@ export const reducer = (state = initialState, action: Action) => { hasError: action.payload } } + case 'FETCH_INDEXES_FOR_NEW_LINE': { + let bottom = state.initialIndex - 10 + bottom = bottom < 0 ? 0 : bottom + return { + ...state, + absoluteCurrentLineIndexes: action.payload.currentLineIndexes, + currentLineIndexes: action.payload.currentLineIndexes.map(index => index - bottom), + line: action.payload.line + } + } default: throw new Error() } diff --git a/libs/remix-ui/editor/src/lib/providers/completionProvider.ts b/libs/remix-ui/editor/src/lib/providers/completionProvider.ts index 7b81f4c54a..b57bada936 100644 --- a/libs/remix-ui/editor/src/lib/providers/completionProvider.ts +++ b/libs/remix-ui/editor/src/lib/providers/completionProvider.ts @@ -258,6 +258,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider // if no nodes exits at position, try to get the block of which the position is in const block = await this.props.plugin.call('codeParser', 'getANTLRBlockAtPosition', cursorPosition, null) const fileNodes = await this.props.plugin.call('codeParser', 'getCurrentFileNodes') + if (!nodesAtPosition.length) { if (block) { nodesAtPosition = await this.props.plugin.call('codeParser', 'nodesAtPosition', block.start) @@ -274,7 +275,7 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider nodes = [...Object.values(contractNodes.baseNodesWithBaseContractScope), ...nodes] nodes = [...Object.values(fileNodes.imports), ...nodes] // add the nodes at the block itself - if (node.nodeType === 'ContractDefinition' && block && block.name) { + if (block && block.name) { const contractNodes = fileNodes.contracts[node.name].contractNodes for (const contractNode of Object.values(contractNodes)) { if (contractNode['name'] === block.name @@ -288,6 +289,14 @@ export class RemixCompletionProvider implements languages.CompletionItemProvider } } } + } else { // we use the block info from the nodesAtPosition + const contractNodes = fileNodes.contracts[node.name].contractNodes + for (const contractNode of Object.values(contractNodes)) { + if((contractNode as any).nodeType === 'Block'){ + const nodeOfScope = await this.props.plugin.call('codeParser', 'getNodesWithScope', (contractNode as any).id) + nodes = [...nodes, ...nodeOfScope] + } + } } // filter private nodes, only allow them when contract ID is the same as the current contract nodes = nodes.filter(node => { diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index 1bad91819b..b91194de2c 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -1,10 +1,12 @@ import React, { useState, useRef, useEffect, useReducer } from 'react' // eslint-disable-line import Editor, { loader, Monaco } from '@monaco-editor/react' +import { AlertModal } from '@remix-ui/app' import { reducerActions, reducerListener, initialState } from './actions/editor' import { solidityTokensProvider, solidityLanguageConfig } from './syntaxes/solidity' import { cairoTokensProvider, cairoLanguageConfig } from './syntaxes/cairo' import { zokratesTokensProvider, zokratesLanguageConfig } from './syntaxes/zokrates' +import { moveTokenProvider, moveLanguageConfig } from './syntaxes/move' import './remix-ui-editor.css' import { loadTypes } from './web-types' @@ -135,6 +137,7 @@ export const EditorUI = (props: EditorUIProps) => { \t\t\t\t\t\t\t\tMedium: https://medium.com/remix-ide\n \t\t\t\t\t\t\t\tTwitter: https://twitter.com/ethereumremix\n ` + const pasteCodeRef = useRef(false) const editorRef = useRef(null) const monacoRef = useRef(null) const currentFileRef = useRef('') @@ -301,6 +304,8 @@ export const EditorUI = (props: EditorUIProps) => { monacoRef.current.editor.setModelLanguage(file.model, 'remix-cairo') } else if (file.language === 'zokrates') { monacoRef.current.editor.setModelLanguage(file.model, 'remix-zokrates') + } else if (file.language === 'move') { + monacoRef.current.editor.setModelLanguage(file.model, 'remix-move') } }, [props.currentFile]) @@ -541,6 +546,33 @@ export const EditorUI = (props: EditorUIProps) => { } }) + editor.onDidPaste((e) => { + if (!pasteCodeRef.current && e && e.range && e.range.startLineNumber >= 0 && e.range.endLineNumber >= 0 && e.range.endLineNumber - e.range.startLineNumber > 10) { + const modalContent: AlertModal = { + id: 'newCodePasted', + title: 'Pasted Code Alert', + message: ( +
+ You have just pasted a code snippet or contract in the editor. +
+ Make sure you fully understand this code before deploying or interacting with it. Don't get scammed! +
+ Running untrusted code can put your wallet at risk . In a worst-case scenario, you could lose all your money. +
+
If you don't fully understand it, please don't run this code.
+
+ If you are not a smart contract developer, ask someone you trust who has the skills to determine if this code is safe to use. +
+
See these recommendations for more information.
+
+
+ ), + } + props.plugin.call('notification', 'alert', modalContent) + pasteCodeRef.current = true + } + }) + // zoomin zoomout editor.addCommand(monacoRef.current.KeyMod.CtrlCmd | (monacoRef.current.KeyCode as any).US_EQUAL, () => { editor.updateOptions({ fontSize: editor.getOption(43).fontSize + 1 }) @@ -618,6 +650,7 @@ export const EditorUI = (props: EditorUIProps) => { monacoRef.current.languages.register({ id: 'remix-solidity' }) monacoRef.current.languages.register({ id: 'remix-cairo' }) monacoRef.current.languages.register({ id: 'remix-zokrates' }) + monacoRef.current.languages.register({ id: 'remix-move' }) // Register a tokens provider for the language monacoRef.current.languages.setMonarchTokensProvider('remix-solidity', solidityTokensProvider as any) @@ -629,6 +662,9 @@ export const EditorUI = (props: EditorUIProps) => { monacoRef.current.languages.setMonarchTokensProvider('remix-zokrates', zokratesTokensProvider as any) monacoRef.current.languages.setLanguageConfiguration('remix-zokrates', zokratesLanguageConfig as any) + monacoRef.current.languages.setMonarchTokensProvider('remix-move', moveTokenProvider as any) + monacoRef.current.languages.setLanguageConfiguration('remix-move', moveLanguageConfig as any) + monacoRef.current.languages.registerDefinitionProvider('remix-solidity', new RemixDefinitionProvider(props, monaco)) monacoRef.current.languages.registerDocumentHighlightProvider('remix-solidity', new RemixHighLightProvider(props, monaco)) monacoRef.current.languages.registerReferenceProvider('remix-solidity', new RemixReferenceProvider(props, monaco)) diff --git a/libs/remix-ui/editor/src/lib/syntaxes/move.ts b/libs/remix-ui/editor/src/lib/syntaxes/move.ts new file mode 100644 index 0000000000..9f184937a0 --- /dev/null +++ b/libs/remix-ui/editor/src/lib/syntaxes/move.ts @@ -0,0 +1,264 @@ +/* eslint-disable no-useless-escape */ +export const moveLanguageConfig = { + comments: { + lineComment: "//", + blockComment: ["/*", "*/"], + }, + brackets: [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ], + autoClosingPairs: [ + { open: "[", close: "]" }, + { open: "{", close: "}" }, + { open: "(", close: ")" }, + { open: '"', close: '"', notIn: ["string"] }, + ], + surroundingPairs: [ + { open: "{", close: "}" }, + { open: "[", close: "]" }, + { open: "(", close: ")" }, + { open: '"', close: '"' }, + { open: "'", close: "'" }, + ], + folding: { + markers: { + start: new RegExp("^\\s*#pragma\\s+region\\b"), + end: new RegExp("^\\s*#pragma\\s+endregion\\b"), + }, + }, +}; +export const moveTokenProvider = { + // Set defaultToken to invalid to see what you do not tokenize yet + // defaultToken: 'invalid', + keywords: [ + "as", + "break", + "const", + "crate", + "enum", + "extern", + "false", + "fun", + "script", + "in", + "let", + "module", + "move", + "mut", + "pub", + "ref", + "return", + "self", + "Self", + "static", + "struct", + "super", + "trait", + "true", + "type", + "unsafe", + "use", + "where", + "use", + "macro_rules", + ], + + controlFlowKeywords: [ + "continue", + "else", + "for", + "if", + "while", + "loop", + "match", + ], + + typeKeywords: [ + "Self", + "m32", + "m64", + "m128", + "f80", + "f16", + "f128", + "int", + "uint", + "float", + "char", + "bool", + "u8", + "u16", + "u32", + "u64", + "f32", + "f64", + "i8", + "i16", + "i32", + "i64", + "str", + "Option", + "Either", + "c_float", + "c_double", + "c_void", + "FILE", + "fpos_t", + "DIR", + "dirent", + "c_char", + "c_schar", + "c_uchar", + "c_short", + "c_ushort", + "c_int", + "c_uint", + "c_long", + "c_ulong", + "size_t", + "ptrdiff_t", + "clock_t", + "time_t", + "c_longlong", + "c_ulonglong", + "intptr_t", + "uintptr_t", + "off_t", + "dev_t", + "ino_t", + "pid_t", + "mode_t", + "ssize_t", + ], + + operators: [ + "=", + ">", + "<", + "!", + "~", + "?", + ":", + "==", + "<=", + ">=", + "!=", + "&&", + "||", + "++", + "--", + "+", + "-", + "*", + "/", + "&", + "|", + "^", + "%", + "<<", + ">>", + ">>>", + "+=", + "-=", + "*=", + "/=", + "&=", + "|=", + "^=", + "%=", + "<<=", + ">>=", + ">>>=", + ], + + // we include these common regular expressions + symbols: /[=>](?!@symbols)/, "@brackets"], + [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }], + + // @ annotations. + // As an example, we emit a debugging log message on these tokens. + // Note: message are supressed during the first load -- change some lines to see them. + [ + /@\s*[a-zA-Z_\$][\w\$]*/, + { token: "annotation", log: "annotation token: $0" }, + ], + + // numbers + [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"], + [/0[xX][0-9a-fA-F]+/, "number.hex"], + [/\d+/, "number"], + + // delimiter: after number because of .\d floats + [/[;,.]/, "delimiter"], + + // strings + [/"([^"\\]|\\.)*$/, "string.invalid"], // non-teminated string + [/"/, { token: "string.quote", bracket: "@open", next: "@string" }], + + // characters + [/'[^\\']'/, "string"], + [/(')(@escapes)(')/, ["string", "string.escape", "string"]], + [/'/, "string.invalid"], + ], + + comment: [ + [/[^\/*]+/, "comment"], + [/\/\*/, "comment", "@push"], // nested comment + ["\\*/", "comment", "@pop"], + [/[\/*]/, "comment"], + ], + + string: [ + [/[^\\"]+/, "string"], + [/@escapes/, "string.escape"], + [/\\./, "string.escape.invalid"], + [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }], + ], + + whitespace: [ + [/[ \t\r\n]+/, "white"], + [/\/\*/, "comment", "@comment"], + [/\/\/.*$/, "comment"], + ], + + func_decl: [[/[a-z_$][\w$]*/, "support.function", "@pop"]], + }, +}; diff --git a/libs/remix-ui/helper/src/index.ts b/libs/remix-ui/helper/src/index.ts index 19e7721ac3..94dab78f43 100644 --- a/libs/remix-ui/helper/src/index.ts +++ b/libs/remix-ui/helper/src/index.ts @@ -2,4 +2,5 @@ export * from './lib/remix-ui-helper' export * from './lib/bleach' export * from './lib/helper-components' export * from './lib/components/PluginViewWrapper' -export * from './lib/components/custom-dropdown' \ No newline at end of file +export * from './lib/components/custom-dropdown' +export * from './lib/components/custom-tooltip' \ No newline at end of file diff --git a/libs/remix-ui/helper/src/lib/components/custom-dropdown.tsx b/libs/remix-ui/helper/src/lib/components/custom-dropdown.tsx index 5f0696a554..4ca65cf2d3 100644 --- a/libs/remix-ui/helper/src/lib/components/custom-dropdown.tsx +++ b/libs/remix-ui/helper/src/lib/components/custom-dropdown.tsx @@ -20,6 +20,20 @@ export const CustomToggle = React.forwardRef(({ children, onClick, icon, classNa )) +export const CustomIconsToggle = React.forwardRef(({ onClick, icon, className = '' }: { children?: React.ReactNode, onClick: () => void, icon: string, className: string }, ref: Ref) => ( + { + e.preventDefault() + onClick() + }} + className={`${className.replace('dropdown-toggle', '')} mb-0 pb-0 d-flex justify-content-end align-items-end remixuimenuicon_shadow fs-3`} + data-id="workspaceMenuDropdown" + > + { icon && } + +)) + // forwardRef again here! // Dropdown needs access to the DOM of the Menu to measure it export const CustomMenu = React.forwardRef( diff --git a/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx new file mode 100644 index 0000000000..302dfb1a95 --- /dev/null +++ b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx @@ -0,0 +1,23 @@ +import React from 'react'; +import { Fragment } from 'react'; +import { OverlayTrigger, Tooltip } from 'react-bootstrap'; +import { CustomTooltipType } from '../../types/customtooltip' + + +export function CustomTooltip({ children, placement, tooltipId, tooltipClasses, tooltipText, tooltipTextClasses }: CustomTooltipType) { + + return ( + + + {typeof tooltipText === 'string' ? ({tooltipText}) : (tooltipText)} + + } + > + {children} + + + ) +} diff --git a/libs/remix-ui/helper/src/lib/helper-components.tsx b/libs/remix-ui/helper/src/lib/helper-components.tsx index fc1cf49e88..ba482551c9 100644 --- a/libs/remix-ui/helper/src/lib/helper-components.tsx +++ b/libs/remix-ui/helper/src/lib/helper-components.tsx @@ -100,8 +100,8 @@ export const deployWithProxyMsg = () => (
Deploy with Proxy will initiate two (2) transactions:
    -
  1. Deploying the implementation contract
  2. -
  3. Deploying an ERC1967 proxy contract
  4. +
  5. Deploying the implementation contract
  6. +
  7. Deploying an ERC1967 proxy contract
) @@ -110,8 +110,8 @@ export const upgradeWithProxyMsg = () => (
Upgrade with Proxy will initiate two (2) transactions:
    -
  1. Deploying the new implementation contract
  2. -
  3. Updating the proxy contract with the address of the new implementation contract
  4. +
  5. Deploying the new implementation contract
  6. +
  7. Updating the proxy contract with the address of the new implementation contract
) diff --git a/libs/remix-ui/helper/src/lib/remix-ui-helper.ts b/libs/remix-ui/helper/src/lib/remix-ui-helper.ts index d9fd9b03b9..02a688b9a6 100644 --- a/libs/remix-ui/helper/src/lib/remix-ui-helper.ts +++ b/libs/remix-ui/helper/src/lib/remix-ui-helper.ts @@ -123,3 +123,8 @@ export const shortenHexData = (data) => { const len = data.length return data.slice(0, 5) + '...' + data.slice(len - 5, len) } + +export const addSlash = (file: string) => { + if (!file.startsWith('/'))file = '/' + file + return file +} diff --git a/libs/remix-ui/helper/src/types/customtooltip.ts b/libs/remix-ui/helper/src/types/customtooltip.ts new file mode 100644 index 0000000000..05178ebe08 --- /dev/null +++ b/libs/remix-ui/helper/src/types/customtooltip.ts @@ -0,0 +1,11 @@ +import { Placement } from 'react-bootstrap/esm/Overlay' +import { OverlayTriggerRenderProps } from 'react-bootstrap/esm/OverlayTrigger' + +export type CustomTooltipType = { + children: React.ReactElement> | ((props: OverlayTriggerRenderProps) => React.ReactNode), + placement?: Placement, + tooltipId?: string, + tooltipClasses?:string, + tooltipText: string | JSX.Element, + tooltipTextClasses?: string +} \ No newline at end of file diff --git a/libs/remix-ui/home-tab/src/lib/components/customButtonGroupAsArrows.tsx b/libs/remix-ui/home-tab/src/lib/components/customButtonGroupAsArrows.tsx new file mode 100644 index 0000000000..d265e5781d --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/customButtonGroupAsArrows.tsx @@ -0,0 +1,14 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React from 'react' + +function CustomButtonGroupAsArrows ({ next, previous }) { + return ( +
+

These buttons can be positioned anywhere you want on the screen

+ + +
+ ) +} + +export default CustomButtonGroupAsArrows \ No newline at end of file diff --git a/libs/remix-ui/home-tab/src/lib/components/customNavButtons.tsx b/libs/remix-ui/home-tab/src/lib/components/customNavButtons.tsx new file mode 100644 index 0000000000..9418051754 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/customNavButtons.tsx @@ -0,0 +1,29 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React from 'react' + +const CustomNavButtons = ({ next, previous, goToSlide, ...rest }) => { + const { carouselState: { currentSlide, totalItems, itemWidth, containerWidth } } = rest + return ( +
+ + +
+ ) +} + +export default CustomNavButtons diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx new file mode 100644 index 0000000000..ca5232484d --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx @@ -0,0 +1,79 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useEffect, useState, useRef, useContext } from 'react' +import { ThemeContext, themes } from '../themeContext' +import Carousel from 'react-multi-carousel' +import 'react-multi-carousel/lib/styles.css' +import CustomNavButtons from './customNavButtons' +const _paq = window._paq = window._paq || [] // eslint-disable-line + +function HomeTabFeatured() { + const themeFilter = useContext(ThemeContext) + + useEffect(() => { + return () => { + } + }, []) + + return ( +
+ +
+
+ + } + arrows={false} + swipeable={false} + draggable={true} + showDots={true} + responsive={{ desktop: { breakpoint: { max: 2000, min: 1024 }, items: 1 } }} + renderDotsOutside={true} + ssr={true} // means to render carousel on server-side. + infinite={true} + centerMode={false} + autoPlay={true} + keyBoardControl={true} + containerClass="border carousel-container" + sliderClass="px-2 h-100 justify-content-between" + deviceType={"desktop"} + itemClass="px-2 carousel-item-padding-10-px" + autoPlaySpeed={15000} + dotListClass="position-relative mt-2" + > +
+ +
+
JUMP INTO WEB3
+

The Remix Project is a rich toolset which can be used for the entire journey of contract development by users of any knowledge level, and as a learning lab for teaching and experimenting with Ethereum.

+ _paq.push(['trackEvent', 'hometab', 'featuredSection', 'jumpIntoWeb3'])} target="__blank" href="https://remix-project.org">More +
+
+
+ +
+
REMIX REWARDS
+

NFTs for our users!

+

+ Remix Project rewards contributors, beta testers, and UX research participants with NFTs deployed on Optimism. Remix Reward holders are able to mint a second “Remixer” user NFT badge to give to any other user of their choice. +

+ _paq.push(['trackEvent', 'hometab', 'featuredSection', 'remixRewards'])} href="https://rewards.remix.ethereum.eth.limo">More +
+
+
+ +
+
BETA TESTING
+

Our community supports us.

+

You can join Beta Testing before each release of Remix IDE. Help us test now and get a handle on new features!

+ _paq.push(['trackEvent', 'hometab', 'featuredSection', 'betatesting'])} target="__blank" href="https://rewards.remix.ethereum.eth.limo">More +
+
+
+
+
+
+
+ ) +} + +export default HomeTabFeatured diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx new file mode 100644 index 0000000000..9fa324e9b2 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx @@ -0,0 +1,163 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useEffect, useRef, useContext } from 'react' +import { FormattedMessage } from 'react-intl' +import PluginButton from './pluginButton' +import { ThemeContext } from '../themeContext' +import Carousel from 'react-multi-carousel' +import 'react-multi-carousel/lib/styles.css' +import CustomNavButtons from './customNavButtons' +const itemsToShow = 5 +declare global { + interface Window { + _paq: any + } +} +const _paq = window._paq = window._paq || [] //eslint-disable-line +interface HomeTabFeaturedPluginsProps { + plugin: any +} + +function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) { + + const themeFilter = useContext(ThemeContext) + const carouselRef = useRef(null) + const carouselRefDiv = useRef(null) + + useEffect(() => { + document.addEventListener("wheel", handleScroll) + return () => { + document.removeEventListener("wheel", handleScroll) + } + }, []) + + function isDescendant(parent, child) { + let node = child.parentNode; + while (node != null) { + if (node === parent) { + return true; + } + node = node.parentNode; + } + return false; + } + + const handleScroll = (e) => { + if (isDescendant(carouselRefDiv.current, e.target)) { + e.stopPropagation() + let nextSlide = 0 + if (e.wheelDelta < 0) { + nextSlide = carouselRef.current.state.currentSlide + 1; + if ((carouselRef.current.state.totalItems - carouselRef.current.state.currentSlide) * carouselRef.current.state.itemWidth + 5 < carouselRef.current.state.containerWidth) return // 5 is approx margins + carouselRef.current.goToSlide(nextSlide) + } else { + nextSlide = carouselRef.current.state.currentSlide - 1; + if (nextSlide < 0) nextSlide = 0 + carouselRef.current.goToSlide(nextSlide) + } + } + } + + const startSolidity = async () => { + await plugin.appManager.activatePlugin(['solidity', 'udapp', 'solidityStaticAnalysis', 'solidityUnitTesting']) + plugin.verticalIcons.select('solidity') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidity']) + } + const startStarkNet = async () => { + await plugin.appManager.activatePlugin('starkNet_compiler') + plugin.verticalIcons.select('starkNet_compiler') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'starkNet_compiler']) + } + const startSolhint = async () => { + await plugin.appManager.activatePlugin(['solidity', 'solhint']) + plugin.verticalIcons.select('solhint') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solhint']) + } + const startSourceVerify = async () => { + await plugin.appManager.activatePlugin(['solidity', 'sourcify']) + plugin.verticalIcons.select('sourcify') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'sourcify']) + } + const startSolidityUnitTesting = async () => { + await plugin.appManager.activatePlugin(['solidity', 'solidityUnitTesting']) + plugin.verticalIcons.select('solidityUnitTesting') + _paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidityUnitTesting']) + } + + return ( +
+ +
+ + + } + arrows={false} + swipeable={false} + draggable={true} + showDots={false} + responsive={ + { + superLargeDesktop: { + breakpoint: { max: 4000, min: 3000 }, + items: itemsToShow + }, + desktop: { + breakpoint: { max: 3000, min: 1024 }, + items: itemsToShow + } + } + } + renderButtonGroupOutside={true} + ssr={true} // means to render carousel on server-side. + keyBoardControl={true} + containerClass="carousel-container" + deviceType={"desktop"} + itemClass="w-100" + > + startSolidity()} + /> + startStarkNet()} + /> + startSolhint()} + /> + startSourceVerify()} + /> + startSolidityUnitTesting()} + /> + + +
+
+ ) +} + +export default HomeTabFeaturedPlugins diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx new file mode 100644 index 0000000000..776b20ec55 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx @@ -0,0 +1,168 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useState, useRef, useReducer } from 'react' +import { FormattedMessage } from 'react-intl' +import { ModalDialog } from '@remix-ui/modal-dialog' // eslint-disable-line +import { Toaster } from '@remix-ui/toaster' // eslint-disable-line +const _paq = window._paq = window._paq || [] // eslint-disable-line + +interface HomeTabFileProps { + plugin: any +} + +const loadingInitialState = { + tooltip: '', + showModalDialog: false, + importSource: '' +} + +const loadingReducer = (state = loadingInitialState, action) => { + return { ...state, tooltip: action.tooltip, showModalDialog: false, importSource: '' } +} + +function HomeTabFile ({plugin}: HomeTabFileProps) { + const [state, setState] = useState<{ + searchInput: string, + showModalDialog: boolean, + modalInfo: { title: string, loadItem: string, examples: Array }, + importSource: string, + toasterMsg: string + }>({ + searchInput: '', + showModalDialog: false, + modalInfo: { title: '', loadItem: '', examples: [] }, + importSource: '', + toasterMsg: '' + }) + + const [, dispatch] = useReducer(loadingReducer, loadingInitialState) + + const inputValue = useRef(null) + + const processLoading = (type: string) => { + _paq.push(['trackEvent', 'hometab', 'filesSection', 'importFrom' + type]) + const contentImport = plugin.contentImport + const workspace = plugin.fileManager.getProvider('workspace') + contentImport.import( + state.importSource, + (loadingMsg) => dispatch({ tooltip: loadingMsg }), + async (error, content, cleanUrl, type, url) => { + if (error) { + toast(error.message || error) + } else { + try { + if (await workspace.exists(type + '/' + cleanUrl)) toast('File already exists in workspace') + else { + workspace.addExternal(type + '/' + cleanUrl, content, url) + plugin.call('menuicons', 'select', 'filePanel') + } + } catch (e) { + toast(e.message) + } + } + } + ) + setState(prevState => { + return { ...prevState, showModalDialog: false, importSource: '' } + }) + } + + const toast = (message: string) => { + setState(prevState => { + return { ...prevState, toasterMsg: message } + }) + } + + const createNewFile = async () => { + _paq.push(['trackEvent', 'hometab', 'filesSection', 'createNewFile']) + plugin.verticalIcons.select('filePanel') + await plugin.call('filePanel', 'createNewFile') + } + + const uploadFile = async (target) => { + _paq.push(['trackEvent', 'hometab', 'filesSection', 'uploadFile']) + await plugin.call('filePanel', 'uploadFile', target) + } + + const connectToLocalhost = () => { + _paq.push(['trackEvent', 'hometab', 'filesSection', 'connectToLocalhost']) + plugin.appManager.activatePlugin('remixd') + } + const importFromGist = () => { + _paq.push(['trackEvent', 'hometab', 'filesSection', 'importFromGist']) + plugin.call('gistHandler', 'load', '') + plugin.verticalIcons.select('filePanel') + } + + const showFullMessage = (title: string, loadItem: string, examples: Array) => { + setState(prevState => { + return { ...prevState, showModalDialog: true, modalInfo: { title: title, loadItem: loadItem, examples: examples } } + }) + } + + const hideFullMessage = () => { //eslint-disable-line + setState(prevState => { + return { ...prevState, showModalDialog: false, importSource: '' } + }) + } + + const examples = state.modalInfo.examples.map((urlEl, key) => ()) + + return ( + <> + hideFullMessage() } + okFn={ () => processLoading(state.modalInfo.title) } + > +
+ { state.modalInfo.loadItem !== '' && Enter the { state.modalInfo.loadItem } you would like to load. } + { state.modalInfo.examples.length !== 0 && + <> +
e.g
+
+ { examples } +
+ } + { + setState(prevState => { + return { ...prevState, importSource: inputValue.current.value } + }) + }} + /> +
+
+ +
+ + + + { + event.stopPropagation() + plugin.verticalIcons.select('filePanel') + uploadFile(event.target) + }} multiple /> + + +
+ + + + +
+
+ + ) +} + +export default HomeTabFile diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx new file mode 100644 index 0000000000..ae6be5ad5c --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx @@ -0,0 +1,138 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useEffect, useRef, useContext } from 'react' +import { ThemeContext} from '../themeContext' +import Carousel from 'react-multi-carousel' +import WorkspaceTemplate from './workspaceTemplate' +import 'react-multi-carousel/lib/styles.css' +import CustomNavButtons from './customNavButtons' +declare global { + interface Window { + _paq: any + } +} +const _paq = window._paq = window._paq || [] //eslint-disable-line +interface HomeTabGetStartedProps { + plugin: any +} + +function HomeTabGetStarted ({plugin}: HomeTabGetStartedProps) { + const themeFilter = useContext(ThemeContext) + const carouselRef = useRef(null) + const carouselRefDiv = useRef(null) + + useEffect(() => { + document.addEventListener("wheel", handleScroll) + return () => { + document.removeEventListener("wheel", handleScroll) + } + }, []) + + function isDescendant(parent, child) { + let node = child.parentNode; + while (node != null) { + if (node === parent) { + return true; + } + node = node.parentNode; + } + return false; + } + + const handleScroll = (e) => { + if (isDescendant(carouselRefDiv.current, e.target)) { + e.stopPropagation() + let nextSlide = 0 + if (e.wheelDelta < 0) { + nextSlide = carouselRef.current.state.currentSlide + 1; + if ((carouselRef.current.state.totalItems - carouselRef.current.state.currentSlide) * carouselRef.current.state.itemWidth + 5 < carouselRef.current.state.containerWidth) return // 5 is approx margins + carouselRef.current.goToSlide(nextSlide) + } else { + nextSlide = carouselRef.current.state.currentSlide - 1; + if (nextSlide < 0) nextSlide = 0 + carouselRef.current.goToSlide(nextSlide) + } + } + } + + const createWorkspace = async (templateName) => { + await plugin.appManager.activatePlugin('filePanel') + const timeStamp = Date.now() + await plugin.call('filePanel', 'createWorkspace', templateName + "_" + timeStamp, templateName) + await plugin.call('filePanel', 'setWorkspace', templateName + "_" + timeStamp) + plugin.verticalIcons.select('filePanel') + _paq.push(['trackEvent', 'hometab', 'homeGetStarted', templateName]) + } + + return ( +
+ +
+ + + } + arrows={false} + swipeable={false} + draggable={true} + showDots={false} + responsive={ + { + superLargeDesktop: { + breakpoint: { max: 4000, min: 3000 }, + items: 5 + }, + desktop: { + breakpoint: { max: 3000, min: 1024 }, + items: 5, + partialVisibilityGutter: 0 + } + } + } + renderButtonGroupOutside={true} + ssr={true} // means to render carousel on server-side. + keyBoardControl={true} + containerClass="carousel-container" + deviceType={"desktop"} + itemClass="w-100" + > + createWorkspace("blank")} /> + createWorkspace("remixDefault")} /> + createWorkspace("ozerc20")} /> + createWorkspace("ozerc721")} /> + createWorkspace("zeroxErc20")} /> + + +
+
+ ) +} + +export default HomeTabGetStarted diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx new file mode 100644 index 0000000000..daa7c6fff7 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx @@ -0,0 +1,76 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useEffect, useState, useContext } from 'react' +import { ThemeContext } from '../themeContext' +declare global { + interface Window { + _paq: any + } +} +const _paq = window._paq = window._paq || [] //eslint-disable-line + +enum VisibleTutorial { + Basics, + Intermediate, + Advanced +} +interface HomeTabLearnProps { + plugin: any +} + +function HomeTabLearn ({plugin}: HomeTabLearnProps) { + const [state, setState] = useState<{ + visibleTutorial: VisibleTutorial + }>({ + visibleTutorial: VisibleTutorial.Basics + }) + + const themeFilter = useContext(ThemeContext) + + const openLink = () => { + window.open("https://remix-ide.readthedocs.io/en/latest/remix_tutorials_learneth.html?highlight=learneth#learneth-tutorial-repos", '_blank') + } + + const startLearnEthTutorial = async (tutorial) => { + await plugin.appManager.activatePlugin(['solidity', 'LearnEth', 'solidityUnitTesting']) + plugin.call('LearnEth', 'startTutorial', 'ethereum/remix-workshops', 'master', tutorial) + plugin.verticalIcons.select('LearnEth') + _paq.push(['trackEvent', 'hometab', 'startLearnEthTutorial', tutorial]) + } + + return ( +
+
+ + +
+
+ +
} + + +
} + + +
} + +
+
+ ) +} + +export default HomeTabLearn \ No newline at end of file diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabScamAlert.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabScamAlert.tsx new file mode 100644 index 0000000000..b789a9b4f5 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabScamAlert.tsx @@ -0,0 +1,37 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React from 'react' +import { FormattedMessage } from 'react-intl' + +const _paq = window._paq = window._paq || [] // eslint-disable-line + +function HomeTabScamAlert () { + return ( + + ) +} + +export default HomeTabScamAlert diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx new file mode 100644 index 0000000000..60c2420067 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx @@ -0,0 +1,179 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries +import BasicLogo from 'libs/remix-ui/vertical-icons-panel/src/lib/components/BasicLogo' +import { ThemeContext } from '../themeContext' +import React, { useEffect, useState, useRef, useContext } from 'react' +import { CustomTooltip } from '@remix-ui/helper' +const _paq = window._paq = window._paq || [] // eslint-disable-line + + +function HomeTabTitle() { + useEffect(() => { + document.addEventListener("keyup", (e) => handleSearchKeyDown(e)) + return () => { + document.removeEventListener("keyup", handleSearchKeyDown) + } + }, []) + const [state, setState] = useState<{ + searchDisable: boolean + }>({ + searchDisable: true + }) + + const themeFilter = useContext(ThemeContext) + const searchInputRef = useRef(null) + const remiAudioEl = useRef(null) + + const playRemi = async () => { + remiAudioEl.current.play() + } + const handleSearchKeyDown = (e: KeyboardEvent) => { + if (e.target !== searchInputRef.current) return + if (e.key === "Enter") { + _paq.push(['trackEvent', 'hometab', 'header', 'searchDocumentation']) + openLink() + searchInputRef.current.value = "" + } else { + setState(prevState => { + return { ...prevState, searchDisable: searchInputRef.current.value === "" } + }) + } + } + + const openLink = (url = "") => { + if (url === "") { + window.open("https://remix-ide.readthedocs.io/en/latest/search.html?q=" + searchInputRef.current.value + "&check_keywords=yes&area=default", '_blank') + } else { + window.open(url, '_blank') + } + } + + return ( +
+
+
playRemi()} style={{ filter: themeFilter.filter}} > + +
+ +
+
+ Remix + + + + + + + + + + + + + + + + + + + + + +
+ The Native IDE for Web3 Development. + +
+ + +
+
+ ) +} + +export default HomeTabTitle diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx index 06f108afe8..1b6bb08092 100644 --- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx @@ -1,29 +1,43 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import React, { useContext } from 'react' import { ThemeContext } from '../themeContext' - +import { CustomTooltip } from '@remix-ui/helper' interface PluginButtonProps { imgPath: string, envID: string, envText: string, callback: any, - l2?: boolean + l2?: boolean, + description: string, + remixMaintained?: boolean } -function PluginButton ({ imgPath, envID, envText, callback, l2 }: PluginButtonProps) { +function PluginButton ({ imgPath, envID, envText, callback, l2, description, remixMaintained }: PluginButtonProps) { const themeFilter = useContext(ThemeContext) return ( -
+
- { l2 && } + { l2 && } + { remixMaintained && + + + + }
) diff --git a/libs/remix-ui/home-tab/src/lib/components/rssFeed.css b/libs/remix-ui/home-tab/src/lib/components/rssFeed.css deleted file mode 100644 index 22e231c0e0..0000000000 --- a/libs/remix-ui/home-tab/src/lib/components/rssFeed.css +++ /dev/null @@ -1,12 +0,0 @@ -.RSSFeed-item img { - width: 100%; -} - -.RSSFeed-item .truncate { - max-height: 500px; - overflow: hidden; -} - -.RSSFeed-item .more-button { - -} \ No newline at end of file diff --git a/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx b/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx deleted file mode 100644 index 71df031d2f..0000000000 --- a/libs/remix-ui/home-tab/src/lib/components/rssFeed.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import React, { useState, useEffect } from "react"; -import Parser from "rss-parser"; -import './rssFeed.css'; - -interface RSSFeedProps { - feedUrl: string, - maxItems: number, -} - -export function RSSFeed({ feedUrl, maxItems }: RSSFeedProps) { - const [feed, setFeed] = useState(null); - - useEffect(() => { - const fetchData = async () => { - const parser = new Parser() - const feed = await parser.parseURL(feedUrl); - for (const item of feed.items) { - item.content = item['content:encoded'] - item.date = new Date(item.pubDate).toLocaleDateString('en-US', { - month: 'short', - day: 'numeric' - }) - } - setFeed(feed); - }; - fetchData(); - }, [feedUrl]); - - - return (<> - {feed && feed.items.slice(0, maxItems).map((item: any, index: any) => ( -
-

{item.title}

-

Author: {item.creator}

-

{item.date}

-
- READ MORE -
-
- ))} - ) -} \ No newline at end of file diff --git a/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts b/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts new file mode 100644 index 0000000000..128815d979 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/types/carouselTypes.ts @@ -0,0 +1,116 @@ +import * as React from "react"; +export interface ResponsiveType { + [key: string]: { + breakpoint: { max: number; min: number }; + items: number; + partialVisibilityGutter?: number; // back-ward compatible, because previously there has been a typo + paritialVisibilityGutter?: number; + slidesToSlide?: number; + }; +} +export function isMouseMoveEvent( + e: React.MouseEvent | React.TouchEvent +): e is React.MouseEvent { + return "clientX" && "clientY" in e; +} +export interface CarouselProps { + responsive: ResponsiveType; + deviceType?: string; + ssr?: boolean; + slidesToSlide?: number; + draggable?: boolean; + arrows?: boolean; // show or hide arrows. + renderArrowsWhenDisabled?: boolean; // Allow for the arrows to have a disabled attribute instead of not showing them + swipeable?: boolean; + removeArrowOnDeviceType?: string | Array; + children: any; + customLeftArrow?: React.ReactElement | null; + customRightArrow?: React.ReactElement | null; + customDot?: React.ReactElement | null; + customButtonGroup?: React.ReactElement | null; + infinite?: boolean; + minimumTouchDrag?: number; // default 50px. The amount of distance to drag / swipe in order to move to the next slide. + afterChange?: (previousSlide: number, state: StateCallBack) => void; // Change callback after sliding everytime. `(previousSlide, currentState) => ...` + beforeChange?: (nextSlide: number, state: StateCallBack) => void; // Change callback before sliding everytime. `(previousSlide, currentState) => ...` + sliderClass?: string; // Use this to style your own track list. + itemClass?: string; // Use this to style your own Carousel item. For example add padding-left and padding-right + itemAriaLabel?: string; // Use this to add your own Carousel item aria-label.if it is not defined the child aria label will be applied if the child dont have one than a default empty string will be applied + containerClass?: string; // Use this to style the whole container. For example add padding to allow the "dots" or "arrows" to go to other places without being overflown. + className?: string; // Use this to style the whole container with styled-components + dotListClass?: string; // Use this to style the dot list. + keyBoardControl?: boolean; + centerMode?: boolean; // show previous and next set of items partially + autoPlay?: boolean; + autoPlaySpeed?: number; // default 3000ms + showDots?: boolean; + renderDotsOutside?: boolean; // show dots outside of the container for custom styling. + renderButtonGroupOutside?: boolean; // show buttonGroup outside of the container for custom styling. + // Show next/previous item partially + // partialVisible has to be used in conjunction with the responsive props, details are in documentation. + // it shows the next set of items partially, different from centerMode as it shows both. + partialVisible?: boolean; + partialVisbile?: boolean; // old typo - deprecated (will be remove in 3.0) + customTransition?: string; + transitionDuration?: number; + // if you are using customTransition, make sure to put the duration here. + // for example, customTransition="all .5" then put transitionDuration as 500. + // this is needed for the resizing to work. + focusOnSelect?: boolean; + additionalTransfrom?: number; // this is only used if you want to add additional transfrom to the current transform + pauseOnHover?: boolean; + shouldResetAutoplay?: boolean; + rewind?: boolean; + rewindWithAnimation?: boolean; + rtl?: boolean; +} + +export type StateCallBack = CarouselInternalState; + +export type Direction = "left" | "right" | "" | undefined; +export type SkipCallbackOptions = + | boolean + | { skipBeforeChange?: boolean; skipAfterChange?: boolean }; +export interface ButtonGroupProps { + previous?: () => void; + next?: () => void; + goToSlide?: (index: number, skipCallbacks?: SkipCallbackOptions) => void; + carouselState?: StateCallBack; +} +export interface ArrowProps { + onClick?: () => void; + carouselState?: StateCallBack; +} +export interface DotProps { + index?: number; + active?: boolean; + onClick?: () => void; + carouselState?: StateCallBack; +} + +export interface CarouselInternalState { + itemWidth: number; + containerWidth: number; + slidesToShow: number; + currentSlide: number; + totalItems: number; + domLoaded: boolean; + deviceType?: string; + transform: number; +} + +export default class Carousel extends React.Component { + previous: (slidesHavePassed: number) => void; + next: (slidesHavePassed: number) => void; + goToSlide: (slide: number, skipCallbacks?: SkipCallbackOptions) => void; + state: CarouselInternalState; + setClones: ( + slidesToShow: number, + itemWidth?: number, + forResizing?: boolean + ) => void; // reset carousel in infinite mode. + setItemsToShow: (shouldCorrectItemPosition?: boolean) => void; // reset carousel in non-infinite mode. + correctClonesPosition: ({ domLoaded }: { domLoaded: boolean }) => void; + onMove: boolean; + direction: Direction; + containerRef: React.RefObject; +} diff --git a/libs/remix-ui/home-tab/src/lib/components/workspaceTemplate.tsx b/libs/remix-ui/home-tab/src/lib/components/workspaceTemplate.tsx new file mode 100644 index 0000000000..4610236f79 --- /dev/null +++ b/libs/remix-ui/home-tab/src/lib/components/workspaceTemplate.tsx @@ -0,0 +1,28 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +import React, { useContext } from 'react' +interface WorkspaceTemplateProps { + gsID: string, + workspaceTitle: string, + callback: any, + description: string, +} + +function WorkspaceTemplate ({ gsID, workspaceTitle, description, callback }: WorkspaceTemplateProps) { + + return ( +
+ +
+ ) +} + +export default WorkspaceTemplate diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css index 4464c8d2fa..011a179161 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css @@ -1,11 +1,9 @@ .remixui_home_text { - cursor: pointer; font-size: 0.8rem; font-weight: normal; max-width: 300px; } .remixui_home_text:hover { - cursor: pointer; text-decoration: underline; } .remixui_home_homeContainer { @@ -31,7 +29,7 @@ text-align: center; } .remixui_home_logoImg { - height: 10em; + height: 4rem; } .remixui_home_rightPanel { right: 0; @@ -58,19 +56,37 @@ .remixui_home_importFrom p { margin-right: 10px; } -.remixui_home_logoContainer img{ +.remixui_home_logoContainer img { height: 150px; opacity: 0.7; } .remixui_home_envLogo { - height: 16px; + height: 2.5rem; +} +.remixui_home_envLogoDescription { + white-space: pre-wrap; + font-size: small; + line-height: 0.9rem; + text-align: left; +} +.remixui_home_gtDescription { + white-space: pre-wrap; + font-size: small; + line-height: 1.1rem; + text-align: left; } .remixui_home_cursorStyle { cursor: pointer; + font-size: 0.8rem; } .remixui_home_envButton { - width: 120px; - height: 70px; + width: 220px; + cursor: pointer; + height: 130px; +} +.remixui_home_workspaceTemplate { + width: 220px; + height: 80px; } .remixui_home_media { overflow: hidden; @@ -82,5 +98,10 @@ width: 100px; } .remixui_home_l2Label { - bottom: 10px; + top: 120px; + right: 180px; +} +.remixui_home_maintainedLabel { + top: 120px; + right: 180px; } diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index 2914b9ee69..e7002db1e6 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -1,90 +1,34 @@ -import React, { useState, useRef, useEffect, useReducer } from 'react' // eslint-disable-line +import React, { useState, useEffect } from 'react' // eslint-disable-line import './remix-ui-home-tab.css' -import { ModalDialog } from '@remix-ui/modal-dialog' // eslint-disable-line -import { Toaster } from '@remix-ui/toaster' // eslint-disable-line -import PluginButton from './components/pluginButton' // eslint-disable-line import { ThemeContext, themes } from './themeContext' -import { RSSFeed } from './components/rssFeed' +import HomeTabTitle from './components/homeTabTitle' +import HomeTabFile from './components/homeTabFile' +import HomeTabLearn from './components/homeTabLearn' +import HomeTabScamAlert from './components/homeTabScamAlert' +import HomeTabGetStarted from './components/homeTabGetStarted' +import HomeTabFeatured from './components/homeTabFeatured' +import HomeTabFeaturedPlugins from './components/homeTabFeaturedPlugins' + declare global { interface Window { _paq: any } } -const _paq = window._paq = window._paq || [] //eslint-disable-line -/* eslint-disable-next-line */ export interface RemixUiHomeTabProps { plugin: any } -const loadingInitialState = { - tooltip: '', - showModalDialog: false, - importSource: '' -} - -const loadingReducer = (state = loadingInitialState, action) => { - return { ...state, tooltip: action.tooltip, showModalDialog: false, importSource: '' } -} - export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { const { plugin } = props - const fileManager = plugin.fileManager const [state, setState] = useState<{ themeQuality: { filter: string, name: string }, - showMediaPanel: 'none' | 'twitter' | 'medium', - showModalDialog: boolean, - modalInfo: { title: string, loadItem: string, examples: Array }, - importSource: string, - toasterMsg: string }>({ themeQuality: themes.light, - showMediaPanel: 'none', - showModalDialog: false, - modalInfo: { title: '', loadItem: '', examples: [] }, - importSource: '', - toasterMsg: '' }) - const processLoading = () => { - const contentImport = plugin.contentImport - const workspace = fileManager.getProvider('workspace') - contentImport.import( - state.importSource, - (loadingMsg) => dispatch({ tooltip: loadingMsg }), - async (error, content, cleanUrl, type, url) => { - if (error) { - toast(error.message || error) - } else { - try { - if (await workspace.exists(type + '/' + cleanUrl)) toast('File already exists in workspace') - else { - workspace.addExternal(type + '/' + cleanUrl, content, url) - plugin.call('menuicons', 'select', 'filePanel') - } - } catch (e) { - toast(e.message) - } - } - } - ) - setState(prevState => { - return { ...prevState, showModalDialog: false, importSource: '' } - }) - } - - const [, dispatch] = useReducer(loadingReducer, loadingInitialState) - - const playRemi = async () => { - remiAudioEl.current.play() - } - - const remiAudioEl = useRef(null) - const inputValue = useRef(null) - const rightPanel = useRef(null) - useEffect(() => { plugin.call('theme', 'currentTheme').then((theme) => { // update theme quality. To be used for for images @@ -98,276 +42,24 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { return { ...prevState, themeQuality: theme.quality === 'dark' ? themes.dark : themes.light } }) }) - window.addEventListener('click', (event) => { - const target = event.target as Element - const id = target.id - if (id !== 'remixIDEHomeTwitterbtn' && id !== 'remixIDEHomeMediumbtn' && !rightPanel.current.contains(event.target)) { - // todo check event.target - setState(prevState => { return { ...prevState, showMediaPanel: 'none' } }) - } - }) - // to retrieve twitter feed - const scriptTwitter = document.createElement('script') - scriptTwitter.src = 'https://platform.twitter.com/widgets.js' - scriptTwitter.async = true - document.body.appendChild(scriptTwitter) - return () => { - document.body.removeChild(scriptTwitter) - } }, []) - const toast = (message: string) => { - setState(prevState => { - return { ...prevState, toasterMsg: message } - }) - } - - const createNewFile = async () => { - plugin.verticalIcons.select('filePanel') - await plugin.call('filePanel', 'createNewFile') - } - - const uploadFile = async (target) => { - await plugin.call('filePanel', 'uploadFile', target) - } - - const connectToLocalhost = () => { - plugin.appManager.activatePlugin('remixd') - } - const importFromGist = () => { - plugin.call('gistHandler', 'load', '') - plugin.verticalIcons.select('filePanel') - } - const startSolidity = async () => { - await plugin.appManager.activatePlugin(['solidity', 'udapp', 'solidityStaticAnalysis', 'solidityUnitTesting']) - plugin.verticalIcons.select('solidity') - _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solidity']) - } - const startStarkNet = async () => { - await plugin.appManager.activatePlugin('starkNet_compiler') - plugin.verticalIcons.select('starkNet_compiler') - _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'starkNet_compiler']) - } - const startSolhint = async () => { - await plugin.appManager.activatePlugin(['solidity', 'solhint']) - plugin.verticalIcons.select('solhint') - _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solhint']) - } - const startLearnEth = async () => { - await plugin.appManager.activatePlugin(['solidity', 'LearnEth', 'solidityUnitTesting']) - plugin.verticalIcons.select('LearnEth') - _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'learnEth']) - } - const startSourceVerify = async () => { - await plugin.appManager.activatePlugin(['solidity', 'sourcify']) - plugin.verticalIcons.select('sourcify') - _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'sourcify']) - } - const startPluginManager = async () => { - plugin.verticalIcons.select('pluginManager') - } - - const showFullMessage = (title: string, loadItem: string, examples: Array) => { - setState(prevState => { - return { ...prevState, showModalDialog: true, modalInfo: { title: title, loadItem: loadItem, examples: examples } } - }) - } - - const hideFullMessage = () => { //eslint-disable-line - setState(prevState => { - return { ...prevState, showModalDialog: false, importSource: '' } - }) - } - - const maxHeight = Math.max(window.innerHeight - 150, 250) + 'px' - const examples = state.modalInfo.examples.map((urlEl, key) => ()) - const elHeight = '4000px' return ( - <> - hideFullMessage() } - okFn={ () => processLoading() } - > -
- { state.modalInfo.loadItem !== '' && Enter the { state.modalInfo.loadItem } you would like to load. } - { state.modalInfo.examples.length !== 0 && - <> -
e.g
-
- { examples } -
- } - { - setState(prevState => { - return { ...prevState, importSource: inputValue.current.value } - }) - }} - /> -
-
- -
-
-
-
-
- -
-
- - - Scam Alerts: - - - The only URL Remix uses is remix.ethereum.org - - - Beware of online videos promoting "liquidity front runner bots": - Learn more - - - Additional safety tips:  here - -
-
-
- playRemi() } alt=""> - -
-
-
-
-
-
-

Featured Plugins

-
- - startSolidity()} /> - startStarkNet()} /> - startSolhint()} /> - startLearnEth()} /> - startSourceVerify()} /> - - -
-
-
-
-

File

-

- - -

-

- - - { - event.stopPropagation() - plugin.verticalIcons.select('filePanel') - uploadFile(event.target) - }} multiple /> -

-

- - -

-

-
- - - - -
-
-
-

Resources

-

- - Documentation -

-

- - Gitter channel -

-

- - Featuring website -

-
-
-
+
+ +
+ + +
-
-
- - -
-
-
- -
- -
+
+ + + +
-
- +
+
) } diff --git a/libs/remix-ui/locale-module/.babelrc b/libs/remix-ui/locale-module/.babelrc new file mode 100644 index 0000000000..09d67939cc --- /dev/null +++ b/libs/remix-ui/locale-module/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["@nrwl/react/babel"], + "plugins": [] +} diff --git a/libs/remix-ui/locale-module/.eslintrc.json b/libs/remix-ui/locale-module/.eslintrc.json new file mode 100644 index 0000000000..50e59482cf --- /dev/null +++ b/libs/remix-ui/locale-module/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc.json"], + "ignorePatterns": ["!**/*"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": {} + }, + { + "files": ["*.ts", "*.tsx"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "rules": {} + } + ] +} diff --git a/libs/remix-ui/locale-module/README.md b/libs/remix-ui/locale-module/README.md new file mode 100644 index 0000000000..affdd5db4e --- /dev/null +++ b/libs/remix-ui/locale-module/README.md @@ -0,0 +1,7 @@ +# remix-ui-locale-module + +This library was generated with [Nx](https://nx.dev). + +## Running unit tests + +Run `nx test remix-ui-locale-module` to execute the unit tests via [Jest](https://jestjs.io). diff --git a/libs/remix-ui/locale-module/src/index.ts b/libs/remix-ui/locale-module/src/index.ts new file mode 100644 index 0000000000..fdda78b342 --- /dev/null +++ b/libs/remix-ui/locale-module/src/index.ts @@ -0,0 +1,2 @@ +export * from './lib/remix-ui-locale-module'; +export * from '../types/locale-module' diff --git a/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.module.css b/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.module.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx b/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx new file mode 100644 index 0000000000..0e68991102 --- /dev/null +++ b/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx @@ -0,0 +1,56 @@ +import React, { useEffect, useState } from 'react'; +import { FormattedMessage } from 'react-intl' +import { LocaleModule } from '../../types/locale-module'; +import './remix-ui-locale-module.module.css'; + +export interface RemixUiLocaleModuleProps { + localeModule: LocaleModule; +} + +export function RemixUiLocaleModule({ localeModule }: RemixUiLocaleModuleProps) { + const [localeName, setLocaleName] = useState('') + + useEffect(() => { + localeModule.switchLocale() + }, [localeName, localeModule]) + + return ( +
+
+
+
+ {localeModule.getLocales() + ? localeModule.getLocales().map((locale, idx) => ( +
+ { + localeModule.switchLocale(locale.name); + setLocaleName(locale.name); + }} + className="align-middle custom-control-input" + name="locale" + id={locale.name} + data-id={`settingsTabLocale${locale.name}`} + checked={localeModule.active === locale.name.toLocaleLowerCase()} + /> + +
+ )) + : null} +
+
+
+ ) +} + +export default RemixUiLocaleModule; diff --git a/libs/remix-ui/locale-module/tsconfig.json b/libs/remix-ui/locale-module/tsconfig.json new file mode 100644 index 0000000000..8bd701c578 --- /dev/null +++ b/libs/remix-ui/locale-module/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "jsx": "react-jsx", + "allowJs": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true + }, + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.lib.json" + } + ] +} diff --git a/libs/remix-ui/locale-module/tsconfig.lib.json b/libs/remix-ui/locale-module/tsconfig.lib.json new file mode 100644 index 0000000000..b560bc4dec --- /dev/null +++ b/libs/remix-ui/locale-module/tsconfig.lib.json @@ -0,0 +1,13 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../../dist/out-tsc", + "types": ["node"] + }, + "files": [ + "../../../node_modules/@nrwl/react/typings/cssmodule.d.ts", + "../../../node_modules/@nrwl/react/typings/image.d.ts" + ], + "exclude": ["**/*.spec.ts", "**/*.spec.tsx"], + "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] +} diff --git a/libs/remix-ui/locale-module/types/locale-module.ts b/libs/remix-ui/locale-module/types/locale-module.ts new file mode 100644 index 0000000000..535d6864e0 --- /dev/null +++ b/libs/remix-ui/locale-module/types/locale-module.ts @@ -0,0 +1,29 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +import { Plugin } from "@remixproject/engine/lib/abstract"; +import { EventEmitter } from "events"; +export interface LocaleModule extends Plugin { + currentLocaleState: Record; + new(): any; + events: EventEmitter; + _deps: { + config: any; + }; + _paq: any + element: HTMLDivElement; + locales: {[key: string]: Locale}; + active: string; + forced: boolean; + render(): HTMLDivElement; + renderComponent(): void; + /** Return the active locale */ + currentLocale(): Locale; + /** Returns all locales as an array */ + getLocales(): Locale[]; + /** + * Change the current locale + * @param {string} [localeName] - The name of the locale + */ + switchLocale(localeName?: string): void; +} + +interface Locale { name: string, messages: any } diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index 00ae3b7de9..57b044045a 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -1,6 +1,9 @@ import React, { useEffect, useRef, useState } from 'react' // eslint-disable-line +import { FormattedMessage } from 'react-intl' import { PluginRecord } from '../types' import './panel.css' +import { OverlayTrigger, Tooltip } from 'react-bootstrap' +import { CustomTooltip } from '@remix-ui/helper' export interface RemixPanelProps { plugins: Record; @@ -23,40 +26,65 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => { setToggleExpander(!toggleExpander) } + const tooltipChild = ( + + ) + return (
-
{plugin?.profile.displayName || plugin?.profile.name}
+
+ +
- {plugin?.profile?.maintainedBy?.toLowerCase() === "remix" && ()} + {plugin?.profile?.maintainedBy?.toLowerCase() === "remix" && ( + + {"Maintained by Remix"} + + } + > + + + )}
-
- +
+ + {tooltipChild} +
+
{plugin?.profile?.author && - + { plugin?.profile.author } } {plugin?.profile?.maintainedBy && - + { plugin?.profile.maintainedBy } } {plugin?.profile?.documentation && - + } {plugin?.profile?.description && - + { plugin?.profile.description } } {plugin?.profile?.repo && - + Make an issue }
diff --git a/libs/remix-ui/panel/src/lib/plugins/panel.css b/libs/remix-ui/panel/src/lib/plugins/panel.css index b9988e19af..076cb4aafc 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel.css +++ b/libs/remix-ui/panel/src/lib/plugins/panel.css @@ -53,6 +53,7 @@ iframe { height: 100%; width: 100%; border: 0; + display: block; } .plugins { diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCardContainer.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCardContainer.tsx index 4c8f3dc58c..d83f4c09e9 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCardContainer.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCardContainer.tsx @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import { Profile } from '@remixproject/plugin-utils' import React from 'react' // eslint-disable-line no-use-before-define +import { useIntl } from 'react-intl' import { PluginManagerComponent } from '../../types' import ActivePluginCard from './ActivePluginCard' import ModuleHeading from './moduleHeading' @@ -15,13 +16,15 @@ function ActivePluginCardContainer ({ pluginComponent }: ActivePluginCardContain pluginComponent.deactivateP(pluginName) } + const intl = useIntl(); + return ( - {(pluginComponent.activePlugins && pluginComponent.activePlugins.length) ? : null} + {(pluginComponent.activePlugins && pluginComponent.activePlugins.length) ? : null} {pluginComponent.activePlugins && pluginComponent.activePlugins.map((profile, idx) => { return ( - {(pluginComponent.inactivePlugins && pluginComponent.inactivePlugins.length) ? : null} + {(pluginComponent.inactivePlugins && pluginComponent.inactivePlugins.length) ? : null} {pluginComponent.inactivePlugins && pluginComponent.inactivePlugins.map((profile, idx) => { return (
- + setName(e.target.value)} value={ name || '' } id="plugin-name" data-id="localPluginName" - placeholder="Should be camelCase" /> + placeholder={intl.formatMessage({ id: 'pluginManager.localForm.shouldBeCamelCase', defaultMessage: 'Should be camelCase' })} />
- + setDisplayName(e.target.value)} value={ displayName || '' } id="plugin-displayname" data-id="localPluginDisplayName" - placeholder="Name in the header" /> + placeholder={intl.formatMessage({ id: 'pluginManager.localForm.nameInTheHeader', defaultMessage: 'Name in the header' })} />
- + setMethods(e.target.value)} @@ -136,7 +147,11 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor placeholder="Methods" />
- + setCanactivate(e.target.value)} @@ -147,7 +162,11 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor
- + setUrl(e.target.value)} @@ -156,7 +175,13 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor data-id="localPluginUrl" placeholder="ex: https://localhost:8000" />
-
Type of connection (required)
+
+ +   + + () + +
Websocket
-
Location in remix (required)
+
+ +   + + () + +
setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} /> - +
setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} /> - +
setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} /> - +
diff --git a/libs/remix-ui/plugin-manager/src/lib/components/rootView.tsx b/libs/remix-ui/plugin-manager/src/lib/components/rootView.tsx index 1359e04ec3..a5cb24a855 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/rootView.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/rootView.tsx @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import React, { Fragment, ReactNode, useEffect, useState } from 'react' // eslint-disable-line no-use-before-define +import { FormattedMessage } from 'react-intl' import { PluginManagerComponent, PluginManagerSettings } from '../../types' import PermisssionsSettings from './permissionsSettings' import { Profile } from '@remixproject/plugin-utils' @@ -47,7 +48,7 @@ function RootView ({ pluginComponent, children }: RootViewProps) { data-id="pluginManagerComponentSearchInput" />
{children} diff --git a/libs/remix-ui/publish-to-storage/src/lib/publish-to-storage.tsx b/libs/remix-ui/publish-to-storage/src/lib/publish-to-storage.tsx index 51b5d46b01..7d646043f3 100644 --- a/libs/remix-ui/publish-to-storage/src/lib/publish-to-storage.tsx +++ b/libs/remix-ui/publish-to-storage/src/lib/publish-to-storage.tsx @@ -40,17 +40,17 @@ export const PublishToStorage = (props: RemixUiPublishToStorageProps) => { We won’t be providing a public endpoint anymore for publishing your contracts to IPFS.

Instead of that, 4 options are now available:



    -
  • +
  • DEFAULT OPTION: Use the public INFURA node. This will not guarantee your data will persist.
  • -
  • +
  • Use your own INFURA IPFS node. This requires a subscription. Learn more
  • -
  • +
  • Use any external IPFS which doesn’t require any authentification.
  • -
  • +
  • Use your own local ipfs node (which usually runs under http://localhost:5001)
diff --git a/libs/remix-ui/run-tab/src/lib/actions/deploy.ts b/libs/remix-ui/run-tab/src/lib/actions/deploy.ts index caf8e6de8a..9c2475ff47 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/deploy.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/deploy.ts @@ -6,6 +6,7 @@ import { DeployMode, MainnetPrompt } from "../types" import { displayNotification, displayPopUp, setDecodedResponse } from "./payload" import { addInstance } from "./actions" import { addressToString, logBuilder } from "@remix-ui/helper" +import Web3 from "web3" declare global { interface Window { @@ -26,11 +27,11 @@ const loadContractFromAddress = (plugin: RunTab, address, confirmCb, cb) => { } catch (e) { return cb('Failed to parse the current file as JSON ABI.') } - _paq.push(['trackEvent', 'udapp', 'AtAddressLoadWithABI']) + _paq.push(['trackEvent', 'udapp', 'useAtAddress' , 'AtAddressLoadWithABI']) cb(null, 'abi', abi) }) } else { - _paq.push(['trackEvent', 'udapp', 'AtAddressLoadWithArtifacts']) + _paq.push(['trackEvent', 'udapp', 'useAtAddress', 'AtAddressLoadWithArtifacts']) cb(null, 'instance') } } @@ -244,6 +245,18 @@ export const getContext = (plugin: RunTab) => { return plugin.blockchain.context() } +export const syncContractsInternal = async (plugin: RunTab) => { + if (await plugin.call('manager', 'isActive', 'truffle')) { + plugin.call('truffle', 'sync') + } + if (await plugin.call('manager', 'isActive', 'hardhat')) { + plugin.call('hardhat', 'sync') + } + if (await plugin.call('manager', 'isActive', 'foundry')) { + plugin.call('foundry', 'sync') + } +} + export const runTransactions = ( plugin: RunTab, dispatch: React.Dispatch, @@ -310,4 +323,16 @@ export const updateInstanceBalance = (plugin: RunTab) => { }) } } +} + +export const isValidContractAddress = async (plugin: RunTab, address: string) => { + if (!address) { + return false + } else { + if (Web3.utils.isAddress(address)) { + return await plugin.blockchain.web3().eth.getCode(address) !== '0x' + } else { + return false + } + } } \ No newline at end of file diff --git a/libs/remix-ui/run-tab/src/lib/actions/events.ts b/libs/remix-ui/run-tab/src/lib/actions/events.ts index cb65b81ffc..60b5544875 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/events.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/events.ts @@ -2,10 +2,12 @@ import { envChangeNotification } from "@remix-ui/helper" import { RunTab } from "../types/run-tab" import { setExecutionContext, setFinalContext, updateAccountBalances } from "./account" import { addExternalProvider, addInstance, removeExternalProvider, setNetworkNameFromProvider } from "./actions" -import { addDeployOption, clearAllInstances, clearRecorderCount, fetchContractListSuccess, resetUdapp, setCompilationSource, setCurrentContract, setCurrentFile, setLoadType, setProxyEnvAddress, setRecorderCount, setSendValue } from "./payload" +import { addDeployOption, clearAllInstances, clearRecorderCount, fetchContractListSuccess, resetUdapp, setCurrentContract, setCurrentFile, setLoadType, setProxyEnvAddress, setRecorderCount, setRemixDActivated, setSendValue } from "./payload" import { CompilerAbstract } from '@remix-project/remix-solidity' import * as ethJSUtil from 'ethereumjs-util' import Web3 from 'web3' +import { Plugin } from "@remixproject/engine" +const _paq = window._paq = window._paq || [] export const setupEvents = (plugin: RunTab, dispatch: React.Dispatch) => { plugin.blockchain.events.on('newTransaction', (tx, receipt) => { @@ -73,6 +75,21 @@ export const setupEvents = (plugin: RunTab, dispatch: React.Dispatch) => { plugin.on('filePanel', 'setWorkspace', () => { dispatch(resetUdapp()) resetAndInit(plugin) + plugin.call('manager', 'isActive', 'remixd').then((activated) => { + dispatch(setRemixDActivated(activated)) + }) + }) + + plugin.on('manager', 'pluginActivated', (plugin: Plugin) => { + if (plugin.name === 'remixd') { + dispatch(setRemixDActivated(true)) + } + }) + + plugin.on('manager', 'pluginDeactivated', (plugin: Plugin) => { + if (plugin.name === 'remixd') { + dispatch(setRemixDActivated(false)) + } }) plugin.fileManager.events.on('currentFileChanged', (currentFile: string) => { @@ -99,13 +116,14 @@ export const setupEvents = (plugin: RunTab, dispatch: React.Dispatch) => { } const broadcastCompilationResult = async (compilerName: string, plugin: RunTab, dispatch: React.Dispatch, file, source, languageVersion, data, input?) => { + _paq.push(['trackEvent', 'udapp', 'broadcastCompilationResult', compilerName]) // TODO check whether the tab is configured const compiler = new CompilerAbstract(languageVersion, data, source, input) plugin.compilersArtefacts[languageVersion] = compiler plugin.compilersArtefacts.__last = compiler const contracts = getCompiledContracts(compiler).map((contract) => { - return { name: languageVersion, alias: contract.name, file: contract.file, compiler } + return { name: languageVersion, alias: contract.name, file: contract.file, compiler, compilerName } }) if ((contracts.length > 0)) { const contractsInCompiledFile = contracts.filter(obj => obj.file === file) @@ -125,7 +143,6 @@ const broadcastCompilationResult = async (compilerName: string, plugin: RunTab, } dispatch(fetchContractListSuccess({ [file]: contracts })) dispatch(setCurrentFile(file)) - dispatch(setCompilationSource(compilerName)) // TODO: set current contract } diff --git a/libs/remix-ui/run-tab/src/lib/actions/index.ts b/libs/remix-ui/run-tab/src/lib/actions/index.ts index f61de6ebd8..9a082d0146 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/index.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/index.ts @@ -6,7 +6,7 @@ import { createNewBlockchainAccount, fillAccountsList, setExecutionContext, sign import { clearInstances, clearPopUp, removeInstance, setAccount, setGasFee, setMatchPassphrasePrompt, setNetworkNameFromProvider, setPassphrasePrompt, setSelectedContract, setSendTransactionValue, setUnit, updateBaseFeePerGas, updateConfirmSettings, updateGasPrice, updateGasPriceStatus, updateMaxFee, updateMaxPriorityFee, updateScenarioPath } from './actions' -import { createInstance, getContext, getFuncABIInputs, getSelectedContract, loadAddress, runTransactions, updateInstanceBalance } from './deploy' +import { createInstance, getContext, getFuncABIInputs, getSelectedContract, loadAddress, runTransactions, updateInstanceBalance, syncContractsInternal, isValidContractAddress } from './deploy' import { CompilerAbstract as CompilerAbstractType } from '@remix-project/remix-solidity-ts' import { ContractData, FuncABI } from "@remix-project/core-plugin" import { DeployMode, MainnetPrompt } from '../types' @@ -60,4 +60,6 @@ export const runScenario = (liveMode: boolean, gasEstimationPrompt: (msg: string export const setScenarioPath = (path: string) => updateScenarioPath(dispatch, path) export const getFuncABIValues = (funcABI: FuncABI) => getFuncABIInputs(plugin, funcABI) export const setNetworkName = (networkName: string) => setNetworkNameFromProvider(dispatch, networkName) -export const updateSelectedContract = (contractName) => setSelectedContract(dispatch, contractName) \ No newline at end of file +export const updateSelectedContract = (contractName) => setSelectedContract(dispatch, contractName) +export const syncContracts = () => syncContractsInternal(plugin) +export const isValidProxyAddress = (address: string) => isValidContractAddress(plugin, address) \ No newline at end of file diff --git a/libs/remix-ui/run-tab/src/lib/actions/payload.ts b/libs/remix-ui/run-tab/src/lib/actions/payload.ts index d7dd517715..5ec29d9fb2 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/payload.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/payload.ts @@ -1,6 +1,6 @@ import { ContractList } from '../reducers/runTab' import { ContractData } from '@remix-project/core-plugin' -import { ADD_DEPLOY_OPTION, ADD_INSTANCE, ADD_PROVIDER, CLEAR_INSTANCES, CLEAR_RECORDER_COUNT, DISPLAY_NOTIFICATION, DISPLAY_POPUP_MESSAGE, FETCH_ACCOUNTS_LIST_FAILED, FETCH_ACCOUNTS_LIST_REQUEST, FETCH_ACCOUNTS_LIST_SUCCESS, FETCH_CONTRACT_LIST_FAILED, FETCH_CONTRACT_LIST_REQUEST, FETCH_CONTRACT_LIST_SUCCESS, HIDE_NOTIFICATION, HIDE_POPUP_MESSAGE, REMOVE_DEPLOY_OPTION, REMOVE_INSTANCE, REMOVE_PROVIDER, RESET_STATE, SET_BASE_FEE_PER_GAS, SET_CONFIRM_SETTINGS, SET_CURRENT_CONTRACT, SET_CURRENT_FILE, SET_COMPILATION_SOURCE, SET_DECODED_RESPONSE, SET_DEPLOY_OPTIONS, SET_EXECUTION_ENVIRONMENT, SET_EXTERNAL_WEB3_ENDPOINT, SET_GAS_LIMIT, SET_GAS_PRICE, SET_GAS_PRICE_STATUS, SET_IPFS_CHECKED_STATE, SET_LOAD_TYPE, SET_MATCH_PASSPHRASE, SET_MAX_FEE, SET_MAX_PRIORITY_FEE, SET_NETWORK_NAME, SET_PASSPHRASE, SET_PATH_TO_SCENARIO, SET_PERSONAL_MODE, SET_PROXY_ENV_ADDRESS, SET_RECORDER_COUNT, SET_SELECTED_ACCOUNT, SET_SEND_UNIT, SET_SEND_VALUE } from '../constants' +import { ADD_DEPLOY_OPTION, ADD_INSTANCE, ADD_PROVIDER, CLEAR_INSTANCES, CLEAR_RECORDER_COUNT, DISPLAY_NOTIFICATION, DISPLAY_POPUP_MESSAGE, FETCH_ACCOUNTS_LIST_FAILED, FETCH_ACCOUNTS_LIST_REQUEST, FETCH_ACCOUNTS_LIST_SUCCESS, FETCH_CONTRACT_LIST_FAILED, FETCH_CONTRACT_LIST_REQUEST, FETCH_CONTRACT_LIST_SUCCESS, HIDE_NOTIFICATION, HIDE_POPUP_MESSAGE, REMOVE_DEPLOY_OPTION, REMOVE_INSTANCE, REMOVE_PROVIDER, RESET_STATE, SET_BASE_FEE_PER_GAS, SET_CONFIRM_SETTINGS, SET_CURRENT_CONTRACT, SET_CURRENT_FILE, SET_DECODED_RESPONSE, SET_DEPLOY_OPTIONS, SET_EXECUTION_ENVIRONMENT, SET_EXTERNAL_WEB3_ENDPOINT, SET_GAS_LIMIT, SET_GAS_PRICE, SET_GAS_PRICE_STATUS, SET_IPFS_CHECKED_STATE, SET_LOAD_TYPE, SET_MATCH_PASSPHRASE, SET_MAX_FEE, SET_MAX_PRIORITY_FEE, SET_NETWORK_NAME, SET_PASSPHRASE, SET_PATH_TO_SCENARIO, SET_PERSONAL_MODE, SET_PROXY_ENV_ADDRESS, SET_RECORDER_COUNT, SET_SELECTED_ACCOUNT, SET_SEND_UNIT, SET_SEND_VALUE, SET_REMIXD_ACTIVATED } from '../constants' import { DeployMode, DeployOptions } from '../types' export const fetchAccountsListRequest = () => { @@ -168,13 +168,6 @@ export const setCurrentFile = (file: string) => { } } -export const setCompilationSource = (source: string) => { - return { - type: SET_COMPILATION_SOURCE, - payload: source - } -} - export const setIpfsCheckedState = (state: boolean) => { return { type: SET_IPFS_CHECKED_STATE, @@ -315,3 +308,10 @@ export const setProxyEnvAddress = (key: string) => { type: SET_PROXY_ENV_ADDRESS } } + +export const setRemixDActivated = (activated: boolean) => { + return { + payload: activated, + type: SET_REMIXD_ACTIVATED + } +} diff --git a/libs/remix-ui/run-tab/src/lib/components/account.tsx b/libs/remix-ui/run-tab/src/lib/components/account.tsx index 1429d8d33a..6456827d49 100644 --- a/libs/remix-ui/run-tab/src/lib/components/account.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/account.tsx @@ -1,8 +1,10 @@ // eslint-disable-next-line no-use-before-define import React, { useEffect, useState, useRef } from 'react' +import { FormattedMessage, useIntl } from 'react-intl' import { CopyToClipboard } from '@remix-ui/clipboard' import { AccountProps } from '../types' import { PassphrasePrompt } from './passphrase' +import { CustomTooltip } from '@remix-ui/helper' export function AccountUI (props: AccountProps) { const { selectedAccount, loadedAccounts } = props.accounts @@ -13,6 +15,8 @@ export function AccountUI (props: AccountProps) { }) const messageRef = useRef('') + const intl = useIntl() + useEffect(() => { if (!selectedAccount && accounts.length > 0) props.setAccount(accounts[0]) }, [accounts, selectedAccount]) @@ -78,7 +82,7 @@ export function AccountUI (props: AccountProps) { message='Enter your passphrase for this account to sign the message' setPassphrase={props.setPassphrase} />, 'OK', () => { - props.modal('Sign a message', signMessagePrompt(), 'OK', () => { + props.modal(intl.formatMessage({id: 'udapp.signAMessage', defaultMessage: 'Sign a message'}), signMessagePrompt(), 'OK', () => { props.signMessageWithAddress(selectedAccount, messageRef.current, signedMessagePrompt, props.passphrase) props.setPassphrase('') }, 'Cancel', null) @@ -87,7 +91,7 @@ export function AccountUI (props: AccountProps) { }) } - props.modal('Sign a message', signMessagePrompt(), 'OK', () => { + props.modal(intl.formatMessage({id: 'udapp.signAMessage', defaultMessage: 'Sign a message'}), signMessagePrompt(), 'OK', () => { props.signMessageWithAddress(selectedAccount, messageRef.current, signedMessagePrompt) }, 'Cancel', null) } @@ -119,7 +123,7 @@ export function AccountUI (props: AccountProps) { const signMessagePrompt = () => { return ( -
Enter a message to sign +