gitlink_blockchain/bin/contract/opensource/OpenSource.json

5312 lines
376 KiB
JSON
Raw Normal View History

2023-01-19 22:30:01 +08:00
{
"contractName": "OpenSource",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "string",
"name": "token_name",
"type": "string"
},
{
"internalType": "string",
"name": "owner",
"type": "string"
},
{
"internalType": "uint256",
"name": "total_supply",
"type": "uint256"
},
{
"internalType": "string[]",
"name": "username",
"type": "string[]"
},
{
"internalType": "uint256[]",
"name": "balance",
"type": "uint256[]"
}
],
"name": "createRepo",
"outputs": [
{
"internalType": "int256",
"name": "",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "username",
"type": "string"
}
],
"name": "selectUserAllBalance",
"outputs": [
{
"internalType": "string[]",
"name": "",
"type": "string[]"
},
{
"internalType": "string[]",
"name": "",
"type": "string[]"
},
{
"internalType": "int256[]",
"name": "",
"type": "int256[]"
}
],
"stateMutability": "view",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.7.0+commit.9e61f92b\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"token_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"owner\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"total_supply\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"username\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"balance\",\"type\":\"uint256[]\"}],\"name\":\"createRepo\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"username\",\"type\":\"string\"}],\"name\":\"selectUserAllBalance\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/qiubing/\\u684c\\u9762/trustie-fisco-bcos/contract/opensource/opensource.sol\":\"OpenSource\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/qiubing/\\u684c\\u9762/trustie-fisco-bcos/contract/opensource/Table.sol\":{\"keccak256\":\"0x889fa74c239f73768a278affdfcb8d869650f3732308390982943ec640590196\",\"urls\":[\"bzz-raw://ef4984fd064d08dab682c2e6092d12f6cfcce9acc2ff7b22b638b42127f24424\",\"dweb:/ipfs/QmR5ypx4Wemy3Qp6Sea2XVTy6U3QJbVczh4JWDRDPEiuGc\"]},\"/home/qiubing/\\u684c\\u9762/trustie-fisco-bcos/contract/opensource/opensource.sol\":{\"keccak256\":\"0xe2b2e17b9bd4b10bc240f4165b120e6eece270f2dd165f9a983da7fd9400d2f0\",\"urls\":[\"bzz-raw://ca6598ee1976e3b9420a03dbfc1ed8765d6c00ce378774f4cae9e6da7a12f534\",\"dweb:/ipfs/QmPqpsgVSLzaLKk9dPDeFFZo8FDzTmsGUbrV93a6FzmD3b\"]}},\"version\":1}",
"bytecode": "60806040523480156200001157600080fd5b50600080546001600160a01b03191661100117908190556040805180820182526004808252637265706f60e01b60208301529151632b0025b560e11b81526001600160a01b0393909316926356004b6a926200006f9291016200023b565b602060405180830381600087803b1580156200008a57600080fd5b505af11580156200009f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c591906200016c565b506000546040805180820182526004808252633ab9b2b960e11b60208301529151632b0025b560e11b81526001600160a01b03909316926356004b6a926200010f929101620001d3565b602060405180830381600087803b1580156200012a57600080fd5b505af11580156200013f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016591906200016c565b50620002a9565b6000602082840312156200017e578081fd5b5051919050565b60008151808452815b81811015620001ac576020818501810151868301820152016200018e565b81811115620001be5782602083870101525b50601f01601f19169290920160200192915050565b600060608252620001e8606083018462000185565b82810380602085015260048252633ab9b2b960e11b6020830152604081016040850152506012604082015271746f6b656e5f6e616d652c62616c616e636560701b60608201526080810191505092915050565b60006060825262000250606083018462000185565b828103806020850152600a825269746f6b656e5f6e616d6560b01b60208301526040810160408501525060126040820152716f776e65722c746f74616c5f737570706c7960701b60608201526080810191505092915050565b6114a980620002b96000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806383e9c79f1461003b578063c50573fa14610064575b600080fd5b61004e610049366004611084565b610086565b60405161005b9190611284565b60405180910390f35b610077610072366004610fdf565b610748565b60405161005b9392919061121c565b600061009186610cc4565b1515600114156100a557506103e81961073f565b6000805b83518110156100d5578381815181106100be57fe5b6020026020010151820191508060010190506100a9565b818610156100ea576103e9199250505061073f565b600080546040805180820182526004808252637265706f60e01b6020830152915163f23f63c960e01b81526001600160a01b039093169263f23f63c99261013292910161128d565b60206040518083038186803b15801561014a57600080fd5b505afa15801561015e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101829190610fa4565b600080546040805180820182526004808252633ab9b2b960e11b6020830152915163f23f63c960e01b815294955092936001600160a01b039092169263f23f63c9926101ce920161128d565b60206040518083038186803b1580156101e657600080fd5b505afa1580156101fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021e9190610fa4565b90506000826001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561025b57600080fd5b505afa15801561026f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102939190610fa4565b6040516374a15a8b60e11b81529091506001600160a01b0382169063e942b516906102c2908e90600401611363565b600060405180830381600087803b1580156102dc57600080fd5b505af11580156102f0573d6000803e3d6000fd5b50506040516374a15a8b60e11b81526001600160a01b038416925063e942b5169150610320908d906004016112ca565b600060405180830381600087803b15801561033a57600080fd5b505af115801561034e573d6000803e3d6000fd5b5050604051638a42ebe960e01b81526001600160a01b0384169250638a42ebe9915061037e908c906004016112f9565b600060405180830381600087803b15801561039857600080fd5b505af11580156103ac573d6000803e3d6000fd5b50506040516318d7d61b60e11b8152600092506001600160a01b03861691506331afac36906103e1908f9086906004016112a0565b602060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104339190610fc7565b90508060011461044a57955061073f945050505050565b6000836001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561048557600080fd5b505afa158015610499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bd9190610fa4565b9050600095505b885186101561073657836001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561050657600080fd5b505afa15801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053e9190610fa456
"deployedBytecode": "608060405234801561001057600080fd5b50600436106100365760003560e01c806383e9c79f1461003b578063c50573fa14610064575b600080fd5b61004e610049366004611084565b610086565b60405161005b9190611284565b60405180910390f35b610077610072366004610fdf565b610748565b60405161005b9392919061121c565b600061009186610cc4565b1515600114156100a557506103e81961073f565b6000805b83518110156100d5578381815181106100be57fe5b6020026020010151820191508060010190506100a9565b818610156100ea576103e9199250505061073f565b600080546040805180820182526004808252637265706f60e01b6020830152915163f23f63c960e01b81526001600160a01b039093169263f23f63c99261013292910161128d565b60206040518083038186803b15801561014a57600080fd5b505afa15801561015e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101829190610fa4565b600080546040805180820182526004808252633ab9b2b960e11b6020830152915163f23f63c960e01b815294955092936001600160a01b039092169263f23f63c9926101ce920161128d565b60206040518083038186803b1580156101e657600080fd5b505afa1580156101fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021e9190610fa4565b90506000826001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561025b57600080fd5b505afa15801561026f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102939190610fa4565b6040516374a15a8b60e11b81529091506001600160a01b0382169063e942b516906102c2908e90600401611363565b600060405180830381600087803b1580156102dc57600080fd5b505af11580156102f0573d6000803e3d6000fd5b50506040516374a15a8b60e11b81526001600160a01b038416925063e942b5169150610320908d906004016112ca565b600060405180830381600087803b15801561033a57600080fd5b505af115801561034e573d6000803e3d6000fd5b5050604051638a42ebe960e01b81526001600160a01b0384169250638a42ebe9915061037e908c906004016112f9565b600060405180830381600087803b15801561039857600080fd5b505af11580156103ac573d6000803e3d6000fd5b50506040516318d7d61b60e11b8152600092506001600160a01b03861691506331afac36906103e1908f9086906004016112a0565b602060405180830381600087803b1580156103fb57600080fd5b505af115801561040f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104339190610fc7565b90508060011461044a57955061073f945050505050565b6000836001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561048557600080fd5b505afa158015610499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bd9190610fa4565b9050600095505b885186101561073657836001600160a01b03166313db93466040518163ffffffff1660e01b815260040160206040518083038186803b15801561050657600080fd5b505afa15801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053e9190610fa4565b9050826001600160a01b031663e942b5168b888151811061055b57fe5b60200260200101516040518263ffffffff1660e01b815260040161057f919061133f565b600060405180830381600087803b15801561059957600080fd5b505af11580156105ad573d6000803e3d6000fd5b50505050826001600160a01b031663e942b5168e6040518263ffffffff1660e01b81526004016105dd9190611363565b600060405180830381600087803b1580156105f757600080fd5b505af115801561060b573d6000803e3d6000fd5b50505050826001600160a01b0316638a42ebe98a888151811061062a57fe5b60200260200101516040518263ffffffff1660e01b815260040161064e9190611397565b600060405180830381600087803b15801561066857600080fd5b505af115801561067c573d6000803e3d6000fd5b50505050836001600160a01b03166331afac368b888151811061069b57fe5b6020026020010151836040518363ffffffff1660e01b81526004016106c19291906112a0565b602060405180830381600087803b1580156106db57600080fd5b505af11580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190610fc7565b91508160011461072b5750955061073f945050505050565b8560010195506104c4565b50955050505050505b95945050505050565b600080546040805180820182526004808252633ab9b2b960e11b6020830152915163f23f63c960e01b81526060948594859491936001600160a01b039091169263f23f63c99261079992910161128d565b60206040518083038186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190610fa4565b905060008160016001
"sourceMap": "91:3408:1:-:0;;;231:384;;;;;;;;;-1:-1:-1;262:12:1;:35;;-1:-1:-1;;;;;;262:35:1;290:6;262:35;;;;;485:10;;;;;;;;;;;;-1:-1:-1;;;485:10:1;;;;460:72;;-1:-1:-1;;;460:72:1;;-1:-1:-1;;;;;460:12:1;;;;;:24;;:72;;485:10;460:72;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;542:12:1;;567:10;;;;;;;;;;;;-1:-1:-1;;;567:10:1;;;;542:66;;-1:-1:-1;;;542:66:1;;-1:-1:-1;;;;;542:12:1;;;;:24;;:66;;567:10;542:66;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;91:3408;;144:261:-1;;258:2;246:9;237:7;233:23;229:32;226:2;;;-1:-1;;264:12;226:2;-1:-1;82:13;;220:185;-1:-1;220:185::o;412:347::-;;557:5;3993:12;4150:6;4145:3;4138:19;-1:-1;4357:101;4371:6;4368:1;4365:13;4357:101;;;4187:4;4438:11;;;;;4432:18;4419:11;;;;;4412:39;4386:10;4357:101;;;4473:6;4470:1;4467:13;4464:2;;;-1:-1;4187:4;4529:6;4182:3;4520:16;;4513:27;4464:2;-1:-1;4645:7;4629:14;-1:-1;;4625:28;715:39;;;;4187:4;715:39;;504:255;-1:-1;;504:255::o;2051:920::-;;2400:2;2421:17;2414:47;2475:78;2400:2;2389:9;2385:18;2539:6;2475:78;:::i;:::-;2601:9;2595:4;2591:20;;2586:2;2575:9;2571:18;2564:48;1645:1;4145:3;4138:19;-1:-1;;;2586:2;4182:3;4178:14;1660:27;2795:20;;;2790:2;2779:9;2775:18;2768:48;;1318:2;1706:12;4182:3;1706:12;4138:19;-1:-1;;;2400:2;4182:3;4178:14;1334:41;1394:12;4182:3;1394:12;2822:139;;;2371:600;;;;:::o;2978:920::-;;3327:2;3348:17;3341:47;3402:78;3327:2;3316:9;3312:18;3466:6;3402:78;:::i;:::-;3528:9;3522:4;3518:20;;3513:2;3502:9;3498:18;3491:48;1957:2;4145:3;4138:19;-1:-1;;;3513:2;4182:3;4178:14;1973:33;2025:12;3722:20;;2025:12;3706:9;3702:18;3695:48;;991:2;2025:12;4182:3;2025:12;4138:19;-1:-1;;;3327:2;4182:3;4178:14;1007:41;1067:12;4182:3;1067:12;3749:139;;;3298:600;;;;:::o;:::-;91:3408:1;;;;;;",
"deployedSourceMap": "91:3408:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;640:1483;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2160:968;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;640:1483::-;813:6;839:29;857:10;839:17;:29::i;:::-;:37;;872:4;839:37;835:80;;;-1:-1:-1;;;892:12:1;;835:80;924:21;;982:89;998:7;:14;994:1;:18;982:89;;;1050:7;1058:1;1050:10;;;;;;;;;;;;;;1033:27;;;;1014:3;;;;;982:89;;;1099:13;1084:12;:28;1080:71;;;-1:-1:-1;;1128:12:1;;;;;;1080:71;1160:16;1179:12;;1202:10;;;;;;;;;;;;-1:-1:-1;;;1202:10:1;;;;1179:34;;-1:-1:-1;;;1179:34:1;;-1:-1:-1;;;;;1179:12:1;;;;:22;;:34;;1202:10;1179:34;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1223:16;1242:12;;1265:10;;;;;;;;;;;;-1:-1:-1;;;1265:10:1;;;;1242:34;;-1:-1:-1;;;1242:34:1;;1160:53;;-1:-1:-1;1223:16:1;;-1:-1:-1;;;;;1242:12:1;;;;:22;;:34;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1223:53;;1287:16;1306:10;-1:-1:-1;;;;;1306:19:1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1337:40;;-1:-1:-1;;;1337:40:1;;1287;;-1:-1:-1;;;;;;1337:14:1;;;;;:40;;1366:10;;1337:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1387:30:1;;-1:-1:-1;;;1387:30:1;;-1:-1:-1;;;;;1387:14:1;;;-1:-1:-1;1387:14:1;;-1:-1:-1;1387:30:1;;1411:5;;1387:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1427:44:1;;-1:-1:-1;;;1427:44:1;;-1:-1:-1;;;;;1427:14:1;;;-1:-1:-1;1427:14:1;;-1:-1:-1;1427:44:1;;1458:12;;1427:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1497:41:1;;-1:-1:-1;;;1497:41:1;;1482:12;;-1:-1:-1;;;;;;1497:17:1;;;-1:-1:-1;1497:17:1;;:41;;1515:10;;1527;;1497:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1482:56;;1552:5;1561:1;1552:10;1548:53;;1585:5;-1:-1:-1;1578:12:1;;-1:-1:-1;;;;;1578:12:1;1548:53;1611:16;1630:10;-1:-1:-1;;;;;1630:19:1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1611:40;;1670:1;1666:5;;1661:388;1677:7;:14;1673:1;:18;1661:388;;;1725:10;-1:-1:-1;;;;;1725:19:1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1712:34;;1760:10;-1:-1:-1;;;;;1760:14:1;;1783:8;1792:1;1783:11;;;;;;;;;;;;;;1760:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1809:10;-1:-1:-1;;;;;1809:14:1;;1838:10;1809:40;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1863:10;-1:-1:-1;;;;;1863:14:1;;1889:7;1897:1;1889:10;;;;;;;;;;;;;;1863:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1922:10;-1:-1:-1;;;;;1922:17:1;;1940:8;1949:1;1940:11;;;;;;;;;;;;;;1953:10;1922:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1914:50;;1982:5;1991:1;1982:10;1978:61;;-1:-1:-1;2019:5:1;-1:-1:-1;2012:12:1;;-1:-1:-1;;;;;2012:12:1;1978:61;1693:3;;;;;1661:388;;;-1:-1:-1;2111:5:1;-1:-1:-1;;;;;;640:1483:1;;;;;;;;:::o;2160:968::-;2325:16;2344:12;;2367:10;;;;;;;;;;;;-1:-1:-1;;;2367:10:1;;;;2344:34;;-1:-1:-1;;;2344:34:1;;2260:15;;;;;;2325:16;;-1:-1:-1;;;;;2344:12:1;;;;:22;;:34;;2367:10;2344:34;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2325:53;;2389:19;2411:10;-1:-1:-1;;;;;2411:23:1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2389:47;;2447:15;2465:10;-1:-1:-1;;;;;2465:17:1;;2483:8;2493:9;2465:38;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2447:56;;2513:29;2566:7;-1:-1:-1;;;;;2566:12:1;;:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2545:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2513:69;;2592:31;2647:7;-1:-1:-1;;;;;2647:12:1;;:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2626:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2592:71;;2673:28;2725:7;-1:-1:-1;;;;;2725:12:1;;:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2704:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2704:37:1;;2673:68;;2757:8;2752:306;2775
"sourcePath": "/home/qiubing/桌面/trustie-fisco-bcos/contract/opensource/opensource.sol",
"compiler": {
"name": "solc",
"version": "0.7.0+commit.9e61f92b"
},
"ast": {
"absolutePath": "/home/qiubing/桌面/trustie-fisco-bcos/contract/opensource/opensource.sol",
"exportedSymbols": {
"OpenSource": [
691
]
},
"id": 692,
"license": null,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 304,
"literals": [
"solidity",
">=",
"0.4",
".24",
"<=",
"0.7",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:32:1"
},
{
"id": 305,
"literals": [
"experimental",
"ABIEncoderV2"
],
"nodeType": "PragmaDirective",
"src": "33:33:1"
},
{
"absolutePath": "/home/qiubing/桌面/trustie-fisco-bcos/contract/opensource/Table.sol",
"file": "./Table.sol",
"id": 306,
"nodeType": "ImportDirective",
"scope": 692,
"sourceUnit": 303,
"src": "68:21:1",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"id": 691,
"linearizedBaseContracts": [
691
],
"name": "OpenSource",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 308,
"mutability": "mutable",
"name": "tableFactory",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 691,
"src": "117:25:1",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
},
"typeName": {
"contractScope": null,
"id": 307,
"name": "TableFactory",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 22,
"src": "117:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": true,
"id": 311,
"mutability": "constant",
"name": "REPO_TABLE",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 691,
"src": "148:35:1",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 309,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "148:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"argumentTypes": null,
"hexValue": "7265706f",
"id": 310,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "177:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_bceafcdac7d4d1be7149d50319ec9a027b85708e52611751865285cb5f24811c",
"typeString": "literal_string \"repo\""
},
"value": "repo"
},
"visibility": "internal"
},
{
"constant": true,
"id": 314,
"mutability": "constant",
"name": "USER_TABLE",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 691,
"src": "189:35:1",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 312,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "189:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"argumentTypes": null,
"hexValue": "75736572",
"id": 313,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "218:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
"value": "user"
},
"visibility": "internal"
},
{
"body": {
"id": 339,
"nodeType": "Block",
"src": "252:363:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 321,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 317,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "262:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "307831303031",
"id": 319,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "290:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_4097_by_1",
"typeString": "int_const 4097"
},
"value": "0x1001"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_4097_by_1",
"typeString": "int_const 4097"
}
],
"id": 318,
"name": "TableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 22,
"src": "277:12:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_TableFactory_$22_$",
"typeString": "type(contract TableFactory)"
}
},
"id": 320,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "277:20:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"src": "262:35:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 322,
"nodeType": "ExpressionStatement",
"src": "262:35:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 326,
"name": "REPO_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 311,
"src": "485:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"hexValue": "746f6b656e5f6e616d65",
"id": 327,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "497:12:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
"value": "token_name"
},
{
"argumentTypes": null,
"hexValue": "6f776e65722c746f74616c5f737570706c79",
"id": 328,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "511:20:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_012e6228780046738e168539abfe18392b3ab4873d4dec8762f6d4c4c6450a2a",
"typeString": "literal_string \"owner,total_supply\""
},
"value": "owner,total_supply"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
{
"typeIdentifier": "t_stringliteral_012e6228780046738e168539abfe18392b3ab4873d4dec8762f6d4c4c6450a2a",
"typeString": "literal_string \"owner,total_supply\""
}
],
"expression": {
"argumentTypes": null,
"id": 323,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "460:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 325,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "createTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 21,
"src": "460:24:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_int256_$",
"typeString": "function (string memory,string memory,string memory) external returns (int256)"
}
},
"id": 329,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "460:72:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 330,
"nodeType": "ExpressionStatement",
"src": "460:72:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 334,
"name": "USER_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 314,
"src": "567:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"hexValue": "75736572",
"id": 335,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "579:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
"value": "user"
},
{
"argumentTypes": null,
"hexValue": "746f6b656e5f6e616d652c62616c616e6365",
"id": 336,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "587:20:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_32f289bef023601576ff5c4f2732e432c2d6b08b446f04a529188d54c8383832",
"typeString": "literal_string \"token_name,balance\""
},
"value": "token_name,balance"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
{
"typeIdentifier": "t_stringliteral_32f289bef023601576ff5c4f2732e432c2d6b08b446f04a529188d54c8383832",
"typeString": "literal_string \"token_name,balance\""
}
],
"expression": {
"argumentTypes": null,
"id": 331,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "542:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 333,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "createTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 21,
"src": "542:24:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_int256_$",
"typeString": "function (string memory,string memory,string memory) external returns (int256)"
}
},
"id": 337,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "542:66:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 338,
"nodeType": "ExpressionStatement",
"src": "542:66:1"
}
]
},
"documentation": null,
"id": 340,
"implemented": true,
"kind": "constructor",
"modifiers": [],
"name": "",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 315,
"nodeType": "ParameterList",
"parameters": [],
"src": "242:2:1"
},
"returnParameters": {
"id": 316,
"nodeType": "ParameterList",
"parameters": [],
"src": "252:0:1"
},
"scope": 691,
"src": "231:384:1",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 527,
"nodeType": "Block",
"src": "825:1298:1",
"statements": [
{
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 361,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 358,
"name": "token_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 342,
"src": "857:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"id": 357,
"name": "judgeReposExisted",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 690,
"src": "839:17:1",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_string_memory_ptr_$returns$_t_bool_$",
"typeString": "function (string memory) returns (bool)"
}
},
"id": 359,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "839:29:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 360,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "872:4:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "839:37:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": null,
"id": 366,
"nodeType": "IfStatement",
"src": "835:80:1",
"trueBody": {
"id": 365,
"nodeType": "Block",
"src": "878:37:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 363,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "-",
"prefix": true,
"src": "899:5:1",
"subExpression": {
"argumentTypes": null,
"hexValue": "31303031",
"id": 362,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "900:4:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1001_by_1",
"typeString": "int_const 1001"
},
"value": "1001"
},
"typeDescriptions": {
"typeIdentifier": "t_rational_minus_1001_by_1",
"typeString": "int_const -1001"
}
},
"functionReturnParameters": 356,
"id": 364,
"nodeType": "Return",
"src": "892:12:1"
}
]
}
},
{
"assignments": [
368
],
"declarations": [
{
"constant": false,
"id": 368,
"mutability": "mutable",
"name": "total_balance",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "924:21:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 367,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "924:7:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 370,
"initialValue": {
"argumentTypes": null,
"hexValue": "30",
"id": 369,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "948:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"nodeType": "VariableDeclarationStatement",
"src": "924:25:1"
},
{
"assignments": [
372
],
"declarations": [
{
"constant": false,
"id": 372,
"mutability": "mutable",
"name": "i",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "959:9:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 371,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "959:7:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 374,
"initialValue": {
"argumentTypes": null,
"hexValue": "30",
"id": 373,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "971:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"nodeType": "VariableDeclarationStatement",
"src": "959:13:1"
},
{
"body": {
"id": 392,
"nodeType": "Block",
"src": "1019:52:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 390,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 386,
"name": "total_balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 368,
"src": "1033:13:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "+=",
"rightHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 387,
"name": "balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 352,
"src": "1050:7:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[] memory"
}
},
"id": 389,
"indexExpression": {
"argumentTypes": null,
"id": 388,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1058:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"nodeType": "IndexAccess",
"src": "1050:10:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1033:27:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 391,
"nodeType": "ExpressionStatement",
"src": "1033:27:1"
}
]
},
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 382,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 379,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "994:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 380,
"name": "balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 352,
"src": "998:7:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[] memory"
}
},
"id": 381,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "length",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
"src": "998:14:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "994:18:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 393,
"initializationExpression": {
"expression": {
"argumentTypes": null,
"id": 377,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 375,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "987:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "30",
"id": 376,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "991:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "987:5:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 378,
"nodeType": "ExpressionStatement",
"src": "987:5:1"
},
"loopExpression": {
"expression": {
"argumentTypes": null,
"id": 384,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "++",
"prefix": true,
"src": "1014:3:1",
"subExpression": {
"argumentTypes": null,
"id": 383,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1016:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 385,
"nodeType": "ExpressionStatement",
"src": "1014:3:1"
},
"nodeType": "ForStatement",
"src": "982:89:1"
},
{
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 396,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 394,
"name": "total_supply",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 346,
"src": "1084:12:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"argumentTypes": null,
"id": 395,
"name": "total_balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 368,
"src": "1099:13:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1084:28:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": null,
"id": 401,
"nodeType": "IfStatement",
"src": "1080:71:1",
"trueBody": {
"id": 400,
"nodeType": "Block",
"src": "1114:37:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 398,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "-",
"prefix": true,
"src": "1135:5:1",
"subExpression": {
"argumentTypes": null,
"hexValue": "31303032",
"id": 397,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1136:4:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1002_by_1",
"typeString": "int_const 1002"
},
"value": "1002"
},
"typeDescriptions": {
"typeIdentifier": "t_rational_minus_1002_by_1",
"typeString": "int_const -1002"
}
},
"functionReturnParameters": 356,
"id": 399,
"nodeType": "Return",
"src": "1128:12:1"
}
]
}
},
{
"assignments": [
403
],
"declarations": [
{
"constant": false,
"id": 403,
"mutability": "mutable",
"name": "repo_table",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "1160:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
},
"typeName": {
"contractScope": null,
"id": 402,
"name": "Table",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 254,
"src": "1160:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 408,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 406,
"name": "REPO_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 311,
"src": "1202:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 404,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "1179:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 405,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "openTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 9,
"src": "1179:22:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_contract$_Table_$254_$",
"typeString": "function (string memory) view external returns (contract Table)"
}
},
"id": 407,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1179:34:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1160:53:1"
},
{
"assignments": [
410
],
"declarations": [
{
"constant": false,
"id": 410,
"mutability": "mutable",
"name": "user_table",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "1223:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
},
"typeName": {
"contractScope": null,
"id": 409,
"name": "Table",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 254,
"src": "1223:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 415,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 413,
"name": "USER_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 314,
"src": "1265:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 411,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "1242:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 412,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "openTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 9,
"src": "1242:22:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_contract$_Table_$254_$",
"typeString": "function (string memory) view external returns (contract Table)"
}
},
"id": 414,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1242:34:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1223:53:1"
},
{
"assignments": [
417
],
"declarations": [
{
"constant": false,
"id": 417,
"mutability": "mutable",
"name": "repo_entry",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "1287:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
},
"typeName": {
"contractScope": null,
"id": 416,
"name": "Entry",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 184,
"src": "1287:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 421,
"initialValue": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 418,
"name": "repo_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 403,
"src": "1306:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 419,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "newEntry",
"nodeType": "MemberAccess",
"referencedDeclaration": 247,
"src": "1306:19:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Entry_$184_$",
"typeString": "function () view external returns (contract Entry)"
}
},
"id": 420,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1306:21:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1287:40:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "746f6b656e5f6e616d65",
"id": 425,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1352:12:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
"value": "token_name"
},
{
"argumentTypes": null,
"id": 426,
"name": "token_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 342,
"src": "1366:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 422,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1337:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 424,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 175,
"src": "1337:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory,string memory) external"
}
},
"id": 427,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1337:40:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 428,
"nodeType": "ExpressionStatement",
"src": "1337:40:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "6f776e6572",
"id": 432,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1402:7:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c0",
"typeString": "literal_string \"owner\""
},
"value": "owner"
},
{
"argumentTypes": null,
"id": 433,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 344,
"src": "1411:5:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c0",
"typeString": "literal_string \"owner\""
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 429,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1387:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 431,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 175,
"src": "1387:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory,string memory) external"
}
},
"id": 434,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1387:30:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 435,
"nodeType": "ExpressionStatement",
"src": "1387:30:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "746f74616c5f737570706c79",
"id": 439,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1442:14:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_b1557182e4359a1f0c6301278e8f5b35a776ab58d39892581e357578fb287836",
"typeString": "literal_string \"total_supply\""
},
"value": "total_supply"
},
{
"argumentTypes": null,
"id": 440,
"name": "total_supply",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 346,
"src": "1458:12:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_b1557182e4359a1f0c6301278e8f5b35a776ab58d39892581e357578fb287836",
"typeString": "literal_string \"total_supply\""
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"expression": {
"argumentTypes": null,
"id": 436,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1427:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 438,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 167,
"src": "1427:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$",
"typeString": "function (string memory,uint256) external"
}
},
"id": 441,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1427:44:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 442,
"nodeType": "ExpressionStatement",
"src": "1427:44:1"
},
{
"assignments": [
444
],
"declarations": [
{
"constant": false,
"id": 444,
"mutability": "mutable",
"name": "count",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "1482:12:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"typeName": {
"id": 443,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "1482:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 450,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 447,
"name": "token_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 342,
"src": "1515:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 448,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1527:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
],
"expression": {
"argumentTypes": null,
"id": 445,
"name": "repo_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 403,
"src": "1497:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 446,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "insert",
"nodeType": "MemberAccess",
"referencedDeclaration": 219,
"src": "1497:17:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_contract$_Entry_$184_$returns$_t_int256_$",
"typeString": "function (string memory,contract Entry) external returns (int256)"
}
},
"id": 449,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1497:41:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1482:56:1"
},
{
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"id": 453,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 451,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "1552:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"argumentTypes": null,
"hexValue": "31",
"id": 452,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1561:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "1552:10:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": null,
"id": 457,
"nodeType": "IfStatement",
"src": "1548:53:1",
"trueBody": {
"id": 456,
"nodeType": "Block",
"src": "1564:37:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 454,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "1585:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"functionReturnParameters": 356,
"id": 455,
"nodeType": "Return",
"src": "1578:12:1"
}
]
}
},
{
"assignments": [
459
],
"declarations": [
{
"constant": false,
"id": 459,
"mutability": "mutable",
"name": "user_entry",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 527,
"src": "1611:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
},
"typeName": {
"contractScope": null,
"id": 458,
"name": "Entry",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 184,
"src": "1611:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 463,
"initialValue": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 460,
"name": "user_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 410,
"src": "1630:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 461,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "newEntry",
"nodeType": "MemberAccess",
"referencedDeclaration": 247,
"src": "1630:19:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Entry_$184_$",
"typeString": "function () view external returns (contract Entry)"
}
},
"id": 462,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1630:21:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1611:40:1"
},
{
"body": {
"id": 523,
"nodeType": "Block",
"src": "1698:351:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 479,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 475,
"name": "user_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 459,
"src": "1712:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 476,
"name": "user_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 410,
"src": "1725:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 477,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "newEntry",
"nodeType": "MemberAccess",
"referencedDeclaration": 247,
"src": "1725:19:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Entry_$184_$",
"typeString": "function () view external returns (contract Entry)"
}
},
"id": 478,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1725:21:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"src": "1712:34:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 480,
"nodeType": "ExpressionStatement",
"src": "1712:34:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "75736572",
"id": 484,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1775:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
"value": "user"
},
{
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 485,
"name": "username",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 349,
"src": "1783:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
"id": 487,
"indexExpression": {
"argumentTypes": null,
"id": 486,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1792:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"nodeType": "IndexAccess",
"src": "1783:11:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 481,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1760:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 483,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 175,
"src": "1760:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory,string memory) external"
}
},
"id": 488,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1760:35:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 489,
"nodeType": "ExpressionStatement",
"src": "1760:35:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "746f6b656e5f6e616d65",
"id": 493,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1824:12:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
"value": "token_name"
},
{
"argumentTypes": null,
"id": 494,
"name": "token_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 342,
"src": "1838:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_d661ed6ec150db4c9eda8cf42d28babbb36c01bca789b3fad6d18ebb4ff1a04b",
"typeString": "literal_string \"token_name\""
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 490,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1809:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 492,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 175,
"src": "1809:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory,string memory) external"
}
},
"id": 495,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1809:40:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 496,
"nodeType": "ExpressionStatement",
"src": "1809:40:1"
},
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "62616c616e6365",
"id": 500,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1878:9:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_ea06f38f7e4f15e87567361213c28f235cccdaa1d7fd34c9db1dfe9489c6a091",
"typeString": "literal_string \"balance\""
},
"value": "balance"
},
{
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 501,
"name": "balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 352,
"src": "1889:7:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[] memory"
}
},
"id": 503,
"indexExpression": {
"argumentTypes": null,
"id": 502,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1897:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"nodeType": "IndexAccess",
"src": "1889:10:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_ea06f38f7e4f15e87567361213c28f235cccdaa1d7fd34c9db1dfe9489c6a091",
"typeString": "literal_string \"balance\""
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"expression": {
"argumentTypes": null,
"id": 497,
"name": "repo_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 417,
"src": "1863:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 499,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "set",
"nodeType": "MemberAccess",
"referencedDeclaration": 167,
"src": "1863:14:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_uint256_$returns$__$",
"typeString": "function (string memory,uint256) external"
}
},
"id": 504,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1863:37:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 505,
"nodeType": "ExpressionStatement",
"src": "1863:37:1"
},
{
"expression": {
"argumentTypes": null,
"id": 514,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 506,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "1914:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 509,
"name": "username",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 349,
"src": "1940:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
"id": 511,
"indexExpression": {
"argumentTypes": null,
"id": 510,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1949:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"nodeType": "IndexAccess",
"src": "1940:11:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 512,
"name": "user_entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 459,
"src": "1953:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
],
"expression": {
"argumentTypes": null,
"id": 507,
"name": "user_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 410,
"src": "1922:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 508,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "insert",
"nodeType": "MemberAccess",
"referencedDeclaration": 219,
"src": "1922:17:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_nonpayable$_t_string_memory_ptr_$_t_contract$_Entry_$184_$returns$_t_int256_$",
"typeString": "function (string memory,contract Entry) external returns (int256)"
}
},
"id": 513,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1922:42:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"src": "1914:50:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 515,
"nodeType": "ExpressionStatement",
"src": "1914:50:1"
},
{
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"id": 518,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 516,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "1982:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"argumentTypes": null,
"hexValue": "31",
"id": 517,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1991:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "1982:10:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": null,
"id": 522,
"nodeType": "IfStatement",
"src": "1978:61:1",
"trueBody": {
"id": 521,
"nodeType": "Block",
"src": "1994:45:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 519,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "2019:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"functionReturnParameters": 356,
"id": 520,
"nodeType": "Return",
"src": "2012:12:1"
}
]
}
}
]
},
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"id": 471,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 468,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1673:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 469,
"name": "balance",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 352,
"src": "1677:7:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[] memory"
}
},
"id": 470,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "length",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
"src": "1677:14:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1673:18:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 524,
"initializationExpression": {
"expression": {
"argumentTypes": null,
"id": 466,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 464,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1666:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "30",
"id": 465,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1670:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "1666:5:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 467,
"nodeType": "ExpressionStatement",
"src": "1666:5:1"
},
"loopExpression": {
"expression": {
"argumentTypes": null,
"id": 473,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "++",
"prefix": true,
"src": "1693:3:1",
"subExpression": {
"argumentTypes": null,
"id": 472,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 372,
"src": "1695:1:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 474,
"nodeType": "ExpressionStatement",
"src": "1693:3:1"
},
"nodeType": "ForStatement",
"src": "1661:388:1"
},
{
"expression": {
"argumentTypes": null,
"id": 525,
"name": "count",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 444,
"src": "2111:5:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"functionReturnParameters": 356,
"id": 526,
"nodeType": "Return",
"src": "2104:12:1"
}
]
},
"documentation": null,
"functionSelector": "83e9c79f",
"id": 528,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "createRepo",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 353,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 342,
"mutability": "mutable",
"name": "token_name",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "660:24:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 341,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "660:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 344,
"mutability": "mutable",
"name": "owner",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "686:19:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 343,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "686:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 346,
"mutability": "mutable",
"name": "total_supply",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "707:20:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 345,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "707:7:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 349,
"mutability": "mutable",
"name": "username",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "729:24:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 347,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "729:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 348,
"length": null,
"nodeType": "ArrayTypeName",
"src": "729:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 352,
"mutability": "mutable",
"name": "balance",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "755:24:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 350,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "755:7:1",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 351,
"length": null,
"nodeType": "ArrayTypeName",
"src": "755:9:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "659:121:1"
},
"returnParameters": {
"id": 356,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 355,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 528,
"src": "813:6:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"typeName": {
"id": 354,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "813:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "812:8:1"
},
"scope": 691,
"src": "640:1483:1",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 649,
"nodeType": "Block",
"src": "2315:813:1",
"statements": [
{
"assignments": [
543
],
"declarations": [
{
"constant": false,
"id": 543,
"mutability": "mutable",
"name": "user_table",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2325:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
},
"typeName": {
"contractScope": null,
"id": 542,
"name": "Table",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 254,
"src": "2325:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 548,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 546,
"name": "USER_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 314,
"src": "2367:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 544,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "2344:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 545,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "openTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 9,
"src": "2344:22:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_contract$_Table_$254_$",
"typeString": "function (string memory) view external returns (contract Table)"
}
},
"id": 547,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2344:34:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2325:53:1"
},
{
"assignments": [
550
],
"declarations": [
{
"constant": false,
"id": 550,
"mutability": "mutable",
"name": "condition",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2389:19:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
},
"typeName": {
"contractScope": null,
"id": 549,
"name": "Condition",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 101,
"src": "2389:9:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 554,
"initialValue": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 551,
"name": "user_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 543,
"src": "2411:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 552,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "newCondition",
"nodeType": "MemberAccess",
"referencedDeclaration": 253,
"src": "2411:23:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Condition_$101_$",
"typeString": "function () view external returns (contract Condition)"
}
},
"id": 553,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2411:25:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2389:47:1"
},
{
"assignments": [
556
],
"declarations": [
{
"constant": false,
"id": 556,
"mutability": "mutable",
"name": "entries",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2447:15:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
},
"typeName": {
"contractScope": null,
"id": 555,
"name": "Entries",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 199,
"src": "2447:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 562,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 559,
"name": "username",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 530,
"src": "2483:8:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 560,
"name": "condition",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 550,
"src": "2493:9:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
],
"expression": {
"argumentTypes": null,
"id": 557,
"name": "user_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 543,
"src": "2465:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 558,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "select",
"nodeType": "MemberAccess",
"referencedDeclaration": 209,
"src": "2465:17:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$_t_contract$_Condition_$101_$returns$_t_contract$_Entries_$199_$",
"typeString": "function (string memory,contract Condition) view external returns (contract Entries)"
}
},
"id": 561,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2465:38:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2447:56:1"
},
{
"assignments": [
567
],
"declarations": [
{
"constant": false,
"id": 567,
"mutability": "mutable",
"name": "username_list",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2513:29:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 565,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2513:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 566,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2513:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 578,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 573,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 556,
"src": "2566:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 574,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "size",
"nodeType": "MemberAccess",
"referencedDeclaration": 198,
"src": "2566:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_int256_$",
"typeString": "function () view external returns (int256)"
}
},
"id": 575,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2566:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_int256",
"typeString": "int256"
}
],
"id": 572,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2558:7:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint256_$",
"typeString": "type(uint256)"
},
"typeName": {
"id": 571,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2558:7:1",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
}
},
"id": 576,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2558:23:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 570,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "NewExpression",
"src": "2545:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
"typeString": "function (uint256) pure returns (string memory[] memory)"
},
"typeName": {
"baseType": {
"id": 568,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2549:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 569,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2549:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
}
},
"id": 577,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2545:37:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2513:69:1"
},
{
"assignments": [
583
],
"declarations": [
{
"constant": false,
"id": 583,
"mutability": "mutable",
"name": "token_name_list",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2592:31:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 581,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2592:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 582,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2592:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 594,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 589,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 556,
"src": "2647:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 590,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "size",
"nodeType": "MemberAccess",
"referencedDeclaration": 198,
"src": "2647:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_int256_$",
"typeString": "function () view external returns (int256)"
}
},
"id": 591,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2647:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_int256",
"typeString": "int256"
}
],
"id": 588,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2639:7:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint256_$",
"typeString": "type(uint256)"
},
"typeName": {
"id": 587,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2639:7:1",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
}
},
"id": 592,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2639:23:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 586,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "NewExpression",
"src": "2626:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
"typeString": "function (uint256) pure returns (string memory[] memory)"
},
"typeName": {
"baseType": {
"id": 584,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2630:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 585,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2630:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
}
},
"id": 593,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2626:37:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2592:71:1"
},
{
"assignments": [
599
],
"declarations": [
{
"constant": false,
"id": 599,
"mutability": "mutable",
"name": "balance_list",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 649,
"src": "2673:28:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr",
"typeString": "int256[]"
},
"typeName": {
"baseType": {
"id": 597,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "2673:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 598,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2673:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr",
"typeString": "int256[]"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 610,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 605,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 556,
"src": "2725:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 606,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "size",
"nodeType": "MemberAccess",
"referencedDeclaration": 198,
"src": "2725:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_int256_$",
"typeString": "function () view external returns (int256)"
}
},
"id": 607,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2725:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_int256",
"typeString": "int256"
}
],
"id": 604,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2717:7:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint256_$",
"typeString": "type(uint256)"
},
"typeName": {
"id": 603,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2717:7:1",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
}
},
"id": 608,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2717:23:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 602,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "NewExpression",
"src": "2704:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_int256_$dyn_memory_ptr_$",
"typeString": "function (uint256) pure returns (int256[] memory)"
},
"typeName": {
"baseType": {
"id": 600,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "2708:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 601,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2708:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr",
"typeString": "int256[]"
}
}
},
"id": 609,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2704:37:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr",
"typeString": "int256[] memory"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2673:68:1"
},
{
"body": {
"id": 642,
"nodeType": "Block",
"src": "2796:262:1",
"statements": [
{
"assignments": [
624
],
"declarations": [
{
"constant": false,
"id": 624,
"mutability": "mutable",
"name": "entry",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 642,
"src": "2810:11:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
},
"typeName": {
"contractScope": null,
"id": 623,
"name": "Entry",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 184,
"src": "2810:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 629,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 627,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 612,
"src": "2836:1:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_int256",
"typeString": "int256"
}
],
"expression": {
"argumentTypes": null,
"id": 625,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 556,
"src": "2824:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 626,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "get",
"nodeType": "MemberAccess",
"referencedDeclaration": 192,
"src": "2824:11:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_int256_$returns$_t_contract$_Entry_$184_$",
"typeString": "function (int256) view external returns (contract Entry)"
}
},
"id": 628,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2824:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2810:28:1"
},
{
"expression": {
"argumentTypes": null,
"id": 640,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"baseExpression": {
"argumentTypes": null,
"id": 630,
"name": "username_list",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 567,
"src": "2853:13:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
"id": 635,
"indexExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 633,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 612,
"src": "2875:1:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_int256",
"typeString": "int256"
}
],
"id": 632,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2867:7:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_uint256_$",
"typeString": "type(uint256)"
},
"typeName": {
"id": 631,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2867:7:1",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
}
},
"id": 634,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2867:10:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": true,
"nodeType": "IndexAccess",
"src": "2853:25:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "75736572",
"id": 638,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2897:6:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
},
"value": "user"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_cb61ad33d3763aed2bc16c0f57ff251ac638d3d03ab7550adfd3e166c2e7adb6",
"typeString": "literal_string \"user\""
}
],
"expression": {
"argumentTypes": null,
"id": 636,
"name": "entry",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 624,
"src": "2881:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entry_$184",
"typeString": "contract Entry"
}
},
"id": 637,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "getString",
"nodeType": "MemberAccess",
"referencedDeclaration": 151,
"src": "2881:15:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_string_memory_ptr_$",
"typeString": "function (string memory) view external returns (string memory)"
}
},
"id": 639,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2881:23:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
"src": "2853:51:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
"id": 641,
"nodeType": "ExpressionStatement",
"src": "2853:51:1"
}
]
},
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"id": 619,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 615,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 612,
"src": "2771:1:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "BinaryOperation",
"operator": "<",
"rightExpression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 616,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 556,
"src": "2775:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 617,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "size",
"nodeType": "MemberAccess",
"referencedDeclaration": 198,
"src": "2775:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_int256_$",
"typeString": "function () view external returns (int256)"
}
},
"id": 618,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "2775:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"src": "2771:18:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 643,
"initializationExpression": {
"assignments": [
612
],
"declarations": [
{
"constant": false,
"id": 612,
"mutability": "mutable",
"name": "i",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 643,
"src": "2757:8:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"typeName": {
"id": 611,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "2757:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 614,
"initialValue": {
"argumentTypes": null,
"hexValue": "30",
"id": 613,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2768:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"nodeType": "VariableDeclarationStatement",
"src": "2757:12:1"
},
"loopExpression": {
"expression": {
"argumentTypes": null,
"id": 621,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "UnaryOperation",
"operator": "++",
"prefix": true,
"src": "2791:3:1",
"subExpression": {
"argumentTypes": null,
"id": 620,
"name": "i",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 612,
"src": "2793:1:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 622,
"nodeType": "ExpressionStatement",
"src": "2791:3:1"
},
"nodeType": "ForStatement",
"src": "2752:306:1"
},
{
"expression": {
"argumentTypes": null,
"components": [
{
"argumentTypes": null,
"id": 644,
"name": "username_list",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 567,
"src": "3076:13:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
{
"argumentTypes": null,
"id": 645,
"name": "token_name_list",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 583,
"src": "3091:15:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string memory[] memory"
}
},
{
"argumentTypes": null,
"id": 646,
"name": "balance_list",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 599,
"src": "3108:12:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr",
"typeString": "int256[] memory"
}
}
],
"id": 647,
"isConstant": false,
"isInlineArray": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"nodeType": "TupleExpression",
"src": "3075:46:1",
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_int256_$dyn_memory_ptr_$",
"typeString": "tuple(string memory[] memory,string memory[] memory,int256[] memory)"
}
},
"functionReturnParameters": 541,
"id": 648,
"nodeType": "Return",
"src": "3068:53:1"
}
]
},
"documentation": null,
"functionSelector": "c50573fa",
"id": 650,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "selectUserAllBalance",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 531,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 530,
"mutability": "mutable",
"name": "username",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 650,
"src": "2190:22:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 529,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2190:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2189:24:1"
},
"returnParameters": {
"id": 541,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 534,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 650,
"src": "2260:15:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 532,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2260:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 533,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2260:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 537,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 650,
"src": "2277:15:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 535,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "2277:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 536,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2277:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 540,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 650,
"src": "2294:15:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_memory_ptr",
"typeString": "int256[]"
},
"typeName": {
"baseType": {
"id": 538,
"name": "int256",
"nodeType": "ElementaryTypeName",
"src": "2294:6:1",
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"id": 539,
"length": null,
"nodeType": "ArrayTypeName",
"src": "2294:8:1",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_int256_$dyn_storage_ptr",
"typeString": "int256[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2259:51:1"
},
"scope": 691,
"src": "2160:968:1",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 689,
"nodeType": "Block",
"src": "3211:286:1",
"statements": [
{
"assignments": [
658
],
"declarations": [
{
"constant": false,
"id": 658,
"mutability": "mutable",
"name": "repo_table",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 689,
"src": "3221:16:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
},
"typeName": {
"contractScope": null,
"id": 657,
"name": "Table",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 254,
"src": "3221:5:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 663,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 661,
"name": "REPO_TABLE",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 311,
"src": "3263:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"argumentTypes": null,
"id": 659,
"name": "tableFactory",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 308,
"src": "3240:12:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_TableFactory_$22",
"typeString": "contract TableFactory"
}
},
"id": 660,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "openTable",
"nodeType": "MemberAccess",
"referencedDeclaration": 9,
"src": "3240:22:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$returns$_t_contract$_Table_$254_$",
"typeString": "function (string memory) view external returns (contract Table)"
}
},
"id": 662,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "3240:34:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "3221:53:1"
},
{
"assignments": [
665
],
"declarations": [
{
"constant": false,
"id": 665,
"mutability": "mutable",
"name": "condition",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 689,
"src": "3284:19:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
},
"typeName": {
"contractScope": null,
"id": 664,
"name": "Condition",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 101,
"src": "3284:9:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 669,
"initialValue": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 666,
"name": "repo_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 658,
"src": "3306:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 667,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "newCondition",
"nodeType": "MemberAccess",
"referencedDeclaration": 253,
"src": "3306:23:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_contract$_Condition_$101_$",
"typeString": "function () view external returns (contract Condition)"
}
},
"id": 668,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "3306:25:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "3284:47:1"
},
{
"assignments": [
671
],
"declarations": [
{
"constant": false,
"id": 671,
"mutability": "mutable",
"name": "entries",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 689,
"src": "3341:15:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
},
"typeName": {
"contractScope": null,
"id": 670,
"name": "Entries",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 199,
"src": "3341:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 677,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 674,
"name": "token_name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 652,
"src": "3377:10:1",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"argumentTypes": null,
"id": 675,
"name": "condition",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 665,
"src": "3389:9:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
},
{
"typeIdentifier": "t_contract$_Condition_$101",
"typeString": "contract Condition"
}
],
"expression": {
"argumentTypes": null,
"id": 672,
"name": "repo_table",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 658,
"src": "3359:10:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Table_$254",
"typeString": "contract Table"
}
},
"id": 673,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "select",
"nodeType": "MemberAccess",
"referencedDeclaration": 209,
"src": "3359:17:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$_t_contract$_Condition_$101_$returns$_t_contract$_Entries_$199_$",
"typeString": "function (string memory,contract Condition) view external returns (contract Entries)"
}
},
"id": 676,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "3359:40:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "3341:58:1"
},
{
"condition": {
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_int256",
"typeString": "int256"
},
"id": 682,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"expression": {
"argumentTypes": null,
"id": 678,
"name": "entries",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 671,
"src": "3413:7:1",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Entries_$199",
"typeString": "contract Entries"
}
},
"id": 679,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "size",
"nodeType": "MemberAccess",
"referencedDeclaration": 198,
"src": "3413:12:1",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$__$returns$_t_int256_$",
"typeString": "function () view external returns (int256)"
}
},
"id": 680,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "3413:14:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_int256",
"typeString": "int256"
}
},
"nodeType": "BinaryOperation",
"operator": ">",
"rightExpression": {
"argumentTypes": null,
"hexValue": "30",
"id": 681,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3430:1:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
"src": "3413:18:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"falseBody": null,
"id": 686,
"nodeType": "IfStatement",
"src": "3409:60:1",
"trueBody": {
"id": 685,
"nodeType": "Block",
"src": "3433:36:1",
"statements": [
{
"expression": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 683,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3454:4:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"functionReturnParameters": 656,
"id": 684,
"nodeType": "Return",
"src": "3447:11:1"
}
]
}
},
{
"expression": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 687,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3485:5:1",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"functionReturnParameters": 656,
"id": 688,
"nodeType": "Return",
"src": "3478:12:1"
}
]
},
"documentation": null,
"id": 690,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "judgeReposExisted",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 653,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 652,
"mutability": "mutable",
"name": "token_name",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 690,
"src": "3162:24:1",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 651,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "3162:6:1",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3161:26:1"
},
"returnParameters": {
"id": 656,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 655,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 690,
"src": "3205:4:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 654,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "3205:4:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3204:6:1"
},
"scope": 691,
"src": "3135:362:1",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "private"
}
],
"scope": 692,
"src": "91:3408:1"
}
],
"src": "0:3499:1"
},
"functionHashes": {
"createRepo(string,string,uint256,string[],uint256[])": "83e9c79f",
"selectUserAllBalance(string)": "c50573fa"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "1057800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"createRepo(string,string,uint256,string[],uint256[])": "infinite",
"selectUserAllBalance(string)": "infinite"
},
"internal": {
"judgeReposExisted(string memory)": "infinite"
}
}
}