Skip to content

Instantly share code, notes, and snippets.

@zone117x
Last active May 31, 2018 02:55
Show Gist options
  • Select an option

  • Save zone117x/eab19ec969f1a22d71927b86661e040a to your computer and use it in GitHub Desktop.

Select an option

Save zone117x/eab19ec969f1a22d71927b86661e040a to your computer and use it in GitHub Desktop.
{
"absolutePath": "TestContracts\/ExampleContract.sol",
"exportedSymbols": {
"ExampleContract": [
311
]
},
"id": 312,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.4",
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:0"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": "@title An example contract title\r\n @author Matthew Little\r\n @notice This is a test contract\r\n @dev Hello dev\r",
"fullyImplemented": true,
"id": 311,
"linearizedBaseContracts": [
311
],
"name": "ExampleContract",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 5,
"name": "balances",
"nodeType": "VariableDeclaration",
"scope": 311,
"src": "276:44:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
"typeString": "mapping(address => uint256)"
},
"typeName": {
"id": 4,
"keyType": {
"id": 2,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "285:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Mapping",
"src": "276:28:0",
"typeDescriptions": {
"typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
"typeString": "mapping(address => uint256)"
},
"valueType": {
"id": 3,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "296:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
},
"value": null,
"visibility": "public"
},
{
"anonymous": false,
"documentation": "@notice A test event\r",
"id": 13,
"name": "TestEvent",
"nodeType": "EventDefinition",
"parameters": {
"id": 12,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7,
"indexed": true,
"name": "_addr",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "375:21:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "375:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9,
"indexed": true,
"name": "_id",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "398:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 8,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "398:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 11,
"indexed": false,
"name": "_val",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "418:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 10,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "418:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "374:54:0"
},
"src": "359:70:0"
},
{
"anonymous": false,
"documentation": null,
"id": 15,
"name": "EmptyEvent",
"nodeType": "EventDefinition",
"parameters": {
"id": 14,
"nodeType": "ParameterList",
"parameters": [],
"src": "453:2:0"
},
"src": "437:19:0"
},
{
"constant": false,
"id": 17,
"name": "givenName",
"nodeType": "VariableDeclaration",
"scope": 311,
"src": "461:23:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 16,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "461:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "public"
},
{
"constant": false,
"id": 19,
"name": "enabledThing",
"nodeType": "VariableDeclaration",
"scope": 311,
"src": "488:24:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 18,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "488:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "public"
},
{
"constant": false,
"id": 21,
"name": "last",
"nodeType": "VariableDeclaration",
"scope": 311,
"src": "516:19:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 20,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "516:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "public"
},
{
"body": {
"id": 42,
"nodeType": "Block",
"src": "644:79:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 32,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 30,
"name": "givenName",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 17,
"src": "649:9:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string storage ref"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 31,
"name": "_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 23,
"src": "661:5:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
"src": "649:17:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string storage ref"
}
},
"id": 33,
"nodeType": "ExpressionStatement",
"src": "649:17:0"
},
{
"expression": {
"argumentTypes": null,
"id": 36,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 34,
"name": "enabledThing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 19,
"src": "671:12:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 35,
"name": "_enableThing",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 25,
"src": "686:12:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "671:27:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 37,
"nodeType": "ExpressionStatement",
"src": "671:27:0"
},
{
"expression": {
"argumentTypes": null,
"id": 40,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 38,
"name": "last",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 21,
"src": "703:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 39,
"name": "_last",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 27,
"src": "710:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "703:12:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 41,
"nodeType": "ExpressionStatement",
"src": "703:12:0"
}
]
},
"documentation": "@notice The constructor\r",
"id": 43,
"implemented": true,
"isConstructor": true,
"isDeclaredConst": false,
"modifiers": [],
"name": "",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 28,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 23,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 43,
"src": "589:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 22,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "589:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 25,
"name": "_enableThing",
"nodeType": "VariableDeclaration",
"scope": 43,
"src": "603:17:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 24,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "603:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 27,
"name": "_last",
"nodeType": "VariableDeclaration",
"scope": 43,
"src": "622:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 26,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "622:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "588:48:0"
},
"payable": false,
"returnParameters": {
"id": 29,
"nodeType": "ParameterList",
"parameters": [],
"src": "644:0:0"
},
"scope": 311,
"src": "577:146:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 83,
"nodeType": "Block",
"src": "780:101:0",
"statements": [
{
"assignments": [],
"declarations": [
{
"constant": false,
"id": 54,
"name": "arr",
"nodeType": "VariableDeclaration",
"scope": 84,
"src": "785:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4]"
},
"typeName": {
"baseType": {
"id": 52,
"name": "int16",
"nodeType": "ElementaryTypeName",
"src": "785:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 53,
"length": {
"argumentTypes": null,
"hexValue": "34",
"id": 51,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "791:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "4"
},
"nodeType": "ArrayTypeName",
"src": "785:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4]"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 55,
"initialValue": null,
"nodeType": "VariableDeclarationStatement",
"src": "785:12:0"
},
{
"expression": {
"argumentTypes": null,
"id": 60,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 56,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "802:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4] storage pointer"
}
},
"id": 58,
"indexExpression": {
"argumentTypes": null,
"hexValue": "30",
"id": 57,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "806:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "802:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "31",
"id": 59,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "811:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "802:10:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 61,
"nodeType": "ExpressionStatement",
"src": "802:10:0"
},
{
"expression": {
"argumentTypes": null,
"id": 67,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 62,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "817:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4] storage pointer"
}
},
"id": 64,
"indexExpression": {
"argumentTypes": null,
"hexValue": "31",
"id": 63,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "821:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "817:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 66,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "-",
"prefix": true,
"src": "826:2:0",
"subExpression": {
"argumentTypes": null,
"hexValue": "32",
"id": 65,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "827:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"typeDescriptions": {
"typeIdentifier": "t_rational_-2_by_1",
"typeString": "int_const -2"
}
},
"src": "817:11:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 68,
"nodeType": "ExpressionStatement",
"src": "817:11:0"
},
{
"expression": {
"argumentTypes": null,
"id": 73,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 69,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "833:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4] storage pointer"
}
},
"id": 71,
"indexExpression": {
"argumentTypes": null,
"hexValue": "32",
"id": 70,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "837:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "833:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "3239",
"id": 72,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "842:2:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_29_by_1",
"typeString": "int_const 29"
},
"value": "29"
},
"src": "833:11:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 74,
"nodeType": "ExpressionStatement",
"src": "833:11:0"
},
{
"expression": {
"argumentTypes": null,
"id": 79,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 75,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "849:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4] storage pointer"
}
},
"id": 77,
"indexExpression": {
"argumentTypes": null,
"hexValue": "33",
"id": 76,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "853:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_3_by_1",
"typeString": "int_const 3"
},
"value": "3"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "849:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "333939",
"id": 78,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "858:3:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_399_by_1",
"typeString": "int_const 399"
},
"value": "399"
},
"src": "849:12:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 80,
"nodeType": "ExpressionStatement",
"src": "849:12:0"
},
{
"expression": {
"argumentTypes": null,
"id": 81,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "873:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4] storage pointer"
}
},
"functionReturnParameters": 49,
"id": 82,
"nodeType": "Return",
"src": "866:10:0"
}
]
},
"documentation": null,
"id": 84,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "getArrayStatic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 44,
"nodeType": "ParameterList",
"parameters": [],
"src": "751:2:0"
},
"payable": false,
"returnParameters": {
"id": 49,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 48,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 84,
"src": "770:8:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_memory_ptr",
"typeString": "int16[4]"
},
"typeName": {
"baseType": {
"id": 45,
"name": "int16",
"nodeType": "ElementaryTypeName",
"src": "770:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 47,
"length": {
"argumentTypes": null,
"hexValue": "34",
"id": 46,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "776:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "4"
},
"nodeType": "ArrayTypeName",
"src": "770:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$4_storage_ptr",
"typeString": "int16[4]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "769:10:0"
},
"scope": 311,
"src": "728:153:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 128,
"nodeType": "Block",
"src": "938:125:0",
"statements": [
{
"assignments": [],
"declarations": [
{
"constant": false,
"id": 93,
"name": "arr",
"nodeType": "VariableDeclaration",
"scope": 129,
"src": "943:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[]"
},
"typeName": {
"baseType": {
"id": 91,
"name": "int16",
"nodeType": "ElementaryTypeName",
"src": "943:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 92,
"length": null,
"nodeType": "ArrayTypeName",
"src": "943:7:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[]"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 94,
"initialValue": null,
"nodeType": "VariableDeclarationStatement",
"src": "943:11:0"
},
{
"expression": {
"argumentTypes": null,
"id": 99,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 95,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "965:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"id": 97,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"memberName": "length",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
"src": "965:10:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "34",
"id": 98,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "978:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_4_by_1",
"typeString": "int_const 4"
},
"value": "4"
},
"src": "965:14:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 100,
"nodeType": "ExpressionStatement",
"src": "965:14:0"
},
{
"expression": {
"argumentTypes": null,
"id": 105,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 101,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "984:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"id": 103,
"indexExpression": {
"argumentTypes": null,
"hexValue": "30",
"id": 102,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "988:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "984:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "31",
"id": 104,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "993:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "984:10:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 106,
"nodeType": "ExpressionStatement",
"src": "984:10:0"
},
{
"expression": {
"argumentTypes": null,
"id": 112,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 107,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "999:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"id": 109,
"indexExpression": {
"argumentTypes": null,
"hexValue": "31",
"id": 108,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1003:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "999:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 111,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "-",
"prefix": true,
"src": "1008:2:0",
"subExpression": {
"argumentTypes": null,
"hexValue": "32",
"id": 110,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1009:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"typeDescriptions": {
"typeIdentifier": "t_rational_-2_by_1",
"typeString": "int_const -2"
}
},
"src": "999:11:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 113,
"nodeType": "ExpressionStatement",
"src": "999:11:0"
},
{
"expression": {
"argumentTypes": null,
"id": 118,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 114,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "1015:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"id": 116,
"indexExpression": {
"argumentTypes": null,
"hexValue": "32",
"id": 115,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1019:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2_by_1",
"typeString": "int_const 2"
},
"value": "2"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "1015:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "3239",
"id": 117,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1024:2:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_29_by_1",
"typeString": "int_const 29"
},
"value": "29"
},
"src": "1015:11:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 119,
"nodeType": "ExpressionStatement",
"src": "1015:11:0"
},
{
"expression": {
"argumentTypes": null,
"id": 124,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 120,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "1031:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"id": 122,
"indexExpression": {
"argumentTypes": null,
"hexValue": "33",
"id": 121,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1035:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_3_by_1",
"typeString": "int_const 3"
},
"value": "3"
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "1031:6:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "333939",
"id": 123,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1040:3:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_399_by_1",
"typeString": "int_const 399"
},
"value": "399"
},
"src": "1031:12:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 125,
"nodeType": "ExpressionStatement",
"src": "1031:12:0"
},
{
"expression": {
"argumentTypes": null,
"id": 126,
"name": "arr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 93,
"src": "1055:3:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[] storage pointer"
}
},
"functionReturnParameters": 89,
"id": 127,
"nodeType": "Return",
"src": "1048:10:0"
}
]
},
"documentation": null,
"id": 129,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "getArrayDynamic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 85,
"nodeType": "ParameterList",
"parameters": [],
"src": "910:2:0"
},
"payable": false,
"returnParameters": {
"id": 89,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 88,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 129,
"src": "929:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_memory_ptr",
"typeString": "int16[]"
},
"typeName": {
"baseType": {
"id": 86,
"name": "int16",
"nodeType": "ElementaryTypeName",
"src": "929:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int16",
"typeString": "int16"
}
},
"id": 87,
"length": null,
"nodeType": "ArrayTypeName",
"src": "929:7:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int16_$dyn_storage_ptr",
"typeString": "int16[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "928:9:0"
},
"scope": 311,
"src": "886:177:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 140,
"nodeType": "Block",
"src": "1139:31:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 138,
"name": "input",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 132,
"src": "1157:5:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$dyn_memory_ptr",
"typeString": "uint24[] memory"
}
},
"functionReturnParameters": 137,
"id": 139,
"nodeType": "Return",
"src": "1150:12:0"
}
]
},
"documentation": null,
"id": 141,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoArrayDynamic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 133,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 132,
"name": "input",
"nodeType": "VariableDeclaration",
"scope": 141,
"src": "1097:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$dyn_memory_ptr",
"typeString": "uint24[]"
},
"typeName": {
"baseType": {
"id": 130,
"name": "uint24",
"nodeType": "ElementaryTypeName",
"src": "1097:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
}
},
"id": 131,
"length": null,
"nodeType": "ArrayTypeName",
"src": "1097:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$dyn_storage_ptr",
"typeString": "uint24[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1096:16:0"
},
"payable": false,
"returnParameters": {
"id": 137,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 136,
"name": "result",
"nodeType": "VariableDeclaration",
"scope": 141,
"src": "1122:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$dyn_memory_ptr",
"typeString": "uint24[]"
},
"typeName": {
"baseType": {
"id": 134,
"name": "uint24",
"nodeType": "ElementaryTypeName",
"src": "1122:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
}
},
"id": 135,
"length": null,
"nodeType": "ArrayTypeName",
"src": "1122:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$dyn_storage_ptr",
"typeString": "uint24[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1121:17:0"
},
"scope": 311,
"src": "1071:99:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 154,
"nodeType": "Block",
"src": "1247:31:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 152,
"name": "input",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 145,
"src": "1265:5:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$5_memory_ptr",
"typeString": "uint24[5] memory"
}
},
"functionReturnParameters": 151,
"id": 153,
"nodeType": "Return",
"src": "1258:12:0"
}
]
},
"documentation": null,
"id": 155,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoArrayStatic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 146,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 145,
"name": "input",
"nodeType": "VariableDeclaration",
"scope": 155,
"src": "1203:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$5_memory_ptr",
"typeString": "uint24[5]"
},
"typeName": {
"baseType": {
"id": 142,
"name": "uint24",
"nodeType": "ElementaryTypeName",
"src": "1203:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
}
},
"id": 144,
"length": {
"argumentTypes": null,
"hexValue": "35",
"id": 143,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1210:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "5"
},
"nodeType": "ArrayTypeName",
"src": "1203:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$5_storage_ptr",
"typeString": "uint24[5]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1202:17:0"
},
"payable": false,
"returnParameters": {
"id": 151,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 150,
"name": "result",
"nodeType": "VariableDeclaration",
"scope": 155,
"src": "1229:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$5_memory_ptr",
"typeString": "uint24[5]"
},
"typeName": {
"baseType": {
"id": 147,
"name": "uint24",
"nodeType": "ElementaryTypeName",
"src": "1229:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
}
},
"id": 149,
"length": {
"argumentTypes": null,
"hexValue": "35",
"id": 148,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1236:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "5"
},
"nodeType": "ArrayTypeName",
"src": "1229:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint24_$5_storage_ptr",
"typeString": "uint24[5]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1228:18:0"
},
"scope": 311,
"src": "1178:100:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 175,
"nodeType": "Block",
"src": "1394:38:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"components": [
{
"argumentTypes": null,
"id": 170,
"name": "p1",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 157,
"src": "1413:2:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
{
"argumentTypes": null,
"id": 171,
"name": "p2",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 159,
"src": "1417:2:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"id": 172,
"name": "p3",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 161,
"src": "1421:2:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"id": 173,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "1412:12:0",
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_uint32_$_t_bool_$_t_address_$",
"typeString": "tuple(uint32,bool,address)"
}
},
"functionReturnParameters": 169,
"id": 174,
"nodeType": "Return",
"src": "1405:19:0"
}
]
},
"documentation": null,
"id": 176,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoMultipleStatic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 162,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 157,
"name": "p1",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1314:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 156,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "1314:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 159,
"name": "p2",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1325:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 158,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1325:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 161,
"name": "p3",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1334:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 160,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1334:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1313:32:0"
},
"payable": false,
"returnParameters": {
"id": 169,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 164,
"name": "r1",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1362:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 163,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "1362:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 166,
"name": "r2",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1373:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 165,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1373:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 168,
"name": "r3",
"nodeType": "VariableDeclaration",
"scope": 176,
"src": "1382:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 167,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1382:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1361:32:0"
},
"scope": 311,
"src": "1286:146:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 196,
"nodeType": "Block",
"src": "1551:38:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"components": [
{
"argumentTypes": null,
"id": 191,
"name": "p1",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 178,
"src": "1570:2:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 192,
"name": "p2",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 180,
"src": "1574:2:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 193,
"name": "p3",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 182,
"src": "1578:2:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"id": 194,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "1569:12:0",
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$",
"typeString": "tuple(string memory,string memory,string memory)"
}
},
"functionReturnParameters": 190,
"id": 195,
"nodeType": "Return",
"src": "1562:19:0"
}
]
},
"documentation": null,
"id": 197,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoMultipleDynamic",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 183,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 178,
"name": "p1",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1469:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 177,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1469:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 180,
"name": "p2",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1480:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 179,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1480:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 182,
"name": "p3",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1491:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 181,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1491:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1468:33:0"
},
"payable": false,
"returnParameters": {
"id": 190,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 185,
"name": "r1",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1518:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 184,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1518:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 187,
"name": "r2",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1529:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 186,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1529:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 189,
"name": "r3",
"nodeType": "VariableDeclaration",
"scope": 197,
"src": "1540:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 188,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1540:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1517:33:0"
},
"scope": 311,
"src": "1440:149:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 238,
"nodeType": "Block",
"src": "1772:54:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"components": [
{
"argumentTypes": null,
"id": 230,
"name": "p1",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 199,
"src": "1795:2:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"id": 231,
"name": "p2",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 201,
"src": "1799:2:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 232,
"name": "p3",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 203,
"src": "1803:2:0",
"typeDescriptions": {
"typeIdentifier": "t_int56",
"typeString": "int56"
}
},
{
"argumentTypes": null,
"id": 233,
"name": "p4",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 206,
"src": "1807:2:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
"typeString": "address[] memory"
}
},
{
"argumentTypes": null,
"id": 234,
"name": "p5",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 208,
"src": "1811:2:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
{
"argumentTypes": null,
"id": 235,
"name": "p6",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 212,
"src": "1815:2:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint64_$3_memory_ptr",
"typeString": "uint64[3] memory"
}
}
],
"id": 236,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "1794:24:0",
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_string_memory_ptr_$_t_int56_$_t_array$_t_address_$dyn_memory_ptr_$_t_uint8_$_t_array$_t_uint64_$3_memory_ptr_$",
"typeString": "tuple(bool,string memory,int56,address[] memory,uint8,uint64[3] memory)"
}
},
"functionReturnParameters": 229,
"id": 237,
"nodeType": "Return",
"src": "1787:31:0"
}
]
},
"documentation": null,
"id": 239,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "boat",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 213,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 199,
"name": "p1",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1611:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 198,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1611:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 201,
"name": "p2",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1620:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 200,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1620:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 203,
"name": "p3",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1631:8:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int56",
"typeString": "int56"
},
"typeName": {
"id": 202,
"name": "int56",
"nodeType": "ElementaryTypeName",
"src": "1631:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int56",
"typeString": "int56"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 206,
"name": "p4",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1641:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 204,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1641:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 205,
"length": null,
"nodeType": "ArrayTypeName",
"src": "1641:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 208,
"name": "p5",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1655:8:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 207,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "1655:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 212,
"name": "p6",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1665:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint64_$3_memory_ptr",
"typeString": "uint64[3]"
},
"typeName": {
"baseType": {
"id": 209,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "1665:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"id": 211,
"length": {
"argumentTypes": null,
"hexValue": "33",
"id": 210,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1672:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "3"
},
"nodeType": "ArrayTypeName",
"src": "1665:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint64_$3_storage_ptr",
"typeString": "uint64[3]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1610:68:0"
},
"payable": false,
"returnParameters": {
"id": 229,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 215,
"name": "r1",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1704:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 214,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1704:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 217,
"name": "r2",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1713:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 216,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1713:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 219,
"name": "r3",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1724:8:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int56",
"typeString": "int56"
},
"typeName": {
"id": 218,
"name": "int56",
"nodeType": "ElementaryTypeName",
"src": "1724:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int56",
"typeString": "int56"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 222,
"name": "r4",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1734:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 220,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1734:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 221,
"length": null,
"nodeType": "ArrayTypeName",
"src": "1734:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 224,
"name": "r5",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1748:8:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 223,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "1748:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 228,
"name": "r6",
"nodeType": "VariableDeclaration",
"scope": 239,
"src": "1758:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint64_$3_memory_ptr",
"typeString": "uint64[3]"
},
"typeName": {
"baseType": {
"id": 225,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "1758:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"id": 227,
"length": {
"argumentTypes": null,
"hexValue": "33",
"id": 226,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1765:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
},
"value": "3"
},
"nodeType": "ArrayTypeName",
"src": "1758:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint64_$3_storage_ptr",
"typeString": "uint64[3]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1703:68:0"
},
"scope": 311,
"src": "1597:229:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 250,
"nodeType": "Block",
"src": "2062:35:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 248,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 246,
"name": "_num",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 241,
"src": "2080:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"hexValue": "39",
"id": 247,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2088:1:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_9_by_1",
"typeString": "int_const 9"
},
"value": "9"
},
"src": "2080:9:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"functionReturnParameters": 245,
"id": 249,
"nodeType": "Return",
"src": "2073:16:0"
}
]
},
"documentation": "@author Unknown author\r\n @notice This is a test function\r\n @dev Hi dev\r\n @param _num What number\r\n @return true if _num is 9\r",
"id": 251,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "myFunc",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 242,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 241,
"name": "_num",
"nodeType": "VariableDeclaration",
"scope": 251,
"src": "2012:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 240,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2012:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2011:14:0"
},
"payable": false,
"returnParameters": {
"id": 245,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 244,
"name": "isNine",
"nodeType": "VariableDeclaration",
"scope": 251,
"src": "2049:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 243,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2049:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2048:13:0"
},
"scope": 311,
"src": "1996:101:0",
"stateMutability": "pure",
"superFunction": null,
"visibility": "external"
},
{
"body": {
"id": 260,
"nodeType": "Block",
"src": "2158:20:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 258,
"name": "val",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 253,
"src": "2170:3:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
"functionReturnParameters": 257,
"id": 259,
"nodeType": "Return",
"src": "2163:10:0"
}
]
},
"documentation": null,
"id": 261,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoString",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 254,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 253,
"name": "val",
"nodeType": "VariableDeclaration",
"scope": 261,
"src": "2122:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 252,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2122:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2121:12:0"
},
"payable": false,
"returnParameters": {
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 256,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 261,
"src": "2150:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 255,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2150:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2149:8:0"
},
"scope": 311,
"src": "2102:76:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 270,
"nodeType": "Block",
"src": "2242:20:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 268,
"name": "val",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 263,
"src": "2254:3:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 267,
"id": 269,
"nodeType": "Return",
"src": "2247:10:0"
}
]
},
"documentation": null,
"id": 271,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoAddress",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 263,
"name": "val",
"nodeType": "VariableDeclaration",
"scope": 271,
"src": "2204:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 262,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2204:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2203:13:0"
},
"payable": false,
"returnParameters": {
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 271,
"src": "2233:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 265,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2233:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2232:9:0"
},
"scope": 311,
"src": "2183:79:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 291,
"nodeType": "Block",
"src": "2366:33:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"components": [
{
"argumentTypes": null,
"id": 286,
"name": "addr",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 273,
"src": "2379:4:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"argumentTypes": null,
"id": 287,
"name": "num",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 275,
"src": "2385:3:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 288,
"name": "str",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 277,
"src": "2390:3:0",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"id": 289,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "2378:16:0",
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_address_$_t_uint256_$_t_string_memory_ptr_$",
"typeString": "tuple(address,uint256,string memory)"
}
},
"functionReturnParameters": 285,
"id": 290,
"nodeType": "Return",
"src": "2371:23:0"
}
]
},
"documentation": null,
"id": 292,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoMany",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 278,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 273,
"name": "addr",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2285:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 272,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2285:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 275,
"name": "num",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2299:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 274,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2299:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 277,
"name": "str",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2312:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 276,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2312:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2284:39:0"
},
"payable": false,
"returnParameters": {
"id": 285,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 280,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2340:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 279,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2340:7:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 282,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2349:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 281,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2349:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 284,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 292,
"src": "2358:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 283,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2358:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2339:26:0"
},
"scope": 311,
"src": "2267:132:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 301,
"nodeType": "Block",
"src": "2469:30:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 299,
"name": "_num",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 294,
"src": "2487:4:0",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
}
},
"functionReturnParameters": 298,
"id": 300,
"nodeType": "Return",
"src": "2480:11:0"
}
]
},
"documentation": null,
"id": 302,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "echoInt24",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 295,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 294,
"name": "_num",
"nodeType": "VariableDeclaration",
"scope": 302,
"src": "2426:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
},
"typeName": {
"id": 293,
"name": "int24",
"nodeType": "ElementaryTypeName",
"src": "2426:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2425:12:0"
},
"payable": false,
"returnParameters": {
"id": 298,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 297,
"name": "_result",
"nodeType": "VariableDeclaration",
"scope": 302,
"src": "2454:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
},
"typeName": {
"id": 296,
"name": "int24",
"nodeType": "ElementaryTypeName",
"src": "2454:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2453:15:0"
},
"scope": 311,
"src": "2407:92:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 305,
"nodeType": "Block",
"src": "2534:18:0",
"statements": []
},
"documentation": null,
"id": 306,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "noopFunc",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 303,
"nodeType": "ParameterList",
"parameters": [],
"src": "2524:2:0"
},
"payable": false,
"returnParameters": {
"id": 304,
"nodeType": "ParameterList",
"parameters": [],
"src": "2534:0:0"
},
"scope": 311,
"src": "2507:45:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 309,
"nodeType": "Block",
"src": "2617:10:0",
"statements": []
},
"documentation": "@notice The fallback function\r",
"id": 310,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 307,
"nodeType": "ParameterList",
"parameters": [],
"src": "2607:2:0"
},
"payable": false,
"returnParameters": {
"id": 308,
"nodeType": "ParameterList",
"parameters": [],
"src": "2617:0:0"
},
"scope": 311,
"src": "2599:28:0",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 312,
"src": "151:2481:0"
}
],
"src": "0:2632:0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment