diff --git a/packages/contracts/contracts/Directory.sol b/packages/contracts/contracts/Directory.sol index b5b1aa3..a38cb23 100644 --- a/packages/contracts/contracts/Directory.sol +++ b/packages/contracts/contracts/Directory.sol @@ -1,7 +1,9 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.18; -contract Directory { +import { Ownable2Step } from "@openzeppelin/contracts/access/Ownable2Step.sol"; + +contract Directory is Ownable2Step { address public votingContract; address public featuredVotingContract; diff --git a/packages/contracts/out/Directory.sol/Directory.json b/packages/contracts/out/Directory.sol/Directory.json index c392565..db89f19 100644 --- a/packages/contracts/out/Directory.sol/Directory.json +++ b/packages/contracts/out/Directory.sol/Directory.json @@ -16,6 +16,51 @@ "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferStarted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "acceptOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -106,6 +151,32 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pendingOwner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -119,6 +190,13 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -132,6 +210,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "votingContract", @@ -147,27 +238,32 @@ } ], "bytecode": { - "object": "0x608060405234801561001057600080fd5b5060405161113438038061113483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611076806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063b3dbb52a11610076578063c251b5651161005b578063c251b56514610172578063d62879f11461017a578063f6a18e621461018d57600080fd5b8063b3dbb52a1461012f578063c1fc006a1461015257600080fd5b80633c01b93c146100a85780637475fe93146100bd5780637483793514610107578063967961c61461011a575b600080fd5b6100bb6100b6366004610a0d565b6101a0565b005b6001546100dd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100bb610115366004610a0d565b6102b4565b610122610427565b6040516100fe9190610aa3565b61014261013d366004610a0d565b610500565b60405190151581526020016100fe565b6000546100dd9073ffffffffffffffffffffffffffffffffffffffff1681565b61012261052e565b6100bb610188366004610b59565b6105fe565b61014261019b366004610a0d565b61082f565b60005473ffffffffffffffffffffffffffffffffffffffff163314610226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064015b60405180910390fd5b61026b82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060029250600391506108449050565b6102b082828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250600591506108449050565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e646572000000000000000000000000000000000000604482015260640161021d565b60038282604051610347929190610bbc565b9081526020016040518091039020546000146103bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6d6d756e69747920616c7265616479206578697374000000000000000000604482015260640161021d565b600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace016103fc828483610c9c565b506002546040516003906104139085908590610bbc565b908152604051908190036020019020555050565b60606004805480602002602001604051908101604052809291908181526020016000905b828210156104f757838290600052602060002001805461046a90610bfb565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610bfb565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b50505050508152602001906001019061044b565b50505050905090565b60008060038484604051610515929190610bbc565b9081526020016040518091039020541190505b92915050565b60606002805480602002602001604051908101604052809291908181526020016000905b828210156104f757838290600052602060002001805461057190610bfb565b80601f016020809104026020016040519081016040528092919081815260200182805461059d90610bfb565b80156105ea5780601f106105bf576101008083540402835291602001916105ea565b820191906000526020600020905b8154815290600101906020018083116105cd57829003601f168201915b505050505081526020019060010190610552565b60015473ffffffffffffffffffffffffffffffffffffffff16331461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e646572000000000000000000000000000000000000604482015260640161021d565b60005b6004548110156106dd576005600482815481106106a1576106a1610d7b565b906000526020600020016040516106b89190610daa565b90815260200160405180910390206000905580806106d590610e6d565b915050610682565b506106ea6004600061097c565b60005b8181101561082a5761071c83838381811061070a5761070a610d7b565b905060200281019061013d9190610e87565b610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f7279000000000000604482015260640161021d565b600483838381811061079657610796610d7b565b90506020028101906107a89190610e87565b825460018101845560009384526020909320909201916107c89183610c9c565b506107d4816001610ef3565b60058484848181106107e8576107e8610d7b565b90506020028101906107fa9190610e87565b604051610808929190610bbc565b908152604051908190036020019020558061082281610e6d565b9150506106ed565b505050565b60008060058484604051610515929190610bbc565b600081846040516108559190610f06565b9081526020016040518091039020549050806000036108745750505050565b8061087e81610f22565b915050600183805490501115610927578254839061089e90600190610f39565b815481106108ae576108ae610d7b565b906000526020600020018382815481106108ca576108ca610d7b565b9060005260206000200190816108e09190610f4c565b506108ec816001610ef3565b828483815481106108ff576108ff610d7b565b906000526020600020016040516109169190610daa565b908152604051908190036020019020555b8280548061093757610937611047565b600190038181906000526020600020016000610953919061099d565b9055600082856040516109669190610f06565b9081526040519081900360200190205550505050565b508054600082559060005260206000209081019061099a91906109d7565b50565b5080546109a990610bfb565b6000825580601f106109b9575050565b601f01602090049060005260206000209081019061099a91906109f8565b808211156109f45760006109eb828261099d565b506001016109d7565b5090565b5b808211156109f457600081556001016109f9565b60008060208385031215610a2057600080fd5b823567ffffffffffffffff80821115610a3857600080fd5b818501915085601f830112610a4c57600080fd5b813581811115610a5b57600080fd5b866020828501011115610a6d57600080fd5b60209290920196919550909350505050565b60005b83811015610a9a578181015183820152602001610a82565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610b4c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845281518051808752610b0f818989018a8501610a7f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01695909501860194509285019290850190600101610aca565b5092979650505050505050565b60008060208385031215610b6c57600080fd5b823567ffffffffffffffff80821115610b8457600080fd5b818501915085601f830112610b9857600080fd5b813581811115610ba757600080fd5b8660208260051b8501011115610a6d57600080fd5b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680610c0f57607f821691505b602082108103610c48577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561082a57600081815260208120601f850160051c81016020861015610c755750805b601f850160051c820191505b81811015610c9457828155600101610c81565b505050505050565b67ffffffffffffffff831115610cb457610cb4610bcc565b610cc883610cc28354610bfb565b83610c4e565b6000601f841160018114610cfc5760008515610ce45750838201355b600019600387901b1c1916600186901b178355610d74565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b82811015610d4b5786850135825560209485019460019092019101610d2b565b5086821015610d685760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000808354610db881610bfb565b60018281168015610dd05760018114610e0357610e32565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450610e32565b8760005260208060002060005b85811015610e295781548a820152908401908201610e10565b50505082870194505b50929695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006000198203610e8057610e80610e3e565b5060010190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112610ebc57600080fd5b83018035915067ffffffffffffffff821115610ed757600080fd5b602001915036819003821315610eec57600080fd5b9250929050565b8082018082111561052857610528610e3e565b60008251610f18818460208701610a7f565b9190910192915050565b600081610f3157610f31610e3e565b506000190190565b8181038181111561052857610528610e3e565b818103610f57575050565b610f618254610bfb565b67ffffffffffffffff811115610f7957610f79610bcc565b610f8d81610f878454610bfb565b84610c4e565b6000601f821160018114610fc15760008315610fa95750848201545b600019600385901b1c1916600184901b178455610d74565b6000858152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841690600086815260209020845b838110156110195782860154825560019586019590910190602001610ff9565b50858310156110375781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd", - "sourceMap": "65:2792:0:-:0;;;360:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;440:14;:32;;-1:-1:-1;;;;;440:32:0;;;-1:-1:-1;;;;;;440:32:0;;;;;;;;482:48;;;;;;;;;;;65:2792;;14:177:61;93:13;;-1:-1:-1;;;;;135:31:61;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:293::-;275:6;283;336:2;324:9;315:7;311:23;307:32;304:52;;;352:1;349;342:12;304:52;375:40;405:9;375:40;:::i;:::-;365:50;;434:49;479:2;468:9;464:18;434:49;:::i;:::-;424:59;;196:293;;;;;:::o;:::-;65:2792:0;;;;;;", + "object": "0x60806040523480156200001157600080fd5b5060405162001535380380620015358339810160408190526200003491620000fc565b6200003f3362000071565b600280546001600160a01b039384166001600160a01b0319918216179091556003805492909316911617905562000134565b600180546001600160a01b03191690556200008c816200008f565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000f757600080fd5b919050565b600080604083850312156200011057600080fd5b6200011b83620000df565b91506200012b60208401620000df565b90509250929050565b6113f180620001446000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b3dbb52a1161008c578063d62879f111610066578063d62879f1146101ef578063e30c397814610202578063f2fde38b14610220578063f6a18e621461023357600080fd5b8063b3dbb52a146101a4578063c1fc006a146101c7578063c251b565146101e757600080fd5b806374837935116100c8578063748379351461015657806379ba5097146101695780638da5cb5b14610171578063967961c61461018f57600080fd5b80633c01b93c146100ef578063715018a6146101045780637475fe931461010c575b600080fd5b6101026100fd366004610d4b565b610246565b005b61010261035a565b60035461012c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610102610164366004610d4b565b61036e565b6101026104e1565b60005473ffffffffffffffffffffffffffffffffffffffff1661012c565b610197610596565b60405161014d9190610de1565b6101b76101b2366004610d4b565b61066f565b604051901515815260200161014d565b60025461012c9073ffffffffffffffffffffffffffffffffffffffff1681565b61019761069d565b6101026101fd366004610e97565b61076d565b60015473ffffffffffffffffffffffffffffffffffffffff1661012c565b61010261022e366004610efa565b61099e565b6101b7610241366004610d4b565b610a4e565b60025473ffffffffffffffffffffffffffffffffffffffff1633146102cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064015b60405180910390fd5b61031182828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506004925060059150610a639050565b61035682828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506006925060079150610a639050565b5050565b610362610b9b565b61036c6000610c1c565b565b60025473ffffffffffffffffffffffffffffffffffffffff1633146103ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064016102c3565b60058282604051610401929190610f37565b908152602001604051809103902054600014610479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6d6d756e69747920616c726561647920657869737400000000000000000060448201526064016102c3565b600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b016104b6828483611017565b506004546040516005906104cd9085908590610f37565b908152604051908190036020019020555050565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461058a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084016102c3565b61059381610c1c565b50565b60606006805480602002602001604051908101604052809291908181526020016000905b828210156106665783829060005260206000200180546105d990610f76565b80601f016020809104026020016040519081016040528092919081815260200182805461060590610f76565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050815260200190600101906105ba565b50505050905090565b60008060058484604051610684929190610f37565b9081526020016040518091039020541190505b92915050565b60606004805480602002602001604051908101604052809291908181526020016000905b828210156106665783829060005260206000200180546106e090610f76565b80601f016020809104026020016040519081016040528092919081815260200182805461070c90610f76565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b5050505050815260200190600101906106c1565b60035473ffffffffffffffffffffffffffffffffffffffff1633146107ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064016102c3565b60005b60065481101561084c57600760068281548110610810576108106110f6565b906000526020600020016040516108279190611125565b9081526020016040518091039020600090558080610844906111e8565b9150506107f1565b5061085960066000610cbd565b60005b818110156109995761088b838383818110610879576108796110f6565b90506020028101906101b29190611202565b6108f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f727900000000000060448201526064016102c3565b6006838383818110610905576109056110f6565b90506020028101906109179190611202565b825460018101845560009384526020909320909201916109379183611017565b5061094381600161126e565b6007848484818110610957576109576110f6565b90506020028101906109699190611202565b604051610977929190610f37565b9081526040519081900360200190205580610991816111e8565b91505061085c565b505050565b6109a6610b9b565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155610a0960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60008060078484604051610684929190610f37565b60008184604051610a749190611281565b908152602001604051809103902054905080600003610a935750505050565b80610a9d8161129d565b915050600183805490501115610b465782548390610abd906001906112b4565b81548110610acd57610acd6110f6565b90600052602060002001838281548110610ae957610ae96110f6565b906000526020600020019081610aff91906112c7565b50610b0b81600161126e565b82848381548110610b1e57610b1e6110f6565b90600052602060002001604051610b359190611125565b908152604051908190036020019020555b82805480610b5657610b566113c2565b600190038181906000526020600020016000610b729190610cdb565b905560008285604051610b859190611281565b9081526040519081900360200190205550505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610593816000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b50805460008255906000526020600020908101906105939190610d15565b508054610ce790610f76565b6000825580601f10610cf7575050565b601f0160209004906000526020600020908101906105939190610d36565b80821115610d32576000610d298282610cdb565b50600101610d15565b5090565b5b80821115610d325760008155600101610d37565b60008060208385031215610d5e57600080fd5b823567ffffffffffffffff80821115610d7657600080fd5b818501915085601f830112610d8a57600080fd5b813581811115610d9957600080fd5b866020828501011115610dab57600080fd5b60209290920196919550909350505050565b60005b83811015610dd8578181015183820152602001610dc0565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610e8a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845281518051808752610e4d818989018a8501610dbd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01695909501860194509285019290850190600101610e08565b5092979650505050505050565b60008060208385031215610eaa57600080fd5b823567ffffffffffffffff80821115610ec257600080fd5b818501915085601f830112610ed657600080fd5b813581811115610ee557600080fd5b8660208260051b8501011115610dab57600080fd5b600060208284031215610f0c57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610f3057600080fd5b9392505050565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680610f8a57607f821691505b602082108103610fc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561099957600081815260208120601f850160051c81016020861015610ff05750805b601f850160051c820191505b8181101561100f57828155600101610ffc565b505050505050565b67ffffffffffffffff83111561102f5761102f610f47565b6110438361103d8354610f76565b83610fc9565b6000601f841160018114611077576000851561105f5750838201355b600019600387901b1c1916600186901b1783556110ef565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156110c657868501358255602094850194600190920191016110a6565b50868210156110e35760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080835461113381610f76565b6001828116801561114b576001811461117e576111ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528215158302870194506111ad565b8760005260208060002060005b858110156111a45781548a82015290840190820161118b565b50505082870194505b50929695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060001982036111fb576111fb6111b9565b5060010190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261123757600080fd5b83018035915067ffffffffffffffff82111561125257600080fd5b60200191503681900382131561126757600080fd5b9250929050565b80820180821115610697576106976111b9565b60008251611293818460208701610dbd565b9190910192915050565b6000816112ac576112ac6111b9565b506000190190565b81810381811115610697576106976111b9565b8181036112d2575050565b6112dc8254610f76565b67ffffffffffffffff8111156112f4576112f4610f47565b611308816113028454610f76565b84610fc9565b6000601f82116001811461133c57600083156113245750848201545b600019600385901b1c1916600184901b1784556110ef565b6000858152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841690600086815260209020845b838110156113945782860154825560019586019590910190602001611374565b50858310156113b25781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd", + "sourceMap": "146:2808:0:-:0;;;457:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:29;719:10:34;936:18:29;:32::i;:::-;537:14:0;:32;;-1:-1:-1;;;;;537:32:0;;;-1:-1:-1;;;;;;537:32:0;;;;;;;579:22;:48;;;;;;;;;;;146:2808;;1501:153:30;1590:13;1583:20;;-1:-1:-1;;;;;;1583:20:30;;;1613:34;1638:8;1613:24;:34::i;:::-;1501:153;:::o;2426:187:29:-;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:29;;;-1:-1:-1;;;;;;2534:17:29;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;14:177:62:-;93:13;;-1:-1:-1;;;;;135:31:62;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:293::-;275:6;283;336:2;324:9;315:7;311:23;307:32;304:52;;;352:1;349;342:12;304:52;375:40;405:9;375:40;:::i;:::-;365:50;;434:49;479:2;468:9;464:18;434:49;:::i;:::-;424:59;;196:293;;;;;:::o;:::-;146:2808:0;;;;;;", "linkReferences": {} }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100a35760003560e01c8063b3dbb52a11610076578063c251b5651161005b578063c251b56514610172578063d62879f11461017a578063f6a18e621461018d57600080fd5b8063b3dbb52a1461012f578063c1fc006a1461015257600080fd5b80633c01b93c146100a85780637475fe93146100bd5780637483793514610107578063967961c61461011a575b600080fd5b6100bb6100b6366004610a0d565b6101a0565b005b6001546100dd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100bb610115366004610a0d565b6102b4565b610122610427565b6040516100fe9190610aa3565b61014261013d366004610a0d565b610500565b60405190151581526020016100fe565b6000546100dd9073ffffffffffffffffffffffffffffffffffffffff1681565b61012261052e565b6100bb610188366004610b59565b6105fe565b61014261019b366004610a0d565b61082f565b60005473ffffffffffffffffffffffffffffffffffffffff163314610226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064015b60405180910390fd5b61026b82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060029250600391506108449050565b6102b082828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250600591506108449050565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e646572000000000000000000000000000000000000604482015260640161021d565b60038282604051610347929190610bbc565b9081526020016040518091039020546000146103bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6d6d756e69747920616c7265616479206578697374000000000000000000604482015260640161021d565b600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace016103fc828483610c9c565b506002546040516003906104139085908590610bbc565b908152604051908190036020019020555050565b60606004805480602002602001604051908101604052809291908181526020016000905b828210156104f757838290600052602060002001805461046a90610bfb565b80601f016020809104026020016040519081016040528092919081815260200182805461049690610bfb565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b50505050508152602001906001019061044b565b50505050905090565b60008060038484604051610515929190610bbc565b9081526020016040518091039020541190505b92915050565b60606002805480602002602001604051908101604052809291908181526020016000905b828210156104f757838290600052602060002001805461057190610bfb565b80601f016020809104026020016040519081016040528092919081815260200182805461059d90610bfb565b80156105ea5780601f106105bf576101008083540402835291602001916105ea565b820191906000526020600020905b8154815290600101906020018083116105cd57829003601f168201915b505050505081526020019060010190610552565b60015473ffffffffffffffffffffffffffffffffffffffff16331461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e646572000000000000000000000000000000000000604482015260640161021d565b60005b6004548110156106dd576005600482815481106106a1576106a1610d7b565b906000526020600020016040516106b89190610daa565b90815260200160405180910390206000905580806106d590610e6d565b915050610682565b506106ea6004600061097c565b60005b8181101561082a5761071c83838381811061070a5761070a610d7b565b905060200281019061013d9190610e87565b610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f7279000000000000604482015260640161021d565b600483838381811061079657610796610d7b565b90506020028101906107a89190610e87565b825460018101845560009384526020909320909201916107c89183610c9c565b506107d4816001610ef3565b60058484848181106107e8576107e8610d7b565b90506020028101906107fa9190610e87565b604051610808929190610bbc565b908152604051908190036020019020558061082281610e6d565b9150506106ed565b505050565b60008060058484604051610515929190610bbc565b600081846040516108559190610f06565b9081526020016040518091039020549050806000036108745750505050565b8061087e81610f22565b915050600183805490501115610927578254839061089e90600190610f39565b815481106108ae576108ae610d7b565b906000526020600020018382815481106108ca576108ca610d7b565b9060005260206000200190816108e09190610f4c565b506108ec816001610ef3565b828483815481106108ff576108ff610d7b565b906000526020600020016040516109169190610daa565b908152604051908190036020019020555b8280548061093757610937611047565b600190038181906000526020600020016000610953919061099d565b9055600082856040516109669190610f06565b9081526040519081900360200190205550505050565b508054600082559060005260206000209081019061099a91906109d7565b50565b5080546109a990610bfb565b6000825580601f106109b9575050565b601f01602090049060005260206000209081019061099a91906109f8565b808211156109f45760006109eb828261099d565b506001016109d7565b5090565b5b808211156109f457600081556001016109f9565b60008060208385031215610a2057600080fd5b823567ffffffffffffffff80821115610a3857600080fd5b818501915085601f830112610a4c57600080fd5b813581811115610a5b57600080fd5b866020828501011115610a6d57600080fd5b60209290920196919550909350505050565b60005b83811015610a9a578181015183820152602001610a82565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610b4c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845281518051808752610b0f818989018a8501610a7f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01695909501860194509285019290850190600101610aca565b5092979650505050505050565b60008060208385031215610b6c57600080fd5b823567ffffffffffffffff80821115610b8457600080fd5b818501915085601f830112610b9857600080fd5b813581811115610ba757600080fd5b8660208260051b8501011115610a6d57600080fd5b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680610c0f57607f821691505b602082108103610c48577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561082a57600081815260208120601f850160051c81016020861015610c755750805b601f850160051c820191505b81811015610c9457828155600101610c81565b505050505050565b67ffffffffffffffff831115610cb457610cb4610bcc565b610cc883610cc28354610bfb565b83610c4e565b6000601f841160018114610cfc5760008515610ce45750838201355b600019600387901b1c1916600186901b178355610d74565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b82811015610d4b5786850135825560209485019460019092019101610d2b565b5086821015610d685760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000808354610db881610bfb565b60018281168015610dd05760018114610e0357610e32565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450610e32565b8760005260208060002060005b85811015610e295781548a820152908401908201610e10565b50505082870194505b50929695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006000198203610e8057610e80610e3e565b5060010190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112610ebc57600080fd5b83018035915067ffffffffffffffff821115610ed757600080fd5b602001915036819003821315610eec57600080fd5b9250929050565b8082018082111561052857610528610e3e565b60008251610f18818460208701610a7f565b9190910192915050565b600081610f3157610f31610e3e565b506000190190565b8181038181111561052857610528610e3e565b818103610f57575050565b610f618254610bfb565b67ffffffffffffffff811115610f7957610f79610bcc565b610f8d81610f878454610bfb565b84610c4e565b6000601f821160018114610fc15760008315610fa95750848201545b600019600385901b1c1916600184901b178455610d74565b6000858152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841690600086815260209020845b838110156110195782860154825560019586019590910190602001610ff9565b50858310156110375781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd", - "sourceMap": "65:2792:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1570:230;;;;;;:::i;:::-;;:::i;:::-;;125:37;;;;;;;;;;;;786:42:61;774:55;;;756:74;;744:2;729:18;125:37:0;;;;;;;;1314:250;;;;;;:::i;:::-;;:::i;940:114::-;;;:::i;:::-;;;;;;;:::i;543:138::-;;;;;;:::i;:::-;;:::i;:::-;;;2396:14:61;;2389:22;2371:41;;2359:2;2344:18;543:138:0;2231:187:61;90:29:0;;;;;;;;;836:98;;;:::i;1806:604::-;;;;;;:::i;:::-;;:::i;687:143::-;;;;;;:::i;:::-;;:::i;1570:230::-;1122:14;;;;1108:10;:28;1100:55;;;;;;;3256:2:61;1100:55:0;;;3238:21:61;3295:2;3275:18;;;3268:30;3334:16;3314:18;;;3307:44;3368:18;;1100:55:0;;;;;;;;;1657::::1;1673:9;;1657:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1684:11:0::1;::::0;-1:-1:-1;1697:14:0::1;::::0;-1:-1:-1;1657:15:0::1;::::0;-1:-1:-1;1657:55:0:i:1;:::-;1722:71;1738:9;;1722:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1749:19:0::1;::::0;-1:-1:-1;1770:22:0::1;::::0;-1:-1:-1;1722:15:0::1;::::0;-1:-1:-1;1722:71:0:i:1;:::-;1570:230:::0;;:::o;1314:250::-;1122:14;;;;1108:10;:28;1100:55;;;;;;;3256:2:61;1100:55:0;;;3238:21:61;3295:2;3275:18;;;3268:30;3334:16;3314:18;;;3307:44;3368:18;;1100:55:0;3054:338:61;1100:55:0;1406:14:::1;1421:9;;1406:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;1435:1;1406:30;1398:66;;;::::0;::::1;::::0;;3875:2:61;1398:66:0::1;::::0;::::1;3857:21:61::0;3914:2;3894:18;;;3887:30;3953:25;3933:18;;;3926:53;3996:18;;1398:66:0::1;3673:347:61::0;1398:66:0::1;1474:11;:27:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;1474:27:0;;;;;::::1;;1491:9:::0;;1474:27;::::1;:::i;:::-;-1:-1:-1::0;1539:11:0::1;:18:::0;1511:25:::1;::::0;:14:::1;::::0;:25:::1;::::0;1526:9;;;;1511:25:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:46;-1:-1:-1;;1314:250:0:o;940:114::-;995:14;1028:19;1021:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;940:114;:::o;543:138::-;622:4;673:1;645:14;660:9;;645:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;638:36;;543:138;;;;;:::o;836:98::-;883:14;916:11;909:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1806:604;1249:22;;;;1235:10;:36;1227:63;;;;;;;3256:2:61;1227:63:0;;;3238:21:61;3295:2;3275:18;;;3268:30;3334:16;3314:18;;;3307:44;3368:18;;1227:63:0;3054:338:61;1227:63:0;1926:9:::1;1921:137;1945:19;:26:::0;1941:30;::::1;1921:137;;;2000:22;2023:19;2043:1;2023:22;;;;;;;;:::i;:::-;;;;;;;;2000:46;;;;;;:::i;:::-;;;;;;;;;;;;;1992:55;;;1973:3;;;;;:::i;:::-;;;;1921:137;;;-1:-1:-1::0;2067:26:0::1;2074:19;;2067:26;:::i;:::-;2108:9;2103:301;2123:31:::0;;::::1;2103:301;;;2183:47;2206:20;;2227:1;2206:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;2183:47::-;2175:86;;;::::0;::::1;::::0;;9155:2:61;2175:86:0::1;::::0;::::1;9137:21:61::0;9194:2;9174:18;;;9167:30;9233:28;9213:18;;;9206:56;9279:18;;2175:86:0::1;8953:350:61::0;2175:86:0::1;2275:19;2300:20;;2321:1;2300:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2275:49:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;2275:49:0;;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;2388:5:0::1;:1:::0;2392::::1;2388:5;:::i;:::-;2338:22;2361:20;;2382:1;2361:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2338:47;;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:55;2156:3;::::1;::::0;::::1;:::i;:::-;;;;2103:301;;;;1806:604:::0;;:::o;687:143::-;763:4;822:1;786:22;809:9;;786:33;;;;;;;:::i;2416:439::-;2585:13;2601:7;2609:4;2601:13;;;;;;:::i;:::-;;;;;;;;;;;;;;2585:29;;2628:5;2637:1;2628:10;2624:23;;2640:7;2416:439;;;:::o;2624:23::-;2656:7;;;;:::i;:::-;;;;2692:1;2678:4;:11;;;;:15;2674:127;;;2728:11;;2723:4;;2728:15;;2742:1;;2728:15;:::i;:::-;2723:21;;;;;;;;:::i;:::-;;;;;;;;2709:4;2714:5;2709:11;;;;;;;;:::i;:::-;;;;;;;;:35;;;;;;:::i;:::-;-1:-1:-1;2781:9:0;:5;2789:1;2781:9;:::i;:::-;2758:7;2766:4;2771:5;2766:11;;;;;;;;:::i;:::-;;;;;;;;2758:20;;;;;;:::i;:::-;;;;;;;;;;;;;;:32;2674:127;2811:4;:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;2847:1;2831:7;2839:4;2831:13;;;;;;:::i;:::-;;;;;;;;;;;;;;:17;-1:-1:-1;;;;2416:439:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:591:61;84:6;92;145:2;133:9;124:7;120:23;116:32;113:52;;;161:1;158;151:12;113:52;201:9;188:23;230:18;271:2;263:6;260:14;257:34;;;287:1;284;277:12;257:34;325:6;314:9;310:22;300:32;;370:7;363:4;359:2;355:13;351:27;341:55;;392:1;389;382:12;341:55;432:2;419:16;458:2;450:6;447:14;444:34;;;474:1;471;464:12;444:34;519:7;514:2;505:6;501:2;497:15;493:24;490:37;487:57;;;540:1;537;530:12;487:57;571:2;563:11;;;;;593:6;;-1:-1:-1;14:591:61;;-1:-1:-1;;;;14:591:61:o;841:250::-;926:1;936:113;950:6;947:1;944:13;936:113;;;1026:11;;;1020:18;1007:11;;;1000:39;972:2;965:10;936:113;;;-1:-1:-1;;1083:1:61;1065:16;;1058:27;841:250::o;1096:1130::-;1256:4;1285:2;1325;1314:9;1310:18;1355:2;1344:9;1337:21;1378:6;1413;1407:13;1444:6;1436;1429:22;1482:2;1471:9;1467:18;1460:25;;1544:2;1534:6;1531:1;1527:14;1516:9;1512:30;1508:39;1494:53;;1582:2;1574:6;1570:15;1603:1;1613:584;1627:6;1624:1;1621:13;1613:584;;;1716:66;1704:9;1696:6;1692:22;1688:95;1683:3;1676:108;1813:6;1807:13;1855:2;1849:9;1886:8;1878:6;1871:24;1908:74;1973:8;1968:2;1960:6;1956:15;1951:2;1947;1943:11;1908:74;:::i;:::-;2039:2;2025:17;2044:66;2021:90;2009:103;;;;2005:112;;;-1:-1:-1;2175:12:61;;;;2140:15;;;;1649:1;1642:9;1613:584;;;-1:-1:-1;2214:6:61;;1096:1130;-1:-1:-1;;;;;;;1096:1130:61:o;2423:626::-;2520:6;2528;2581:2;2569:9;2560:7;2556:23;2552:32;2549:52;;;2597:1;2594;2587:12;2549:52;2637:9;2624:23;2666:18;2707:2;2699:6;2696:14;2693:34;;;2723:1;2720;2713:12;2693:34;2761:6;2750:9;2746:22;2736:32;;2806:7;2799:4;2795:2;2791:13;2787:27;2777:55;;2828:1;2825;2818:12;2777:55;2868:2;2855:16;2894:2;2886:6;2883:14;2880:34;;;2910:1;2907;2900:12;2880:34;2963:7;2958:2;2948:6;2945:1;2941:14;2937:2;2933:23;2929:32;2926:45;2923:65;;;2984:1;2981;2974:12;3397:271;3580:6;3572;3567:3;3554:33;3536:3;3606:16;;3631:13;;;3606:16;3397:271;-1:-1:-1;3397:271:61:o;4025:184::-;4077:77;4074:1;4067:88;4174:4;4171:1;4164:15;4198:4;4195:1;4188:15;4214:437;4293:1;4289:12;;;;4336;;;4357:61;;4411:4;4403:6;4399:17;4389:27;;4357:61;4464:2;4456:6;4453:14;4433:18;4430:38;4427:218;;4501:77;4498:1;4491:88;4602:4;4599:1;4592:15;4630:4;4627:1;4620:15;4427:218;;4214:437;;;:::o;4781:544::-;4882:2;4877:3;4874:11;4871:448;;;4918:1;4943:5;4939:2;4932:17;4988:4;4984:2;4974:19;5058:2;5046:10;5042:19;5039:1;5035:27;5029:4;5025:38;5094:4;5082:10;5079:20;5076:47;;;-1:-1:-1;5117:4:61;5076:47;5172:2;5167:3;5163:12;5160:1;5156:20;5150:4;5146:31;5136:41;;5227:82;5245:2;5238:5;5235:13;5227:82;;;5290:17;;;5271:1;5260:13;5227:82;;;5231:3;;;4781:544;;;:::o;5561:1321::-;5683:18;5678:3;5675:27;5672:53;;;5705:18;;:::i;:::-;5734:93;5823:3;5783:38;5815:4;5809:11;5783:38;:::i;:::-;5777:4;5734:93;:::i;:::-;5853:1;5878:2;5873:3;5870:11;5895:1;5890:734;;;;6668:1;6685:3;6682:93;;;-1:-1:-1;6741:19:61;;;6728:33;6682:93;-1:-1:-1;;5458:1:61;5454:11;;;5450:84;5446:89;5436:100;5542:1;5538:11;;;5433:117;6788:78;;5863:1013;;5890:734;4728:1;4721:14;;;4765:4;4752:18;;5935:66;5926:76;;;6085:9;6107:229;6121:7;6118:1;6115:14;6107:229;;;6210:19;;;6197:33;6182:49;;6317:4;6302:20;;;;6270:1;6258:14;;;;6137:12;6107:229;;;6111:3;6364;6355:7;6352:16;6349:219;;;-1:-1:-1;;6478:3:61;6472;6469:1;6465:11;6461:21;6457:94;6453:99;6440:9;6435:3;6431:19;6418:33;6414:139;6406:6;6399:155;6349:219;;;6611:1;6605:3;6602:1;6598:11;6594:19;6588:4;6581:33;5863:1013;;;5561:1321;;;:::o;6887:184::-;6939:77;6936:1;6929:88;7036:4;7033:1;7026:15;7060:4;7057:1;7050:15;7076:898;7202:3;7231:1;7264:6;7258:13;7294:36;7320:9;7294:36;:::i;:::-;7349:1;7366:18;;;7393:191;;;;7598:1;7593:356;;;;7359:590;;7393:191;7441:66;7430:9;7426:82;7421:3;7414:95;7564:6;7557:14;7550:22;7542:6;7538:35;7533:3;7529:45;7522:52;;7393:191;;7593:356;7624:6;7621:1;7614:17;7654:4;7699:2;7696:1;7686:16;7724:1;7738:165;7752:6;7749:1;7746:13;7738:165;;;7830:14;;7817:11;;;7810:35;7873:16;;;;7767:10;;7738:165;;;7742:3;;;7932:6;7927:3;7923:16;7916:23;;7359:590;-1:-1:-1;7965:3:61;;7076:898;-1:-1:-1;;;;;;7076:898:61:o;7979:184::-;8031:77;8028:1;8021:88;8128:4;8125:1;8118:15;8152:4;8149:1;8142:15;8168:195;8207:3;-1:-1:-1;;8231:5:61;8228:77;8225:103;;8308:18;;:::i;:::-;-1:-1:-1;8355:1:61;8344:13;;8168:195::o;8368:580::-;8445:4;8451:6;8511:11;8498:25;8601:66;8590:8;8574:14;8570:29;8566:102;8546:18;8542:127;8532:155;;8683:1;8680;8673:12;8532:155;8710:33;;8762:20;;;-1:-1:-1;8805:18:61;8794:30;;8791:50;;;8837:1;8834;8827:12;8791:50;8870:4;8858:17;;-1:-1:-1;8901:14:61;8897:27;;;8887:38;;8884:58;;;8938:1;8935;8928:12;8884:58;8368:580;;;;;:::o;9308:125::-;9373:9;;;9394:10;;;9391:36;;;9407:18;;:::i;9438:287::-;9567:3;9605:6;9599:13;9621:66;9680:6;9675:3;9668:4;9660:6;9656:17;9621:66;:::i;:::-;9703:16;;;;;9438:287;-1:-1:-1;;9438:287:61:o;9730:196::-;9769:3;9797:5;9787:39;;9806:18;;:::i;:::-;-1:-1:-1;;;9842:78:61;;9730:196::o;9931:128::-;9998:9;;;10019:11;;;10016:37;;;10033:18;;:::i;10064:1549::-;10181:3;10175:4;10172:13;10169:26;;10188:5;;10064:1549::o;10169:26::-;10218:37;10250:3;10244:10;10218:37;:::i;:::-;10278:18;10270:6;10267:30;10264:56;;;10300:18;;:::i;:::-;10329:96;10418:6;10378:38;10410:4;10404:11;10378:38;:::i;:::-;10372:4;10329:96;:::i;:::-;10451:1;10479:2;10471:6;10468:14;10496:1;10491:865;;;;11400:1;11417:6;11414:89;;;-1:-1:-1;11469:19:61;;;11463:26;11414:89;-1:-1:-1;;5458:1:61;5454:11;;;5450:84;5446:89;5436:100;5542:1;5538:11;;;5433:117;11516:81;;10461:1146;;10491:865;4728:1;4721:14;;;4765:4;4752:18;;10539:66;10527:79;;;4728:1;4721:14;;;4765:4;4752:18;;10748:9;10770:251;10784:7;10781:1;10778:14;10770:251;;;10866:21;;;10860:28;10845:44;;10916:1;10989:18;;;;10944:15;;;;10807:4;10800:12;10770:251;;;10774:3;11049:6;11040:7;11037:19;11034:263;;;11110:21;;;11104:28;-1:-1:-1;;11195:1:61;11191:14;;;11207:3;11187:24;11183:97;11179:102;11164:118;11149:134;;11034:263;-1:-1:-1;;;;;11343:1:61;11327:14;;;11323:22;11310:36;;-1:-1:-1;10064:1549:61:o;11618:184::-;11670:77;11667:1;11660:88;11767:4;11764:1;11757:15;11791:4;11788:1;11781:15", + "object": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b3dbb52a1161008c578063d62879f111610066578063d62879f1146101ef578063e30c397814610202578063f2fde38b14610220578063f6a18e621461023357600080fd5b8063b3dbb52a146101a4578063c1fc006a146101c7578063c251b565146101e757600080fd5b806374837935116100c8578063748379351461015657806379ba5097146101695780638da5cb5b14610171578063967961c61461018f57600080fd5b80633c01b93c146100ef578063715018a6146101045780637475fe931461010c575b600080fd5b6101026100fd366004610d4b565b610246565b005b61010261035a565b60035461012c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610102610164366004610d4b565b61036e565b6101026104e1565b60005473ffffffffffffffffffffffffffffffffffffffff1661012c565b610197610596565b60405161014d9190610de1565b6101b76101b2366004610d4b565b61066f565b604051901515815260200161014d565b60025461012c9073ffffffffffffffffffffffffffffffffffffffff1681565b61019761069d565b6101026101fd366004610e97565b61076d565b60015473ffffffffffffffffffffffffffffffffffffffff1661012c565b61010261022e366004610efa565b61099e565b6101b7610241366004610d4b565b610a4e565b60025473ffffffffffffffffffffffffffffffffffffffff1633146102cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064015b60405180910390fd5b61031182828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506004925060059150610a639050565b61035682828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506006925060079150610a639050565b5050565b610362610b9b565b61036c6000610c1c565b565b60025473ffffffffffffffffffffffffffffffffffffffff1633146103ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064016102c3565b60058282604051610401929190610f37565b908152602001604051809103902054600014610479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6d6d756e69747920616c726561647920657869737400000000000000000060448201526064016102c3565b600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b016104b6828483611017565b506004546040516005906104cd9085908590610f37565b908152604051908190036020019020555050565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461058a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084016102c3565b61059381610c1c565b50565b60606006805480602002602001604051908101604052809291908181526020016000905b828210156106665783829060005260206000200180546105d990610f76565b80601f016020809104026020016040519081016040528092919081815260200182805461060590610f76565b80156106525780601f1061062757610100808354040283529160200191610652565b820191906000526020600020905b81548152906001019060200180831161063557829003601f168201915b5050505050815260200190600101906105ba565b50505050905090565b60008060058484604051610684929190610f37565b9081526020016040518091039020541190505b92915050565b60606004805480602002602001604051908101604052809291908181526020016000905b828210156106665783829060005260206000200180546106e090610f76565b80601f016020809104026020016040519081016040528092919081815260200182805461070c90610f76565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b5050505050815260200190600101906106c1565b60035473ffffffffffffffffffffffffffffffffffffffff1633146107ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642073656e64657200000000000000000000000000000000000060448201526064016102c3565b60005b60065481101561084c57600760068281548110610810576108106110f6565b906000526020600020016040516108279190611125565b9081526020016040518091039020600090558080610844906111e8565b9150506107f1565b5061085960066000610cbd565b60005b818110156109995761088b838383818110610879576108796110f6565b90506020028101906101b29190611202565b6108f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f727900000000000060448201526064016102c3565b6006838383818110610905576109056110f6565b90506020028101906109179190611202565b825460018101845560009384526020909320909201916109379183611017565b5061094381600161126e565b6007848484818110610957576109576110f6565b90506020028101906109699190611202565b604051610977929190610f37565b9081526040519081900360200190205580610991816111e8565b91505061085c565b505050565b6109a6610b9b565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155610a0960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60008060078484604051610684929190610f37565b60008184604051610a749190611281565b908152602001604051809103902054905080600003610a935750505050565b80610a9d8161129d565b915050600183805490501115610b465782548390610abd906001906112b4565b81548110610acd57610acd6110f6565b90600052602060002001838281548110610ae957610ae96110f6565b906000526020600020019081610aff91906112c7565b50610b0b81600161126e565b82848381548110610b1e57610b1e6110f6565b90600052602060002001604051610b359190611125565b908152604051908190036020019020555b82805480610b5657610b566113c2565b600190038181906000526020600020016000610b729190610cdb565b905560008285604051610b859190611281565b9081526040519081900360200190205550505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610593816000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b50805460008255906000526020600020908101906105939190610d15565b508054610ce790610f76565b6000825580601f10610cf7575050565b601f0160209004906000526020600020908101906105939190610d36565b80821115610d32576000610d298282610cdb565b50600101610d15565b5090565b5b80821115610d325760008155600101610d37565b60008060208385031215610d5e57600080fd5b823567ffffffffffffffff80821115610d7657600080fd5b818501915085601f830112610d8a57600080fd5b813581811115610d9957600080fd5b866020828501011115610dab57600080fd5b60209290920196919550909350505050565b60005b83811015610dd8578181015183820152602001610dc0565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610e8a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845281518051808752610e4d818989018a8501610dbd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01695909501860194509285019290850190600101610e08565b5092979650505050505050565b60008060208385031215610eaa57600080fd5b823567ffffffffffffffff80821115610ec257600080fd5b818501915085601f830112610ed657600080fd5b813581811115610ee557600080fd5b8660208260051b8501011115610dab57600080fd5b600060208284031215610f0c57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610f3057600080fd5b9392505050565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680610f8a57607f821691505b602082108103610fc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561099957600081815260208120601f850160051c81016020861015610ff05750805b601f850160051c820191505b8181101561100f57828155600101610ffc565b505050505050565b67ffffffffffffffff83111561102f5761102f610f47565b6110438361103d8354610f76565b83610fc9565b6000601f841160018114611077576000851561105f5750838201355b600019600387901b1c1916600186901b1783556110ef565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156110c657868501358255602094850194600190920191016110a6565b50868210156110e35760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080835461113381610f76565b6001828116801561114b576001811461117e576111ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528215158302870194506111ad565b8760005260208060002060005b858110156111a45781548a82015290840190820161118b565b50505082870194505b50929695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060001982036111fb576111fb6111b9565b5060010190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261123757600080fd5b83018035915067ffffffffffffffff82111561125257600080fd5b60200191503681900382131561126757600080fd5b9250929050565b80820180821115610697576106976111b9565b60008251611293818460208701610dbd565b9190910192915050565b6000816112ac576112ac6111b9565b506000190190565b81810381811115610697576106976111b9565b8181036112d2575050565b6112dc8254610f76565b67ffffffffffffffff8111156112f4576112f4610f47565b611308816113028454610f76565b84610fc9565b6000601f82116001811461133c57600083156113245750848201545b600019600385901b1c1916600184901b1784556110ef565b6000858152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841690600086815260209020845b838110156113945782860154825560019586019590910190602001611374565b50858310156113b25781850154600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd", + "sourceMap": "146:2808:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1667:230;;;;;;:::i;:::-;;:::i;:::-;;1824:101:29;;;:::i;222:37:0:-;;;;;;;;;;;;786:42:62;774:55;;;756:74;;744:2;729:18;222:37:0;;;;;;;;1411:250;;;;;;:::i;:::-;;:::i;1734:212:30:-;;;:::i;1201:85:29:-;1247:7;1273:6;;;1201:85;;1037:114:0;;;:::i;:::-;;;;;;;:::i;640:138::-;;;;;;:::i;:::-;;:::i;:::-;;;2396:14:62;;2389:22;2371:41;;2359:2;2344:18;640:138:0;2231:187:62;187:29:0;;;;;;;;;933:98;;;:::i;1903:604::-;;;;;;:::i;:::-;;:::i;847:99:30:-;926:13;;;;847:99;;1139:178;;;;;;:::i;:::-;;:::i;784:143:0:-;;;;;;:::i;:::-;;:::i;1667:230::-;1219:14;;;;1205:10;:28;1197:55;;;;;;;3570:2:62;1197:55:0;;;3552:21:62;3609:2;3589:18;;;3582:30;3648:16;3628:18;;;3621:44;3682:18;;1197:55:0;;;;;;;;;1754::::1;1770:9;;1754:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1781:11:0::1;::::0;-1:-1:-1;1794:14:0::1;::::0;-1:-1:-1;1754:15:0::1;::::0;-1:-1:-1;1754:55:0:i:1;:::-;1819:71;1835:9;;1819:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;1846:19:0::1;::::0;-1:-1:-1;1867:22:0::1;::::0;-1:-1:-1;1819:15:0::1;::::0;-1:-1:-1;1819:71:0:i:1;:::-;1667:230:::0;;:::o;1824:101:29:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1411:250:0:-;1219:14;;;;1205:10;:28;1197:55;;;;;;;3570:2:62;1197:55:0;;;3552:21:62;3609:2;3589:18;;;3582:30;3648:16;3628:18;;;3621:44;3682:18;;1197:55:0;3368:338:62;1197:55:0;1503:14:::1;1518:9;;1503:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;1532:1;1503:30;1495:66;;;::::0;::::1;::::0;;4189:2:62;1495:66:0::1;::::0;::::1;4171:21:62::0;4228:2;4208:18;;;4201:30;4267:25;4247:18;;;4240:53;4310:18;;1495:66:0::1;3987:347:62::0;1495:66:0::1;1571:11;:27:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;1571:27:0;;;;;::::1;;1588:9:::0;;1571:27;::::1;:::i;:::-;-1:-1:-1::0;1636:11:0::1;:18:::0;1608:25:::1;::::0;:14:::1;::::0;:25:::1;::::0;1623:9;;;;1608:25:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:46;-1:-1:-1;;1411:250:0:o;1734:212:30:-;926:13;;719:10:34;;1833:24:30;926:13;1833:24;;1825:78;;;;;;;7403:2:62;1825:78:30;;;7385:21:62;7442:2;7422:18;;;7415:30;7481:34;7461:18;;;7454:62;7552:11;7532:18;;;7525:39;7581:19;;1825:78:30;7201:405:62;1825:78:30;1913:26;1932:6;1913:18;:26::i;:::-;1776:170;1734:212::o;1037:114:0:-;1092:14;1125:19;1118:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1037:114;:::o;640:138::-;719:4;770:1;742:14;757:9;;742:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;735:36;;640:138;;;;;:::o;933:98::-;980:14;1013:11;1006:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1903:604;1346:22;;;;1332:10;:36;1324:63;;;;;;;3570:2:62;1324:63:0;;;3552:21:62;3609:2;3589:18;;;3582:30;3648:16;3628:18;;;3621:44;3682:18;;1324:63:0;3368:338:62;1324:63:0;2023:9:::1;2018:137;2042:19;:26:::0;2038:30;::::1;2018:137;;;2097:22;2120:19;2140:1;2120:22;;;;;;;;:::i;:::-;;;;;;;;2097:46;;;;;;:::i;:::-;;;;;;;;;;;;;2089:55;;;2070:3;;;;;:::i;:::-;;;;2018:137;;;-1:-1:-1::0;2164:26:0::1;2171:19;;2164:26;:::i;:::-;2205:9;2200:301;2220:31:::0;;::::1;2200:301;;;2280:47;2303:20;;2324:1;2303:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;2280:47::-;2272:86;;;::::0;::::1;::::0;;9879:2:62;2272:86:0::1;::::0;::::1;9861:21:62::0;9918:2;9898:18;;;9891:30;9957:28;9937:18;;;9930:56;10003:18;;2272:86:0::1;9677:350:62::0;2272:86:0::1;2372:19;2397:20;;2418:1;2397:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2372:49:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;2372:49:0;;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;2485:5:0::1;:1:::0;2489::::1;2485:5;:::i;:::-;2435:22;2458:20;;2479:1;2458:23;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;2435:47;;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:55;2253:3;::::1;::::0;::::1;:::i;:::-;;;;2200:301;;;;1903:604:::0;;:::o;1139:178:30:-;1094:13:29;:11;:13::i;:::-;1228::30::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1292:7:::1;1247::29::0;1273:6;;;;1201:85;1292:7:30::1;1267:43;;;;;;;;;;;;1139:178:::0;:::o;784:143:0:-;860:4;919:1;883:22;906:9;;883:33;;;;;;;:::i;2513:439::-;2682:13;2698:7;2706:4;2698:13;;;;;;:::i;:::-;;;;;;;;;;;;;;2682:29;;2725:5;2734:1;2725:10;2721:23;;2737:7;2513:439;;;:::o;2721:23::-;2753:7;;;;:::i;:::-;;;;2789:1;2775:4;:11;;;;:15;2771:127;;;2825:11;;2820:4;;2825:15;;2839:1;;2825:15;:::i;:::-;2820:21;;;;;;;;:::i;:::-;;;;;;;;2806:4;2811:5;2806:11;;;;;;;;:::i;:::-;;;;;;;;:35;;;;;;:::i;:::-;-1:-1:-1;2878:9:0;:5;2886:1;2878:9;:::i;:::-;2855:7;2863:4;2868:5;2863:11;;;;;;;;:::i;:::-;;;;;;;;2855:20;;;;;;:::i;:::-;;;;;;;;;;;;;;:32;2771:127;2908:4;:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;2944:1;2928:7;2936:4;2928:13;;;;;;:::i;:::-;;;;;;;;;;;;;;:17;-1:-1:-1;;;;2513:439:0:o;1359:130:29:-;1247:7;1273:6;1422:23;1273:6;719:10:34;1422:23:29;1414:68;;;;;;;12733:2:62;1414:68:29;;;12715:21:62;;;12752:18;;;12745:30;12811:34;12791:18;;;12784:62;12863:18;;1414:68:29;12531:356:62;1501:153:30;1590:13;1583:20;;;;;;1613:34;1638:8;2499:16:29;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:591:62;84:6;92;145:2;133:9;124:7;120:23;116:32;113:52;;;161:1;158;151:12;113:52;201:9;188:23;230:18;271:2;263:6;260:14;257:34;;;287:1;284;277:12;257:34;325:6;314:9;310:22;300:32;;370:7;363:4;359:2;355:13;351:27;341:55;;392:1;389;382:12;341:55;432:2;419:16;458:2;450:6;447:14;444:34;;;474:1;471;464:12;444:34;519:7;514:2;505:6;501:2;497:15;493:24;490:37;487:57;;;540:1;537;530:12;487:57;571:2;563:11;;;;;593:6;;-1:-1:-1;14:591:62;;-1:-1:-1;;;;14:591:62:o;841:250::-;926:1;936:113;950:6;947:1;944:13;936:113;;;1026:11;;;1020:18;1007:11;;;1000:39;972:2;965:10;936:113;;;-1:-1:-1;;1083:1:62;1065:16;;1058:27;841:250::o;1096:1130::-;1256:4;1285:2;1325;1314:9;1310:18;1355:2;1344:9;1337:21;1378:6;1413;1407:13;1444:6;1436;1429:22;1482:2;1471:9;1467:18;1460:25;;1544:2;1534:6;1531:1;1527:14;1516:9;1512:30;1508:39;1494:53;;1582:2;1574:6;1570:15;1603:1;1613:584;1627:6;1624:1;1621:13;1613:584;;;1716:66;1704:9;1696:6;1692:22;1688:95;1683:3;1676:108;1813:6;1807:13;1855:2;1849:9;1886:8;1878:6;1871:24;1908:74;1973:8;1968:2;1960:6;1956:15;1951:2;1947;1943:11;1908:74;:::i;:::-;2039:2;2025:17;2044:66;2021:90;2009:103;;;;2005:112;;;-1:-1:-1;2175:12:62;;;;2140:15;;;;1649:1;1642:9;1613:584;;;-1:-1:-1;2214:6:62;;1096:1130;-1:-1:-1;;;;;;;1096:1130:62:o;2423:626::-;2520:6;2528;2581:2;2569:9;2560:7;2556:23;2552:32;2549:52;;;2597:1;2594;2587:12;2549:52;2637:9;2624:23;2666:18;2707:2;2699:6;2696:14;2693:34;;;2723:1;2720;2713:12;2693:34;2761:6;2750:9;2746:22;2736:32;;2806:7;2799:4;2795:2;2791:13;2787:27;2777:55;;2828:1;2825;2818:12;2777:55;2868:2;2855:16;2894:2;2886:6;2883:14;2880:34;;;2910:1;2907;2900:12;2880:34;2963:7;2958:2;2948:6;2945:1;2941:14;2937:2;2933:23;2929:32;2926:45;2923:65;;;2984:1;2981;2974:12;3054:309;3113:6;3166:2;3154:9;3145:7;3141:23;3137:32;3134:52;;;3182:1;3179;3172:12;3134:52;3221:9;3208:23;3271:42;3264:5;3260:54;3253:5;3250:65;3240:93;;3329:1;3326;3319:12;3240:93;3352:5;3054:309;-1:-1:-1;;;3054:309:62:o;3711:271::-;3894:6;3886;3881:3;3868:33;3850:3;3920:16;;3945:13;;;3920:16;3711:271;-1:-1:-1;3711:271:62:o;4339:184::-;4391:77;4388:1;4381:88;4488:4;4485:1;4478:15;4512:4;4509:1;4502:15;4528:437;4607:1;4603:12;;;;4650;;;4671:61;;4725:4;4717:6;4713:17;4703:27;;4671:61;4778:2;4770:6;4767:14;4747:18;4744:38;4741:218;;4815:77;4812:1;4805:88;4916:4;4913:1;4906:15;4944:4;4941:1;4934:15;4741:218;;4528:437;;;:::o;5095:544::-;5196:2;5191:3;5188:11;5185:448;;;5232:1;5257:5;5253:2;5246:17;5302:4;5298:2;5288:19;5372:2;5360:10;5356:19;5353:1;5349:27;5343:4;5339:38;5408:4;5396:10;5393:20;5390:47;;;-1:-1:-1;5431:4:62;5390:47;5486:2;5481:3;5477:12;5474:1;5470:20;5464:4;5460:31;5450:41;;5541:82;5559:2;5552:5;5549:13;5541:82;;;5604:17;;;5585:1;5574:13;5541:82;;;5545:3;;;5095:544;;;:::o;5875:1321::-;5997:18;5992:3;5989:27;5986:53;;;6019:18;;:::i;:::-;6048:93;6137:3;6097:38;6129:4;6123:11;6097:38;:::i;:::-;6091:4;6048:93;:::i;:::-;6167:1;6192:2;6187:3;6184:11;6209:1;6204:734;;;;6982:1;6999:3;6996:93;;;-1:-1:-1;7055:19:62;;;7042:33;6996:93;-1:-1:-1;;5772:1:62;5768:11;;;5764:84;5760:89;5750:100;5856:1;5852:11;;;5747:117;7102:78;;6177:1013;;6204:734;5042:1;5035:14;;;5079:4;5066:18;;6249:66;6240:76;;;6399:9;6421:229;6435:7;6432:1;6429:14;6421:229;;;6524:19;;;6511:33;6496:49;;6631:4;6616:20;;;;6584:1;6572:14;;;;6451:12;6421:229;;;6425:3;6678;6669:7;6666:16;6663:219;;;-1:-1:-1;;6792:3:62;6786;6783:1;6779:11;6775:21;6771:94;6767:99;6754:9;6749:3;6745:19;6732:33;6728:139;6720:6;6713:155;6663:219;;;6925:1;6919:3;6916:1;6912:11;6908:19;6902:4;6895:33;6177:1013;;;5875:1321;;;:::o;7611:184::-;7663:77;7660:1;7653:88;7760:4;7757:1;7750:15;7784:4;7781:1;7774:15;7800:898;7926:3;7955:1;7988:6;7982:13;8018:36;8044:9;8018:36;:::i;:::-;8073:1;8090:18;;;8117:191;;;;8322:1;8317:356;;;;8083:590;;8117:191;8165:66;8154:9;8150:82;8145:3;8138:95;8288:6;8281:14;8274:22;8266:6;8262:35;8257:3;8253:45;8246:52;;8117:191;;8317:356;8348:6;8345:1;8338:17;8378:4;8423:2;8420:1;8410:16;8448:1;8462:165;8476:6;8473:1;8470:13;8462:165;;;8554:14;;8541:11;;;8534:35;8597:16;;;;8491:10;;8462:165;;;8466:3;;;8656:6;8651:3;8647:16;8640:23;;8083:590;-1:-1:-1;8689:3:62;;7800:898;-1:-1:-1;;;;;;7800:898:62:o;8703:184::-;8755:77;8752:1;8745:88;8852:4;8849:1;8842:15;8876:4;8873:1;8866:15;8892:195;8931:3;-1:-1:-1;;8955:5:62;8952:77;8949:103;;9032:18;;:::i;:::-;-1:-1:-1;9079:1:62;9068:13;;8892:195::o;9092:580::-;9169:4;9175:6;9235:11;9222:25;9325:66;9314:8;9298:14;9294:29;9290:102;9270:18;9266:127;9256:155;;9407:1;9404;9397:12;9256:155;9434:33;;9486:20;;;-1:-1:-1;9529:18:62;9518:30;;9515:50;;;9561:1;9558;9551:12;9515:50;9594:4;9582:17;;-1:-1:-1;9625:14:62;9621:27;;;9611:38;;9608:58;;;9662:1;9659;9652:12;9608:58;9092:580;;;;;:::o;10032:125::-;10097:9;;;10118:10;;;10115:36;;;10131:18;;:::i;10162:287::-;10291:3;10329:6;10323:13;10345:66;10404:6;10399:3;10392:4;10384:6;10380:17;10345:66;:::i;:::-;10427:16;;;;;10162:287;-1:-1:-1;;10162:287:62:o;10454:196::-;10493:3;10521:5;10511:39;;10530:18;;:::i;:::-;-1:-1:-1;;;10566:78:62;;10454:196::o;10655:128::-;10722:9;;;10743:11;;;10740:37;;;10757:18;;:::i;10788:1549::-;10905:3;10899:4;10896:13;10893:26;;10912:5;;10788:1549::o;10893:26::-;10942:37;10974:3;10968:10;10942:37;:::i;:::-;11002:18;10994:6;10991:30;10988:56;;;11024:18;;:::i;:::-;11053:96;11142:6;11102:38;11134:4;11128:11;11102:38;:::i;:::-;11096:4;11053:96;:::i;:::-;11175:1;11203:2;11195:6;11192:14;11220:1;11215:865;;;;12124:1;12141:6;12138:89;;;-1:-1:-1;12193:19:62;;;12187:26;12138:89;-1:-1:-1;;5772:1:62;5768:11;;;5764:84;5760:89;5750:100;5856:1;5852:11;;;5747:117;12240:81;;11185:1146;;11215:865;5042:1;5035:14;;;5079:4;5066:18;;11263:66;11251:79;;;5042:1;5035:14;;;5079:4;5066:18;;11472:9;11494:251;11508:7;11505:1;11502:14;11494:251;;;11590:21;;;11584:28;11569:44;;11640:1;11713:18;;;;11668:15;;;;11531:4;11524:12;11494:251;;;11498:3;11773:6;11764:7;11761:19;11758:263;;;11834:21;;;11828:28;-1:-1:-1;;11919:1:62;11915:14;;;11931:3;11911:24;11907:97;11903:102;11888:118;11873:134;;11758:263;-1:-1:-1;;;;;12067:1:62;12051:14;;;12047:22;12034:36;;-1:-1:-1;10788:1549:62:o;12342:184::-;12394:77;12391:1;12384:88;12491:4;12488:1;12481:15;12515:4;12512:1;12505:15", "linkReferences": {} }, "methodIdentifiers": { + "acceptOwnership()": "79ba5097", "addCommunity(bytes)": "74837935", "featuredVotingContract()": "7475fe93", "getCommunities()": "c251b565", "getFeaturedCommunities()": "967961c6", "isCommunityFeatured(bytes)": "f6a18e62", "isCommunityInDirectory(bytes)": "b3dbb52a", + "owner()": "8da5cb5b", + "pendingOwner()": "e30c3978", "removeCommunity(bytes)": "3c01b93c", + "renounceOwnership()": "715018a6", "setFeaturedCommunities(bytes[])": "d62879f1", + "transferOwnership(address)": "f2fde38b", "votingContract()": "c1fc006a" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_votingContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_featuredVotingContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"addCommunity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"featuredVotingContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommunities\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeaturedCommunities\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"isCommunityFeatured\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"isCommunityInDirectory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"removeCommunity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"_featuredCommunities\",\"type\":\"bytes[]\"}],\"name\":\"setFeaturedCommunities\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Directory.sol\":\"Directory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f\",\"dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu\"]}},\"version\":1}", + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_votingContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_featuredVotingContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"addCommunity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"featuredVotingContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommunities\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeaturedCommunities\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"isCommunityFeatured\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"isCommunityInDirectory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"}],\"name\":\"removeCommunity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"_featuredCommunities\",\"type\":\"bytes[]\"}],\"name\":\"setFeaturedCommunities\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Directory.sol\":\"Directory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446\",\"dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e\",\"dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.20+commit.a1b79de6" @@ -191,6 +287,50 @@ "stateMutability": "nonpayable", "type": "constructor" }, + { + "inputs": [ + { + "internalType": "address", + "name": "previousOwner", + "type": "address", + "indexed": true + }, + { + "internalType": "address", + "name": "newOwner", + "type": "address", + "indexed": true + } + ], + "type": "event", + "name": "OwnershipTransferStarted", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "address", + "name": "previousOwner", + "type": "address", + "indexed": true + }, + { + "internalType": "address", + "name": "newOwner", + "type": "address", + "indexed": true + } + ], + "type": "event", + "name": "OwnershipTransferred", + "anonymous": false + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "acceptOwnership" + }, { "inputs": [ { @@ -280,6 +420,32 @@ } ] }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "pendingOwner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, { "inputs": [ { @@ -292,6 +458,12 @@ "type": "function", "name": "removeCommunity" }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "renounceOwnership" + }, { "inputs": [ { @@ -304,6 +476,18 @@ "type": "function", "name": "setFeaturedCommunities" }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "transferOwnership" + }, { "inputs": [], "stateMutability": "view", @@ -320,7 +504,23 @@ ], "devdoc": { "kind": "dev", - "methods": {}, + "methods": { + "acceptOwnership()": { + "details": "The new owner accepts the ownership transfer." + }, + "owner()": { + "details": "Returns the address of the current owner." + }, + "pendingOwner()": { + "details": "Returns the address of the pending owner." + }, + "renounceOwnership()": { + "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner." + }, + "transferOwnership(address)": { + "details": "Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner." + } + }, "version": 1 }, "userdoc": { @@ -356,26 +556,53 @@ }, "sources": { "contracts/Directory.sol": { - "keccak256": "0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9", + "keccak256": "0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8", "urls": [ - "bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f", - "dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu" + "bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446", + "dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH" ], "license": "UNLICENSED" + }, + "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol": { + "keccak256": "0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218", + "urls": [ + "bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32", + "dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz" + ], + "license": "MIT" + }, + "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol": { + "keccak256": "0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c", + "urls": [ + "bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e", + "dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q" + ], + "license": "MIT" + }, + "lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol": { + "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7", + "urls": [ + "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92", + "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3" + ], + "license": "MIT" } }, "version": 1 }, "ast": { "absolutePath": "contracts/Directory.sol", - "id": 295, + "id": 299, "exportedSymbols": { "Directory": [ - 294 + 298 + ], + "Ownable2Step": [ + 44621 ] }, "nodeType": "SourceUnit", - "src": "39:2819:0", + "src": "39:2916:0", "nodes": [ { "id": 1, @@ -390,21 +617,47 @@ ] }, { - "id": 294, + "id": 3, + "nodeType": "ImportDirective", + "src": "65:79:0", + "nodes": [], + "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol", + "file": "@openzeppelin/contracts/access/Ownable2Step.sol", + "nameLocation": "-1:-1:-1", + "scope": 299, + "sourceUnit": 44622, + "symbolAliases": [ + { + "foreign": { + "id": 2, + "name": "Ownable2Step", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 44621, + "src": "74:12:0", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 298, "nodeType": "ContractDefinition", - "src": "65:2792:0", + "src": "146:2808:0", "nodes": [ { - "id": 3, + "id": 7, "nodeType": "VariableDeclaration", - "src": "90:29:0", + "src": "187:29:0", "nodes": [], "constant": false, "functionSelector": "c1fc006a", "mutability": "mutable", "name": "votingContract", - "nameLocation": "105:14:0", - "scope": 294, + "nameLocation": "202:14:0", + "scope": 298, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -412,10 +665,10 @@ "typeString": "address" }, "typeName": { - "id": 2, + "id": 6, "name": "address", "nodeType": "ElementaryTypeName", - "src": "90:7:0", + "src": "187:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -425,16 +678,16 @@ "visibility": "public" }, { - "id": 5, + "id": 9, "nodeType": "VariableDeclaration", - "src": "125:37:0", + "src": "222:37:0", "nodes": [], "constant": false, "functionSelector": "7475fe93", "mutability": "mutable", "name": "featuredVotingContract", - "nameLocation": "140:22:0", - "scope": 294, + "nameLocation": "237:22:0", + "scope": 298, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -442,10 +695,10 @@ "typeString": "address" }, "typeName": { - "id": 4, + "id": 8, "name": "address", "nodeType": "ElementaryTypeName", - "src": "125:7:0", + "src": "222:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -455,15 +708,15 @@ "visibility": "public" }, { - "id": 8, + "id": 12, "nodeType": "VariableDeclaration", - "src": "169:27:0", + "src": "266:27:0", "nodes": [], "constant": false, "mutability": "mutable", "name": "communities", - "nameLocation": "185:11:0", - "scope": 294, + "nameLocation": "282:11:0", + "scope": 298, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -472,18 +725,18 @@ }, "typeName": { "baseType": { - "id": 6, + "id": 10, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "169:5:0", + "src": "266:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, - "id": 7, + "id": 11, "nodeType": "ArrayTypeName", - "src": "169:7:0", + "src": "266:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes[]" @@ -492,15 +745,15 @@ "visibility": "private" }, { - "id": 12, + "id": 16, "nodeType": "VariableDeclaration", - "src": "202:48:0", + "src": "299:48:0", "nodes": [], "constant": false, "mutability": "mutable", "name": "communitiesIdx", - "nameLocation": "236:14:0", - "scope": 294, + "nameLocation": "333:14:0", + "scope": 298, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -508,21 +761,21 @@ "typeString": "mapping(bytes => uint256)" }, "typeName": { - "id": 11, + "id": 15, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 9, + "id": 13, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "210:5:0", + "src": "307:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "nodeType": "Mapping", - "src": "202:25:0", + "src": "299:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes => uint256)" @@ -530,10 +783,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 10, + "id": 14, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "219:7:0", + "src": "316:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -542,53 +795,53 @@ }, "visibility": "private" }, - { - "id": 15, - "nodeType": "VariableDeclaration", - "src": "256:35:0", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "featuredCommunities", - "nameLocation": "272:19:0", - "scope": 294, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", - "typeString": "bytes[]" - }, - "typeName": { - "baseType": { - "id": 13, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "256:5:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "id": 14, - "nodeType": "ArrayTypeName", - "src": "256:7:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", - "typeString": "bytes[]" - } - }, - "visibility": "private" - }, { "id": 19, "nodeType": "VariableDeclaration", - "src": "297:56:0", + "src": "353:35:0", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "featuredCommunities", + "nameLocation": "369:19:0", + "scope": 298, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", + "typeString": "bytes[]" + }, + "typeName": { + "baseType": { + "id": 17, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "353:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "id": 18, + "nodeType": "ArrayTypeName", + "src": "353:7:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", + "typeString": "bytes[]" + } + }, + "visibility": "private" + }, + { + "id": 23, + "nodeType": "VariableDeclaration", + "src": "394:56:0", "nodes": [], "constant": false, "mutability": "mutable", "name": "featuredCommunitiesIdx", - "nameLocation": "331:22:0", - "scope": 294, + "nameLocation": "428:22:0", + "scope": 298, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -596,21 +849,21 @@ "typeString": "mapping(bytes => uint256)" }, "typeName": { - "id": 18, + "id": 22, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 16, + "id": 20, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "305:5:0", + "src": "402:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "nodeType": "Mapping", - "src": "297:25:0", + "src": "394:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes => uint256)" @@ -618,10 +871,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 17, + "id": 21, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "314:7:0", + "src": "411:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -631,59 +884,16 @@ "visibility": "private" }, { - "id": 35, + "id": 39, "nodeType": "FunctionDefinition", - "src": "360:177:0", + "src": "457:177:0", "nodes": [], "body": { - "id": 34, + "id": 38, "nodeType": "Block", - "src": "430:107:0", + "src": "527:107:0", "nodes": [], "statements": [ - { - "expression": { - "id": 28, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 26, - "name": "votingContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "440:14:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 27, - "name": "_votingContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 21, - "src": "457:15:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "440:32:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 29, - "nodeType": "ExpressionStatement", - "src": "440:32:0" - }, { "expression": { "id": 32, @@ -693,11 +903,11 @@ "lValueRequested": false, "leftHandSide": { "id": 30, - "name": "featuredVotingContract", + "name": "votingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5, - "src": "482:22:0", + "referencedDeclaration": 7, + "src": "537:14:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -707,17 +917,17 @@ "operator": "=", "rightHandSide": { "id": 31, - "name": "_featuredVotingContract", + "name": "_votingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "507:23:0", + "referencedDeclaration": 25, + "src": "554:15:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "482:48:0", + "src": "537:32:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -725,7 +935,50 @@ }, "id": 33, "nodeType": "ExpressionStatement", - "src": "482:48:0" + "src": "537:32:0" + }, + { + "expression": { + "id": 36, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 34, + "name": "featuredVotingContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 9, + "src": "579:22:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 35, + "name": "_featuredVotingContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "604:23:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "579:48:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 37, + "nodeType": "ExpressionStatement", + "src": "579:48:0" } ] }, @@ -735,18 +988,18 @@ "name": "", "nameLocation": "-1:-1:-1", "parameters": { - "id": 24, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 21, + "id": 25, "mutability": "mutable", "name": "_votingContract", - "nameLocation": "380:15:0", + "nameLocation": "477:15:0", "nodeType": "VariableDeclaration", - "scope": 35, - "src": "372:23:0", + "scope": 39, + "src": "469:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -754,10 +1007,10 @@ "typeString": "address" }, "typeName": { - "id": 20, + "id": 24, "name": "address", "nodeType": "ElementaryTypeName", - "src": "372:7:0", + "src": "469:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -768,13 +1021,13 @@ }, { "constant": false, - "id": 23, + "id": 27, "mutability": "mutable", "name": "_featuredVotingContract", - "nameLocation": "405:23:0", + "nameLocation": "502:23:0", "nodeType": "VariableDeclaration", - "scope": 35, - "src": "397:31:0", + "scope": 39, + "src": "494:31:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -782,10 +1035,10 @@ "typeString": "address" }, "typeName": { - "id": 22, + "id": 26, "name": "address", "nodeType": "ElementaryTypeName", - "src": "397:7:0", + "src": "494:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -795,28 +1048,28 @@ "visibility": "internal" } ], - "src": "371:58:0" + "src": "468:58:0" }, "returnParameters": { - "id": 25, + "id": 29, "nodeType": "ParameterList", "parameters": [], - "src": "430:0:0" + "src": "527:0:0" }, - "scope": 294, + "scope": 298, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 49, + "id": 53, "nodeType": "FunctionDefinition", - "src": "543:138:0", + "src": "640:138:0", "nodes": [], "body": { - "id": 48, + "id": 52, "nodeType": "Block", - "src": "628:53:0", + "src": "725:53:0", "nodes": [], "statements": [ { @@ -825,32 +1078,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 46, + "id": 50, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 42, + "id": 46, "name": "communitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12, - "src": "645:14:0", + "referencedDeclaration": 16, + "src": "742:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 44, + "id": 48, "indexExpression": { - "id": 43, + "id": 47, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 37, - "src": "660:9:0", + "referencedDeclaration": 41, + "src": "757:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -861,7 +1114,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "645:25:0", + "src": "742:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -871,30 +1124,30 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 45, + "id": 49, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "673:1:0", + "src": "770:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "645:29:0", + "src": "742:29:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 41, - "id": 47, + "functionReturnParameters": 45, + "id": 51, "nodeType": "Return", - "src": "638:36:0" + "src": "735:36:0" } ] }, @@ -903,20 +1156,20 @@ "kind": "function", "modifiers": [], "name": "isCommunityInDirectory", - "nameLocation": "552:22:0", + "nameLocation": "649:22:0", "parameters": { - "id": 38, + "id": 42, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 37, + "id": 41, "mutability": "mutable", "name": "community", - "nameLocation": "590:9:0", + "nameLocation": "687:9:0", "nodeType": "VariableDeclaration", - "scope": 49, - "src": "575:24:0", + "scope": 53, + "src": "672:24:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -924,10 +1177,10 @@ "typeString": "bytes" }, "typeName": { - "id": 36, + "id": 40, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "575:5:0", + "src": "672:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -936,21 +1189,21 @@ "visibility": "internal" } ], - "src": "574:26:0" + "src": "671:26:0" }, "returnParameters": { - "id": 41, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 40, + "id": 44, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 49, - "src": "622:4:0", + "scope": 53, + "src": "719:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -958,10 +1211,10 @@ "typeString": "bool" }, "typeName": { - "id": 39, + "id": 43, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "622:4:0", + "src": "719:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -970,22 +1223,22 @@ "visibility": "internal" } ], - "src": "621:6:0" + "src": "718:6:0" }, - "scope": 294, + "scope": 298, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 63, + "id": 67, "nodeType": "FunctionDefinition", - "src": "687:143:0", + "src": "784:143:0", "nodes": [], "body": { - "id": 62, + "id": 66, "nodeType": "Block", - "src": "769:61:0", + "src": "866:61:0", "nodes": [], "statements": [ { @@ -994,32 +1247,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 60, + "id": 64, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 56, + "id": 60, "name": "featuredCommunitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "786:22:0", + "referencedDeclaration": 23, + "src": "883:22:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 58, + "id": 62, "indexExpression": { - "id": 57, + "id": 61, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 51, - "src": "809:9:0", + "referencedDeclaration": 55, + "src": "906:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -1030,7 +1283,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "786:33:0", + "src": "883:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1040,30 +1293,30 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 59, + "id": 63, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "822:1:0", + "src": "919:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "786:37:0", + "src": "883:37:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 55, - "id": 61, + "functionReturnParameters": 59, + "id": 65, "nodeType": "Return", - "src": "779:44:0" + "src": "876:44:0" } ] }, @@ -1072,20 +1325,20 @@ "kind": "function", "modifiers": [], "name": "isCommunityFeatured", - "nameLocation": "696:19:0", + "nameLocation": "793:19:0", "parameters": { - "id": 52, + "id": 56, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 51, + "id": 55, "mutability": "mutable", "name": "community", - "nameLocation": "731:9:0", + "nameLocation": "828:9:0", "nodeType": "VariableDeclaration", - "scope": 63, - "src": "716:24:0", + "scope": 67, + "src": "813:24:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1093,10 +1346,10 @@ "typeString": "bytes" }, "typeName": { - "id": 50, + "id": 54, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "716:5:0", + "src": "813:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1105,21 +1358,21 @@ "visibility": "internal" } ], - "src": "715:26:0" + "src": "812:26:0" }, "returnParameters": { - "id": 55, + "id": 59, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 54, + "id": 58, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 63, - "src": "763:4:0", + "scope": 67, + "src": "860:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1127,10 +1380,10 @@ "typeString": "bool" }, "typeName": { - "id": 53, + "id": 57, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "763:4:0", + "src": "860:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1139,41 +1392,41 @@ "visibility": "internal" } ], - "src": "762:6:0" + "src": "859:6:0" }, - "scope": 294, + "scope": 298, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 72, + "id": 76, "nodeType": "FunctionDefinition", - "src": "836:98:0", + "src": "933:98:0", "nodes": [], "body": { - "id": 71, + "id": 75, "nodeType": "Block", - "src": "899:35:0", + "src": "996:35:0", "nodes": [], "statements": [ { "expression": { - "id": 69, + "id": 73, "name": "communities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8, - "src": "916:11:0", + "referencedDeclaration": 12, + "src": "1013:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "functionReturnParameters": 68, - "id": 70, + "functionReturnParameters": 72, + "id": 74, "nodeType": "Return", - "src": "909:18:0" + "src": "1006:18:0" } ] }, @@ -1182,26 +1435,26 @@ "kind": "function", "modifiers": [], "name": "getCommunities", - "nameLocation": "845:14:0", + "nameLocation": "942:14:0", "parameters": { - "id": 64, + "id": 68, "nodeType": "ParameterList", "parameters": [], - "src": "859:2:0" + "src": "956:2:0" }, "returnParameters": { - "id": 68, + "id": 72, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 67, + "id": 71, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 72, - "src": "883:14:0", + "scope": 76, + "src": "980:14:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1210,18 +1463,18 @@ }, "typeName": { "baseType": { - "id": 65, + "id": 69, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "883:5:0", + "src": "980:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, - "id": 66, + "id": 70, "nodeType": "ArrayTypeName", - "src": "883:7:0", + "src": "980:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes[]" @@ -1230,41 +1483,41 @@ "visibility": "internal" } ], - "src": "882:16:0" + "src": "979:16:0" }, - "scope": 294, + "scope": 298, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 81, + "id": 85, "nodeType": "FunctionDefinition", - "src": "940:114:0", + "src": "1037:114:0", "nodes": [], "body": { - "id": 80, + "id": 84, "nodeType": "Block", - "src": "1011:43:0", + "src": "1108:43:0", "nodes": [], "statements": [ { "expression": { - "id": 78, + "id": 82, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "1028:19:0", + "referencedDeclaration": 19, + "src": "1125:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "functionReturnParameters": 77, - "id": 79, + "functionReturnParameters": 81, + "id": 83, "nodeType": "Return", - "src": "1021:26:0" + "src": "1118:26:0" } ] }, @@ -1273,26 +1526,26 @@ "kind": "function", "modifiers": [], "name": "getFeaturedCommunities", - "nameLocation": "949:22:0", + "nameLocation": "1046:22:0", "parameters": { - "id": 73, + "id": 77, "nodeType": "ParameterList", "parameters": [], - "src": "971:2:0" + "src": "1068:2:0" }, "returnParameters": { - "id": 77, + "id": 81, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 76, + "id": 80, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 81, - "src": "995:14:0", + "scope": 85, + "src": "1092:14:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1301,18 +1554,18 @@ }, "typeName": { "baseType": { - "id": 74, + "id": 78, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "995:5:0", + "src": "1092:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, - "id": 75, + "id": 79, "nodeType": "ArrayTypeName", - "src": "995:7:0", + "src": "1092:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes[]" @@ -1321,22 +1574,22 @@ "visibility": "internal" } ], - "src": "994:16:0" + "src": "1091:16:0" }, - "scope": 294, + "scope": 298, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 93, + "id": 97, "nodeType": "ModifierDefinition", - "src": "1060:113:0", + "src": "1157:113:0", "nodes": [], "body": { - "id": 92, + "id": 96, "nodeType": "Block", - "src": "1090:83:0", + "src": "1187:83:0", "nodes": [], "statements": [ { @@ -1347,33 +1600,33 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 87, + "id": 91, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 84, + "id": 88, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "1108:3:0", + "src": "1205:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 85, + "id": 89, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1112:6:0", + "memberLocation": "1209:6:0", "memberName": "sender", "nodeType": "MemberAccess", - "src": "1108:10:0", + "src": "1205:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1382,18 +1635,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 86, + "id": 90, "name": "votingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "1122:14:0", + "referencedDeclaration": 7, + "src": "1219:14:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1108:28:0", + "src": "1205:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1401,14 +1654,14 @@ }, { "hexValue": "496e76616c69642073656e646572", - "id": 88, + "id": 92, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1138:16:0", + "src": "1235:16:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_691168f418fc5a4f61166421198b5a4bea266021eef8bf76cd53f1653d7b7ec0", "typeString": "literal_string \"Invalid sender\"" @@ -1427,7 +1680,7 @@ "typeString": "literal_string \"Invalid sender\"" } ], - "id": 83, + "id": 87, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1435,13 +1688,13 @@ -18 ], "referencedDeclaration": -18, - "src": "1100:7:0", + "src": "1197:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 89, + "id": 93, "isConstant": false, "isLValue": false, "isPure": false, @@ -1450,44 +1703,44 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1100:55:0", + "src": "1197:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 90, + "id": 94, "nodeType": "ExpressionStatement", - "src": "1100:55:0" + "src": "1197:55:0" }, { - "id": 91, + "id": 95, "nodeType": "PlaceholderStatement", - "src": "1165:1:0" + "src": "1262:1:0" } ] }, "name": "onlyVotingContract", - "nameLocation": "1069:18:0", + "nameLocation": "1166:18:0", "parameters": { - "id": 82, + "id": 86, "nodeType": "ParameterList", "parameters": [], - "src": "1087:2:0" + "src": "1184:2:0" }, "virtual": false, "visibility": "internal" }, { - "id": 105, + "id": 109, "nodeType": "ModifierDefinition", - "src": "1179:129:0", + "src": "1276:129:0", "nodes": [], "body": { - "id": 104, + "id": 108, "nodeType": "Block", - "src": "1217:91:0", + "src": "1314:91:0", "nodes": [], "statements": [ { @@ -1498,33 +1751,33 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 99, + "id": 103, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 96, + "id": 100, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "1235:3:0", + "src": "1332:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 97, + "id": 101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1239:6:0", + "memberLocation": "1336:6:0", "memberName": "sender", "nodeType": "MemberAccess", - "src": "1235:10:0", + "src": "1332:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1533,18 +1786,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 98, + "id": 102, "name": "featuredVotingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5, - "src": "1249:22:0", + "referencedDeclaration": 9, + "src": "1346:22:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1235:36:0", + "src": "1332:36:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1552,14 +1805,14 @@ }, { "hexValue": "496e76616c69642073656e646572", - "id": 100, + "id": 104, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1273:16:0", + "src": "1370:16:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_691168f418fc5a4f61166421198b5a4bea266021eef8bf76cd53f1653d7b7ec0", "typeString": "literal_string \"Invalid sender\"" @@ -1578,7 +1831,7 @@ "typeString": "literal_string \"Invalid sender\"" } ], - "id": 95, + "id": 99, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1586,13 +1839,13 @@ -18 ], "referencedDeclaration": -18, - "src": "1227:7:0", + "src": "1324:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 101, + "id": 105, "isConstant": false, "isLValue": false, "isPure": false, @@ -1601,44 +1854,44 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1227:63:0", + "src": "1324:63:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 102, + "id": 106, "nodeType": "ExpressionStatement", - "src": "1227:63:0" + "src": "1324:63:0" }, { - "id": 103, + "id": 107, "nodeType": "PlaceholderStatement", - "src": "1300:1:0" + "src": "1397:1:0" } ] }, "name": "onlyFeaturedVotingContract", - "nameLocation": "1188:26:0", + "nameLocation": "1285:26:0", "parameters": { - "id": 94, + "id": 98, "nodeType": "ParameterList", "parameters": [], - "src": "1214:2:0" + "src": "1311:2:0" }, "virtual": false, "visibility": "internal" }, { - "id": 135, + "id": 139, "nodeType": "FunctionDefinition", - "src": "1314:250:0", + "src": "1411:250:0", "nodes": [], "body": { - "id": 134, + "id": 138, "nodeType": "Block", - "src": "1388:176:0", + "src": "1485:176:0", "nodes": [], "statements": [ { @@ -1649,32 +1902,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 117, + "id": 121, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 113, + "id": 117, "name": "communitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12, - "src": "1406:14:0", + "referencedDeclaration": 16, + "src": "1503:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 115, + "id": 119, "indexExpression": { - "id": 114, + "id": 118, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1421:9:0", + "referencedDeclaration": 111, + "src": "1518:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -1685,7 +1938,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1406:25:0", + "src": "1503:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1695,21 +1948,21 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 116, + "id": 120, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1435:1:0", + "src": "1532:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "1406:30:0", + "src": "1503:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1717,14 +1970,14 @@ }, { "hexValue": "436f6d6d756e69747920616c7265616479206578697374", - "id": 118, + "id": 122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1438:25:0", + "src": "1535:25:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_23b1387ab6c65833bbd3cf33ec7adca62f64a18027bc505d31823eaba99f035d", "typeString": "literal_string \"Community already exist\"" @@ -1743,7 +1996,7 @@ "typeString": "literal_string \"Community already exist\"" } ], - "id": 112, + "id": 116, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1751,13 +2004,13 @@ -18 ], "referencedDeclaration": -18, - "src": "1398:7:0", + "src": "1495:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 119, + "id": 123, "isConstant": false, "isLValue": false, "isPure": false, @@ -1766,27 +2019,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1398:66:0", + "src": "1495:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 120, + "id": 124, "nodeType": "ExpressionStatement", - "src": "1398:66:0" + "src": "1495:66:0" }, { "expression": { "arguments": [ { - "id": 124, + "id": 128, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1491:9:0", + "referencedDeclaration": 111, + "src": "1588:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -1801,32 +2054,32 @@ } ], "expression": { - "id": 121, + "id": 125, "name": "communities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8, - "src": "1474:11:0", + "referencedDeclaration": 12, + "src": "1571:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "id": 123, + "id": 127, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1486:4:0", + "memberLocation": "1583:4:0", "memberName": "push", "nodeType": "MemberAccess", - "src": "1474:16:0", + "src": "1571:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes_storage_$dyn_storage_ptr_$_t_bytes_storage_$returns$__$attached_to$_t_array$_t_bytes_storage_$dyn_storage_ptr_$", "typeString": "function (bytes storage ref[] storage pointer,bytes storage ref)" } }, - "id": 125, + "id": 129, "isConstant": false, "isLValue": false, "isPure": false, @@ -1835,45 +2088,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1474:27:0", + "src": "1571:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 126, + "id": 130, "nodeType": "ExpressionStatement", - "src": "1474:27:0" + "src": "1571:27:0" }, { "expression": { - "id": 132, + "id": 136, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 127, + "id": 131, "name": "communitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12, - "src": "1511:14:0", + "referencedDeclaration": 16, + "src": "1608:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 129, + "id": 133, "indexExpression": { - "id": 128, + "id": 132, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1526:9:0", + "referencedDeclaration": 111, + "src": "1623:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -1884,7 +2137,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1511:25:0", + "src": "1608:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1894,40 +2147,40 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 130, + "id": 134, "name": "communities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8, - "src": "1539:11:0", + "referencedDeclaration": 12, + "src": "1636:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "id": 131, + "id": 135, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1551:6:0", + "memberLocation": "1648:6:0", "memberName": "length", "nodeType": "MemberAccess", - "src": "1539:18:0", + "src": "1636:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1511:46:0", + "src": "1608:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 133, + "id": 137, "nodeType": "ExpressionStatement", - "src": "1511:46:0" + "src": "1608:46:0" } ] }, @@ -1936,37 +2189,37 @@ "kind": "function", "modifiers": [ { - "id": 110, + "id": 114, "kind": "modifierInvocation", "modifierName": { - "id": 109, + "id": 113, "name": "onlyVotingContract", "nameLocations": [ - "1369:18:0" + "1466:18:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 93, - "src": "1369:18:0" + "referencedDeclaration": 97, + "src": "1466:18:0" }, "nodeType": "ModifierInvocation", - "src": "1369:18:0" + "src": "1466:18:0" } ], "name": "addCommunity", - "nameLocation": "1323:12:0", + "nameLocation": "1420:12:0", "parameters": { - "id": 108, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 107, + "id": 111, "mutability": "mutable", "name": "community", - "nameLocation": "1351:9:0", + "nameLocation": "1448:9:0", "nodeType": "VariableDeclaration", - "scope": 135, - "src": "1336:24:0", + "scope": 139, + "src": "1433:24:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1974,10 +2227,10 @@ "typeString": "bytes" }, "typeName": { - "id": 106, + "id": 110, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1336:5:0", + "src": "1433:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1986,64 +2239,64 @@ "visibility": "internal" } ], - "src": "1335:26:0" + "src": "1432:26:0" }, "returnParameters": { - "id": 111, + "id": 115, "nodeType": "ParameterList", "parameters": [], - "src": "1388:0:0" + "src": "1485:0:0" }, - "scope": 294, + "scope": 298, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 155, + "id": 159, "nodeType": "FunctionDefinition", - "src": "1570:230:0", + "src": "1667:230:0", "nodes": [], "body": { - "id": 154, + "id": 158, "nodeType": "Block", - "src": "1647:153:0", + "src": "1744:153:0", "nodes": [], "statements": [ { "expression": { "arguments": [ { - "id": 143, + "id": 147, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 137, - "src": "1673:9:0", + "referencedDeclaration": 141, + "src": "1770:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, { - "id": 144, + "id": 148, "name": "communities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8, - "src": "1684:11:0", + "referencedDeclaration": 12, + "src": "1781:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, { - "id": 145, + "id": 149, "name": "communitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 12, - "src": "1697:14:0", + "referencedDeclaration": 16, + "src": "1794:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" @@ -2065,18 +2318,18 @@ "typeString": "mapping(bytes memory => uint256)" } ], - "id": 142, + "id": 146, "name": "_removeFromList", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 293, - "src": "1657:15:0", + "referencedDeclaration": 297, + "src": "1754:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_array$_t_bytes_storage_$dyn_storage_ptr_$_t_mapping$_t_bytes_memory_ptr_$_t_uint256_$_$returns$__$", "typeString": "function (bytes memory,bytes storage ref[] storage pointer,mapping(bytes memory => uint256))" } }, - "id": 146, + "id": 150, "isConstant": false, "isLValue": false, "isPure": false, @@ -2085,51 +2338,51 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1657:55:0", + "src": "1754:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 147, + "id": 151, "nodeType": "ExpressionStatement", - "src": "1657:55:0" + "src": "1754:55:0" }, { "expression": { "arguments": [ { - "id": 149, + "id": 153, "name": "community", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 137, - "src": "1738:9:0", + "referencedDeclaration": 141, + "src": "1835:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, { - "id": 150, + "id": 154, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "1749:19:0", + "referencedDeclaration": 19, + "src": "1846:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, { - "id": 151, + "id": 155, "name": "featuredCommunitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1770:22:0", + "referencedDeclaration": 23, + "src": "1867:22:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" @@ -2151,18 +2404,18 @@ "typeString": "mapping(bytes memory => uint256)" } ], - "id": 148, + "id": 152, "name": "_removeFromList", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 293, - "src": "1722:15:0", + "referencedDeclaration": 297, + "src": "1819:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_array$_t_bytes_storage_$dyn_storage_ptr_$_t_mapping$_t_bytes_memory_ptr_$_t_uint256_$_$returns$__$", "typeString": "function (bytes memory,bytes storage ref[] storage pointer,mapping(bytes memory => uint256))" } }, - "id": 152, + "id": 156, "isConstant": false, "isLValue": false, "isPure": false, @@ -2171,16 +2424,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1722:71:0", + "src": "1819:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 153, + "id": 157, "nodeType": "ExpressionStatement", - "src": "1722:71:0" + "src": "1819:71:0" } ] }, @@ -2189,37 +2442,37 @@ "kind": "function", "modifiers": [ { - "id": 140, + "id": 144, "kind": "modifierInvocation", "modifierName": { - "id": 139, + "id": 143, "name": "onlyVotingContract", "nameLocations": [ - "1628:18:0" + "1725:18:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 93, - "src": "1628:18:0" + "referencedDeclaration": 97, + "src": "1725:18:0" }, "nodeType": "ModifierInvocation", - "src": "1628:18:0" + "src": "1725:18:0" } ], "name": "removeCommunity", - "nameLocation": "1579:15:0", + "nameLocation": "1676:15:0", "parameters": { - "id": 138, + "id": 142, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 137, + "id": 141, "mutability": "mutable", "name": "community", - "nameLocation": "1610:9:0", + "nameLocation": "1707:9:0", "nodeType": "VariableDeclaration", - "scope": 155, - "src": "1595:24:0", + "scope": 159, + "src": "1692:24:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2227,10 +2480,10 @@ "typeString": "bytes" }, "typeName": { - "id": 136, + "id": 140, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1595:5:0", + "src": "1692:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2239,39 +2492,39 @@ "visibility": "internal" } ], - "src": "1594:26:0" + "src": "1691:26:0" }, "returnParameters": { - "id": 141, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "1647:0:0" + "src": "1744:0:0" }, - "scope": 294, + "scope": 298, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 228, + "id": 232, "nodeType": "FunctionDefinition", - "src": "1806:604:0", + "src": "1903:604:0", "nodes": [], "body": { - "id": 227, + "id": 231, "nodeType": "Block", - "src": "1911:499:0", + "src": "2008:499:0", "nodes": [], "statements": [ { "body": { - "id": 182, + "id": 186, "nodeType": "Block", - "src": "1978:80:0", + "src": "2075:80:0", "statements": [ { "expression": { - "id": 180, + "id": 184, "isConstant": false, "isLValue": false, "isPure": false, @@ -2279,44 +2532,44 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "1992:55:0", + "src": "2089:55:0", "subExpression": { "components": [ { "baseExpression": { - "id": 174, + "id": 178, "name": "featuredCommunitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2000:22:0", + "referencedDeclaration": 23, + "src": "2097:22:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 178, + "id": 182, "indexExpression": { "baseExpression": { - "id": 175, + "id": 179, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "2023:19:0", + "referencedDeclaration": 19, + "src": "2120:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "id": 177, + "id": 181, "indexExpression": { - "id": 176, + "id": 180, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 164, - "src": "2043:1:0", + "referencedDeclaration": 168, + "src": "2140:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2327,7 +2580,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2023:22:0", + "src": "2120:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -2338,21 +2591,21 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2000:46:0", + "src": "2097:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 179, + "id": 183, "isConstant": false, "isInlineArray": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "TupleExpression", - "src": "1999:48:0", + "src": "2096:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2363,9 +2616,9 @@ "typeString": "tuple()" } }, - "id": 181, + "id": 185, "nodeType": "ExpressionStatement", - "src": "1992:55:0" + "src": "2089:55:0" } ] }, @@ -2374,18 +2627,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 170, + "id": 174, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 167, + "id": 171, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 164, - "src": "1941:1:0", + "referencedDeclaration": 168, + "src": "2038:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2395,52 +2648,52 @@ "operator": "<", "rightExpression": { "expression": { - "id": 168, + "id": 172, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "1945:19:0", + "referencedDeclaration": 19, + "src": "2042:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "id": 169, + "id": 173, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1965:6:0", + "memberLocation": "2062:6:0", "memberName": "length", "nodeType": "MemberAccess", - "src": "1945:26:0", + "src": "2042:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1941:30:0", + "src": "2038:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 183, + "id": 187, "initializationExpression": { "assignments": [ - 164 + 168 ], "declarations": [ { "constant": false, - "id": 164, + "id": 168, "mutability": "mutable", "name": "i", - "nameLocation": "1934:1:0", + "nameLocation": "2031:1:0", "nodeType": "VariableDeclaration", - "scope": 183, - "src": "1926:9:0", + "scope": 187, + "src": "2023:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2448,10 +2701,10 @@ "typeString": "uint256" }, "typeName": { - "id": 163, + "id": 167, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1926:7:0", + "src": "2023:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2460,17 +2713,17 @@ "visibility": "internal" } ], - "id": 166, + "id": 170, "initialValue": { "hexValue": "30", - "id": 165, + "id": 169, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1938:1:0", + "src": "2035:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -2478,11 +2731,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "1926:13:0" + "src": "2023:13:0" }, "loopExpression": { "expression": { - "id": 172, + "id": 176, "isConstant": false, "isLValue": false, "isPure": false, @@ -2490,14 +2743,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1973:3:0", + "src": "2070:3:0", "subExpression": { - "id": 171, + "id": 175, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 164, - "src": "1973:1:0", + "referencedDeclaration": 168, + "src": "2070:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2508,16 +2761,16 @@ "typeString": "uint256" } }, - "id": 173, + "id": 177, "nodeType": "ExpressionStatement", - "src": "1973:3:0" + "src": "2070:3:0" }, "nodeType": "ForStatement", - "src": "1921:137:0" + "src": "2018:137:0" }, { "expression": { - "id": 185, + "id": 189, "isConstant": false, "isLValue": false, "isPure": false, @@ -2525,14 +2778,14 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "2067:26:0", + "src": "2164:26:0", "subExpression": { - "id": 184, + "id": 188, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "2074:19:0", + "referencedDeclaration": 19, + "src": "2171:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" @@ -2543,15 +2796,15 @@ "typeString": "tuple()" } }, - "id": 186, + "id": 190, "nodeType": "ExpressionStatement", - "src": "2067:26:0" + "src": "2164:26:0" }, { "body": { - "id": 225, + "id": 229, "nodeType": "Block", - "src": "2161:243:0", + "src": "2258:243:0", "statements": [ { "expression": { @@ -2560,25 +2813,25 @@ "arguments": [ { "baseExpression": { - "id": 200, + "id": 204, "name": "_featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 158, - "src": "2206:20:0", + "referencedDeclaration": 162, + "src": "2303:20:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", "typeString": "bytes calldata[] calldata" } }, - "id": 202, + "id": 206, "indexExpression": { - "id": 201, + "id": 205, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2227:1:0", + "referencedDeclaration": 192, + "src": "2324:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2589,7 +2842,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2206:23:0", + "src": "2303:23:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -2603,18 +2856,18 @@ "typeString": "bytes calldata" } ], - "id": 199, + "id": 203, "name": "isCommunityInDirectory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 49, - "src": "2183:22:0", + "referencedDeclaration": 53, + "src": "2280:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_bytes_calldata_ptr_$returns$_t_bool_$", "typeString": "function (bytes calldata) view returns (bool)" } }, - "id": 203, + "id": 207, "isConstant": false, "isLValue": false, "isPure": false, @@ -2623,7 +2876,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2183:47:0", + "src": "2280:47:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2632,14 +2885,14 @@ }, { "hexValue": "436f6d6d756e697479206e6f7420696e206469726563746f7279", - "id": 204, + "id": 208, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2232:28:0", + "src": "2329:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1806560c275a21a5e60a2d508023c12f77933f654846b92d3849e2f408069559", "typeString": "literal_string \"Community not in directory\"" @@ -2658,7 +2911,7 @@ "typeString": "literal_string \"Community not in directory\"" } ], - "id": 198, + "id": 202, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2666,13 +2919,13 @@ -18 ], "referencedDeclaration": -18, - "src": "2175:7:0", + "src": "2272:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 205, + "id": 209, "isConstant": false, "isLValue": false, "isPure": false, @@ -2681,41 +2934,41 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2175:86:0", + "src": "2272:86:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 206, + "id": 210, "nodeType": "ExpressionStatement", - "src": "2175:86:0" + "src": "2272:86:0" }, { "expression": { "arguments": [ { "baseExpression": { - "id": 210, + "id": 214, "name": "_featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 158, - "src": "2300:20:0", + "referencedDeclaration": 162, + "src": "2397:20:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", "typeString": "bytes calldata[] calldata" } }, - "id": 212, + "id": 216, "indexExpression": { - "id": 211, + "id": 215, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2321:1:0", + "referencedDeclaration": 192, + "src": "2418:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2726,7 +2979,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2300:23:0", + "src": "2397:23:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -2741,32 +2994,32 @@ } ], "expression": { - "id": 207, + "id": 211, "name": "featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "2275:19:0", + "referencedDeclaration": 19, + "src": "2372:19:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage", "typeString": "bytes storage ref[] storage ref" } }, - "id": 209, + "id": 213, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2295:4:0", + "memberLocation": "2392:4:0", "memberName": "push", "nodeType": "MemberAccess", - "src": "2275:24:0", + "src": "2372:24:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_bytes_storage_$dyn_storage_ptr_$_t_bytes_storage_$returns$__$attached_to$_t_array$_t_bytes_storage_$dyn_storage_ptr_$", "typeString": "function (bytes storage ref[] storage pointer,bytes storage ref)" } }, - "id": 213, + "id": 217, "isConstant": false, "isLValue": false, "isPure": false, @@ -2775,59 +3028,59 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2275:49:0", + "src": "2372:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 214, + "id": 218, "nodeType": "ExpressionStatement", - "src": "2275:49:0" + "src": "2372:49:0" }, { "expression": { - "id": 223, + "id": 227, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 215, + "id": 219, "name": "featuredCommunitiesIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2338:22:0", + "referencedDeclaration": 23, + "src": "2435:22:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 219, + "id": 223, "indexExpression": { "baseExpression": { - "id": 216, + "id": 220, "name": "_featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 158, - "src": "2361:20:0", + "referencedDeclaration": 162, + "src": "2458:20:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", "typeString": "bytes calldata[] calldata" } }, - "id": 218, + "id": 222, "indexExpression": { - "id": 217, + "id": 221, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2382:1:0", + "referencedDeclaration": 192, + "src": "2479:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2838,7 +3091,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2361:23:0", + "src": "2458:23:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -2849,7 +3102,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2338:47:0", + "src": "2435:47:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2862,18 +3115,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 222, + "id": 226, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 220, + "id": 224, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2388:1:0", + "referencedDeclaration": 192, + "src": "2485:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2883,35 +3136,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 221, + "id": 225, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2392:1:0", + "src": "2489:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "2388:5:0", + "src": "2485:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2338:55:0", + "src": "2435:55:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 224, + "id": 228, "nodeType": "ExpressionStatement", - "src": "2338:55:0" + "src": "2435:55:0" } ] }, @@ -2920,18 +3173,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 194, + "id": 198, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 191, + "id": 195, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2123:1:0", + "referencedDeclaration": 192, + "src": "2220:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2941,52 +3194,52 @@ "operator": "<", "rightExpression": { "expression": { - "id": 192, + "id": 196, "name": "_featuredCommunities", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 158, - "src": "2127:20:0", + "referencedDeclaration": 162, + "src": "2224:20:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr", "typeString": "bytes calldata[] calldata" } }, - "id": 193, + "id": 197, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2148:6:0", + "memberLocation": "2245:6:0", "memberName": "length", "nodeType": "MemberAccess", - "src": "2127:27:0", + "src": "2224:27:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2123:31:0", + "src": "2220:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 226, + "id": 230, "initializationExpression": { "assignments": [ - 188 + 192 ], "declarations": [ { "constant": false, - "id": 188, + "id": 192, "mutability": "mutable", "name": "i", - "nameLocation": "2116:1:0", + "nameLocation": "2213:1:0", "nodeType": "VariableDeclaration", - "scope": 226, - "src": "2108:9:0", + "scope": 230, + "src": "2205:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2994,10 +3247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 187, + "id": 191, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2108:7:0", + "src": "2205:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3006,17 +3259,17 @@ "visibility": "internal" } ], - "id": 190, + "id": 194, "initialValue": { "hexValue": "30", - "id": 189, + "id": 193, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2120:1:0", + "src": "2217:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3024,11 +3277,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "2108:13:0" + "src": "2205:13:0" }, "loopExpression": { "expression": { - "id": 196, + "id": 200, "isConstant": false, "isLValue": false, "isPure": false, @@ -3036,14 +3289,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2156:3:0", + "src": "2253:3:0", "subExpression": { - "id": 195, + "id": 199, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 188, - "src": "2156:1:0", + "referencedDeclaration": 192, + "src": "2253:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3054,12 +3307,12 @@ "typeString": "uint256" } }, - "id": 197, + "id": 201, "nodeType": "ExpressionStatement", - "src": "2156:3:0" + "src": "2253:3:0" }, "nodeType": "ForStatement", - "src": "2103:301:0" + "src": "2200:301:0" } ] }, @@ -3068,37 +3321,37 @@ "kind": "function", "modifiers": [ { - "id": 161, + "id": 165, "kind": "modifierInvocation", "modifierName": { - "id": 160, + "id": 164, "name": "onlyFeaturedVotingContract", "nameLocations": [ - "1884:26:0" + "1981:26:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 105, - "src": "1884:26:0" + "referencedDeclaration": 109, + "src": "1981:26:0" }, "nodeType": "ModifierInvocation", - "src": "1884:26:0" + "src": "1981:26:0" } ], "name": "setFeaturedCommunities", - "nameLocation": "1815:22:0", + "nameLocation": "1912:22:0", "parameters": { - "id": 159, + "id": 163, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 158, + "id": 162, "mutability": "mutable", "name": "_featuredCommunities", - "nameLocation": "1855:20:0", + "nameLocation": "1952:20:0", "nodeType": "VariableDeclaration", - "scope": 228, - "src": "1838:37:0", + "scope": 232, + "src": "1935:37:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -3107,18 +3360,18 @@ }, "typeName": { "baseType": { - "id": 156, + "id": 160, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1838:5:0", + "src": "1935:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, - "id": 157, + "id": 161, "nodeType": "ArrayTypeName", - "src": "1838:7:0", + "src": "1935:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes[]" @@ -3127,44 +3380,44 @@ "visibility": "internal" } ], - "src": "1837:39:0" + "src": "1934:39:0" }, "returnParameters": { - "id": 162, + "id": 166, "nodeType": "ParameterList", "parameters": [], - "src": "1911:0:0" + "src": "2008:0:0" }, - "scope": 294, + "scope": 298, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 293, + "id": 297, "nodeType": "FunctionDefinition", - "src": "2416:439:0", + "src": "2513:439:0", "nodes": [], "body": { - "id": 292, + "id": 296, "nodeType": "Block", - "src": "2575:280:0", + "src": "2672:280:0", "nodes": [], "statements": [ { "assignments": [ - 241 + 245 ], "declarations": [ { "constant": false, - "id": 241, + "id": 245, "mutability": "mutable", "name": "index", - "nameLocation": "2593:5:0", + "nameLocation": "2690:5:0", "nodeType": "VariableDeclaration", - "scope": 292, - "src": "2585:13:0", + "scope": 296, + "src": "2682:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3172,10 +3425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 240, + "id": 244, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2585:7:0", + "src": "2682:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3184,28 +3437,28 @@ "visibility": "internal" } ], - "id": 245, + "id": 249, "initialValue": { "baseExpression": { - "id": 242, + "id": 246, "name": "listIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 237, - "src": "2601:7:0", + "referencedDeclaration": 241, + "src": "2698:7:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 244, + "id": 248, "indexExpression": { - "id": 243, + "id": 247, "name": "item", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 230, - "src": "2609:4:0", + "referencedDeclaration": 234, + "src": "2706:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -3216,14 +3469,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2601:13:0", + "src": "2698:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "2585:29:0" + "src": "2682:29:0" }, { "condition": { @@ -3231,18 +3484,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 248, + "id": 252, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 246, + "id": 250, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2628:5:0", + "referencedDeclaration": 245, + "src": "2725:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3252,39 +3505,39 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 247, + "id": 251, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2637:1:0", + "src": "2734:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "2628:10:0", + "src": "2725:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 250, + "id": 254, "nodeType": "IfStatement", - "src": "2624:23:0", + "src": "2721:23:0", "trueBody": { - "functionReturnParameters": 239, - "id": 249, + "functionReturnParameters": 243, + "id": 253, "nodeType": "Return", - "src": "2640:7:0" + "src": "2737:7:0" } }, { "expression": { - "id": 252, + "id": 256, "isConstant": false, "isLValue": false, "isPure": false, @@ -3292,14 +3545,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2656:7:0", + "src": "2753:7:0", "subExpression": { - "id": 251, + "id": 255, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2656:5:0", + "referencedDeclaration": 245, + "src": "2753:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3310,9 +3563,9 @@ "typeString": "uint256" } }, - "id": 253, + "id": 257, "nodeType": "ExpressionStatement", - "src": "2656:7:0" + "src": "2753:7:0" }, { "condition": { @@ -3320,33 +3573,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 257, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 254, + "id": 258, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2678:4:0", + "referencedDeclaration": 237, + "src": "2775:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 255, + "id": 259, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2683:6:0", + "memberLocation": "2780:6:0", "memberName": "length", "nodeType": "MemberAccess", - "src": "2678:11:0", + "src": "2775:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3356,62 +3609,62 @@ "operator": ">", "rightExpression": { "hexValue": "31", - "id": 256, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2692:1:0", + "src": "2789:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "2678:15:0", + "src": "2775:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 280, + "id": 284, "nodeType": "IfStatement", - "src": "2674:127:0", + "src": "2771:127:0", "trueBody": { - "id": 279, + "id": 283, "nodeType": "Block", - "src": "2695:106:0", + "src": "2792:106:0", "statements": [ { "expression": { - "id": 267, + "id": 271, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 258, + "id": 262, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2709:4:0", + "referencedDeclaration": 237, + "src": "2806:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 260, + "id": 264, "indexExpression": { - "id": 259, + "id": 263, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2714:5:0", + "referencedDeclaration": 245, + "src": "2811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3422,7 +3675,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2709:11:0", + "src": "2806:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -3432,50 +3685,50 @@ "operator": "=", "rightHandSide": { "baseExpression": { - "id": 261, + "id": 265, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2723:4:0", + "referencedDeclaration": 237, + "src": "2820:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 266, + "id": 270, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 265, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 262, + "id": 266, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2728:4:0", + "referencedDeclaration": 237, + "src": "2825:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 263, + "id": 267, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2733:6:0", + "memberLocation": "2830:6:0", "memberName": "length", "nodeType": "MemberAccess", - "src": "2728:11:0", + "src": "2825:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3485,21 +3738,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 264, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2742:1:0", + "src": "2839:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "2728:15:0", + "src": "2825:15:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3510,64 +3763,64 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2723:21:0", + "src": "2820:21:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" } }, - "src": "2709:35:0", + "src": "2806:35:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" } }, - "id": 268, + "id": 272, "nodeType": "ExpressionStatement", - "src": "2709:35:0" + "src": "2806:35:0" }, { "expression": { - "id": 277, + "id": 281, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 269, + "id": 273, "name": "listIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 237, - "src": "2758:7:0", + "referencedDeclaration": 241, + "src": "2855:7:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 273, + "id": 277, "indexExpression": { "baseExpression": { - "id": 270, + "id": 274, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2766:4:0", + "referencedDeclaration": 237, + "src": "2863:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 272, + "id": 276, "indexExpression": { - "id": 271, + "id": 275, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2771:5:0", + "referencedDeclaration": 245, + "src": "2868:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3578,7 +3831,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2766:11:0", + "src": "2863:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -3589,7 +3842,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2758:20:0", + "src": "2855:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3602,18 +3855,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 276, + "id": 280, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 274, + "id": 278, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "2781:5:0", + "referencedDeclaration": 245, + "src": "2878:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3623,35 +3876,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 275, + "id": 279, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2789:1:0", + "src": "2886:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "2781:9:0", + "src": "2878:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2758:32:0", + "src": "2855:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 278, + "id": 282, "nodeType": "ExpressionStatement", - "src": "2758:32:0" + "src": "2855:32:0" } ] } @@ -3662,32 +3915,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 281, + "id": 285, "name": "list", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 233, - "src": "2811:4:0", + "referencedDeclaration": 237, + "src": "2908:4:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 283, + "id": 287, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2816:3:0", + "memberLocation": "2913:3:0", "memberName": "pop", "nodeType": "MemberAccess", - "src": "2811:8:0", + "src": "2908:8:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$_t_array$_t_bytes_storage_$dyn_storage_ptr_$returns$__$attached_to$_t_array$_t_bytes_storage_$dyn_storage_ptr_$", "typeString": "function (bytes storage ref[] storage pointer)" } }, - "id": 284, + "id": 288, "isConstant": false, "isLValue": false, "isPure": false, @@ -3696,45 +3949,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2811:10:0", + "src": "2908:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 285, + "id": 289, "nodeType": "ExpressionStatement", - "src": "2811:10:0" + "src": "2908:10:0" }, { "expression": { - "id": 290, + "id": 294, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 286, + "id": 290, "name": "listIdx", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 237, - "src": "2831:7:0", + "referencedDeclaration": 241, + "src": "2928:7:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 288, + "id": 292, "indexExpression": { - "id": 287, + "id": 291, "name": "item", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 230, - "src": "2839:4:0", + "referencedDeclaration": 234, + "src": "2936:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -3745,7 +3998,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2831:13:0", + "src": "2928:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3755,29 +4008,29 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 289, + "id": 293, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2847:1:0", + "src": "2944:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "2831:17:0", + "src": "2928:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 291, + "id": 295, "nodeType": "ExpressionStatement", - "src": "2831:17:0" + "src": "2928:17:0" } ] }, @@ -3785,20 +4038,20 @@ "kind": "function", "modifiers": [], "name": "_removeFromList", - "nameLocation": "2425:15:0", + "nameLocation": "2522:15:0", "parameters": { - "id": 238, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 230, + "id": 234, "mutability": "mutable", "name": "item", - "nameLocation": "2463:4:0", + "nameLocation": "2560:4:0", "nodeType": "VariableDeclaration", - "scope": 293, - "src": "2450:17:0", + "scope": 297, + "src": "2547:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3806,10 +4059,10 @@ "typeString": "bytes" }, "typeName": { - "id": 229, + "id": 233, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2450:5:0", + "src": "2547:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3819,13 +4072,13 @@ }, { "constant": false, - "id": 233, + "id": 237, "mutability": "mutable", "name": "list", - "nameLocation": "2493:4:0", + "nameLocation": "2590:4:0", "nodeType": "VariableDeclaration", - "scope": 293, - "src": "2477:20:0", + "scope": 297, + "src": "2574:20:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { @@ -3834,18 +4087,18 @@ }, "typeName": { "baseType": { - "id": 231, + "id": 235, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2477:5:0", + "src": "2574:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, - "id": 232, + "id": 236, "nodeType": "ArrayTypeName", - "src": "2477:7:0", + "src": "2574:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes[]" @@ -3855,13 +4108,13 @@ }, { "constant": false, - "id": 237, + "id": 241, "mutability": "mutable", "name": "listIdx", - "nameLocation": "2541:7:0", + "nameLocation": "2638:7:0", "nodeType": "VariableDeclaration", - "scope": 293, - "src": "2507:41:0", + "scope": 297, + "src": "2604:41:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { @@ -3869,21 +4122,21 @@ "typeString": "mapping(bytes => uint256)" }, "typeName": { - "id": 236, + "id": 240, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 234, + "id": 238, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2515:5:0", + "src": "2612:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "nodeType": "Mapping", - "src": "2507:25:0", + "src": "2604:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes => uint256)" @@ -3891,10 +4144,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 235, + "id": 239, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2524:7:0", + "src": "2621:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3904,34 +4157,56 @@ "visibility": "internal" } ], - "src": "2440:114:0" + "src": "2537:114:0" }, "returnParameters": { - "id": 239, + "id": 243, "nodeType": "ParameterList", "parameters": [], - "src": "2575:0:0" + "src": "2672:0:0" }, - "scope": 294, + "scope": 298, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" } ], "abstract": false, - "baseContracts": [], + "baseContracts": [ + { + "baseName": { + "id": 4, + "name": "Ownable2Step", + "nameLocations": [ + "168:12:0" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 44621, + "src": "168:12:0" + }, + "id": 5, + "nodeType": "InheritanceSpecifier", + "src": "168:12:0" + } + ], "canonicalName": "Directory", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 294 + 298, + 44621, + 45418, + 45910 ], "name": "Directory", - "nameLocation": "74:9:0", - "scope": 295, + "nameLocation": "155:9:0", + "scope": 299, "usedErrors": [], - "usedEvents": [] + "usedEvents": [ + 44552, + 45319 + ] } ], "license": "UNLICENSED" diff --git a/packages/contracts/out/FeaturedVotingContract.sol/FeaturedVotingContract.json b/packages/contracts/out/FeaturedVotingContract.sol/FeaturedVotingContract.json index 1232da9..06b57b1 100644 --- a/packages/contracts/out/FeaturedVotingContract.sol/FeaturedVotingContract.json +++ b/packages/contracts/out/FeaturedVotingContract.sol/FeaturedVotingContract.json @@ -605,12 +605,12 @@ ], "bytecode": { "object": "0x608060405260006009553480156200001657600080fd5b50604051620032c4380380620032c48339810160408190526200003991620001fe565b6200004433620000f2565b600380546001600160a01b0319166001600160a01b03871617905560048490556005839055600782905560068190556040805160c0810182526018608082019081527f466561747572656420566f74696e6720436f6e7472616374000000000000000060a083015281528151808301835260018152603160f81b6020808301919091528201524691810191909152306060820152620000e39062000110565b600e5550620002559350505050565b600180546001600160a01b03191690556200010d81620001ae565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82600001518051906020012083602001518051906020012084604001518560600151604051602001620001919594939291909485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b604051602081830303815290604052805190602001209050919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600060a086880312156200021757600080fd5b85516001600160a01b03811681146200022f57600080fd5b602087015160408801516060890151608090990151929a91995097965090945092505050565b61305f80620002656000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806380e0111e116100cd578063c41c2f2411610081578063f2fde38b11610066578063f2fde38b1461035a578063fc0c546a1461036d578063ff9bd0481461038d57600080fd5b8063c41c2f241461031c578063e30c39781461033c57600080fd5b80638da5cb5b116100b25780638da5cb5b14610269578063a1673341146102a8578063a598d03c146102bb57600080fd5b806380e0111e14610222578063865229731461024257600080fd5b80636c265f9d116101245780636e91818a116101095780636e91818a146101ff578063715018a61461021257806379ba50971461021a57600080fd5b80636c265f9d146101d35780636e571332146101f657600080fd5b80630a64522f116101555780630a64522f146101a25780632d0e9c28146101ab578063349071c2146101c057600080fd5b806304646a491461017157806305c1112d1461018d575b600080fd5b61017a60075481565b6040519081526020015b60405180910390f35b610195610396565b6040516101849190612637565b61017a60045481565b6101be6101b9366004612722565b610461565b005b6101be6101ce36600461276e565b610a1a565b6101e66101e13660046127e3565b610b1d565b6040519015158152602001610184565b61017a60065481565b6101be61020d366004612847565b610d31565b6101be610d80565b6101be610d94565b610235610230366004612864565b610e2f565b604051610184919061287d565b61017a7fc61be5868a517c2688d120fb5bc4073a1804e9a9b307218e2701647bf86f4c7281565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101be6102b6366004612966565b610f60565b6102ce6102c9366004612864565b611307565b60408051998a5260208a01989098529688019590955260608701939093526080860191909152151560a085015263ffffffff1660c0840152151560e083015261010082015261012001610184565b6002546102839073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16610283565b6101be610368366004612847565b611374565b6003546102839073ffffffffffffffffffffffffffffffffffffffff1681565b61017a60055481565b6060600a805480602002602001604051908101604052809291908181526020016000905b8282101561045857600084815260209081902060408051610120810182526007860290920180548352600180820154848601526002820154928401929092526003810154606084015260048101546080840152600581015460ff808216151560a086015261010080830463ffffffff1660c08701526501000000000090920416151560e08501526006909101549083015290835290920191016103ba565b50505050905090565b600a5415806104a35750600a805461047b906001906129bb565b8154811061048b5761048b6129ce565b600091825260209091206005600790920201015460ff165b6104f45760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e6700000000000000000000000060448201526064015b60405180910390fd5b6002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a9061054c9086908690600401612a28565b602060405180830381865afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d9190612a44565b6105d95760405162461bcd60e51b815260206004820152601a60248201527f636f6d6d756e697479206e6f7420696e206469726563746f727900000000000060448201526064016104eb565b6105e38383610b1d565b156106555760405162461bcd60e51b8152602060048201526024808201527f636f6d6d756e69747920686173206265656e206665617475726564207265636560448201527f6e746c790000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152829173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156106c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e79190612a66565b10156107355760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e0000000000000000000000000000000060448201526064016104eb565b600a54600090610746906001612a7f565b90506001600d6000838152602001908152602001600020858560405161076d929190612a92565b908152604080516020928190038301812033600081815291855283822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001696151596909617909555858152600b84528290206060820183529381528151601f880184900484028101840190925286825291808301919088908890819084018382808284376000920182905250938552505050602091820186905283546001808201865594825290829020835160039092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117815590820151919290919082019061087a9082612b72565b50604082015181600201555050600a604051806101200160405280838152602001438152602001428152602001600454426108b59190612a7f565b8152602001600554600454426108cb9190612a7f565b6108d59190612a7f565b81526000602080830182905260408084018390526060808501849052608094850184905286546001808201895597855293839020865160079095020193845591850151838701558401516002830155830151600382015590820151600482015560a082015160058201805460c085015160e08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000009092169315157fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff169390931761010063ffffffff9094168402177fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff166501000000000091151591909102179055909101516006909101556109eb90611424565b6040517f877e2548498f42b7975a186b94ef1d32c86d420b7b806dd2be2bea293b89590490600090a150505050565b600a5415801590610a5f5750600a8054610a36906001906129bb565b81548110610a4657610a466129ce565b600091825260209091206005600790920201015460ff16155b610aab5760405162461bcd60e51b815260206004820152600f60248201527f6e6f206f6e676f696e6720766f7465000000000000000000000000000000000060448201526064016104eb565b6000805b82811015610b0e576000610ae5858584818110610ace57610ace6129ce565b9050602002810190610ae09190612c6e565b6119c7565b90508015610afb57610af8600184612cac565b92505b5080610b0681612cd0565b915050610aaf565b50610b1881611424565b505050565b600a546000908103610b3157506000610d2b565b600a805460009190610b45906001906129bb565b81548110610b5557610b556129ce565b600091825260209091206005600790920201015460ff16610b8357600754610b7e906001612a7f565b610b87565b6007545b600a54909150610b979082611faa565b905060005b81811015610d24576000600c6000600a600185600a80549050610bbf91906129bb565b610bc991906129bb565b81548110610bd957610bd96129ce565b9060005260206000209060070201600001548152602001908152602001600020905060005b8154811015610d0f57610ceb828281548110610c1c57610c1c6129ce565b906000526020600020018054610c3190612ad1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5d90612ad1565b8015610caa5780601f10610c7f57610100808354040283529160200191610caa565b820191906000526020600020905b815481529060010190602001808311610c8d57829003601f168201915b505050505088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fc292505050565b15610cfd576001945050505050610d2b565b80610d0781612cd0565b915050610bfe565b50508080610d1c90612cd0565b915050610b9c565b5060009150505b92915050565b610d39612084565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610d88612084565b610d9260006120eb565b565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610e235760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084016104eb565b610e2c816120eb565b50565b6060600b6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610f55576000848152602090819020604080516060810190915260038502909101805473ffffffffffffffffffffffffffffffffffffffff1682526001810180549293919291840191610eba90612ad1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee690612ad1565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b5050505050815260200160028201548152505081526020019060010190610e64565b505050509050919050565b600a54610faf5760405162461bcd60e51b815260206004820152600f60248201527f6e6f206f6e676f696e6720766f7465000000000000000000000000000000000060448201526064016104eb565b600a805460009190610fc3906001906129bb565b81548110610fd357610fd36129ce565b60009182526020909120600790910201600581015490915060ff1661107f57428160040154106110455760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e67000000000000000000000000000060448201526064016104eb565b6005810180544260048401554360068401557fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001660011790555b600581015465010000000000900460ff16156110dd5760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a65640000000000000000000060448201526064016104eb565b6110e682611424565b600581015465010000000000900460ff16156113035780546000908152600c60205260408120905b60065481101561123c57600060015b60095481101561118d576008828154811061113a5761113a6129ce565b9060005260206000209060020201600101546008828154811061115f5761115f6129ce565b906000526020600020906002020160010154111561117b578091505b8061118581612cd0565b91505061111d565b50600881815481106111a1576111a16129ce565b9060005260206000209060020201600101546000036111c0575061123c565b82600882815481106111d4576111d46129ce565b6000918252602080832084546001810186559484529220909201916111ff9160029091020182612d08565b50600060088281548110611215576112156129ce565b6000918252602090912060016002909202010155508061123481612cd0565b91505061110e565b506002546040517fd62879f100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063d62879f190611293908490600401612eb2565b600060405180830381600087803b1580156112ad57600080fd5b505af11580156112c1573d6000803e3d6000fd5b5050600060098190556112d89250600891506125a8565b6040517f0b4fdfa0ecb155e553b7e0a3dabc266f9e01e6f79c154cce531d322df1a1d40590600090a1505b5050565b600a818154811061131757600080fd5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549496509294919390929160ff8082169263ffffffff610100840416926501000000000090049091169089565b61137c612084565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000090911681179091556113df60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600a805460009190611438906001906129bb565b81548110611448576114486129ce565b60009182526020808320600790920290910180548352600b909152604090912060058201548154929350909161148a9163ffffffff61010090910416906129bb565b8363ffffffff1611156115055760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f746800000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6005820154439060ff161561151b575060068201545b60005b8463ffffffff168163ffffffff1610156119375760058401546000908490611552908490610100900463ffffffff16612cac565b63ffffffff1681548110611568576115686129ce565b600091825260209091206003918202016002810154915481546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529294501690634ee2cd7e90604401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190612a66565b101561167a5780546040517f0218de22dd683f05a68dde5feefca4c25fbc0f66a72b8130b56d1bf658743c799161166c91600185019173ffffffffffffffffffffffffffffffffffffffff1690612f36565b60405180910390a150611925565b6000805b600954811015611828576117ca83600101805461169a90612ad1565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690612ad1565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b50505050506008838154811061172b5761172b6129ce565b9060005260206000209060020201600001805461174790612ad1565b80601f016020809104026020016040519081016040528092919081815260200182805461177390612ad1565b80156117c05780601f10611795576101008083540402835291602001916117c0565b820191906000526020600020905b8154815290600101906020018083116117a357829003601f168201915b5050505050611fc2565b15611816578260020154600882815481106117e7576117e76129ce565b906000526020600020906002020160010160008282546118079190612a7f565b90915550600192506118289050565b8061182081612cd0565b91505061167e565b5080611922576008604051806040016040528084600101805461184a90612ad1565b80601f016020809104026020016040519081016040528092919081815260200182805461187690612ad1565b80156118c35780601f10611898576101008083540402835291602001916118c3565b820191906000526020600020905b8154815290600101906020018083116118a657829003601f168201915b505050918352505060028086015460209283015283546001810185556000948552919093208251929391909102019081906118fe9082612b72565b50602091909101516001909101556009805490600061191c83612cd0565b91905055505b50505b8061192f81612f6e565b91505061151e565b808460050160018282829054906101000a900463ffffffff1661195a9190612cac565b825463ffffffff91821661010093840a908102908302199091161790925585546005880154919091049091160390506119c0576005840180547fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16650100000000001790555b5050505050565b60006119d28261211c565b611a30577f16001116460b717e935c4a79fd9e1d99bc9559981bbdfe6da8a8f3cd240e8161611a046020840184612f91565b611a116020860186612847565b604051611a2093929190612ff6565b60405180910390a1506000919050565b60025473ffffffffffffffffffffffffffffffffffffffff1663b3dbb52a611a5b6020850185612f91565b6040518363ffffffff1660e01b8152600401611a78929190612a28565b602060405180830381865afa158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab99190612a44565b611aeb577f5ead04d5bcfd9db10275637895e9c86a4c18418cfd7cb5375abc5ff7b03de112611a046020840184612f91565b611afb6101e16020840184612f91565b15611b2e577f6ec68e8d215eacdcace684f5941d240b9b8ae3452184fab8c3a06eaad120edc9611a046020840184612f91565b600a805460009190611b42906001906129bb565b81548110611b5257611b526129ce565b9060005260206000209060070201905080600401544210611bb55760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f73656400000000000000000000000000000000000000000060448201526064016104eb565b600581015460ff1615611c0a5760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a656400000000000000000000000000000000000060448201526064016104eb565b8060030154836060013510611c615760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d700000000000000000000060448201526064016104eb565b806002015483606001351015611cb95760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d700000000000000000000060448201526064016104eb565b80546000908152600d6020908152604090912090611cd990850185612f91565b604051611ce7929190612a92565b90815260200160405180910390206000846000016020810190611d0a9190612847565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611d94577f85c200189b053fd138c5722db986f1b268ad5058ea51960ec3662e5c124140fa611d676020850185612f91565b611d746020870187612847565b604051611d8393929190612ff6565b60405180910390a150600092915050565b80546000908152600d60209081526040909120600191611db690860186612f91565b604051611dc4929190612a92565b90815260200160405180910390206000856000016020810190611de79190612847565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169415159490941790935583548352600b82529182902082516060810190935291908190611e6590870187612847565b73ffffffffffffffffffffffffffffffffffffffff168152602001858060200190611e909190612f91565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050604087013560209283015283546001808201865594825290829020835160039092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091178155908201519192909190820190611f419082612b72565b50604091909101516002909101557f5fe392585cc663ee634772bae3b95aa7aa9a6d647c41ade0b9c1f8c48e74077c611f7d6020850185612f91565b611f8a6020870187612847565b604051611f9993929190612ff6565b60405180910390a150600192915050565b6000818310611fb95781611fbb565b825b9392505050565b60008151835114611fd557506000610d2b565b60005b835181101561207a57828181518110611ff357611ff36129ce565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612032576120326129ce565b01602001517fff000000000000000000000000000000000000000000000000000000000000001614612068576000915050610d2b565b8061207281612cd0565b915050611fd8565b5060019392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104eb565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610e2c816121d1565b600080600e5461212b84612246565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061218a90840184612847565b73ffffffffffffffffffffffffffffffffffffffff166121b382608086013560a08701356122fa565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc61be5868a517c2688d120fb5bc4073a1804e9a9b307218e2701647bf86f4c726122766020840184612847565b6122836020850185612f91565b604051612291929190612a92565b60408051918290038220602083019490945273ffffffffffffffffffffffffffffffffffffffff909216818301526060808201939093529084013560808201529083013560a082015260c001604051602081830303815290604052805190602001209050919050565b600080600061230a868686612320565b9150915061231781612372565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161235660ff86901c601b612a7f565b9050612364878288856124d7565b935093505050935093915050565b600081600481111561238657612386613030565b0361238e5750565b60018160048111156123a2576123a2613030565b036123ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104eb565b600281600481111561240357612403613030565b036124505760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104eb565b600381600481111561246457612464613030565b03610e2c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561250e575060009050600361259f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612562573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff81166125985760006001925092505061259f565b9150600090505b94509492505050565b5080546000825560020290600052602060002090810190610e2c91905b808211156125e95760006125d982826125ed565b50600060018201556002016125c5565b5090565b5080546125f990612ad1565b6000825580601f10612609575050565b601f016020900490600052602060002090810190610e2c91905b808211156125e95760008155600101612623565b602080825282518282018190526000919060409081850190868401855b828110156126cc5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a08082015115159086015260c08082015163ffffffff169086015260e08082015115159086015261010090810151908501526101209093019290850190600101612654565b5091979650505050505050565b60008083601f8401126126eb57600080fd5b50813567ffffffffffffffff81111561270357600080fd5b60208301915083602082850101111561271b57600080fd5b9250929050565b60008060006040848603121561273757600080fd5b833567ffffffffffffffff81111561274e57600080fd5b61275a868287016126d9565b909790965060209590950135949350505050565b6000806020838503121561278157600080fd5b823567ffffffffffffffff8082111561279957600080fd5b818501915085601f8301126127ad57600080fd5b8135818111156127bc57600080fd5b8660208260051b85010111156127d157600080fd5b60209290920196919550909350505050565b600080602083850312156127f657600080fd5b823567ffffffffffffffff81111561280d57600080fd5b612819858286016126d9565b90969095509350505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610e2c57600080fd5b60006020828403121561285957600080fd5b8135611fbb81612825565b60006020828403121561287657600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612957577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a85030186528251606073ffffffffffffffffffffffffffffffffffffffff825116865289820151818b880152805180838901528592505b80831015612924578183018c015188840160800152918b0191612906565b8781016080908101879052938b01518b890152988b0198601f01601f1916909601909101945050918701916001016128a5565b50919998505050505050505050565b60006020828403121561297857600080fd5b813563ffffffff81168114611fbb57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610d2b57610d2b61298c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b602081526000612a3c6020830184866129fd565b949350505050565b600060208284031215612a5657600080fd5b81518015158114611fbb57600080fd5b600060208284031215612a7857600080fd5b5051919050565b80820180821115610d2b57610d2b61298c565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680612ae557607f821691505b602082108103612b1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610b1857600081815260208120601f850160051c81016020861015612b4b5750805b601f850160051c820191505b81811015612b6a57828155600101612b57565b505050505050565b815167ffffffffffffffff811115612b8c57612b8c612aa2565b612ba081612b9a8454612ad1565b84612b24565b602080601f831160018114612bf35760008415612bbd5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612b6a565b600085815260208120601f198616915b82811015612c2257888601518255948401946001909101908401612c03565b5085821015612c5e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112612ca257600080fd5b9190910192915050565b63ffffffff818116838216019080821115612cc957612cc961298c565b5092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d0157612d0161298c565b5060010190565b818103612d13575050565b612d1d8254612ad1565b67ffffffffffffffff811115612d3557612d35612aa2565b612d4381612b9a8454612ad1565b6000601f821160018114612d955760008315612d5f5750848201545b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b1784556119c0565b600085815260209020601f19841690600086815260209020845b83811015612dcf5782860154825560019586019590910190602001612daf565b5085831015612c5e579301547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f8600387901b161c19169092555050600190811b01905550565b60008154612e2481612ad1565b808552602060018381168015612e415760018114612e7957612ea7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b8901019550612ea7565b866000528260002060005b85811015612e9f5781548a8201860152908301908401612e84565b890184019650505b505050505092915050565b6000602080830181845280855480835260408601915060408160051b8701019250866000528360002060005b82811015612f29577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612f178583612e17565b94509285019260019182019101612ede565b5092979650505050505050565b604081526000612f496040830185612e17565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b600063ffffffff808316818103612f8757612f8761298c565b6001019392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612fc657600080fd5b83018035915067ffffffffffffffff821115612fe157600080fd5b60200191503681900382131561271b57600080fd5b60408152600061300a6040830185876129fd565b905073ffffffffffffffffffffffffffffffffffffffff83166020830152949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd", - "sourceMap": "341:11542:1:-:0;;;1820:1;1780:41;;3426:680;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:28;719:10:33;936:18:28;:32::i;:::-;3630:5:1;:14;;-1:-1:-1;;;;;;3630:14:1;-1:-1:-1;;;;;3630:14:1;;;;;3654:12;:28;;;3692:24;:52;;;3754:14;:32;;;3796:22;:48;;;3891:198;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3891:198:1;;-1:-1:-1;;;3891:198:1;;;;;;;;;;;4011:13;-1:-1:-1;;;3891:198:1;;;;4069:4;-1:-1:-1;;;3891:198:1;3873:226;;:4;:226::i;:::-;3854:16;:245;-1:-1:-1;341:11542:1;;-1:-1:-1;;;;341:11542:1;1501:153:29;1590:13;1583:20;;-1:-1:-1;;;;;;1583:20:29;;;1613:34;1638:8;1613:24;:34::i;:::-;1501:153;:::o;2414:395:1:-;2485:7;2135:95;2617:12;:17;;;2601:35;;;;;;2670:12;:20;;;2654:38;;;;;;2710:12;:20;;;2748:12;:30;;;2534:258;;;;;;;;;;;835:25:61;;;891:2;876:18;;869:34;;;;934:2;919:18;;912:34;;;;977:2;962:18;;955:34;-1:-1:-1;;;;;1026:32:61;1020:3;1005:19;;998:61;822:3;807:19;;576:489;2534:258:1;;;;;;;;;;;;;2511:291;;;;;;2504:298;;2414:395;;;:::o;2426:187:28:-;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:28;;;-1:-1:-1;;;;;;2534:17:28;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;14:557:61:-;141:6;149;157;165;173;226:3;214:9;205:7;201:23;197:33;194:53;;;243:1;240;233:12;194:53;269:16;;-1:-1:-1;;;;;314:31:61;;304:42;;294:70;;360:1;357;350:12;294:70;428:2;413:18;;407:25;472:2;457:18;;451:25;516:2;501:18;;495:25;560:3;545:19;;;539:26;383:5;;407:25;;-1:-1:-1;451:25:61;495;-1:-1:-1;539:26:61;;-1:-1:-1;14:557:61;-1:-1:-1;;;14:557:61:o;576:489::-;341:11542:1;;;;;;", + "sourceMap": "341:11542:1:-:0;;;1820:1;1780:41;;3426:680;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:29;719:10:34;936:18:29;:32::i;:::-;3630:5:1;:14;;-1:-1:-1;;;;;;3630:14:1;-1:-1:-1;;;;;3630:14:1;;;;;3654:12;:28;;;3692:24;:52;;;3754:14;:32;;;3796:22;:48;;;3891:198;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3891:198:1;;-1:-1:-1;;;3891:198:1;;;;;;;;;;;4011:13;-1:-1:-1;;;3891:198:1;;;;4069:4;-1:-1:-1;;;3891:198:1;3873:226;;:4;:226::i;:::-;3854:16;:245;-1:-1:-1;341:11542:1;;-1:-1:-1;;;;341:11542:1;1501:153:30;1590:13;1583:20;;-1:-1:-1;;;;;;1583:20:30;;;1613:34;1638:8;1613:24;:34::i;:::-;1501:153;:::o;2414:395:1:-;2485:7;2135:95;2617:12;:17;;;2601:35;;;;;;2670:12;:20;;;2654:38;;;;;;2710:12;:20;;;2748:12;:30;;;2534:258;;;;;;;;;;;835:25:62;;;891:2;876:18;;869:34;;;;934:2;919:18;;912:34;;;;977:2;962:18;;955:34;-1:-1:-1;;;;;1026:32:62;1020:3;1005:19;;998:61;822:3;807:19;;576:489;2534:258:1;;;;;;;;;;;;;2511:291;;;;;;2504:298;;2414:395;;;:::o;2426:187:29:-;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:29;;;-1:-1:-1;;;;;;2534:17:29;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;14:557:62:-;141:6;149;157;165;173;226:3;214:9;205:7;201:23;197:33;194:53;;;243:1;240;233:12;194:53;269:16;;-1:-1:-1;;;;;314:31:62;;304:42;;294:70;;360:1;357;350:12;294:70;428:2;413:18;;407:25;472:2;457:18;;451:25;516:2;501:18;;495:25;560:3;545:19;;;539:26;383:5;;407:25;;-1:-1:-1;451:25:62;495;-1:-1:-1;539:26:62;;-1:-1:-1;14:557:62;-1:-1:-1;;;14:557:62:o;576:489::-;341:11542:1;;;;;;", "linkReferences": {} }, "deployedBytecode": { "object": "0x608060405234801561001057600080fd5b506004361061016c5760003560e01c806380e0111e116100cd578063c41c2f2411610081578063f2fde38b11610066578063f2fde38b1461035a578063fc0c546a1461036d578063ff9bd0481461038d57600080fd5b8063c41c2f241461031c578063e30c39781461033c57600080fd5b80638da5cb5b116100b25780638da5cb5b14610269578063a1673341146102a8578063a598d03c146102bb57600080fd5b806380e0111e14610222578063865229731461024257600080fd5b80636c265f9d116101245780636e91818a116101095780636e91818a146101ff578063715018a61461021257806379ba50971461021a57600080fd5b80636c265f9d146101d35780636e571332146101f657600080fd5b80630a64522f116101555780630a64522f146101a25780632d0e9c28146101ab578063349071c2146101c057600080fd5b806304646a491461017157806305c1112d1461018d575b600080fd5b61017a60075481565b6040519081526020015b60405180910390f35b610195610396565b6040516101849190612637565b61017a60045481565b6101be6101b9366004612722565b610461565b005b6101be6101ce36600461276e565b610a1a565b6101e66101e13660046127e3565b610b1d565b6040519015158152602001610184565b61017a60065481565b6101be61020d366004612847565b610d31565b6101be610d80565b6101be610d94565b610235610230366004612864565b610e2f565b604051610184919061287d565b61017a7fc61be5868a517c2688d120fb5bc4073a1804e9a9b307218e2701647bf86f4c7281565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101be6102b6366004612966565b610f60565b6102ce6102c9366004612864565b611307565b60408051998a5260208a01989098529688019590955260608701939093526080860191909152151560a085015263ffffffff1660c0840152151560e083015261010082015261012001610184565b6002546102839073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16610283565b6101be610368366004612847565b611374565b6003546102839073ffffffffffffffffffffffffffffffffffffffff1681565b61017a60055481565b6060600a805480602002602001604051908101604052809291908181526020016000905b8282101561045857600084815260209081902060408051610120810182526007860290920180548352600180820154848601526002820154928401929092526003810154606084015260048101546080840152600581015460ff808216151560a086015261010080830463ffffffff1660c08701526501000000000090920416151560e08501526006909101549083015290835290920191016103ba565b50505050905090565b600a5415806104a35750600a805461047b906001906129bb565b8154811061048b5761048b6129ce565b600091825260209091206005600790920201015460ff165b6104f45760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e6700000000000000000000000060448201526064015b60405180910390fd5b6002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a9061054c9086908690600401612a28565b602060405180830381865afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d9190612a44565b6105d95760405162461bcd60e51b815260206004820152601a60248201527f636f6d6d756e697479206e6f7420696e206469726563746f727900000000000060448201526064016104eb565b6105e38383610b1d565b156106555760405162461bcd60e51b8152602060048201526024808201527f636f6d6d756e69747920686173206265656e206665617475726564207265636560448201527f6e746c790000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152829173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156106c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e79190612a66565b10156107355760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e0000000000000000000000000000000060448201526064016104eb565b600a54600090610746906001612a7f565b90506001600d6000838152602001908152602001600020858560405161076d929190612a92565b908152604080516020928190038301812033600081815291855283822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001696151596909617909555858152600b84528290206060820183529381528151601f880184900484028101840190925286825291808301919088908890819084018382808284376000920182905250938552505050602091820186905283546001808201865594825290829020835160039092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117815590820151919290919082019061087a9082612b72565b50604082015181600201555050600a604051806101200160405280838152602001438152602001428152602001600454426108b59190612a7f565b8152602001600554600454426108cb9190612a7f565b6108d59190612a7f565b81526000602080830182905260408084018390526060808501849052608094850184905286546001808201895597855293839020865160079095020193845591850151838701558401516002830155830151600382015590820151600482015560a082015160058201805460c085015160e08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000009092169315157fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff169390931761010063ffffffff9094168402177fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff166501000000000091151591909102179055909101516006909101556109eb90611424565b6040517f877e2548498f42b7975a186b94ef1d32c86d420b7b806dd2be2bea293b89590490600090a150505050565b600a5415801590610a5f5750600a8054610a36906001906129bb565b81548110610a4657610a466129ce565b600091825260209091206005600790920201015460ff16155b610aab5760405162461bcd60e51b815260206004820152600f60248201527f6e6f206f6e676f696e6720766f7465000000000000000000000000000000000060448201526064016104eb565b6000805b82811015610b0e576000610ae5858584818110610ace57610ace6129ce565b9050602002810190610ae09190612c6e565b6119c7565b90508015610afb57610af8600184612cac565b92505b5080610b0681612cd0565b915050610aaf565b50610b1881611424565b505050565b600a546000908103610b3157506000610d2b565b600a805460009190610b45906001906129bb565b81548110610b5557610b556129ce565b600091825260209091206005600790920201015460ff16610b8357600754610b7e906001612a7f565b610b87565b6007545b600a54909150610b979082611faa565b905060005b81811015610d24576000600c6000600a600185600a80549050610bbf91906129bb565b610bc991906129bb565b81548110610bd957610bd96129ce565b9060005260206000209060070201600001548152602001908152602001600020905060005b8154811015610d0f57610ceb828281548110610c1c57610c1c6129ce565b906000526020600020018054610c3190612ad1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5d90612ad1565b8015610caa5780601f10610c7f57610100808354040283529160200191610caa565b820191906000526020600020905b815481529060010190602001808311610c8d57829003601f168201915b505050505088888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611fc292505050565b15610cfd576001945050505050610d2b565b80610d0781612cd0565b915050610bfe565b50508080610d1c90612cd0565b915050610b9c565b5060009150505b92915050565b610d39612084565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610d88612084565b610d9260006120eb565b565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610e235760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084016104eb565b610e2c816120eb565b50565b6060600b6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610f55576000848152602090819020604080516060810190915260038502909101805473ffffffffffffffffffffffffffffffffffffffff1682526001810180549293919291840191610eba90612ad1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee690612ad1565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b5050505050815260200160028201548152505081526020019060010190610e64565b505050509050919050565b600a54610faf5760405162461bcd60e51b815260206004820152600f60248201527f6e6f206f6e676f696e6720766f7465000000000000000000000000000000000060448201526064016104eb565b600a805460009190610fc3906001906129bb565b81548110610fd357610fd36129ce565b60009182526020909120600790910201600581015490915060ff1661107f57428160040154106110455760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e67000000000000000000000000000060448201526064016104eb565b6005810180544260048401554360068401557fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001660011790555b600581015465010000000000900460ff16156110dd5760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a65640000000000000000000060448201526064016104eb565b6110e682611424565b600581015465010000000000900460ff16156113035780546000908152600c60205260408120905b60065481101561123c57600060015b60095481101561118d576008828154811061113a5761113a6129ce565b9060005260206000209060020201600101546008828154811061115f5761115f6129ce565b906000526020600020906002020160010154111561117b578091505b8061118581612cd0565b91505061111d565b50600881815481106111a1576111a16129ce565b9060005260206000209060020201600101546000036111c0575061123c565b82600882815481106111d4576111d46129ce565b6000918252602080832084546001810186559484529220909201916111ff9160029091020182612d08565b50600060088281548110611215576112156129ce565b6000918252602090912060016002909202010155508061123481612cd0565b91505061110e565b506002546040517fd62879f100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063d62879f190611293908490600401612eb2565b600060405180830381600087803b1580156112ad57600080fd5b505af11580156112c1573d6000803e3d6000fd5b5050600060098190556112d89250600891506125a8565b6040517f0b4fdfa0ecb155e553b7e0a3dabc266f9e01e6f79c154cce531d322df1a1d40590600090a1505b5050565b600a818154811061131757600080fd5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549496509294919390929160ff8082169263ffffffff610100840416926501000000000090049091169089565b61137c612084565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000090911681179091556113df60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600a805460009190611438906001906129bb565b81548110611448576114486129ce565b60009182526020808320600790920290910180548352600b909152604090912060058201548154929350909161148a9163ffffffff61010090910416906129bb565b8363ffffffff1611156115055760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f746800000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6005820154439060ff161561151b575060068201545b60005b8463ffffffff168163ffffffff1610156119375760058401546000908490611552908490610100900463ffffffff16612cac565b63ffffffff1681548110611568576115686129ce565b600091825260209091206003918202016002810154915481546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529294501690634ee2cd7e90604401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190612a66565b101561167a5780546040517f0218de22dd683f05a68dde5feefca4c25fbc0f66a72b8130b56d1bf658743c799161166c91600185019173ffffffffffffffffffffffffffffffffffffffff1690612f36565b60405180910390a150611925565b6000805b600954811015611828576117ca83600101805461169a90612ad1565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690612ad1565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b50505050506008838154811061172b5761172b6129ce565b9060005260206000209060020201600001805461174790612ad1565b80601f016020809104026020016040519081016040528092919081815260200182805461177390612ad1565b80156117c05780601f10611795576101008083540402835291602001916117c0565b820191906000526020600020905b8154815290600101906020018083116117a357829003601f168201915b5050505050611fc2565b15611816578260020154600882815481106117e7576117e76129ce565b906000526020600020906002020160010160008282546118079190612a7f565b90915550600192506118289050565b8061182081612cd0565b91505061167e565b5080611922576008604051806040016040528084600101805461184a90612ad1565b80601f016020809104026020016040519081016040528092919081815260200182805461187690612ad1565b80156118c35780601f10611898576101008083540402835291602001916118c3565b820191906000526020600020905b8154815290600101906020018083116118a657829003601f168201915b505050918352505060028086015460209283015283546001810185556000948552919093208251929391909102019081906118fe9082612b72565b50602091909101516001909101556009805490600061191c83612cd0565b91905055505b50505b8061192f81612f6e565b91505061151e565b808460050160018282829054906101000a900463ffffffff1661195a9190612cac565b825463ffffffff91821661010093840a908102908302199091161790925585546005880154919091049091160390506119c0576005840180547fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16650100000000001790555b5050505050565b60006119d28261211c565b611a30577f16001116460b717e935c4a79fd9e1d99bc9559981bbdfe6da8a8f3cd240e8161611a046020840184612f91565b611a116020860186612847565b604051611a2093929190612ff6565b60405180910390a1506000919050565b60025473ffffffffffffffffffffffffffffffffffffffff1663b3dbb52a611a5b6020850185612f91565b6040518363ffffffff1660e01b8152600401611a78929190612a28565b602060405180830381865afa158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab99190612a44565b611aeb577f5ead04d5bcfd9db10275637895e9c86a4c18418cfd7cb5375abc5ff7b03de112611a046020840184612f91565b611afb6101e16020840184612f91565b15611b2e577f6ec68e8d215eacdcace684f5941d240b9b8ae3452184fab8c3a06eaad120edc9611a046020840184612f91565b600a805460009190611b42906001906129bb565b81548110611b5257611b526129ce565b9060005260206000209060070201905080600401544210611bb55760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f73656400000000000000000000000000000000000000000060448201526064016104eb565b600581015460ff1615611c0a5760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a656400000000000000000000000000000000000060448201526064016104eb565b8060030154836060013510611c615760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d700000000000000000000060448201526064016104eb565b806002015483606001351015611cb95760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d700000000000000000000060448201526064016104eb565b80546000908152600d6020908152604090912090611cd990850185612f91565b604051611ce7929190612a92565b90815260200160405180910390206000846000016020810190611d0a9190612847565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611d94577f85c200189b053fd138c5722db986f1b268ad5058ea51960ec3662e5c124140fa611d676020850185612f91565b611d746020870187612847565b604051611d8393929190612ff6565b60405180910390a150600092915050565b80546000908152600d60209081526040909120600191611db690860186612f91565b604051611dc4929190612a92565b90815260200160405180910390206000856000016020810190611de79190612847565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169415159490941790935583548352600b82529182902082516060810190935291908190611e6590870187612847565b73ffffffffffffffffffffffffffffffffffffffff168152602001858060200190611e909190612f91565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050604087013560209283015283546001808201865594825290829020835160039092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091178155908201519192909190820190611f419082612b72565b50604091909101516002909101557f5fe392585cc663ee634772bae3b95aa7aa9a6d647c41ade0b9c1f8c48e74077c611f7d6020850185612f91565b611f8a6020870187612847565b604051611f9993929190612ff6565b60405180910390a150600192915050565b6000818310611fb95781611fbb565b825b9392505050565b60008151835114611fd557506000610d2b565b60005b835181101561207a57828181518110611ff357611ff36129ce565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612032576120326129ce565b01602001517fff000000000000000000000000000000000000000000000000000000000000001614612068576000915050610d2b565b8061207281612cd0565b915050611fd8565b5060019392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104eb565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610e2c816121d1565b600080600e5461212b84612246565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061218a90840184612847565b73ffffffffffffffffffffffffffffffffffffffff166121b382608086013560a08701356122fa565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc61be5868a517c2688d120fb5bc4073a1804e9a9b307218e2701647bf86f4c726122766020840184612847565b6122836020850185612f91565b604051612291929190612a92565b60408051918290038220602083019490945273ffffffffffffffffffffffffffffffffffffffff909216818301526060808201939093529084013560808201529083013560a082015260c001604051602081830303815290604052805190602001209050919050565b600080600061230a868686612320565b9150915061231781612372565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161235660ff86901c601b612a7f565b9050612364878288856124d7565b935093505050935093915050565b600081600481111561238657612386613030565b0361238e5750565b60018160048111156123a2576123a2613030565b036123ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104eb565b600281600481111561240357612403613030565b036124505760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104eb565b600381600481111561246457612464613030565b03610e2c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561250e575060009050600361259f565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612562573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff81166125985760006001925092505061259f565b9150600090505b94509492505050565b5080546000825560020290600052602060002090810190610e2c91905b808211156125e95760006125d982826125ed565b50600060018201556002016125c5565b5090565b5080546125f990612ad1565b6000825580601f10612609575050565b601f016020900490600052602060002090810190610e2c91905b808211156125e95760008155600101612623565b602080825282518282018190526000919060409081850190868401855b828110156126cc5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a08082015115159086015260c08082015163ffffffff169086015260e08082015115159086015261010090810151908501526101209093019290850190600101612654565b5091979650505050505050565b60008083601f8401126126eb57600080fd5b50813567ffffffffffffffff81111561270357600080fd5b60208301915083602082850101111561271b57600080fd5b9250929050565b60008060006040848603121561273757600080fd5b833567ffffffffffffffff81111561274e57600080fd5b61275a868287016126d9565b909790965060209590950135949350505050565b6000806020838503121561278157600080fd5b823567ffffffffffffffff8082111561279957600080fd5b818501915085601f8301126127ad57600080fd5b8135818111156127bc57600080fd5b8660208260051b85010111156127d157600080fd5b60209290920196919550909350505050565b600080602083850312156127f657600080fd5b823567ffffffffffffffff81111561280d57600080fd5b612819858286016126d9565b90969095509350505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610e2c57600080fd5b60006020828403121561285957600080fd5b8135611fbb81612825565b60006020828403121561287657600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612957577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a85030186528251606073ffffffffffffffffffffffffffffffffffffffff825116865289820151818b880152805180838901528592505b80831015612924578183018c015188840160800152918b0191612906565b8781016080908101879052938b01518b890152988b0198601f01601f1916909601909101945050918701916001016128a5565b50919998505050505050505050565b60006020828403121561297857600080fd5b813563ffffffff81168114611fbb57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610d2b57610d2b61298c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b602081526000612a3c6020830184866129fd565b949350505050565b600060208284031215612a5657600080fd5b81518015158114611fbb57600080fd5b600060208284031215612a7857600080fd5b5051919050565b80820180821115610d2b57610d2b61298c565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c90821680612ae557607f821691505b602082108103612b1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610b1857600081815260208120601f850160051c81016020861015612b4b5750805b601f850160051c820191505b81811015612b6a57828155600101612b57565b505050505050565b815167ffffffffffffffff811115612b8c57612b8c612aa2565b612ba081612b9a8454612ad1565b84612b24565b602080601f831160018114612bf35760008415612bbd5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612b6a565b600085815260208120601f198616915b82811015612c2257888601518255948401946001909101908401612c03565b5085821015612c5e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112612ca257600080fd5b9190910192915050565b63ffffffff818116838216019080821115612cc957612cc961298c565b5092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d0157612d0161298c565b5060010190565b818103612d13575050565b612d1d8254612ad1565b67ffffffffffffffff811115612d3557612d35612aa2565b612d4381612b9a8454612ad1565b6000601f821160018114612d955760008315612d5f5750848201545b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b1784556119c0565b600085815260209020601f19841690600086815260209020845b83811015612dcf5782860154825560019586019590910190602001612daf565b5085831015612c5e579301547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f8600387901b161c19169092555050600190811b01905550565b60008154612e2481612ad1565b808552602060018381168015612e415760018114612e7957612ea7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b8901019550612ea7565b866000528260002060005b85811015612e9f5781548a8201860152908301908401612e84565b890184019650505b505050505092915050565b6000602080830181845280855480835260408601915060408160051b8701019250866000528360002060005b82811015612f29577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612f178583612e17565b94509285019260019182019101612ede565b5092979650505050505050565b604081526000612f496040830185612e17565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b600063ffffffff808316818103612f8757612f8761298c565b6001019392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612fc657600080fd5b83018035915067ffffffffffffffff821115612fe157600080fd5b60200191503681900382131561271b57600080fd5b60408152600061300a6040830185876129fd565b905073ffffffffffffffffffffffffffffffffffffffff83166020830152949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd", - "sourceMap": "341:11542:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1697:29;;;;;;;;;160:25:61;;;148:2;133:18;1697:29:1;;;;;;;;7558:91;;;:::i;:::-;;;;;;;:::i;1576:27::-;;;;;;4214:1329;;;;;;:::i;:::-;;:::i;:::-;;7118:434;;;;;;:::i;:::-;;:::i;7902:733::-;;;;;;:::i;:::-;;:::i;:::-;;;3769:14:61;;3762:22;3744:41;;3732:2;3717:18;7902:733:1;3604:187:61;1654:37:1;;;;;;4112:96;;;;;;:::i;:::-;;:::i;1824:101:28:-;;;:::i;1734:212:29:-;;;:::i;7655:131:1:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2815:132::-;;2863:84;2815:132;;1201:85:28;1247:7;1273:6;;;1201:85;;;6475:42:61;6463:55;;;6445:74;;6433:2;6418:18;1201:85:28;6299:226:61;5549:1563:1;;;;;;:::i;:::-;;:::i;1828:23::-;;;;;;:::i;:::-;;:::i;:::-;;;;7168:25:61;;;7224:2;7209:18;;7202:34;;;;7252:18;;;7245:34;;;;7310:2;7295:18;;7288:34;;;;7353:3;7338:19;;7331:35;;;;7410:14;7403:22;7397:3;7382:19;;7375:51;7475:10;7463:23;7457:3;7442:19;;7435:52;7531:14;7524:22;7518:3;7503:19;;7496:51;7578:3;7563:19;;7556:35;7155:3;7140:19;1828:23:1;6811:786:61;1513:26:1;;;;;;;;;847:99:29;926:13;;;;847:99;;1139:178;;;;;;:::i;:::-;;:::i;1545:24:1:-;;;;;;;;;1609:39;;;;;;7558:91;7601:15;7635:7;7628:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7558:91;:::o;4214:1329::-;4311:7;:14;:19;;:60;;-1:-1:-1;4334:7:1;4342:14;;:18;;4359:1;;4342:18;:::i;:::-;4334:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;4311:60;4303:93;;;;-1:-1:-1;;;4303:93:1;;9086:2:61;4303:93:1;;;9068:21:61;9125:2;9105:18;;;9098:30;9164:22;9144:18;;;9137:50;9204:18;;4303:93:1;;;;;;;;;4414:9;;:43;;;;;:9;;;;;:32;;:43;;4447:9;;;;4414:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4406:82;;;;-1:-1:-1;;;4406:82:1;;10296:2:61;4406:82:1;;;10278:21:61;10335:2;10315:18;;;10308:30;10374:28;10354:18;;;10347:56;10420:18;;4406:82:1;10094:350:61;4406:82:1;4507:29;4526:9;;4507:18;:29::i;:::-;4506:30;4498:79;;;;-1:-1:-1;;;4498:79:1;;10651:2:61;4498:79:1;;;10633:21:61;10690:2;10670:18;;;10663:30;10729:34;10709:18;;;10702:62;10800:6;10780:18;;;10773:34;10824:19;;4498:79:1;10449:400:61;4498:79:1;4595:5;;:27;;;;;4611:10;4595:27;;;6445:74:61;4626:10:1;;4595:5;;;:15;;6418:18:61;;4595:27:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;4587:70;;;;-1:-1:-1;;;4587:70:1;;11245:2:61;4587:70:1;;;11227:21:61;11284:2;11264:18;;;11257:30;11323:18;11303;;;11296:46;11359:18;;4587:70:1;11043:340:61;4587:70:1;4687:7;:14;4668:16;;4687:18;;4704:1;4687:18;:::i;:::-;4668:37;;4779:4;4716:27;:37;4744:8;4716:37;;;;;;;;;;;4754:9;;4716:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4765:10;4716:60;;;;;;;;;;:67;;;;;;;;;;;;;;4793:25;;;:15;:25;;;;;4824:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;4716:48;4824:72;;;;;4861:9;;4824:72;;;;;;4861:9;4824:72;;4861:9;4824:72;;;;;;;;-1:-1:-1;4824:72:1;;;-1:-1:-1;;;4824:72:1;;;;;;;4793:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;4907:7;4933:418;;;;;;;;4962:8;4933:418;;;;5000:12;4933:418;;;;5039:15;4933:418;;;;5111:12;;5093:15;:30;;;;:::i;:::-;4933:418;;;;5181:24;;5166:12;;5148:15;:30;;;;:::i;:::-;:57;;;;:::i;:::-;4933:418;;5234:5;4933:418;;;;;;;;;;;;;;;;;;;;;;;;;;;;4907:454;;4933:418;4907:454;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4933:418;4907:454;;;;;;;;;;;;;;;;;;;;;;;;;;;;5488:17;;:14;:17::i;:::-;5521:15;;;;;;;4293:1250;4214:1329;;;:::o;7118:434::-;7191:7;:14;:18;;;;:60;;-1:-1:-1;7214:7:1;7222:14;;:18;;7239:1;;7222:18;:::i;:::-;7214:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;7213:38;7191:60;7183:88;;;;-1:-1:-1;;;7183:88:1;;15004:2:61;7183:88:1;;;14986:21:61;15043:2;15023:18;;;15016:30;15082:17;15062:18;;;15055:45;15117:18;;7183:88:1;14802:339:61;7183:88:1;7282:24;7325:9;7320:183;7340:16;;;7320:183;;;7377:12;7392:19;7402:5;;7408:1;7402:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;7392:9;:19::i;:::-;7377:34;;7429:7;7425:68;;;7456:22;7477:1;7456:22;;:::i;:::-;;;7425:68;-1:-1:-1;7358:3:1;;;;:::i;:::-;;;;7320:183;;;;7512:33;7527:17;7512:14;:33::i;:::-;7173:379;7118:434;;:::o;7902:733::-;7997:7;:14;7977:4;;7997:19;;7993:62;;-1:-1:-1;8039:5:1;8032:12;;7993:62;8128:7;8136:14;;8105:20;;8128:7;8136:18;;8153:1;;8136:18;:::i;:::-;8128:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;:75;;8185:14;;:18;;8202:1;8185:18;:::i;:::-;8128:75;;;8168:14;;8128:75;8233:7;:14;8105:98;;-1:-1:-1;8228:34:1;;8105:98;8228:4;:34::i;:::-;8213:49;;8277:9;8272:335;8296:12;8292:1;:16;8272:335;;;8329:24;8356:18;:54;8375:7;8404:1;8400;8383:7;:14;;;;:18;;;;:::i;:::-;:22;;;;:::i;:::-;8375:31;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;8356:54;;;;;;;;;;;8329:81;;8429:9;8424:173;8448:15;;8444:19;;8424:173;;;8492:37;8506:8;8515:1;8506:11;;;;;;;;:::i;:::-;;;;;;;;8492:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8519:9;;8492:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8492:13:1;;-1:-1:-1;;;8492:37:1:i;:::-;8488:95;;;8560:4;8553:11;;;;;;;;8488:95;8465:3;;;;:::i;:::-;;;;8424:173;;;;8315:292;8310:3;;;;;:::i;:::-;;;;8272:335;;;;8623:5;8616:12;;;7902:733;;;;;:::o;4112:96::-;1094:13:28;:11;:13::i;:::-;4181:9:1::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;4112:96::o;1824:101:28:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1734:212:29:-;926:13;;719:10:33;;1833:24:29;926:13;1833:24;;1825:78;;;;-1:-1:-1;;;1825:78:29;;16115:2:61;1825:78:29;;;16097:21:61;16154:2;16134:18;;;16127:30;16193:34;16173:18;;;16166:62;16264:11;16244:18;;;16237:39;16293:19;;1825:78:29;15913:405:61;1825:78:29;1913:26;1932:6;1913:18;:26::i;:::-;1776:170;1734:212::o;7655:131:1:-;7722:13;7754:15;:25;7770:8;7754:25;;;;;;;;;;;7747:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7655:131;;;:::o;5549:1563::-;5612:7;:14;5604:46;;;;-1:-1:-1;;;5604:46:1;;15004:2:61;5604:46:1;;;14986:21:61;15043:2;15023:18;;;15016:30;15082:17;15062:18;;;15055:45;15117:18;;5604:46:1;14802:339:61;5604:46:1;5684:7;5692:14;;5660:21;;5684:7;5692:18;;5709:1;;5692:18;:::i;:::-;5684:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;5727:16;;;;5684:27;;-1:-1:-1;5727:16:1;;5722:310;;5782:15;5767:6;:12;;;:30;5759:61;;;;-1:-1:-1;;;5759:61:1;;16525:2:61;5759:61:1;;;16507:21:61;16564:2;16544:18;;;16537:30;16603:20;16583:18;;;16576:48;16641:18;;5759:61:1;16323:342:61;5759:61:1;5834:16;;;:23;;5886:15;5871:12;;;:30;5933:12;5915:15;;;:30;5997:24;;5853:4;5997:24;;;5722:310;6051:16;;;;;;;;;6050:17;6042:52;;;;-1:-1:-1;;;6042:52:1;;16872:2:61;6042:52:1;;;16854:21:61;16911:2;16891:18;;;16884:30;16950:24;16930:18;;;16923:52;16992:18;;6042:52:1;16670:346:61;6042:52:1;6104:21;6119:5;6104:14;:21::i;:::-;6140:16;;;;;;;;;6136:970;;;6218:9;;6172:24;6199:29;;;:18;:29;;;;;;6243:634;6267:22;;6263:1;:26;6243:634;;;6314:20;6374:1;6357:245;6381:21;;6377:1;:25;6357:245;;;6472:16;6489:12;6472:30;;;;;;;;:::i;:::-;;;;;;;;;;;:45;;;6435:16;6452:1;6435:19;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;:82;6431:153;;;6560:1;6545:16;;6431:153;6404:3;;;;:::i;:::-;;;;6357:245;;;;6624:16;6641:12;6624:30;;;;;;;;:::i;:::-;;;;;;;;;;;:45;;;6673:1;6624:50;6620:102;;6698:5;;;6620:102;6740:8;6754:16;6771:12;6754:30;;;;;;;;:::i;:::-;;;;;;;;;6740:55;;;;;;;;;;;;;;;;;;6754:30;;;;;6740:55;;:::i;:::-;;6861:1;6813:16;6830:12;6813:30;;;;;;;;:::i;:::-;;;;;;;;;:45;:30;;;;;:45;:49;-1:-1:-1;6291:3:1;;;;:::i;:::-;;;;6243:634;;;-1:-1:-1;6891:9:1;;:42;;;;;:9;;;;;:32;;:42;;6924:8;;6891:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7020:1:1;6996:21;:25;;;7035:23;;-1:-1:-1;7042:16:1;;-1:-1:-1;7035:23:1;:::i;:::-;7078:17;;;;;;;6158:948;6136:970;5594:1518;5549:1563;:::o;1828:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1828:23:1;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1139:178:29:-;1094:13:28;:11;:13::i;:::-;1228::29::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1292:7:::1;1247::28::0;1273:6;;;;1201:85;1292:7:29::1;1267:43;;;;;;;;;;;;1139:178:::0;:::o;8965:1540:1:-;9045:7;9053:14;;9021:21;;9045:7;9053:18;;9070:1;;9053:18;:::i;:::-;9045:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9121:9;;9105:26;;:15;:26;;;;;;;9174:20;;;;9159:12;;9045:27;;-1:-1:-1;9105:26:1;;9159:35;;9174:20;;;;;;;9159:35;:::i;:::-;9150:5;:44;;;;9142:91;;;;-1:-1:-1;;;9142:91:1;;20500:2:61;9142:91:1;;;20482:21:61;20539:2;20519:18;;;20512:30;20578:34;20558:18;;;20551:62;20649:4;20629:18;;;20622:32;20671:19;;9142:91:1;20298:398:61;9142:91:1;9418:16;;;;9391:12;;9418:16;;9414:81;;;-1:-1:-1;9469:15:1;;;;9414:81;9505:8;9527:837;9538:5;9534:9;;:1;:9;;;9527:837;;;9590:20;;;;9564:17;;9584:5;;9590:24;;9613:1;;9590:20;;;;;:24;:::i;:::-;9584:31;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;9683:14;;;;9633:5;;9651:10;;9633:47;;;;;:5;9651:10;;;9633:47;;;20875:74:61;20965:18;;;20958:34;;;9584:31:1;;-1:-1:-1;9633:5:1;;:17;;20848:18:61;;9633:47:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:64;9629:176;;;9753:10;;9722:42;;;;;;9737:14;;;;9753:10;;;9722:42;:::i;:::-;;;;;;;;9782:8;;;9629:176;9819:10;9856:9;9851:304;9875:21;;9871:1;:25;9851:304;;;9925:60;9939:4;:14;;9925:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9955:16;9972:1;9955:19;;;;;;;;:::i;:::-;;;;;;;;;;;:29;;9925:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:13;:60::i;:::-;9921:220;;;10047:4;:14;;;10009:16;10026:1;10009:19;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;:52;;;;;;;:::i;:::-;;;;-1:-1:-1;10091:4:1;;-1:-1:-1;10117:5:1;;-1:-1:-1;10117:5:1;9921:220;9898:3;;;;:::i;:::-;;;;9851:304;;;;10173:5;10168:186;;10198:16;10220:77;;;;;;;;10248:4;:14;;10220:77;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10220:77:1;;;-1:-1:-1;;10280:14:1;;;;;10220:77;;;;;10198:100;;;;;;;-1:-1:-1;10198:100:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;10198:100:1;;;;;;;;;;;10316:21;:23;;;:21;:23;;;:::i;:::-;;;;;;10168:186;9550:814;;9527:837;9545:3;;;;:::i;:::-;;;;9527:837;;;10398:1;10374:6;:20;;;:25;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;10437:12;;10413:20;;;;;;;;;;;:36;;-1:-1:-1;10409:90:1;;10465:16;;;:23;;;;;;;;10409:90;9011:1494;;;;8965:1540;:::o;10511:1370::-;10573:4;10594:21;10610:4;10594:15;:21::i;:::-;10589:128;;10636:44;10653:14;;;;:4;:14;:::i;:::-;10669:10;;;;:4;:10;:::i;:::-;10636:44;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10701:5:1;;10511:1370;-1:-1:-1;10511:1370:1:o;10589:128::-;10732:9;;;;:32;10765:14;;;;:4;:14;:::i;:::-;10732:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10727:162;;10801:51;10825:14;;;;:4;:14;:::i;10727:162::-;10903:34;10922:14;;;;:4;:14;:::i;10903:34::-;10899:149;;;10958:53;10984:14;;;;:4;:14;:::i;10899:149::-;11082:7;11090:14;;11058:21;;11082:7;11090:18;;11107:1;;11090:18;:::i;:::-;11082:27;;;;;;;;:::i;:::-;;;;;;;;;;;11058:51;;11146:6;:12;;;11128:15;:30;11120:54;;;;-1:-1:-1;;;11120:54:1;;22712:2:61;11120:54:1;;;22694:21:61;22751:2;22731:18;;;22724:30;22790:13;22770:18;;;22763:41;22821:18;;11120:54:1;22510:335:61;11120:54:1;11193:16;;;;;;11192:17;11184:44;;;;-1:-1:-1;;;11184:44:1;;23052:2:61;11184:44:1;;;23034:21:61;23091:2;23071:18;;;23064:30;23130:16;23110:18;;;23103:44;23164:18;;11184:44:1;22850:338:61;11184:44:1;11263:6;:26;;;11246:4;:14;;;:43;11238:78;;;;-1:-1:-1;;;11238:78:1;;23395:2:61;11238:78:1;;;23377:21:61;23434:2;23414:18;;;23407:30;23473:24;23453:18;;;23446:52;23515:18;;11238:78:1;23193:346:61;11238:78:1;11352:6;:14;;;11334:4;:14;;;:32;;11326:67;;;;-1:-1:-1;;;11326:67:1;;23395:2:61;11326:67:1;;;23377:21:61;23434:2;23414:18;;;23407:30;23473:24;23453:18;;;23446:52;23515:18;;11326:67:1;23193:346:61;11326:67:1;11436:9;;11408:38;;;;:27;:38;;;;;;;;;11447:14;;;;:4;:14;:::i;:::-;11408:54;;;;;;;:::i;:::-;;;;;;;;;;;;;:66;11463:4;:10;;;;;;;;;;:::i;:::-;11408:66;;;;;;;;;;;;;-1:-1:-1;11408:66:1;;;;11404:168;;;11495:40;11508:14;;;;:4;:14;:::i;:::-;11524:10;;;;:4;:10;:::i;:::-;11495:40;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;11556:5:1;;10511:1370;-1:-1:-1;;10511:1370:1:o;11404:168::-;11610:9;;11582:38;;;;:27;:38;;;;;;;;11651:4;;11621:14;;;;:4;:14;:::i;:::-;11582:54;;;;;;;:::i;:::-;;;;;;;;;;;;;:66;11637:4;:10;;;;;;;;;;:::i;:::-;11582:66;;;;;;;;;;;;;;;;-1:-1:-1;11582:66:1;;;:73;;;;;;;;;;;;;;11681:9;;11665:26;;:15;:26;;;;;;11710:81;;;;;;;;11665:26;11710:81;;;11724:10;;;;;;:::i;:::-;11710:81;;;;;;11747:4;:14;;;;;;;;:::i;:::-;11710:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11710:81:1;;;-1:-1:-1;;;11774:14:1;;;;11710:81;;;;;11665:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;11665:136:1;;;;;;;;;;;11817:36;11826:14;;;;:4;:14;:::i;:::-;11842:10;;;;:4;:10;:::i;:::-;11817:36;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;11870:4:1;;10511:1370;-1:-1:-1;;10511:1370:1:o;7792:104::-;7850:7;7880:1;7876;:5;:13;;7888:1;7876:13;;;7884:1;7876:13;7869:20;7792:104;-1:-1:-1;;;7792:104:1:o;8641:318::-;8718:4;8750:1;:8;8738:1;:8;:20;8734:63;;-1:-1:-1;8781:5:1;8774:12;;8734:63;8811:9;8806:126;8830:1;:8;8826:1;:12;8806:126;;;8871:1;8873;8871:4;;;;;;;;:::i;:::-;;;;;;;;;8863:12;;;:1;8865;8863:4;;;;;;;;:::i;:::-;;;;;;;:12;8859:63;;8902:5;8895:12;;;;;8859:63;8840:3;;;;:::i;:::-;;;;8806:126;;;-1:-1:-1;8948:4:1;;8641:318;-1:-1:-1;;;8641:318:1:o;1359:130:28:-;1247:7;1273:6;1422:23;1273:6;719:10:33;1422:23:28;1414:68;;;;-1:-1:-1;;;1414:68:28;;23746:2:61;1414:68:28;;;23728:21:61;;;23765:18;;;23758:30;23824:34;23804:18;;;23797:62;23876:18;;1414:68:28;23544:356:61;1501:153:29;1590:13;1583:20;;;;;;1613:34;1638:8;1613:24;:34::i;3175:245:1:-;3249:4;3265:14;3321:16;;3339:10;3344:4;3339;:10::i;:::-;3292:58;;24175:66:61;3292:58:1;;;24163:79:61;24258:11;;;24251:27;;;;24294:12;;;24287:28;24331:12;;3292:58:1;;;-1:-1:-1;;3292:58:1;;;;;;;;;3282:69;;3292:58;3282:69;;;;;-1:-1:-1;3403:10:1;;;;:4;:10;:::i;:::-;3368:45;;:31;:6;3383;;;;3391:7;;;;3368:14;:31::i;:::-;:45;;;;3175:245;-1:-1:-1;;;3175:245:1:o;2426:187:28:-;2499:16;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;2954:215:1:-;3017:7;2863:84;3091:10;;;;:4;:10;:::i;:::-;3113:14;;;;:4;:14;:::i;:::-;3103:25;;;;;;;:::i;:::-;;;;;;;;;;3065:96;;;24613:25:61;;;;24686:42;24674:55;;;24654:18;;;24647:83;3146:14:1;24746:18:61;;;24739:34;;;;3130:14:1;;;;24789:18:61;;;24782:34;3146:14:1;;;;24832:19:61;;;24825:35;24585:19;;3065:96:1;;;;;;;;;;;;3055:107;;;;;;3036:126;;2954:215;;;:::o;4613:222:37:-;4690:7;4710:17;4729:18;4751:23;4762:4;4768:1;4771:2;4751:10;:23::i;:::-;4709:65;;;;4784:18;4796:5;4784:11;:18::i;:::-;-1:-1:-1;4819:9:37;4613:222;-1:-1:-1;;;;4613:222:37:o;4142:306::-;4222:7;;4280:66;4267:80;;4222:7;4373:25;4389:3;4374:18;;;4396:2;4373:25;:::i;:::-;4357:42;;4416:25;4427:4;4433:1;4436;4439;4416:10;:25::i;:::-;4409:32;;;;;;4142:306;;;;;;:::o;570:511::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;-1:-1:-1;;;788:34:37;;25262:2:61;788:34:37;;;25244:21:61;25301:2;25281:18;;;25274:30;25340:26;25320:18;;;25313:54;25384:18;;788:34:37;25060:348:61;730:345:37;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:37;;25615:2:61;903:41:37;;;25597:21:61;25654:2;25634:18;;;25627:30;25693:33;25673:18;;;25666:61;25744:18;;903:41:37;25413:355:61;839:236:37;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:37;;25975:2:61;1020:44:37;;;25957:21:61;26014:2;25994:18;;;25987:30;26053:34;26033:18;;;26026:62;26124:4;26104:18;;;26097:32;26146:19;;1020:44:37;25773:398:61;5009:1456:37;5097:7;;6021:66;6008:79;;6004:161;;;-1:-1:-1;6119:1:37;;-1:-1:-1;6123:30:37;6103:51;;6004:161;6276:24;;;6259:14;6276:24;;;;;;;;;26403:25:61;;;26476:4;26464:17;;26444:18;;;26437:45;;;;26498:18;;;26491:34;;;26541:18;;;26534:34;;;6276:24:37;;26375:19:61;;6276:24:37;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6276:24:37;;-1:-1:-1;;6276:24:37;;;-1:-1:-1;;6314:20:37;;;6310:101;;6366:1;6370:29;6350:50;;;;;;;6310:101;6429:6;-1:-1:-1;6437:20:37;;-1:-1:-1;5009:1456:37;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;292:1410:61;509:2;561:21;;;631:13;;534:18;;;653:22;;;480:4;;509:2;694;;712:18;;;;753:15;;;480:4;796:880;810:6;807:1;804:13;796:880;;;869:13;;907:9;;895:22;;957:11;;;951:18;937:12;;;930:40;1010:11;;;1004:18;990:12;;;983:40;1046:4;1090:11;;;1084:18;1070:12;;;1063:40;1126:4;1170:11;;;1164:18;1150:12;;;1143:40;1206:4;1264:11;;;1258:18;1251:26;1244:34;1230:12;;;1223:56;1302:4;1350:11;;;1344:18;1364:10;1340:35;1326:12;;;1319:57;1399:4;1442:11;;;1436:18;266:13;259:21;1497:12;;;247:34;1533:6;1579:11;;;1573:18;1559:12;;;1552:40;1621:6;1612:16;;;;1651:15;;;;832:1;825:9;796:880;;;-1:-1:-1;1693:3:61;;292:1410;-1:-1:-1;;;;;;;292:1410:61:o;1707:347::-;1758:8;1768:6;1822:3;1815:4;1807:6;1803:17;1799:27;1789:55;;1840:1;1837;1830:12;1789:55;-1:-1:-1;1863:20:61;;1906:18;1895:30;;1892:50;;;1938:1;1935;1928:12;1892:50;1975:4;1967:6;1963:17;1951:29;;2027:3;2020:4;2011:6;2003;1999:19;1995:30;1992:39;1989:59;;;2044:1;2041;2034:12;1989:59;1707:347;;;;;:::o;2059:477::-;2138:6;2146;2154;2207:2;2195:9;2186:7;2182:23;2178:32;2175:52;;;2223:1;2220;2213:12;2175:52;2263:9;2250:23;2296:18;2288:6;2285:30;2282:50;;;2328:1;2325;2318:12;2282:50;2367:58;2417:7;2408:6;2397:9;2393:22;2367:58;:::i;:::-;2444:8;;2341:84;;-1:-1:-1;2526:2:61;2511:18;;;;2498:32;;2059:477;-1:-1:-1;;;;2059:477:61:o;2541:644::-;2656:6;2664;2717:2;2705:9;2696:7;2692:23;2688:32;2685:52;;;2733:1;2730;2723:12;2685:52;2773:9;2760:23;2802:18;2843:2;2835:6;2832:14;2829:34;;;2859:1;2856;2849:12;2829:34;2897:6;2886:9;2882:22;2872:32;;2942:7;2935:4;2931:2;2927:13;2923:27;2913:55;;2964:1;2961;2954:12;2913:55;3004:2;2991:16;3030:2;3022:6;3019:14;3016:34;;;3046:1;3043;3036:12;3016:34;3099:7;3094:2;3084:6;3081:1;3077:14;3073:2;3069:23;3065:32;3062:45;3059:65;;;3120:1;3117;3110:12;3059:65;3151:2;3143:11;;;;;3173:6;;-1:-1:-1;2541:644:61;;-1:-1:-1;;;;2541:644:61:o;3190:409::-;3260:6;3268;3321:2;3309:9;3300:7;3296:23;3292:32;3289:52;;;3337:1;3334;3327:12;3289:52;3377:9;3364:23;3410:18;3402:6;3399:30;3396:50;;;3442:1;3439;3432:12;3396:50;3481:58;3531:7;3522:6;3511:9;3507:22;3481:58;:::i;:::-;3558:8;;3455:84;;-1:-1:-1;3190:409:61;-1:-1:-1;;;;3190:409:61:o;3796:165::-;3893:42;3886:5;3882:54;3875:5;3872:65;3862:93;;3951:1;3948;3941:12;3966:275;4042:6;4095:2;4083:9;4074:7;4070:23;4066:32;4063:52;;;4111:1;4108;4101:12;4063:52;4150:9;4137:23;4169:42;4205:5;4169:42;:::i;4246:180::-;4305:6;4358:2;4346:9;4337:7;4333:23;4329:32;4326:52;;;4374:1;4371;4364:12;4326:52;-1:-1:-1;4397:23:61;;4246:180;-1:-1:-1;4246:180:61:o;4431:1681::-;4615:4;4644:2;4684;4673:9;4669:18;4714:2;4703:9;4696:21;4737:6;4772;4766:13;4803:6;4795;4788:22;4829:2;4819:12;;4862:2;4851:9;4847:18;4840:25;;4924:2;4914:6;4911:1;4907:14;4896:9;4892:30;4888:39;4962:2;4954:6;4950:15;4983:1;5004;5014:1069;5030:6;5025:3;5022:15;5014:1069;;;5123:66;5111:9;5103:6;5099:22;5095:95;5090:3;5083:108;5220:6;5214:13;5250:4;5297:42;5292:2;5286:9;5282:58;5274:6;5267:74;5388:2;5384;5380:11;5374:18;5429:2;5424;5416:6;5412:15;5405:27;5467:12;5461:19;5517:8;5512:2;5504:6;5500:15;5493:33;5550:1;5539:12;;5564:168;5580:8;5575:3;5572:17;5564:168;;;5689:22;;;5685:31;;5679:38;5655:16;;;5673:3;5651:26;5644:74;5599:12;;;;5564:168;;;5782:21;;;5755:3;5778:30;;;5771:41;;;5855:11;;;5849:18;5832:15;;;5825:43;6061:12;;;;5925:2;5911:17;-1:-1:-1;;5907:90:61;5895:103;;;5891:112;;;;-1:-1:-1;;6026:15:61;;;;5056:1;5047:11;5014:1069;;;-1:-1:-1;6100:6:61;;4431:1681;-1:-1:-1;;;;;;;;;4431:1681:61:o;6530:276::-;6588:6;6641:2;6629:9;6620:7;6616:23;6612:32;6609:52;;;6657:1;6654;6647:12;6609:52;6696:9;6683:23;6746:10;6739:5;6735:22;6728:5;6725:33;6715:61;;6772:1;6769;6762:12;8373:184;8425:77;8422:1;8415:88;8522:4;8519:1;8512:15;8546:4;8543:1;8536:15;8562:128;8629:9;;;8650:11;;;8647:37;;;8664:18;;:::i;8695:184::-;8747:77;8744:1;8737:88;8844:4;8841:1;8834:15;8868:4;8865:1;8858:15;9233:325;9321:6;9316:3;9309:19;9373:6;9366:5;9359:4;9354:3;9350:14;9337:43;;9425:1;9418:4;9409:6;9404:3;9400:16;9396:27;9389:38;9291:3;9547:4;-1:-1:-1;;9472:2:61;9464:6;9460:15;9456:88;9451:3;9447:98;9443:109;9436:116;;9233:325;;;;:::o;9563:244::-;9720:2;9709:9;9702:21;9683:4;9740:61;9797:2;9786:9;9782:18;9774:6;9766;9740:61;:::i;:::-;9732:69;9563:244;-1:-1:-1;;;;9563:244:61:o;9812:277::-;9879:6;9932:2;9920:9;9911:7;9907:23;9903:32;9900:52;;;9948:1;9945;9938:12;9900:52;9980:9;9974:16;10033:5;10026:13;10019:21;10012:5;10009:32;9999:60;;10055:1;10052;10045:12;10854:184;10924:6;10977:2;10965:9;10956:7;10952:23;10948:32;10945:52;;;10993:1;10990;10983:12;10945:52;-1:-1:-1;11016:16:61;;10854:184;-1:-1:-1;10854:184:61:o;11388:125::-;11453:9;;;11474:10;;;11471:36;;;11487:18;;:::i;11518:271::-;11701:6;11693;11688:3;11675:33;11657:3;11727:16;;11752:13;;;11727:16;11518:271;-1:-1:-1;11518:271:61:o;11794:184::-;11846:77;11843:1;11836:88;11943:4;11940:1;11933:15;11967:4;11964:1;11957:15;11983:437;12062:1;12058:12;;;;12105;;;12126:61;;12180:4;12172:6;12168:17;12158:27;;12126:61;12233:2;12225:6;12222:14;12202:18;12199:38;12196:218;;12270:77;12267:1;12260:88;12371:4;12368:1;12361:15;12399:4;12396:1;12389:15;12196:218;;11983:437;;;:::o;12550:544::-;12651:2;12646:3;12643:11;12640:448;;;12687:1;12712:5;12708:2;12701:17;12757:4;12753:2;12743:19;12827:2;12815:10;12811:19;12808:1;12804:27;12798:4;12794:38;12863:4;12851:10;12848:20;12845:47;;;-1:-1:-1;12886:4:61;12845:47;12941:2;12936:3;12932:12;12929:1;12925:20;12919:4;12915:31;12905:41;;12996:82;13014:2;13007:5;13004:13;12996:82;;;13059:17;;;13040:1;13029:13;12996:82;;;13000:3;;;12550:544;;;:::o;13330:1467::-;13454:3;13448:10;13481:18;13473:6;13470:30;13467:56;;;13503:18;;:::i;:::-;13532:96;13621:6;13581:38;13613:4;13607:11;13581:38;:::i;:::-;13575:4;13532:96;:::i;:::-;13683:4;;13747:2;13736:14;;13764:1;13759:781;;;;14584:1;14601:6;14598:89;;;-1:-1:-1;14653:19:61;;;14647:26;14598:89;13236:66;13227:1;13223:11;;;13219:84;13215:89;13205:100;13311:1;13307:11;;;13202:117;14700:81;;13729:1062;;13759:781;12497:1;12490:14;;;12534:4;12521:18;;-1:-1:-1;;13795:79:61;;;13971:236;13985:7;13982:1;13979:14;13971:236;;;14074:19;;;14068:26;14053:42;;14166:27;;;;14134:1;14122:14;;;;14001:19;;13971:236;;;13975:3;14235:6;14226:7;14223:19;14220:261;;;14296:19;;;14290:26;14397:66;14379:1;14375:14;;;14391:3;14371:24;14367:97;14363:102;14348:118;14333:134;;14220:261;-1:-1:-1;;;;;14527:1:61;14511:14;;;14507:22;14494:36;;-1:-1:-1;13330:1467:61:o;15146:385::-;15241:4;15299:11;15286:25;15389:66;15378:8;15362:14;15358:29;15354:102;15334:18;15330:127;15320:155;;15471:1;15468;15461:12;15320:155;15492:33;;;;;15146:385;-1:-1:-1;;15146:385:61:o;15536:172::-;15603:10;15633;;;15645;;;15629:27;;15668:11;;;15665:37;;;15682:18;;:::i;:::-;15665:37;15536:172;;;;:::o;15713:195::-;15752:3;15783:66;15776:5;15773:77;15770:103;;15853:18;;:::i;:::-;-1:-1:-1;15900:1:61;15889:13;;15713:195::o;17021:1549::-;17138:3;17132:4;17129:13;17126:26;;17145:5;;17021:1549::o;17126:26::-;17175:37;17207:3;17201:10;17175:37;:::i;:::-;17235:18;17227:6;17224:30;17221:56;;;17257:18;;:::i;:::-;17286:96;17375:6;17335:38;17367:4;17361:11;17335:38;:::i;17286:96::-;17408:1;17436:2;17428:6;17425:14;17453:1;17448:865;;;;18357:1;18374:6;18371:89;;;-1:-1:-1;18426:19:61;;;18420:26;18371:89;13236:66;13227:1;13223:11;;;13219:84;13215:89;13205:100;13311:1;13307:11;;;13202:117;18473:81;;17418:1146;;17448:865;12497:1;12490:14;;;12534:4;12521:18;;-1:-1:-1;;17484:79:61;;;12497:1;12490:14;;;12534:4;12521:18;;17705:9;17727:251;17741:7;17738:1;17735:14;17727:251;;;17823:21;;;17817:28;17802:44;;17873:1;17946:18;;;;17901:15;;;;17764:4;17757:12;17727:251;;;17731:3;18006:6;17997:7;17994:19;17991:263;;;18067:21;;18061:28;18170:66;18164:3;18152:1;18148:14;;;18144:24;18140:97;18136:102;18121:118;18106:134;;;-1:-1:-1;;18300:1:61;18284:14;;;18280:22;18267:36;;-1:-1:-1;17021:1549:61:o;18575:829::-;18624:3;18665:5;18659:12;18694:36;18720:9;18694:36;:::i;:::-;18739:19;;;18777:4;18800:1;18817:18;;;18844:204;;;;19062:1;19057:341;;;;18810:588;;18844:204;18901:66;18890:9;18886:82;18881:2;18876:3;18872:12;18865:104;19035:2;19023:6;19016:14;19009:22;19006:1;19002:30;18997:3;18993:40;18989:49;18982:56;;18844:204;;19057:341;19088:5;19085:1;19078:16;19135:2;19132:1;19122:16;19160:1;19174:174;19188:6;19185:1;19182:13;19174:174;;;19275:14;;19257:11;;;19253:20;;19246:44;19318:16;;;;19203:10;;19174:174;;;19372:11;;19368:20;;;-1:-1:-1;;18810:588:61;;;;;;18575:829;;;;:::o;19409:884::-;19567:4;19596:2;19636;19625:9;19621:18;19666:2;19655:9;19648:21;19689:6;19724;19718:13;19755:6;19747;19740:22;19793:2;19782:9;19778:18;19771:25;;19855:2;19845:6;19842:1;19838:14;19827:9;19823:30;19819:39;19805:53;;19877:6;19874:1;19867:17;19920:2;19917:1;19907:16;19941:1;19951:313;19965:6;19962:1;19959:13;19951:313;;;20054:66;20042:9;20034:6;20030:22;20026:95;20021:3;20014:108;20145:40;20178:6;20170;20145:40;:::i;:::-;20135:50;-1:-1:-1;20242:12:61;;;;20220:1;20208:14;;;;19980:9;19951:313;;;-1:-1:-1;20281:6:61;;19409:884;-1:-1:-1;;;;;;;19409:884:61:o;21003:342::-;21175:2;21164:9;21157:21;21138:4;21195:52;21243:2;21232:9;21228:18;21220:6;21195:52;:::i;:::-;21187:60;;21295:42;21287:6;21283:55;21278:2;21267:9;21263:18;21256:83;21003:342;;;;;:::o;21350:201::-;21388:3;21416:10;21461:2;21454:5;21450:14;21488:2;21479:7;21476:15;21473:41;;21494:18;;:::i;:::-;21543:1;21530:15;;21350:201;-1:-1:-1;;;21350:201:61:o;21556:580::-;21633:4;21639:6;21699:11;21686:25;21789:66;21778:8;21762:14;21758:29;21754:102;21734:18;21730:127;21720:155;;21871:1;21868;21861:12;21720:155;21898:33;;21950:20;;;-1:-1:-1;21993:18:61;21982:30;;21979:50;;;22025:1;22022;22015:12;21979:50;22058:4;22046:17;;-1:-1:-1;22089:14:61;22085:27;;;22075:38;;22072:58;;;22126:1;22123;22116:12;22141:364;22326:2;22315:9;22308:21;22289:4;22346:61;22403:2;22392:9;22388:18;22380:6;22372;22346:61;:::i;:::-;22338:69;;22455:42;22447:6;22443:55;22438:2;22427:9;22423:18;22416:83;22141:364;;;;;;:::o;24871:184::-;24923:77;24920:1;24913:88;25020:4;25017:1;25010:15;25044:4;25041:1;25034:15", + "sourceMap": "341:11542:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1697:29;;;;;;;;;160:25:62;;;148:2;133:18;1697:29:1;;;;;;;;7558:91;;;:::i;:::-;;;;;;;:::i;1576:27::-;;;;;;4214:1329;;;;;;:::i;:::-;;:::i;:::-;;7118:434;;;;;;:::i;:::-;;:::i;7902:733::-;;;;;;:::i;:::-;;:::i;:::-;;;3769:14:62;;3762:22;3744:41;;3732:2;3717:18;7902:733:1;3604:187:62;1654:37:1;;;;;;4112:96;;;;;;:::i;:::-;;:::i;1824:101:29:-;;;:::i;1734:212:30:-;;;:::i;7655:131:1:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2815:132::-;;2863:84;2815:132;;1201:85:29;1247:7;1273:6;;;1201:85;;;6475:42:62;6463:55;;;6445:74;;6433:2;6418:18;1201:85:29;6299:226:62;5549:1563:1;;;;;;:::i;:::-;;:::i;1828:23::-;;;;;;:::i;:::-;;:::i;:::-;;;;7168:25:62;;;7224:2;7209:18;;7202:34;;;;7252:18;;;7245:34;;;;7310:2;7295:18;;7288:34;;;;7353:3;7338:19;;7331:35;;;;7410:14;7403:22;7397:3;7382:19;;7375:51;7475:10;7463:23;7457:3;7442:19;;7435:52;7531:14;7524:22;7518:3;7503:19;;7496:51;7578:3;7563:19;;7556:35;7155:3;7140:19;1828:23:1;6811:786:62;1513:26:1;;;;;;;;;847:99:30;926:13;;;;847:99;;1139:178;;;;;;:::i;:::-;;:::i;1545:24:1:-;;;;;;;;;1609:39;;;;;;7558:91;7601:15;7635:7;7628:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7558:91;:::o;4214:1329::-;4311:7;:14;:19;;:60;;-1:-1:-1;4334:7:1;4342:14;;:18;;4359:1;;4342:18;:::i;:::-;4334:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;4311:60;4303:93;;;;-1:-1:-1;;;4303:93:1;;9086:2:62;4303:93:1;;;9068:21:62;9125:2;9105:18;;;9098:30;9164:22;9144:18;;;9137:50;9204:18;;4303:93:1;;;;;;;;;4414:9;;:43;;;;;:9;;;;;:32;;:43;;4447:9;;;;4414:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4406:82;;;;-1:-1:-1;;;4406:82:1;;10296:2:62;4406:82:1;;;10278:21:62;10335:2;10315:18;;;10308:30;10374:28;10354:18;;;10347:56;10420:18;;4406:82:1;10094:350:62;4406:82:1;4507:29;4526:9;;4507:18;:29::i;:::-;4506:30;4498:79;;;;-1:-1:-1;;;4498:79:1;;10651:2:62;4498:79:1;;;10633:21:62;10690:2;10670:18;;;10663:30;10729:34;10709:18;;;10702:62;10800:6;10780:18;;;10773:34;10824:19;;4498:79:1;10449:400:62;4498:79:1;4595:5;;:27;;;;;4611:10;4595:27;;;6445:74:62;4626:10:1;;4595:5;;;:15;;6418:18:62;;4595:27:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;4587:70;;;;-1:-1:-1;;;4587:70:1;;11245:2:62;4587:70:1;;;11227:21:62;11284:2;11264:18;;;11257:30;11323:18;11303;;;11296:46;11359:18;;4587:70:1;11043:340:62;4587:70:1;4687:7;:14;4668:16;;4687:18;;4704:1;4687:18;:::i;:::-;4668:37;;4779:4;4716:27;:37;4744:8;4716:37;;;;;;;;;;;4754:9;;4716:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4765:10;4716:60;;;;;;;;;;:67;;;;;;;;;;;;;;4793:25;;;:15;:25;;;;;4824:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;4716:48;4824:72;;;;;4861:9;;4824:72;;;;;;4861:9;4824:72;;4861:9;4824:72;;;;;;;;-1:-1:-1;4824:72:1;;;-1:-1:-1;;;4824:72:1;;;;;;;4793:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;4907:7;4933:418;;;;;;;;4962:8;4933:418;;;;5000:12;4933:418;;;;5039:15;4933:418;;;;5111:12;;5093:15;:30;;;;:::i;:::-;4933:418;;;;5181:24;;5166:12;;5148:15;:30;;;;:::i;:::-;:57;;;;:::i;:::-;4933:418;;5234:5;4933:418;;;;;;;;;;;;;;;;;;;;;;;;;;;;4907:454;;4933:418;4907:454;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4933:418;4907:454;;;;;;;;;;;;;;;;;;;;;;;;;;;;5488:17;;:14;:17::i;:::-;5521:15;;;;;;;4293:1250;4214:1329;;;:::o;7118:434::-;7191:7;:14;:18;;;;:60;;-1:-1:-1;7214:7:1;7222:14;;:18;;7239:1;;7222:18;:::i;:::-;7214:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;7213:38;7191:60;7183:88;;;;-1:-1:-1;;;7183:88:1;;15004:2:62;7183:88:1;;;14986:21:62;15043:2;15023:18;;;15016:30;15082:17;15062:18;;;15055:45;15117:18;;7183:88:1;14802:339:62;7183:88:1;7282:24;7325:9;7320:183;7340:16;;;7320:183;;;7377:12;7392:19;7402:5;;7408:1;7402:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;7392:9;:19::i;:::-;7377:34;;7429:7;7425:68;;;7456:22;7477:1;7456:22;;:::i;:::-;;;7425:68;-1:-1:-1;7358:3:1;;;;:::i;:::-;;;;7320:183;;;;7512:33;7527:17;7512:14;:33::i;:::-;7173:379;7118:434;;:::o;7902:733::-;7997:7;:14;7977:4;;7997:19;;7993:62;;-1:-1:-1;8039:5:1;8032:12;;7993:62;8128:7;8136:14;;8105:20;;8128:7;8136:18;;8153:1;;8136:18;:::i;:::-;8128:27;;;;;;;;:::i;:::-;;;;;;;;;:37;:27;;;;;:37;;;;:75;;8185:14;;:18;;8202:1;8185:18;:::i;:::-;8128:75;;;8168:14;;8128:75;8233:7;:14;8105:98;;-1:-1:-1;8228:34:1;;8105:98;8228:4;:34::i;:::-;8213:49;;8277:9;8272:335;8296:12;8292:1;:16;8272:335;;;8329:24;8356:18;:54;8375:7;8404:1;8400;8383:7;:14;;;;:18;;;;:::i;:::-;:22;;;;:::i;:::-;8375:31;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;8356:54;;;;;;;;;;;8329:81;;8429:9;8424:173;8448:15;;8444:19;;8424:173;;;8492:37;8506:8;8515:1;8506:11;;;;;;;;:::i;:::-;;;;;;;;8492:37;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8519:9;;8492:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8492:13:1;;-1:-1:-1;;;8492:37:1:i;:::-;8488:95;;;8560:4;8553:11;;;;;;;;8488:95;8465:3;;;;:::i;:::-;;;;8424:173;;;;8315:292;8310:3;;;;;:::i;:::-;;;;8272:335;;;;8623:5;8616:12;;;7902:733;;;;;:::o;4112:96::-;1094:13:29;:11;:13::i;:::-;4181:9:1::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;4112:96::o;1824:101:29:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1734:212:30:-;926:13;;719:10:34;;1833:24:30;926:13;1833:24;;1825:78;;;;-1:-1:-1;;;1825:78:30;;16115:2:62;1825:78:30;;;16097:21:62;16154:2;16134:18;;;16127:30;16193:34;16173:18;;;16166:62;16264:11;16244:18;;;16237:39;16293:19;;1825:78:30;15913:405:62;1825:78:30;1913:26;1932:6;1913:18;:26::i;:::-;1776:170;1734:212::o;7655:131:1:-;7722:13;7754:15;:25;7770:8;7754:25;;;;;;;;;;;7747:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7655:131;;;:::o;5549:1563::-;5612:7;:14;5604:46;;;;-1:-1:-1;;;5604:46:1;;15004:2:62;5604:46:1;;;14986:21:62;15043:2;15023:18;;;15016:30;15082:17;15062:18;;;15055:45;15117:18;;5604:46:1;14802:339:62;5604:46:1;5684:7;5692:14;;5660:21;;5684:7;5692:18;;5709:1;;5692:18;:::i;:::-;5684:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;5727:16;;;;5684:27;;-1:-1:-1;5727:16:1;;5722:310;;5782:15;5767:6;:12;;;:30;5759:61;;;;-1:-1:-1;;;5759:61:1;;16525:2:62;5759:61:1;;;16507:21:62;16564:2;16544:18;;;16537:30;16603:20;16583:18;;;16576:48;16641:18;;5759:61:1;16323:342:62;5759:61:1;5834:16;;;:23;;5886:15;5871:12;;;:30;5933:12;5915:15;;;:30;5997:24;;5853:4;5997:24;;;5722:310;6051:16;;;;;;;;;6050:17;6042:52;;;;-1:-1:-1;;;6042:52:1;;16872:2:62;6042:52:1;;;16854:21:62;16911:2;16891:18;;;16884:30;16950:24;16930:18;;;16923:52;16992:18;;6042:52:1;16670:346:62;6042:52:1;6104:21;6119:5;6104:14;:21::i;:::-;6140:16;;;;;;;;;6136:970;;;6218:9;;6172:24;6199:29;;;:18;:29;;;;;;6243:634;6267:22;;6263:1;:26;6243:634;;;6314:20;6374:1;6357:245;6381:21;;6377:1;:25;6357:245;;;6472:16;6489:12;6472:30;;;;;;;;:::i;:::-;;;;;;;;;;;:45;;;6435:16;6452:1;6435:19;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;:82;6431:153;;;6560:1;6545:16;;6431:153;6404:3;;;;:::i;:::-;;;;6357:245;;;;6624:16;6641:12;6624:30;;;;;;;;:::i;:::-;;;;;;;;;;;:45;;;6673:1;6624:50;6620:102;;6698:5;;;6620:102;6740:8;6754:16;6771:12;6754:30;;;;;;;;:::i;:::-;;;;;;;;;6740:55;;;;;;;;;;;;;;;;;;6754:30;;;;;6740:55;;:::i;:::-;;6861:1;6813:16;6830:12;6813:30;;;;;;;;:::i;:::-;;;;;;;;;:45;:30;;;;;:45;:49;-1:-1:-1;6291:3:1;;;;:::i;:::-;;;;6243:634;;;-1:-1:-1;6891:9:1;;:42;;;;;:9;;;;;:32;;:42;;6924:8;;6891:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7020:1:1;6996:21;:25;;;7035:23;;-1:-1:-1;7042:16:1;;-1:-1:-1;7035:23:1;:::i;:::-;7078:17;;;;;;;6158:948;6136:970;5594:1518;5549:1563;:::o;1828:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1828:23:1;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1139:178:30:-;1094:13:29;:11;:13::i;:::-;1228::30::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1292:7:::1;1247::29::0;1273:6;;;;1201:85;1292:7:30::1;1267:43;;;;;;;;;;;;1139:178:::0;:::o;8965:1540:1:-;9045:7;9053:14;;9021:21;;9045:7;9053:18;;9070:1;;9053:18;:::i;:::-;9045:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9121:9;;9105:26;;:15;:26;;;;;;;9174:20;;;;9159:12;;9045:27;;-1:-1:-1;9105:26:1;;9159:35;;9174:20;;;;;;;9159:35;:::i;:::-;9150:5;:44;;;;9142:91;;;;-1:-1:-1;;;9142:91:1;;20500:2:62;9142:91:1;;;20482:21:62;20539:2;20519:18;;;20512:30;20578:34;20558:18;;;20551:62;20649:4;20629:18;;;20622:32;20671:19;;9142:91:1;20298:398:62;9142:91:1;9418:16;;;;9391:12;;9418:16;;9414:81;;;-1:-1:-1;9469:15:1;;;;9414:81;9505:8;9527:837;9538:5;9534:9;;:1;:9;;;9527:837;;;9590:20;;;;9564:17;;9584:5;;9590:24;;9613:1;;9590:20;;;;;:24;:::i;:::-;9584:31;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;9683:14;;;;9633:5;;9651:10;;9633:47;;;;;:5;9651:10;;;9633:47;;;20875:74:62;20965:18;;;20958:34;;;9584:31:1;;-1:-1:-1;9633:5:1;;:17;;20848:18:62;;9633:47:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:64;9629:176;;;9753:10;;9722:42;;;;;;9737:14;;;;9753:10;;;9722:42;:::i;:::-;;;;;;;;9782:8;;;9629:176;9819:10;9856:9;9851:304;9875:21;;9871:1;:25;9851:304;;;9925:60;9939:4;:14;;9925:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9955:16;9972:1;9955:19;;;;;;;;:::i;:::-;;;;;;;;;;;:29;;9925:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:13;:60::i;:::-;9921:220;;;10047:4;:14;;;10009:16;10026:1;10009:19;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;:52;;;;;;;:::i;:::-;;;;-1:-1:-1;10091:4:1;;-1:-1:-1;10117:5:1;;-1:-1:-1;10117:5:1;9921:220;9898:3;;;;:::i;:::-;;;;9851:304;;;;10173:5;10168:186;;10198:16;10220:77;;;;;;;;10248:4;:14;;10220:77;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10220:77:1;;;-1:-1:-1;;10280:14:1;;;;;10220:77;;;;;10198:100;;;;;;;-1:-1:-1;10198:100:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;10198:100:1;;;;;;;;;;;10316:21;:23;;;:21;:23;;;:::i;:::-;;;;;;10168:186;9550:814;;9527:837;9545:3;;;;:::i;:::-;;;;9527:837;;;10398:1;10374:6;:20;;;:25;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;10437:12;;10413:20;;;;;;;;;;;:36;;-1:-1:-1;10409:90:1;;10465:16;;;:23;;;;;;;;10409:90;9011:1494;;;;8965:1540;:::o;10511:1370::-;10573:4;10594:21;10610:4;10594:15;:21::i;:::-;10589:128;;10636:44;10653:14;;;;:4;:14;:::i;:::-;10669:10;;;;:4;:10;:::i;:::-;10636:44;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10701:5:1;;10511:1370;-1:-1:-1;10511:1370:1:o;10589:128::-;10732:9;;;;:32;10765:14;;;;:4;:14;:::i;:::-;10732:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10727:162;;10801:51;10825:14;;;;:4;:14;:::i;10727:162::-;10903:34;10922:14;;;;:4;:14;:::i;10903:34::-;10899:149;;;10958:53;10984:14;;;;:4;:14;:::i;10899:149::-;11082:7;11090:14;;11058:21;;11082:7;11090:18;;11107:1;;11090:18;:::i;:::-;11082:27;;;;;;;;:::i;:::-;;;;;;;;;;;11058:51;;11146:6;:12;;;11128:15;:30;11120:54;;;;-1:-1:-1;;;11120:54:1;;22712:2:62;11120:54:1;;;22694:21:62;22751:2;22731:18;;;22724:30;22790:13;22770:18;;;22763:41;22821:18;;11120:54:1;22510:335:62;11120:54:1;11193:16;;;;;;11192:17;11184:44;;;;-1:-1:-1;;;11184:44:1;;23052:2:62;11184:44:1;;;23034:21:62;23091:2;23071:18;;;23064:30;23130:16;23110:18;;;23103:44;23164:18;;11184:44:1;22850:338:62;11184:44:1;11263:6;:26;;;11246:4;:14;;;:43;11238:78;;;;-1:-1:-1;;;11238:78:1;;23395:2:62;11238:78:1;;;23377:21:62;23434:2;23414:18;;;23407:30;23473:24;23453:18;;;23446:52;23515:18;;11238:78:1;23193:346:62;11238:78:1;11352:6;:14;;;11334:4;:14;;;:32;;11326:67;;;;-1:-1:-1;;;11326:67:1;;23395:2:62;11326:67:1;;;23377:21:62;23434:2;23414:18;;;23407:30;23473:24;23453:18;;;23446:52;23515:18;;11326:67:1;23193:346:62;11326:67:1;11436:9;;11408:38;;;;:27;:38;;;;;;;;;11447:14;;;;:4;:14;:::i;:::-;11408:54;;;;;;;:::i;:::-;;;;;;;;;;;;;:66;11463:4;:10;;;;;;;;;;:::i;:::-;11408:66;;;;;;;;;;;;;-1:-1:-1;11408:66:1;;;;11404:168;;;11495:40;11508:14;;;;:4;:14;:::i;:::-;11524:10;;;;:4;:10;:::i;:::-;11495:40;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;11556:5:1;;10511:1370;-1:-1:-1;;10511:1370:1:o;11404:168::-;11610:9;;11582:38;;;;:27;:38;;;;;;;;11651:4;;11621:14;;;;:4;:14;:::i;:::-;11582:54;;;;;;;:::i;:::-;;;;;;;;;;;;;:66;11637:4;:10;;;;;;;;;;:::i;:::-;11582:66;;;;;;;;;;;;;;;;-1:-1:-1;11582:66:1;;;:73;;;;;;;;;;;;;;11681:9;;11665:26;;:15;:26;;;;;;11710:81;;;;;;;;11665:26;11710:81;;;11724:10;;;;;;:::i;:::-;11710:81;;;;;;11747:4;:14;;;;;;;;:::i;:::-;11710:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11710:81:1;;;-1:-1:-1;;;11774:14:1;;;;11710:81;;;;;11665:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;11665:136:1;;;;;;;;;;;11817:36;11826:14;;;;:4;:14;:::i;:::-;11842:10;;;;:4;:10;:::i;:::-;11817:36;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;11870:4:1;;10511:1370;-1:-1:-1;;10511:1370:1:o;7792:104::-;7850:7;7880:1;7876;:5;:13;;7888:1;7876:13;;;7884:1;7876:13;7869:20;7792:104;-1:-1:-1;;;7792:104:1:o;8641:318::-;8718:4;8750:1;:8;8738:1;:8;:20;8734:63;;-1:-1:-1;8781:5:1;8774:12;;8734:63;8811:9;8806:126;8830:1;:8;8826:1;:12;8806:126;;;8871:1;8873;8871:4;;;;;;;;:::i;:::-;;;;;;;;;8863:12;;;:1;8865;8863:4;;;;;;;;:::i;:::-;;;;;;;:12;8859:63;;8902:5;8895:12;;;;;8859:63;8840:3;;;;:::i;:::-;;;;8806:126;;;-1:-1:-1;8948:4:1;;8641:318;-1:-1:-1;;;8641:318:1:o;1359:130:29:-;1247:7;1273:6;1422:23;1273:6;719:10:34;1422:23:29;1414:68;;;;-1:-1:-1;;;1414:68:29;;23746:2:62;1414:68:29;;;23728:21:62;;;23765:18;;;23758:30;23824:34;23804:18;;;23797:62;23876:18;;1414:68:29;23544:356:62;1501:153:30;1590:13;1583:20;;;;;;1613:34;1638:8;1613:24;:34::i;3175:245:1:-;3249:4;3265:14;3321:16;;3339:10;3344:4;3339;:10::i;:::-;3292:58;;24175:66:62;3292:58:1;;;24163:79:62;24258:11;;;24251:27;;;;24294:12;;;24287:28;24331:12;;3292:58:1;;;-1:-1:-1;;3292:58:1;;;;;;;;;3282:69;;3292:58;3282:69;;;;;-1:-1:-1;3403:10:1;;;;:4;:10;:::i;:::-;3368:45;;:31;:6;3383;;;;3391:7;;;;3368:14;:31::i;:::-;:45;;;;3175:245;-1:-1:-1;;;3175:245:1:o;2426:187:29:-;2499:16;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;2954:215:1:-;3017:7;2863:84;3091:10;;;;:4;:10;:::i;:::-;3113:14;;;;:4;:14;:::i;:::-;3103:25;;;;;;;:::i;:::-;;;;;;;;;;3065:96;;;24613:25:62;;;;24686:42;24674:55;;;24654:18;;;24647:83;3146:14:1;24746:18:62;;;24739:34;;;;3130:14:1;;;;24789:18:62;;;24782:34;3146:14:1;;;;24832:19:62;;;24825:35;24585:19;;3065:96:1;;;;;;;;;;;;3055:107;;;;;;3036:126;;2954:215;;;:::o;4613:222:38:-;4690:7;4710:17;4729:18;4751:23;4762:4;4768:1;4771:2;4751:10;:23::i;:::-;4709:65;;;;4784:18;4796:5;4784:11;:18::i;:::-;-1:-1:-1;4819:9:38;4613:222;-1:-1:-1;;;;4613:222:38:o;4142:306::-;4222:7;;4280:66;4267:80;;4222:7;4373:25;4389:3;4374:18;;;4396:2;4373:25;:::i;:::-;4357:42;;4416:25;4427:4;4433:1;4436;4439;4416:10;:25::i;:::-;4409:32;;;;;;4142:306;;;;;;:::o;570:511::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;-1:-1:-1;;;788:34:38;;25262:2:62;788:34:38;;;25244:21:62;25301:2;25281:18;;;25274:30;25340:26;25320:18;;;25313:54;25384:18;;788:34:38;25060:348:62;730:345:38;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:38;;25615:2:62;903:41:38;;;25597:21:62;25654:2;25634:18;;;25627:30;25693:33;25673:18;;;25666:61;25744:18;;903:41:38;25413:355:62;839:236:38;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:38;;25975:2:62;1020:44:38;;;25957:21:62;26014:2;25994:18;;;25987:30;26053:34;26033:18;;;26026:62;26124:4;26104:18;;;26097:32;26146:19;;1020:44:38;25773:398:62;5009:1456:38;5097:7;;6021:66;6008:79;;6004:161;;;-1:-1:-1;6119:1:38;;-1:-1:-1;6123:30:38;6103:51;;6004:161;6276:24;;;6259:14;6276:24;;;;;;;;;26403:25:62;;;26476:4;26464:17;;26444:18;;;26437:45;;;;26498:18;;;26491:34;;;26541:18;;;26534:34;;;6276:24:38;;26375:19:62;;6276:24:38;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6276:24:38;;-1:-1:-1;;6276:24:38;;;-1:-1:-1;;6314:20:38;;;6310:101;;6366:1;6370:29;6350:50;;;;;;;6310:101;6429:6;-1:-1:-1;6437:20:38;;-1:-1:-1;5009:1456:38;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;292:1410:62;509:2;561:21;;;631:13;;534:18;;;653:22;;;480:4;;509:2;694;;712:18;;;;753:15;;;480:4;796:880;810:6;807:1;804:13;796:880;;;869:13;;907:9;;895:22;;957:11;;;951:18;937:12;;;930:40;1010:11;;;1004:18;990:12;;;983:40;1046:4;1090:11;;;1084:18;1070:12;;;1063:40;1126:4;1170:11;;;1164:18;1150:12;;;1143:40;1206:4;1264:11;;;1258:18;1251:26;1244:34;1230:12;;;1223:56;1302:4;1350:11;;;1344:18;1364:10;1340:35;1326:12;;;1319:57;1399:4;1442:11;;;1436:18;266:13;259:21;1497:12;;;247:34;1533:6;1579:11;;;1573:18;1559:12;;;1552:40;1621:6;1612:16;;;;1651:15;;;;832:1;825:9;796:880;;;-1:-1:-1;1693:3:62;;292:1410;-1:-1:-1;;;;;;;292:1410:62:o;1707:347::-;1758:8;1768:6;1822:3;1815:4;1807:6;1803:17;1799:27;1789:55;;1840:1;1837;1830:12;1789:55;-1:-1:-1;1863:20:62;;1906:18;1895:30;;1892:50;;;1938:1;1935;1928:12;1892:50;1975:4;1967:6;1963:17;1951:29;;2027:3;2020:4;2011:6;2003;1999:19;1995:30;1992:39;1989:59;;;2044:1;2041;2034:12;1989:59;1707:347;;;;;:::o;2059:477::-;2138:6;2146;2154;2207:2;2195:9;2186:7;2182:23;2178:32;2175:52;;;2223:1;2220;2213:12;2175:52;2263:9;2250:23;2296:18;2288:6;2285:30;2282:50;;;2328:1;2325;2318:12;2282:50;2367:58;2417:7;2408:6;2397:9;2393:22;2367:58;:::i;:::-;2444:8;;2341:84;;-1:-1:-1;2526:2:62;2511:18;;;;2498:32;;2059:477;-1:-1:-1;;;;2059:477:62:o;2541:644::-;2656:6;2664;2717:2;2705:9;2696:7;2692:23;2688:32;2685:52;;;2733:1;2730;2723:12;2685:52;2773:9;2760:23;2802:18;2843:2;2835:6;2832:14;2829:34;;;2859:1;2856;2849:12;2829:34;2897:6;2886:9;2882:22;2872:32;;2942:7;2935:4;2931:2;2927:13;2923:27;2913:55;;2964:1;2961;2954:12;2913:55;3004:2;2991:16;3030:2;3022:6;3019:14;3016:34;;;3046:1;3043;3036:12;3016:34;3099:7;3094:2;3084:6;3081:1;3077:14;3073:2;3069:23;3065:32;3062:45;3059:65;;;3120:1;3117;3110:12;3059:65;3151:2;3143:11;;;;;3173:6;;-1:-1:-1;2541:644:62;;-1:-1:-1;;;;2541:644:62:o;3190:409::-;3260:6;3268;3321:2;3309:9;3300:7;3296:23;3292:32;3289:52;;;3337:1;3334;3327:12;3289:52;3377:9;3364:23;3410:18;3402:6;3399:30;3396:50;;;3442:1;3439;3432:12;3396:50;3481:58;3531:7;3522:6;3511:9;3507:22;3481:58;:::i;:::-;3558:8;;3455:84;;-1:-1:-1;3190:409:62;-1:-1:-1;;;;3190:409:62:o;3796:165::-;3893:42;3886:5;3882:54;3875:5;3872:65;3862:93;;3951:1;3948;3941:12;3966:275;4042:6;4095:2;4083:9;4074:7;4070:23;4066:32;4063:52;;;4111:1;4108;4101:12;4063:52;4150:9;4137:23;4169:42;4205:5;4169:42;:::i;4246:180::-;4305:6;4358:2;4346:9;4337:7;4333:23;4329:32;4326:52;;;4374:1;4371;4364:12;4326:52;-1:-1:-1;4397:23:62;;4246:180;-1:-1:-1;4246:180:62:o;4431:1681::-;4615:4;4644:2;4684;4673:9;4669:18;4714:2;4703:9;4696:21;4737:6;4772;4766:13;4803:6;4795;4788:22;4829:2;4819:12;;4862:2;4851:9;4847:18;4840:25;;4924:2;4914:6;4911:1;4907:14;4896:9;4892:30;4888:39;4962:2;4954:6;4950:15;4983:1;5004;5014:1069;5030:6;5025:3;5022:15;5014:1069;;;5123:66;5111:9;5103:6;5099:22;5095:95;5090:3;5083:108;5220:6;5214:13;5250:4;5297:42;5292:2;5286:9;5282:58;5274:6;5267:74;5388:2;5384;5380:11;5374:18;5429:2;5424;5416:6;5412:15;5405:27;5467:12;5461:19;5517:8;5512:2;5504:6;5500:15;5493:33;5550:1;5539:12;;5564:168;5580:8;5575:3;5572:17;5564:168;;;5689:22;;;5685:31;;5679:38;5655:16;;;5673:3;5651:26;5644:74;5599:12;;;;5564:168;;;5782:21;;;5755:3;5778:30;;;5771:41;;;5855:11;;;5849:18;5832:15;;;5825:43;6061:12;;;;5925:2;5911:17;-1:-1:-1;;5907:90:62;5895:103;;;5891:112;;;;-1:-1:-1;;6026:15:62;;;;5056:1;5047:11;5014:1069;;;-1:-1:-1;6100:6:62;;4431:1681;-1:-1:-1;;;;;;;;;4431:1681:62:o;6530:276::-;6588:6;6641:2;6629:9;6620:7;6616:23;6612:32;6609:52;;;6657:1;6654;6647:12;6609:52;6696:9;6683:23;6746:10;6739:5;6735:22;6728:5;6725:33;6715:61;;6772:1;6769;6762:12;8373:184;8425:77;8422:1;8415:88;8522:4;8519:1;8512:15;8546:4;8543:1;8536:15;8562:128;8629:9;;;8650:11;;;8647:37;;;8664:18;;:::i;8695:184::-;8747:77;8744:1;8737:88;8844:4;8841:1;8834:15;8868:4;8865:1;8858:15;9233:325;9321:6;9316:3;9309:19;9373:6;9366:5;9359:4;9354:3;9350:14;9337:43;;9425:1;9418:4;9409:6;9404:3;9400:16;9396:27;9389:38;9291:3;9547:4;-1:-1:-1;;9472:2:62;9464:6;9460:15;9456:88;9451:3;9447:98;9443:109;9436:116;;9233:325;;;;:::o;9563:244::-;9720:2;9709:9;9702:21;9683:4;9740:61;9797:2;9786:9;9782:18;9774:6;9766;9740:61;:::i;:::-;9732:69;9563:244;-1:-1:-1;;;;9563:244:62:o;9812:277::-;9879:6;9932:2;9920:9;9911:7;9907:23;9903:32;9900:52;;;9948:1;9945;9938:12;9900:52;9980:9;9974:16;10033:5;10026:13;10019:21;10012:5;10009:32;9999:60;;10055:1;10052;10045:12;10854:184;10924:6;10977:2;10965:9;10956:7;10952:23;10948:32;10945:52;;;10993:1;10990;10983:12;10945:52;-1:-1:-1;11016:16:62;;10854:184;-1:-1:-1;10854:184:62:o;11388:125::-;11453:9;;;11474:10;;;11471:36;;;11487:18;;:::i;11518:271::-;11701:6;11693;11688:3;11675:33;11657:3;11727:16;;11752:13;;;11727:16;11518:271;-1:-1:-1;11518:271:62:o;11794:184::-;11846:77;11843:1;11836:88;11943:4;11940:1;11933:15;11967:4;11964:1;11957:15;11983:437;12062:1;12058:12;;;;12105;;;12126:61;;12180:4;12172:6;12168:17;12158:27;;12126:61;12233:2;12225:6;12222:14;12202:18;12199:38;12196:218;;12270:77;12267:1;12260:88;12371:4;12368:1;12361:15;12399:4;12396:1;12389:15;12196:218;;11983:437;;;:::o;12550:544::-;12651:2;12646:3;12643:11;12640:448;;;12687:1;12712:5;12708:2;12701:17;12757:4;12753:2;12743:19;12827:2;12815:10;12811:19;12808:1;12804:27;12798:4;12794:38;12863:4;12851:10;12848:20;12845:47;;;-1:-1:-1;12886:4:62;12845:47;12941:2;12936:3;12932:12;12929:1;12925:20;12919:4;12915:31;12905:41;;12996:82;13014:2;13007:5;13004:13;12996:82;;;13059:17;;;13040:1;13029:13;12996:82;;;13000:3;;;12550:544;;;:::o;13330:1467::-;13454:3;13448:10;13481:18;13473:6;13470:30;13467:56;;;13503:18;;:::i;:::-;13532:96;13621:6;13581:38;13613:4;13607:11;13581:38;:::i;:::-;13575:4;13532:96;:::i;:::-;13683:4;;13747:2;13736:14;;13764:1;13759:781;;;;14584:1;14601:6;14598:89;;;-1:-1:-1;14653:19:62;;;14647:26;14598:89;13236:66;13227:1;13223:11;;;13219:84;13215:89;13205:100;13311:1;13307:11;;;13202:117;14700:81;;13729:1062;;13759:781;12497:1;12490:14;;;12534:4;12521:18;;-1:-1:-1;;13795:79:62;;;13971:236;13985:7;13982:1;13979:14;13971:236;;;14074:19;;;14068:26;14053:42;;14166:27;;;;14134:1;14122:14;;;;14001:19;;13971:236;;;13975:3;14235:6;14226:7;14223:19;14220:261;;;14296:19;;;14290:26;14397:66;14379:1;14375:14;;;14391:3;14371:24;14367:97;14363:102;14348:118;14333:134;;14220:261;-1:-1:-1;;;;;14527:1:62;14511:14;;;14507:22;14494:36;;-1:-1:-1;13330:1467:62:o;15146:385::-;15241:4;15299:11;15286:25;15389:66;15378:8;15362:14;15358:29;15354:102;15334:18;15330:127;15320:155;;15471:1;15468;15461:12;15320:155;15492:33;;;;;15146:385;-1:-1:-1;;15146:385:62:o;15536:172::-;15603:10;15633;;;15645;;;15629:27;;15668:11;;;15665:37;;;15682:18;;:::i;:::-;15665:37;15536:172;;;;:::o;15713:195::-;15752:3;15783:66;15776:5;15773:77;15770:103;;15853:18;;:::i;:::-;-1:-1:-1;15900:1:62;15889:13;;15713:195::o;17021:1549::-;17138:3;17132:4;17129:13;17126:26;;17145:5;;17021:1549::o;17126:26::-;17175:37;17207:3;17201:10;17175:37;:::i;:::-;17235:18;17227:6;17224:30;17221:56;;;17257:18;;:::i;:::-;17286:96;17375:6;17335:38;17367:4;17361:11;17335:38;:::i;17286:96::-;17408:1;17436:2;17428:6;17425:14;17453:1;17448:865;;;;18357:1;18374:6;18371:89;;;-1:-1:-1;18426:19:62;;;18420:26;18371:89;13236:66;13227:1;13223:11;;;13219:84;13215:89;13205:100;13311:1;13307:11;;;13202:117;18473:81;;17418:1146;;17448:865;12497:1;12490:14;;;12534:4;12521:18;;-1:-1:-1;;17484:79:62;;;12497:1;12490:14;;;12534:4;12521:18;;17705:9;17727:251;17741:7;17738:1;17735:14;17727:251;;;17823:21;;;17817:28;17802:44;;17873:1;17946:18;;;;17901:15;;;;17764:4;17757:12;17727:251;;;17731:3;18006:6;17997:7;17994:19;17991:263;;;18067:21;;18061:28;18170:66;18164:3;18152:1;18148:14;;;18144:24;18140:97;18136:102;18121:118;18106:134;;;-1:-1:-1;;18300:1:62;18284:14;;;18280:22;18267:36;;-1:-1:-1;17021:1549:62:o;18575:829::-;18624:3;18665:5;18659:12;18694:36;18720:9;18694:36;:::i;:::-;18739:19;;;18777:4;18800:1;18817:18;;;18844:204;;;;19062:1;19057:341;;;;18810:588;;18844:204;18901:66;18890:9;18886:82;18881:2;18876:3;18872:12;18865:104;19035:2;19023:6;19016:14;19009:22;19006:1;19002:30;18997:3;18993:40;18989:49;18982:56;;18844:204;;19057:341;19088:5;19085:1;19078:16;19135:2;19132:1;19122:16;19160:1;19174:174;19188:6;19185:1;19182:13;19174:174;;;19275:14;;19257:11;;;19253:20;;19246:44;19318:16;;;;19203:10;;19174:174;;;19372:11;;19368:20;;;-1:-1:-1;;18810:588:62;;;;;;18575:829;;;;:::o;19409:884::-;19567:4;19596:2;19636;19625:9;19621:18;19666:2;19655:9;19648:21;19689:6;19724;19718:13;19755:6;19747;19740:22;19793:2;19782:9;19778:18;19771:25;;19855:2;19845:6;19842:1;19838:14;19827:9;19823:30;19819:39;19805:53;;19877:6;19874:1;19867:17;19920:2;19917:1;19907:16;19941:1;19951:313;19965:6;19962:1;19959:13;19951:313;;;20054:66;20042:9;20034:6;20030:22;20026:95;20021:3;20014:108;20145:40;20178:6;20170;20145:40;:::i;:::-;20135:50;-1:-1:-1;20242:12:62;;;;20220:1;20208:14;;;;19980:9;19951:313;;;-1:-1:-1;20281:6:62;;19409:884;-1:-1:-1;;;;;;;19409:884:62:o;21003:342::-;21175:2;21164:9;21157:21;21138:4;21195:52;21243:2;21232:9;21228:18;21220:6;21195:52;:::i;:::-;21187:60;;21295:42;21287:6;21283:55;21278:2;21267:9;21263:18;21256:83;21003:342;;;;;:::o;21350:201::-;21388:3;21416:10;21461:2;21454:5;21450:14;21488:2;21479:7;21476:15;21473:41;;21494:18;;:::i;:::-;21543:1;21530:15;;21350:201;-1:-1:-1;;;21350:201:62:o;21556:580::-;21633:4;21639:6;21699:11;21686:25;21789:66;21778:8;21762:14;21758:29;21754:102;21734:18;21730:127;21720:155;;21871:1;21868;21861:12;21720:155;21898:33;;21950:20;;;-1:-1:-1;21993:18:62;21982:30;;21979:50;;;22025:1;22022;22015:12;21979:50;22058:4;22046:17;;-1:-1:-1;22089:14:62;22085:27;;;22075:38;;22072:58;;;22126:1;22123;22116:12;22141:364;22326:2;22315:9;22308:21;22289:4;22346:61;22403:2;22392:9;22388:18;22380:6;22372;22346:61;:::i;:::-;22338:69;;22455:42;22447:6;22443:55;22438:2;22427:9;22423:18;22416:83;22141:364;;;;;;:::o;24871:184::-;24923:77;24920:1;24913:88;25020:4;25017:1;25010:15;25044:4;25041:1;25034:15", "linkReferences": {} }, "methodIdentifiers": { @@ -635,7 +635,7 @@ "votingVerificationLength()": "ff9bd048", "votings(uint256)": "a598d03c" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_votingLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_votingVerificationLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_cooldownPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_featuredPerVotingCount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"AlreadyVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"CommunityFeaturedRecently\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"CommunityNotInDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"InvalidSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"NotEnoughToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"VoteCast\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"VotingFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"VotingStarted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VOTE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"struct FeaturedVotingContract.SignedVote[]\",\"name\":\"votes\",\"type\":\"tuple[]\"}],\"name\":\"castVotes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldownPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract Directory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"featuredPerVotingCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"limit\",\"type\":\"uint32\"}],\"name\":\"finalizeVoting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"votingID\",\"type\":\"uint256\"}],\"name\":\"getVotesByVotingId\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct FeaturedVotingContract.Vote[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVotings\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"}],\"internalType\":\"struct FeaturedVotingContract.Voting[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"voteAmount\",\"type\":\"uint256\"}],\"name\":\"initializeVoting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"isInCooldownPeriod\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract Directory\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setDirectory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingVerificationLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"votings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeaturedVotingContract.sol\":\"FeaturedVotingContract\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f\",\"dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu\"]},\"contracts/FeaturedVotingContract.sol\":{\"keccak256\":\"0x255a2dfe88cae57a52b2c4809fa118d52a9987b5951eb168a0430bf05afabbfb\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://83bceb15467af0f43bfcc9355e4c14a78cd000333b54132cc7f83a4adff0e465\",\"dweb:/ipfs/QmUWTpszAY1KZPs1GeL7ZNDgcYw4DGFzPWivvftmAm7Teg\"]},\"lib/minime/contracts/ApproveAndCallFallBack.sol\":{\"keccak256\":\"0xa859bf1acb72f33a3de61dcc0f947bbc4b8633f47783a7fad12b8c396f27dd80\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2314fe3867fce00b8ee7eb46936eab81a2dbf56c7ad97feb1f5276638d71ed07\",\"dweb:/ipfs/QmdXS8ba6EcjZYAdH9Kgk4zz4bbaCjjh1JRbunD6QwS7EK\"]},\"lib/minime/contracts/Controlled.sol\":{\"keccak256\":\"0x8d0cbc92474831b1e208bd63488fe3e1e1398ae2f7ecfb1cef453f2b2634aced\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://87d97bfccb0cb91316a268862758c6ae59efbfecd1a3339dee9735f16f32996e\",\"dweb:/ipfs/QmT5GA5Mj6y4vW4HdQTcVSSyoT58AEHjbn3VYfRX9MzKCy\"]},\"lib/minime/contracts/MiniMeBase.sol\":{\"keccak256\":\"0x5434bcda01d5902178cb7dce6b45f1f82583470e73f6163f9a4ac95a39cfff41\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1f0230a8eebee887c7fdbb3bede82e9925c13ccd869ac6e9fdd7cfe39cccc53\",\"dweb:/ipfs/QmeftdLJv1iWVJVauNatbpVRaWGGhuQVyeW3kmNiWVsFng\"]},\"lib/minime/contracts/MiniMeToken.sol\":{\"keccak256\":\"0x2b6ba85bf75bb84879cc9176334aecb0f4b951587ae2e6217aa3487f8ebacfb4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://45644bfe3cd4a220c9a0a1a4b75c7f89cda6be7b19e02d82fc78db78682c0833\",\"dweb:/ipfs/QmUV8xRHRWEJMscS9aPeUHnWWvTbM9d43VMaFTmHerNb81\"]},\"lib/minime/contracts/MiniMeTokenFactory.sol\":{\"keccak256\":\"0x2e3e5ad568ca69debafc15c015e831e68d67bc429ebb6cb6ae0595fdd8ab609e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://085981b7a584b68787aa941da3e812e9fef4eff0997cf355a906cd81df42f705\",\"dweb:/ipfs/QmQLAqmHJ2PmjYjHCJiFBpN6ni1cKznRBEdNaYiPXE82r8\"]},\"lib/minime/contracts/Nonces.sol\":{\"keccak256\":\"0x0f972ab0235cd4a2c2ca07da63dea6dd7f79e81f08396ac48911fa2f7bf8b04a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0922f256476654117263603dec87c42faad4fda6873d1aa31c4da08776e32cc9\",\"dweb:/ipfs/QmXH2ushbdbeAuPh6DeBES2dT8XsjNsHuZRj41N8THLRiZ\"]},\"lib/minime/contracts/TokenController.sol\":{\"keccak256\":\"0xa9679dfd8806b3bfedffd34c3adef09f0f43ebdabf86f8bba6fd473ae3a02723\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2a4031fe9d9fc9729dd6a2c476c12cc03481984875af27babf78d5e147ae1e43\",\"dweb:/ipfs/QmUvX1ptiPARNLRko8DCL1XbmBbdETJFsEr632Qt3bVLka\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e\",\"dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e416a280c610b6b7a5f158e4a41aacfaec01ef14d5d1de13b46be9e090265fc\",\"dweb:/ipfs/QmYZP2KrdyccBbhLZT42auhvBTMkwiwUS3V6HWb42rbwbG\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xec63854014a5b4f2b3290ab9103a21bdf902a508d0f41a8573fea49e98bf571a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc5b5dc12fbc4002f282eaa7a5f06d8310ed62c1c77c5770f6283e058454c39a\",\"dweb:/ipfs/Qme9rE2wS3yBuyJq9GgbmzbsBQsW2M2sVFqYYLw7bosGrv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://04db5bc05dcb05ba1f6ca2dfbead17adc8a2e2f911aa80b05e7a36d9eaf96516\",\"dweb:/ipfs/QmVkfHZbXVBUPsTopueCn3qGJX8aEjahFF3Fn4NcygLNm5\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f\",\"dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2\",\"dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3aa0eadab7aafcf91a95684765f778f64386f0368de88522ce873c21385278a\",\"dweb:/ipfs/QmPfaVAqWgH1QsT3dHVuL6jwMZbVKdoP8w1PvpiPT2FPWd\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7\",\"dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6\"]}},\"version\":1}", + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_votingLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_votingVerificationLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_cooldownPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_featuredPerVotingCount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"AlreadyVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"CommunityFeaturedRecently\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"CommunityNotInDirectory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"InvalidSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"NotEnoughToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"VoteCast\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"VotingFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"VotingStarted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VOTE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"struct FeaturedVotingContract.SignedVote[]\",\"name\":\"votes\",\"type\":\"tuple[]\"}],\"name\":\"castVotes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldownPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract Directory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"featuredPerVotingCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"limit\",\"type\":\"uint32\"}],\"name\":\"finalizeVoting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"votingID\",\"type\":\"uint256\"}],\"name\":\"getVotesByVotingId\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct FeaturedVotingContract.Vote[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVotings\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"}],\"internalType\":\"struct FeaturedVotingContract.Voting[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"voteAmount\",\"type\":\"uint256\"}],\"name\":\"initializeVoting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"isInCooldownPeriod\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract Directory\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setDirectory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingVerificationLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"votings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeaturedVotingContract.sol\":\"FeaturedVotingContract\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446\",\"dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH\"]},\"contracts/FeaturedVotingContract.sol\":{\"keccak256\":\"0x255a2dfe88cae57a52b2c4809fa118d52a9987b5951eb168a0430bf05afabbfb\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://83bceb15467af0f43bfcc9355e4c14a78cd000333b54132cc7f83a4adff0e465\",\"dweb:/ipfs/QmUWTpszAY1KZPs1GeL7ZNDgcYw4DGFzPWivvftmAm7Teg\"]},\"lib/minime/contracts/ApproveAndCallFallBack.sol\":{\"keccak256\":\"0xa859bf1acb72f33a3de61dcc0f947bbc4b8633f47783a7fad12b8c396f27dd80\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2314fe3867fce00b8ee7eb46936eab81a2dbf56c7ad97feb1f5276638d71ed07\",\"dweb:/ipfs/QmdXS8ba6EcjZYAdH9Kgk4zz4bbaCjjh1JRbunD6QwS7EK\"]},\"lib/minime/contracts/Controlled.sol\":{\"keccak256\":\"0x8d0cbc92474831b1e208bd63488fe3e1e1398ae2f7ecfb1cef453f2b2634aced\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://87d97bfccb0cb91316a268862758c6ae59efbfecd1a3339dee9735f16f32996e\",\"dweb:/ipfs/QmT5GA5Mj6y4vW4HdQTcVSSyoT58AEHjbn3VYfRX9MzKCy\"]},\"lib/minime/contracts/MiniMeBase.sol\":{\"keccak256\":\"0x5434bcda01d5902178cb7dce6b45f1f82583470e73f6163f9a4ac95a39cfff41\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1f0230a8eebee887c7fdbb3bede82e9925c13ccd869ac6e9fdd7cfe39cccc53\",\"dweb:/ipfs/QmeftdLJv1iWVJVauNatbpVRaWGGhuQVyeW3kmNiWVsFng\"]},\"lib/minime/contracts/MiniMeToken.sol\":{\"keccak256\":\"0x2b6ba85bf75bb84879cc9176334aecb0f4b951587ae2e6217aa3487f8ebacfb4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://45644bfe3cd4a220c9a0a1a4b75c7f89cda6be7b19e02d82fc78db78682c0833\",\"dweb:/ipfs/QmUV8xRHRWEJMscS9aPeUHnWWvTbM9d43VMaFTmHerNb81\"]},\"lib/minime/contracts/MiniMeTokenFactory.sol\":{\"keccak256\":\"0x2e3e5ad568ca69debafc15c015e831e68d67bc429ebb6cb6ae0595fdd8ab609e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://085981b7a584b68787aa941da3e812e9fef4eff0997cf355a906cd81df42f705\",\"dweb:/ipfs/QmQLAqmHJ2PmjYjHCJiFBpN6ni1cKznRBEdNaYiPXE82r8\"]},\"lib/minime/contracts/Nonces.sol\":{\"keccak256\":\"0x0f972ab0235cd4a2c2ca07da63dea6dd7f79e81f08396ac48911fa2f7bf8b04a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0922f256476654117263603dec87c42faad4fda6873d1aa31c4da08776e32cc9\",\"dweb:/ipfs/QmXH2ushbdbeAuPh6DeBES2dT8XsjNsHuZRj41N8THLRiZ\"]},\"lib/minime/contracts/TokenController.sol\":{\"keccak256\":\"0xa9679dfd8806b3bfedffd34c3adef09f0f43ebdabf86f8bba6fd473ae3a02723\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2a4031fe9d9fc9729dd6a2c476c12cc03481984875af27babf78d5e147ae1e43\",\"dweb:/ipfs/QmUvX1ptiPARNLRko8DCL1XbmBbdETJFsEr632Qt3bVLka\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e\",\"dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e416a280c610b6b7a5f158e4a41aacfaec01ef14d5d1de13b46be9e090265fc\",\"dweb:/ipfs/QmYZP2KrdyccBbhLZT42auhvBTMkwiwUS3V6HWb42rbwbG\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xec63854014a5b4f2b3290ab9103a21bdf902a508d0f41a8573fea49e98bf571a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc5b5dc12fbc4002f282eaa7a5f06d8310ed62c1c77c5770f6283e058454c39a\",\"dweb:/ipfs/Qme9rE2wS3yBuyJq9GgbmzbsBQsW2M2sVFqYYLw7bosGrv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://04db5bc05dcb05ba1f6ca2dfbead17adc8a2e2f911aa80b05e7a36d9eaf96516\",\"dweb:/ipfs/QmVkfHZbXVBUPsTopueCn3qGJX8aEjahFF3Fn4NcygLNm5\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f\",\"dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2\",\"dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3aa0eadab7aafcf91a95684765f778f64386f0368de88522ce873c21385278a\",\"dweb:/ipfs/QmPfaVAqWgH1QsT3dHVuL6jwMZbVKdoP8w1PvpiPT2FPWd\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7\",\"dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.20+commit.a1b79de6" @@ -1293,10 +1293,10 @@ }, "sources": { "contracts/Directory.sol": { - "keccak256": "0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9", + "keccak256": "0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8", "urls": [ - "bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f", - "dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu" + "bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446", + "dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH" ], "license": "UNLICENSED" }, @@ -1473,29 +1473,29 @@ }, "ast": { "absolutePath": "contracts/FeaturedVotingContract.sol", - "id": 1475, + "id": 1479, "exportedSymbols": { "Directory": [ - 294 + 298 ], "ECDSA": [ - 44351 + 44987 ], "FeaturedVotingContract": [ - 1474 + 1478 ], "MiniMeToken": [ - 33237 + 33557 ], "Ownable2Step": [ - 43985 + 44621 ] }, "nodeType": "SourceUnit", "src": "39:11845:1", "nodes": [ { - "id": 296, + "id": 300, "nodeType": "PragmaDirective", "src": "39:24:1", "nodes": [], @@ -1507,76 +1507,24 @@ ] }, { - "id": 298, + "id": 302, "nodeType": "ImportDirective", "src": "65:77:1", "nodes": [], "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol", "file": "@openzeppelin/contracts/utils/cryptography/ECDSA.sol", "nameLocation": "-1:-1:-1", - "scope": 1475, - "sourceUnit": 44352, - "symbolAliases": [ - { - "foreign": { - "id": 297, - "name": "ECDSA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 44351, - "src": "74:5:1", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 300, - "nodeType": "ImportDirective", - "src": "143:79:1", - "nodes": [], - "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol", - "file": "@openzeppelin/contracts/access/Ownable2Step.sol", - "nameLocation": "-1:-1:-1", - "scope": 1475, - "sourceUnit": 43986, - "symbolAliases": [ - { - "foreign": { - "id": 299, - "name": "Ownable2Step", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 43985, - "src": "152:12:1", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 302, - "nodeType": "ImportDirective", - "src": "223:71:1", - "nodes": [], - "absolutePath": "lib/minime/contracts/MiniMeToken.sol", - "file": "@vacp2p/minime/contracts/MiniMeToken.sol", - "nameLocation": "-1:-1:-1", - "scope": 1475, - "sourceUnit": 33238, + "scope": 1479, + "sourceUnit": 44988, "symbolAliases": [ { "foreign": { "id": 301, - "name": "MiniMeToken", + "name": "ECDSA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 33237, - "src": "232:11:1", + "referencedDeclaration": 44987, + "src": "74:5:1", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1587,21 +1535,73 @@ { "id": 304, "nodeType": "ImportDirective", + "src": "143:79:1", + "nodes": [], + "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol", + "file": "@openzeppelin/contracts/access/Ownable2Step.sol", + "nameLocation": "-1:-1:-1", + "scope": 1479, + "sourceUnit": 44622, + "symbolAliases": [ + { + "foreign": { + "id": 303, + "name": "Ownable2Step", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 44621, + "src": "152:12:1", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 306, + "nodeType": "ImportDirective", + "src": "223:71:1", + "nodes": [], + "absolutePath": "lib/minime/contracts/MiniMeToken.sol", + "file": "@vacp2p/minime/contracts/MiniMeToken.sol", + "nameLocation": "-1:-1:-1", + "scope": 1479, + "sourceUnit": 33558, + "symbolAliases": [ + { + "foreign": { + "id": 305, + "name": "MiniMeToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 33557, + "src": "232:11:1", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 308, + "nodeType": "ImportDirective", "src": "295:44:1", "nodes": [], "absolutePath": "contracts/Directory.sol", "file": "./Directory.sol", "nameLocation": "-1:-1:-1", - "scope": 1475, - "sourceUnit": 295, + "scope": 1479, + "sourceUnit": 299, "symbolAliases": [ { "foreign": { - "id": 303, + "id": 307, "name": "Directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "304:9:1", "typeDescriptions": {} }, @@ -1611,28 +1611,28 @@ "unitAlias": "" }, { - "id": 1474, + "id": 1478, "nodeType": "ContractDefinition", "src": "341:11542:1", "nodes": [ { - "id": 309, + "id": 313, "nodeType": "UsingForDirective", "src": "395:24:1", "nodes": [], "global": false, "libraryName": { - "id": 307, + "id": 311, "name": "ECDSA", "nameLocations": [ "401:5:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44351, + "referencedDeclaration": 44987, "src": "401:5:1" }, "typeName": { - "id": 308, + "id": 312, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "411:7:1", @@ -1643,7 +1643,7 @@ } }, { - "id": 328, + "id": 332, "nodeType": "StructDefinition", "src": "425:258:1", "nodes": [], @@ -1651,12 +1651,12 @@ "members": [ { "constant": false, - "id": 311, + "id": 315, "mutability": "mutable", "name": "id", "nameLocation": "457:2:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "449:10:1", "stateVariable": false, "storageLocation": "default", @@ -1665,7 +1665,7 @@ "typeString": "uint256" }, "typeName": { - "id": 310, + "id": 314, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "449:7:1", @@ -1678,12 +1678,12 @@ }, { "constant": false, - "id": 313, + "id": 317, "mutability": "mutable", "name": "startBlock", "nameLocation": "477:10:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "469:18:1", "stateVariable": false, "storageLocation": "default", @@ -1692,7 +1692,7 @@ "typeString": "uint256" }, "typeName": { - "id": 312, + "id": 316, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "469:7:1", @@ -1705,12 +1705,12 @@ }, { "constant": false, - "id": 315, + "id": 319, "mutability": "mutable", "name": "startAt", "nameLocation": "505:7:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "497:15:1", "stateVariable": false, "storageLocation": "default", @@ -1719,7 +1719,7 @@ "typeString": "uint256" }, "typeName": { - "id": 314, + "id": 318, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "497:7:1", @@ -1732,12 +1732,12 @@ }, { "constant": false, - "id": 317, + "id": 321, "mutability": "mutable", "name": "verificationStartAt", "nameLocation": "530:19:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "522:27:1", "stateVariable": false, "storageLocation": "default", @@ -1746,7 +1746,7 @@ "typeString": "uint256" }, "typeName": { - "id": 316, + "id": 320, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "522:7:1", @@ -1759,12 +1759,12 @@ }, { "constant": false, - "id": 319, + "id": 323, "mutability": "mutable", "name": "endAt", "nameLocation": "567:5:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "559:13:1", "stateVariable": false, "storageLocation": "default", @@ -1773,7 +1773,7 @@ "typeString": "uint256" }, "typeName": { - "id": 318, + "id": 322, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "559:7:1", @@ -1786,12 +1786,12 @@ }, { "constant": false, - "id": 321, + "id": 325, "mutability": "mutable", "name": "finalized", "nameLocation": "587:9:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "582:14:1", "stateVariable": false, "storageLocation": "default", @@ -1800,7 +1800,7 @@ "typeString": "bool" }, "typeName": { - "id": 320, + "id": 324, "name": "bool", "nodeType": "ElementaryTypeName", "src": "582:4:1", @@ -1813,12 +1813,12 @@ }, { "constant": false, - "id": 323, + "id": 327, "mutability": "mutable", "name": "evaluatingPos", "nameLocation": "613:13:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "606:20:1", "stateVariable": false, "storageLocation": "default", @@ -1827,7 +1827,7 @@ "typeString": "uint32" }, "typeName": { - "id": 322, + "id": 326, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "606:6:1", @@ -1840,12 +1840,12 @@ }, { "constant": false, - "id": 325, + "id": 329, "mutability": "mutable", "name": "evaluated", "nameLocation": "641:9:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "636:14:1", "stateVariable": false, "storageLocation": "default", @@ -1854,7 +1854,7 @@ "typeString": "bool" }, "typeName": { - "id": 324, + "id": 328, "name": "bool", "nodeType": "ElementaryTypeName", "src": "636:4:1", @@ -1867,12 +1867,12 @@ }, { "constant": false, - "id": 327, + "id": 331, "mutability": "mutable", "name": "endBlock", "nameLocation": "668:8:1", "nodeType": "VariableDeclaration", - "scope": 328, + "scope": 332, "src": "660:16:1", "stateVariable": false, "storageLocation": "default", @@ -1881,7 +1881,7 @@ "typeString": "uint256" }, "typeName": { - "id": 326, + "id": 330, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "660:7:1", @@ -1895,11 +1895,11 @@ ], "name": "Voting", "nameLocation": "432:6:1", - "scope": 1474, + "scope": 1478, "visibility": "public" }, { - "id": 335, + "id": 339, "nodeType": "StructDefinition", "src": "689:94:1", "nodes": [], @@ -1907,12 +1907,12 @@ "members": [ { "constant": false, - "id": 330, + "id": 334, "mutability": "mutable", "name": "voter", "nameLocation": "719:5:1", "nodeType": "VariableDeclaration", - "scope": 335, + "scope": 339, "src": "711:13:1", "stateVariable": false, "storageLocation": "default", @@ -1921,7 +1921,7 @@ "typeString": "address" }, "typeName": { - "id": 329, + "id": 333, "name": "address", "nodeType": "ElementaryTypeName", "src": "711:7:1", @@ -1935,12 +1935,12 @@ }, { "constant": false, - "id": 332, + "id": 336, "mutability": "mutable", "name": "community", "nameLocation": "740:9:1", "nodeType": "VariableDeclaration", - "scope": 335, + "scope": 339, "src": "734:15:1", "stateVariable": false, "storageLocation": "default", @@ -1949,7 +1949,7 @@ "typeString": "bytes" }, "typeName": { - "id": 331, + "id": 335, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "734:5:1", @@ -1962,12 +1962,12 @@ }, { "constant": false, - "id": 334, + "id": 338, "mutability": "mutable", "name": "sntAmount", "nameLocation": "767:9:1", "nodeType": "VariableDeclaration", - "scope": 335, + "scope": 339, "src": "759:17:1", "stateVariable": false, "storageLocation": "default", @@ -1976,7 +1976,7 @@ "typeString": "uint256" }, "typeName": { - "id": 333, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "759:7:1", @@ -1990,11 +1990,11 @@ ], "name": "Vote", "nameLocation": "696:4:1", - "scope": 1474, + "scope": 1478, "visibility": "public" }, { - "id": 348, + "id": 352, "nodeType": "StructDefinition", "src": "789:166:1", "nodes": [], @@ -2002,12 +2002,12 @@ "members": [ { "constant": false, - "id": 337, + "id": 341, "mutability": "mutable", "name": "voter", "nameLocation": "825:5:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "817:13:1", "stateVariable": false, "storageLocation": "default", @@ -2016,7 +2016,7 @@ "typeString": "address" }, "typeName": { - "id": 336, + "id": 340, "name": "address", "nodeType": "ElementaryTypeName", "src": "817:7:1", @@ -2030,12 +2030,12 @@ }, { "constant": false, - "id": 339, + "id": 343, "mutability": "mutable", "name": "community", "nameLocation": "846:9:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "840:15:1", "stateVariable": false, "storageLocation": "default", @@ -2044,7 +2044,7 @@ "typeString": "bytes" }, "typeName": { - "id": 338, + "id": 342, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "840:5:1", @@ -2057,12 +2057,12 @@ }, { "constant": false, - "id": 341, + "id": 345, "mutability": "mutable", "name": "sntAmount", "nameLocation": "873:9:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "865:17:1", "stateVariable": false, "storageLocation": "default", @@ -2071,7 +2071,7 @@ "typeString": "uint256" }, "typeName": { - "id": 340, + "id": 344, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "865:7:1", @@ -2084,12 +2084,12 @@ }, { "constant": false, - "id": 343, + "id": 347, "mutability": "mutable", "name": "timestamp", "nameLocation": "900:9:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "892:17:1", "stateVariable": false, "storageLocation": "default", @@ -2098,7 +2098,7 @@ "typeString": "uint256" }, "typeName": { - "id": 342, + "id": 346, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "892:7:1", @@ -2111,12 +2111,12 @@ }, { "constant": false, - "id": 345, + "id": 349, "mutability": "mutable", "name": "r", "nameLocation": "927:1:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "919:9:1", "stateVariable": false, "storageLocation": "default", @@ -2125,7 +2125,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 344, + "id": 348, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "919:7:1", @@ -2138,12 +2138,12 @@ }, { "constant": false, - "id": 347, + "id": 351, "mutability": "mutable", "name": "vs", "nameLocation": "946:2:1", "nodeType": "VariableDeclaration", - "scope": 348, + "scope": 352, "src": "938:10:1", "stateVariable": false, "storageLocation": "default", @@ -2152,7 +2152,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 346, + "id": 350, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "938:7:1", @@ -2166,11 +2166,11 @@ ], "name": "SignedVote", "nameLocation": "796:10:1", - "scope": 1474, + "scope": 1478, "visibility": "public" }, { - "id": 353, + "id": 357, "nodeType": "StructDefinition", "src": "961:110:1", "nodes": [], @@ -2178,12 +2178,12 @@ "members": [ { "constant": false, - "id": 350, + "id": 354, "mutability": "mutable", "name": "community", "nameLocation": "999:9:1", "nodeType": "VariableDeclaration", - "scope": 353, + "scope": 357, "src": "993:15:1", "stateVariable": false, "storageLocation": "default", @@ -2192,7 +2192,7 @@ "typeString": "bytes" }, "typeName": { - "id": 349, + "id": 353, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "993:5:1", @@ -2205,12 +2205,12 @@ }, { "constant": false, - "id": 352, + "id": 356, "mutability": "mutable", "name": "totalSntAmount", "nameLocation": "1026:14:1", "nodeType": "VariableDeclaration", - "scope": 353, + "scope": 357, "src": "1018:22:1", "stateVariable": false, "storageLocation": "default", @@ -2219,7 +2219,7 @@ "typeString": "uint256" }, "typeName": { - "id": 351, + "id": 355, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1018:7:1", @@ -2233,11 +2233,11 @@ ], "name": "CommunityVotes", "nameLocation": "968:14:1", - "scope": 1474, + "scope": 1478, "visibility": "public" }, { - "id": 355, + "id": 359, "nodeType": "EventDefinition", "src": "1077:22:1", "nodes": [], @@ -2246,14 +2246,14 @@ "name": "VotingStarted", "nameLocation": "1083:13:1", "parameters": { - "id": 354, + "id": 358, "nodeType": "ParameterList", "parameters": [], "src": "1096:2:1" } }, { - "id": 357, + "id": 361, "nodeType": "EventDefinition", "src": "1104:24:1", "nodes": [], @@ -2262,14 +2262,14 @@ "name": "VotingFinalized", "nameLocation": "1110:15:1", "parameters": { - "id": 356, + "id": 360, "nodeType": "ParameterList", "parameters": [], "src": "1125:2:1" } }, { - "id": 363, + "id": 367, "nodeType": "EventDefinition", "src": "1134:47:1", "nodes": [], @@ -2278,18 +2278,18 @@ "name": "VoteCast", "nameLocation": "1140:8:1", "parameters": { - "id": 362, + "id": 366, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 359, + "id": 363, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1155:9:1", "nodeType": "VariableDeclaration", - "scope": 363, + "scope": 367, "src": "1149:15:1", "stateVariable": false, "storageLocation": "default", @@ -2298,7 +2298,7 @@ "typeString": "bytes" }, "typeName": { - "id": 358, + "id": 362, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1149:5:1", @@ -2311,13 +2311,13 @@ }, { "constant": false, - "id": 361, + "id": 365, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1174:5:1", "nodeType": "VariableDeclaration", - "scope": 363, + "scope": 367, "src": "1166:13:1", "stateVariable": false, "storageLocation": "default", @@ -2326,7 +2326,7 @@ "typeString": "address" }, "typeName": { - "id": 360, + "id": 364, "name": "address", "nodeType": "ElementaryTypeName", "src": "1166:7:1", @@ -2343,7 +2343,7 @@ } }, { - "id": 369, + "id": 373, "nodeType": "EventDefinition", "src": "1186:53:1", "nodes": [], @@ -2352,18 +2352,18 @@ "name": "NotEnoughToken", "nameLocation": "1192:14:1", "parameters": { - "id": 368, + "id": 372, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 365, + "id": 369, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1213:9:1", "nodeType": "VariableDeclaration", - "scope": 369, + "scope": 373, "src": "1207:15:1", "stateVariable": false, "storageLocation": "default", @@ -2372,7 +2372,7 @@ "typeString": "bytes" }, "typeName": { - "id": 364, + "id": 368, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1207:5:1", @@ -2385,13 +2385,13 @@ }, { "constant": false, - "id": 367, + "id": 371, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1232:5:1", "nodeType": "VariableDeclaration", - "scope": 369, + "scope": 373, "src": "1224:13:1", "stateVariable": false, "storageLocation": "default", @@ -2400,7 +2400,7 @@ "typeString": "address" }, "typeName": { - "id": 366, + "id": 370, "name": "address", "nodeType": "ElementaryTypeName", "src": "1224:7:1", @@ -2417,7 +2417,7 @@ } }, { - "id": 375, + "id": 379, "nodeType": "EventDefinition", "src": "1244:51:1", "nodes": [], @@ -2426,18 +2426,18 @@ "name": "AlreadyVoted", "nameLocation": "1250:12:1", "parameters": { - "id": 374, + "id": 378, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 371, + "id": 375, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1269:9:1", "nodeType": "VariableDeclaration", - "scope": 375, + "scope": 379, "src": "1263:15:1", "stateVariable": false, "storageLocation": "default", @@ -2446,7 +2446,7 @@ "typeString": "bytes" }, "typeName": { - "id": 370, + "id": 374, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1263:5:1", @@ -2459,13 +2459,13 @@ }, { "constant": false, - "id": 373, + "id": 377, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1288:5:1", "nodeType": "VariableDeclaration", - "scope": 375, + "scope": 379, "src": "1280:13:1", "stateVariable": false, "storageLocation": "default", @@ -2474,7 +2474,7 @@ "typeString": "address" }, "typeName": { - "id": 372, + "id": 376, "name": "address", "nodeType": "ElementaryTypeName", "src": "1280:7:1", @@ -2491,7 +2491,7 @@ } }, { - "id": 381, + "id": 385, "nodeType": "EventDefinition", "src": "1300:55:1", "nodes": [], @@ -2500,18 +2500,18 @@ "name": "InvalidSignature", "nameLocation": "1306:16:1", "parameters": { - "id": 380, + "id": 384, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 377, + "id": 381, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1329:9:1", "nodeType": "VariableDeclaration", - "scope": 381, + "scope": 385, "src": "1323:15:1", "stateVariable": false, "storageLocation": "default", @@ -2520,7 +2520,7 @@ "typeString": "bytes" }, "typeName": { - "id": 376, + "id": 380, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1323:5:1", @@ -2533,13 +2533,13 @@ }, { "constant": false, - "id": 379, + "id": 383, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1348:5:1", "nodeType": "VariableDeclaration", - "scope": 381, + "scope": 385, "src": "1340:13:1", "stateVariable": false, "storageLocation": "default", @@ -2548,7 +2548,7 @@ "typeString": "address" }, "typeName": { - "id": 378, + "id": 382, "name": "address", "nodeType": "ElementaryTypeName", "src": "1340:7:1", @@ -2565,7 +2565,7 @@ } }, { - "id": 387, + "id": 391, "nodeType": "EventDefinition", "src": "1360:64:1", "nodes": [], @@ -2574,18 +2574,18 @@ "name": "CommunityFeaturedRecently", "nameLocation": "1366:25:1", "parameters": { - "id": 386, + "id": 390, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 383, + "id": 387, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1398:9:1", "nodeType": "VariableDeclaration", - "scope": 387, + "scope": 391, "src": "1392:15:1", "stateVariable": false, "storageLocation": "default", @@ -2594,7 +2594,7 @@ "typeString": "bytes" }, "typeName": { - "id": 382, + "id": 386, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1392:5:1", @@ -2607,13 +2607,13 @@ }, { "constant": false, - "id": 385, + "id": 389, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1417:5:1", "nodeType": "VariableDeclaration", - "scope": 387, + "scope": 391, "src": "1409:13:1", "stateVariable": false, "storageLocation": "default", @@ -2622,7 +2622,7 @@ "typeString": "address" }, "typeName": { - "id": 384, + "id": 388, "name": "address", "nodeType": "ElementaryTypeName", "src": "1409:7:1", @@ -2639,7 +2639,7 @@ } }, { - "id": 393, + "id": 397, "nodeType": "EventDefinition", "src": "1429:62:1", "nodes": [], @@ -2648,18 +2648,18 @@ "name": "CommunityNotInDirectory", "nameLocation": "1435:23:1", "parameters": { - "id": 392, + "id": 396, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 389, + "id": 393, "indexed": false, "mutability": "mutable", "name": "community", "nameLocation": "1465:9:1", "nodeType": "VariableDeclaration", - "scope": 393, + "scope": 397, "src": "1459:15:1", "stateVariable": false, "storageLocation": "default", @@ -2668,7 +2668,7 @@ "typeString": "bytes" }, "typeName": { - "id": 388, + "id": 392, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1459:5:1", @@ -2681,13 +2681,13 @@ }, { "constant": false, - "id": 391, + "id": 395, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1484:5:1", "nodeType": "VariableDeclaration", - "scope": 393, + "scope": 397, "src": "1476:13:1", "stateVariable": false, "storageLocation": "default", @@ -2696,7 +2696,7 @@ "typeString": "address" }, "typeName": { - "id": 390, + "id": 394, "name": "address", "nodeType": "ElementaryTypeName", "src": "1476:7:1", @@ -2713,7 +2713,7 @@ } }, { - "id": 396, + "id": 400, "nodeType": "VariableDeclaration", "src": "1513:26:1", "nodes": [], @@ -2722,37 +2722,37 @@ "mutability": "mutable", "name": "directory", "nameLocation": "1530:9:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" }, "typeName": { - "id": 395, + "id": 399, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 394, + "id": 398, "name": "Directory", "nameLocations": [ "1513:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "1513:9:1" }, - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "1513:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "visibility": "public" }, { - "id": 399, + "id": 403, "nodeType": "VariableDeclaration", "src": "1545:24:1", "nodes": [], @@ -2761,37 +2761,37 @@ "mutability": "mutable", "name": "token", "nameLocation": "1564:5:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 398, + "id": 402, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 397, + "id": 401, "name": "MiniMeToken", "nameLocations": [ "1545:11:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33237, + "referencedDeclaration": 33557, "src": "1545:11:1" }, - "referencedDeclaration": 33237, + "referencedDeclaration": 33557, "src": "1545:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, "visibility": "public" }, { - "id": 401, + "id": 405, "nodeType": "VariableDeclaration", "src": "1576:27:1", "nodes": [], @@ -2800,7 +2800,7 @@ "mutability": "mutable", "name": "votingLength", "nameLocation": "1591:12:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2808,7 +2808,7 @@ "typeString": "uint256" }, "typeName": { - "id": 400, + "id": 404, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1576:7:1", @@ -2820,7 +2820,7 @@ "visibility": "public" }, { - "id": 403, + "id": 407, "nodeType": "VariableDeclaration", "src": "1609:39:1", "nodes": [], @@ -2829,7 +2829,7 @@ "mutability": "mutable", "name": "votingVerificationLength", "nameLocation": "1624:24:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2837,7 +2837,7 @@ "typeString": "uint256" }, "typeName": { - "id": 402, + "id": 406, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1609:7:1", @@ -2849,7 +2849,7 @@ "visibility": "public" }, { - "id": 405, + "id": 409, "nodeType": "VariableDeclaration", "src": "1654:37:1", "nodes": [], @@ -2858,7 +2858,7 @@ "mutability": "mutable", "name": "featuredPerVotingCount", "nameLocation": "1669:22:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2866,7 +2866,7 @@ "typeString": "uint256" }, "typeName": { - "id": 404, + "id": 408, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1654:7:1", @@ -2878,7 +2878,7 @@ "visibility": "public" }, { - "id": 407, + "id": 411, "nodeType": "VariableDeclaration", "src": "1697:29:1", "nodes": [], @@ -2887,7 +2887,7 @@ "mutability": "mutable", "name": "cooldownPeriod", "nameLocation": "1712:14:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2895,7 +2895,7 @@ "typeString": "uint256" }, "typeName": { - "id": 406, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1697:7:1", @@ -2907,7 +2907,7 @@ "visibility": "public" }, { - "id": 411, + "id": 415, "nodeType": "VariableDeclaration", "src": "1733:41:1", "nodes": [], @@ -2915,46 +2915,46 @@ "mutability": "mutable", "name": "communitiesVotes", "nameLocation": "1758:16:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes[]" }, "typeName": { "baseType": { - "id": 409, + "id": 413, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 408, + "id": 412, "name": "CommunityVotes", "nameLocations": [ "1733:14:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 353, + "referencedDeclaration": 357, "src": "1733:14:1" }, - "referencedDeclaration": 353, + "referencedDeclaration": 357, "src": "1733:14:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage_ptr", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage_ptr", "typeString": "struct FeaturedVotingContract.CommunityVotes" } }, - "id": 410, + "id": 414, "nodeType": "ArrayTypeName", "src": "1733:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.CommunityVotes[]" } }, "visibility": "private" }, { - "id": 414, + "id": 418, "nodeType": "VariableDeclaration", "src": "1780:41:1", "nodes": [], @@ -2962,7 +2962,7 @@ "mutability": "mutable", "name": "communitiesVotesCount", "nameLocation": "1796:21:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2970,7 +2970,7 @@ "typeString": "uint256" }, "typeName": { - "id": 412, + "id": 416, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1780:7:1", @@ -2981,7 +2981,7 @@ }, "value": { "hexValue": "30", - "id": 413, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, @@ -2998,7 +2998,7 @@ "visibility": "private" }, { - "id": 418, + "id": 422, "nodeType": "VariableDeclaration", "src": "1828:23:1", "nodes": [], @@ -3007,46 +3007,46 @@ "mutability": "mutable", "name": "votings", "nameLocation": "1844:7:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting[]" }, "typeName": { "baseType": { - "id": 416, + "id": 420, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 415, + "id": 419, "name": "Voting", "nameLocations": [ "1828:6:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "1828:6:1" }, - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "1828:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" } }, - "id": 417, + "id": 421, "nodeType": "ArrayTypeName", "src": "1828:8:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting[]" } }, "visibility": "public" }, { - "id": 424, + "id": 428, "nodeType": "VariableDeclaration", "src": "1857:50:1", "nodes": [], @@ -3054,19 +3054,19 @@ "mutability": "mutable", "name": "votesByVotingID", "nameLocation": "1892:15:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote[])" }, "typeName": { - "id": 423, + "id": 427, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 419, + "id": 423, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1865:7:1", @@ -3078,37 +3078,37 @@ "nodeType": "Mapping", "src": "1857:26:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote[])" }, "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 421, + "id": 425, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 420, + "id": 424, "name": "Vote", "nameLocations": [ "1876:4:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "1876:4:1" }, - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "1876:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote" } }, - "id": 422, + "id": 426, "nodeType": "ArrayTypeName", "src": "1876:6:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote[]" } } @@ -3116,7 +3116,7 @@ "visibility": "private" }, { - "id": 429, + "id": 433, "nodeType": "VariableDeclaration", "src": "1913:54:1", "nodes": [], @@ -3124,7 +3124,7 @@ "mutability": "mutable", "name": "featuredByVotingID", "nameLocation": "1949:18:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3132,11 +3132,11 @@ "typeString": "mapping(uint256 => bytes[])" }, "typeName": { - "id": 428, + "id": 432, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 425, + "id": 429, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1921:7:1", @@ -3155,7 +3155,7 @@ "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 426, + "id": 430, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1932:5:1", @@ -3164,7 +3164,7 @@ "typeString": "bytes" } }, - "id": 427, + "id": 431, "nodeType": "ArrayTypeName", "src": "1932:7:1", "typeDescriptions": { @@ -3176,7 +3176,7 @@ "visibility": "private" }, { - "id": 437, + "id": 441, "nodeType": "VariableDeclaration", "src": "1973:98:1", "nodes": [], @@ -3184,7 +3184,7 @@ "mutability": "mutable", "name": "votersByCommunityByVotingID", "nameLocation": "2044:27:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3192,11 +3192,11 @@ "typeString": "mapping(uint256 => mapping(bytes => mapping(address => bool)))" }, "typeName": { - "id": 436, + "id": 440, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 430, + "id": 434, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1981:7:1", @@ -3214,11 +3214,11 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 435, + "id": 439, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 431, + "id": 435, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2000:5:1", @@ -3236,11 +3236,11 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 434, + "id": 438, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 432, + "id": 436, "name": "address", "nodeType": "ElementaryTypeName", "src": "2017:7:1", @@ -3258,7 +3258,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 433, + "id": 437, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2028:4:1", @@ -3273,7 +3273,7 @@ "visibility": "private" }, { - "id": 442, + "id": 446, "nodeType": "VariableDeclaration", "src": "2078:152:1", "nodes": [], @@ -3281,7 +3281,7 @@ "mutability": "constant", "name": "EIP712DOMAIN_TYPEHASH", "nameLocation": "2103:21:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3289,7 +3289,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 438, + "id": 442, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2078:7:1", @@ -3302,7 +3302,7 @@ "arguments": [ { "hexValue": "454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429", - "id": 440, + "id": 444, "isConstant": false, "isLValue": false, "isPure": true, @@ -3324,7 +3324,7 @@ "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" } ], - "id": 439, + "id": 443, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3335,7 +3335,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 441, + "id": 445, "isConstant": false, "isLValue": false, "isPure": true, @@ -3354,7 +3354,7 @@ "visibility": "private" }, { - "id": 451, + "id": 455, "nodeType": "StructDefinition", "src": "2237:132:1", "nodes": [], @@ -3362,12 +3362,12 @@ "members": [ { "constant": false, - "id": 444, + "id": 448, "mutability": "mutable", "name": "name", "nameLocation": "2274:4:1", "nodeType": "VariableDeclaration", - "scope": 451, + "scope": 455, "src": "2267:11:1", "stateVariable": false, "storageLocation": "default", @@ -3376,7 +3376,7 @@ "typeString": "string" }, "typeName": { - "id": 443, + "id": 447, "name": "string", "nodeType": "ElementaryTypeName", "src": "2267:6:1", @@ -3389,12 +3389,12 @@ }, { "constant": false, - "id": 446, + "id": 450, "mutability": "mutable", "name": "version", "nameLocation": "2295:7:1", "nodeType": "VariableDeclaration", - "scope": 451, + "scope": 455, "src": "2288:14:1", "stateVariable": false, "storageLocation": "default", @@ -3403,7 +3403,7 @@ "typeString": "string" }, "typeName": { - "id": 445, + "id": 449, "name": "string", "nodeType": "ElementaryTypeName", "src": "2288:6:1", @@ -3416,12 +3416,12 @@ }, { "constant": false, - "id": 448, + "id": 452, "mutability": "mutable", "name": "chainId", "nameLocation": "2320:7:1", "nodeType": "VariableDeclaration", - "scope": 451, + "scope": 455, "src": "2312:15:1", "stateVariable": false, "storageLocation": "default", @@ -3430,7 +3430,7 @@ "typeString": "uint256" }, "typeName": { - "id": 447, + "id": 451, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2312:7:1", @@ -3443,12 +3443,12 @@ }, { "constant": false, - "id": 450, + "id": 454, "mutability": "mutable", "name": "verifyingContract", "nameLocation": "2345:17:1", "nodeType": "VariableDeclaration", - "scope": 451, + "scope": 455, "src": "2337:25:1", "stateVariable": false, "storageLocation": "default", @@ -3457,7 +3457,7 @@ "typeString": "address" }, "typeName": { - "id": 449, + "id": 453, "name": "address", "nodeType": "ElementaryTypeName", "src": "2337:7:1", @@ -3472,11 +3472,11 @@ ], "name": "EIP712Domain", "nameLocation": "2244:12:1", - "scope": 1474, + "scope": 1478, "visibility": "public" }, { - "id": 453, + "id": 457, "nodeType": "VariableDeclaration", "src": "2375:32:1", "nodes": [], @@ -3484,7 +3484,7 @@ "mutability": "mutable", "name": "DOMAIN_SEPARATOR", "nameLocation": "2391:16:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3492,7 +3492,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 452, + "id": 456, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2375:7:1", @@ -3504,12 +3504,12 @@ "visibility": "private" }, { - "id": 487, + "id": 491, "nodeType": "FunctionDefinition", "src": "2414:395:1", "nodes": [], "body": { - "id": 486, + "id": 490, "nodeType": "Block", "src": "2494:315:1", "nodes": [], @@ -3520,11 +3520,11 @@ { "arguments": [ { - "id": 464, + "id": 468, "name": "EIP712DOMAIN_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, + "referencedDeclaration": 446, "src": "2562:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -3537,18 +3537,18 @@ "arguments": [ { "expression": { - "id": 468, + "id": 472, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 456, + "referencedDeclaration": 460, "src": "2617:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } }, - "id": 469, + "id": 473, "isConstant": false, "isLValue": true, "isPure": false, @@ -3556,7 +3556,7 @@ "memberLocation": "2630:4:1", "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 444, + "referencedDeclaration": 448, "src": "2617:17:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -3571,7 +3571,7 @@ "typeString": "string memory" } ], - "id": 467, + "id": 471, "isConstant": false, "isLValue": false, "isPure": true, @@ -3583,14 +3583,14 @@ "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 466, + "id": 470, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2611:5:1", "typeDescriptions": {} } }, - "id": 470, + "id": 474, "isConstant": false, "isLValue": false, "isPure": false, @@ -3614,7 +3614,7 @@ "typeString": "bytes memory" } ], - "id": 465, + "id": 469, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3625,7 +3625,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 471, + "id": 475, "isConstant": false, "isLValue": false, "isPure": false, @@ -3647,18 +3647,18 @@ "arguments": [ { "expression": { - "id": 475, + "id": 479, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 456, + "referencedDeclaration": 460, "src": "2670:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } }, - "id": 476, + "id": 480, "isConstant": false, "isLValue": true, "isPure": false, @@ -3666,7 +3666,7 @@ "memberLocation": "2683:7:1", "memberName": "version", "nodeType": "MemberAccess", - "referencedDeclaration": 446, + "referencedDeclaration": 450, "src": "2670:20:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -3681,7 +3681,7 @@ "typeString": "string memory" } ], - "id": 474, + "id": 478, "isConstant": false, "isLValue": false, "isPure": true, @@ -3693,14 +3693,14 @@ "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 473, + "id": 477, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2664:5:1", "typeDescriptions": {} } }, - "id": 477, + "id": 481, "isConstant": false, "isLValue": false, "isPure": false, @@ -3724,7 +3724,7 @@ "typeString": "bytes memory" } ], - "id": 472, + "id": 476, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3735,7 +3735,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 478, + "id": 482, "isConstant": false, "isLValue": false, "isPure": false, @@ -3753,18 +3753,18 @@ }, { "expression": { - "id": 479, + "id": 483, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 456, + "referencedDeclaration": 460, "src": "2710:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } }, - "id": 480, + "id": 484, "isConstant": false, "isLValue": true, "isPure": false, @@ -3772,7 +3772,7 @@ "memberLocation": "2723:7:1", "memberName": "chainId", "nodeType": "MemberAccess", - "referencedDeclaration": 448, + "referencedDeclaration": 452, "src": "2710:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3781,18 +3781,18 @@ }, { "expression": { - "id": 481, + "id": 485, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 456, + "referencedDeclaration": 460, "src": "2748:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } }, - "id": 482, + "id": 486, "isConstant": false, "isLValue": true, "isPure": false, @@ -3800,7 +3800,7 @@ "memberLocation": "2761:17:1", "memberName": "verifyingContract", "nodeType": "MemberAccess", - "referencedDeclaration": 450, + "referencedDeclaration": 454, "src": "2748:30:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3832,7 +3832,7 @@ } ], "expression": { - "id": 462, + "id": 466, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3843,7 +3843,7 @@ "typeString": "abi" } }, - "id": 463, + "id": 467, "isConstant": false, "isLValue": false, "isPure": true, @@ -3857,7 +3857,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 483, + "id": 487, "isConstant": false, "isLValue": false, "isPure": false, @@ -3881,7 +3881,7 @@ "typeString": "bytes memory" } ], - "id": 461, + "id": 465, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3892,7 +3892,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 484, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, @@ -3908,8 +3908,8 @@ "typeString": "bytes32" } }, - "functionReturnParameters": 460, - "id": 485, + "functionReturnParameters": 464, + "id": 489, "nodeType": "Return", "src": "2504:298:1" } @@ -3921,41 +3921,41 @@ "name": "hash", "nameLocation": "2423:4:1", "parameters": { - "id": 457, + "id": 461, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 456, + "id": 460, "mutability": "mutable", "name": "eip712Domain", "nameLocation": "2448:12:1", "nodeType": "VariableDeclaration", - "scope": 487, + "scope": 491, "src": "2428:32:1", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain" }, "typeName": { - "id": 455, + "id": 459, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 454, + "id": 458, "name": "EIP712Domain", "nameLocations": [ "2428:12:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 451, + "referencedDeclaration": 455, "src": "2428:12:1" }, - "referencedDeclaration": 451, + "referencedDeclaration": 455, "src": "2428:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_storage_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_storage_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain" } }, @@ -3965,17 +3965,17 @@ "src": "2427:34:1" }, "returnParameters": { - "id": 460, + "id": 464, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 459, + "id": 463, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 487, + "scope": 491, "src": "2485:7:1", "stateVariable": false, "storageLocation": "default", @@ -3984,7 +3984,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 458, + "id": 462, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2485:7:1", @@ -3998,13 +3998,13 @@ ], "src": "2484:9:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 492, + "id": 496, "nodeType": "VariableDeclaration", "src": "2815:132:1", "nodes": [], @@ -4013,7 +4013,7 @@ "mutability": "constant", "name": "VOTE_TYPEHASH", "nameLocation": "2839:13:1", - "scope": 1474, + "scope": 1478, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4021,7 +4021,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 488, + "id": 492, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2815:7:1", @@ -4034,7 +4034,7 @@ "arguments": [ { "hexValue": "566f7465286164647265737320766f7465722c627974657320636f6d6d756e6974792c75696e7432353620736e74416d6f756e742c75696e743235362074696d657374616d7029", - "id": 490, + "id": 494, "isConstant": false, "isLValue": false, "isPure": true, @@ -4056,7 +4056,7 @@ "typeString": "literal_string \"Vote(address voter,bytes community,uint256 sntAmount,uint256 timestamp)\"" } ], - "id": 489, + "id": 493, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4067,7 +4067,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 491, + "id": 495, "isConstant": false, "isLValue": false, "isPure": true, @@ -4086,12 +4086,12 @@ "visibility": "public" }, { - "id": 518, + "id": 522, "nodeType": "FunctionDefinition", "src": "2954:215:1", "nodes": [], "body": { - "id": 517, + "id": 521, "nodeType": "Block", "src": "3026:143:1", "nodes": [], @@ -4102,11 +4102,11 @@ { "arguments": [ { - "id": 503, + "id": 507, "name": "VOTE_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 492, + "referencedDeclaration": 496, "src": "3076:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4115,18 +4115,18 @@ }, { "expression": { - "id": 504, + "id": 508, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 495, + "referencedDeclaration": 499, "src": "3091:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 505, + "id": 509, "isConstant": false, "isLValue": false, "isPure": false, @@ -4134,7 +4134,7 @@ "memberLocation": "3096:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "3091:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4145,18 +4145,18 @@ "arguments": [ { "expression": { - "id": 507, + "id": 511, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 495, + "referencedDeclaration": 499, "src": "3113:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 508, + "id": 512, "isConstant": false, "isLValue": false, "isPure": false, @@ -4164,7 +4164,7 @@ "memberLocation": "3118:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "3113:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -4179,7 +4179,7 @@ "typeString": "bytes calldata" } ], - "id": 506, + "id": 510, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4190,7 +4190,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 509, + "id": 513, "isConstant": false, "isLValue": false, "isPure": false, @@ -4208,18 +4208,18 @@ }, { "expression": { - "id": 510, + "id": 514, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 495, + "referencedDeclaration": 499, "src": "3130:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 511, + "id": 515, "isConstant": false, "isLValue": false, "isPure": false, @@ -4227,7 +4227,7 @@ "memberLocation": "3135:9:1", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 341, + "referencedDeclaration": 345, "src": "3130:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4236,18 +4236,18 @@ }, { "expression": { - "id": 512, + "id": 516, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 495, + "referencedDeclaration": 499, "src": "3146:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 513, + "id": 517, "isConstant": false, "isLValue": false, "isPure": false, @@ -4255,7 +4255,7 @@ "memberLocation": "3151:9:1", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 343, + "referencedDeclaration": 347, "src": "3146:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4287,7 +4287,7 @@ } ], "expression": { - "id": 501, + "id": 505, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4298,7 +4298,7 @@ "typeString": "abi" } }, - "id": 502, + "id": 506, "isConstant": false, "isLValue": false, "isPure": true, @@ -4312,7 +4312,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 514, + "id": 518, "isConstant": false, "isLValue": false, "isPure": false, @@ -4336,7 +4336,7 @@ "typeString": "bytes memory" } ], - "id": 500, + "id": 504, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4347,7 +4347,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 515, + "id": 519, "isConstant": false, "isLValue": false, "isPure": false, @@ -4363,8 +4363,8 @@ "typeString": "bytes32" } }, - "functionReturnParameters": 499, - "id": 516, + "functionReturnParameters": 503, + "id": 520, "nodeType": "Return", "src": "3036:126:1" } @@ -4376,41 +4376,41 @@ "name": "hash", "nameLocation": "2963:4:1", "parameters": { - "id": 496, + "id": 500, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 495, + "id": 499, "mutability": "mutable", "name": "vote", "nameLocation": "2988:4:1", "nodeType": "VariableDeclaration", - "scope": 518, + "scope": 522, "src": "2968:24:1", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" }, "typeName": { - "id": 494, + "id": 498, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 493, + "id": 497, "name": "SignedVote", "nameLocations": [ "2968:10:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "2968:10:1" }, - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "2968:10:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_storage_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" } }, @@ -4420,17 +4420,17 @@ "src": "2967:26:1" }, "returnParameters": { - "id": 499, + "id": 503, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 498, + "id": 502, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 518, + "scope": 522, "src": "3017:7:1", "stateVariable": false, "storageLocation": "default", @@ -4439,7 +4439,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 497, + "id": 501, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3017:7:1", @@ -4453,35 +4453,35 @@ ], "src": "3016:9:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 551, + "id": 555, "nodeType": "FunctionDefinition", "src": "3175:245:1", "nodes": [], "body": { - "id": 550, + "id": 554, "nodeType": "Block", "src": "3255:165:1", "nodes": [], "statements": [ { "assignments": [ - 527 + 531 ], "declarations": [ { "constant": false, - "id": 527, + "id": 531, "mutability": "mutable", "name": "digest", "nameLocation": "3273:6:1", "nodeType": "VariableDeclaration", - "scope": 550, + "scope": 554, "src": "3265:14:1", "stateVariable": false, "storageLocation": "default", @@ -4490,7 +4490,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 526, + "id": 530, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3265:7:1", @@ -4502,14 +4502,14 @@ "visibility": "internal" } ], - "id": 538, + "id": 542, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "1901", - "id": 531, + "id": 535, "isConstant": false, "isLValue": false, "isPure": true, @@ -4524,11 +4524,11 @@ "value": "\u0019\u0001" }, { - "id": 532, + "id": 536, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 453, + "referencedDeclaration": 457, "src": "3321:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4538,14 +4538,14 @@ { "arguments": [ { - "id": 534, + "id": 538, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 521, + "referencedDeclaration": 525, "src": "3344:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } } @@ -4553,25 +4553,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } ], - "id": 533, + "id": 537, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 487, - 518 + 491, + 522 ], - "referencedDeclaration": 518, + "referencedDeclaration": 522, "src": "3339:4:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$348_calldata_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$352_calldata_ptr_$returns$_t_bytes32_$", "typeString": "function (struct FeaturedVotingContract.SignedVote calldata) pure returns (bytes32)" } }, - "id": 535, + "id": 539, "isConstant": false, "isLValue": false, "isPure": false, @@ -4604,7 +4604,7 @@ } ], "expression": { - "id": 529, + "id": 533, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4615,7 +4615,7 @@ "typeString": "abi" } }, - "id": 530, + "id": 534, "isConstant": false, "isLValue": false, "isPure": true, @@ -4629,7 +4629,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 536, + "id": 540, "isConstant": false, "isLValue": false, "isPure": false, @@ -4653,7 +4653,7 @@ "typeString": "bytes memory" } ], - "id": 528, + "id": 532, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4664,7 +4664,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 537, + "id": 541, "isConstant": false, "isLValue": false, "isPure": false, @@ -4689,7 +4689,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 548, + "id": 552, "isConstant": false, "isLValue": false, "isPure": false, @@ -4698,18 +4698,18 @@ "arguments": [ { "expression": { - "id": 541, + "id": 545, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 521, + "referencedDeclaration": 525, "src": "3383:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 542, + "id": 546, "isConstant": false, "isLValue": false, "isPure": false, @@ -4717,7 +4717,7 @@ "memberLocation": "3388:1:1", "memberName": "r", "nodeType": "MemberAccess", - "referencedDeclaration": 345, + "referencedDeclaration": 349, "src": "3383:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4726,18 +4726,18 @@ }, { "expression": { - "id": 543, + "id": 547, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 521, + "referencedDeclaration": 525, "src": "3391:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 544, + "id": 548, "isConstant": false, "isLValue": false, "isPure": false, @@ -4745,7 +4745,7 @@ "memberLocation": "3396:2:1", "memberName": "vs", "nodeType": "MemberAccess", - "referencedDeclaration": 347, + "referencedDeclaration": 351, "src": "3391:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4765,18 +4765,18 @@ } ], "expression": { - "id": 539, + "id": 543, "name": "digest", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 527, + "referencedDeclaration": 531, "src": "3368:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 540, + "id": 544, "isConstant": false, "isLValue": false, "isPure": false, @@ -4784,14 +4784,14 @@ "memberLocation": "3375:7:1", "memberName": "recover", "nodeType": "MemberAccess", - "referencedDeclaration": 44189, + "referencedDeclaration": 44825, "src": "3368:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_address_$attached_to$_t_bytes32_$", "typeString": "function (bytes32,bytes32,bytes32) pure returns (address)" } }, - "id": 545, + "id": 549, "isConstant": false, "isLValue": false, "isPure": false, @@ -4811,18 +4811,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 546, + "id": 550, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 521, + "referencedDeclaration": 525, "src": "3403:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 547, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, @@ -4830,7 +4830,7 @@ "memberLocation": "3408:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "3403:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4843,8 +4843,8 @@ "typeString": "bool" } }, - "functionReturnParameters": 525, - "id": 549, + "functionReturnParameters": 529, + "id": 553, "nodeType": "Return", "src": "3361:52:1" } @@ -4856,41 +4856,41 @@ "name": "verifySignature", "nameLocation": "3184:15:1", "parameters": { - "id": 522, + "id": 526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 525, "mutability": "mutable", "name": "vote", "nameLocation": "3220:4:1", "nodeType": "VariableDeclaration", - "scope": 551, + "scope": 555, "src": "3200:24:1", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" }, "typeName": { - "id": 520, + "id": 524, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 519, + "id": 523, "name": "SignedVote", "nameLocations": [ "3200:10:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "3200:10:1" }, - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "3200:10:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_storage_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" } }, @@ -4900,17 +4900,17 @@ "src": "3199:26:1" }, "returnParameters": { - "id": 525, + "id": 529, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 524, + "id": 528, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 551, + "scope": 555, "src": "3249:4:1", "stateVariable": false, "storageLocation": "default", @@ -4919,7 +4919,7 @@ "typeString": "bool" }, "typeName": { - "id": 523, + "id": 527, "name": "bool", "nodeType": "ElementaryTypeName", "src": "3249:4:1", @@ -4933,65 +4933,22 @@ ], "src": "3248:6:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "view", "virtual": false, "visibility": "internal" }, { - "id": 601, + "id": 605, "nodeType": "FunctionDefinition", "src": "3426:680:1", "nodes": [], "body": { - "id": 600, + "id": 604, "nodeType": "Block", "src": "3620:486:1", "nodes": [], "statements": [ - { - "expression": { - "id": 567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 565, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "3630:5:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 566, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "3638:6:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", - "typeString": "contract MiniMeToken" - } - }, - "src": "3630:14:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", - "typeString": "contract MiniMeToken" - } - }, - "id": 568, - "nodeType": "ExpressionStatement", - "src": "3630:14:1" - }, { "expression": { "id": 571, @@ -5001,10 +4958,53 @@ "lValueRequested": false, "leftHandSide": { "id": 569, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 403, + "src": "3630:5:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 570, + "name": "_token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 558, + "src": "3638:6:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "src": "3630:14:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "id": 572, + "nodeType": "ExpressionStatement", + "src": "3630:14:1" + }, + { + "expression": { + "id": 575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 573, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 401, + "referencedDeclaration": 405, "src": "3654:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5014,11 +5014,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 570, + "id": 574, "name": "_votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 556, + "referencedDeclaration": 560, "src": "3669:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5031,23 +5031,23 @@ "typeString": "uint256" } }, - "id": 572, + "id": 576, "nodeType": "ExpressionStatement", "src": "3654:28:1" }, { "expression": { - "id": 575, + "id": 579, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 573, + "id": 577, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 403, + "referencedDeclaration": 407, "src": "3692:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5057,11 +5057,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 574, + "id": 578, "name": "_votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 558, + "referencedDeclaration": 562, "src": "3719:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5074,23 +5074,23 @@ "typeString": "uint256" } }, - "id": 576, + "id": 580, "nodeType": "ExpressionStatement", "src": "3692:52:1" }, { "expression": { - "id": 579, + "id": 583, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 577, + "id": 581, "name": "cooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 407, + "referencedDeclaration": 411, "src": "3754:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5100,11 +5100,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 578, + "id": 582, "name": "_cooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 560, + "referencedDeclaration": 564, "src": "3771:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5117,23 +5117,23 @@ "typeString": "uint256" } }, - "id": 580, + "id": 584, "nodeType": "ExpressionStatement", "src": "3754:32:1" }, { "expression": { - "id": 583, + "id": 587, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 581, + "id": 585, "name": "featuredPerVotingCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, + "referencedDeclaration": 409, "src": "3796:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5143,11 +5143,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 582, + "id": 586, "name": "_featuredPerVotingCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 562, + "referencedDeclaration": 566, "src": "3821:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5160,23 +5160,23 @@ "typeString": "uint256" } }, - "id": 584, + "id": 588, "nodeType": "ExpressionStatement", "src": "3796:48:1" }, { "expression": { - "id": 598, + "id": 602, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 585, + "id": 589, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 453, + "referencedDeclaration": 457, "src": "3854:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5191,7 +5191,7 @@ "arguments": [ { "hexValue": "466561747572656420566f74696e6720436f6e7472616374", - "id": 588, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, @@ -5207,7 +5207,7 @@ }, { "hexValue": "31", - "id": 589, + "id": 593, "isConstant": false, "isLValue": false, "isPure": true, @@ -5223,7 +5223,7 @@ }, { "expression": { - "id": 590, + "id": 594, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5234,7 +5234,7 @@ "typeString": "block" } }, - "id": 591, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -5251,14 +5251,14 @@ { "arguments": [ { - "id": 594, + "id": 598, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -28, "src": "4069:4:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_FeaturedVotingContract_$1474", + "typeIdentifier": "t_contract$_FeaturedVotingContract_$1478", "typeString": "contract FeaturedVotingContract" } } @@ -5266,11 +5266,11 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_FeaturedVotingContract_$1474", + "typeIdentifier": "t_contract$_FeaturedVotingContract_$1478", "typeString": "contract FeaturedVotingContract" } ], - "id": 593, + "id": 597, "isConstant": false, "isLValue": false, "isPure": true, @@ -5282,14 +5282,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 592, + "id": 596, "name": "address", "nodeType": "ElementaryTypeName", "src": "4061:7:1", "typeDescriptions": {} } }, - "id": 595, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, @@ -5325,18 +5325,18 @@ "typeString": "address" } ], - "id": 587, + "id": 591, "name": "EIP712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 451, + "referencedDeclaration": 455, "src": "3891:12:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$451_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$455_storage_ptr_$", "typeString": "type(struct FeaturedVotingContract.EIP712Domain storage pointer)" } }, - "id": 596, + "id": 600, "isConstant": false, "isLValue": false, "isPure": false, @@ -5358,7 +5358,7 @@ "src": "3891:198:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } } @@ -5366,25 +5366,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_EIP712Domain_$451_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$455_memory_ptr", "typeString": "struct FeaturedVotingContract.EIP712Domain memory" } ], - "id": 586, + "id": 590, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 487, - 518 + 491, + 522 ], - "referencedDeclaration": 487, + "referencedDeclaration": 491, "src": "3873:4:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$451_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$455_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct FeaturedVotingContract.EIP712Domain memory) pure returns (bytes32)" } }, - "id": 597, + "id": 601, "isConstant": false, "isLValue": false, "isPure": false, @@ -5406,7 +5406,7 @@ "typeString": "bytes32" } }, - "id": 599, + "id": 603, "nodeType": "ExpressionStatement", "src": "3854:245:1" } @@ -5418,41 +5418,41 @@ "name": "", "nameLocation": "-1:-1:-1", "parameters": { - "id": 563, + "id": 567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 554, + "id": 558, "mutability": "mutable", "name": "_token", "nameLocation": "3459:6:1", "nodeType": "VariableDeclaration", - "scope": 601, + "scope": 605, "src": "3447:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 553, + "id": 557, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 552, + "id": 556, "name": "MiniMeToken", "nameLocations": [ "3447:11:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33237, + "referencedDeclaration": 33557, "src": "3447:11:1" }, - "referencedDeclaration": 33237, + "referencedDeclaration": 33557, "src": "3447:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, @@ -5460,12 +5460,12 @@ }, { "constant": false, - "id": 556, + "id": 560, "mutability": "mutable", "name": "_votingLength", "nameLocation": "3483:13:1", "nodeType": "VariableDeclaration", - "scope": 601, + "scope": 605, "src": "3475:21:1", "stateVariable": false, "storageLocation": "default", @@ -5474,7 +5474,7 @@ "typeString": "uint256" }, "typeName": { - "id": 555, + "id": 559, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3475:7:1", @@ -5487,12 +5487,12 @@ }, { "constant": false, - "id": 558, + "id": 562, "mutability": "mutable", "name": "_votingVerificationLength", "nameLocation": "3514:25:1", "nodeType": "VariableDeclaration", - "scope": 601, + "scope": 605, "src": "3506:33:1", "stateVariable": false, "storageLocation": "default", @@ -5501,7 +5501,7 @@ "typeString": "uint256" }, "typeName": { - "id": 557, + "id": 561, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3506:7:1", @@ -5514,12 +5514,12 @@ }, { "constant": false, - "id": 560, + "id": 564, "mutability": "mutable", "name": "_cooldownPeriod", "nameLocation": "3557:15:1", "nodeType": "VariableDeclaration", - "scope": 601, + "scope": 605, "src": "3549:23:1", "stateVariable": false, "storageLocation": "default", @@ -5528,7 +5528,7 @@ "typeString": "uint256" }, "typeName": { - "id": 559, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3549:7:1", @@ -5541,12 +5541,12 @@ }, { "constant": false, - "id": 562, + "id": 566, "mutability": "mutable", "name": "_featuredPerVotingCount", "nameLocation": "3590:23:1", "nodeType": "VariableDeclaration", - "scope": 601, + "scope": 605, "src": "3582:31:1", "stateVariable": false, "storageLocation": "default", @@ -5555,7 +5555,7 @@ "typeString": "uint256" }, "typeName": { - "id": 561, + "id": 565, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3582:7:1", @@ -5570,67 +5570,67 @@ "src": "3437:182:1" }, "returnParameters": { - "id": 564, + "id": 568, "nodeType": "ParameterList", "parameters": [], "src": "3620:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 614, + "id": 618, "nodeType": "FunctionDefinition", "src": "4112:96:1", "nodes": [], "body": { - "id": 613, + "id": 617, "nodeType": "Block", "src": "4171:37:1", "nodes": [], "statements": [ { "expression": { - "id": 611, + "id": 615, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 609, + "id": 613, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, + "referencedDeclaration": 400, "src": "4181:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 610, + "id": 614, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 604, + "referencedDeclaration": 608, "src": "4193:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "src": "4181:20:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 612, + "id": 616, "nodeType": "ExpressionStatement", "src": "4181:20:1" } @@ -5641,16 +5641,16 @@ "kind": "function", "modifiers": [ { - "id": 607, + "id": 611, "kind": "modifierInvocation", "modifierName": { - "id": 606, + "id": 610, "name": "onlyOwner", "nameLocations": [ "4161:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44701, + "referencedDeclaration": 45337, "src": "4161:9:1" }, "nodeType": "ModifierInvocation", @@ -5660,41 +5660,41 @@ "name": "setDirectory", "nameLocation": "4121:12:1", "parameters": { - "id": 605, + "id": 609, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 604, + "id": 608, "mutability": "mutable", "name": "_address", "nameLocation": "4144:8:1", "nodeType": "VariableDeclaration", - "scope": 614, + "scope": 618, "src": "4134:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" }, "typeName": { - "id": 603, + "id": 607, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 602, + "id": 606, "name": "Directory", "nameLocations": [ "4134:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "4134:9:1" }, - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "4134:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, @@ -5704,23 +5704,23 @@ "src": "4133:20:1" }, "returnParameters": { - "id": 608, + "id": 612, "nodeType": "ParameterList", "parameters": [], "src": "4171:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 728, + "id": 732, "nodeType": "FunctionDefinition", "src": "4214:1329:1", "nodes": [], "body": { - "id": 727, + "id": 731, "nodeType": "Block", "src": "4293:1250:1", "nodes": [], @@ -5733,7 +5733,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 633, + "id": 637, "isConstant": false, "isLValue": false, "isPure": false, @@ -5743,25 +5743,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 625, + "id": 629, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 622, + "id": 626, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "4311:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 623, + "id": 627, "isConstant": false, "isLValue": false, "isPure": false, @@ -5779,7 +5779,7 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 624, + "id": 628, "isConstant": false, "isLValue": false, "isPure": true, @@ -5804,42 +5804,42 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 626, + "id": 630, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "4334:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 631, + "id": 635, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 630, + "id": 634, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 627, + "id": 631, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "4342:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 628, + "id": 632, "isConstant": false, "isLValue": false, "isPure": false, @@ -5857,7 +5857,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 629, + "id": 633, "isConstant": false, "isLValue": false, "isPure": true, @@ -5884,11 +5884,11 @@ "nodeType": "IndexAccess", "src": "4334:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, - "id": 632, + "id": 636, "isConstant": false, "isLValue": true, "isPure": false, @@ -5896,7 +5896,7 @@ "memberLocation": "4362:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "4334:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5911,7 +5911,7 @@ }, { "hexValue": "766f746520616c7265616479206f6e676f696e67", - "id": 634, + "id": 638, "isConstant": false, "isLValue": false, "isPure": true, @@ -5937,7 +5937,7 @@ "typeString": "literal_string \"vote already ongoing\"" } ], - "id": 621, + "id": 625, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5951,7 +5951,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 635, + "id": 639, "isConstant": false, "isLValue": false, "isPure": false, @@ -5967,7 +5967,7 @@ "typeString": "tuple()" } }, - "id": 636, + "id": 640, "nodeType": "ExpressionStatement", "src": "4303:93:1" }, @@ -5977,11 +5977,11 @@ { "arguments": [ { - "id": 640, + "id": 644, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 616, + "referencedDeclaration": 620, "src": "4447:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -5997,18 +5997,18 @@ } ], "expression": { - "id": 638, + "id": 642, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, + "referencedDeclaration": 400, "src": "4414:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 639, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, @@ -6016,14 +6016,14 @@ "memberLocation": "4424:22:1", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", - "referencedDeclaration": 49, + "referencedDeclaration": 53, "src": "4414:32:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory) view external returns (bool)" } }, - "id": 641, + "id": 645, "isConstant": false, "isLValue": false, "isPure": false, @@ -6041,7 +6041,7 @@ }, { "hexValue": "636f6d6d756e697479206e6f7420696e206469726563746f7279", - "id": 642, + "id": 646, "isConstant": false, "isLValue": false, "isPure": true, @@ -6067,7 +6067,7 @@ "typeString": "literal_string \"community not in directory\"" } ], - "id": 637, + "id": 641, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6081,7 +6081,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 643, + "id": 647, "isConstant": false, "isLValue": false, "isPure": false, @@ -6097,7 +6097,7 @@ "typeString": "tuple()" } }, - "id": 644, + "id": 648, "nodeType": "ExpressionStatement", "src": "4406:82:1" }, @@ -6105,7 +6105,7 @@ "expression": { "arguments": [ { - "id": 649, + "id": 653, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,11 +6117,11 @@ "subExpression": { "arguments": [ { - "id": 647, + "id": 651, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 616, + "referencedDeclaration": 620, "src": "4526:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -6136,18 +6136,18 @@ "typeString": "bytes calldata" } ], - "id": 646, + "id": 650, "name": "isInCooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1102, + "referencedDeclaration": 1106, "src": "4507:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_bytes_calldata_ptr_$returns$_t_bool_$", "typeString": "function (bytes calldata) view returns (bool)" } }, - "id": 648, + "id": 652, "isConstant": false, "isLValue": false, "isPure": false, @@ -6170,7 +6170,7 @@ }, { "hexValue": "636f6d6d756e69747920686173206265656e20666561747572656420726563656e746c79", - "id": 650, + "id": 654, "isConstant": false, "isLValue": false, "isPure": true, @@ -6196,7 +6196,7 @@ "typeString": "literal_string \"community has been featured recently\"" } ], - "id": 645, + "id": 649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6210,7 +6210,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 651, + "id": 655, "isConstant": false, "isLValue": false, "isPure": false, @@ -6226,7 +6226,7 @@ "typeString": "tuple()" } }, - "id": 652, + "id": 656, "nodeType": "ExpressionStatement", "src": "4498:79:1" }, @@ -6238,7 +6238,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 660, + "id": 664, "isConstant": false, "isLValue": false, "isPure": false, @@ -6247,7 +6247,7 @@ "arguments": [ { "expression": { - "id": 656, + "id": 660, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6258,7 +6258,7 @@ "typeString": "msg" } }, - "id": 657, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -6281,18 +6281,18 @@ } ], "expression": { - "id": 654, + "id": 658, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 399, + "referencedDeclaration": 403, "src": "4595:5:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, - "id": 655, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -6300,14 +6300,14 @@ "memberLocation": "4601:9:1", "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 32315, + "referencedDeclaration": 32635, "src": "4595:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 658, + "id": 662, "isConstant": false, "isLValue": false, "isPure": false, @@ -6326,11 +6326,11 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 659, + "id": 663, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, + "referencedDeclaration": 622, "src": "4626:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6345,7 +6345,7 @@ }, { "hexValue": "6e6f7420656e6f75676820746f6b656e", - "id": 661, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"not enough token\"" } ], - "id": 653, + "id": 657, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6385,7 +6385,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 662, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -6401,23 +6401,23 @@ "typeString": "tuple()" } }, - "id": 663, + "id": 667, "nodeType": "ExpressionStatement", "src": "4587:70:1" }, { "assignments": [ - 665 + 669 ], "declarations": [ { "constant": false, - "id": 665, + "id": 669, "mutability": "mutable", "name": "votingID", "nameLocation": "4676:8:1", "nodeType": "VariableDeclaration", - "scope": 727, + "scope": 731, "src": "4668:16:1", "stateVariable": false, "storageLocation": "default", @@ -6426,7 +6426,7 @@ "typeString": "uint256" }, "typeName": { - "id": 664, + "id": 668, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4668:7:1", @@ -6438,31 +6438,31 @@ "visibility": "internal" } ], - "id": 670, + "id": 674, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 669, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 666, + "id": 670, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "4687:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 667, + "id": 671, "isConstant": false, "isLValue": false, "isPure": false, @@ -6480,7 +6480,7 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 668, + "id": 672, "isConstant": false, "isLValue": false, "isPure": true, @@ -6505,7 +6505,7 @@ }, { "expression": { - "id": 680, + "id": 684, "isConstant": false, "isLValue": false, "isPure": false, @@ -6514,24 +6514,24 @@ "baseExpression": { "baseExpression": { "baseExpression": { - "id": 671, + "id": 675, "name": "votersByCommunityByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, + "referencedDeclaration": 441, "src": "4716:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes_memory_ptr_$_t_mapping$_t_address_$_t_bool_$_$_$", "typeString": "mapping(uint256 => mapping(bytes memory => mapping(address => bool)))" } }, - "id": 676, + "id": 680, "indexExpression": { - "id": 672, + "id": 676, "name": "votingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 665, + "referencedDeclaration": 669, "src": "4744:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6549,13 +6549,13 @@ "typeString": "mapping(bytes memory => mapping(address => bool))" } }, - "id": 677, + "id": 681, "indexExpression": { - "id": 673, + "id": 677, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 616, + "referencedDeclaration": 620, "src": "4754:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -6573,10 +6573,10 @@ "typeString": "mapping(address => bool)" } }, - "id": 678, + "id": 682, "indexExpression": { "expression": { - "id": 674, + "id": 678, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6587,7 +6587,7 @@ "typeString": "msg" } }, - "id": 675, + "id": 679, "isConstant": false, "isLValue": false, "isPure": false, @@ -6616,7 +6616,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 679, + "id": 683, "isConstant": false, "isLValue": false, "isPure": true, @@ -6636,7 +6636,7 @@ "typeString": "bool" } }, - "id": 681, + "id": 685, "nodeType": "ExpressionStatement", "src": "4716:67:1" }, @@ -6647,7 +6647,7 @@ "arguments": [ { "expression": { - "id": 687, + "id": 691, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6658,7 +6658,7 @@ "typeString": "msg" } }, - "id": 688, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -6673,11 +6673,11 @@ } }, { - "id": 689, + "id": 693, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 616, + "referencedDeclaration": 620, "src": "4861:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -6685,11 +6685,11 @@ } }, { - "id": 690, + "id": 694, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, + "referencedDeclaration": 622, "src": "4883:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6712,18 +6712,18 @@ "typeString": "uint256" } ], - "id": 686, + "id": 690, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "4824:4:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$335_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$339_storage_ptr_$", "typeString": "type(struct FeaturedVotingContract.Vote storage pointer)" } }, - "id": 691, + "id": 695, "isConstant": false, "isLValue": false, "isPure": false, @@ -6743,7 +6743,7 @@ "src": "4824:72:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$339_memory_ptr", "typeString": "struct FeaturedVotingContract.Vote memory" } } @@ -6751,30 +6751,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$335_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$339_memory_ptr", "typeString": "struct FeaturedVotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 682, + "id": 686, "name": "votesByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, + "referencedDeclaration": 428, "src": "4793:15:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote storage ref[] storage ref)" } }, - "id": 684, + "id": 688, "indexExpression": { - "id": 683, + "id": 687, "name": "votingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 665, + "referencedDeclaration": 669, "src": "4809:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6788,11 +6788,11 @@ "nodeType": "IndexAccess", "src": "4793:25:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage ref" } }, - "id": 685, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, @@ -6802,11 +6802,11 @@ "nodeType": "MemberAccess", "src": "4793:30:1", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr_$_t_struct$_Vote_$335_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr_$_t_struct$_Vote_$339_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr_$", "typeString": "function (struct FeaturedVotingContract.Vote storage ref[] storage pointer,struct FeaturedVotingContract.Vote storage ref)" } }, - "id": 692, + "id": 696, "isConstant": false, "isLValue": false, "isPure": false, @@ -6822,7 +6822,7 @@ "typeString": "tuple()" } }, - "id": 693, + "id": 697, "nodeType": "ExpressionStatement", "src": "4793:104:1" }, @@ -6832,11 +6832,11 @@ { "arguments": [ { - "id": 698, + "id": 702, "name": "votingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 665, + "referencedDeclaration": 669, "src": "4962:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6845,7 +6845,7 @@ }, { "expression": { - "id": 699, + "id": 703, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6856,7 +6856,7 @@ "typeString": "block" } }, - "id": 700, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -6872,7 +6872,7 @@ }, { "expression": { - "id": 701, + "id": 705, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6883,7 +6883,7 @@ "typeString": "block" } }, - "id": 702, + "id": 706, "isConstant": false, "isLValue": false, "isPure": false, @@ -6902,14 +6902,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 706, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 703, + "id": 707, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6920,7 +6920,7 @@ "typeString": "block" } }, - "id": 704, + "id": 708, "isConstant": false, "isLValue": false, "isPure": false, @@ -6937,11 +6937,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 705, + "id": 709, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 401, + "referencedDeclaration": 405, "src": "5111:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6959,7 +6959,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 712, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, @@ -6969,14 +6969,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 710, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 707, + "id": 711, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6987,7 +6987,7 @@ "typeString": "block" } }, - "id": 708, + "id": 712, "isConstant": false, "isLValue": false, "isPure": false, @@ -7004,11 +7004,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 709, + "id": 713, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 401, + "referencedDeclaration": 405, "src": "5166:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7024,11 +7024,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 711, + "id": 715, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 403, + "referencedDeclaration": 407, "src": "5181:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7043,7 +7043,7 @@ }, { "hexValue": "66616c7365", - "id": 713, + "id": 717, "isConstant": false, "isLValue": false, "isPure": true, @@ -7059,7 +7059,7 @@ }, { "hexValue": "30", - "id": 714, + "id": 718, "isConstant": false, "isLValue": false, "isPure": true, @@ -7075,7 +7075,7 @@ }, { "hexValue": "66616c7365", - "id": 715, + "id": 719, "isConstant": false, "isLValue": false, "isPure": true, @@ -7091,7 +7091,7 @@ }, { "hexValue": "30", - "id": 716, + "id": 720, "isConstant": false, "isLValue": false, "isPure": true, @@ -7145,18 +7145,18 @@ "typeString": "int_const 0" } ], - "id": 697, + "id": 701, "name": "Voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "4933:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Voting_$328_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Voting_$332_storage_ptr_$", "typeString": "type(struct FeaturedVotingContract.Voting storage pointer)" } }, - "id": 717, + "id": 721, "isConstant": false, "isLValue": false, "isPure": false, @@ -7188,7 +7188,7 @@ "src": "4933:418:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_memory_ptr", + "typeIdentifier": "t_struct$_Voting_$332_memory_ptr", "typeString": "struct FeaturedVotingContract.Voting memory" } } @@ -7196,23 +7196,23 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Voting_$328_memory_ptr", + "typeIdentifier": "t_struct$_Voting_$332_memory_ptr", "typeString": "struct FeaturedVotingContract.Voting memory" } ], "expression": { - "id": 694, + "id": 698, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "4907:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 696, + "id": 700, "isConstant": false, "isLValue": false, "isPure": false, @@ -7222,11 +7222,11 @@ "nodeType": "MemberAccess", "src": "4907:12:1", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Voting_$328_storage_$dyn_storage_ptr_$_t_struct$_Voting_$328_storage_$returns$__$attached_to$_t_array$_t_struct$_Voting_$328_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Voting_$332_storage_$dyn_storage_ptr_$_t_struct$_Voting_$332_storage_$returns$__$attached_to$_t_array$_t_struct$_Voting_$332_storage_$dyn_storage_ptr_$", "typeString": "function (struct FeaturedVotingContract.Voting storage ref[] storage pointer,struct FeaturedVotingContract.Voting storage ref)" } }, - "id": 718, + "id": 722, "isConstant": false, "isLValue": false, "isPure": false, @@ -7242,7 +7242,7 @@ "typeString": "tuple()" } }, - "id": 719, + "id": 723, "nodeType": "ExpressionStatement", "src": "4907:454:1" }, @@ -7251,7 +7251,7 @@ "arguments": [ { "hexValue": "31", - "id": 721, + "id": 725, "isConstant": false, "isLValue": false, "isPure": true, @@ -7273,18 +7273,18 @@ "typeString": "int_const 1" } ], - "id": 720, + "id": 724, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, + "referencedDeclaration": 1319, "src": "5488:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint32_$returns$__$", "typeString": "function (uint32)" } }, - "id": 722, + "id": 726, "isConstant": false, "isLValue": false, "isPure": false, @@ -7300,7 +7300,7 @@ "typeString": "tuple()" } }, - "id": 723, + "id": 727, "nodeType": "ExpressionStatement", "src": "5488:17:1" }, @@ -7309,18 +7309,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 724, + "id": 728, "name": "VotingStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 355, + "referencedDeclaration": 359, "src": "5521:13:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 725, + "id": 729, "isConstant": false, "isLValue": false, "isPure": false, @@ -7336,7 +7336,7 @@ "typeString": "tuple()" } }, - "id": 726, + "id": 730, "nodeType": "EmitStatement", "src": "5516:20:1" } @@ -7349,17 +7349,17 @@ "name": "initializeVoting", "nameLocation": "4223:16:1", "parameters": { - "id": 619, + "id": 623, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 616, + "id": 620, "mutability": "mutable", "name": "publicKey", "nameLocation": "4255:9:1", "nodeType": "VariableDeclaration", - "scope": 728, + "scope": 732, "src": "4240:24:1", "stateVariable": false, "storageLocation": "calldata", @@ -7368,7 +7368,7 @@ "typeString": "bytes" }, "typeName": { - "id": 615, + "id": 619, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4240:5:1", @@ -7381,12 +7381,12 @@ }, { "constant": false, - "id": 618, + "id": 622, "mutability": "mutable", "name": "voteAmount", "nameLocation": "4274:10:1", "nodeType": "VariableDeclaration", - "scope": 728, + "scope": 732, "src": "4266:18:1", "stateVariable": false, "storageLocation": "default", @@ -7395,7 +7395,7 @@ "typeString": "uint256" }, "typeName": { - "id": 617, + "id": 621, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4266:7:1", @@ -7410,23 +7410,23 @@ "src": "4239:46:1" }, "returnParameters": { - "id": 620, + "id": 624, "nodeType": "ParameterList", "parameters": [], "src": "4293:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 907, + "id": 911, "nodeType": "FunctionDefinition", "src": "5549:1563:1", "nodes": [], "body": { - "id": 906, + "id": 910, "nodeType": "Block", "src": "5594:1518:1", "nodes": [], @@ -7439,25 +7439,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 737, + "id": 741, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 734, + "id": 738, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "5612:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 735, + "id": 739, "isConstant": false, "isLValue": false, "isPure": false, @@ -7475,7 +7475,7 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 736, + "id": 740, "isConstant": false, "isLValue": false, "isPure": true, @@ -7497,7 +7497,7 @@ }, { "hexValue": "6e6f206f6e676f696e6720766f7465", - "id": 738, + "id": 742, "isConstant": false, "isLValue": false, "isPure": true, @@ -7523,7 +7523,7 @@ "typeString": "literal_string \"no ongoing vote\"" } ], - "id": 733, + "id": 737, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7537,7 +7537,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 739, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, @@ -7553,92 +7553,92 @@ "typeString": "tuple()" } }, - "id": 740, + "id": 744, "nodeType": "ExpressionStatement", "src": "5604:46:1" }, { "assignments": [ - 743 + 747 ], "declarations": [ { "constant": false, - "id": 743, + "id": 747, "mutability": "mutable", "name": "voting", "nameLocation": "5675:6:1", "nodeType": "VariableDeclaration", - "scope": 906, + "scope": 910, "src": "5660:21:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" }, "typeName": { - "id": 742, + "id": 746, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 741, + "id": 745, "name": "Voting", "nameLocations": [ "5660:6:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "5660:6:1" }, - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "5660:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" } }, "visibility": "internal" } ], - "id": 750, + "id": 754, "initialValue": { "baseExpression": { - "id": 744, + "id": 748, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "5684:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 749, + "id": 753, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 748, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 745, + "id": 749, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "5692:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 746, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -7656,7 +7656,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 747, + "id": 751, "isConstant": false, "isLValue": false, "isPure": true, @@ -7683,7 +7683,7 @@ "nodeType": "IndexAccess", "src": "5684:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, @@ -7692,7 +7692,7 @@ }, { "condition": { - "id": 753, + "id": 757, "isConstant": false, "isLValue": false, "isPure": false, @@ -7703,18 +7703,18 @@ "src": "5726:17:1", "subExpression": { "expression": { - "id": 751, + "id": 755, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5727:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 752, + "id": 756, "isConstant": false, "isLValue": true, "isPure": false, @@ -7722,7 +7722,7 @@ "memberLocation": "5734:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "5727:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7734,11 +7734,11 @@ "typeString": "bool" } }, - "id": 796, + "id": 800, "nodeType": "IfStatement", "src": "5722:310:1", "trueBody": { - "id": 795, + "id": 799, "nodeType": "Block", "src": "5745:287:1", "statements": [ @@ -7750,25 +7750,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 759, + "id": 763, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 755, + "id": 759, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5767:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 756, + "id": 760, "isConstant": false, "isLValue": true, "isPure": false, @@ -7776,7 +7776,7 @@ "memberLocation": "5774:5:1", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 319, + "referencedDeclaration": 323, "src": "5767:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7787,7 +7787,7 @@ "operator": "<", "rightExpression": { "expression": { - "id": 757, + "id": 761, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -7798,7 +7798,7 @@ "typeString": "block" } }, - "id": 758, + "id": 762, "isConstant": false, "isLValue": false, "isPure": false, @@ -7820,7 +7820,7 @@ }, { "hexValue": "766f7465207374696c6c206f6e676f696e67", - "id": 760, + "id": 764, "isConstant": false, "isLValue": false, "isPure": true, @@ -7846,7 +7846,7 @@ "typeString": "literal_string \"vote still ongoing\"" } ], - "id": 754, + "id": 758, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7860,7 +7860,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 761, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -7876,31 +7876,31 @@ "typeString": "tuple()" } }, - "id": 762, + "id": 766, "nodeType": "ExpressionStatement", "src": "5759:61:1" }, { "expression": { - "id": 767, + "id": 771, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 763, + "id": 767, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5834:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 765, + "id": 769, "isConstant": false, "isLValue": true, "isPure": false, @@ -7908,7 +7908,7 @@ "memberLocation": "5841:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "5834:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7919,7 +7919,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 766, + "id": 770, "isConstant": false, "isLValue": false, "isPure": true, @@ -7939,31 +7939,31 @@ "typeString": "bool" } }, - "id": 768, + "id": 772, "nodeType": "ExpressionStatement", "src": "5834:23:1" }, { "expression": { - "id": 774, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 769, + "id": 773, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5871:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 771, + "id": 775, "isConstant": false, "isLValue": true, "isPure": false, @@ -7971,7 +7971,7 @@ "memberLocation": "5878:5:1", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 319, + "referencedDeclaration": 323, "src": "5871:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7982,7 +7982,7 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 772, + "id": 776, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -7993,7 +7993,7 @@ "typeString": "block" } }, - "id": 773, + "id": 777, "isConstant": false, "isLValue": false, "isPure": false, @@ -8013,31 +8013,31 @@ "typeString": "uint256" } }, - "id": 775, + "id": 779, "nodeType": "ExpressionStatement", "src": "5871:30:1" }, { "expression": { - "id": 781, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 776, + "id": 780, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5915:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 778, + "id": 782, "isConstant": false, "isLValue": true, "isPure": false, @@ -8045,7 +8045,7 @@ "memberLocation": "5922:8:1", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 327, + "referencedDeclaration": 331, "src": "5915:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8056,7 +8056,7 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 779, + "id": 783, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -8067,7 +8067,7 @@ "typeString": "block" } }, - "id": 780, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -8087,31 +8087,31 @@ "typeString": "uint256" } }, - "id": 782, + "id": 786, "nodeType": "ExpressionStatement", "src": "5915:30:1" }, { "expression": { - "id": 787, + "id": 791, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 783, + "id": 787, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5959:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 785, + "id": 789, "isConstant": false, "isLValue": true, "isPure": false, @@ -8119,7 +8119,7 @@ "memberLocation": "5966:13:1", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 323, + "referencedDeclaration": 327, "src": "5959:20:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -8130,7 +8130,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 786, + "id": 790, "isConstant": false, "isLValue": false, "isPure": true, @@ -8150,31 +8150,31 @@ "typeString": "uint32" } }, - "id": 788, + "id": 792, "nodeType": "ExpressionStatement", "src": "5959:24:1" }, { "expression": { - "id": 793, + "id": 797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 789, + "id": 793, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "5997:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 791, + "id": 795, "isConstant": false, "isLValue": true, "isPure": false, @@ -8182,7 +8182,7 @@ "memberLocation": "6004:9:1", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 325, + "referencedDeclaration": 329, "src": "5997:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -8193,7 +8193,7 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 792, + "id": 796, "isConstant": false, "isLValue": false, "isPure": true, @@ -8213,7 +8213,7 @@ "typeString": "bool" } }, - "id": 794, + "id": 798, "nodeType": "ExpressionStatement", "src": "5997:24:1" } @@ -8224,7 +8224,7 @@ "expression": { "arguments": [ { - "id": 800, + "id": 804, "isConstant": false, "isLValue": false, "isPure": false, @@ -8235,18 +8235,18 @@ "src": "6050:17:1", "subExpression": { "expression": { - "id": 798, + "id": 802, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "6051:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 799, + "id": 803, "isConstant": false, "isLValue": true, "isPure": false, @@ -8254,7 +8254,7 @@ "memberLocation": "6058:9:1", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 325, + "referencedDeclaration": 329, "src": "6051:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -8268,7 +8268,7 @@ }, { "hexValue": "766f746520616c72656164792066696e616c697a6564", - "id": 801, + "id": 805, "isConstant": false, "isLValue": false, "isPure": true, @@ -8294,7 +8294,7 @@ "typeString": "literal_string \"vote already finalized\"" } ], - "id": 797, + "id": 801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8308,7 +8308,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 802, + "id": 806, "isConstant": false, "isLValue": false, "isPure": false, @@ -8324,7 +8324,7 @@ "typeString": "tuple()" } }, - "id": 803, + "id": 807, "nodeType": "ExpressionStatement", "src": "6042:52:1" }, @@ -8332,11 +8332,11 @@ "expression": { "arguments": [ { - "id": 805, + "id": 809, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 730, + "referencedDeclaration": 734, "src": "6119:5:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -8351,18 +8351,18 @@ "typeString": "uint32" } ], - "id": 804, + "id": 808, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, + "referencedDeclaration": 1319, "src": "6104:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint32_$returns$__$", "typeString": "function (uint32)" } }, - "id": 806, + "id": 810, "isConstant": false, "isLValue": false, "isPure": false, @@ -8378,25 +8378,25 @@ "typeString": "tuple()" } }, - "id": 807, + "id": 811, "nodeType": "ExpressionStatement", "src": "6104:21:1" }, { "condition": { "expression": { - "id": 808, + "id": 812, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "6140:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 809, + "id": 813, "isConstant": false, "isLValue": true, "isPure": false, @@ -8404,34 +8404,34 @@ "memberLocation": "6147:9:1", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 325, + "referencedDeclaration": 329, "src": "6140:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 905, + "id": 909, "nodeType": "IfStatement", "src": "6136:970:1", "trueBody": { - "id": 904, + "id": 908, "nodeType": "Block", "src": "6158:948:1", "statements": [ { "assignments": [ - 814 + 818 ], "declarations": [ { "constant": false, - "id": 814, + "id": 818, "mutability": "mutable", "name": "featured", "nameLocation": "6188:8:1", "nodeType": "VariableDeclaration", - "scope": 904, + "scope": 908, "src": "6172:24:1", "stateVariable": false, "storageLocation": "storage", @@ -8441,7 +8441,7 @@ }, "typeName": { "baseType": { - "id": 812, + "id": 816, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "6172:5:1", @@ -8450,7 +8450,7 @@ "typeString": "bytes" } }, - "id": 813, + "id": 817, "nodeType": "ArrayTypeName", "src": "6172:7:1", "typeDescriptions": { @@ -8461,35 +8461,35 @@ "visibility": "internal" } ], - "id": 819, + "id": 823, "initialValue": { "baseExpression": { - "id": 815, + "id": 819, "name": "featuredByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 429, + "referencedDeclaration": 433, "src": "6199:18:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes_storage_$dyn_storage_$", "typeString": "mapping(uint256 => bytes storage ref[] storage ref)" } }, - "id": 818, + "id": 822, "indexExpression": { "expression": { - "id": 816, + "id": 820, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 743, + "referencedDeclaration": 747, "src": "6218:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 817, + "id": 821, "isConstant": false, "isLValue": true, "isPure": false, @@ -8497,7 +8497,7 @@ "memberLocation": "6225:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "6218:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8520,23 +8520,23 @@ }, { "body": { - "id": 886, + "id": 890, "nodeType": "Block", "src": "6296:581:1", "statements": [ { "assignments": [ - 831 + 835 ], "declarations": [ { "constant": false, - "id": 831, + "id": 835, "mutability": "mutable", "name": "highestIndex", "nameLocation": "6322:12:1", "nodeType": "VariableDeclaration", - "scope": 886, + "scope": 890, "src": "6314:20:1", "stateVariable": false, "storageLocation": "default", @@ -8545,7 +8545,7 @@ "typeString": "uint256" }, "typeName": { - "id": 830, + "id": 834, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6314:7:1", @@ -8557,10 +8557,10 @@ "visibility": "internal" } ], - "id": 833, + "id": 837, "initialValue": { "hexValue": "30", - "id": 832, + "id": 836, "isConstant": false, "isLValue": false, "isPure": true, @@ -8579,7 +8579,7 @@ }, { "body": { - "id": 859, + "id": 863, "nodeType": "Block", "src": "6409:193:1", "statements": [ @@ -8589,7 +8589,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 852, + "id": 856, "isConstant": false, "isLValue": false, "isPure": false, @@ -8597,24 +8597,24 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 844, + "id": 848, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "6435:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 846, + "id": 850, "indexExpression": { - "id": 845, + "id": 849, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, + "referencedDeclaration": 839, "src": "6452:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8628,11 +8628,11 @@ "nodeType": "IndexAccess", "src": "6435:19:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 847, + "id": 851, "isConstant": false, "isLValue": true, "isPure": false, @@ -8640,7 +8640,7 @@ "memberLocation": "6455:14:1", "memberName": "totalSntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 352, + "referencedDeclaration": 356, "src": "6435:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8652,24 +8652,24 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 848, + "id": 852, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "6472:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 850, + "id": 854, "indexExpression": { - "id": 849, + "id": 853, "name": "highestIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 835, "src": "6489:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8683,11 +8683,11 @@ "nodeType": "IndexAccess", "src": "6472:30:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 851, + "id": 855, "isConstant": false, "isLValue": true, "isPure": false, @@ -8695,7 +8695,7 @@ "memberLocation": "6503:14:1", "memberName": "totalSntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 352, + "referencedDeclaration": 356, "src": "6472:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8708,27 +8708,27 @@ "typeString": "bool" } }, - "id": 858, + "id": 862, "nodeType": "IfStatement", "src": "6431:153:1", "trueBody": { - "id": 857, + "id": 861, "nodeType": "Block", "src": "6519:65:1", "statements": [ { "expression": { - "id": 855, + "id": 859, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 853, + "id": 857, "name": "highestIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 835, "src": "6545:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8738,11 +8738,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 854, + "id": 858, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, + "referencedDeclaration": 839, "src": "6560:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8755,7 +8755,7 @@ "typeString": "uint256" } }, - "id": 856, + "id": 860, "nodeType": "ExpressionStatement", "src": "6545:16:1" } @@ -8769,17 +8769,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 840, + "id": 844, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 838, + "id": 842, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, + "referencedDeclaration": 839, "src": "6377:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8789,11 +8789,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 839, + "id": 843, "name": "communitiesVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, + "referencedDeclaration": 418, "src": "6381:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8806,20 +8806,20 @@ "typeString": "bool" } }, - "id": 860, + "id": 864, "initializationExpression": { "assignments": [ - 835 + 839 ], "declarations": [ { "constant": false, - "id": 835, + "id": 839, "mutability": "mutable", "name": "j", "nameLocation": "6370:1:1", "nodeType": "VariableDeclaration", - "scope": 860, + "scope": 864, "src": "6362:9:1", "stateVariable": false, "storageLocation": "default", @@ -8828,7 +8828,7 @@ "typeString": "uint256" }, "typeName": { - "id": 834, + "id": 838, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6362:7:1", @@ -8840,10 +8840,10 @@ "visibility": "internal" } ], - "id": 837, + "id": 841, "initialValue": { "hexValue": "31", - "id": 836, + "id": 840, "isConstant": false, "isLValue": false, "isPure": true, @@ -8862,7 +8862,7 @@ }, "loopExpression": { "expression": { - "id": 842, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, @@ -8872,11 +8872,11 @@ "prefix": false, "src": "6404:3:1", "subExpression": { - "id": 841, + "id": 845, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, + "referencedDeclaration": 839, "src": "6404:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8888,7 +8888,7 @@ "typeString": "uint256" } }, - "id": 843, + "id": 847, "nodeType": "ExpressionStatement", "src": "6404:3:1" }, @@ -8901,7 +8901,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 866, + "id": 870, "isConstant": false, "isLValue": false, "isPure": false, @@ -8909,24 +8909,24 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 861, + "id": 865, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "6624:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 863, + "id": 867, "indexExpression": { - "id": 862, + "id": 866, "name": "highestIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 835, "src": "6641:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8940,11 +8940,11 @@ "nodeType": "IndexAccess", "src": "6624:30:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 864, + "id": 868, "isConstant": false, "isLValue": true, "isPure": false, @@ -8952,7 +8952,7 @@ "memberLocation": "6655:14:1", "memberName": "totalSntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 352, + "referencedDeclaration": 356, "src": "6624:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8963,7 +8963,7 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 865, + "id": 869, "isConstant": false, "isLValue": false, "isPure": true, @@ -8983,16 +8983,16 @@ "typeString": "bool" } }, - "id": 869, + "id": 873, "nodeType": "IfStatement", "src": "6620:102:1", "trueBody": { - "id": 868, + "id": 872, "nodeType": "Block", "src": "6676:46:1", "statements": [ { - "id": 867, + "id": 871, "nodeType": "Break", "src": "6698:5:1" } @@ -9005,24 +9005,24 @@ { "expression": { "baseExpression": { - "id": 873, + "id": 877, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "6754:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 875, + "id": 879, "indexExpression": { - "id": 874, + "id": 878, "name": "highestIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 835, "src": "6771:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9036,11 +9036,11 @@ "nodeType": "IndexAccess", "src": "6754:30:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 876, + "id": 880, "isConstant": false, "isLValue": true, "isPure": false, @@ -9048,7 +9048,7 @@ "memberLocation": "6785:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 350, + "referencedDeclaration": 354, "src": "6754:40:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -9064,18 +9064,18 @@ } ], "expression": { - "id": 870, + "id": 874, "name": "featured", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 814, + "referencedDeclaration": 818, "src": "6740:8:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 872, + "id": 876, "isConstant": false, "isLValue": false, "isPure": false, @@ -9089,7 +9089,7 @@ "typeString": "function (bytes storage ref[] storage pointer,bytes storage ref)" } }, - "id": 877, + "id": 881, "isConstant": false, "isLValue": false, "isPure": false, @@ -9105,13 +9105,13 @@ "typeString": "tuple()" } }, - "id": 878, + "id": 882, "nodeType": "ExpressionStatement", "src": "6740:55:1" }, { "expression": { - "id": 884, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -9119,24 +9119,24 @@ "leftHandSide": { "expression": { "baseExpression": { - "id": 879, + "id": 883, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "6813:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 881, + "id": 885, "indexExpression": { - "id": 880, + "id": 884, "name": "highestIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 835, "src": "6830:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9150,11 +9150,11 @@ "nodeType": "IndexAccess", "src": "6813:30:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 882, + "id": 886, "isConstant": false, "isLValue": true, "isPure": false, @@ -9162,7 +9162,7 @@ "memberLocation": "6844:14:1", "memberName": "totalSntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 352, + "referencedDeclaration": 356, "src": "6813:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9173,7 +9173,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 883, + "id": 887, "isConstant": false, "isLValue": false, "isPure": true, @@ -9193,7 +9193,7 @@ "typeString": "uint256" } }, - "id": 885, + "id": 889, "nodeType": "ExpressionStatement", "src": "6813:49:1" } @@ -9204,17 +9204,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 826, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 824, + "id": 828, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 821, + "referencedDeclaration": 825, "src": "6263:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9224,11 +9224,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 825, + "id": 829, "name": "featuredPerVotingCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, + "referencedDeclaration": 409, "src": "6267:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9241,20 +9241,20 @@ "typeString": "bool" } }, - "id": 887, + "id": 891, "initializationExpression": { "assignments": [ - 821 + 825 ], "declarations": [ { "constant": false, - "id": 821, + "id": 825, "mutability": "mutable", "name": "i", "nameLocation": "6256:1:1", "nodeType": "VariableDeclaration", - "scope": 887, + "scope": 891, "src": "6248:9:1", "stateVariable": false, "storageLocation": "default", @@ -9263,7 +9263,7 @@ "typeString": "uint256" }, "typeName": { - "id": 820, + "id": 824, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6248:7:1", @@ -9275,10 +9275,10 @@ "visibility": "internal" } ], - "id": 823, + "id": 827, "initialValue": { "hexValue": "30", - "id": 822, + "id": 826, "isConstant": false, "isLValue": false, "isPure": true, @@ -9297,7 +9297,7 @@ }, "loopExpression": { "expression": { - "id": 828, + "id": 832, "isConstant": false, "isLValue": false, "isPure": false, @@ -9307,11 +9307,11 @@ "prefix": false, "src": "6291:3:1", "subExpression": { - "id": 827, + "id": 831, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 821, + "referencedDeclaration": 825, "src": "6291:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9323,7 +9323,7 @@ "typeString": "uint256" } }, - "id": 829, + "id": 833, "nodeType": "ExpressionStatement", "src": "6291:3:1" }, @@ -9334,11 +9334,11 @@ "expression": { "arguments": [ { - "id": 891, + "id": 895, "name": "featured", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 814, + "referencedDeclaration": 818, "src": "6924:8:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", @@ -9354,18 +9354,18 @@ } ], "expression": { - "id": 888, + "id": 892, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, + "referencedDeclaration": 400, "src": "6891:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 890, + "id": 894, "isConstant": false, "isLValue": false, "isPure": false, @@ -9373,14 +9373,14 @@ "memberLocation": "6901:22:1", "memberName": "setFeaturedCommunities", "nodeType": "MemberAccess", - "referencedDeclaration": 228, + "referencedDeclaration": 232, "src": "6891:32:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$returns$__$", "typeString": "function (bytes memory[] memory) external" } }, - "id": 892, + "id": 896, "isConstant": false, "isLValue": false, "isPure": false, @@ -9396,23 +9396,23 @@ "typeString": "tuple()" } }, - "id": 893, + "id": 897, "nodeType": "ExpressionStatement", "src": "6891:42:1" }, { "expression": { - "id": 896, + "id": 900, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 894, + "id": 898, "name": "communitiesVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, + "referencedDeclaration": 418, "src": "6996:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9423,7 +9423,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 895, + "id": 899, "isConstant": false, "isLValue": false, "isPure": true, @@ -9443,13 +9443,13 @@ "typeString": "uint256" } }, - "id": 897, + "id": 901, "nodeType": "ExpressionStatement", "src": "6996:25:1" }, { "expression": { - "id": 899, + "id": 903, "isConstant": false, "isLValue": false, "isPure": false, @@ -9459,14 +9459,14 @@ "prefix": true, "src": "7035:23:1", "subExpression": { - "id": 898, + "id": 902, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "7042:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, @@ -9475,7 +9475,7 @@ "typeString": "tuple()" } }, - "id": 900, + "id": 904, "nodeType": "ExpressionStatement", "src": "7035:23:1" }, @@ -9484,18 +9484,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 901, + "id": 905, "name": "VotingFinalized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 357, + "referencedDeclaration": 361, "src": "7078:15:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 902, + "id": 906, "isConstant": false, "isLValue": false, "isPure": false, @@ -9511,7 +9511,7 @@ "typeString": "tuple()" } }, - "id": 903, + "id": 907, "nodeType": "EmitStatement", "src": "7073:22:1" } @@ -9527,17 +9527,17 @@ "name": "finalizeVoting", "nameLocation": "5558:14:1", "parameters": { - "id": 731, + "id": 735, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 730, + "id": 734, "mutability": "mutable", "name": "limit", "nameLocation": "5580:5:1", "nodeType": "VariableDeclaration", - "scope": 907, + "scope": 911, "src": "5573:12:1", "stateVariable": false, "storageLocation": "default", @@ -9546,7 +9546,7 @@ "typeString": "uint32" }, "typeName": { - "id": 729, + "id": 733, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "5573:6:1", @@ -9561,23 +9561,23 @@ "src": "5572:14:1" }, "returnParameters": { - "id": 732, + "id": 736, "nodeType": "ParameterList", "parameters": [], "src": "5594:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 968, + "id": 972, "nodeType": "FunctionDefinition", "src": "7118:434:1", "nodes": [], "body": { - "id": 967, + "id": 971, "nodeType": "Block", "src": "7173:379:1", "nodes": [], @@ -9590,7 +9590,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 927, + "id": 931, "isConstant": false, "isLValue": false, "isPure": false, @@ -9600,25 +9600,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 918, + "id": 922, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 915, + "id": 919, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "7191:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 916, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -9636,7 +9636,7 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 917, + "id": 921, "isConstant": false, "isLValue": false, "isPure": true, @@ -9659,7 +9659,7 @@ "nodeType": "BinaryOperation", "operator": "&&", "rightExpression": { - "id": 926, + "id": 930, "isConstant": false, "isLValue": false, "isPure": false, @@ -9671,42 +9671,42 @@ "subExpression": { "expression": { "baseExpression": { - "id": 919, + "id": 923, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "7214:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 924, + "id": 928, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 920, + "id": 924, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "7222:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 921, + "id": 925, "isConstant": false, "isLValue": false, "isPure": false, @@ -9724,7 +9724,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 922, + "id": 926, "isConstant": false, "isLValue": false, "isPure": true, @@ -9751,11 +9751,11 @@ "nodeType": "IndexAccess", "src": "7214:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, - "id": 925, + "id": 929, "isConstant": false, "isLValue": true, "isPure": false, @@ -9763,7 +9763,7 @@ "memberLocation": "7242:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "7214:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9783,7 +9783,7 @@ }, { "hexValue": "6e6f206f6e676f696e6720766f7465", - "id": 928, + "id": 932, "isConstant": false, "isLValue": false, "isPure": true, @@ -9809,7 +9809,7 @@ "typeString": "literal_string \"no ongoing vote\"" } ], - "id": 914, + "id": 918, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9823,7 +9823,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 929, + "id": 933, "isConstant": false, "isLValue": false, "isPure": false, @@ -9839,23 +9839,23 @@ "typeString": "tuple()" } }, - "id": 930, + "id": 934, "nodeType": "ExpressionStatement", "src": "7183:88:1" }, { "assignments": [ - 932 + 936 ], "declarations": [ { "constant": false, - "id": 932, + "id": 936, "mutability": "mutable", "name": "successVotesCount", "nameLocation": "7289:17:1", "nodeType": "VariableDeclaration", - "scope": 967, + "scope": 971, "src": "7282:24:1", "stateVariable": false, "storageLocation": "default", @@ -9864,7 +9864,7 @@ "typeString": "uint32" }, "typeName": { - "id": 931, + "id": 935, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "7282:6:1", @@ -9876,10 +9876,10 @@ "visibility": "internal" } ], - "id": 934, + "id": 938, "initialValue": { "hexValue": "30", - "id": 933, + "id": 937, "isConstant": false, "isLValue": false, "isPure": true, @@ -9898,23 +9898,23 @@ }, { "body": { - "id": 961, + "id": 965, "nodeType": "Block", "src": "7363:140:1", "statements": [ { "assignments": [ - 947 + 951 ], "declarations": [ { "constant": false, - "id": 947, + "id": 951, "mutability": "mutable", "name": "success", "nameLocation": "7382:7:1", "nodeType": "VariableDeclaration", - "scope": 961, + "scope": 965, "src": "7377:12:1", "stateVariable": false, "storageLocation": "default", @@ -9923,7 +9923,7 @@ "typeString": "bool" }, "typeName": { - "id": 946, + "id": 950, "name": "bool", "nodeType": "ElementaryTypeName", "src": "7377:4:1", @@ -9935,29 +9935,29 @@ "visibility": "internal" } ], - "id": 953, + "id": 957, "initialValue": { "arguments": [ { "baseExpression": { - "id": 949, + "id": 953, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, + "referencedDeclaration": 915, "src": "7402:5:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$348_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$352_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata[] calldata" } }, - "id": 951, + "id": 955, "indexExpression": { - "id": 950, + "id": 954, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 936, + "referencedDeclaration": 940, "src": "7408:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9971,7 +9971,7 @@ "nodeType": "IndexAccess", "src": "7402:8:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } } @@ -9979,22 +9979,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } ], - "id": 948, + "id": 952, "name": "_castVote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1473, + "referencedDeclaration": 1477, "src": "7392:9:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$348_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$352_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct FeaturedVotingContract.SignedVote calldata) returns (bool)" } }, - "id": 952, + "id": 956, "isConstant": false, "isLValue": false, "isPure": false, @@ -10015,38 +10015,38 @@ }, { "condition": { - "id": 954, + "id": 958, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, + "referencedDeclaration": 951, "src": "7429:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 960, + "id": 964, "nodeType": "IfStatement", "src": "7425:68:1", "trueBody": { - "id": 959, + "id": 963, "nodeType": "Block", "src": "7438:55:1", "statements": [ { "expression": { - "id": 957, + "id": 961, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 955, + "id": 959, "name": "successVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 932, + "referencedDeclaration": 936, "src": "7456:17:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -10057,7 +10057,7 @@ "operator": "+=", "rightHandSide": { "hexValue": "31", - "id": 956, + "id": 960, "isConstant": false, "isLValue": false, "isPure": true, @@ -10077,7 +10077,7 @@ "typeString": "uint32" } }, - "id": 958, + "id": 962, "nodeType": "ExpressionStatement", "src": "7456:22:1" } @@ -10091,17 +10091,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 942, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 939, + "id": 943, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 936, + "referencedDeclaration": 940, "src": "7340:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10112,18 +10112,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 940, + "id": 944, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, + "referencedDeclaration": 915, "src": "7344:5:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$348_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$352_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata[] calldata" } }, - "id": 941, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -10143,20 +10143,20 @@ "typeString": "bool" } }, - "id": 962, + "id": 966, "initializationExpression": { "assignments": [ - 936 + 940 ], "declarations": [ { "constant": false, - "id": 936, + "id": 940, "mutability": "mutable", "name": "i", "nameLocation": "7333:1:1", "nodeType": "VariableDeclaration", - "scope": 962, + "scope": 966, "src": "7325:9:1", "stateVariable": false, "storageLocation": "default", @@ -10165,7 +10165,7 @@ "typeString": "uint256" }, "typeName": { - "id": 935, + "id": 939, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7325:7:1", @@ -10177,10 +10177,10 @@ "visibility": "internal" } ], - "id": 938, + "id": 942, "initialValue": { "hexValue": "30", - "id": 937, + "id": 941, "isConstant": false, "isLValue": false, "isPure": true, @@ -10199,7 +10199,7 @@ }, "loopExpression": { "expression": { - "id": 944, + "id": 948, "isConstant": false, "isLValue": false, "isPure": false, @@ -10209,11 +10209,11 @@ "prefix": false, "src": "7358:3:1", "subExpression": { - "id": 943, + "id": 947, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 936, + "referencedDeclaration": 940, "src": "7358:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10225,7 +10225,7 @@ "typeString": "uint256" } }, - "id": 945, + "id": 949, "nodeType": "ExpressionStatement", "src": "7358:3:1" }, @@ -10236,11 +10236,11 @@ "expression": { "arguments": [ { - "id": 964, + "id": 968, "name": "successVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 932, + "referencedDeclaration": 936, "src": "7527:17:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -10255,18 +10255,18 @@ "typeString": "uint32" } ], - "id": 963, + "id": 967, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, + "referencedDeclaration": 1319, "src": "7512:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint32_$returns$__$", "typeString": "function (uint32)" } }, - "id": 965, + "id": 969, "isConstant": false, "isLValue": false, "isPure": false, @@ -10282,7 +10282,7 @@ "typeString": "tuple()" } }, - "id": 966, + "id": 970, "nodeType": "ExpressionStatement", "src": "7512:33:1" } @@ -10295,50 +10295,50 @@ "name": "castVotes", "nameLocation": "7127:9:1", "parameters": { - "id": 912, + "id": 916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 911, + "id": 915, "mutability": "mutable", "name": "votes", "nameLocation": "7159:5:1", "nodeType": "VariableDeclaration", - "scope": 968, + "scope": 972, "src": "7137:27:1", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$348_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$352_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote[]" }, "typeName": { "baseType": { - "id": 909, + "id": 913, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 908, + "id": 912, "name": "SignedVote", "nameLocations": [ "7137:10:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "7137:10:1" }, - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "7137:10:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_storage_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" } }, - "id": 910, + "id": 914, "nodeType": "ArrayTypeName", "src": "7137:12:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$348_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$352_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.SignedVote[]" } }, @@ -10348,42 +10348,42 @@ "src": "7136:29:1" }, "returnParameters": { - "id": 913, + "id": 917, "nodeType": "ParameterList", "parameters": [], "src": "7173:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 978, + "id": 982, "nodeType": "FunctionDefinition", "src": "7558:91:1", "nodes": [], "body": { - "id": 977, + "id": 981, "nodeType": "Block", "src": "7618:31:1", "nodes": [], "statements": [ { "expression": { - "id": 975, + "id": 979, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "7635:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "functionReturnParameters": 974, - "id": 976, + "functionReturnParameters": 978, + "id": 980, "nodeType": "Return", "src": "7628:14:1" } @@ -10396,56 +10396,56 @@ "name": "getVotings", "nameLocation": "7567:10:1", "parameters": { - "id": 969, + "id": 973, "nodeType": "ParameterList", "parameters": [], "src": "7577:2:1" }, "returnParameters": { - "id": 974, + "id": 978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 973, + "id": 977, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 978, + "scope": 982, "src": "7601:15:1", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_memory_ptr_$dyn_memory_ptr", "typeString": "struct FeaturedVotingContract.Voting[]" }, "typeName": { "baseType": { - "id": 971, + "id": 975, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 970, + "id": 974, "name": "Voting", "nameLocations": [ "7601:6:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "7601:6:1" }, - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "7601:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" } }, - "id": 972, + "id": 976, "nodeType": "ArrayTypeName", "src": "7601:8:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting[]" } }, @@ -10454,18 +10454,18 @@ ], "src": "7600:17:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 992, + "id": 996, "nodeType": "FunctionDefinition", "src": "7655:131:1", "nodes": [], "body": { - "id": 991, + "id": 995, "nodeType": "Block", "src": "7737:49:1", "nodes": [], @@ -10473,24 +10473,24 @@ { "expression": { "baseExpression": { - "id": 987, + "id": 991, "name": "votesByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, + "referencedDeclaration": 428, "src": "7754:15:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote storage ref[] storage ref)" } }, - "id": 989, + "id": 993, "indexExpression": { - "id": 988, + "id": 992, "name": "votingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 980, + "referencedDeclaration": 984, "src": "7770:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10504,12 +10504,12 @@ "nodeType": "IndexAccess", "src": "7754:25:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage ref" } }, - "functionReturnParameters": 986, - "id": 990, + "functionReturnParameters": 990, + "id": 994, "nodeType": "Return", "src": "7747:32:1" } @@ -10522,17 +10522,17 @@ "name": "getVotesByVotingId", "nameLocation": "7664:18:1", "parameters": { - "id": 981, + "id": 985, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 980, + "id": 984, "mutability": "mutable", "name": "votingID", "nameLocation": "7691:8:1", "nodeType": "VariableDeclaration", - "scope": 992, + "scope": 996, "src": "7683:16:1", "stateVariable": false, "storageLocation": "default", @@ -10541,7 +10541,7 @@ "typeString": "uint256" }, "typeName": { - "id": 979, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7683:7:1", @@ -10556,50 +10556,50 @@ "src": "7682:18:1" }, "returnParameters": { - "id": 986, + "id": 990, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 985, + "id": 989, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 992, + "scope": 996, "src": "7722:13:1", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_memory_ptr_$dyn_memory_ptr", "typeString": "struct FeaturedVotingContract.Vote[]" }, "typeName": { "baseType": { - "id": 983, + "id": 987, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 982, + "id": 986, "name": "Vote", "nameLocations": [ "7722:4:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "7722:4:1" }, - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "7722:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote" } }, - "id": 984, + "id": 988, "nodeType": "ArrayTypeName", "src": "7722:6:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote[]" } }, @@ -10608,18 +10608,18 @@ ], "src": "7721:15:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 1009, + "id": 1013, "nodeType": "FunctionDefinition", "src": "7792:104:1", "nodes": [], "body": { - "id": 1008, + "id": 1012, "nodeType": "Block", "src": "7859:37:1", "nodes": [], @@ -10631,17 +10631,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1003, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1001, + "id": 1005, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 994, + "referencedDeclaration": 998, "src": "7876:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10651,11 +10651,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1002, + "id": 1006, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 996, + "referencedDeclaration": 1000, "src": "7880:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10669,18 +10669,18 @@ } }, "falseExpression": { - "id": 1005, + "id": 1009, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 996, + "referencedDeclaration": 1000, "src": "7888:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1006, + "id": 1010, "isConstant": false, "isLValue": false, "isPure": false, @@ -10688,11 +10688,11 @@ "nodeType": "Conditional", "src": "7876:13:1", "trueExpression": { - "id": 1004, + "id": 1008, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 994, + "referencedDeclaration": 998, "src": "7884:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10704,8 +10704,8 @@ "typeString": "uint256" } }, - "functionReturnParameters": 1000, - "id": 1007, + "functionReturnParameters": 1004, + "id": 1011, "nodeType": "Return", "src": "7869:20:1" } @@ -10717,17 +10717,17 @@ "name": "_min", "nameLocation": "7801:4:1", "parameters": { - "id": 997, + "id": 1001, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 994, + "id": 998, "mutability": "mutable", "name": "a", "nameLocation": "7814:1:1", "nodeType": "VariableDeclaration", - "scope": 1009, + "scope": 1013, "src": "7806:9:1", "stateVariable": false, "storageLocation": "default", @@ -10736,7 +10736,7 @@ "typeString": "uint256" }, "typeName": { - "id": 993, + "id": 997, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7806:7:1", @@ -10749,12 +10749,12 @@ }, { "constant": false, - "id": 996, + "id": 1000, "mutability": "mutable", "name": "b", "nameLocation": "7825:1:1", "nodeType": "VariableDeclaration", - "scope": 1009, + "scope": 1013, "src": "7817:9:1", "stateVariable": false, "storageLocation": "default", @@ -10763,7 +10763,7 @@ "typeString": "uint256" }, "typeName": { - "id": 995, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7817:7:1", @@ -10778,17 +10778,17 @@ "src": "7805:22:1" }, "returnParameters": { - "id": 1000, + "id": 1004, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 999, + "id": 1003, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1009, + "scope": 1013, "src": "7850:7:1", "stateVariable": false, "storageLocation": "default", @@ -10797,7 +10797,7 @@ "typeString": "uint256" }, "typeName": { - "id": 998, + "id": 1002, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7850:7:1", @@ -10811,18 +10811,18 @@ ], "src": "7849:9:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "pure", "virtual": false, "visibility": "private" }, { - "id": 1102, + "id": 1106, "nodeType": "FunctionDefinition", "src": "7902:733:1", "nodes": [], "body": { - "id": 1101, + "id": 1105, "nodeType": "Block", "src": "7983:652:1", "nodes": [], @@ -10833,25 +10833,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1019, + "id": 1023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1016, + "id": 1020, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "7997:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1017, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, @@ -10869,7 +10869,7 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1018, + "id": 1022, "isConstant": false, "isLValue": false, "isPure": true, @@ -10889,18 +10889,18 @@ "typeString": "bool" } }, - "id": 1023, + "id": 1027, "nodeType": "IfStatement", "src": "7993:62:1", "trueBody": { - "id": 1022, + "id": 1026, "nodeType": "Block", "src": "8018:37:1", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1020, + "id": 1024, "isConstant": false, "isLValue": false, "isPure": true, @@ -10914,8 +10914,8 @@ }, "value": "false" }, - "functionReturnParameters": 1015, - "id": 1021, + "functionReturnParameters": 1019, + "id": 1025, "nodeType": "Return", "src": "8032:12:1" } @@ -10924,17 +10924,17 @@ }, { "assignments": [ - 1025 + 1029 ], "declarations": [ { "constant": false, - "id": 1025, + "id": 1029, "mutability": "mutable", "name": "votingsCount", "nameLocation": "8113:12:1", "nodeType": "VariableDeclaration", - "scope": 1101, + "scope": 1105, "src": "8105:20:1", "stateVariable": false, "storageLocation": "default", @@ -10943,7 +10943,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1024, + "id": 1028, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8105:7:1", @@ -10955,47 +10955,47 @@ "visibility": "internal" } ], - "id": 1038, + "id": 1042, "initialValue": { "condition": { "expression": { "baseExpression": { - "id": 1026, + "id": 1030, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "8128:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1031, + "id": 1035, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1030, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1027, + "id": 1031, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "8136:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1028, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": false, @@ -11013,7 +11013,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1029, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": true, @@ -11040,11 +11040,11 @@ "nodeType": "IndexAccess", "src": "8128:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, - "id": 1032, + "id": 1036, "isConstant": false, "isLValue": true, "isPure": false, @@ -11052,7 +11052,7 @@ "memberLocation": "8156:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "8128:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11064,17 +11064,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1036, + "id": 1040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1034, + "id": 1038, "name": "cooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 407, + "referencedDeclaration": 411, "src": "8185:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11085,7 +11085,7 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1035, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": true, @@ -11105,7 +11105,7 @@ "typeString": "uint256" } }, - "id": 1037, + "id": 1041, "isConstant": false, "isLValue": false, "isPure": false, @@ -11113,11 +11113,11 @@ "nodeType": "Conditional", "src": "8128:75:1", "trueExpression": { - "id": 1033, + "id": 1037, "name": "cooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 407, + "referencedDeclaration": 411, "src": "8168:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11134,17 +11134,17 @@ }, { "expression": { - "id": 1045, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1039, + "id": 1043, "name": "votingsCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1025, + "referencedDeclaration": 1029, "src": "8213:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11157,18 +11157,18 @@ "arguments": [ { "expression": { - "id": 1041, + "id": 1045, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "8233:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1042, + "id": 1046, "isConstant": false, "isLValue": false, "isPure": false, @@ -11183,11 +11183,11 @@ } }, { - "id": 1043, + "id": 1047, "name": "votingsCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1025, + "referencedDeclaration": 1029, "src": "8249:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11206,18 +11206,18 @@ "typeString": "uint256" } ], - "id": 1040, + "id": 1044, "name": "_min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1009, + "referencedDeclaration": 1013, "src": "8228:4:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1044, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": false, @@ -11239,29 +11239,29 @@ "typeString": "uint256" } }, - "id": 1046, + "id": 1050, "nodeType": "ExpressionStatement", "src": "8213:49:1" }, { "body": { - "id": 1097, + "id": 1101, "nodeType": "Block", "src": "8315:292:1", "statements": [ { "assignments": [ - 1061 + 1065 ], "declarations": [ { "constant": false, - "id": 1061, + "id": 1065, "mutability": "mutable", "name": "featured", "nameLocation": "8345:8:1", "nodeType": "VariableDeclaration", - "scope": 1097, + "scope": 1101, "src": "8329:24:1", "stateVariable": false, "storageLocation": "storage", @@ -11271,7 +11271,7 @@ }, "typeName": { "baseType": { - "id": 1059, + "id": 1063, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "8329:5:1", @@ -11280,7 +11280,7 @@ "typeString": "bytes" } }, - "id": 1060, + "id": 1064, "nodeType": "ArrayTypeName", "src": "8329:7:1", "typeDescriptions": { @@ -11291,42 +11291,42 @@ "visibility": "internal" } ], - "id": 1073, + "id": 1077, "initialValue": { "baseExpression": { - "id": 1062, + "id": 1066, "name": "featuredByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 429, + "referencedDeclaration": 433, "src": "8356:18:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes_storage_$dyn_storage_$", "typeString": "mapping(uint256 => bytes storage ref[] storage ref)" } }, - "id": 1072, + "id": 1076, "indexExpression": { "expression": { "baseExpression": { - "id": 1063, + "id": 1067, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "8375:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1070, + "id": 1074, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1069, + "id": 1073, "isConstant": false, "isLValue": false, "isPure": false, @@ -11336,25 +11336,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1067, + "id": 1071, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1064, + "id": 1068, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "8383:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1065, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": false, @@ -11371,11 +11371,11 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1066, + "id": 1070, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1048, + "referencedDeclaration": 1052, "src": "8400:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11392,7 +11392,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1068, + "id": 1072, "isConstant": false, "isLValue": false, "isPure": true, @@ -11419,11 +11419,11 @@ "nodeType": "IndexAccess", "src": "8375:31:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, - "id": 1071, + "id": 1075, "isConstant": false, "isLValue": true, "isPure": false, @@ -11431,7 +11431,7 @@ "memberLocation": "8407:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "8375:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11454,7 +11454,7 @@ }, { "body": { - "id": 1095, + "id": 1099, "nodeType": "Block", "src": "8470:127:1", "statements": [ @@ -11463,24 +11463,24 @@ "arguments": [ { "baseExpression": { - "id": 1086, + "id": 1090, "name": "featured", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1061, + "referencedDeclaration": 1065, "src": "8506:8:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 1088, + "id": 1092, "indexExpression": { - "id": 1087, + "id": 1091, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1075, + "referencedDeclaration": 1079, "src": "8515:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11499,11 +11499,11 @@ } }, { - "id": 1089, + "id": 1093, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1011, + "referencedDeclaration": 1015, "src": "8519:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -11522,18 +11522,18 @@ "typeString": "bytes calldata" } ], - "id": 1085, + "id": 1089, "name": "_compareBytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1147, + "referencedDeclaration": 1151, "src": "8492:13:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory,bytes memory) pure returns (bool)" } }, - "id": 1090, + "id": 1094, "isConstant": false, "isLValue": false, "isPure": false, @@ -11549,18 +11549,18 @@ "typeString": "bool" } }, - "id": 1094, + "id": 1098, "nodeType": "IfStatement", "src": "8488:95:1", "trueBody": { - "id": 1093, + "id": 1097, "nodeType": "Block", "src": "8531:52:1", "statements": [ { "expression": { "hexValue": "74727565", - "id": 1091, + "id": 1095, "isConstant": false, "isLValue": false, "isPure": true, @@ -11574,8 +11574,8 @@ }, "value": "true" }, - "functionReturnParameters": 1015, - "id": 1092, + "functionReturnParameters": 1019, + "id": 1096, "nodeType": "Return", "src": "8553:11:1" } @@ -11589,17 +11589,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1081, + "id": 1085, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1078, + "id": 1082, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1075, + "referencedDeclaration": 1079, "src": "8444:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11610,18 +11610,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1079, + "id": 1083, "name": "featured", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1061, + "referencedDeclaration": 1065, "src": "8448:8:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr", "typeString": "bytes storage ref[] storage pointer" } }, - "id": 1080, + "id": 1084, "isConstant": false, "isLValue": false, "isPure": false, @@ -11641,20 +11641,20 @@ "typeString": "bool" } }, - "id": 1096, + "id": 1100, "initializationExpression": { "assignments": [ - 1075 + 1079 ], "declarations": [ { "constant": false, - "id": 1075, + "id": 1079, "mutability": "mutable", "name": "j", "nameLocation": "8437:1:1", "nodeType": "VariableDeclaration", - "scope": 1096, + "scope": 1100, "src": "8429:9:1", "stateVariable": false, "storageLocation": "default", @@ -11663,7 +11663,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1074, + "id": 1078, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8429:7:1", @@ -11675,10 +11675,10 @@ "visibility": "internal" } ], - "id": 1077, + "id": 1081, "initialValue": { "hexValue": "30", - "id": 1076, + "id": 1080, "isConstant": false, "isLValue": false, "isPure": true, @@ -11697,7 +11697,7 @@ }, "loopExpression": { "expression": { - "id": 1083, + "id": 1087, "isConstant": false, "isLValue": false, "isPure": false, @@ -11707,11 +11707,11 @@ "prefix": false, "src": "8465:3:1", "subExpression": { - "id": 1082, + "id": 1086, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1075, + "referencedDeclaration": 1079, "src": "8465:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11723,7 +11723,7 @@ "typeString": "uint256" } }, - "id": 1084, + "id": 1088, "nodeType": "ExpressionStatement", "src": "8465:3:1" }, @@ -11737,17 +11737,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 1057, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 1055, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1048, + "referencedDeclaration": 1052, "src": "8292:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11757,11 +11757,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1052, + "id": 1056, "name": "votingsCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1025, + "referencedDeclaration": 1029, "src": "8296:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11774,20 +11774,20 @@ "typeString": "bool" } }, - "id": 1098, + "id": 1102, "initializationExpression": { "assignments": [ - 1048 + 1052 ], "declarations": [ { "constant": false, - "id": 1048, + "id": 1052, "mutability": "mutable", "name": "i", "nameLocation": "8285:1:1", "nodeType": "VariableDeclaration", - "scope": 1098, + "scope": 1102, "src": "8277:9:1", "stateVariable": false, "storageLocation": "default", @@ -11796,7 +11796,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 1051, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8277:7:1", @@ -11808,10 +11808,10 @@ "visibility": "internal" } ], - "id": 1050, + "id": 1054, "initialValue": { "hexValue": "30", - "id": 1049, + "id": 1053, "isConstant": false, "isLValue": false, "isPure": true, @@ -11830,7 +11830,7 @@ }, "loopExpression": { "expression": { - "id": 1055, + "id": 1059, "isConstant": false, "isLValue": false, "isPure": false, @@ -11840,11 +11840,11 @@ "prefix": false, "src": "8310:3:1", "subExpression": { - "id": 1054, + "id": 1058, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1048, + "referencedDeclaration": 1052, "src": "8310:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11856,7 +11856,7 @@ "typeString": "uint256" } }, - "id": 1056, + "id": 1060, "nodeType": "ExpressionStatement", "src": "8310:3:1" }, @@ -11866,7 +11866,7 @@ { "expression": { "hexValue": "66616c7365", - "id": 1099, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": true, @@ -11880,8 +11880,8 @@ }, "value": "false" }, - "functionReturnParameters": 1015, - "id": 1100, + "functionReturnParameters": 1019, + "id": 1104, "nodeType": "Return", "src": "8616:12:1" } @@ -11894,17 +11894,17 @@ "name": "isInCooldownPeriod", "nameLocation": "7911:18:1", "parameters": { - "id": 1012, + "id": 1016, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1011, + "id": 1015, "mutability": "mutable", "name": "publicKey", "nameLocation": "7945:9:1", "nodeType": "VariableDeclaration", - "scope": 1102, + "scope": 1106, "src": "7930:24:1", "stateVariable": false, "storageLocation": "calldata", @@ -11913,7 +11913,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1010, + "id": 1014, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "7930:5:1", @@ -11928,17 +11928,17 @@ "src": "7929:26:1" }, "returnParameters": { - "id": 1015, + "id": 1019, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1014, + "id": 1018, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1102, + "scope": 1106, "src": "7977:4:1", "stateVariable": false, "storageLocation": "default", @@ -11947,7 +11947,7 @@ "typeString": "bool" }, "typeName": { - "id": 1013, + "id": 1017, "name": "bool", "nodeType": "ElementaryTypeName", "src": "7977:4:1", @@ -11961,18 +11961,18 @@ ], "src": "7976:6:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 1147, + "id": 1151, "nodeType": "FunctionDefinition", "src": "8641:318:1", "nodes": [], "body": { - "id": 1146, + "id": 1150, "nodeType": "Block", "src": "8724:235:1", "nodes": [], @@ -11983,25 +11983,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1115, + "id": 1119, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1111, + "id": 1115, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1104, + "referencedDeclaration": 1108, "src": "8738:1:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1112, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -12019,18 +12019,18 @@ "operator": "!=", "rightExpression": { "expression": { - "id": 1113, + "id": 1117, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1106, + "referencedDeclaration": 1110, "src": "8750:1:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1114, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -12050,18 +12050,18 @@ "typeString": "bool" } }, - "id": 1119, + "id": 1123, "nodeType": "IfStatement", "src": "8734:63:1", "trueBody": { - "id": 1118, + "id": 1122, "nodeType": "Block", "src": "8760:37:1", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1116, + "id": 1120, "isConstant": false, "isLValue": false, "isPure": true, @@ -12075,8 +12075,8 @@ }, "value": "false" }, - "functionReturnParameters": 1110, - "id": 1117, + "functionReturnParameters": 1114, + "id": 1121, "nodeType": "Return", "src": "8774:12:1" } @@ -12085,7 +12085,7 @@ }, { "body": { - "id": 1142, + "id": 1146, "nodeType": "Block", "src": "8845:87:1", "statements": [ @@ -12095,31 +12095,31 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1137, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 1131, + "id": 1135, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1104, + "referencedDeclaration": 1108, "src": "8863:1:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1133, + "id": 1137, "indexExpression": { - "id": 1132, + "id": 1136, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1121, + "referencedDeclaration": 1125, "src": "8865:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12141,24 +12141,24 @@ "operator": "!=", "rightExpression": { "baseExpression": { - "id": 1134, + "id": 1138, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1106, + "referencedDeclaration": 1110, "src": "8871:1:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1136, + "id": 1140, "indexExpression": { - "id": 1135, + "id": 1139, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1121, + "referencedDeclaration": 1125, "src": "8873:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12182,18 +12182,18 @@ "typeString": "bool" } }, - "id": 1141, + "id": 1145, "nodeType": "IfStatement", "src": "8859:63:1", "trueBody": { - "id": 1140, + "id": 1144, "nodeType": "Block", "src": "8877:45:1", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1138, + "id": 1142, "isConstant": false, "isLValue": false, "isPure": true, @@ -12207,8 +12207,8 @@ }, "value": "false" }, - "functionReturnParameters": 1110, - "id": 1139, + "functionReturnParameters": 1114, + "id": 1143, "nodeType": "Return", "src": "8895:12:1" } @@ -12222,17 +12222,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1127, + "id": 1131, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1124, + "id": 1128, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1121, + "referencedDeclaration": 1125, "src": "8826:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12243,18 +12243,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1125, + "id": 1129, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1104, + "referencedDeclaration": 1108, "src": "8830:1:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1126, + "id": 1130, "isConstant": false, "isLValue": false, "isPure": false, @@ -12274,20 +12274,20 @@ "typeString": "bool" } }, - "id": 1143, + "id": 1147, "initializationExpression": { "assignments": [ - 1121 + 1125 ], "declarations": [ { "constant": false, - "id": 1121, + "id": 1125, "mutability": "mutable", "name": "i", "nameLocation": "8819:1:1", "nodeType": "VariableDeclaration", - "scope": 1143, + "scope": 1147, "src": "8811:9:1", "stateVariable": false, "storageLocation": "default", @@ -12296,7 +12296,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1120, + "id": 1124, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8811:7:1", @@ -12308,10 +12308,10 @@ "visibility": "internal" } ], - "id": 1123, + "id": 1127, "initialValue": { "hexValue": "30", - "id": 1122, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": true, @@ -12330,7 +12330,7 @@ }, "loopExpression": { "expression": { - "id": 1129, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": false, @@ -12340,11 +12340,11 @@ "prefix": false, "src": "8840:3:1", "subExpression": { - "id": 1128, + "id": 1132, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1121, + "referencedDeclaration": 1125, "src": "8840:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12356,7 +12356,7 @@ "typeString": "uint256" } }, - "id": 1130, + "id": 1134, "nodeType": "ExpressionStatement", "src": "8840:3:1" }, @@ -12366,7 +12366,7 @@ { "expression": { "hexValue": "74727565", - "id": 1144, + "id": 1148, "isConstant": false, "isLValue": false, "isPure": true, @@ -12380,8 +12380,8 @@ }, "value": "true" }, - "functionReturnParameters": 1110, - "id": 1145, + "functionReturnParameters": 1114, + "id": 1149, "nodeType": "Return", "src": "8941:11:1" } @@ -12393,17 +12393,17 @@ "name": "_compareBytes", "nameLocation": "8650:13:1", "parameters": { - "id": 1107, + "id": 1111, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1104, + "id": 1108, "mutability": "mutable", "name": "a", "nameLocation": "8677:1:1", "nodeType": "VariableDeclaration", - "scope": 1147, + "scope": 1151, "src": "8664:14:1", "stateVariable": false, "storageLocation": "memory", @@ -12412,7 +12412,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1103, + "id": 1107, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "8664:5:1", @@ -12425,12 +12425,12 @@ }, { "constant": false, - "id": 1106, + "id": 1110, "mutability": "mutable", "name": "b", "nameLocation": "8693:1:1", "nodeType": "VariableDeclaration", - "scope": 1147, + "scope": 1151, "src": "8680:14:1", "stateVariable": false, "storageLocation": "memory", @@ -12439,7 +12439,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1105, + "id": 1109, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "8680:5:1", @@ -12454,17 +12454,17 @@ "src": "8663:32:1" }, "returnParameters": { - "id": 1110, + "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1109, + "id": 1113, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1147, + "scope": 1151, "src": "8718:4:1", "stateVariable": false, "storageLocation": "default", @@ -12473,7 +12473,7 @@ "typeString": "bool" }, "typeName": { - "id": 1108, + "id": 1112, "name": "bool", "nodeType": "ElementaryTypeName", "src": "8718:4:1", @@ -12487,104 +12487,104 @@ ], "src": "8717:6:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "pure", "virtual": false, "visibility": "private" }, { - "id": 1315, + "id": 1319, "nodeType": "FunctionDefinition", "src": "8965:1540:1", "nodes": [], "body": { - "id": 1314, + "id": 1318, "nodeType": "Block", "src": "9011:1494:1", "nodes": [], "statements": [ { "assignments": [ - 1154 + 1158 ], "declarations": [ { "constant": false, - "id": 1154, + "id": 1158, "mutability": "mutable", "name": "voting", "nameLocation": "9036:6:1", "nodeType": "VariableDeclaration", - "scope": 1314, + "scope": 1318, "src": "9021:21:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" }, "typeName": { - "id": 1153, + "id": 1157, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1152, + "id": 1156, "name": "Voting", "nameLocations": [ "9021:6:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "9021:6:1" }, - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "9021:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" } }, "visibility": "internal" } ], - "id": 1161, + "id": 1165, "initialValue": { "baseExpression": { - "id": 1155, + "id": 1159, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "9045:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1160, + "id": 1164, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1159, + "id": 1163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1156, + "id": 1160, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "9053:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1157, + "id": 1161, "isConstant": false, "isLValue": false, "isPure": false, @@ -12602,7 +12602,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1158, + "id": 1162, "isConstant": false, "isLValue": false, "isPure": true, @@ -12629,7 +12629,7 @@ "nodeType": "IndexAccess", "src": "9045:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, @@ -12638,85 +12638,85 @@ }, { "assignments": [ - 1166 + 1170 ], "declarations": [ { "constant": false, - "id": 1166, + "id": 1170, "mutability": "mutable", "name": "votes", "nameLocation": "9097:5:1", "nodeType": "VariableDeclaration", - "scope": 1314, + "scope": 1318, "src": "9082:20:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote[]" }, "typeName": { "baseType": { - "id": 1164, + "id": 1168, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1163, + "id": 1167, "name": "Vote", "nameLocations": [ "9082:4:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "9082:4:1" }, - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "9082:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote" } }, - "id": 1165, + "id": 1169, "nodeType": "ArrayTypeName", "src": "9082:6:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote[]" } }, "visibility": "internal" } ], - "id": 1171, + "id": 1175, "initialValue": { "baseExpression": { - "id": 1167, + "id": 1171, "name": "votesByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, + "referencedDeclaration": 428, "src": "9105:15:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote storage ref[] storage ref)" } }, - "id": 1170, + "id": 1174, "indexExpression": { "expression": { - "id": 1168, + "id": 1172, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "9121:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1169, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, @@ -12724,7 +12724,7 @@ "memberLocation": "9128:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "9121:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12738,7 +12738,7 @@ "nodeType": "IndexAccess", "src": "9105:26:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage ref" } }, @@ -12753,17 +12753,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1179, + "id": 1183, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1173, + "id": 1177, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1149, + "referencedDeclaration": 1153, "src": "9150:5:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12777,25 +12777,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1178, + "id": 1182, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1174, + "id": 1178, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1166, + "referencedDeclaration": 1170, "src": "9159:5:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage pointer" } }, - "id": 1175, + "id": 1179, "isConstant": false, "isLValue": false, "isPure": false, @@ -12813,18 +12813,18 @@ "operator": "-", "rightExpression": { "expression": { - "id": 1176, + "id": 1180, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "9174:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1177, + "id": 1181, "isConstant": false, "isLValue": true, "isPure": false, @@ -12832,7 +12832,7 @@ "memberLocation": "9181:13:1", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 323, + "referencedDeclaration": 327, "src": "9174:20:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12853,7 +12853,7 @@ }, { "hexValue": "6c696d69742069732067726561746572207468616e20766f746573206c656e677468", - "id": 1180, + "id": 1184, "isConstant": false, "isLValue": false, "isPure": true, @@ -12879,7 +12879,7 @@ "typeString": "literal_string \"limit is greater than votes length\"" } ], - "id": 1172, + "id": 1176, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -12893,7 +12893,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 1181, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, @@ -12909,23 +12909,23 @@ "typeString": "tuple()" } }, - "id": 1182, + "id": 1186, "nodeType": "ExpressionStatement", "src": "9142:91:1" }, { "assignments": [ - 1184 + 1188 ], "declarations": [ { "constant": false, - "id": 1184, + "id": 1188, "mutability": "mutable", "name": "balanceOfAtBlock", "nameLocation": "9372:16:1", "nodeType": "VariableDeclaration", - "scope": 1314, + "scope": 1318, "src": "9364:24:1", "stateVariable": false, "storageLocation": "default", @@ -12934,7 +12934,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1183, + "id": 1187, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "9364:7:1", @@ -12946,10 +12946,10 @@ "visibility": "internal" } ], - "id": 1187, + "id": 1191, "initialValue": { "expression": { - "id": 1185, + "id": 1189, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -12960,7 +12960,7 @@ "typeString": "block" } }, - "id": 1186, + "id": 1190, "isConstant": false, "isLValue": false, "isPure": false, @@ -12980,18 +12980,18 @@ { "condition": { "expression": { - "id": 1188, + "id": 1192, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "9418:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1189, + "id": 1193, "isConstant": false, "isLValue": true, "isPure": false, @@ -12999,34 +12999,34 @@ "memberLocation": "9425:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "9418:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1196, + "id": 1200, "nodeType": "IfStatement", "src": "9414:81:1", "trueBody": { - "id": 1195, + "id": 1199, "nodeType": "Block", "src": "9436:59:1", "statements": [ { "expression": { - "id": 1193, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1190, + "id": 1194, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1184, + "referencedDeclaration": 1188, "src": "9450:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13037,18 +13037,18 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 1191, + "id": 1195, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "9469:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1192, + "id": 1196, "isConstant": false, "isLValue": true, "isPure": false, @@ -13056,7 +13056,7 @@ "memberLocation": "9476:8:1", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 327, + "referencedDeclaration": 331, "src": "9469:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13069,7 +13069,7 @@ "typeString": "uint256" } }, - "id": 1194, + "id": 1198, "nodeType": "ExpressionStatement", "src": "9450:34:1" } @@ -13078,17 +13078,17 @@ }, { "assignments": [ - 1198 + 1202 ], "declarations": [ { "constant": false, - "id": 1198, + "id": 1202, "mutability": "mutable", "name": "i", "nameLocation": "9512:1:1", "nodeType": "VariableDeclaration", - "scope": 1314, + "scope": 1318, "src": "9505:8:1", "stateVariable": false, "storageLocation": "default", @@ -13097,7 +13097,7 @@ "typeString": "uint32" }, "typeName": { - "id": 1197, + "id": 1201, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "9505:6:1", @@ -13109,10 +13109,10 @@ "visibility": "internal" } ], - "id": 1200, + "id": 1204, "initialValue": { "hexValue": "30", - "id": 1199, + "id": 1203, "isConstant": false, "isLValue": false, "isPure": true, @@ -13131,92 +13131,92 @@ }, { "body": { - "id": 1293, + "id": 1297, "nodeType": "Block", "src": "9550:814:1", "statements": [ { "assignments": [ - 1209 + 1213 ], "declarations": [ { "constant": false, - "id": 1209, + "id": 1213, "mutability": "mutable", "name": "vote", "nameLocation": "9577:4:1", "nodeType": "VariableDeclaration", - "scope": 1293, + "scope": 1297, "src": "9564:17:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote" }, "typeName": { - "id": 1208, + "id": 1212, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1207, + "id": 1211, "name": "Vote", "nameLocations": [ "9564:4:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "9564:4:1" }, - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "9564:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote" } }, "visibility": "internal" } ], - "id": 1216, + "id": 1220, "initialValue": { "baseExpression": { - "id": 1210, + "id": 1214, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1166, + "referencedDeclaration": 1170, "src": "9584:5:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage pointer" } }, - "id": 1215, + "id": 1219, "indexExpression": { "commonType": { "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 1214, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1211, + "id": 1215, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "9590:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1212, + "id": 1216, "isConstant": false, "isLValue": true, "isPure": false, @@ -13224,7 +13224,7 @@ "memberLocation": "9597:13:1", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 323, + "referencedDeclaration": 327, "src": "9590:20:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -13234,11 +13234,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 1213, + "id": 1217, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1198, + "referencedDeclaration": 1202, "src": "9613:1:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -13258,7 +13258,7 @@ "nodeType": "IndexAccess", "src": "9584:31:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage", + "typeIdentifier": "t_struct$_Vote_$339_storage", "typeString": "struct FeaturedVotingContract.Vote storage ref" } }, @@ -13271,7 +13271,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1225, + "id": 1229, "isConstant": false, "isLValue": false, "isPure": false, @@ -13280,18 +13280,18 @@ "arguments": [ { "expression": { - "id": 1219, + "id": 1223, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "9651:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1220, + "id": 1224, "isConstant": false, "isLValue": true, "isPure": false, @@ -13299,7 +13299,7 @@ "memberLocation": "9656:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 330, + "referencedDeclaration": 334, "src": "9651:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -13307,11 +13307,11 @@ } }, { - "id": 1221, + "id": 1225, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1184, + "referencedDeclaration": 1188, "src": "9663:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13331,18 +13331,18 @@ } ], "expression": { - "id": 1217, + "id": 1221, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 399, + "referencedDeclaration": 403, "src": "9633:5:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, - "id": 1218, + "id": 1222, "isConstant": false, "isLValue": false, "isPure": false, @@ -13350,14 +13350,14 @@ "memberLocation": "9639:11:1", "memberName": "balanceOfAt", "nodeType": "MemberAccess", - "referencedDeclaration": 32608, + "referencedDeclaration": 32928, "src": "9633:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view external returns (uint256)" } }, - "id": 1222, + "id": 1226, "isConstant": false, "isLValue": false, "isPure": false, @@ -13377,18 +13377,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1223, + "id": 1227, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "9683:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1224, + "id": 1228, "isConstant": false, "isLValue": true, "isPure": false, @@ -13396,7 +13396,7 @@ "memberLocation": "9688:9:1", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 334, + "referencedDeclaration": 338, "src": "9683:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13409,11 +13409,11 @@ "typeString": "bool" } }, - "id": 1235, + "id": 1239, "nodeType": "IfStatement", "src": "9629:176:1", "trueBody": { - "id": 1234, + "id": 1238, "nodeType": "Block", "src": "9699:106:1", "statements": [ @@ -13422,18 +13422,18 @@ "arguments": [ { "expression": { - "id": 1227, + "id": 1231, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "9737:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1228, + "id": 1232, "isConstant": false, "isLValue": true, "isPure": false, @@ -13441,7 +13441,7 @@ "memberLocation": "9742:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 332, + "referencedDeclaration": 336, "src": "9737:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -13450,18 +13450,18 @@ }, { "expression": { - "id": 1229, + "id": 1233, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "9753:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1230, + "id": 1234, "isConstant": false, "isLValue": true, "isPure": false, @@ -13469,7 +13469,7 @@ "memberLocation": "9758:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 330, + "referencedDeclaration": 334, "src": "9753:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -13488,18 +13488,18 @@ "typeString": "address" } ], - "id": 1226, + "id": 1230, "name": "NotEnoughToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 369, + "referencedDeclaration": 373, "src": "9722:14:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1231, + "id": 1235, "isConstant": false, "isLValue": false, "isPure": false, @@ -13515,12 +13515,12 @@ "typeString": "tuple()" } }, - "id": 1232, + "id": 1236, "nodeType": "EmitStatement", "src": "9717:47:1" }, { - "id": 1233, + "id": 1237, "nodeType": "Continue", "src": "9782:8:1" } @@ -13529,17 +13529,17 @@ }, { "assignments": [ - 1237 + 1241 ], "declarations": [ { "constant": false, - "id": 1237, + "id": 1241, "mutability": "mutable", "name": "found", "nameLocation": "9824:5:1", "nodeType": "VariableDeclaration", - "scope": 1293, + "scope": 1297, "src": "9819:10:1", "stateVariable": false, "storageLocation": "default", @@ -13548,7 +13548,7 @@ "typeString": "bool" }, "typeName": { - "id": 1236, + "id": 1240, "name": "bool", "nodeType": "ElementaryTypeName", "src": "9819:4:1", @@ -13560,10 +13560,10 @@ "visibility": "internal" } ], - "id": 1239, + "id": 1243, "initialValue": { "hexValue": "66616c7365", - "id": 1238, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": true, @@ -13582,7 +13582,7 @@ }, { "body": { - "id": 1273, + "id": 1277, "nodeType": "Block", "src": "9903:252:1", "statements": [ @@ -13591,18 +13591,18 @@ "arguments": [ { "expression": { - "id": 1251, + "id": 1255, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "9939:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1252, + "id": 1256, "isConstant": false, "isLValue": true, "isPure": false, @@ -13610,7 +13610,7 @@ "memberLocation": "9944:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 332, + "referencedDeclaration": 336, "src": "9939:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -13620,24 +13620,24 @@ { "expression": { "baseExpression": { - "id": 1253, + "id": 1257, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "9955:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 1255, + "id": 1259, "indexExpression": { - "id": 1254, + "id": 1258, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1241, + "referencedDeclaration": 1245, "src": "9972:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13651,11 +13651,11 @@ "nodeType": "IndexAccess", "src": "9955:19:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 1256, + "id": 1260, "isConstant": false, "isLValue": true, "isPure": false, @@ -13663,7 +13663,7 @@ "memberLocation": "9975:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 350, + "referencedDeclaration": 354, "src": "9955:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -13682,18 +13682,18 @@ "typeString": "bytes storage ref" } ], - "id": 1250, + "id": 1254, "name": "_compareBytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1147, + "referencedDeclaration": 1151, "src": "9925:13:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory,bytes memory) pure returns (bool)" } }, - "id": 1257, + "id": 1261, "isConstant": false, "isLValue": false, "isPure": false, @@ -13709,17 +13709,17 @@ "typeString": "bool" } }, - "id": 1272, + "id": 1276, "nodeType": "IfStatement", "src": "9921:220:1", "trueBody": { - "id": 1271, + "id": 1275, "nodeType": "Block", "src": "9987:154:1", "statements": [ { "expression": { - "id": 1264, + "id": 1268, "isConstant": false, "isLValue": false, "isPure": false, @@ -13727,24 +13727,24 @@ "leftHandSide": { "expression": { "baseExpression": { - "id": 1258, + "id": 1262, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "10009:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 1260, + "id": 1264, "indexExpression": { - "id": 1259, + "id": 1263, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1241, + "referencedDeclaration": 1245, "src": "10026:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13758,11 +13758,11 @@ "nodeType": "IndexAccess", "src": "10009:19:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_storage", + "typeIdentifier": "t_struct$_CommunityVotes_$357_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref" } }, - "id": 1261, + "id": 1265, "isConstant": false, "isLValue": true, "isPure": false, @@ -13770,7 +13770,7 @@ "memberLocation": "10029:14:1", "memberName": "totalSntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 352, + "referencedDeclaration": 356, "src": "10009:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13781,18 +13781,18 @@ "operator": "+=", "rightHandSide": { "expression": { - "id": 1262, + "id": 1266, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "10047:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1263, + "id": 1267, "isConstant": false, "isLValue": true, "isPure": false, @@ -13800,7 +13800,7 @@ "memberLocation": "10052:9:1", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 334, + "referencedDeclaration": 338, "src": "10047:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13813,23 +13813,23 @@ "typeString": "uint256" } }, - "id": 1265, + "id": 1269, "nodeType": "ExpressionStatement", "src": "10009:52:1" }, { "expression": { - "id": 1268, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1266, + "id": 1270, "name": "found", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1237, + "referencedDeclaration": 1241, "src": "10083:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -13840,7 +13840,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1267, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": true, @@ -13860,12 +13860,12 @@ "typeString": "bool" } }, - "id": 1269, + "id": 1273, "nodeType": "ExpressionStatement", "src": "10083:12:1" }, { - "id": 1270, + "id": 1274, "nodeType": "Break", "src": "10117:5:1" } @@ -13879,17 +13879,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1246, + "id": 1250, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1244, + "id": 1248, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1241, + "referencedDeclaration": 1245, "src": "9871:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13899,11 +13899,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1245, + "id": 1249, "name": "communitiesVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, + "referencedDeclaration": 418, "src": "9875:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13916,20 +13916,20 @@ "typeString": "bool" } }, - "id": 1274, + "id": 1278, "initializationExpression": { "assignments": [ - 1241 + 1245 ], "declarations": [ { "constant": false, - "id": 1241, + "id": 1245, "mutability": "mutable", "name": "j", "nameLocation": "9864:1:1", "nodeType": "VariableDeclaration", - "scope": 1274, + "scope": 1278, "src": "9856:9:1", "stateVariable": false, "storageLocation": "default", @@ -13938,7 +13938,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1240, + "id": 1244, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "9856:7:1", @@ -13950,10 +13950,10 @@ "visibility": "internal" } ], - "id": 1243, + "id": 1247, "initialValue": { "hexValue": "30", - "id": 1242, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": true, @@ -13972,7 +13972,7 @@ }, "loopExpression": { "expression": { - "id": 1248, + "id": 1252, "isConstant": false, "isLValue": false, "isPure": false, @@ -13982,11 +13982,11 @@ "prefix": false, "src": "9898:3:1", "subExpression": { - "id": 1247, + "id": 1251, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1241, + "referencedDeclaration": 1245, "src": "9898:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13998,7 +13998,7 @@ "typeString": "uint256" } }, - "id": 1249, + "id": 1253, "nodeType": "ExpressionStatement", "src": "9898:3:1" }, @@ -14007,7 +14007,7 @@ }, { "condition": { - "id": 1276, + "id": 1280, "isConstant": false, "isLValue": false, "isPure": false, @@ -14017,11 +14017,11 @@ "prefix": true, "src": "10172:6:1", "subExpression": { - "id": 1275, + "id": 1279, "name": "found", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1237, + "referencedDeclaration": 1241, "src": "10173:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14033,11 +14033,11 @@ "typeString": "bool" } }, - "id": 1292, + "id": 1296, "nodeType": "IfStatement", "src": "10168:186:1", "trueBody": { - "id": 1291, + "id": 1295, "nodeType": "Block", "src": "10180:174:1", "statements": [ @@ -14048,18 +14048,18 @@ "arguments": [ { "expression": { - "id": 1281, + "id": 1285, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "10248:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1282, + "id": 1286, "isConstant": false, "isLValue": true, "isPure": false, @@ -14067,7 +14067,7 @@ "memberLocation": "10253:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 332, + "referencedDeclaration": 336, "src": "10248:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -14076,18 +14076,18 @@ }, { "expression": { - "id": 1283, + "id": 1287, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1209, + "referencedDeclaration": 1213, "src": "10280:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$339_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage pointer" } }, - "id": 1284, + "id": 1288, "isConstant": false, "isLValue": true, "isPure": false, @@ -14095,7 +14095,7 @@ "memberLocation": "10285:9:1", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 334, + "referencedDeclaration": 338, "src": "10280:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14114,18 +14114,18 @@ "typeString": "uint256" } ], - "id": 1280, + "id": 1284, "name": "CommunityVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 353, + "referencedDeclaration": 357, "src": "10220:14:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_CommunityVotes_$353_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_CommunityVotes_$357_storage_ptr_$", "typeString": "type(struct FeaturedVotingContract.CommunityVotes storage pointer)" } }, - "id": 1285, + "id": 1289, "isConstant": false, "isLValue": false, "isPure": false, @@ -14143,7 +14143,7 @@ "src": "10220:77:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_CommunityVotes_$353_memory_ptr", + "typeIdentifier": "t_struct$_CommunityVotes_$357_memory_ptr", "typeString": "struct FeaturedVotingContract.CommunityVotes memory" } } @@ -14151,23 +14151,23 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_CommunityVotes_$353_memory_ptr", + "typeIdentifier": "t_struct$_CommunityVotes_$357_memory_ptr", "typeString": "struct FeaturedVotingContract.CommunityVotes memory" } ], "expression": { - "id": 1277, + "id": 1281, "name": "communitiesVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 411, + "referencedDeclaration": 415, "src": "10198:16:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.CommunityVotes storage ref[] storage ref" } }, - "id": 1279, + "id": 1283, "isConstant": false, "isLValue": false, "isPure": false, @@ -14177,11 +14177,11 @@ "nodeType": "MemberAccess", "src": "10198:21:1", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage_ptr_$_t_struct$_CommunityVotes_$353_storage_$returns$__$attached_to$_t_array$_t_struct$_CommunityVotes_$353_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage_ptr_$_t_struct$_CommunityVotes_$357_storage_$returns$__$attached_to$_t_array$_t_struct$_CommunityVotes_$357_storage_$dyn_storage_ptr_$", "typeString": "function (struct FeaturedVotingContract.CommunityVotes storage ref[] storage pointer,struct FeaturedVotingContract.CommunityVotes storage ref)" } }, - "id": 1286, + "id": 1290, "isConstant": false, "isLValue": false, "isPure": false, @@ -14197,13 +14197,13 @@ "typeString": "tuple()" } }, - "id": 1287, + "id": 1291, "nodeType": "ExpressionStatement", "src": "10198:100:1" }, { "expression": { - "id": 1289, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": false, @@ -14213,11 +14213,11 @@ "prefix": false, "src": "10316:23:1", "subExpression": { - "id": 1288, + "id": 1292, "name": "communitiesVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, + "referencedDeclaration": 418, "src": "10316:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14229,7 +14229,7 @@ "typeString": "uint256" } }, - "id": 1290, + "id": 1294, "nodeType": "ExpressionStatement", "src": "10316:23:1" } @@ -14243,17 +14243,17 @@ "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 1203, + "id": 1207, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1201, + "id": 1205, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1198, + "referencedDeclaration": 1202, "src": "9534:1:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14263,11 +14263,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1202, + "id": 1206, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1149, + "referencedDeclaration": 1153, "src": "9538:5:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14280,10 +14280,10 @@ "typeString": "bool" } }, - "id": 1294, + "id": 1298, "loopExpression": { "expression": { - "id": 1205, + "id": 1209, "isConstant": false, "isLValue": false, "isPure": false, @@ -14293,11 +14293,11 @@ "prefix": false, "src": "9545:3:1", "subExpression": { - "id": 1204, + "id": 1208, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1198, + "referencedDeclaration": 1202, "src": "9545:1:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14309,7 +14309,7 @@ "typeString": "uint32" } }, - "id": 1206, + "id": 1210, "nodeType": "ExpressionStatement", "src": "9545:3:1" }, @@ -14318,25 +14318,25 @@ }, { "expression": { - "id": 1299, + "id": 1303, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 1295, + "id": 1299, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "10374:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1297, + "id": 1301, "isConstant": false, "isLValue": true, "isPure": false, @@ -14344,7 +14344,7 @@ "memberLocation": "10381:13:1", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 323, + "referencedDeclaration": 327, "src": "10374:20:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14354,11 +14354,11 @@ "nodeType": "Assignment", "operator": "+=", "rightHandSide": { - "id": 1298, + "id": 1302, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1198, + "referencedDeclaration": 1202, "src": "10398:1:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14371,7 +14371,7 @@ "typeString": "uint32" } }, - "id": 1300, + "id": 1304, "nodeType": "ExpressionStatement", "src": "10374:25:1" }, @@ -14381,25 +14381,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1305, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1301, + "id": 1305, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "10413:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1302, + "id": 1306, "isConstant": false, "isLValue": true, "isPure": false, @@ -14407,7 +14407,7 @@ "memberLocation": "10420:13:1", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 323, + "referencedDeclaration": 327, "src": "10413:20:1", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14418,18 +14418,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 1303, + "id": 1307, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1166, + "referencedDeclaration": 1170, "src": "10437:5:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage pointer" } }, - "id": 1304, + "id": 1308, "isConstant": false, "isLValue": false, "isPure": false, @@ -14449,35 +14449,35 @@ "typeString": "bool" } }, - "id": 1313, + "id": 1317, "nodeType": "IfStatement", "src": "10409:90:1", "trueBody": { - "id": 1312, + "id": 1316, "nodeType": "Block", "src": "10451:48:1", "statements": [ { "expression": { - "id": 1310, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 1306, + "id": 1310, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, + "referencedDeclaration": 1158, "src": "10465:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1308, + "id": 1312, "isConstant": false, "isLValue": true, "isPure": false, @@ -14485,7 +14485,7 @@ "memberLocation": "10472:9:1", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 325, + "referencedDeclaration": 329, "src": "10465:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14496,7 +14496,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1309, + "id": 1313, "isConstant": false, "isLValue": false, "isPure": true, @@ -14516,7 +14516,7 @@ "typeString": "bool" } }, - "id": 1311, + "id": 1315, "nodeType": "ExpressionStatement", "src": "10465:23:1" } @@ -14531,17 +14531,17 @@ "name": "_evaluateVotes", "nameLocation": "8974:14:1", "parameters": { - "id": 1150, + "id": 1154, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1149, + "id": 1153, "mutability": "mutable", "name": "limit", "nameLocation": "8996:5:1", "nodeType": "VariableDeclaration", - "scope": 1315, + "scope": 1319, "src": "8989:12:1", "stateVariable": false, "storageLocation": "default", @@ -14550,7 +14550,7 @@ "typeString": "uint32" }, "typeName": { - "id": 1148, + "id": 1152, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "8989:6:1", @@ -14565,30 +14565,30 @@ "src": "8988:14:1" }, "returnParameters": { - "id": 1151, + "id": 1155, "nodeType": "ParameterList", "parameters": [], "src": "9011:0:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 1473, + "id": 1477, "nodeType": "FunctionDefinition", "src": "10511:1370:1", "nodes": [], "body": { - "id": 1472, + "id": 1476, "nodeType": "Block", "src": "10579:1302:1", "nodes": [], "statements": [ { "condition": { - "id": 1326, + "id": 1330, "isConstant": false, "isLValue": false, "isPure": false, @@ -14600,14 +14600,14 @@ "subExpression": { "arguments": [ { - "id": 1324, + "id": 1328, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10610:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } } @@ -14615,22 +14615,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } ], - "id": 1323, + "id": 1327, "name": "verifySignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 551, + "referencedDeclaration": 555, "src": "10594:15:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$348_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$352_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct FeaturedVotingContract.SignedVote calldata) view returns (bool)" } }, - "id": 1325, + "id": 1329, "isConstant": false, "isLValue": false, "isPure": false, @@ -14651,11 +14651,11 @@ "typeString": "bool" } }, - "id": 1337, + "id": 1341, "nodeType": "IfStatement", "src": "10589:128:1", "trueBody": { - "id": 1336, + "id": 1340, "nodeType": "Block", "src": "10617:100:1", "statements": [ @@ -14664,18 +14664,18 @@ "arguments": [ { "expression": { - "id": 1328, + "id": 1332, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10653:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1329, + "id": 1333, "isConstant": false, "isLValue": false, "isPure": false, @@ -14683,7 +14683,7 @@ "memberLocation": "10658:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "10653:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -14692,18 +14692,18 @@ }, { "expression": { - "id": 1330, + "id": 1334, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10669:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1331, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -14711,7 +14711,7 @@ "memberLocation": "10674:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "10669:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14730,18 +14730,18 @@ "typeString": "address" } ], - "id": 1327, + "id": 1331, "name": "InvalidSignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 381, + "referencedDeclaration": 385, "src": "10636:16:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1332, + "id": 1336, "isConstant": false, "isLValue": false, "isPure": false, @@ -14757,14 +14757,14 @@ "typeString": "tuple()" } }, - "id": 1333, + "id": 1337, "nodeType": "EmitStatement", "src": "10631:49:1" }, { "expression": { "hexValue": "66616c7365", - "id": 1334, + "id": 1338, "isConstant": false, "isLValue": false, "isPure": true, @@ -14778,8 +14778,8 @@ }, "value": "false" }, - "functionReturnParameters": 1322, - "id": 1335, + "functionReturnParameters": 1326, + "id": 1339, "nodeType": "Return", "src": "10694:12:1" } @@ -14788,7 +14788,7 @@ }, { "condition": { - "id": 1343, + "id": 1347, "isConstant": false, "isLValue": false, "isPure": false, @@ -14801,18 +14801,18 @@ "arguments": [ { "expression": { - "id": 1340, + "id": 1344, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10765:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1341, + "id": 1345, "isConstant": false, "isLValue": false, "isPure": false, @@ -14820,7 +14820,7 @@ "memberLocation": "10770:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "10765:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -14836,18 +14836,18 @@ } ], "expression": { - "id": 1338, + "id": 1342, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, + "referencedDeclaration": 400, "src": "10732:9:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 1339, + "id": 1343, "isConstant": false, "isLValue": false, "isPure": false, @@ -14855,14 +14855,14 @@ "memberLocation": "10742:22:1", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", - "referencedDeclaration": 49, + "referencedDeclaration": 53, "src": "10732:32:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory) view external returns (bool)" } }, - "id": 1342, + "id": 1346, "isConstant": false, "isLValue": false, "isPure": false, @@ -14883,11 +14883,11 @@ "typeString": "bool" } }, - "id": 1354, + "id": 1358, "nodeType": "IfStatement", "src": "10727:162:1", "trueBody": { - "id": 1353, + "id": 1357, "nodeType": "Block", "src": "10782:107:1", "statements": [ @@ -14896,18 +14896,18 @@ "arguments": [ { "expression": { - "id": 1345, + "id": 1349, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10825:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1346, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -14915,7 +14915,7 @@ "memberLocation": "10830:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "10825:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -14924,18 +14924,18 @@ }, { "expression": { - "id": 1347, + "id": 1351, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10841:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1348, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": false, @@ -14943,7 +14943,7 @@ "memberLocation": "10846:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "10841:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14962,18 +14962,18 @@ "typeString": "address" } ], - "id": 1344, + "id": 1348, "name": "CommunityNotInDirectory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 393, + "referencedDeclaration": 397, "src": "10801:23:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1349, + "id": 1353, "isConstant": false, "isLValue": false, "isPure": false, @@ -14989,14 +14989,14 @@ "typeString": "tuple()" } }, - "id": 1350, + "id": 1354, "nodeType": "EmitStatement", "src": "10796:56:1" }, { "expression": { "hexValue": "66616c7365", - "id": 1351, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": true, @@ -15010,8 +15010,8 @@ }, "value": "false" }, - "functionReturnParameters": 1322, - "id": 1352, + "functionReturnParameters": 1326, + "id": 1356, "nodeType": "Return", "src": "10866:12:1" } @@ -15023,18 +15023,18 @@ "arguments": [ { "expression": { - "id": 1356, + "id": 1360, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10922:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1357, + "id": 1361, "isConstant": false, "isLValue": false, "isPure": false, @@ -15042,7 +15042,7 @@ "memberLocation": "10927:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "10922:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -15057,18 +15057,18 @@ "typeString": "bytes calldata" } ], - "id": 1355, + "id": 1359, "name": "isInCooldownPeriod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1102, + "referencedDeclaration": 1106, "src": "10903:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_bytes_calldata_ptr_$returns$_t_bool_$", "typeString": "function (bytes calldata) view returns (bool)" } }, - "id": 1358, + "id": 1362, "isConstant": false, "isLValue": false, "isPure": false, @@ -15084,11 +15084,11 @@ "typeString": "bool" } }, - "id": 1369, + "id": 1373, "nodeType": "IfStatement", "src": "10899:149:1", "trueBody": { - "id": 1368, + "id": 1372, "nodeType": "Block", "src": "10939:109:1", "statements": [ @@ -15097,18 +15097,18 @@ "arguments": [ { "expression": { - "id": 1360, + "id": 1364, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "10984:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1361, + "id": 1365, "isConstant": false, "isLValue": false, "isPure": false, @@ -15116,7 +15116,7 @@ "memberLocation": "10989:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "10984:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -15125,18 +15125,18 @@ }, { "expression": { - "id": 1362, + "id": 1366, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11000:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1363, + "id": 1367, "isConstant": false, "isLValue": false, "isPure": false, @@ -15144,7 +15144,7 @@ "memberLocation": "11005:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "11000:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15163,18 +15163,18 @@ "typeString": "address" } ], - "id": 1359, + "id": 1363, "name": "CommunityFeaturedRecently", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 387, + "referencedDeclaration": 391, "src": "10958:25:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1364, + "id": 1368, "isConstant": false, "isLValue": false, "isPure": false, @@ -15190,14 +15190,14 @@ "typeString": "tuple()" } }, - "id": 1365, + "id": 1369, "nodeType": "EmitStatement", "src": "10953:58:1" }, { "expression": { "hexValue": "66616c7365", - "id": 1366, + "id": 1370, "isConstant": false, "isLValue": false, "isPure": true, @@ -15211,8 +15211,8 @@ }, "value": "false" }, - "functionReturnParameters": 1322, - "id": 1367, + "functionReturnParameters": 1326, + "id": 1371, "nodeType": "Return", "src": "11025:12:1" } @@ -15221,86 +15221,86 @@ }, { "assignments": [ - 1372 + 1376 ], "declarations": [ { "constant": false, - "id": 1372, + "id": 1376, "mutability": "mutable", "name": "voting", "nameLocation": "11073:6:1", "nodeType": "VariableDeclaration", - "scope": 1472, + "scope": 1476, "src": "11058:21:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" }, "typeName": { - "id": 1371, + "id": 1375, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1370, + "id": 1374, "name": "Voting", "nameLocations": [ "11058:6:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "11058:6:1" }, - "referencedDeclaration": 328, + "referencedDeclaration": 332, "src": "11058:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting" } }, "visibility": "internal" } ], - "id": 1379, + "id": 1383, "initialValue": { "baseExpression": { - "id": 1373, + "id": 1377, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "11082:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1378, + "id": 1382, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1377, + "id": 1381, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1374, + "id": 1378, "name": "votings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, + "referencedDeclaration": 422, "src": "11090:7:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Voting_$328_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Voting_$332_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref[] storage ref" } }, - "id": 1375, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -15318,7 +15318,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1376, + "id": 1380, "isConstant": false, "isLValue": false, "isPure": true, @@ -15345,7 +15345,7 @@ "nodeType": "IndexAccess", "src": "11082:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage", + "typeIdentifier": "t_struct$_Voting_$332_storage", "typeString": "struct FeaturedVotingContract.Voting storage ref" } }, @@ -15360,14 +15360,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1385, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1381, + "id": 1385, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -15378,7 +15378,7 @@ "typeString": "block" } }, - "id": 1382, + "id": 1386, "isConstant": false, "isLValue": false, "isPure": false, @@ -15396,18 +15396,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1383, + "id": 1387, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11146:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1384, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, @@ -15415,7 +15415,7 @@ "memberLocation": "11153:5:1", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 319, + "referencedDeclaration": 323, "src": "11146:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15430,7 +15430,7 @@ }, { "hexValue": "766f746520636c6f736564", - "id": 1386, + "id": 1390, "isConstant": false, "isLValue": false, "isPure": true, @@ -15456,7 +15456,7 @@ "typeString": "literal_string \"vote closed\"" } ], - "id": 1380, + "id": 1384, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15470,7 +15470,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 1387, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": false, @@ -15486,7 +15486,7 @@ "typeString": "tuple()" } }, - "id": 1388, + "id": 1392, "nodeType": "ExpressionStatement", "src": "11120:54:1" }, @@ -15494,7 +15494,7 @@ "expression": { "arguments": [ { - "id": 1392, + "id": 1396, "isConstant": false, "isLValue": false, "isPure": false, @@ -15505,18 +15505,18 @@ "src": "11192:17:1", "subExpression": { "expression": { - "id": 1390, + "id": 1394, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11193:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1391, + "id": 1395, "isConstant": false, "isLValue": true, "isPure": false, @@ -15524,7 +15524,7 @@ "memberLocation": "11200:9:1", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 321, + "referencedDeclaration": 325, "src": "11193:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -15538,7 +15538,7 @@ }, { "hexValue": "726f6f6d2066696e616c697a6564", - "id": 1393, + "id": 1397, "isConstant": false, "isLValue": false, "isPure": true, @@ -15564,7 +15564,7 @@ "typeString": "literal_string \"room finalized\"" } ], - "id": 1389, + "id": 1393, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15578,7 +15578,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 1394, + "id": 1398, "isConstant": false, "isLValue": false, "isPure": false, @@ -15594,7 +15594,7 @@ "typeString": "tuple()" } }, - "id": 1395, + "id": 1399, "nodeType": "ExpressionStatement", "src": "11184:44:1" }, @@ -15606,25 +15606,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1401, + "id": 1405, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1397, + "id": 1401, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11246:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1398, + "id": 1402, "isConstant": false, "isLValue": false, "isPure": false, @@ -15632,7 +15632,7 @@ "memberLocation": "11251:9:1", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 343, + "referencedDeclaration": 347, "src": "11246:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15643,18 +15643,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1399, + "id": 1403, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11263:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1400, + "id": 1404, "isConstant": false, "isLValue": true, "isPure": false, @@ -15662,7 +15662,7 @@ "memberLocation": "11270:19:1", "memberName": "verificationStartAt", "nodeType": "MemberAccess", - "referencedDeclaration": 317, + "referencedDeclaration": 321, "src": "11263:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15677,7 +15677,7 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 1402, + "id": 1406, "isConstant": false, "isLValue": false, "isPure": true, @@ -15703,7 +15703,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 1396, + "id": 1400, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15717,7 +15717,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 1403, + "id": 1407, "isConstant": false, "isLValue": false, "isPure": false, @@ -15733,7 +15733,7 @@ "typeString": "tuple()" } }, - "id": 1404, + "id": 1408, "nodeType": "ExpressionStatement", "src": "11238:78:1" }, @@ -15745,25 +15745,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1410, + "id": 1414, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1406, + "id": 1410, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11334:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1407, + "id": 1411, "isConstant": false, "isLValue": false, "isPure": false, @@ -15771,7 +15771,7 @@ "memberLocation": "11339:9:1", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 343, + "referencedDeclaration": 347, "src": "11334:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15782,18 +15782,18 @@ "operator": ">=", "rightExpression": { "expression": { - "id": 1408, + "id": 1412, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11352:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1409, + "id": 1413, "isConstant": false, "isLValue": true, "isPure": false, @@ -15801,7 +15801,7 @@ "memberLocation": "11359:7:1", "memberName": "startAt", "nodeType": "MemberAccess", - "referencedDeclaration": 315, + "referencedDeclaration": 319, "src": "11352:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15816,7 +15816,7 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 1411, + "id": 1415, "isConstant": false, "isLValue": false, "isPure": true, @@ -15842,7 +15842,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 1405, + "id": 1409, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15856,7 +15856,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 1412, + "id": 1416, "isConstant": false, "isLValue": false, "isPure": false, @@ -15872,7 +15872,7 @@ "typeString": "tuple()" } }, - "id": 1413, + "id": 1417, "nodeType": "ExpressionStatement", "src": "11326:67:1" }, @@ -15881,32 +15881,32 @@ "baseExpression": { "baseExpression": { "baseExpression": { - "id": 1414, + "id": 1418, "name": "votersByCommunityByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, + "referencedDeclaration": 441, "src": "11408:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes_memory_ptr_$_t_mapping$_t_address_$_t_bool_$_$_$", "typeString": "mapping(uint256 => mapping(bytes memory => mapping(address => bool)))" } }, - "id": 1417, + "id": 1421, "indexExpression": { "expression": { - "id": 1415, + "id": 1419, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11436:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1416, + "id": 1420, "isConstant": false, "isLValue": true, "isPure": false, @@ -15914,7 +15914,7 @@ "memberLocation": "11443:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "11436:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15932,21 +15932,21 @@ "typeString": "mapping(bytes memory => mapping(address => bool))" } }, - "id": 1420, + "id": 1424, "indexExpression": { "expression": { - "id": 1418, + "id": 1422, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11447:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1419, + "id": 1423, "isConstant": false, "isLValue": false, "isPure": false, @@ -15954,7 +15954,7 @@ "memberLocation": "11452:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "11447:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -15972,21 +15972,21 @@ "typeString": "mapping(address => bool)" } }, - "id": 1423, + "id": 1427, "indexExpression": { "expression": { - "id": 1421, + "id": 1425, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11463:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1422, + "id": 1426, "isConstant": false, "isLValue": false, "isPure": false, @@ -15994,7 +15994,7 @@ "memberLocation": "11468:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "11463:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16012,11 +16012,11 @@ "typeString": "bool" } }, - "id": 1434, + "id": 1438, "nodeType": "IfStatement", "src": "11404:168:1", "trueBody": { - "id": 1433, + "id": 1437, "nodeType": "Block", "src": "11476:96:1", "statements": [ @@ -16025,18 +16025,18 @@ "arguments": [ { "expression": { - "id": 1425, + "id": 1429, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11508:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1426, + "id": 1430, "isConstant": false, "isLValue": false, "isPure": false, @@ -16044,7 +16044,7 @@ "memberLocation": "11513:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "11508:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -16053,18 +16053,18 @@ }, { "expression": { - "id": 1427, + "id": 1431, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11524:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1428, + "id": 1432, "isConstant": false, "isLValue": false, "isPure": false, @@ -16072,7 +16072,7 @@ "memberLocation": "11529:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "11524:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16091,18 +16091,18 @@ "typeString": "address" } ], - "id": 1424, + "id": 1428, "name": "AlreadyVoted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 375, + "referencedDeclaration": 379, "src": "11495:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1429, + "id": 1433, "isConstant": false, "isLValue": false, "isPure": false, @@ -16118,14 +16118,14 @@ "typeString": "tuple()" } }, - "id": 1430, + "id": 1434, "nodeType": "EmitStatement", "src": "11490:45:1" }, { "expression": { "hexValue": "66616c7365", - "id": 1431, + "id": 1435, "isConstant": false, "isLValue": false, "isPure": true, @@ -16139,8 +16139,8 @@ }, "value": "false" }, - "functionReturnParameters": 1322, - "id": 1432, + "functionReturnParameters": 1326, + "id": 1436, "nodeType": "Return", "src": "11549:12:1" } @@ -16149,7 +16149,7 @@ }, { "expression": { - "id": 1446, + "id": 1450, "isConstant": false, "isLValue": false, "isPure": false, @@ -16158,32 +16158,32 @@ "baseExpression": { "baseExpression": { "baseExpression": { - "id": 1435, + "id": 1439, "name": "votersByCommunityByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, + "referencedDeclaration": 441, "src": "11582:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes_memory_ptr_$_t_mapping$_t_address_$_t_bool_$_$_$", "typeString": "mapping(uint256 => mapping(bytes memory => mapping(address => bool)))" } }, - "id": 1442, + "id": 1446, "indexExpression": { "expression": { - "id": 1436, + "id": 1440, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11610:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1437, + "id": 1441, "isConstant": false, "isLValue": true, "isPure": false, @@ -16191,7 +16191,7 @@ "memberLocation": "11617:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "11610:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16209,21 +16209,21 @@ "typeString": "mapping(bytes memory => mapping(address => bool))" } }, - "id": 1443, + "id": 1447, "indexExpression": { "expression": { - "id": 1438, + "id": 1442, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11621:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1439, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, @@ -16231,7 +16231,7 @@ "memberLocation": "11626:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "11621:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -16249,21 +16249,21 @@ "typeString": "mapping(address => bool)" } }, - "id": 1444, + "id": 1448, "indexExpression": { "expression": { - "id": 1440, + "id": 1444, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11637:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1441, + "id": 1445, "isConstant": false, "isLValue": false, "isPure": false, @@ -16271,7 +16271,7 @@ "memberLocation": "11642:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "11637:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16293,7 +16293,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1445, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": true, @@ -16313,7 +16313,7 @@ "typeString": "bool" } }, - "id": 1447, + "id": 1451, "nodeType": "ExpressionStatement", "src": "11582:73:1" }, @@ -16322,72 +16322,16 @@ "arguments": [ { "arguments": [ - { - "expression": { - "id": 1454, - "name": "vote", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1318, - "src": "11724:4:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", - "typeString": "struct FeaturedVotingContract.SignedVote calldata" - } - }, - "id": 1455, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11729:5:1", - "memberName": "voter", - "nodeType": "MemberAccess", - "referencedDeclaration": 337, - "src": "11724:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "expression": { - "id": 1456, - "name": "vote", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1318, - "src": "11747:4:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", - "typeString": "struct FeaturedVotingContract.SignedVote calldata" - } - }, - "id": 1457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11752:9:1", - "memberName": "community", - "nodeType": "MemberAccess", - "referencedDeclaration": 339, - "src": "11747:14:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, { "expression": { "id": 1458, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, - "src": "11774:4:1", + "referencedDeclaration": 1322, + "src": "11724:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, @@ -16396,10 +16340,66 @@ "isLValue": false, "isPure": false, "lValueRequested": false, + "memberLocation": "11729:5:1", + "memberName": "voter", + "nodeType": "MemberAccess", + "referencedDeclaration": 341, + "src": "11724:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 1460, + "name": "vote", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1322, + "src": "11747:4:1", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", + "typeString": "struct FeaturedVotingContract.SignedVote calldata" + } + }, + "id": 1461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11752:9:1", + "memberName": "community", + "nodeType": "MemberAccess", + "referencedDeclaration": 343, + "src": "11747:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + { + "expression": { + "id": 1462, + "name": "vote", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1322, + "src": "11774:4:1", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", + "typeString": "struct FeaturedVotingContract.SignedVote calldata" + } + }, + "id": 1463, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, "memberLocation": "11779:9:1", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 341, + "referencedDeclaration": 345, "src": "11774:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16422,18 +16422,18 @@ "typeString": "uint256" } ], - "id": 1453, + "id": 1457, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, + "referencedDeclaration": 339, "src": "11710:4:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$335_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$339_storage_ptr_$", "typeString": "type(struct FeaturedVotingContract.Vote storage pointer)" } }, - "id": 1460, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, @@ -16453,7 +16453,7 @@ "src": "11710:81:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$335_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$339_memory_ptr", "typeString": "struct FeaturedVotingContract.Vote memory" } } @@ -16461,38 +16461,38 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$335_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$339_memory_ptr", "typeString": "struct FeaturedVotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 1448, + "id": 1452, "name": "votesByVotingID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, + "referencedDeclaration": 428, "src": "11665:15:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct FeaturedVotingContract.Vote storage ref[] storage ref)" } }, - "id": 1451, + "id": 1455, "indexExpression": { "expression": { - "id": 1449, + "id": 1453, "name": "voting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1372, + "referencedDeclaration": 1376, "src": "11681:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Voting_$328_storage_ptr", + "typeIdentifier": "t_struct$_Voting_$332_storage_ptr", "typeString": "struct FeaturedVotingContract.Voting storage pointer" } }, - "id": 1450, + "id": 1454, "isConstant": false, "isLValue": true, "isPure": false, @@ -16500,7 +16500,7 @@ "memberLocation": "11688:2:1", "memberName": "id", "nodeType": "MemberAccess", - "referencedDeclaration": 311, + "referencedDeclaration": 315, "src": "11681:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16514,11 +16514,11 @@ "nodeType": "IndexAccess", "src": "11665:26:1", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$335_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$339_storage_$dyn_storage", "typeString": "struct FeaturedVotingContract.Vote storage ref[] storage ref" } }, - "id": 1452, + "id": 1456, "isConstant": false, "isLValue": false, "isPure": false, @@ -16528,11 +16528,11 @@ "nodeType": "MemberAccess", "src": "11665:31:1", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr_$_t_struct$_Vote_$335_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$335_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr_$_t_struct$_Vote_$339_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$339_storage_$dyn_storage_ptr_$", "typeString": "function (struct FeaturedVotingContract.Vote storage ref[] storage pointer,struct FeaturedVotingContract.Vote storage ref)" } }, - "id": 1461, + "id": 1465, "isConstant": false, "isLValue": false, "isPure": false, @@ -16548,7 +16548,7 @@ "typeString": "tuple()" } }, - "id": 1462, + "id": 1466, "nodeType": "ExpressionStatement", "src": "11665:136:1" }, @@ -16557,18 +16557,18 @@ "arguments": [ { "expression": { - "id": 1464, + "id": 1468, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11826:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1465, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -16576,7 +16576,7 @@ "memberLocation": "11831:9:1", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 339, + "referencedDeclaration": 343, "src": "11826:14:1", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -16585,18 +16585,18 @@ }, { "expression": { - "id": 1466, + "id": 1470, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1318, + "referencedDeclaration": 1322, "src": "11842:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote calldata" } }, - "id": 1467, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": false, @@ -16604,7 +16604,7 @@ "memberLocation": "11847:5:1", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 337, + "referencedDeclaration": 341, "src": "11842:10:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16623,18 +16623,18 @@ "typeString": "address" } ], - "id": 1463, + "id": 1467, "name": "VoteCast", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 363, + "referencedDeclaration": 367, "src": "11817:8:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes_memory_ptr_$_t_address_$returns$__$", "typeString": "function (bytes memory,address)" } }, - "id": 1468, + "id": 1472, "isConstant": false, "isLValue": false, "isPure": false, @@ -16650,14 +16650,14 @@ "typeString": "tuple()" } }, - "id": 1469, + "id": 1473, "nodeType": "EmitStatement", "src": "11812:41:1" }, { "expression": { "hexValue": "74727565", - "id": 1470, + "id": 1474, "isConstant": false, "isLValue": false, "isPure": true, @@ -16671,8 +16671,8 @@ }, "value": "true" }, - "functionReturnParameters": 1322, - "id": 1471, + "functionReturnParameters": 1326, + "id": 1475, "nodeType": "Return", "src": "11863:11:1" } @@ -16684,41 +16684,41 @@ "name": "_castVote", "nameLocation": "10520:9:1", "parameters": { - "id": 1319, + "id": 1323, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1318, + "id": 1322, "mutability": "mutable", "name": "vote", "nameLocation": "10550:4:1", "nodeType": "VariableDeclaration", - "scope": 1473, + "scope": 1477, "src": "10530:24:1", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_calldata_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" }, "typeName": { - "id": 1317, + "id": 1321, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1316, + "id": 1320, "name": "SignedVote", "nameLocations": [ "10530:10:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "10530:10:1" }, - "referencedDeclaration": 348, + "referencedDeclaration": 352, "src": "10530:10:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$348_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$352_storage_ptr", "typeString": "struct FeaturedVotingContract.SignedVote" } }, @@ -16728,17 +16728,17 @@ "src": "10529:26:1" }, "returnParameters": { - "id": 1322, + "id": 1326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1321, + "id": 1325, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1473, + "scope": 1477, "src": "10573:4:1", "stateVariable": false, "storageLocation": "default", @@ -16747,7 +16747,7 @@ "typeString": "bool" }, "typeName": { - "id": 1320, + "id": 1324, "name": "bool", "nodeType": "ElementaryTypeName", "src": "10573:4:1", @@ -16761,7 +16761,7 @@ ], "src": "10572:6:1" }, - "scope": 1474, + "scope": 1478, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -16771,16 +16771,16 @@ "baseContracts": [ { "baseName": { - "id": 305, + "id": 309, "name": "Ownable2Step", "nameLocations": [ "376:12:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 43985, + "referencedDeclaration": 44621, "src": "376:12:1" }, - "id": 306, + "id": 310, "nodeType": "InheritanceSpecifier", "src": "376:12:1" } @@ -16790,26 +16790,26 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 1474, - 43985, - 44782, - 45274 + 1478, + 44621, + 45418, + 45910 ], "name": "FeaturedVotingContract", "nameLocation": "350:22:1", - "scope": 1475, + "scope": 1479, "usedErrors": [], "usedEvents": [ - 355, - 357, - 363, - 369, - 375, - 381, - 387, - 393, - 43916, - 44683 + 359, + 361, + 367, + 373, + 379, + 385, + 391, + 397, + 44552, + 45319 ] } ], diff --git a/packages/contracts/out/VotingContract.sol/VotingContract.json b/packages/contracts/out/VotingContract.sol/VotingContract.json index e6a1bb7..979656d 100644 --- a/packages/contracts/out/VotingContract.sol/VotingContract.json +++ b/packages/contracts/out/VotingContract.sol/VotingContract.json @@ -797,7 +797,7 @@ "votingRooms(uint256)": "730d0108", "votingVerificationLength()": "ff9bd048" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_votingLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_votingVerificationLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timeBetweenVoting\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ID\",\"type\":\"uint256\"}],\"name\":\"InvalidRoomID\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ID\",\"type\":\"uint256\"}],\"name\":\"VotingRoomDoesntExist\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"AlreadyVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"InvalidSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"NotEnoughToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"VoteCast\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"passed\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"}],\"name\":\"VotingRoomFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"VotingRoomStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"VotingRoomVerificationStarted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VOTE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"activeRoomIDByCommunityID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"roomIdAndType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"struct VotingContract.SignedVote[]\",\"name\":\"votes\",\"type\":\"tuple[]\"}],\"name\":\"castVotes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract Directory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"limit\",\"type\":\"uint32\"}],\"name\":\"finalizeVotingRoom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"getActiveVotingRoom\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"internalType\":\"struct VotingContract.VotingRoom\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveVotingRooms\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"getVotingHistory\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"internalType\":\"struct VotingContract.VotingRoom[]\",\"name\":\"returnVotingRooms\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"voteAmount\",\"type\":\"uint256\"}],\"name\":\"initializeVotingRoom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roomID\",\"type\":\"uint256\"}],\"name\":\"listRoomVoters\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"roomVoters\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract Directory\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setDirectory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timeBetweenVoting\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"votingRooms\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingVerificationLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidRoomID(uint256)\":[{\"notice\":\"Room `ID` must be greater than 0.\"}],\"VotingRoomDoesntExist(uint256)\":[{\"notice\":\"Voting room with `ID` doesn't exist.\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/VotingContract.sol\":\"VotingContract\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f\",\"dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu\"]},\"contracts/VotingContract.sol\":{\"keccak256\":\"0x227bd6debf25229ca0b0f45f9ea2f52e97c494ccee0c2e3b5cc9c401f3eb31f8\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://afc41bb2ba6a5f4c75cfd5104997abc5d25180b69986f64942c651eec61a7e5f\",\"dweb:/ipfs/Qmdw3orsjUBQTNBH38khqEMeCvaybLQR7gPk7Qw98ec8nh\"]},\"lib/minime/contracts/ApproveAndCallFallBack.sol\":{\"keccak256\":\"0xa859bf1acb72f33a3de61dcc0f947bbc4b8633f47783a7fad12b8c396f27dd80\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2314fe3867fce00b8ee7eb46936eab81a2dbf56c7ad97feb1f5276638d71ed07\",\"dweb:/ipfs/QmdXS8ba6EcjZYAdH9Kgk4zz4bbaCjjh1JRbunD6QwS7EK\"]},\"lib/minime/contracts/Controlled.sol\":{\"keccak256\":\"0x8d0cbc92474831b1e208bd63488fe3e1e1398ae2f7ecfb1cef453f2b2634aced\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://87d97bfccb0cb91316a268862758c6ae59efbfecd1a3339dee9735f16f32996e\",\"dweb:/ipfs/QmT5GA5Mj6y4vW4HdQTcVSSyoT58AEHjbn3VYfRX9MzKCy\"]},\"lib/minime/contracts/MiniMeBase.sol\":{\"keccak256\":\"0x5434bcda01d5902178cb7dce6b45f1f82583470e73f6163f9a4ac95a39cfff41\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1f0230a8eebee887c7fdbb3bede82e9925c13ccd869ac6e9fdd7cfe39cccc53\",\"dweb:/ipfs/QmeftdLJv1iWVJVauNatbpVRaWGGhuQVyeW3kmNiWVsFng\"]},\"lib/minime/contracts/MiniMeToken.sol\":{\"keccak256\":\"0x2b6ba85bf75bb84879cc9176334aecb0f4b951587ae2e6217aa3487f8ebacfb4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://45644bfe3cd4a220c9a0a1a4b75c7f89cda6be7b19e02d82fc78db78682c0833\",\"dweb:/ipfs/QmUV8xRHRWEJMscS9aPeUHnWWvTbM9d43VMaFTmHerNb81\"]},\"lib/minime/contracts/MiniMeTokenFactory.sol\":{\"keccak256\":\"0x2e3e5ad568ca69debafc15c015e831e68d67bc429ebb6cb6ae0595fdd8ab609e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://085981b7a584b68787aa941da3e812e9fef4eff0997cf355a906cd81df42f705\",\"dweb:/ipfs/QmQLAqmHJ2PmjYjHCJiFBpN6ni1cKznRBEdNaYiPXE82r8\"]},\"lib/minime/contracts/Nonces.sol\":{\"keccak256\":\"0x0f972ab0235cd4a2c2ca07da63dea6dd7f79e81f08396ac48911fa2f7bf8b04a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0922f256476654117263603dec87c42faad4fda6873d1aa31c4da08776e32cc9\",\"dweb:/ipfs/QmXH2ushbdbeAuPh6DeBES2dT8XsjNsHuZRj41N8THLRiZ\"]},\"lib/minime/contracts/TokenController.sol\":{\"keccak256\":\"0xa9679dfd8806b3bfedffd34c3adef09f0f43ebdabf86f8bba6fd473ae3a02723\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2a4031fe9d9fc9729dd6a2c476c12cc03481984875af27babf78d5e147ae1e43\",\"dweb:/ipfs/QmUvX1ptiPARNLRko8DCL1XbmBbdETJFsEr632Qt3bVLka\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e\",\"dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e416a280c610b6b7a5f158e4a41aacfaec01ef14d5d1de13b46be9e090265fc\",\"dweb:/ipfs/QmYZP2KrdyccBbhLZT42auhvBTMkwiwUS3V6HWb42rbwbG\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xec63854014a5b4f2b3290ab9103a21bdf902a508d0f41a8573fea49e98bf571a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc5b5dc12fbc4002f282eaa7a5f06d8310ed62c1c77c5770f6283e058454c39a\",\"dweb:/ipfs/Qme9rE2wS3yBuyJq9GgbmzbsBQsW2M2sVFqYYLw7bosGrv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://04db5bc05dcb05ba1f6ca2dfbead17adc8a2e2f911aa80b05e7a36d9eaf96516\",\"dweb:/ipfs/QmVkfHZbXVBUPsTopueCn3qGJX8aEjahFF3Fn4NcygLNm5\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f\",\"dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2\",\"dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3aa0eadab7aafcf91a95684765f778f64386f0368de88522ce873c21385278a\",\"dweb:/ipfs/QmPfaVAqWgH1QsT3dHVuL6jwMZbVKdoP8w1PvpiPT2FPWd\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7\",\"dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6\"]}},\"version\":1}", + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_votingLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_votingVerificationLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timeBetweenVoting\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ID\",\"type\":\"uint256\"}],\"name\":\"InvalidRoomID\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ID\",\"type\":\"uint256\"}],\"name\":\"VotingRoomDoesntExist\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"AlreadyVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"InvalidSignature\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"NotEnoughToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"}],\"name\":\"VoteCast\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"passed\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"}],\"name\":\"VotingRoomFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"VotingRoomStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"VotingRoomVerificationStarted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VOTE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"activeRoomIDByCommunityID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"roomIdAndType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sntAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"struct VotingContract.SignedVote[]\",\"name\":\"votes\",\"type\":\"tuple[]\"}],\"name\":\"castVotes\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"directory\",\"outputs\":[{\"internalType\":\"contract Directory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"limit\",\"type\":\"uint32\"}],\"name\":\"finalizeVotingRoom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"getActiveVotingRoom\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"internalType\":\"struct VotingContract.VotingRoom\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveVotingRooms\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"}],\"name\":\"getVotingHistory\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"internalType\":\"struct VotingContract.VotingRoom[]\",\"name\":\"returnVotingRooms\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"voteAmount\",\"type\":\"uint256\"}],\"name\":\"initializeVotingRoom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"roomID\",\"type\":\"uint256\"}],\"name\":\"listRoomVoters\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"roomVoters\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract Directory\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setDirectory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timeBetweenVoting\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contract MiniMeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"votingRooms\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationStartAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"enum VotingContract.VoteType\",\"name\":\"voteType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"finalized\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"community\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesFor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVotesAgainst\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"evaluatingPos\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"evaluated\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingVerificationLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidRoomID(uint256)\":[{\"notice\":\"Room `ID` must be greater than 0.\"}],\"VotingRoomDoesntExist(uint256)\":[{\"notice\":\"Voting room with `ID` doesn't exist.\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/VotingContract.sol\":\"VotingContract\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@openzeppelin/=lib/openzeppelin-contracts/\",\":@openzeppelin/contracts/=lib/minime/lib/openzeppelin-contracts/contracts/\",\":@vacp2p/minime/contracts/=lib/minime/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":minime/=lib/minime/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"contracts/Directory.sol\":{\"keccak256\":\"0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446\",\"dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH\"]},\"contracts/VotingContract.sol\":{\"keccak256\":\"0x227bd6debf25229ca0b0f45f9ea2f52e97c494ccee0c2e3b5cc9c401f3eb31f8\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://afc41bb2ba6a5f4c75cfd5104997abc5d25180b69986f64942c651eec61a7e5f\",\"dweb:/ipfs/Qmdw3orsjUBQTNBH38khqEMeCvaybLQR7gPk7Qw98ec8nh\"]},\"lib/minime/contracts/ApproveAndCallFallBack.sol\":{\"keccak256\":\"0xa859bf1acb72f33a3de61dcc0f947bbc4b8633f47783a7fad12b8c396f27dd80\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2314fe3867fce00b8ee7eb46936eab81a2dbf56c7ad97feb1f5276638d71ed07\",\"dweb:/ipfs/QmdXS8ba6EcjZYAdH9Kgk4zz4bbaCjjh1JRbunD6QwS7EK\"]},\"lib/minime/contracts/Controlled.sol\":{\"keccak256\":\"0x8d0cbc92474831b1e208bd63488fe3e1e1398ae2f7ecfb1cef453f2b2634aced\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://87d97bfccb0cb91316a268862758c6ae59efbfecd1a3339dee9735f16f32996e\",\"dweb:/ipfs/QmT5GA5Mj6y4vW4HdQTcVSSyoT58AEHjbn3VYfRX9MzKCy\"]},\"lib/minime/contracts/MiniMeBase.sol\":{\"keccak256\":\"0x5434bcda01d5902178cb7dce6b45f1f82583470e73f6163f9a4ac95a39cfff41\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://b1f0230a8eebee887c7fdbb3bede82e9925c13ccd869ac6e9fdd7cfe39cccc53\",\"dweb:/ipfs/QmeftdLJv1iWVJVauNatbpVRaWGGhuQVyeW3kmNiWVsFng\"]},\"lib/minime/contracts/MiniMeToken.sol\":{\"keccak256\":\"0x2b6ba85bf75bb84879cc9176334aecb0f4b951587ae2e6217aa3487f8ebacfb4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://45644bfe3cd4a220c9a0a1a4b75c7f89cda6be7b19e02d82fc78db78682c0833\",\"dweb:/ipfs/QmUV8xRHRWEJMscS9aPeUHnWWvTbM9d43VMaFTmHerNb81\"]},\"lib/minime/contracts/MiniMeTokenFactory.sol\":{\"keccak256\":\"0x2e3e5ad568ca69debafc15c015e831e68d67bc429ebb6cb6ae0595fdd8ab609e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://085981b7a584b68787aa941da3e812e9fef4eff0997cf355a906cd81df42f705\",\"dweb:/ipfs/QmQLAqmHJ2PmjYjHCJiFBpN6ni1cKznRBEdNaYiPXE82r8\"]},\"lib/minime/contracts/Nonces.sol\":{\"keccak256\":\"0x0f972ab0235cd4a2c2ca07da63dea6dd7f79e81f08396ac48911fa2f7bf8b04a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0922f256476654117263603dec87c42faad4fda6873d1aa31c4da08776e32cc9\",\"dweb:/ipfs/QmXH2ushbdbeAuPh6DeBES2dT8XsjNsHuZRj41N8THLRiZ\"]},\"lib/minime/contracts/TokenController.sol\":{\"keccak256\":\"0xa9679dfd8806b3bfedffd34c3adef09f0f43ebdabf86f8bba6fd473ae3a02723\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2a4031fe9d9fc9729dd6a2c476c12cc03481984875af27babf78d5e147ae1e43\",\"dweb:/ipfs/QmUvX1ptiPARNLRko8DCL1XbmBbdETJFsEr632Qt3bVLka\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xde231558366826d7cb61725af8147965a61c53b77a352cc8c9af38fc5a92ac3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd55624076bf61d44af5ff351919e32dda748567acfbdd6ba3d6c7be61c758e\",\"dweb:/ipfs/QmSki4dTrf4GPm7MTpG3fk8mC7rnjwd2zMomLp6jLuF63Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e416a280c610b6b7a5f158e4a41aacfaec01ef14d5d1de13b46be9e090265fc\",\"dweb:/ipfs/QmYZP2KrdyccBbhLZT42auhvBTMkwiwUS3V6HWb42rbwbG\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0xec63854014a5b4f2b3290ab9103a21bdf902a508d0f41a8573fea49e98bf571a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bc5b5dc12fbc4002f282eaa7a5f06d8310ed62c1c77c5770f6283e058454c39a\",\"dweb:/ipfs/Qme9rE2wS3yBuyJq9GgbmzbsBQsW2M2sVFqYYLw7bosGrv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://04db5bc05dcb05ba1f6ca2dfbead17adc8a2e2f911aa80b05e7a36d9eaf96516\",\"dweb:/ipfs/QmVkfHZbXVBUPsTopueCn3qGJX8aEjahFF3Fn4NcygLNm5\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b81d9ff6559ea5c47fc573e17ece6d9ba5d6839e213e6ebc3b4c5c8fe4199d7f\",\"dweb:/ipfs/QmPCW1bFisUzJkyjroY3yipwfism9RRCigCcK1hbXtVM8n\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b93a1e39a4a19eba1600b92c96f435442db88cac91e315c8291547a2a7bcfe2\",\"dweb:/ipfs/QmTm34KVe6uZBZwq8dZDNWwPcm24qBJdxqL3rPxBJ4LrMv\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3aa0eadab7aafcf91a95684765f778f64386f0368de88522ce873c21385278a\",\"dweb:/ipfs/QmPfaVAqWgH1QsT3dHVuL6jwMZbVKdoP8w1PvpiPT2FPWd\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cc8841b3cd48ad125e2f46323c8bad3aa0e88e399ec62acb9e57efa7e7c8058c\",\"dweb:/ipfs/QmSqE4mXHA2BXW58deDbXE8MTcsL5JSKNDbm23sVQxRLPS\"]},\"lib/minime/lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c50fcc459e49a9858b6d8ad5f911295cb7c9ab57567845a250bf0153f84a95c7\",\"dweb:/ipfs/QmcEW85JRzvDkQggxiBBLVAasXWdkhEysqypj9EaB6H2g6\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.20+commit.a1b79de6" @@ -1616,10 +1616,10 @@ }, "sources": { "contracts/Directory.sol": { - "keccak256": "0x9fab5654f1bda69a312e9c785208bc2246a7250d92198b70f8af0805be2c7bb9", + "keccak256": "0x7a3666def40e2ca881f7fbfd1f993da65c58ad750472238b30e07e313e7a42b8", "urls": [ - "bzz-raw://3fd03edf264e9a015a70745994873bf8f1f4f58ed2bf5a68877787e465a25a6f", - "dweb:/ipfs/QmVG2B7FK5Tmw1bQtibQL56uwrgceceVFhBxTFnXiyfwDu" + "bzz-raw://3f3baf8059d3e49c8a0fa7c30e329c8445b2863a7980c107a75a719163260446", + "dweb:/ipfs/QmZdbe9aEGbauEaYVEttg58SUGDgM28JLeAMPap56b9CQH" ], "license": "UNLICENSED" }, @@ -1796,29 +1796,29 @@ }, "ast": { "absolutePath": "contracts/VotingContract.sol", - "id": 3038, + "id": 3042, "exportedSymbols": { "Directory": [ - 294 + 298 ], "ECDSA": [ - 44929 + 44987 ], "MiniMeToken": [ - 33553 + 33557 ], "Ownable2Step": [ - 44563 + 44621 ], "VotingContract": [ - 3037 + 3041 ] }, "nodeType": "SourceUnit", "src": "39:13565:3", "nodes": [ { - "id": 1786, + "id": 1790, "nodeType": "PragmaDirective", "src": "39:24:3", "nodes": [], @@ -1830,76 +1830,24 @@ ] }, { - "id": 1788, + "id": 1792, "nodeType": "ImportDirective", "src": "65:77:3", "nodes": [], "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol", "file": "@openzeppelin/contracts/utils/cryptography/ECDSA.sol", "nameLocation": "-1:-1:-1", - "scope": 3038, - "sourceUnit": 44930, - "symbolAliases": [ - { - "foreign": { - "id": 1787, - "name": "ECDSA", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 44929, - "src": "74:5:3", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 1790, - "nodeType": "ImportDirective", - "src": "143:79:3", - "nodes": [], - "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol", - "file": "@openzeppelin/contracts/access/Ownable2Step.sol", - "nameLocation": "-1:-1:-1", - "scope": 3038, - "sourceUnit": 44564, - "symbolAliases": [ - { - "foreign": { - "id": 1789, - "name": "Ownable2Step", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 44563, - "src": "152:12:3", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 1792, - "nodeType": "ImportDirective", - "src": "223:71:3", - "nodes": [], - "absolutePath": "lib/minime/contracts/MiniMeToken.sol", - "file": "@vacp2p/minime/contracts/MiniMeToken.sol", - "nameLocation": "-1:-1:-1", - "scope": 3038, - "sourceUnit": 33554, + "scope": 3042, + "sourceUnit": 44988, "symbolAliases": [ { "foreign": { "id": 1791, - "name": "MiniMeToken", + "name": "ECDSA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 33553, - "src": "232:11:3", + "referencedDeclaration": 44987, + "src": "74:5:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1910,21 +1858,73 @@ { "id": 1794, "nodeType": "ImportDirective", + "src": "143:79:3", + "nodes": [], + "absolutePath": "lib/minime/lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol", + "file": "@openzeppelin/contracts/access/Ownable2Step.sol", + "nameLocation": "-1:-1:-1", + "scope": 3042, + "sourceUnit": 44622, + "symbolAliases": [ + { + "foreign": { + "id": 1793, + "name": "Ownable2Step", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 44621, + "src": "152:12:3", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 1796, + "nodeType": "ImportDirective", + "src": "223:71:3", + "nodes": [], + "absolutePath": "lib/minime/contracts/MiniMeToken.sol", + "file": "@vacp2p/minime/contracts/MiniMeToken.sol", + "nameLocation": "-1:-1:-1", + "scope": 3042, + "sourceUnit": 33558, + "symbolAliases": [ + { + "foreign": { + "id": 1795, + "name": "MiniMeToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 33557, + "src": "232:11:3", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 1798, + "nodeType": "ImportDirective", "src": "295:44:3", "nodes": [], "absolutePath": "contracts/Directory.sol", "file": "./Directory.sol", "nameLocation": "-1:-1:-1", - "scope": 3038, - "sourceUnit": 295, + "scope": 3042, + "sourceUnit": 299, "symbolAliases": [ { "foreign": { - "id": 1793, + "id": 1797, "name": "Directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "304:9:3", "typeDescriptions": {} }, @@ -1934,28 +1934,28 @@ "unitAlias": "" }, { - "id": 3037, + "id": 3041, "nodeType": "ContractDefinition", "src": "341:13262:3", "nodes": [ { - "id": 1799, + "id": 1803, "nodeType": "UsingForDirective", "src": "387:24:3", "nodes": [], "global": false, "libraryName": { - "id": 1797, + "id": 1801, "name": "ECDSA", "nameLocations": [ "393:5:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44929, + "referencedDeclaration": 44987, "src": "393:5:3" }, "typeName": { - "id": 1798, + "id": 1802, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "403:7:3", @@ -1966,21 +1966,21 @@ } }, { - "id": 1802, + "id": 1806, "nodeType": "EnumDefinition", "src": "417:50:3", "nodes": [], "canonicalName": "VotingContract.VoteType", "members": [ { - "id": 1800, + "id": 1804, "name": "AGAINST", "nameLocation": "441:7:3", "nodeType": "EnumValue", "src": "441:7:3" }, { - "id": 1801, + "id": 1805, "name": "FOR", "nameLocation": "458:3:3", "nodeType": "EnumValue", @@ -1991,7 +1991,7 @@ "nameLocation": "422:8:3" }, { - "id": 1810, + "id": 1814, "nodeType": "StructDefinition", "src": "473:96:3", "nodes": [], @@ -1999,12 +1999,12 @@ "members": [ { "constant": false, - "id": 1804, + "id": 1808, "mutability": "mutable", "name": "voter", "nameLocation": "503:5:3", "nodeType": "VariableDeclaration", - "scope": 1810, + "scope": 1814, "src": "495:13:3", "stateVariable": false, "storageLocation": "default", @@ -2013,7 +2013,7 @@ "typeString": "address" }, "typeName": { - "id": 1803, + "id": 1807, "name": "address", "nodeType": "ElementaryTypeName", "src": "495:7:3", @@ -2027,36 +2027,36 @@ }, { "constant": false, - "id": 1807, + "id": 1811, "mutability": "mutable", "name": "voteType", "nameLocation": "527:8:3", "nodeType": "VariableDeclaration", - "scope": 1810, + "scope": 1814, "src": "518:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1806, + "id": 1810, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1805, + "id": 1809, "name": "VoteType", "nameLocations": [ "518:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "518:8:3" }, - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "518:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -2064,12 +2064,12 @@ }, { "constant": false, - "id": 1809, + "id": 1813, "mutability": "mutable", "name": "sntAmount", "nameLocation": "553:9:3", "nodeType": "VariableDeclaration", - "scope": 1810, + "scope": 1814, "src": "545:17:3", "stateVariable": false, "storageLocation": "default", @@ -2078,7 +2078,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1808, + "id": 1812, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "545:7:3", @@ -2092,11 +2092,11 @@ ], "name": "Vote", "nameLocation": "480:4:3", - "scope": 3037, + "scope": 3041, "visibility": "public" }, { - "id": 1838, + "id": 1842, "nodeType": "StructDefinition", "src": "575:388:3", "nodes": [], @@ -2104,12 +2104,12 @@ "members": [ { "constant": false, - "id": 1812, + "id": 1816, "mutability": "mutable", "name": "startBlock", "nameLocation": "611:10:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "603:18:3", "stateVariable": false, "storageLocation": "default", @@ -2118,7 +2118,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1811, + "id": 1815, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "603:7:3", @@ -2131,12 +2131,12 @@ }, { "constant": false, - "id": 1814, + "id": 1818, "mutability": "mutable", "name": "startAt", "nameLocation": "639:7:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "631:15:3", "stateVariable": false, "storageLocation": "default", @@ -2145,7 +2145,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1813, + "id": 1817, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "631:7:3", @@ -2158,12 +2158,12 @@ }, { "constant": false, - "id": 1816, + "id": 1820, "mutability": "mutable", "name": "verificationStartAt", "nameLocation": "664:19:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "656:27:3", "stateVariable": false, "storageLocation": "default", @@ -2172,7 +2172,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1815, + "id": 1819, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "656:7:3", @@ -2185,12 +2185,12 @@ }, { "constant": false, - "id": 1818, + "id": 1822, "mutability": "mutable", "name": "endAt", "nameLocation": "701:5:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "693:13:3", "stateVariable": false, "storageLocation": "default", @@ -2199,7 +2199,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1817, + "id": 1821, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "693:7:3", @@ -2212,36 +2212,36 @@ }, { "constant": false, - "id": 1821, + "id": 1825, "mutability": "mutable", "name": "voteType", "nameLocation": "725:8:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "716:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1820, + "id": 1824, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1819, + "id": 1823, "name": "VoteType", "nameLocations": [ "716:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "716:8:3" }, - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "716:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -2249,12 +2249,12 @@ }, { "constant": false, - "id": 1823, + "id": 1827, "mutability": "mutable", "name": "finalized", "nameLocation": "748:9:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "743:14:3", "stateVariable": false, "storageLocation": "default", @@ -2263,7 +2263,7 @@ "typeString": "bool" }, "typeName": { - "id": 1822, + "id": 1826, "name": "bool", "nodeType": "ElementaryTypeName", "src": "743:4:3", @@ -2276,12 +2276,12 @@ }, { "constant": false, - "id": 1825, + "id": 1829, "mutability": "mutable", "name": "community", "nameLocation": "773:9:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "767:15:3", "stateVariable": false, "storageLocation": "default", @@ -2290,7 +2290,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1824, + "id": 1828, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "767:5:3", @@ -2303,12 +2303,12 @@ }, { "constant": false, - "id": 1827, + "id": 1831, "mutability": "mutable", "name": "totalVotesFor", "nameLocation": "800:13:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "792:21:3", "stateVariable": false, "storageLocation": "default", @@ -2317,7 +2317,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1826, + "id": 1830, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "792:7:3", @@ -2330,12 +2330,12 @@ }, { "constant": false, - "id": 1829, + "id": 1833, "mutability": "mutable", "name": "totalVotesAgainst", "nameLocation": "831:17:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "823:25:3", "stateVariable": false, "storageLocation": "default", @@ -2344,7 +2344,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1828, + "id": 1832, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "823:7:3", @@ -2357,12 +2357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1835, "mutability": "mutable", "name": "roomNumber", "nameLocation": "866:10:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "858:18:3", "stateVariable": false, "storageLocation": "default", @@ -2371,7 +2371,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1834, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "858:7:3", @@ -2384,12 +2384,12 @@ }, { "constant": false, - "id": 1833, + "id": 1837, "mutability": "mutable", "name": "endBlock", "nameLocation": "894:8:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "886:16:3", "stateVariable": false, "storageLocation": "default", @@ -2398,7 +2398,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1832, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "886:7:3", @@ -2411,12 +2411,12 @@ }, { "constant": false, - "id": 1835, + "id": 1839, "mutability": "mutable", "name": "evaluatingPos", "nameLocation": "919:13:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "912:20:3", "stateVariable": false, "storageLocation": "default", @@ -2425,7 +2425,7 @@ "typeString": "uint32" }, "typeName": { - "id": 1834, + "id": 1838, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "912:6:3", @@ -2438,12 +2438,12 @@ }, { "constant": false, - "id": 1837, + "id": 1841, "mutability": "mutable", "name": "evaluated", "nameLocation": "947:9:3", "nodeType": "VariableDeclaration", - "scope": 1838, + "scope": 1842, "src": "942:14:3", "stateVariable": false, "storageLocation": "default", @@ -2452,7 +2452,7 @@ "typeString": "bool" }, "typeName": { - "id": 1836, + "id": 1840, "name": "bool", "nodeType": "ElementaryTypeName", "src": "942:4:3", @@ -2466,11 +2466,11 @@ ], "name": "VotingRoom", "nameLocation": "582:10:3", - "scope": 3037, + "scope": 3041, "visibility": "public" }, { - "id": 1851, + "id": 1855, "nodeType": "StructDefinition", "src": "969:172:3", "nodes": [], @@ -2478,12 +2478,12 @@ "members": [ { "constant": false, - "id": 1840, + "id": 1844, "mutability": "mutable", "name": "voter", "nameLocation": "1005:5:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "997:13:3", "stateVariable": false, "storageLocation": "default", @@ -2492,7 +2492,7 @@ "typeString": "address" }, "typeName": { - "id": 1839, + "id": 1843, "name": "address", "nodeType": "ElementaryTypeName", "src": "997:7:3", @@ -2506,12 +2506,12 @@ }, { "constant": false, - "id": 1842, + "id": 1846, "mutability": "mutable", "name": "roomIdAndType", "nameLocation": "1028:13:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "1020:21:3", "stateVariable": false, "storageLocation": "default", @@ -2520,7 +2520,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1841, + "id": 1845, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1020:7:3", @@ -2533,12 +2533,12 @@ }, { "constant": false, - "id": 1844, + "id": 1848, "mutability": "mutable", "name": "sntAmount", "nameLocation": "1059:9:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "1051:17:3", "stateVariable": false, "storageLocation": "default", @@ -2547,7 +2547,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1843, + "id": 1847, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1051:7:3", @@ -2560,12 +2560,12 @@ }, { "constant": false, - "id": 1846, + "id": 1850, "mutability": "mutable", "name": "timestamp", "nameLocation": "1086:9:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "1078:17:3", "stateVariable": false, "storageLocation": "default", @@ -2574,7 +2574,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1845, + "id": 1849, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1078:7:3", @@ -2587,12 +2587,12 @@ }, { "constant": false, - "id": 1848, + "id": 1852, "mutability": "mutable", "name": "r", "nameLocation": "1113:1:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "1105:9:3", "stateVariable": false, "storageLocation": "default", @@ -2601,7 +2601,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1847, + "id": 1851, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1105:7:3", @@ -2614,12 +2614,12 @@ }, { "constant": false, - "id": 1850, + "id": 1854, "mutability": "mutable", "name": "vs", "nameLocation": "1132:2:3", "nodeType": "VariableDeclaration", - "scope": 1851, + "scope": 1855, "src": "1124:10:3", "stateVariable": false, "storageLocation": "default", @@ -2628,7 +2628,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1849, + "id": 1853, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1124:7:3", @@ -2642,11 +2642,11 @@ ], "name": "SignedVote", "nameLocation": "976:10:3", - "scope": 3037, + "scope": 3041, "visibility": "public" }, { - "id": 1857, + "id": 1861, "nodeType": "EventDefinition", "src": "1147:57:3", "nodes": [], @@ -2655,18 +2655,18 @@ "name": "VotingRoomStarted", "nameLocation": "1153:17:3", "parameters": { - "id": 1856, + "id": 1860, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1853, + "id": 1857, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1179:6:3", "nodeType": "VariableDeclaration", - "scope": 1857, + "scope": 1861, "src": "1171:14:3", "stateVariable": false, "storageLocation": "default", @@ -2675,7 +2675,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1852, + "id": 1856, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1171:7:3", @@ -2688,13 +2688,13 @@ }, { "constant": false, - "id": 1855, + "id": 1859, "indexed": false, "mutability": "mutable", "name": "publicKey", "nameLocation": "1193:9:3", "nodeType": "VariableDeclaration", - "scope": 1857, + "scope": 1861, "src": "1187:15:3", "stateVariable": false, "storageLocation": "default", @@ -2703,7 +2703,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1854, + "id": 1858, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1187:5:3", @@ -2719,7 +2719,7 @@ } }, { - "id": 1863, + "id": 1867, "nodeType": "EventDefinition", "src": "1209:69:3", "nodes": [], @@ -2728,18 +2728,18 @@ "name": "VotingRoomVerificationStarted", "nameLocation": "1215:29:3", "parameters": { - "id": 1862, + "id": 1866, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1859, + "id": 1863, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1253:6:3", "nodeType": "VariableDeclaration", - "scope": 1863, + "scope": 1867, "src": "1245:14:3", "stateVariable": false, "storageLocation": "default", @@ -2748,7 +2748,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1858, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1245:7:3", @@ -2761,13 +2761,13 @@ }, { "constant": false, - "id": 1861, + "id": 1865, "indexed": false, "mutability": "mutable", "name": "publicKey", "nameLocation": "1267:9:3", "nodeType": "VariableDeclaration", - "scope": 1863, + "scope": 1867, "src": "1261:15:3", "stateVariable": false, "storageLocation": "default", @@ -2776,7 +2776,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1860, + "id": 1864, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1261:5:3", @@ -2792,7 +2792,7 @@ } }, { - "id": 1874, + "id": 1878, "nodeType": "EventDefinition", "src": "1283:91:3", "nodes": [], @@ -2801,18 +2801,18 @@ "name": "VotingRoomFinalized", "nameLocation": "1289:19:3", "parameters": { - "id": 1873, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1865, + "id": 1869, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1317:6:3", "nodeType": "VariableDeclaration", - "scope": 1874, + "scope": 1878, "src": "1309:14:3", "stateVariable": false, "storageLocation": "default", @@ -2821,7 +2821,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1864, + "id": 1868, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1309:7:3", @@ -2834,13 +2834,13 @@ }, { "constant": false, - "id": 1867, + "id": 1871, "indexed": false, "mutability": "mutable", "name": "publicKey", "nameLocation": "1331:9:3", "nodeType": "VariableDeclaration", - "scope": 1874, + "scope": 1878, "src": "1325:15:3", "stateVariable": false, "storageLocation": "default", @@ -2849,7 +2849,7 @@ "typeString": "bytes" }, "typeName": { - "id": 1866, + "id": 1870, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1325:5:3", @@ -2862,13 +2862,13 @@ }, { "constant": false, - "id": 1869, + "id": 1873, "indexed": false, "mutability": "mutable", "name": "passed", "nameLocation": "1347:6:3", "nodeType": "VariableDeclaration", - "scope": 1874, + "scope": 1878, "src": "1342:11:3", "stateVariable": false, "storageLocation": "default", @@ -2877,7 +2877,7 @@ "typeString": "bool" }, "typeName": { - "id": 1868, + "id": 1872, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1342:4:3", @@ -2890,37 +2890,37 @@ }, { "constant": false, - "id": 1872, + "id": 1876, "indexed": false, "mutability": "mutable", "name": "voteType", "nameLocation": "1364:8:3", "nodeType": "VariableDeclaration", - "scope": 1874, + "scope": 1878, "src": "1355:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1871, + "id": 1875, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1870, + "id": 1874, "name": "VoteType", "nameLocations": [ "1355:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "1355:8:3" }, - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "1355:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -2931,7 +2931,7 @@ } }, { - "id": 1880, + "id": 1884, "nodeType": "EventDefinition", "src": "1380:46:3", "nodes": [], @@ -2940,18 +2940,18 @@ "name": "VoteCast", "nameLocation": "1386:8:3", "parameters": { - "id": 1879, + "id": 1883, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1876, + "id": 1880, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1403:6:3", "nodeType": "VariableDeclaration", - "scope": 1880, + "scope": 1884, "src": "1395:14:3", "stateVariable": false, "storageLocation": "default", @@ -2960,7 +2960,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1875, + "id": 1879, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1395:7:3", @@ -2973,13 +2973,13 @@ }, { "constant": false, - "id": 1878, + "id": 1882, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1419:5:3", "nodeType": "VariableDeclaration", - "scope": 1880, + "scope": 1884, "src": "1411:13:3", "stateVariable": false, "storageLocation": "default", @@ -2988,7 +2988,7 @@ "typeString": "address" }, "typeName": { - "id": 1877, + "id": 1881, "name": "address", "nodeType": "ElementaryTypeName", "src": "1411:7:3", @@ -3005,7 +3005,7 @@ } }, { - "id": 1886, + "id": 1890, "nodeType": "EventDefinition", "src": "1431:52:3", "nodes": [], @@ -3014,18 +3014,18 @@ "name": "NotEnoughToken", "nameLocation": "1437:14:3", "parameters": { - "id": 1885, + "id": 1889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1882, + "id": 1886, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1460:6:3", "nodeType": "VariableDeclaration", - "scope": 1886, + "scope": 1890, "src": "1452:14:3", "stateVariable": false, "storageLocation": "default", @@ -3034,7 +3034,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1881, + "id": 1885, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1452:7:3", @@ -3047,13 +3047,13 @@ }, { "constant": false, - "id": 1884, + "id": 1888, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1476:5:3", "nodeType": "VariableDeclaration", - "scope": 1886, + "scope": 1890, "src": "1468:13:3", "stateVariable": false, "storageLocation": "default", @@ -3062,7 +3062,7 @@ "typeString": "address" }, "typeName": { - "id": 1883, + "id": 1887, "name": "address", "nodeType": "ElementaryTypeName", "src": "1468:7:3", @@ -3079,7 +3079,7 @@ } }, { - "id": 1892, + "id": 1896, "nodeType": "EventDefinition", "src": "1488:50:3", "nodes": [], @@ -3088,18 +3088,18 @@ "name": "AlreadyVoted", "nameLocation": "1494:12:3", "parameters": { - "id": 1891, + "id": 1895, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1888, + "id": 1892, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1515:6:3", "nodeType": "VariableDeclaration", - "scope": 1892, + "scope": 1896, "src": "1507:14:3", "stateVariable": false, "storageLocation": "default", @@ -3108,7 +3108,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1887, + "id": 1891, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1507:7:3", @@ -3121,13 +3121,13 @@ }, { "constant": false, - "id": 1890, + "id": 1894, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1531:5:3", "nodeType": "VariableDeclaration", - "scope": 1892, + "scope": 1896, "src": "1523:13:3", "stateVariable": false, "storageLocation": "default", @@ -3136,7 +3136,7 @@ "typeString": "address" }, "typeName": { - "id": 1889, + "id": 1893, "name": "address", "nodeType": "ElementaryTypeName", "src": "1523:7:3", @@ -3153,7 +3153,7 @@ } }, { - "id": 1898, + "id": 1902, "nodeType": "EventDefinition", "src": "1543:54:3", "nodes": [], @@ -3162,18 +3162,18 @@ "name": "InvalidSignature", "nameLocation": "1549:16:3", "parameters": { - "id": 1897, + "id": 1901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1894, + "id": 1898, "indexed": false, "mutability": "mutable", "name": "roomId", "nameLocation": "1574:6:3", "nodeType": "VariableDeclaration", - "scope": 1898, + "scope": 1902, "src": "1566:14:3", "stateVariable": false, "storageLocation": "default", @@ -3182,7 +3182,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1893, + "id": 1897, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1566:7:3", @@ -3195,13 +3195,13 @@ }, { "constant": false, - "id": 1896, + "id": 1900, "indexed": false, "mutability": "mutable", "name": "voter", "nameLocation": "1590:5:3", "nodeType": "VariableDeclaration", - "scope": 1898, + "scope": 1902, "src": "1582:13:3", "stateVariable": false, "storageLocation": "default", @@ -3210,7 +3210,7 @@ "typeString": "address" }, "typeName": { - "id": 1895, + "id": 1899, "name": "address", "nodeType": "ElementaryTypeName", "src": "1582:7:3", @@ -3227,7 +3227,7 @@ } }, { - "id": 1901, + "id": 1905, "nodeType": "VariableDeclaration", "src": "1603:26:3", "nodes": [], @@ -3236,37 +3236,37 @@ "mutability": "mutable", "name": "directory", "nameLocation": "1620:9:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" }, "typeName": { - "id": 1900, + "id": 1904, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1899, + "id": 1903, "name": "Directory", "nameLocations": [ "1603:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "1603:9:3" }, - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "1603:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "visibility": "public" }, { - "id": 1904, + "id": 1908, "nodeType": "VariableDeclaration", "src": "1635:24:3", "nodes": [], @@ -3275,37 +3275,37 @@ "mutability": "mutable", "name": "token", "nameLocation": "1654:5:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 1903, + "id": 1907, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1902, + "id": 1906, "name": "MiniMeToken", "nameLocations": [ "1635:11:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33553, + "referencedDeclaration": 33557, "src": "1635:11:3" }, - "referencedDeclaration": 33553, + "referencedDeclaration": 33557, "src": "1635:11:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, "visibility": "public" }, { - "id": 1906, + "id": 1910, "nodeType": "VariableDeclaration", "src": "1666:27:3", "nodes": [], @@ -3314,7 +3314,7 @@ "mutability": "mutable", "name": "votingLength", "nameLocation": "1681:12:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3322,7 +3322,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1905, + "id": 1909, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1666:7:3", @@ -3334,7 +3334,7 @@ "visibility": "public" }, { - "id": 1908, + "id": 1912, "nodeType": "VariableDeclaration", "src": "1699:39:3", "nodes": [], @@ -3343,7 +3343,7 @@ "mutability": "mutable", "name": "votingVerificationLength", "nameLocation": "1714:24:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3351,7 +3351,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1911, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1699:7:3", @@ -3363,7 +3363,7 @@ "visibility": "public" }, { - "id": 1910, + "id": 1914, "nodeType": "VariableDeclaration", "src": "1744:32:3", "nodes": [], @@ -3372,7 +3372,7 @@ "mutability": "mutable", "name": "timeBetweenVoting", "nameLocation": "1759:17:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3380,7 +3380,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1909, + "id": 1913, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1744:7:3", @@ -3392,7 +3392,7 @@ "visibility": "public" }, { - "id": 1914, + "id": 1918, "nodeType": "VariableDeclaration", "src": "1783:31:3", "nodes": [], @@ -3401,46 +3401,46 @@ "mutability": "mutable", "name": "votingRooms", "nameLocation": "1803:11:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom[]" }, "typeName": { "baseType": { - "id": 1912, + "id": 1916, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1911, + "id": 1915, "name": "VotingRoom", "nameLocations": [ "1783:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "1783:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "1783:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 1913, + "id": 1917, "nodeType": "ArrayTypeName", "src": "1783:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } }, "visibility": "public" }, { - "id": 1918, + "id": 1922, "nodeType": "VariableDeclaration", "src": "1820:58:3", "nodes": [], @@ -3449,7 +3449,7 @@ "mutability": "mutable", "name": "activeRoomIDByCommunityID", "nameLocation": "1853:25:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3457,11 +3457,11 @@ "typeString": "mapping(bytes => uint256)" }, "typeName": { - "id": 1917, + "id": 1921, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1915, + "id": 1919, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1828:5:3", @@ -3479,7 +3479,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1916, + "id": 1920, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1837:7:3", @@ -3492,7 +3492,7 @@ "visibility": "public" }, { - "id": 1923, + "id": 1927, "nodeType": "VariableDeclaration", "src": "1884:56:3", "nodes": [], @@ -3500,7 +3500,7 @@ "mutability": "mutable", "name": "roomIDsByCommunityID", "nameLocation": "1920:20:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3508,11 +3508,11 @@ "typeString": "mapping(bytes => uint256[])" }, "typeName": { - "id": 1922, + "id": 1926, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1919, + "id": 1923, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "1892:5:3", @@ -3531,7 +3531,7 @@ "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 1920, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1901:7:3", @@ -3540,7 +3540,7 @@ "typeString": "uint256" } }, - "id": 1921, + "id": 1925, "nodeType": "ArrayTypeName", "src": "1901:9:3", "typeDescriptions": { @@ -3552,7 +3552,7 @@ "visibility": "private" }, { - "id": 1927, + "id": 1931, "nodeType": "VariableDeclaration", "src": "2025:62:3", "nodes": [], @@ -3560,7 +3560,7 @@ "mutability": "mutable", "name": "transientRoomIdToVotesCount", "nameLocation": "2060:27:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3568,11 +3568,11 @@ "typeString": "mapping(uint256 => uint32)" }, "typeName": { - "id": 1926, + "id": 1930, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1924, + "id": 1928, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2033:7:3", @@ -3590,7 +3590,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1925, + "id": 1929, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "2044:6:3", @@ -3603,7 +3603,7 @@ "visibility": "private" }, { - "id": 1930, + "id": 1934, "nodeType": "VariableDeclaration", "src": "2169:34:3", "nodes": [], @@ -3611,7 +3611,7 @@ "mutability": "mutable", "name": "transientRoomIds", "nameLocation": "2187:16:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3620,7 +3620,7 @@ }, "typeName": { "baseType": { - "id": 1928, + "id": 1932, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2169:7:3", @@ -3629,7 +3629,7 @@ "typeString": "uint256" } }, - "id": 1929, + "id": 1933, "nodeType": "ArrayTypeName", "src": "2169:9:3", "typeDescriptions": { @@ -3640,7 +3640,7 @@ "visibility": "private" }, { - "id": 1936, + "id": 1940, "nodeType": "VariableDeclaration", "src": "2210:48:3", "nodes": [], @@ -3648,19 +3648,19 @@ "mutability": "mutable", "name": "votesByRoomID", "nameLocation": "2245:13:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote[])" }, "typeName": { - "id": 1935, + "id": 1939, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1931, + "id": 1935, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2218:7:3", @@ -3672,37 +3672,37 @@ "nodeType": "Mapping", "src": "2210:26:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote[])" }, "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 1933, + "id": 1937, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1932, + "id": 1936, "name": "Vote", "nameLocations": [ "2229:4:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "2229:4:3" }, - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "2229:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote" } }, - "id": 1934, + "id": 1938, "nodeType": "ArrayTypeName", "src": "2229:6:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.Vote[]" } } @@ -3710,7 +3710,7 @@ "visibility": "private" }, { - "id": 1942, + "id": 1946, "nodeType": "VariableDeclaration", "src": "2264:75:3", "nodes": [], @@ -3718,7 +3718,7 @@ "mutability": "mutable", "name": "votedAddressesByRoomID", "nameLocation": "2317:22:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3726,11 +3726,11 @@ "typeString": "mapping(uint256 => mapping(address => bool))" }, "typeName": { - "id": 1941, + "id": 1945, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1937, + "id": 1941, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2272:7:3", @@ -3748,11 +3748,11 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1940, + "id": 1944, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1938, + "id": 1942, "name": "address", "nodeType": "ElementaryTypeName", "src": "2291:7:3", @@ -3770,7 +3770,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1939, + "id": 1943, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2302:4:3", @@ -3784,7 +3784,7 @@ "visibility": "private" }, { - "id": 1947, + "id": 1951, "nodeType": "VariableDeclaration", "src": "2346:152:3", "nodes": [], @@ -3792,7 +3792,7 @@ "mutability": "constant", "name": "EIP712DOMAIN_TYPEHASH", "nameLocation": "2371:21:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3800,7 +3800,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1943, + "id": 1947, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2346:7:3", @@ -3813,7 +3813,7 @@ "arguments": [ { "hexValue": "454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429", - "id": 1945, + "id": 1949, "isConstant": false, "isLValue": false, "isPure": true, @@ -3835,7 +3835,7 @@ "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" } ], - "id": 1944, + "id": 1948, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3846,7 +3846,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1946, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": true, @@ -3865,7 +3865,7 @@ "visibility": "private" }, { - "id": 1956, + "id": 1960, "nodeType": "StructDefinition", "src": "2505:132:3", "nodes": [], @@ -3873,12 +3873,12 @@ "members": [ { "constant": false, - "id": 1949, + "id": 1953, "mutability": "mutable", "name": "name", "nameLocation": "2542:4:3", "nodeType": "VariableDeclaration", - "scope": 1956, + "scope": 1960, "src": "2535:11:3", "stateVariable": false, "storageLocation": "default", @@ -3887,7 +3887,7 @@ "typeString": "string" }, "typeName": { - "id": 1948, + "id": 1952, "name": "string", "nodeType": "ElementaryTypeName", "src": "2535:6:3", @@ -3900,12 +3900,12 @@ }, { "constant": false, - "id": 1951, + "id": 1955, "mutability": "mutable", "name": "version", "nameLocation": "2563:7:3", "nodeType": "VariableDeclaration", - "scope": 1956, + "scope": 1960, "src": "2556:14:3", "stateVariable": false, "storageLocation": "default", @@ -3914,7 +3914,7 @@ "typeString": "string" }, "typeName": { - "id": 1950, + "id": 1954, "name": "string", "nodeType": "ElementaryTypeName", "src": "2556:6:3", @@ -3927,12 +3927,12 @@ }, { "constant": false, - "id": 1953, + "id": 1957, "mutability": "mutable", "name": "chainId", "nameLocation": "2588:7:3", "nodeType": "VariableDeclaration", - "scope": 1956, + "scope": 1960, "src": "2580:15:3", "stateVariable": false, "storageLocation": "default", @@ -3941,7 +3941,7 @@ "typeString": "uint256" }, "typeName": { - "id": 1952, + "id": 1956, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2580:7:3", @@ -3954,12 +3954,12 @@ }, { "constant": false, - "id": 1955, + "id": 1959, "mutability": "mutable", "name": "verifyingContract", "nameLocation": "2613:17:3", "nodeType": "VariableDeclaration", - "scope": 1956, + "scope": 1960, "src": "2605:25:3", "stateVariable": false, "storageLocation": "default", @@ -3968,7 +3968,7 @@ "typeString": "address" }, "typeName": { - "id": 1954, + "id": 1958, "name": "address", "nodeType": "ElementaryTypeName", "src": "2605:7:3", @@ -3983,11 +3983,11 @@ ], "name": "EIP712Domain", "nameLocation": "2512:12:3", - "scope": 3037, + "scope": 3041, "visibility": "public" }, { - "id": 1958, + "id": 1962, "nodeType": "VariableDeclaration", "src": "2643:32:3", "nodes": [], @@ -3995,7 +3995,7 @@ "mutability": "mutable", "name": "DOMAIN_SEPARATOR", "nameLocation": "2659:16:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4003,7 +4003,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1957, + "id": 1961, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2643:7:3", @@ -4015,12 +4015,12 @@ "visibility": "private" }, { - "id": 1992, + "id": 1996, "nodeType": "FunctionDefinition", "src": "2682:395:3", "nodes": [], "body": { - "id": 1991, + "id": 1995, "nodeType": "Block", "src": "2762:315:3", "nodes": [], @@ -4031,11 +4031,11 @@ { "arguments": [ { - "id": 1969, + "id": 1973, "name": "EIP712DOMAIN_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1947, + "referencedDeclaration": 1951, "src": "2830:21:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4048,18 +4048,18 @@ "arguments": [ { "expression": { - "id": 1973, + "id": 1977, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, + "referencedDeclaration": 1965, "src": "2885:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1974, + "id": 1978, "isConstant": false, "isLValue": true, "isPure": false, @@ -4067,7 +4067,7 @@ "memberLocation": "2898:4:3", "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 1949, + "referencedDeclaration": 1953, "src": "2885:17:3", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -4082,7 +4082,7 @@ "typeString": "string memory" } ], - "id": 1972, + "id": 1976, "isConstant": false, "isLValue": false, "isPure": true, @@ -4094,14 +4094,14 @@ "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 1971, + "id": 1975, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2879:5:3", "typeDescriptions": {} } }, - "id": 1975, + "id": 1979, "isConstant": false, "isLValue": false, "isPure": false, @@ -4125,7 +4125,7 @@ "typeString": "bytes memory" } ], - "id": 1970, + "id": 1974, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4136,7 +4136,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1976, + "id": 1980, "isConstant": false, "isLValue": false, "isPure": false, @@ -4158,18 +4158,18 @@ "arguments": [ { "expression": { - "id": 1980, + "id": 1984, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, + "referencedDeclaration": 1965, "src": "2938:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1981, + "id": 1985, "isConstant": false, "isLValue": true, "isPure": false, @@ -4177,7 +4177,7 @@ "memberLocation": "2951:7:3", "memberName": "version", "nodeType": "MemberAccess", - "referencedDeclaration": 1951, + "referencedDeclaration": 1955, "src": "2938:20:3", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -4192,7 +4192,7 @@ "typeString": "string memory" } ], - "id": 1979, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, @@ -4204,14 +4204,14 @@ "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 1978, + "id": 1982, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "2932:5:3", "typeDescriptions": {} } }, - "id": 1982, + "id": 1986, "isConstant": false, "isLValue": false, "isPure": false, @@ -4235,7 +4235,7 @@ "typeString": "bytes memory" } ], - "id": 1977, + "id": 1981, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4246,7 +4246,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1983, + "id": 1987, "isConstant": false, "isLValue": false, "isPure": false, @@ -4264,18 +4264,18 @@ }, { "expression": { - "id": 1984, + "id": 1988, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, + "referencedDeclaration": 1965, "src": "2978:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1985, + "id": 1989, "isConstant": false, "isLValue": true, "isPure": false, @@ -4283,7 +4283,7 @@ "memberLocation": "2991:7:3", "memberName": "chainId", "nodeType": "MemberAccess", - "referencedDeclaration": 1953, + "referencedDeclaration": 1957, "src": "2978:20:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4292,18 +4292,18 @@ }, { "expression": { - "id": 1986, + "id": 1990, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, + "referencedDeclaration": 1965, "src": "3016:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1987, + "id": 1991, "isConstant": false, "isLValue": true, "isPure": false, @@ -4311,7 +4311,7 @@ "memberLocation": "3029:17:3", "memberName": "verifyingContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1955, + "referencedDeclaration": 1959, "src": "3016:30:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4343,7 +4343,7 @@ } ], "expression": { - "id": 1967, + "id": 1971, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4354,7 +4354,7 @@ "typeString": "abi" } }, - "id": 1968, + "id": 1972, "isConstant": false, "isLValue": false, "isPure": true, @@ -4368,7 +4368,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 1988, + "id": 1992, "isConstant": false, "isLValue": false, "isPure": false, @@ -4392,7 +4392,7 @@ "typeString": "bytes memory" } ], - "id": 1966, + "id": 1970, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4403,7 +4403,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1989, + "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, @@ -4419,8 +4419,8 @@ "typeString": "bytes32" } }, - "functionReturnParameters": 1965, - "id": 1990, + "functionReturnParameters": 1969, + "id": 1994, "nodeType": "Return", "src": "2772:298:3" } @@ -4432,41 +4432,41 @@ "name": "hash", "nameLocation": "2691:4:3", "parameters": { - "id": 1962, + "id": 1966, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1961, + "id": 1965, "mutability": "mutable", "name": "eip712Domain", "nameLocation": "2716:12:3", "nodeType": "VariableDeclaration", - "scope": 1992, + "scope": 1996, "src": "2696:32:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain" }, "typeName": { - "id": 1960, + "id": 1964, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1959, + "id": 1963, "name": "EIP712Domain", "nameLocations": [ "2696:12:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1956, + "referencedDeclaration": 1960, "src": "2696:12:3" }, - "referencedDeclaration": 1956, + "referencedDeclaration": 1960, "src": "2696:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_storage_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_storage_ptr", "typeString": "struct VotingContract.EIP712Domain" } }, @@ -4476,17 +4476,17 @@ "src": "2695:34:3" }, "returnParameters": { - "id": 1965, + "id": 1969, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1964, + "id": 1968, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1992, + "scope": 1996, "src": "2753:7:3", "stateVariable": false, "storageLocation": "default", @@ -4495,7 +4495,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1963, + "id": 1967, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2753:7:3", @@ -4509,13 +4509,13 @@ ], "src": "2752:9:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 1997, + "id": 2001, "nodeType": "VariableDeclaration", "src": "3083:138:3", "nodes": [], @@ -4524,7 +4524,7 @@ "mutability": "constant", "name": "VOTE_TYPEHASH", "nameLocation": "3107:13:3", - "scope": 3037, + "scope": 3041, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4532,7 +4532,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 1993, + "id": 1997, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3083:7:3", @@ -4545,7 +4545,7 @@ "arguments": [ { "hexValue": "566f74652875696e7432353620726f6f6d4964416e64547970652c75696e7432353620736e74416d6f756e742c6164647265737320766f7465722c75696e743235362074696d657374616d7029", - "id": 1995, + "id": 1999, "isConstant": false, "isLValue": false, "isPure": true, @@ -4567,7 +4567,7 @@ "typeString": "literal_string \"Vote(uint256 roomIdAndType,uint256 sntAmount,address voter,uint256 timestamp)\"" } ], - "id": 1994, + "id": 1998, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4578,7 +4578,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1996, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": true, @@ -4597,12 +4597,12 @@ "visibility": "public" }, { - "id": 2021, + "id": 2025, "nodeType": "FunctionDefinition", "src": "3228:196:3", "nodes": [], "body": { - "id": 2020, + "id": 2024, "nodeType": "Block", "src": "3300:124:3", "nodes": [], @@ -4613,83 +4613,27 @@ { "arguments": [ { - "id": 2008, + "id": 2012, "name": "VOTE_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1997, + "referencedDeclaration": 2001, "src": "3338:13:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - { - "expression": { - "id": 2009, - "name": "vote", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2000, - "src": "3353:4:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", - "typeString": "struct VotingContract.SignedVote calldata" - } - }, - "id": 2010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3358:13:3", - "memberName": "roomIdAndType", - "nodeType": "MemberAccess", - "referencedDeclaration": 1842, - "src": "3353:18:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "expression": { - "id": 2011, - "name": "vote", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2000, - "src": "3373:4:3", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", - "typeString": "struct VotingContract.SignedVote calldata" - } - }, - "id": 2012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3378:9:3", - "memberName": "sntAmount", - "nodeType": "MemberAccess", - "referencedDeclaration": 1844, - "src": "3373:14:3", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, { "expression": { "id": 2013, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2000, - "src": "3389:4:3", + "referencedDeclaration": 2004, + "src": "3353:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, @@ -4698,14 +4642,14 @@ "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3394:5:3", - "memberName": "voter", + "memberLocation": "3358:13:3", + "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, - "src": "3389:10:3", + "referencedDeclaration": 1846, + "src": "3353:18:3", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, { @@ -4714,10 +4658,10 @@ "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2000, - "src": "3401:4:3", + "referencedDeclaration": 2004, + "src": "3373:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, @@ -4726,10 +4670,66 @@ "isLValue": false, "isPure": false, "lValueRequested": false, + "memberLocation": "3378:9:3", + "memberName": "sntAmount", + "nodeType": "MemberAccess", + "referencedDeclaration": 1848, + "src": "3373:14:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 2017, + "name": "vote", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2004, + "src": "3389:4:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", + "typeString": "struct VotingContract.SignedVote calldata" + } + }, + "id": 2018, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3394:5:3", + "memberName": "voter", + "nodeType": "MemberAccess", + "referencedDeclaration": 1844, + "src": "3389:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 2019, + "name": "vote", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2004, + "src": "3401:4:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", + "typeString": "struct VotingContract.SignedVote calldata" + } + }, + "id": 2020, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, "memberLocation": "3406:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, + "referencedDeclaration": 1850, "src": "3401:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4761,7 +4761,7 @@ } ], "expression": { - "id": 2006, + "id": 2010, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4772,7 +4772,7 @@ "typeString": "abi" } }, - "id": 2007, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, @@ -4786,7 +4786,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 2017, + "id": 2021, "isConstant": false, "isLValue": false, "isPure": false, @@ -4810,7 +4810,7 @@ "typeString": "bytes memory" } ], - "id": 2005, + "id": 2009, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -4821,7 +4821,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 2018, + "id": 2022, "isConstant": false, "isLValue": false, "isPure": false, @@ -4837,8 +4837,8 @@ "typeString": "bytes32" } }, - "functionReturnParameters": 2004, - "id": 2019, + "functionReturnParameters": 2008, + "id": 2023, "nodeType": "Return", "src": "3310:107:3" } @@ -4850,41 +4850,41 @@ "name": "hash", "nameLocation": "3237:4:3", "parameters": { - "id": 2001, + "id": 2005, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2000, + "id": 2004, "mutability": "mutable", "name": "vote", "nameLocation": "3262:4:3", "nodeType": "VariableDeclaration", - "scope": 2021, + "scope": 2025, "src": "3242:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 1999, + "id": 2003, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1998, + "id": 2002, "name": "SignedVote", "nameLocations": [ "3242:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "3242:10:3" }, - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "3242:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, @@ -4894,17 +4894,17 @@ "src": "3241:26:3" }, "returnParameters": { - "id": 2004, + "id": 2008, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2003, + "id": 2007, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2021, + "scope": 2025, "src": "3291:7:3", "stateVariable": false, "storageLocation": "default", @@ -4913,7 +4913,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 2006, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3291:7:3", @@ -4927,35 +4927,35 @@ ], "src": "3290:9:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 2054, + "id": 2058, "nodeType": "FunctionDefinition", "src": "3430:245:3", "nodes": [], "body": { - "id": 2053, + "id": 2057, "nodeType": "Block", "src": "3510:165:3", "nodes": [], "statements": [ { "assignments": [ - 2030 + 2034 ], "declarations": [ { "constant": false, - "id": 2030, + "id": 2034, "mutability": "mutable", "name": "digest", "nameLocation": "3528:6:3", "nodeType": "VariableDeclaration", - "scope": 2053, + "scope": 2057, "src": "3520:14:3", "stateVariable": false, "storageLocation": "default", @@ -4964,7 +4964,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 2029, + "id": 2033, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "3520:7:3", @@ -4976,14 +4976,14 @@ "visibility": "internal" } ], - "id": 2041, + "id": 2045, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "1901", - "id": 2034, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, @@ -4998,11 +4998,11 @@ "value": "\u0019\u0001" }, { - "id": 2035, + "id": 2039, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1958, + "referencedDeclaration": 1962, "src": "3576:16:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5012,14 +5012,14 @@ { "arguments": [ { - "id": 2037, + "id": 2041, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2024, + "referencedDeclaration": 2028, "src": "3599:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -5027,25 +5027,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 2036, + "id": 2040, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 1992, - 2021 + 1996, + 2025 ], - "referencedDeclaration": 2021, + "referencedDeclaration": 2025, "src": "3594:4:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$1855_calldata_ptr_$returns$_t_bytes32_$", "typeString": "function (struct VotingContract.SignedVote calldata) pure returns (bytes32)" } }, - "id": 2038, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -5078,7 +5078,7 @@ } ], "expression": { - "id": 2032, + "id": 2036, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5089,7 +5089,7 @@ "typeString": "abi" } }, - "id": 2033, + "id": 2037, "isConstant": false, "isLValue": false, "isPure": true, @@ -5103,7 +5103,7 @@ "typeString": "function () pure returns (bytes memory)" } }, - "id": 2039, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, @@ -5127,7 +5127,7 @@ "typeString": "bytes memory" } ], - "id": 2031, + "id": 2035, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5138,7 +5138,7 @@ "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 2040, + "id": 2044, "isConstant": false, "isLValue": false, "isPure": false, @@ -5163,7 +5163,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2051, + "id": 2055, "isConstant": false, "isLValue": false, "isPure": false, @@ -5172,18 +5172,18 @@ "arguments": [ { "expression": { - "id": 2044, + "id": 2048, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2024, + "referencedDeclaration": 2028, "src": "3638:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2045, + "id": 2049, "isConstant": false, "isLValue": false, "isPure": false, @@ -5191,7 +5191,7 @@ "memberLocation": "3643:1:3", "memberName": "r", "nodeType": "MemberAccess", - "referencedDeclaration": 1848, + "referencedDeclaration": 1852, "src": "3638:6:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5200,18 +5200,18 @@ }, { "expression": { - "id": 2046, + "id": 2050, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2024, + "referencedDeclaration": 2028, "src": "3646:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2047, + "id": 2051, "isConstant": false, "isLValue": false, "isPure": false, @@ -5219,7 +5219,7 @@ "memberLocation": "3651:2:3", "memberName": "vs", "nodeType": "MemberAccess", - "referencedDeclaration": 1850, + "referencedDeclaration": 1854, "src": "3646:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5239,18 +5239,18 @@ } ], "expression": { - "id": 2042, + "id": 2046, "name": "digest", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2030, + "referencedDeclaration": 2034, "src": "3623:6:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 2043, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, @@ -5258,14 +5258,14 @@ "memberLocation": "3630:7:3", "memberName": "recover", "nodeType": "MemberAccess", - "referencedDeclaration": 44767, + "referencedDeclaration": 44825, "src": "3623:14:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_address_$attached_to$_t_bytes32_$", "typeString": "function (bytes32,bytes32,bytes32) pure returns (address)" } }, - "id": 2048, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": false, @@ -5285,18 +5285,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2049, + "id": 2053, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2024, + "referencedDeclaration": 2028, "src": "3658:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2050, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -5304,7 +5304,7 @@ "memberLocation": "3663:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "3658:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5317,8 +5317,8 @@ "typeString": "bool" } }, - "functionReturnParameters": 2028, - "id": 2052, + "functionReturnParameters": 2032, + "id": 2056, "nodeType": "Return", "src": "3616:52:3" } @@ -5330,41 +5330,41 @@ "name": "verifySignature", "nameLocation": "3439:15:3", "parameters": { - "id": 2025, + "id": 2029, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2024, + "id": 2028, "mutability": "mutable", "name": "vote", "nameLocation": "3475:4:3", "nodeType": "VariableDeclaration", - "scope": 2054, + "scope": 2058, "src": "3455:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 2023, + "id": 2027, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2022, + "id": 2026, "name": "SignedVote", "nameLocations": [ "3455:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "3455:10:3" }, - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "3455:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, @@ -5374,17 +5374,17 @@ "src": "3454:26:3" }, "returnParameters": { - "id": 2028, + "id": 2032, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2027, + "id": 2031, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2054, + "scope": 2058, "src": "3504:4:3", "stateVariable": false, "storageLocation": "default", @@ -5393,7 +5393,7 @@ "typeString": "bool" }, "typeName": { - "id": 2026, + "id": 2030, "name": "bool", "nodeType": "ElementaryTypeName", "src": "3504:4:3", @@ -5407,65 +5407,22 @@ ], "src": "3503:6:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "internal" }, { - "id": 2098, + "id": 2102, "nodeType": "FunctionDefinition", "src": "3681:581:3", "nodes": [], "body": { - "id": 2097, + "id": 2101, "nodeType": "Block", "src": "3837:425:3", "nodes": [], "statements": [ - { - "expression": { - "id": 2068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 2066, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1904, - "src": "3847:5:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 2067, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2057, - "src": "3855:6:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", - "typeString": "contract MiniMeToken" - } - }, - "src": "3847:14:3", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", - "typeString": "contract MiniMeToken" - } - }, - "id": 2069, - "nodeType": "ExpressionStatement", - "src": "3847:14:3" - }, { "expression": { "id": 2072, @@ -5475,10 +5432,53 @@ "lValueRequested": false, "leftHandSide": { "id": 2070, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1908, + "src": "3847:5:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 2071, + "name": "_token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2061, + "src": "3855:6:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "src": "3847:14:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$33557", + "typeString": "contract MiniMeToken" + } + }, + "id": 2073, + "nodeType": "ExpressionStatement", + "src": "3847:14:3" + }, + { + "expression": { + "id": 2076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2074, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1906, + "referencedDeclaration": 1910, "src": "3871:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5488,11 +5488,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2071, + "id": 2075, "name": "_votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2059, + "referencedDeclaration": 2063, "src": "3886:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5505,23 +5505,23 @@ "typeString": "uint256" } }, - "id": 2073, + "id": 2077, "nodeType": "ExpressionStatement", "src": "3871:28:3" }, { "expression": { - "id": 2076, + "id": 2080, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2074, + "id": 2078, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1908, + "referencedDeclaration": 1912, "src": "3909:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5531,11 +5531,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2075, + "id": 2079, "name": "_votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2061, + "referencedDeclaration": 2065, "src": "3936:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5548,23 +5548,23 @@ "typeString": "uint256" } }, - "id": 2077, + "id": 2081, "nodeType": "ExpressionStatement", "src": "3909:52:3" }, { "expression": { - "id": 2080, + "id": 2084, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2078, + "id": 2082, "name": "timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1910, + "referencedDeclaration": 1914, "src": "3971:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5574,11 +5574,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2079, + "id": 2083, "name": "_timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2063, + "referencedDeclaration": 2067, "src": "3991:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5591,23 +5591,23 @@ "typeString": "uint256" } }, - "id": 2081, + "id": 2085, "nodeType": "ExpressionStatement", "src": "3971:38:3" }, { "expression": { - "id": 2095, + "id": 2099, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2082, + "id": 2086, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1958, + "referencedDeclaration": 1962, "src": "4019:16:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5622,7 +5622,7 @@ "arguments": [ { "hexValue": "566f74696e6720436f6e7472616374", - "id": 2085, + "id": 2089, "isConstant": false, "isLValue": false, "isPure": true, @@ -5638,7 +5638,7 @@ }, { "hexValue": "31", - "id": 2086, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": true, @@ -5654,7 +5654,7 @@ }, { "expression": { - "id": 2087, + "id": 2091, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5665,7 +5665,7 @@ "typeString": "block" } }, - "id": 2088, + "id": 2092, "isConstant": false, "isLValue": false, "isPure": false, @@ -5682,14 +5682,14 @@ { "arguments": [ { - "id": 2091, + "id": 2095, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -28, "src": "4225:4:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_VotingContract_$3037", + "typeIdentifier": "t_contract$_VotingContract_$3041", "typeString": "contract VotingContract" } } @@ -5697,11 +5697,11 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_VotingContract_$3037", + "typeIdentifier": "t_contract$_VotingContract_$3041", "typeString": "contract VotingContract" } ], - "id": 2090, + "id": 2094, "isConstant": false, "isLValue": false, "isPure": true, @@ -5713,14 +5713,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 2089, + "id": 2093, "name": "address", "nodeType": "ElementaryTypeName", "src": "4217:7:3", "typeDescriptions": {} } }, - "id": 2092, + "id": 2096, "isConstant": false, "isLValue": false, "isPure": false, @@ -5756,18 +5756,18 @@ "typeString": "address" } ], - "id": 2084, + "id": 2088, "name": "EIP712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1956, + "referencedDeclaration": 1960, "src": "4056:12:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1956_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1960_storage_ptr_$", "typeString": "type(struct VotingContract.EIP712Domain storage pointer)" } }, - "id": 2093, + "id": 2097, "isConstant": false, "isLValue": false, "isPure": false, @@ -5789,7 +5789,7 @@ "src": "4056:189:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } } @@ -5797,25 +5797,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1960_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } ], - "id": 2083, + "id": 2087, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 1992, - 2021 + 1996, + 2025 ], - "referencedDeclaration": 1992, + "referencedDeclaration": 1996, "src": "4038:4:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$1956_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$1960_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct VotingContract.EIP712Domain memory) pure returns (bytes32)" } }, - "id": 2094, + "id": 2098, "isConstant": false, "isLValue": false, "isPure": false, @@ -5837,7 +5837,7 @@ "typeString": "bytes32" } }, - "id": 2096, + "id": 2100, "nodeType": "ExpressionStatement", "src": "4019:236:3" } @@ -5849,41 +5849,41 @@ "name": "", "nameLocation": "-1:-1:-1", "parameters": { - "id": 2064, + "id": 2068, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2057, + "id": 2061, "mutability": "mutable", "name": "_token", "nameLocation": "3714:6:3", "nodeType": "VariableDeclaration", - "scope": 2098, + "scope": 2102, "src": "3702:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 2056, + "id": 2060, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2055, + "id": 2059, "name": "MiniMeToken", "nameLocations": [ "3702:11:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33553, + "referencedDeclaration": 33557, "src": "3702:11:3" }, - "referencedDeclaration": 33553, + "referencedDeclaration": 33557, "src": "3702:11:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, @@ -5891,12 +5891,12 @@ }, { "constant": false, - "id": 2059, + "id": 2063, "mutability": "mutable", "name": "_votingLength", "nameLocation": "3738:13:3", "nodeType": "VariableDeclaration", - "scope": 2098, + "scope": 2102, "src": "3730:21:3", "stateVariable": false, "storageLocation": "default", @@ -5905,7 +5905,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2058, + "id": 2062, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3730:7:3", @@ -5918,12 +5918,12 @@ }, { "constant": false, - "id": 2061, + "id": 2065, "mutability": "mutable", "name": "_votingVerificationLength", "nameLocation": "3769:25:3", "nodeType": "VariableDeclaration", - "scope": 2098, + "scope": 2102, "src": "3761:33:3", "stateVariable": false, "storageLocation": "default", @@ -5932,7 +5932,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2060, + "id": 2064, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3761:7:3", @@ -5945,12 +5945,12 @@ }, { "constant": false, - "id": 2063, + "id": 2067, "mutability": "mutable", "name": "_timeBetweenVoting", "nameLocation": "3812:18:3", "nodeType": "VariableDeclaration", - "scope": 2098, + "scope": 2102, "src": "3804:26:3", "stateVariable": false, "storageLocation": "default", @@ -5959,7 +5959,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2062, + "id": 2066, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3804:7:3", @@ -5974,67 +5974,67 @@ "src": "3692:144:3" }, "returnParameters": { - "id": 2065, + "id": 2069, "nodeType": "ParameterList", "parameters": [], "src": "3837:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2111, + "id": 2115, "nodeType": "FunctionDefinition", "src": "4268:96:3", "nodes": [], "body": { - "id": 2110, + "id": 2114, "nodeType": "Block", "src": "4327:37:3", "nodes": [], "statements": [ { "expression": { - "id": 2108, + "id": 2112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2106, + "id": 2110, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1901, + "referencedDeclaration": 1905, "src": "4337:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2107, + "id": 2111, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2101, + "referencedDeclaration": 2105, "src": "4349:8:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, "src": "4337:20:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 2109, + "id": 2113, "nodeType": "ExpressionStatement", "src": "4337:20:3" } @@ -6045,16 +6045,16 @@ "kind": "function", "modifiers": [ { - "id": 2104, + "id": 2108, "kind": "modifierInvocation", "modifierName": { - "id": 2103, + "id": 2107, "name": "onlyOwner", "nameLocations": [ "4317:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 45279, + "referencedDeclaration": 45337, "src": "4317:9:3" }, "nodeType": "ModifierInvocation", @@ -6064,41 +6064,41 @@ "name": "setDirectory", "nameLocation": "4277:12:3", "parameters": { - "id": 2102, + "id": 2106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2101, + "id": 2105, "mutability": "mutable", "name": "_address", "nameLocation": "4300:8:3", "nodeType": "VariableDeclaration", - "scope": 2111, + "scope": 2115, "src": "4290:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" }, "typeName": { - "id": 2100, + "id": 2104, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2099, + "id": 2103, "name": "Directory", "nameLocations": [ "4290:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "4290:9:3" }, - "referencedDeclaration": 294, + "referencedDeclaration": 298, "src": "4290:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, @@ -6108,23 +6108,23 @@ "src": "4289:20:3" }, "returnParameters": { - "id": 2105, + "id": 2109, "nodeType": "ParameterList", "parameters": [], "src": "4327:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2116, + "id": 2120, "nodeType": "ErrorDefinition", "src": "4415:40:3", "nodes": [], "documentation": { - "id": 2112, + "id": 2116, "nodeType": "StructuredDocumentation", "src": "4370:40:3", "text": "Voting room with `ID` doesn't exist." @@ -6133,17 +6133,17 @@ "name": "VotingRoomDoesntExist", "nameLocation": "4421:21:3", "parameters": { - "id": 2115, + "id": 2119, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2114, + "id": 2118, "mutability": "mutable", "name": "ID", "nameLocation": "4451:2:3", "nodeType": "VariableDeclaration", - "scope": 2116, + "scope": 2120, "src": "4443:10:3", "stateVariable": false, "storageLocation": "default", @@ -6152,7 +6152,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2113, + "id": 2117, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4443:7:3", @@ -6168,12 +6168,12 @@ } }, { - "id": 2121, + "id": 2125, "nodeType": "ErrorDefinition", "src": "4503:32:3", "nodes": [], "documentation": { - "id": 2117, + "id": 2121, "nodeType": "StructuredDocumentation", "src": "4461:37:3", "text": "Room `ID` must be greater than 0." @@ -6182,17 +6182,17 @@ "name": "InvalidRoomID", "nameLocation": "4509:13:3", "parameters": { - "id": 2120, + "id": 2124, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2119, + "id": 2123, "mutability": "mutable", "name": "ID", "nameLocation": "4531:2:3", "nodeType": "VariableDeclaration", - "scope": 2121, + "scope": 2125, "src": "4523:10:3", "stateVariable": false, "storageLocation": "default", @@ -6201,7 +6201,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2118, + "id": 2122, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4523:7:3", @@ -6217,12 +6217,12 @@ } }, { - "id": 2144, + "id": 2148, "nodeType": "ModifierDefinition", "src": "4541:179:3", "nodes": [], "body": { - "id": 2143, + "id": 2147, "nodeType": "Block", "src": "4585:135:3", "nodes": [], @@ -6233,17 +6233,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 2131, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2125, + "id": 2129, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2123, + "referencedDeclaration": 2127, "src": "4599:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6254,7 +6254,7 @@ "operator": "<", "rightExpression": { "hexValue": "31", - "id": 2126, + "id": 2130, "isConstant": false, "isLValue": false, "isPure": true, @@ -6274,18 +6274,18 @@ "typeString": "bool" } }, - "id": 2132, + "id": 2136, "nodeType": "IfStatement", "src": "4595:36:3", "trueBody": { "errorCall": { "arguments": [ { - "id": 2129, + "id": 2133, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2123, + "referencedDeclaration": 2127, "src": "4628:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6300,18 +6300,18 @@ "typeString": "uint256" } ], - "id": 2128, + "id": 2132, "name": "InvalidRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2121, + "referencedDeclaration": 2125, "src": "4614:13:3", "typeDescriptions": { "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$", "typeString": "function (uint256) pure" } }, - "id": 2130, + "id": 2134, "isConstant": false, "isLValue": false, "isPure": false, @@ -6327,7 +6327,7 @@ "typeString": "tuple()" } }, - "id": 2131, + "id": 2135, "nodeType": "RevertStatement", "src": "4607:24:3" } @@ -6338,17 +6338,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2136, + "id": 2140, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2133, + "id": 2137, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2123, + "referencedDeclaration": 2127, "src": "4645:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6359,18 +6359,18 @@ "operator": ">", "rightExpression": { "expression": { - "id": 2134, + "id": 2138, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "4650:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2135, + "id": 2139, "isConstant": false, "isLValue": false, "isPure": false, @@ -6390,18 +6390,18 @@ "typeString": "bool" } }, - "id": 2141, + "id": 2145, "nodeType": "IfStatement", "src": "4641:61:3", "trueBody": { "errorCall": { "arguments": [ { - "id": 2138, + "id": 2142, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2123, + "referencedDeclaration": 2127, "src": "4699:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6416,18 +6416,18 @@ "typeString": "uint256" } ], - "id": 2137, + "id": 2141, "name": "VotingRoomDoesntExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, + "referencedDeclaration": 2120, "src": "4677:21:3", "typeDescriptions": { "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$", "typeString": "function (uint256) pure" } }, - "id": 2139, + "id": 2143, "isConstant": false, "isLValue": false, "isPure": false, @@ -6443,13 +6443,13 @@ "typeString": "tuple()" } }, - "id": 2140, + "id": 2144, "nodeType": "RevertStatement", "src": "4670:32:3" } }, { - "id": 2142, + "id": 2146, "nodeType": "PlaceholderStatement", "src": "4712:1:3" } @@ -6458,17 +6458,17 @@ "name": "onlyIfVotingRoomExists", "nameLocation": "4550:22:3", "parameters": { - "id": 2124, + "id": 2128, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2123, + "id": 2127, "mutability": "mutable", "name": "ID", "nameLocation": "4581:2:3", "nodeType": "VariableDeclaration", - "scope": 2144, + "scope": 2148, "src": "4573:10:3", "stateVariable": false, "storageLocation": "default", @@ -6477,7 +6477,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2122, + "id": 2126, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4573:7:3", @@ -6495,12 +6495,12 @@ "visibility": "internal" }, { - "id": 2162, + "id": 2166, "nodeType": "FunctionDefinition", "src": "4726:160:3", "nodes": [], "body": { - "id": 2161, + "id": 2165, "nodeType": "Block", "src": "4839:47:3", "nodes": [], @@ -6508,34 +6508,34 @@ { "expression": { "baseExpression": { - "id": 2155, + "id": 2159, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "4856:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2159, + "id": 2163, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2158, + "id": 2162, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2156, + "id": 2160, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2146, + "referencedDeclaration": 2150, "src": "4868:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6546,7 +6546,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2157, + "id": 2161, "isConstant": false, "isLValue": false, "isPure": true, @@ -6573,12 +6573,12 @@ "nodeType": "IndexAccess", "src": "4856:23:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "functionReturnParameters": 2154, - "id": 2160, + "functionReturnParameters": 2158, + "id": 2164, "nodeType": "Return", "src": "4849:30:3" } @@ -6590,11 +6590,11 @@ { "arguments": [ { - "id": 2149, + "id": 2153, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2146, + "referencedDeclaration": 2150, "src": "4802:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6602,16 +6602,16 @@ } } ], - "id": 2150, + "id": 2154, "kind": "modifierInvocation", "modifierName": { - "id": 2148, + "id": 2152, "name": "onlyIfVotingRoomExists", "nameLocations": [ "4779:22:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 2144, + "referencedDeclaration": 2148, "src": "4779:22:3" }, "nodeType": "ModifierInvocation", @@ -6621,17 +6621,17 @@ "name": "_getVotingRoom", "nameLocation": "4735:14:3", "parameters": { - "id": 2147, + "id": 2151, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2146, + "id": 2150, "mutability": "mutable", "name": "roomID", "nameLocation": "4758:6:3", "nodeType": "VariableDeclaration", - "scope": 2162, + "scope": 2166, "src": "4750:14:3", "stateVariable": false, "storageLocation": "default", @@ -6640,7 +6640,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2145, + "id": 2149, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4750:7:3", @@ -6655,41 +6655,41 @@ "src": "4749:16:3" }, "returnParameters": { - "id": 2154, + "id": 2158, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 2157, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2162, + "scope": 2166, "src": "4819:18:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2152, + "id": 2156, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2151, + "id": 2155, "name": "VotingRoom", "nameLocations": [ "4819:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "4819:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "4819:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, @@ -6698,18 +6698,18 @@ ], "src": "4818:20:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "private" }, { - "id": 2177, + "id": 2181, "nodeType": "FunctionDefinition", "src": "4892:171:3", "nodes": [], "body": { - "id": 2176, + "id": 2180, "nodeType": "Block", "src": "4987:76:3", "nodes": [], @@ -6719,24 +6719,24 @@ "arguments": [ { "baseExpression": { - "id": 2171, + "id": 2175, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1918, + "referencedDeclaration": 1922, "src": "5019:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2173, + "id": 2177, "indexExpression": { - "id": 2172, + "id": 2176, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2164, + "referencedDeclaration": 2168, "src": "5045:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -6762,18 +6762,18 @@ "typeString": "uint256" } ], - "id": 2170, + "id": 2174, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "5004:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2174, + "id": 2178, "isConstant": false, "isLValue": false, "isPure": false, @@ -6785,12 +6785,12 @@ "src": "5004:52:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "functionReturnParameters": 2169, - "id": 2175, + "functionReturnParameters": 2173, + "id": 2179, "nodeType": "Return", "src": "4997:59:3" } @@ -6803,17 +6803,17 @@ "name": "getActiveVotingRoom", "nameLocation": "4901:19:3", "parameters": { - "id": 2165, + "id": 2169, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2164, + "id": 2168, "mutability": "mutable", "name": "publicKey", "nameLocation": "4936:9:3", "nodeType": "VariableDeclaration", - "scope": 2177, + "scope": 2181, "src": "4921:24:3", "stateVariable": false, "storageLocation": "calldata", @@ -6822,7 +6822,7 @@ "typeString": "bytes" }, "typeName": { - "id": 2163, + "id": 2167, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "4921:5:3", @@ -6837,41 +6837,41 @@ "src": "4920:26:3" }, "returnParameters": { - "id": 2169, + "id": 2173, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2168, + "id": 2172, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2177, + "scope": 2181, "src": "4968:17:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_memory_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2167, + "id": 2171, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2166, + "id": 2170, "name": "VotingRoom", "nameLocations": [ "4968:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "4968:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "4968:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, @@ -6880,35 +6880,35 @@ ], "src": "4967:19:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2241, + "id": 2245, "nodeType": "FunctionDefinition", "src": "5069:603:3", "nodes": [], "body": { - "id": 2240, + "id": 2244, "nodeType": "Block", "src": "5140:532:3", "nodes": [], "statements": [ { "assignments": [ - 2187 + 2191 ], "declarations": [ { "constant": false, - "id": 2187, + "id": 2191, "mutability": "mutable", "name": "returnVotingRooms", "nameLocation": "5167:17:3", "nodeType": "VariableDeclaration", - "scope": 2240, + "scope": 2244, "src": "5150:34:3", "stateVariable": false, "storageLocation": "memory", @@ -6918,7 +6918,7 @@ }, "typeName": { "baseType": { - "id": 2185, + "id": 2189, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5150:7:3", @@ -6927,7 +6927,7 @@ "typeString": "uint256" } }, - "id": 2186, + "id": 2190, "nodeType": "ArrayTypeName", "src": "5150:9:3", "typeDescriptions": { @@ -6938,23 +6938,23 @@ "visibility": "internal" } ], - "id": 2194, + "id": 2198, "initialValue": { "arguments": [ { "expression": { - "id": 2191, + "id": 2195, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "5201:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2192, + "id": 2196, "isConstant": false, "isLValue": false, "isPure": false, @@ -6976,7 +6976,7 @@ "typeString": "uint256" } ], - "id": 2190, + "id": 2194, "isConstant": false, "isLValue": false, "isPure": true, @@ -6989,7 +6989,7 @@ }, "typeName": { "baseType": { - "id": 2188, + "id": 2192, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5191:7:3", @@ -6998,7 +6998,7 @@ "typeString": "uint256" } }, - "id": 2189, + "id": 2193, "nodeType": "ArrayTypeName", "src": "5191:9:3", "typeDescriptions": { @@ -7007,7 +7007,7 @@ } } }, - "id": 2193, + "id": 2197, "isConstant": false, "isLValue": false, "isPure": false, @@ -7028,17 +7028,17 @@ }, { "assignments": [ - 2196 + 2200 ], "declarations": [ { "constant": false, - "id": 2196, + "id": 2200, "mutability": "mutable", "name": "count", "nameLocation": "5238:5:3", "nodeType": "VariableDeclaration", - "scope": 2240, + "scope": 2244, "src": "5230:13:3", "stateVariable": false, "storageLocation": "default", @@ -7047,7 +7047,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2195, + "id": 2199, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5230:7:3", @@ -7059,10 +7059,10 @@ "visibility": "internal" } ], - "id": 2198, + "id": 2202, "initialValue": { "hexValue": "30", - "id": 2197, + "id": 2201, "isConstant": false, "isLValue": false, "isPure": true, @@ -7081,7 +7081,7 @@ }, { "body": { - "id": 2235, + "id": 2239, "nodeType": "Block", "src": "5306:194:3", "statements": [ @@ -7091,13 +7091,13 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2220, + "id": 2224, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2214, + "id": 2218, "isConstant": false, "isLValue": false, "isPure": false, @@ -7109,24 +7109,24 @@ "subExpression": { "expression": { "baseExpression": { - "id": 2210, + "id": 2214, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "5325:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2212, + "id": 2216, "indexExpression": { - "id": 2211, + "id": 2215, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, + "referencedDeclaration": 2204, "src": "5337:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7140,11 +7140,11 @@ "nodeType": "IndexAccess", "src": "5325:14:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "id": 2213, + "id": 2217, "isConstant": false, "isLValue": true, "isPure": false, @@ -7152,7 +7152,7 @@ "memberLocation": "5340:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1823, + "referencedDeclaration": 1827, "src": "5325:24:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7167,7 +7167,7 @@ "nodeType": "BinaryOperation", "operator": "||", "rightExpression": { - "id": 2219, + "id": 2223, "isConstant": false, "isLValue": false, "isPure": false, @@ -7179,24 +7179,24 @@ "subExpression": { "expression": { "baseExpression": { - "id": 2215, + "id": 2219, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "5354:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2217, + "id": 2221, "indexExpression": { - "id": 2216, + "id": 2220, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, + "referencedDeclaration": 2204, "src": "5366:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7210,11 +7210,11 @@ "nodeType": "IndexAccess", "src": "5354:14:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "id": 2218, + "id": 2222, "isConstant": false, "isLValue": true, "isPure": false, @@ -7222,7 +7222,7 @@ "memberLocation": "5369:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1837, + "referencedDeclaration": 1841, "src": "5354:24:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7240,41 +7240,41 @@ "typeString": "bool" } }, - "id": 2234, + "id": 2238, "nodeType": "IfStatement", "src": "5320:170:3", "trueBody": { - "id": 2233, + "id": 2237, "nodeType": "Block", "src": "5380:110:3", "statements": [ { "expression": { - "id": 2228, + "id": 2232, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2221, + "id": 2225, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2187, + "referencedDeclaration": 2191, "src": "5398:17:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[] memory" } }, - "id": 2223, + "id": 2227, "indexExpression": { - "id": 2222, + "id": 2226, "name": "count", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, + "referencedDeclaration": 2200, "src": "5416:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7297,24 +7297,24 @@ "rightHandSide": { "expression": { "baseExpression": { - "id": 2224, + "id": 2228, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "5425:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2226, + "id": 2230, "indexExpression": { - "id": 2225, + "id": 2229, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, + "referencedDeclaration": 2204, "src": "5437:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7328,11 +7328,11 @@ "nodeType": "IndexAccess", "src": "5425:14:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "id": 2227, + "id": 2231, "isConstant": false, "isLValue": true, "isPure": false, @@ -7340,7 +7340,7 @@ "memberLocation": "5440:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1831, + "referencedDeclaration": 1835, "src": "5425:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7353,13 +7353,13 @@ "typeString": "uint256" } }, - "id": 2229, + "id": 2233, "nodeType": "ExpressionStatement", "src": "5398:52:3" }, { "expression": { - "id": 2231, + "id": 2235, "isConstant": false, "isLValue": false, "isPure": false, @@ -7369,11 +7369,11 @@ "prefix": false, "src": "5468:7:3", "subExpression": { - "id": 2230, + "id": 2234, "name": "count", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, + "referencedDeclaration": 2200, "src": "5468:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7385,7 +7385,7 @@ "typeString": "uint256" } }, - "id": 2232, + "id": 2236, "nodeType": "ExpressionStatement", "src": "5468:7:3" } @@ -7399,17 +7399,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2206, + "id": 2210, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2203, + "id": 2207, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, + "referencedDeclaration": 2204, "src": "5277:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7420,18 +7420,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2204, + "id": 2208, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "5281:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2205, + "id": 2209, "isConstant": false, "isLValue": false, "isPure": false, @@ -7451,20 +7451,20 @@ "typeString": "bool" } }, - "id": 2236, + "id": 2240, "initializationExpression": { "assignments": [ - 2200 + 2204 ], "declarations": [ { "constant": false, - "id": 2200, + "id": 2204, "mutability": "mutable", "name": "i", "nameLocation": "5270:1:3", "nodeType": "VariableDeclaration", - "scope": 2236, + "scope": 2240, "src": "5262:9:3", "stateVariable": false, "storageLocation": "default", @@ -7473,7 +7473,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2199, + "id": 2203, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5262:7:3", @@ -7485,10 +7485,10 @@ "visibility": "internal" } ], - "id": 2202, + "id": 2206, "initialValue": { "hexValue": "30", - "id": 2201, + "id": 2205, "isConstant": false, "isLValue": false, "isPure": true, @@ -7507,7 +7507,7 @@ }, "loopExpression": { "expression": { - "id": 2208, + "id": 2212, "isConstant": false, "isLValue": false, "isPure": false, @@ -7517,11 +7517,11 @@ "prefix": false, "src": "5301:3:3", "subExpression": { - "id": 2207, + "id": 2211, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, + "referencedDeclaration": 2204, "src": "5301:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7533,7 +7533,7 @@ "typeString": "uint256" } }, - "id": 2209, + "id": 2213, "nodeType": "ExpressionStatement", "src": "5301:3:3" }, @@ -7575,39 +7575,39 @@ "evmVersion": "paris", "externalReferences": [ { - "declaration": 2196, + "declaration": 2200, "isOffset": false, "isSlot": false, "src": "5616:5:3", "valueSize": 1 }, { - "declaration": 2187, + "declaration": 2191, "isOffset": false, "isSlot": false, "src": "5597:17:3", "valueSize": 1 } ], - "id": 2237, + "id": 2241, "nodeType": "InlineAssembly", "src": "5567:65:3" }, { "expression": { - "id": 2238, + "id": 2242, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2187, + "referencedDeclaration": 2191, "src": "5648:17:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[] memory" } }, - "functionReturnParameters": 2182, - "id": 2239, + "functionReturnParameters": 2186, + "id": 2243, "nodeType": "Return", "src": "5641:24:3" } @@ -7620,23 +7620,23 @@ "name": "getActiveVotingRooms", "nameLocation": "5078:20:3", "parameters": { - "id": 2178, + "id": 2182, "nodeType": "ParameterList", "parameters": [], "src": "5098:2:3" }, "returnParameters": { - "id": 2182, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2181, + "id": 2185, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2241, + "scope": 2245, "src": "5122:16:3", "stateVariable": false, "storageLocation": "memory", @@ -7646,7 +7646,7 @@ }, "typeName": { "baseType": { - "id": 2179, + "id": 2183, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5122:7:3", @@ -7655,7 +7655,7 @@ "typeString": "uint256" } }, - "id": 2180, + "id": 2184, "nodeType": "ArrayTypeName", "src": "5122:9:3", "typeDescriptions": { @@ -7668,35 +7668,35 @@ ], "src": "5121:18:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2287, + "id": 2291, "nodeType": "FunctionDefinition", "src": "5678:302:3", "nodes": [], "body": { - "id": 2286, + "id": 2290, "nodeType": "Block", "src": "5768:212:3", "nodes": [], "statements": [ { "expression": { - "id": 2258, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2249, + "id": 2253, "name": "roomVoters", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, + "referencedDeclaration": 2251, "src": "5778:10:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", @@ -7710,24 +7710,24 @@ { "expression": { "baseExpression": { - "id": 2253, + "id": 2257, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "5805:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2255, + "id": 2259, "indexExpression": { - "id": 2254, + "id": 2258, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2243, + "referencedDeclaration": 2247, "src": "5819:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7741,11 +7741,11 @@ "nodeType": "IndexAccess", "src": "5805:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2256, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": false, @@ -7767,7 +7767,7 @@ "typeString": "uint256" } ], - "id": 2252, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": true, @@ -7780,7 +7780,7 @@ }, "typeName": { "baseType": { - "id": 2250, + "id": 2254, "name": "address", "nodeType": "ElementaryTypeName", "src": "5795:7:3", @@ -7790,7 +7790,7 @@ "typeString": "address" } }, - "id": 2251, + "id": 2255, "nodeType": "ArrayTypeName", "src": "5795:9:3", "typeDescriptions": { @@ -7799,7 +7799,7 @@ } } }, - "id": 2257, + "id": 2261, "isConstant": false, "isLValue": false, "isPure": false, @@ -7821,43 +7821,43 @@ "typeString": "address[] memory" } }, - "id": 2259, + "id": 2263, "nodeType": "ExpressionStatement", "src": "5778:56:3" }, { "body": { - "id": 2284, + "id": 2288, "nodeType": "Block", "src": "5903:71:3", "statements": [ { "expression": { - "id": 2282, + "id": 2286, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2273, + "id": 2277, "name": "roomVoters", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, + "referencedDeclaration": 2251, "src": "5917:10:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, - "id": 2275, + "id": 2279, "indexExpression": { - "id": 2274, + "id": 2278, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, + "referencedDeclaration": 2265, "src": "5928:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7881,24 +7881,24 @@ "expression": { "baseExpression": { "baseExpression": { - "id": 2276, + "id": 2280, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "5933:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2278, + "id": 2282, "indexExpression": { - "id": 2277, + "id": 2281, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2243, + "referencedDeclaration": 2247, "src": "5947:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7912,17 +7912,17 @@ "nodeType": "IndexAccess", "src": "5933:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2280, + "id": 2284, "indexExpression": { - "id": 2279, + "id": 2283, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, + "referencedDeclaration": 2265, "src": "5955:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7936,11 +7936,11 @@ "nodeType": "IndexAccess", "src": "5933:24:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage", + "typeIdentifier": "t_struct$_Vote_$1814_storage", "typeString": "struct VotingContract.Vote storage ref" } }, - "id": 2281, + "id": 2285, "isConstant": false, "isLValue": true, "isPure": false, @@ -7948,7 +7948,7 @@ "memberLocation": "5958:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1804, + "referencedDeclaration": 1808, "src": "5933:30:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7961,7 +7961,7 @@ "typeString": "address" } }, - "id": 2283, + "id": 2287, "nodeType": "ExpressionStatement", "src": "5917:46:3" } @@ -7972,17 +7972,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2269, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2264, + "id": 2268, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, + "referencedDeclaration": 2265, "src": "5864:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -7994,24 +7994,24 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 2265, + "id": 2269, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "5868:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2267, + "id": 2271, "indexExpression": { - "id": 2266, + "id": 2270, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2243, + "referencedDeclaration": 2247, "src": "5882:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8025,11 +8025,11 @@ "nodeType": "IndexAccess", "src": "5868:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2268, + "id": 2272, "isConstant": false, "isLValue": false, "isPure": false, @@ -8049,20 +8049,20 @@ "typeString": "bool" } }, - "id": 2285, + "id": 2289, "initializationExpression": { "assignments": [ - 2261 + 2265 ], "declarations": [ { "constant": false, - "id": 2261, + "id": 2265, "mutability": "mutable", "name": "i", "nameLocation": "5857:1:3", "nodeType": "VariableDeclaration", - "scope": 2285, + "scope": 2289, "src": "5849:9:3", "stateVariable": false, "storageLocation": "default", @@ -8071,7 +8071,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2260, + "id": 2264, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5849:7:3", @@ -8083,10 +8083,10 @@ "visibility": "internal" } ], - "id": 2263, + "id": 2267, "initialValue": { "hexValue": "30", - "id": 2262, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": true, @@ -8105,7 +8105,7 @@ }, "loopExpression": { "expression": { - "id": 2271, + "id": 2275, "isConstant": false, "isLValue": false, "isPure": false, @@ -8115,11 +8115,11 @@ "prefix": false, "src": "5898:3:3", "subExpression": { - "id": 2270, + "id": 2274, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, + "referencedDeclaration": 2265, "src": "5898:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8131,7 +8131,7 @@ "typeString": "uint256" } }, - "id": 2272, + "id": 2276, "nodeType": "ExpressionStatement", "src": "5898:3:3" }, @@ -8147,17 +8147,17 @@ "name": "listRoomVoters", "nameLocation": "5687:14:3", "parameters": { - "id": 2244, + "id": 2248, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2243, + "id": 2247, "mutability": "mutable", "name": "roomID", "nameLocation": "5710:6:3", "nodeType": "VariableDeclaration", - "scope": 2287, + "scope": 2291, "src": "5702:14:3", "stateVariable": false, "storageLocation": "default", @@ -8166,7 +8166,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2242, + "id": 2246, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5702:7:3", @@ -8181,17 +8181,17 @@ "src": "5701:16:3" }, "returnParameters": { - "id": 2248, + "id": 2252, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2247, + "id": 2251, "mutability": "mutable", "name": "roomVoters", "nameLocation": "5756:10:3", "nodeType": "VariableDeclaration", - "scope": 2287, + "scope": 2291, "src": "5739:27:3", "stateVariable": false, "storageLocation": "memory", @@ -8201,7 +8201,7 @@ }, "typeName": { "baseType": { - "id": 2245, + "id": 2249, "name": "address", "nodeType": "ElementaryTypeName", "src": "5739:7:3", @@ -8211,7 +8211,7 @@ "typeString": "address" } }, - "id": 2246, + "id": 2250, "nodeType": "ArrayTypeName", "src": "5739:9:3", "typeDescriptions": { @@ -8224,38 +8224,38 @@ ], "src": "5738:29:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2336, + "id": 2340, "nodeType": "FunctionDefinition", "src": "5986:381:3", "nodes": [], "body": { - "id": 2335, + "id": 2339, "nodeType": "Block", "src": "6098:269:3", "nodes": [], "statements": [ { "expression": { - "id": 2306, + "id": 2310, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2296, + "id": 2300, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2294, + "referencedDeclaration": 2298, "src": "6108:17:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, @@ -8266,24 +8266,24 @@ { "expression": { "baseExpression": { - "id": 2301, + "id": 2305, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "6145:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2303, + "id": 2307, "indexExpression": { - "id": 2302, + "id": 2306, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, + "referencedDeclaration": 2293, "src": "6166:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -8301,7 +8301,7 @@ "typeString": "uint256[] storage ref" } }, - "id": 2304, + "id": 2308, "isConstant": false, "isLValue": false, "isPure": false, @@ -8323,7 +8323,7 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 2304, "isConstant": false, "isLValue": false, "isPure": true, @@ -8331,40 +8331,40 @@ "nodeType": "NewExpression", "src": "6128:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (struct VotingContract.VotingRoom memory[] memory)" }, "typeName": { "baseType": { - "id": 2298, + "id": 2302, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2297, + "id": 2301, "name": "VotingRoom", "nameLocations": [ "6132:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "6132:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "6132:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 2299, + "id": 2303, "nodeType": "ArrayTypeName", "src": "6132:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } } }, - "id": 2305, + "id": 2309, "isConstant": false, "isLValue": false, "isPure": false, @@ -8376,53 +8376,53 @@ "src": "6128:56:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, "src": "6108:76:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, - "id": 2307, + "id": 2311, "nodeType": "ExpressionStatement", "src": "6108:76:3" }, { "body": { - "id": 2333, + "id": 2337, "nodeType": "Block", "src": "6263:98:3", "statements": [ { "expression": { - "id": 2331, + "id": 2335, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2321, + "id": 2325, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2294, + "referencedDeclaration": 2298, "src": "6277:17:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, - "id": 2323, + "id": 2327, "indexExpression": { - "id": 2322, + "id": 2326, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, + "referencedDeclaration": 2313, "src": "6295:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8436,7 +8436,7 @@ "nodeType": "IndexAccess", "src": "6277:20:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } }, @@ -8447,24 +8447,24 @@ { "baseExpression": { "baseExpression": { - "id": 2325, + "id": 2329, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "6315:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2327, + "id": 2331, "indexExpression": { - "id": 2326, + "id": 2330, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, + "referencedDeclaration": 2293, "src": "6336:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -8482,13 +8482,13 @@ "typeString": "uint256[] storage ref" } }, - "id": 2329, + "id": 2333, "indexExpression": { - "id": 2328, + "id": 2332, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, + "referencedDeclaration": 2313, "src": "6347:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8514,18 +8514,18 @@ "typeString": "uint256" } ], - "id": 2324, + "id": 2328, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "6300:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2330, + "id": 2334, "isConstant": false, "isLValue": false, "isPure": false, @@ -8537,17 +8537,17 @@ "src": "6300:50:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, "src": "6277:73:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } }, - "id": 2332, + "id": 2336, "nodeType": "ExpressionStatement", "src": "6277:73:3" } @@ -8558,17 +8558,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2317, + "id": 2321, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2312, + "id": 2316, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, + "referencedDeclaration": 2313, "src": "6214:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8580,24 +8580,24 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 2313, + "id": 2317, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "6218:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2315, + "id": 2319, "indexExpression": { - "id": 2314, + "id": 2318, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, + "referencedDeclaration": 2293, "src": "6239:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -8615,7 +8615,7 @@ "typeString": "uint256[] storage ref" } }, - "id": 2316, + "id": 2320, "isConstant": false, "isLValue": false, "isPure": false, @@ -8635,20 +8635,20 @@ "typeString": "bool" } }, - "id": 2334, + "id": 2338, "initializationExpression": { "assignments": [ - 2309 + 2313 ], "declarations": [ { "constant": false, - "id": 2309, + "id": 2313, "mutability": "mutable", "name": "i", "nameLocation": "6207:1:3", "nodeType": "VariableDeclaration", - "scope": 2334, + "scope": 2338, "src": "6199:9:3", "stateVariable": false, "storageLocation": "default", @@ -8657,7 +8657,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2308, + "id": 2312, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6199:7:3", @@ -8669,10 +8669,10 @@ "visibility": "internal" } ], - "id": 2311, + "id": 2315, "initialValue": { "hexValue": "30", - "id": 2310, + "id": 2314, "isConstant": false, "isLValue": false, "isPure": true, @@ -8691,7 +8691,7 @@ }, "loopExpression": { "expression": { - "id": 2319, + "id": 2323, "isConstant": false, "isLValue": false, "isPure": false, @@ -8701,11 +8701,11 @@ "prefix": false, "src": "6258:3:3", "subExpression": { - "id": 2318, + "id": 2322, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, + "referencedDeclaration": 2313, "src": "6258:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8717,7 +8717,7 @@ "typeString": "uint256" } }, - "id": 2320, + "id": 2324, "nodeType": "ExpressionStatement", "src": "6258:3:3" }, @@ -8733,17 +8733,17 @@ "name": "getVotingHistory", "nameLocation": "5995:16:3", "parameters": { - "id": 2290, + "id": 2294, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 2293, "mutability": "mutable", "name": "publicKey", "nameLocation": "6027:9:3", "nodeType": "VariableDeclaration", - "scope": 2336, + "scope": 2340, "src": "6012:24:3", "stateVariable": false, "storageLocation": "calldata", @@ -8752,7 +8752,7 @@ "typeString": "bytes" }, "typeName": { - "id": 2288, + "id": 2292, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "6012:5:3", @@ -8767,50 +8767,50 @@ "src": "6011:26:3" }, "returnParameters": { - "id": 2295, + "id": 2299, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 2298, "mutability": "mutable", "name": "returnVotingRooms", "nameLocation": "6079:17:3", "nodeType": "VariableDeclaration", - "scope": 2336, + "scope": 2340, "src": "6059:37:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom[]" }, "typeName": { "baseType": { - "id": 2292, + "id": 2296, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2291, + "id": 2295, "name": "VotingRoom", "nameLocations": [ "6059:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "6059:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "6059:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 2293, + "id": 2297, "nodeType": "ArrayTypeName", "src": "6059:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } }, @@ -8819,18 +8819,18 @@ ], "src": "6058:39:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2516, + "id": 2520, "nodeType": "FunctionDefinition", "src": "6373:2156:3", "nodes": [], "body": { - "id": 2515, + "id": 2519, "nodeType": "Block", "src": "6475:2054:3", "nodes": [], @@ -8843,31 +8843,31 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2351, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 2347, + "id": 2351, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1918, + "referencedDeclaration": 1922, "src": "6493:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2349, + "id": 2353, "indexExpression": { - "id": 2348, + "id": 2352, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "6519:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -8889,7 +8889,7 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2350, + "id": 2354, "isConstant": false, "isLValue": false, "isPure": true, @@ -8911,7 +8911,7 @@ }, { "hexValue": "766f746520616c7265616479206f6e676f696e67", - "id": 2352, + "id": 2356, "isConstant": false, "isLValue": false, "isPure": true, @@ -8937,7 +8937,7 @@ "typeString": "literal_string \"vote already ongoing\"" } ], - "id": 2346, + "id": 2350, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8951,7 +8951,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2353, + "id": 2357, "isConstant": false, "isLValue": false, "isPure": false, @@ -8967,30 +8967,30 @@ "typeString": "tuple()" } }, - "id": 2354, + "id": 2358, "nodeType": "ExpressionStatement", "src": "6485:74:3" }, { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, - "id": 2358, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2355, + "id": 2359, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, + "referencedDeclaration": 2343, "src": "6573:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -8998,18 +8998,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2356, + "id": 2360, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "6585:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2357, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, @@ -9017,10 +9017,10 @@ "memberLocation": "6594:7:3", "memberName": "AGAINST", "nodeType": "MemberAccess", - "referencedDeclaration": 1800, + "referencedDeclaration": 1804, "src": "6585:16:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -9030,11 +9030,11 @@ "typeString": "bool" } }, - "id": 2368, + "id": 2372, "nodeType": "IfStatement", "src": "6569:141:3", "trueBody": { - "id": 2367, + "id": 2371, "nodeType": "Block", "src": "6603:107:3", "statements": [ @@ -9044,11 +9044,11 @@ { "arguments": [ { - "id": 2362, + "id": 2366, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "6658:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -9064,18 +9064,18 @@ } ], "expression": { - "id": 2360, + "id": 2364, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1901, + "referencedDeclaration": 1905, "src": "6625:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 2361, + "id": 2365, "isConstant": false, "isLValue": false, "isPure": false, @@ -9083,14 +9083,14 @@ "memberLocation": "6635:22:3", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", - "referencedDeclaration": 49, + "referencedDeclaration": 53, "src": "6625:32:3", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory) view external returns (bool)" } }, - "id": 2363, + "id": 2367, "isConstant": false, "isLValue": false, "isPure": false, @@ -9108,7 +9108,7 @@ }, { "hexValue": "436f6d6d756e697479206e6f7420696e206469726563746f7279", - "id": 2364, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": true, @@ -9134,7 +9134,7 @@ "typeString": "literal_string \"Community not in directory\"" } ], - "id": 2359, + "id": 2363, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9148,7 +9148,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2365, + "id": 2369, "isConstant": false, "isLValue": false, "isPure": false, @@ -9164,7 +9164,7 @@ "typeString": "tuple()" } }, - "id": 2366, + "id": 2370, "nodeType": "ExpressionStatement", "src": "6617:82:3" } @@ -9174,23 +9174,23 @@ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, - "id": 2372, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2369, + "id": 2373, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, + "referencedDeclaration": 2343, "src": "6723:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -9198,18 +9198,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2370, + "id": 2374, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "6735:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2371, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": true, @@ -9217,10 +9217,10 @@ "memberLocation": "6744:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1801, + "referencedDeclaration": 1805, "src": "6735:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -9230,11 +9230,11 @@ "typeString": "bool" } }, - "id": 2383, + "id": 2387, "nodeType": "IfStatement", "src": "6719:142:3", "trueBody": { - "id": 2382, + "id": 2386, "nodeType": "Block", "src": "6749:112:3", "statements": [ @@ -9242,7 +9242,7 @@ "expression": { "arguments": [ { - "id": 2378, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -9254,11 +9254,11 @@ "subExpression": { "arguments": [ { - "id": 2376, + "id": 2380, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "6805:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -9274,18 +9274,18 @@ } ], "expression": { - "id": 2374, + "id": 2378, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1901, + "referencedDeclaration": 1905, "src": "6772:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 2375, + "id": 2379, "isConstant": false, "isLValue": false, "isPure": false, @@ -9293,14 +9293,14 @@ "memberLocation": "6782:22:3", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", - "referencedDeclaration": 49, + "referencedDeclaration": 53, "src": "6772:32:3", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (bytes memory) view external returns (bool)" } }, - "id": 2377, + "id": 2381, "isConstant": false, "isLValue": false, "isPure": false, @@ -9323,7 +9323,7 @@ }, { "hexValue": "436f6d6d756e69747920616c726561647920696e206469726563746f7279", - "id": 2379, + "id": 2383, "isConstant": false, "isLValue": false, "isPure": true, @@ -9349,7 +9349,7 @@ "typeString": "literal_string \"Community already in directory\"" } ], - "id": 2373, + "id": 2377, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9363,7 +9363,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2380, + "id": 2384, "isConstant": false, "isLValue": false, "isPure": false, @@ -9379,7 +9379,7 @@ "typeString": "tuple()" } }, - "id": 2381, + "id": 2385, "nodeType": "ExpressionStatement", "src": "6763:87:3" } @@ -9388,17 +9388,17 @@ }, { "assignments": [ - 2385 + 2389 ], "declarations": [ { "constant": false, - "id": 2385, + "id": 2389, "mutability": "mutable", "name": "historyLength", "nameLocation": "6878:13:3", "nodeType": "VariableDeclaration", - "scope": 2515, + "scope": 2519, "src": "6870:21:3", "stateVariable": false, "storageLocation": "default", @@ -9407,7 +9407,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2384, + "id": 2388, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6870:7:3", @@ -9419,28 +9419,28 @@ "visibility": "internal" } ], - "id": 2390, + "id": 2394, "initialValue": { "expression": { "baseExpression": { - "id": 2386, + "id": 2390, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "6894:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2388, + "id": 2392, "indexExpression": { - "id": 2387, + "id": 2391, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "6915:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -9458,7 +9458,7 @@ "typeString": "uint256[] storage ref" } }, - "id": 2389, + "id": 2393, "isConstant": false, "isLValue": false, "isPure": false, @@ -9481,17 +9481,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2393, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2391, + "id": 2395, "name": "historyLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2385, + "referencedDeclaration": 2389, "src": "6946:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9502,7 +9502,7 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2392, + "id": 2396, "isConstant": false, "isLValue": false, "isPure": true, @@ -9522,27 +9522,27 @@ "typeString": "bool" } }, - "id": 2419, + "id": 2423, "nodeType": "IfStatement", "src": "6942:272:3", "trueBody": { - "id": 2418, + "id": 2422, "nodeType": "Block", "src": "6965:249:3", "statements": [ { "assignments": [ - 2395 + 2399 ], "declarations": [ { "constant": false, - "id": 2395, + "id": 2399, "mutability": "mutable", "name": "roomId", "nameLocation": "6987:6:3", "nodeType": "VariableDeclaration", - "scope": 2418, + "scope": 2422, "src": "6979:14:3", "stateVariable": false, "storageLocation": "default", @@ -9551,7 +9551,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2394, + "id": 2398, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6979:7:3", @@ -9563,28 +9563,28 @@ "visibility": "internal" } ], - "id": 2403, + "id": 2407, "initialValue": { "baseExpression": { "baseExpression": { - "id": 2396, + "id": 2400, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "6996:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2398, + "id": 2402, "indexExpression": { - "id": 2397, + "id": 2401, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "7017:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -9602,23 +9602,23 @@ "typeString": "uint256[] storage ref" } }, - "id": 2402, + "id": 2406, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2401, + "id": 2405, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2399, + "id": 2403, "name": "historyLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2385, + "referencedDeclaration": 2389, "src": "7028:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9629,7 +9629,7 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2400, + "id": 2404, "isConstant": false, "isLValue": false, "isPure": true, @@ -9671,7 +9671,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2414, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -9683,14 +9683,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2411, + "id": 2415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2405, + "id": 2409, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -9701,7 +9701,7 @@ "typeString": "block" } }, - "id": 2406, + "id": 2410, "isConstant": false, "isLValue": false, "isPure": false, @@ -9721,11 +9721,11 @@ "expression": { "arguments": [ { - "id": 2408, + "id": 2412, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2395, + "referencedDeclaration": 2399, "src": "7119:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9740,18 +9740,18 @@ "typeString": "uint256" } ], - "id": 2407, + "id": 2411, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "7104:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2409, + "id": 2413, "isConstant": false, "isLValue": false, "isPure": false, @@ -9763,11 +9763,11 @@ "src": "7104:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2410, + "id": 2414, "isConstant": false, "isLValue": true, "isPure": false, @@ -9775,7 +9775,7 @@ "memberLocation": "7127:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1818, + "referencedDeclaration": 1822, "src": "7104:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9789,7 +9789,7 @@ } } ], - "id": 2412, + "id": 2416, "isConstant": false, "isInlineArray": false, "isLValue": false, @@ -9805,11 +9805,11 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2413, + "id": 2417, "name": "timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1910, + "referencedDeclaration": 1914, "src": "7136:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9824,7 +9824,7 @@ }, { "hexValue": "436f6d6d756e6974792077617320696e206120766f746520726563656e746c79", - "id": 2415, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": true, @@ -9850,7 +9850,7 @@ "typeString": "literal_string \"Community was in a vote recently\"" } ], - "id": 2404, + "id": 2408, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9864,7 +9864,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2416, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": false, @@ -9880,7 +9880,7 @@ "typeString": "tuple()" } }, - "id": 2417, + "id": 2421, "nodeType": "ExpressionStatement", "src": "7060:143:3" } @@ -9895,7 +9895,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2427, + "id": 2431, "isConstant": false, "isLValue": false, "isPure": false, @@ -9904,7 +9904,7 @@ "arguments": [ { "expression": { - "id": 2423, + "id": 2427, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -9915,7 +9915,7 @@ "typeString": "msg" } }, - "id": 2424, + "id": 2428, "isConstant": false, "isLValue": false, "isPure": false, @@ -9938,18 +9938,18 @@ } ], "expression": { - "id": 2421, + "id": 2425, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1904, + "referencedDeclaration": 1908, "src": "7231:5:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, - "id": 2422, + "id": 2426, "isConstant": false, "isLValue": false, "isPure": false, @@ -9957,14 +9957,14 @@ "memberLocation": "7237:9:3", "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 32631, + "referencedDeclaration": 32635, "src": "7231:15:3", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2425, + "id": 2429, "isConstant": false, "isLValue": false, "isPure": false, @@ -9983,11 +9983,11 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 2426, + "id": 2430, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, + "referencedDeclaration": 2347, "src": "7262:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10002,7 +10002,7 @@ }, { "hexValue": "6e6f7420656e6f75676820746f6b656e", - "id": 2428, + "id": 2432, "isConstant": false, "isLValue": false, "isPure": true, @@ -10028,7 +10028,7 @@ "typeString": "literal_string \"not enough token\"" } ], - "id": 2420, + "id": 2424, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10042,7 +10042,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2429, + "id": 2433, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,23 +10058,23 @@ "typeString": "tuple()" } }, - "id": 2430, + "id": 2434, "nodeType": "ExpressionStatement", "src": "7223:70:3" }, { "assignments": [ - 2432 + 2436 ], "declarations": [ { "constant": false, - "id": 2432, + "id": 2436, "mutability": "mutable", "name": "votingRoomID", "nameLocation": "7312:12:3", "nodeType": "VariableDeclaration", - "scope": 2515, + "scope": 2519, "src": "7304:20:3", "stateVariable": false, "storageLocation": "default", @@ -10083,7 +10083,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2431, + "id": 2435, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7304:7:3", @@ -10095,31 +10095,31 @@ "visibility": "internal" } ], - "id": 2437, + "id": 2441, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2436, + "id": 2440, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2433, + "id": 2437, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "7327:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2434, + "id": 2438, "isConstant": false, "isLValue": false, "isPure": false, @@ -10137,7 +10137,7 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2435, + "id": 2439, "isConstant": false, "isLValue": false, "isPure": true, @@ -10162,31 +10162,31 @@ }, { "expression": { - "id": 2442, + "id": 2446, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2438, + "id": 2442, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1918, + "referencedDeclaration": 1922, "src": "7360:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2440, + "id": 2444, "indexExpression": { - "id": 2439, + "id": 2443, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "7386:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -10207,11 +10207,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2441, + "id": 2445, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "7399:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10224,7 +10224,7 @@ "typeString": "uint256" } }, - "id": 2443, + "id": 2447, "nodeType": "ExpressionStatement", "src": "7360:51:3" }, @@ -10232,11 +10232,11 @@ "expression": { "arguments": [ { - "id": 2448, + "id": 2452, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "7458:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10253,24 +10253,24 @@ ], "expression": { "baseExpression": { - "id": 2444, + "id": 2448, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1923, + "referencedDeclaration": 1927, "src": "7421:20:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes memory => uint256[] storage ref)" } }, - "id": 2446, + "id": 2450, "indexExpression": { - "id": 2445, + "id": 2449, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "7442:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -10288,7 +10288,7 @@ "typeString": "uint256[] storage ref" } }, - "id": 2447, + "id": 2451, "isConstant": false, "isLValue": false, "isPure": false, @@ -10302,7 +10302,7 @@ "typeString": "function (uint256[] storage pointer,uint256)" } }, - "id": 2449, + "id": 2453, "isConstant": false, "isLValue": false, "isPure": false, @@ -10318,7 +10318,7 @@ "typeString": "tuple()" } }, - "id": 2450, + "id": 2454, "nodeType": "ExpressionStatement", "src": "7421:50:3" }, @@ -10329,7 +10329,7 @@ "arguments": [ { "expression": { - "id": 2456, + "id": 2460, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10340,7 +10340,7 @@ "typeString": "msg" } }, - "id": 2457, + "id": 2461, "isConstant": false, "isLValue": false, "isPure": false, @@ -10356,18 +10356,18 @@ }, { "expression": { - "id": 2458, + "id": 2462, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "7550:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2459, + "id": 2463, "isConstant": false, "isLValue": false, "isPure": true, @@ -10375,19 +10375,19 @@ "memberLocation": "7559:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1801, + "referencedDeclaration": 1805, "src": "7550:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, { - "id": 2460, + "id": 2464, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, + "referencedDeclaration": 2347, "src": "7575:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10402,7 +10402,7 @@ "typeString": "address" }, { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, { @@ -10410,18 +10410,18 @@ "typeString": "uint256" } ], - "id": 2455, + "id": 2459, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "7514:4:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$1810_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$1814_storage_ptr_$", "typeString": "type(struct VotingContract.Vote storage pointer)" } }, - "id": 2461, + "id": 2465, "isConstant": false, "isLValue": false, "isPure": false, @@ -10441,7 +10441,7 @@ "src": "7514:74:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_memory_ptr", "typeString": "struct VotingContract.Vote memory" } } @@ -10449,30 +10449,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_memory_ptr", "typeString": "struct VotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 2451, + "id": 2455, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "7481:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2453, + "id": 2457, "indexExpression": { - "id": 2452, + "id": 2456, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "7495:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10486,11 +10486,11 @@ "nodeType": "IndexAccess", "src": "7481:27:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2454, + "id": 2458, "isConstant": false, "isLValue": false, "isPure": false, @@ -10500,11 +10500,11 @@ "nodeType": "MemberAccess", "src": "7481:32:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1810_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1814_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_ptr_$", "typeString": "function (struct VotingContract.Vote storage ref[] storage pointer,struct VotingContract.Vote storage ref)" } }, - "id": 2462, + "id": 2466, "isConstant": false, "isLValue": false, "isPure": false, @@ -10520,13 +10520,13 @@ "typeString": "tuple()" } }, - "id": 2463, + "id": 2467, "nodeType": "ExpressionStatement", "src": "7481:108:3" }, { "expression": { - "id": 2471, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": false, @@ -10534,24 +10534,24 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2464, + "id": 2468, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1942, + "referencedDeclaration": 1946, "src": "7599:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2468, + "id": 2472, "indexExpression": { - "id": 2465, + "id": 2469, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "7622:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10569,10 +10569,10 @@ "typeString": "mapping(address => bool)" } }, - "id": 2469, + "id": 2473, "indexExpression": { "expression": { - "id": 2466, + "id": 2470, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10583,7 +10583,7 @@ "typeString": "msg" } }, - "id": 2467, + "id": 2471, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,7 +10612,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2470, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": true, @@ -10632,7 +10632,7 @@ "typeString": "bool" } }, - "id": 2472, + "id": 2476, "nodeType": "ExpressionStatement", "src": "7599:55:3" }, @@ -10643,7 +10643,7 @@ "arguments": [ { "expression": { - "id": 2477, + "id": 2481, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10654,7 +10654,7 @@ "typeString": "block" } }, - "id": 2478, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -10670,7 +10670,7 @@ }, { "expression": { - "id": 2479, + "id": 2483, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10681,7 +10681,7 @@ "typeString": "block" } }, - "id": 2480, + "id": 2484, "isConstant": false, "isLValue": false, "isPure": false, @@ -10700,14 +10700,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2484, + "id": 2488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2481, + "id": 2485, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10718,7 +10718,7 @@ "typeString": "block" } }, - "id": 2482, + "id": 2486, "isConstant": false, "isLValue": false, "isPure": false, @@ -10735,11 +10735,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2483, + "id": 2487, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1906, + "referencedDeclaration": 1910, "src": "7847:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10757,7 +10757,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2490, + "id": 2494, "isConstant": false, "isLValue": false, "isPure": false, @@ -10767,14 +10767,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2488, + "id": 2492, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2485, + "id": 2489, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -10785,7 +10785,7 @@ "typeString": "block" } }, - "id": 2486, + "id": 2490, "isConstant": false, "isLValue": false, "isPure": false, @@ -10802,11 +10802,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2487, + "id": 2491, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1906, + "referencedDeclaration": 1910, "src": "7902:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10822,11 +10822,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2489, + "id": 2493, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1908, + "referencedDeclaration": 1912, "src": "7917:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10840,20 +10840,20 @@ } }, { - "id": 2491, + "id": 2495, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, + "referencedDeclaration": 2343, "src": "7969:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, { "hexValue": "66616c7365", - "id": 2492, + "id": 2496, "isConstant": false, "isLValue": false, "isPure": true, @@ -10868,11 +10868,11 @@ "value": "false" }, { - "id": 2493, + "id": 2497, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "8040:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -10881,7 +10881,7 @@ }, { "hexValue": "30", - "id": 2494, + "id": 2498, "isConstant": false, "isLValue": false, "isPure": true, @@ -10897,7 +10897,7 @@ }, { "hexValue": "30", - "id": 2495, + "id": 2499, "isConstant": false, "isLValue": false, "isPure": true, @@ -10912,11 +10912,11 @@ "value": "0" }, { - "id": 2496, + "id": 2500, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "8151:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10925,7 +10925,7 @@ }, { "hexValue": "30", - "id": 2497, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": true, @@ -10941,7 +10941,7 @@ }, { "hexValue": "30", - "id": 2498, + "id": 2502, "isConstant": false, "isLValue": false, "isPure": true, @@ -10957,7 +10957,7 @@ }, { "hexValue": "66616c7365", - "id": 2499, + "id": 2503, "isConstant": false, "isLValue": false, "isPure": true, @@ -10991,7 +10991,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, { @@ -11027,18 +11027,18 @@ "typeString": "bool" } ], - "id": 2476, + "id": 2480, "name": "VotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "7695:10:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "type(struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2500, + "id": 2504, "isConstant": false, "isLValue": false, "isPure": false, @@ -11078,7 +11078,7 @@ "src": "7695:580:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } } @@ -11086,23 +11086,23 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } ], "expression": { - "id": 2473, + "id": 2477, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1914, + "referencedDeclaration": 1918, "src": "7665:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2475, + "id": 2479, "isConstant": false, "isLValue": false, "isPure": false, @@ -11112,11 +11112,11 @@ "nodeType": "MemberAccess", "src": "7665:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr_$_t_struct$_VotingRoom_$1838_storage_$returns$__$attached_to$_t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage_ptr_$_t_struct$_VotingRoom_$1842_storage_$returns$__$attached_to$_t_array$_t_struct$_VotingRoom_$1842_storage_$dyn_storage_ptr_$", "typeString": "function (struct VotingContract.VotingRoom storage ref[] storage pointer,struct VotingContract.VotingRoom storage ref)" } }, - "id": 2501, + "id": 2505, "isConstant": false, "isLValue": false, "isPure": false, @@ -11132,7 +11132,7 @@ "typeString": "tuple()" } }, - "id": 2502, + "id": 2506, "nodeType": "ExpressionStatement", "src": "7665:620:3" }, @@ -11142,11 +11142,11 @@ { "arguments": [ { - "id": 2505, + "id": 2509, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "8447:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11161,18 +11161,18 @@ "typeString": "uint256" } ], - "id": 2504, + "id": 2508, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "8432:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2506, + "id": 2510, "isConstant": false, "isLValue": false, "isPure": false, @@ -11184,13 +11184,13 @@ "src": "8432:28:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { "hexValue": "31", - "id": 2507, + "id": 2511, "isConstant": false, "isLValue": false, "isPure": true, @@ -11208,7 +11208,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -11216,18 +11216,18 @@ "typeString": "int_const 1" } ], - "id": 2503, + "id": 2507, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2655, + "referencedDeclaration": 2659, "src": "8417:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1842_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 2508, + "id": 2512, "isConstant": false, "isLValue": false, "isPure": false, @@ -11243,7 +11243,7 @@ "typeString": "bool" } }, - "id": 2509, + "id": 2513, "nodeType": "ExpressionStatement", "src": "8417:47:3" }, @@ -11251,11 +11251,11 @@ "eventCall": { "arguments": [ { - "id": 2511, + "id": 2515, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2432, + "referencedDeclaration": 2436, "src": "8498:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11263,11 +11263,11 @@ } }, { - "id": 2512, + "id": 2516, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, + "referencedDeclaration": 2345, "src": "8512:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", @@ -11286,18 +11286,18 @@ "typeString": "bytes calldata" } ], - "id": 2510, + "id": 2514, "name": "VotingRoomStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1857, + "referencedDeclaration": 1861, "src": "8480:17:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (uint256,bytes memory)" } }, - "id": 2513, + "id": 2517, "isConstant": false, "isLValue": false, "isPure": false, @@ -11313,7 +11313,7 @@ "typeString": "tuple()" } }, - "id": 2514, + "id": 2518, "nodeType": "EmitStatement", "src": "8475:47:3" } @@ -11326,41 +11326,41 @@ "name": "initializeVotingRoom", "nameLocation": "6382:20:3", "parameters": { - "id": 2344, + "id": 2348, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2339, + "id": 2343, "mutability": "mutable", "name": "voteType", "nameLocation": "6412:8:3", "nodeType": "VariableDeclaration", - "scope": 2516, + "scope": 2520, "src": "6403:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 2338, + "id": 2342, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2337, + "id": 2341, "name": "VoteType", "nameLocations": [ "6403:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "6403:8:3" }, - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "6403:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -11368,12 +11368,12 @@ }, { "constant": false, - "id": 2341, + "id": 2345, "mutability": "mutable", "name": "publicKey", "nameLocation": "6437:9:3", "nodeType": "VariableDeclaration", - "scope": 2516, + "scope": 2520, "src": "6422:24:3", "stateVariable": false, "storageLocation": "calldata", @@ -11382,7 +11382,7 @@ "typeString": "bytes" }, "typeName": { - "id": 2340, + "id": 2344, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "6422:5:3", @@ -11395,12 +11395,12 @@ }, { "constant": false, - "id": 2343, + "id": 2347, "mutability": "mutable", "name": "voteAmount", "nameLocation": "6456:10:3", "nodeType": "VariableDeclaration", - "scope": 2516, + "scope": 2520, "src": "6448:18:3", "stateVariable": false, "storageLocation": "default", @@ -11409,7 +11409,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2342, + "id": 2346, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6448:7:3", @@ -11424,23 +11424,23 @@ "src": "6402:65:3" }, "returnParameters": { - "id": 2345, + "id": 2349, "nodeType": "ParameterList", "parameters": [], "src": "6475:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2655, + "id": 2659, "nodeType": "FunctionDefinition", "src": "8535:1431:3", "nodes": [], "body": { - "id": 2654, + "id": 2658, "nodeType": "Block", "src": "8627:1339:3", "nodes": [], @@ -11453,17 +11453,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2536, + "id": 2540, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2527, + "id": 2531, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2521, + "referencedDeclaration": 2525, "src": "8658:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -11477,7 +11477,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2539, "isConstant": false, "isLValue": false, "isPure": false, @@ -11485,32 +11485,32 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 2528, + "id": 2532, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "8667:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2531, + "id": 2535, "indexExpression": { "expression": { - "id": 2529, + "id": 2533, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "8681:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2530, + "id": 2534, "isConstant": false, "isLValue": true, "isPure": false, @@ -11518,7 +11518,7 @@ "memberLocation": "8692:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1831, + "referencedDeclaration": 1835, "src": "8681:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11532,11 +11532,11 @@ "nodeType": "IndexAccess", "src": "8667:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2532, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, @@ -11554,18 +11554,18 @@ "operator": "-", "rightExpression": { "expression": { - "id": 2533, + "id": 2537, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "8713:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2534, + "id": 2538, "isConstant": false, "isLValue": true, "isPure": false, @@ -11573,7 +11573,7 @@ "memberLocation": "8724:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1835, + "referencedDeclaration": 1839, "src": "8713:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -11594,7 +11594,7 @@ }, { "hexValue": "6c696d69742069732067726561746572207468616e20766f746573206c656e677468", - "id": 2537, + "id": 2541, "isConstant": false, "isLValue": false, "isPure": true, @@ -11620,7 +11620,7 @@ "typeString": "literal_string \"limit is greater than votes length\"" } ], - "id": 2526, + "id": 2530, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11634,7 +11634,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2538, + "id": 2542, "isConstant": false, "isLValue": false, "isPure": false, @@ -11650,23 +11650,23 @@ "typeString": "tuple()" } }, - "id": 2539, + "id": 2543, "nodeType": "ExpressionStatement", "src": "8637:160:3" }, { "assignments": [ - 2541 + 2545 ], "declarations": [ { "constant": false, - "id": 2541, + "id": 2545, "mutability": "mutable", "name": "balanceOfAtBlock", "nameLocation": "8936:16:3", "nodeType": "VariableDeclaration", - "scope": 2654, + "scope": 2658, "src": "8928:24:3", "stateVariable": false, "storageLocation": "default", @@ -11675,7 +11675,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2540, + "id": 2544, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8928:7:3", @@ -11687,10 +11687,10 @@ "visibility": "internal" } ], - "id": 2544, + "id": 2548, "initialValue": { "expression": { - "id": 2542, + "id": 2546, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -11701,7 +11701,7 @@ "typeString": "block" } }, - "id": 2543, + "id": 2547, "isConstant": false, "isLValue": false, "isPure": false, @@ -11721,18 +11721,18 @@ { "condition": { "expression": { - "id": 2545, + "id": 2549, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "8982:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2546, + "id": 2550, "isConstant": false, "isLValue": true, "isPure": false, @@ -11740,34 +11740,34 @@ "memberLocation": "8993:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1823, + "referencedDeclaration": 1827, "src": "8982:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2553, + "id": 2557, "nodeType": "IfStatement", "src": "8978:89:3", "trueBody": { - "id": 2552, + "id": 2556, "nodeType": "Block", "src": "9004:63:3", "statements": [ { "expression": { - "id": 2550, + "id": 2554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2547, + "id": 2551, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2541, + "referencedDeclaration": 2545, "src": "9018:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11778,18 +11778,18 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2548, + "id": 2552, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9037:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2549, + "id": 2553, "isConstant": false, "isLValue": true, "isPure": false, @@ -11797,7 +11797,7 @@ "memberLocation": "9048:8:3", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 1833, + "referencedDeclaration": 1837, "src": "9037:19:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11810,7 +11810,7 @@ "typeString": "uint256" } }, - "id": 2551, + "id": 2555, "nodeType": "ExpressionStatement", "src": "9018:38:3" } @@ -11819,17 +11819,17 @@ }, { "assignments": [ - 2555 + 2559 ], "declarations": [ { "constant": false, - "id": 2555, + "id": 2559, "mutability": "mutable", "name": "i", "nameLocation": "9084:1:3", "nodeType": "VariableDeclaration", - "scope": 2654, + "scope": 2658, "src": "9077:8:3", "stateVariable": false, "storageLocation": "default", @@ -11838,7 +11838,7 @@ "typeString": "uint32" }, "typeName": { - "id": 2554, + "id": 2558, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "9077:6:3", @@ -11850,10 +11850,10 @@ "visibility": "internal" } ], - "id": 2557, + "id": 2561, "initialValue": { "hexValue": "30", - "id": 2556, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": true, @@ -11872,83 +11872,83 @@ }, { "body": { - "id": 2624, + "id": 2628, "nodeType": "Block", "src": "9122:588:3", "statements": [ { "assignments": [ - 2566 + 2570 ], "declarations": [ { "constant": false, - "id": 2566, + "id": 2570, "mutability": "mutable", "name": "vote", "nameLocation": "9149:4:3", "nodeType": "VariableDeclaration", - "scope": 2624, + "scope": 2628, "src": "9136:17:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote" }, "typeName": { - "id": 2565, + "id": 2569, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2564, + "id": 2568, "name": "Vote", "nameLocations": [ "9136:4:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "9136:4:3" }, - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "9136:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote" } }, "visibility": "internal" } ], - "id": 2576, + "id": 2580, "initialValue": { "baseExpression": { "baseExpression": { - "id": 2567, + "id": 2571, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "9156:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2570, + "id": 2574, "indexExpression": { "expression": { - "id": 2568, + "id": 2572, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9170:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2569, + "id": 2573, "isConstant": false, "isLValue": true, "isPure": false, @@ -11956,7 +11956,7 @@ "memberLocation": "9181:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1831, + "referencedDeclaration": 1835, "src": "9170:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -11970,35 +11970,35 @@ "nodeType": "IndexAccess", "src": "9156:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2575, + "id": 2579, "indexExpression": { "commonType": { "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2574, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2571, + "id": 2575, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9193:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2572, + "id": 2576, "isConstant": false, "isLValue": true, "isPure": false, @@ -12006,7 +12006,7 @@ "memberLocation": "9204:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1835, + "referencedDeclaration": 1839, "src": "9193:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12016,11 +12016,11 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2573, + "id": 2577, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2555, + "referencedDeclaration": 2559, "src": "9220:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12040,7 +12040,7 @@ "nodeType": "IndexAccess", "src": "9156:66:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage", + "typeIdentifier": "t_struct$_Vote_$1814_storage", "typeString": "struct VotingContract.Vote storage ref" } }, @@ -12053,7 +12053,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2585, + "id": 2589, "isConstant": false, "isLValue": false, "isPure": false, @@ -12062,18 +12062,18 @@ "arguments": [ { "expression": { - "id": 2579, + "id": 2583, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9259:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2580, + "id": 2584, "isConstant": false, "isLValue": true, "isPure": false, @@ -12081,7 +12081,7 @@ "memberLocation": "9264:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1804, + "referencedDeclaration": 1808, "src": "9259:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12089,11 +12089,11 @@ } }, { - "id": 2581, + "id": 2585, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2541, + "referencedDeclaration": 2545, "src": "9271:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12113,18 +12113,18 @@ } ], "expression": { - "id": 2577, + "id": 2581, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1904, + "referencedDeclaration": 1908, "src": "9241:5:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33553", + "typeIdentifier": "t_contract$_MiniMeToken_$33557", "typeString": "contract MiniMeToken" } }, - "id": 2578, + "id": 2582, "isConstant": false, "isLValue": false, "isPure": false, @@ -12132,14 +12132,14 @@ "memberLocation": "9247:11:3", "memberName": "balanceOfAt", "nodeType": "MemberAccess", - "referencedDeclaration": 32924, + "referencedDeclaration": 32928, "src": "9241:17:3", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view external returns (uint256)" } }, - "id": 2582, + "id": 2586, "isConstant": false, "isLValue": false, "isPure": false, @@ -12159,18 +12159,18 @@ "operator": ">=", "rightExpression": { "expression": { - "id": 2583, + "id": 2587, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9292:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2584, + "id": 2588, "isConstant": false, "isLValue": true, "isPure": false, @@ -12178,7 +12178,7 @@ "memberLocation": "9297:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1809, + "referencedDeclaration": 1813, "src": "9292:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12192,7 +12192,7 @@ } }, "falseBody": { - "id": 2622, + "id": 2626, "nodeType": "Block", "src": "9613:87:3", "statements": [ @@ -12201,18 +12201,18 @@ "arguments": [ { "expression": { - "id": 2616, + "id": 2620, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9651:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2617, + "id": 2621, "isConstant": false, "isLValue": true, "isPure": false, @@ -12220,7 +12220,7 @@ "memberLocation": "9662:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1831, + "referencedDeclaration": 1835, "src": "9651:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12229,18 +12229,18 @@ }, { "expression": { - "id": 2618, + "id": 2622, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9674:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2619, + "id": 2623, "isConstant": false, "isLValue": true, "isPure": false, @@ -12248,7 +12248,7 @@ "memberLocation": "9679:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1804, + "referencedDeclaration": 1808, "src": "9674:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12267,18 +12267,18 @@ "typeString": "address" } ], - "id": 2615, + "id": 2619, "name": "NotEnoughToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1886, + "referencedDeclaration": 1890, "src": "9636:14:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2620, + "id": 2624, "isConstant": false, "isLValue": false, "isPure": false, @@ -12294,45 +12294,45 @@ "typeString": "tuple()" } }, - "id": 2621, + "id": 2625, "nodeType": "EmitStatement", "src": "9631:54:3" } ] }, - "id": 2623, + "id": 2627, "nodeType": "IfStatement", "src": "9237:463:3", "trueBody": { - "id": 2614, + "id": 2618, "nodeType": "Block", "src": "9308:299:3", "statements": [ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, - "id": 2590, + "id": 2594, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2586, + "id": 2590, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9330:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2587, + "id": 2591, "isConstant": false, "isLValue": true, "isPure": false, @@ -12340,10 +12340,10 @@ "memberLocation": "9335:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1807, + "referencedDeclaration": 1811, "src": "9330:13:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -12351,18 +12351,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2588, + "id": 2592, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "9347:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2589, + "id": 2593, "isConstant": false, "isLValue": false, "isPure": true, @@ -12370,10 +12370,10 @@ "memberLocation": "9356:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1801, + "referencedDeclaration": 1805, "src": "9347:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -12384,31 +12384,31 @@ } }, "falseBody": { - "id": 2612, + "id": 2616, "nodeType": "Block", "src": "9476:117:3", "statements": [ { "expression": { - "id": 2610, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2602, + "id": 2606, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9498:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2604, + "id": 2608, "isConstant": false, "isLValue": true, "isPure": false, @@ -12416,7 +12416,7 @@ "memberLocation": "9509:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1829, + "referencedDeclaration": 1833, "src": "9498:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12430,25 +12430,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2609, + "id": 2613, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2605, + "id": 2609, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9529:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2606, + "id": 2610, "isConstant": false, "isLValue": true, "isPure": false, @@ -12456,7 +12456,7 @@ "memberLocation": "9540:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1829, + "referencedDeclaration": 1833, "src": "9529:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12467,18 +12467,18 @@ "operator": "+", "rightExpression": { "expression": { - "id": 2607, + "id": 2611, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9560:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2608, + "id": 2612, "isConstant": false, "isLValue": true, "isPure": false, @@ -12486,7 +12486,7 @@ "memberLocation": "9565:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1809, + "referencedDeclaration": 1813, "src": "9560:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12505,41 +12505,41 @@ "typeString": "uint256" } }, - "id": 2611, + "id": 2615, "nodeType": "ExpressionStatement", "src": "9498:76:3" } ] }, - "id": 2613, + "id": 2617, "nodeType": "IfStatement", "src": "9326:267:3", "trueBody": { - "id": 2601, + "id": 2605, "nodeType": "Block", "src": "9361:109:3", "statements": [ { "expression": { - "id": 2599, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2591, + "id": 2595, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9383:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2593, + "id": 2597, "isConstant": false, "isLValue": true, "isPure": false, @@ -12547,7 +12547,7 @@ "memberLocation": "9394:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1827, + "referencedDeclaration": 1831, "src": "9383:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12561,25 +12561,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2598, + "id": 2602, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2594, + "id": 2598, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9410:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2595, + "id": 2599, "isConstant": false, "isLValue": true, "isPure": false, @@ -12587,7 +12587,7 @@ "memberLocation": "9421:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1827, + "referencedDeclaration": 1831, "src": "9410:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12598,18 +12598,18 @@ "operator": "+", "rightExpression": { "expression": { - "id": 2596, + "id": 2600, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2566, + "referencedDeclaration": 2570, "src": "9437:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2597, + "id": 2601, "isConstant": false, "isLValue": true, "isPure": false, @@ -12617,7 +12617,7 @@ "memberLocation": "9442:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1809, + "referencedDeclaration": 1813, "src": "9437:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12636,7 +12636,7 @@ "typeString": "uint256" } }, - "id": 2600, + "id": 2604, "nodeType": "ExpressionStatement", "src": "9383:68:3" } @@ -12653,17 +12653,17 @@ "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2560, + "id": 2564, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2558, + "id": 2562, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2555, + "referencedDeclaration": 2559, "src": "9106:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12673,11 +12673,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 2559, + "id": 2563, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2521, + "referencedDeclaration": 2525, "src": "9110:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12690,10 +12690,10 @@ "typeString": "bool" } }, - "id": 2625, + "id": 2629, "loopExpression": { "expression": { - "id": 2562, + "id": 2566, "isConstant": false, "isLValue": false, "isPure": false, @@ -12703,11 +12703,11 @@ "prefix": false, "src": "9117:3:3", "subExpression": { - "id": 2561, + "id": 2565, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2555, + "referencedDeclaration": 2559, "src": "9117:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12719,7 +12719,7 @@ "typeString": "uint32" } }, - "id": 2563, + "id": 2567, "nodeType": "ExpressionStatement", "src": "9117:3:3" }, @@ -12728,25 +12728,25 @@ }, { "expression": { - "id": 2630, + "id": 2634, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2626, + "id": 2630, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9720:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2628, + "id": 2632, "isConstant": false, "isLValue": true, "isPure": false, @@ -12754,7 +12754,7 @@ "memberLocation": "9731:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1835, + "referencedDeclaration": 1839, "src": "9720:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12764,11 +12764,11 @@ "nodeType": "Assignment", "operator": "+=", "rightHandSide": { - "id": 2629, + "id": 2633, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2555, + "referencedDeclaration": 2559, "src": "9748:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12781,7 +12781,7 @@ "typeString": "uint32" } }, - "id": 2631, + "id": 2635, "nodeType": "ExpressionStatement", "src": "9720:29:3" }, @@ -12791,25 +12791,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2639, + "id": 2643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2632, + "id": 2636, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9763:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2633, + "id": 2637, "isConstant": false, "isLValue": true, "isPure": false, @@ -12817,7 +12817,7 @@ "memberLocation": "9774:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1835, + "referencedDeclaration": 1839, "src": "9763:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -12829,32 +12829,32 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 2634, + "id": 2638, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "9791:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2637, + "id": 2641, "indexExpression": { "expression": { - "id": 2635, + "id": 2639, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9805:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2636, + "id": 2640, "isConstant": false, "isLValue": true, "isPure": false, @@ -12862,7 +12862,7 @@ "memberLocation": "9816:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1831, + "referencedDeclaration": 1835, "src": "9805:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12876,11 +12876,11 @@ "nodeType": "IndexAccess", "src": "9791:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2638, + "id": 2642, "isConstant": false, "isLValue": false, "isPure": false, @@ -12900,35 +12900,35 @@ "typeString": "bool" } }, - "id": 2647, + "id": 2651, "nodeType": "IfStatement", "src": "9759:129:3", "trueBody": { - "id": 2646, + "id": 2650, "nodeType": "Block", "src": "9836:52:3", "statements": [ { "expression": { - "id": 2644, + "id": 2648, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2640, + "id": 2644, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9850:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2642, + "id": 2646, "isConstant": false, "isLValue": true, "isPure": false, @@ -12936,7 +12936,7 @@ "memberLocation": "9861:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1837, + "referencedDeclaration": 1841, "src": "9850:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12947,7 +12947,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2643, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": true, @@ -12967,7 +12967,7 @@ "typeString": "bool" } }, - "id": 2645, + "id": 2649, "nodeType": "ExpressionStatement", "src": "9850:27:3" } @@ -12980,25 +12980,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2652, + "id": 2656, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2648, + "id": 2652, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9904:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2649, + "id": 2653, "isConstant": false, "isLValue": true, "isPure": false, @@ -13006,7 +13006,7 @@ "memberLocation": "9915:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1827, + "referencedDeclaration": 1831, "src": "9904:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13017,18 +13017,18 @@ "operator": ">", "rightExpression": { "expression": { - "id": 2650, + "id": 2654, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2519, + "referencedDeclaration": 2523, "src": "9931:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2651, + "id": 2655, "isConstant": false, "isLValue": true, "isPure": false, @@ -13036,7 +13036,7 @@ "memberLocation": "9942:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1829, + "referencedDeclaration": 1833, "src": "9931:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13049,8 +13049,8 @@ "typeString": "bool" } }, - "functionReturnParameters": 2525, - "id": 2653, + "functionReturnParameters": 2529, + "id": 2657, "nodeType": "Return", "src": "9897:62:3" } @@ -13062,41 +13062,41 @@ "name": "_evaluateVotes", "nameLocation": "8544:14:3", "parameters": { - "id": 2522, + "id": 2526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2519, + "id": 2523, "mutability": "mutable", "name": "votingRoom", "nameLocation": "8578:10:3", "nodeType": "VariableDeclaration", - "scope": 2655, + "scope": 2659, "src": "8559:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2518, + "id": 2522, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2517, + "id": 2521, "name": "VotingRoom", "nameLocations": [ "8559:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "8559:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "8559:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, @@ -13104,12 +13104,12 @@ }, { "constant": false, - "id": 2521, + "id": 2525, "mutability": "mutable", "name": "limit", "nameLocation": "8597:5:3", "nodeType": "VariableDeclaration", - "scope": 2655, + "scope": 2659, "src": "8590:12:3", "stateVariable": false, "storageLocation": "default", @@ -13118,7 +13118,7 @@ "typeString": "uint32" }, "typeName": { - "id": 2520, + "id": 2524, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "8590:6:3", @@ -13133,17 +13133,17 @@ "src": "8558:45:3" }, "returnParameters": { - "id": 2525, + "id": 2529, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2524, + "id": 2528, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2655, + "scope": 2659, "src": "8621:4:3", "stateVariable": false, "storageLocation": "default", @@ -13152,7 +13152,7 @@ "typeString": "bool" }, "typeName": { - "id": 2523, + "id": 2527, "name": "bool", "nodeType": "ElementaryTypeName", "src": "8621:4:3", @@ -13166,18 +13166,18 @@ ], "src": "8620:6:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 2684, + "id": 2688, "nodeType": "FunctionDefinition", "src": "9972:271:3", "nodes": [], "body": { - "id": 2683, + "id": 2687, "nodeType": "Block", "src": "10039:204:3", "nodes": [], @@ -13185,28 +13185,28 @@ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, - "id": 2665, + "id": 2669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2661, + "id": 2665, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2658, + "referencedDeclaration": 2662, "src": "10053:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2662, + "id": 2666, "isConstant": false, "isLValue": true, "isPure": false, @@ -13214,10 +13214,10 @@ "memberLocation": "10064:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1821, + "referencedDeclaration": 1825, "src": "10053:19:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -13225,18 +13225,18 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2663, + "id": 2667, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "10076:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2664, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": true, @@ -13244,10 +13244,10 @@ "memberLocation": "10085:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1801, + "referencedDeclaration": 1805, "src": "10076:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, @@ -13258,7 +13258,7 @@ } }, "falseBody": { - "id": 2681, + "id": 2685, "nodeType": "Block", "src": "10165:72:3", "statements": [ @@ -13267,18 +13267,18 @@ "arguments": [ { "expression": { - "id": 2677, + "id": 2681, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2658, + "referencedDeclaration": 2662, "src": "10205:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2678, + "id": 2682, "isConstant": false, "isLValue": true, "isPure": false, @@ -13286,7 +13286,7 @@ "memberLocation": "10216:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, + "referencedDeclaration": 1829, "src": "10205:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -13302,18 +13302,18 @@ } ], "expression": { - "id": 2674, + "id": 2678, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1901, + "referencedDeclaration": 1905, "src": "10179:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 2676, + "id": 2680, "isConstant": false, "isLValue": false, "isPure": false, @@ -13321,14 +13321,14 @@ "memberLocation": "10189:15:3", "memberName": "removeCommunity", "nodeType": "MemberAccess", - "referencedDeclaration": 155, + "referencedDeclaration": 159, "src": "10179:25:3", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (bytes memory) external" } }, - "id": 2679, + "id": 2683, "isConstant": false, "isLValue": false, "isPure": false, @@ -13344,17 +13344,17 @@ "typeString": "tuple()" } }, - "id": 2680, + "id": 2684, "nodeType": "ExpressionStatement", "src": "10179:47:3" } ] }, - "id": 2682, + "id": 2686, "nodeType": "IfStatement", "src": "10049:188:3", "trueBody": { - "id": 2673, + "id": 2677, "nodeType": "Block", "src": "10090:69:3", "statements": [ @@ -13363,18 +13363,18 @@ "arguments": [ { "expression": { - "id": 2669, + "id": 2673, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2658, + "referencedDeclaration": 2662, "src": "10127:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2670, + "id": 2674, "isConstant": false, "isLValue": true, "isPure": false, @@ -13382,7 +13382,7 @@ "memberLocation": "10138:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, + "referencedDeclaration": 1829, "src": "10127:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -13398,18 +13398,18 @@ } ], "expression": { - "id": 2666, + "id": 2670, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1901, + "referencedDeclaration": 1905, "src": "10104:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Directory_$294", + "typeIdentifier": "t_contract$_Directory_$298", "typeString": "contract Directory" } }, - "id": 2668, + "id": 2672, "isConstant": false, "isLValue": false, "isPure": false, @@ -13417,14 +13417,14 @@ "memberLocation": "10114:12:3", "memberName": "addCommunity", "nodeType": "MemberAccess", - "referencedDeclaration": 135, + "referencedDeclaration": 139, "src": "10104:22:3", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (bytes memory) external" } }, - "id": 2671, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": false, @@ -13440,7 +13440,7 @@ "typeString": "tuple()" } }, - "id": 2672, + "id": 2676, "nodeType": "ExpressionStatement", "src": "10104:44:3" } @@ -13455,41 +13455,41 @@ "name": "_populateDirectory", "nameLocation": "9981:18:3", "parameters": { - "id": 2659, + "id": 2663, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2658, + "id": 2662, "mutability": "mutable", "name": "votingRoom", "nameLocation": "10019:10:3", "nodeType": "VariableDeclaration", - "scope": 2684, + "scope": 2688, "src": "10000:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2657, + "id": 2661, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2656, + "id": 2660, "name": "VotingRoom", "nameLocations": [ "10000:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "10000:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "10000:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, @@ -13499,79 +13499,79 @@ "src": "9999:31:3" }, "returnParameters": { - "id": 2660, + "id": 2664, "nodeType": "ParameterList", "parameters": [], "src": "10039:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 2798, + "id": 2802, "nodeType": "FunctionDefinition", "src": "10249:1134:3", "nodes": [], "body": { - "id": 2797, + "id": 2801, "nodeType": "Block", "src": "10314:1069:3", "nodes": [], "statements": [ { "assignments": [ - 2693 + 2697 ], "declarations": [ { "constant": false, - "id": 2693, + "id": 2697, "mutability": "mutable", "name": "votingRoom", "nameLocation": "10343:10:3", "nodeType": "VariableDeclaration", - "scope": 2797, + "scope": 2801, "src": "10324:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2692, + "id": 2696, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2691, + "id": 2695, "name": "VotingRoom", "nameLocations": [ "10324:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "10324:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "10324:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 2697, + "id": 2701, "initialValue": { "arguments": [ { - "id": 2695, + "id": 2699, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2686, + "referencedDeclaration": 2690, "src": "10371:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13586,18 +13586,18 @@ "typeString": "uint256" } ], - "id": 2694, + "id": 2698, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "10356:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2696, + "id": 2700, "isConstant": false, "isLValue": false, "isPure": false, @@ -13609,7 +13609,7 @@ "src": "10356:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, @@ -13618,7 +13618,7 @@ }, { "condition": { - "id": 2700, + "id": 2704, "isConstant": false, "isLValue": false, "isPure": false, @@ -13629,18 +13629,18 @@ "src": "10393:21:3", "subExpression": { "expression": { - "id": 2698, + "id": 2702, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10394:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2699, + "id": 2703, "isConstant": false, "isLValue": true, "isPure": false, @@ -13648,7 +13648,7 @@ "memberLocation": "10405:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1823, + "referencedDeclaration": 1827, "src": "10394:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -13660,11 +13660,11 @@ "typeString": "bool" } }, - "id": 2755, + "id": 2759, "nodeType": "IfStatement", "src": "10389:567:3", "trueBody": { - "id": 2754, + "id": 2758, "nodeType": "Block", "src": "10416:540:3", "statements": [ @@ -13676,25 +13676,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2706, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2702, + "id": 2706, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10438:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2703, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, @@ -13702,7 +13702,7 @@ "memberLocation": "10449:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1818, + "referencedDeclaration": 1822, "src": "10438:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13713,7 +13713,7 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2704, + "id": 2708, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -13724,7 +13724,7 @@ "typeString": "block" } }, - "id": 2705, + "id": 2709, "isConstant": false, "isLValue": false, "isPure": false, @@ -13746,7 +13746,7 @@ }, { "hexValue": "766f7465207374696c6c206f6e676f696e67", - "id": 2707, + "id": 2711, "isConstant": false, "isLValue": false, "isPure": true, @@ -13772,7 +13772,7 @@ "typeString": "literal_string \"vote still ongoing\"" } ], - "id": 2701, + "id": 2705, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13786,7 +13786,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2708, + "id": 2712, "isConstant": false, "isLValue": false, "isPure": false, @@ -13802,31 +13802,31 @@ "typeString": "tuple()" } }, - "id": 2709, + "id": 2713, "nodeType": "ExpressionStatement", "src": "10430:65:3" }, { "expression": { - "id": 2714, + "id": 2718, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2710, + "id": 2714, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10509:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2712, + "id": 2716, "isConstant": false, "isLValue": true, "isPure": false, @@ -13834,7 +13834,7 @@ "memberLocation": "10520:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1823, + "referencedDeclaration": 1827, "src": "10509:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -13845,7 +13845,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2713, + "id": 2717, "isConstant": false, "isLValue": false, "isPure": true, @@ -13865,31 +13865,31 @@ "typeString": "bool" } }, - "id": 2715, + "id": 2719, "nodeType": "ExpressionStatement", "src": "10509:27:3" }, { "expression": { - "id": 2721, + "id": 2725, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2716, + "id": 2720, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10550:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2718, + "id": 2722, "isConstant": false, "isLValue": true, "isPure": false, @@ -13897,7 +13897,7 @@ "memberLocation": "10561:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1818, + "referencedDeclaration": 1822, "src": "10550:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13908,7 +13908,7 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2719, + "id": 2723, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -13919,7 +13919,7 @@ "typeString": "block" } }, - "id": 2720, + "id": 2724, "isConstant": false, "isLValue": false, "isPure": false, @@ -13939,31 +13939,31 @@ "typeString": "uint256" } }, - "id": 2722, + "id": 2726, "nodeType": "ExpressionStatement", "src": "10550:34:3" }, { "expression": { - "id": 2728, + "id": 2732, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2723, + "id": 2727, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10598:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2725, + "id": 2729, "isConstant": false, "isLValue": true, "isPure": false, @@ -13971,7 +13971,7 @@ "memberLocation": "10609:8:3", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 1833, + "referencedDeclaration": 1837, "src": "10598:19:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13982,7 +13982,7 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2726, + "id": 2730, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -13993,7 +13993,7 @@ "typeString": "block" } }, - "id": 2727, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, @@ -14013,31 +14013,31 @@ "typeString": "uint256" } }, - "id": 2729, + "id": 2733, "nodeType": "ExpressionStatement", "src": "10598:34:3" }, { "expression": { - "id": 2734, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2730, + "id": 2734, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10787:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2732, + "id": 2736, "isConstant": false, "isLValue": true, "isPure": false, @@ -14045,7 +14045,7 @@ "memberLocation": "10798:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1835, + "referencedDeclaration": 1839, "src": "10787:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14056,7 +14056,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2733, + "id": 2737, "isConstant": false, "isLValue": false, "isPure": true, @@ -14076,31 +14076,31 @@ "typeString": "uint32" } }, - "id": 2735, + "id": 2739, "nodeType": "ExpressionStatement", "src": "10787:28:3" }, { "expression": { - "id": 2740, + "id": 2744, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2736, + "id": 2740, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10829:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2738, + "id": 2742, "isConstant": false, "isLValue": true, "isPure": false, @@ -14108,7 +14108,7 @@ "memberLocation": "10840:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1837, + "referencedDeclaration": 1841, "src": "10829:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14119,7 +14119,7 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 2739, + "id": 2743, "isConstant": false, "isLValue": false, "isPure": true, @@ -14139,31 +14139,31 @@ "typeString": "bool" } }, - "id": 2741, + "id": 2745, "nodeType": "ExpressionStatement", "src": "10829:28:3" }, { "expression": { - "id": 2746, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2742, + "id": 2746, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10871:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2744, + "id": 2748, "isConstant": false, "isLValue": true, "isPure": false, @@ -14171,7 +14171,7 @@ "memberLocation": "10882:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1827, + "referencedDeclaration": 1831, "src": "10871:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14182,7 +14182,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2745, + "id": 2749, "isConstant": false, "isLValue": false, "isPure": true, @@ -14202,31 +14202,31 @@ "typeString": "uint256" } }, - "id": 2747, + "id": 2751, "nodeType": "ExpressionStatement", "src": "10871:28:3" }, { "expression": { - "id": 2752, + "id": 2756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2748, + "id": 2752, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10913:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2750, + "id": 2754, "isConstant": false, "isLValue": true, "isPure": false, @@ -14234,7 +14234,7 @@ "memberLocation": "10924:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1829, + "referencedDeclaration": 1833, "src": "10913:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14245,7 +14245,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2751, + "id": 2755, "isConstant": false, "isLValue": false, "isPure": true, @@ -14265,7 +14265,7 @@ "typeString": "uint256" } }, - "id": 2753, + "id": 2757, "nodeType": "ExpressionStatement", "src": "10913:32:3" } @@ -14276,7 +14276,7 @@ "expression": { "arguments": [ { - "id": 2759, + "id": 2763, "isConstant": false, "isLValue": false, "isPure": false, @@ -14287,18 +14287,18 @@ "src": "10974:21:3", "subExpression": { "expression": { - "id": 2757, + "id": 2761, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "10975:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2758, + "id": 2762, "isConstant": false, "isLValue": true, "isPure": false, @@ -14306,7 +14306,7 @@ "memberLocation": "10986:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1837, + "referencedDeclaration": 1841, "src": "10975:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14320,7 +14320,7 @@ }, { "hexValue": "766f746520616c72656164792066696e616c697a6564", - "id": 2760, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": true, @@ -14346,7 +14346,7 @@ "typeString": "literal_string \"vote already finalized\"" } ], - "id": 2756, + "id": 2760, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -14360,7 +14360,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2761, + "id": 2765, "isConstant": false, "isLValue": false, "isPure": false, @@ -14376,23 +14376,23 @@ "typeString": "tuple()" } }, - "id": 2762, + "id": 2766, "nodeType": "ExpressionStatement", "src": "10966:56:3" }, { "assignments": [ - 2764 + 2768 ], "declarations": [ { "constant": false, - "id": 2764, + "id": 2768, "mutability": "mutable", "name": "passed", "nameLocation": "11038:6:3", "nodeType": "VariableDeclaration", - "scope": 2797, + "scope": 2801, "src": "11033:11:3", "stateVariable": false, "storageLocation": "default", @@ -14401,7 +14401,7 @@ "typeString": "bool" }, "typeName": { - "id": 2763, + "id": 2767, "name": "bool", "nodeType": "ElementaryTypeName", "src": "11033:4:3", @@ -14413,27 +14413,27 @@ "visibility": "internal" } ], - "id": 2769, + "id": 2773, "initialValue": { "arguments": [ { - "id": 2766, + "id": 2770, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11062:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { - "id": 2767, + "id": 2771, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, + "referencedDeclaration": 2692, "src": "11074:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", @@ -14444,7 +14444,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -14452,18 +14452,18 @@ "typeString": "uint32" } ], - "id": 2765, + "id": 2769, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2655, + "referencedDeclaration": 2659, "src": "11047:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1842_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 2768, + "id": 2772, "isConstant": false, "isLValue": false, "isPure": false, @@ -14485,18 +14485,18 @@ { "condition": { "expression": { - "id": 2770, + "id": 2774, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11094:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2771, + "id": 2775, "isConstant": false, "isLValue": true, "isPure": false, @@ -14504,56 +14504,56 @@ "memberLocation": "11105:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1837, + "referencedDeclaration": 1841, "src": "11094:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2796, + "id": 2800, "nodeType": "IfStatement", "src": "11090:287:3", "trueBody": { - "id": 2795, + "id": 2799, "nodeType": "Block", "src": "11116:261:3", "statements": [ { "expression": { - "id": 2777, + "id": 2781, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2772, + "id": 2776, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1918, + "referencedDeclaration": 1922, "src": "11130:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2775, + "id": 2779, "indexExpression": { "expression": { - "id": 2773, + "id": 2777, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11156:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2774, + "id": 2778, "isConstant": false, "isLValue": true, "isPure": false, @@ -14561,7 +14561,7 @@ "memberLocation": "11167:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, + "referencedDeclaration": 1829, "src": "11156:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -14583,7 +14583,7 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2776, + "id": 2780, "isConstant": false, "isLValue": false, "isPure": true, @@ -14603,28 +14603,28 @@ "typeString": "uint256" } }, - "id": 2778, + "id": 2782, "nodeType": "ExpressionStatement", "src": "11130:51:3" }, { "condition": { - "id": 2779, + "id": 2783, "name": "passed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2764, + "referencedDeclaration": 2768, "src": "11199:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2785, + "id": 2789, "nodeType": "IfStatement", "src": "11195:75:3", "trueBody": { - "id": 2784, + "id": 2788, "nodeType": "Block", "src": "11207:63:3", "statements": [ @@ -14632,14 +14632,14 @@ "expression": { "arguments": [ { - "id": 2781, + "id": 2785, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11244:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } } @@ -14647,22 +14647,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } ], - "id": 2780, + "id": 2784, "name": "_populateDirectory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2688, "src": "11225:18:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1842_storage_ptr_$returns$__$", "typeString": "function (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2782, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": false, @@ -14678,7 +14678,7 @@ "typeString": "tuple()" } }, - "id": 2783, + "id": 2787, "nodeType": "ExpressionStatement", "src": "11225:30:3" } @@ -14689,11 +14689,11 @@ "eventCall": { "arguments": [ { - "id": 2787, + "id": 2791, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2686, + "referencedDeclaration": 2690, "src": "11308:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14702,18 +14702,18 @@ }, { "expression": { - "id": 2788, + "id": 2792, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11316:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2789, + "id": 2793, "isConstant": false, "isLValue": true, "isPure": false, @@ -14721,7 +14721,7 @@ "memberLocation": "11327:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, + "referencedDeclaration": 1829, "src": "11316:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", @@ -14729,11 +14729,11 @@ } }, { - "id": 2790, + "id": 2794, "name": "passed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2764, + "referencedDeclaration": 2768, "src": "11338:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14742,18 +14742,18 @@ }, { "expression": { - "id": 2791, + "id": 2795, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2693, + "referencedDeclaration": 2697, "src": "11346:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2792, + "id": 2796, "isConstant": false, "isLValue": true, "isPure": false, @@ -14761,10 +14761,10 @@ "memberLocation": "11357:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1821, + "referencedDeclaration": 1825, "src": "11346:19:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } } @@ -14784,22 +14784,22 @@ "typeString": "bool" }, { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } ], - "id": 2786, + "id": 2790, "name": "VotingRoomFinalized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, + "referencedDeclaration": 1878, "src": "11288:19:3", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$_t_bool_$_t_enum$_VoteType_$1802_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$_t_bool_$_t_enum$_VoteType_$1806_$returns$__$", "typeString": "function (uint256,bytes memory,bool,enum VotingContract.VoteType)" } }, - "id": 2793, + "id": 2797, "isConstant": false, "isLValue": false, "isPure": false, @@ -14815,7 +14815,7 @@ "typeString": "tuple()" } }, - "id": 2794, + "id": 2798, "nodeType": "EmitStatement", "src": "11283:83:3" } @@ -14831,17 +14831,17 @@ "name": "finalizeVotingRoom", "nameLocation": "10258:18:3", "parameters": { - "id": 2689, + "id": 2693, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2686, + "id": 2690, "mutability": "mutable", "name": "roomId", "nameLocation": "10285:6:3", "nodeType": "VariableDeclaration", - "scope": 2798, + "scope": 2802, "src": "10277:14:3", "stateVariable": false, "storageLocation": "default", @@ -14850,7 +14850,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2685, + "id": 2689, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "10277:7:3", @@ -14863,12 +14863,12 @@ }, { "constant": false, - "id": 2688, + "id": 2692, "mutability": "mutable", "name": "limit", "nameLocation": "10300:5:3", "nodeType": "VariableDeclaration", - "scope": 2798, + "scope": 2802, "src": "10293:12:3", "stateVariable": false, "storageLocation": "default", @@ -14877,7 +14877,7 @@ "typeString": "uint32" }, "typeName": { - "id": 2687, + "id": 2691, "name": "uint32", "nodeType": "ElementaryTypeName", "src": "10293:6:3", @@ -14892,30 +14892,30 @@ "src": "10276:30:3" }, "returnParameters": { - "id": 2690, + "id": 2694, "nodeType": "ParameterList", "parameters": [], "src": "10314:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2928, + "id": 2932, "nodeType": "FunctionDefinition", "src": "11389:1123:3", "nodes": [], "body": { - "id": 2927, + "id": 2931, "nodeType": "Block", "src": "11456:1056:3", "nodes": [], "statements": [ { "condition": { - "id": 2809, + "id": 2813, "isConstant": false, "isLValue": false, "isPure": false, @@ -14927,14 +14927,14 @@ "subExpression": { "arguments": [ { - "id": 2807, + "id": 2811, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11487:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -14942,22 +14942,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 2806, + "id": 2810, "name": "verifySignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2054, + "referencedDeclaration": 2058, "src": "11471:15:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$1855_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct VotingContract.SignedVote calldata) view returns (bool)" } }, - "id": 2808, + "id": 2812, "isConstant": false, "isLValue": false, "isPure": false, @@ -14978,11 +14978,11 @@ "typeString": "bool" } }, - "id": 2822, + "id": 2826, "nodeType": "IfStatement", "src": "11466:137:3", "trueBody": { - "id": 2821, + "id": 2825, "nodeType": "Block", "src": "11494:109:3", "statements": [ @@ -14994,25 +14994,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2814, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2811, + "id": 2815, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11530:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2812, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": false, @@ -15020,7 +15020,7 @@ "memberLocation": "11535:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1842, + "referencedDeclaration": 1846, "src": "11530:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15031,7 +15031,7 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2813, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": true, @@ -15053,18 +15053,18 @@ }, { "expression": { - "id": 2815, + "id": 2819, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11555:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2816, + "id": 2820, "isConstant": false, "isLValue": false, "isPure": false, @@ -15072,7 +15072,7 @@ "memberLocation": "11560:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "11555:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15091,18 +15091,18 @@ "typeString": "address" } ], - "id": 2810, + "id": 2814, "name": "InvalidSignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1898, + "referencedDeclaration": 1902, "src": "11513:16:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2817, + "id": 2821, "isConstant": false, "isLValue": false, "isPure": false, @@ -15118,14 +15118,14 @@ "typeString": "tuple()" } }, - "id": 2818, + "id": 2822, "nodeType": "EmitStatement", "src": "11508:58:3" }, { "expression": { "hexValue": "66616c7365", - "id": 2819, + "id": 2823, "isConstant": false, "isLValue": false, "isPure": true, @@ -15139,8 +15139,8 @@ }, "value": "false" }, - "functionReturnParameters": 2805, - "id": 2820, + "functionReturnParameters": 2809, + "id": 2824, "nodeType": "Return", "src": "11580:12:3" } @@ -15149,17 +15149,17 @@ }, { "assignments": [ - 2824 + 2828 ], "declarations": [ { "constant": false, - "id": 2824, + "id": 2828, "mutability": "mutable", "name": "roomId", "nameLocation": "11621:6:3", "nodeType": "VariableDeclaration", - "scope": 2927, + "scope": 2931, "src": "11613:14:3", "stateVariable": false, "storageLocation": "default", @@ -15168,7 +15168,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2823, + "id": 2827, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "11613:7:3", @@ -15180,31 +15180,31 @@ "visibility": "internal" } ], - "id": 2829, + "id": 2833, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2828, + "id": 2832, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2825, + "id": 2829, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11630:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2826, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": false, @@ -15212,7 +15212,7 @@ "memberLocation": "11635:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1842, + "referencedDeclaration": 1846, "src": "11630:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15223,7 +15223,7 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2827, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -15248,56 +15248,56 @@ }, { "assignments": [ - 2832 + 2836 ], "declarations": [ { "constant": false, - "id": 2832, + "id": 2836, "mutability": "mutable", "name": "room", "nameLocation": "11682:4:3", "nodeType": "VariableDeclaration", - "scope": 2927, + "scope": 2931, "src": "11663:23:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2831, + "id": 2835, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2830, + "id": 2834, "name": "VotingRoom", "nameLocations": [ "11663:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "11663:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "11663:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 2836, + "id": 2840, "initialValue": { "arguments": [ { - "id": 2834, + "id": 2838, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "11704:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15312,18 +15312,18 @@ "typeString": "uint256" } ], - "id": 2833, + "id": 2837, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "11689:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2835, + "id": 2839, "isConstant": false, "isLValue": false, "isPure": false, @@ -15335,7 +15335,7 @@ "src": "11689:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, @@ -15350,14 +15350,14 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2842, + "id": 2846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2838, + "id": 2842, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -15368,7 +15368,7 @@ "typeString": "block" } }, - "id": 2839, + "id": 2843, "isConstant": false, "isLValue": false, "isPure": false, @@ -15386,18 +15386,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2840, + "id": 2844, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2836, "src": "11748:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2841, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, @@ -15405,7 +15405,7 @@ "memberLocation": "11753:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1818, + "referencedDeclaration": 1822, "src": "11748:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15420,7 +15420,7 @@ }, { "hexValue": "766f746520636c6f736564", - "id": 2843, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": true, @@ -15446,7 +15446,7 @@ "typeString": "literal_string \"vote closed\"" } ], - "id": 2837, + "id": 2841, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15460,7 +15460,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2844, + "id": 2848, "isConstant": false, "isLValue": false, "isPure": false, @@ -15476,7 +15476,7 @@ "typeString": "tuple()" } }, - "id": 2845, + "id": 2849, "nodeType": "ExpressionStatement", "src": "11722:52:3" }, @@ -15484,7 +15484,7 @@ "expression": { "arguments": [ { - "id": 2849, + "id": 2853, "isConstant": false, "isLValue": false, "isPure": false, @@ -15495,18 +15495,18 @@ "src": "11792:15:3", "subExpression": { "expression": { - "id": 2847, + "id": 2851, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2836, "src": "11793:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2848, + "id": 2852, "isConstant": false, "isLValue": true, "isPure": false, @@ -15514,7 +15514,7 @@ "memberLocation": "11798:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1823, + "referencedDeclaration": 1827, "src": "11793:14:3", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -15528,7 +15528,7 @@ }, { "hexValue": "726f6f6d2066696e616c697a6564", - "id": 2850, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": true, @@ -15554,7 +15554,7 @@ "typeString": "literal_string \"room finalized\"" } ], - "id": 2846, + "id": 2850, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15568,7 +15568,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2851, + "id": 2855, "isConstant": false, "isLValue": false, "isPure": false, @@ -15584,7 +15584,7 @@ "typeString": "tuple()" } }, - "id": 2852, + "id": 2856, "nodeType": "ExpressionStatement", "src": "11784:42:3" }, @@ -15596,25 +15596,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2858, + "id": 2862, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2854, + "id": 2858, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11844:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2855, + "id": 2859, "isConstant": false, "isLValue": false, "isPure": false, @@ -15622,7 +15622,7 @@ "memberLocation": "11849:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, + "referencedDeclaration": 1850, "src": "11844:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15633,18 +15633,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2856, + "id": 2860, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2836, "src": "11861:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2857, + "id": 2861, "isConstant": false, "isLValue": true, "isPure": false, @@ -15652,7 +15652,7 @@ "memberLocation": "11866:19:3", "memberName": "verificationStartAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1816, + "referencedDeclaration": 1820, "src": "11861:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15667,7 +15667,7 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 2859, + "id": 2863, "isConstant": false, "isLValue": false, "isPure": true, @@ -15693,7 +15693,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 2853, + "id": 2857, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15707,7 +15707,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2860, + "id": 2864, "isConstant": false, "isLValue": false, "isPure": false, @@ -15723,7 +15723,7 @@ "typeString": "tuple()" } }, - "id": 2861, + "id": 2865, "nodeType": "ExpressionStatement", "src": "11836:76:3" }, @@ -15735,25 +15735,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2867, + "id": 2871, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2863, + "id": 2867, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "11930:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2864, + "id": 2868, "isConstant": false, "isLValue": false, "isPure": false, @@ -15761,7 +15761,7 @@ "memberLocation": "11935:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, + "referencedDeclaration": 1850, "src": "11930:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15772,18 +15772,18 @@ "operator": ">=", "rightExpression": { "expression": { - "id": 2865, + "id": 2869, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2836, "src": "11948:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2866, + "id": 2870, "isConstant": false, "isLValue": true, "isPure": false, @@ -15791,7 +15791,7 @@ "memberLocation": "11953:7:3", "memberName": "startAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1814, + "referencedDeclaration": 1818, "src": "11948:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15806,7 +15806,7 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 2868, + "id": 2872, "isConstant": false, "isLValue": false, "isPure": true, @@ -15832,7 +15832,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 2862, + "id": 2866, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15846,7 +15846,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 2869, + "id": 2873, "isConstant": false, "isLValue": false, "isPure": false, @@ -15862,7 +15862,7 @@ "typeString": "tuple()" } }, - "id": 2870, + "id": 2874, "nodeType": "ExpressionStatement", "src": "11922:65:3" }, @@ -15870,24 +15870,24 @@ "condition": { "baseExpression": { "baseExpression": { - "id": 2871, + "id": 2875, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1942, + "referencedDeclaration": 1946, "src": "12002:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2873, + "id": 2877, "indexExpression": { - "id": 2872, + "id": 2876, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "12025:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15905,21 +15905,21 @@ "typeString": "mapping(address => bool)" } }, - "id": 2876, + "id": 2880, "indexExpression": { "expression": { - "id": 2874, + "id": 2878, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12033:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2875, + "id": 2879, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "memberLocation": "12038:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "12033:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15945,11 +15945,11 @@ "typeString": "bool" } }, - "id": 2886, + "id": 2890, "nodeType": "IfStatement", "src": "11998:136:3", "trueBody": { - "id": 2885, + "id": 2889, "nodeType": "Block", "src": "12046:88:3", "statements": [ @@ -15957,11 +15957,11 @@ "eventCall": { "arguments": [ { - "id": 2878, + "id": 2882, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "12078:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15970,18 +15970,18 @@ }, { "expression": { - "id": 2879, + "id": 2883, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12086:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2880, + "id": 2884, "isConstant": false, "isLValue": false, "isPure": false, @@ -15989,7 +15989,7 @@ "memberLocation": "12091:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "12086:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16008,18 +16008,18 @@ "typeString": "address" } ], - "id": 2877, + "id": 2881, "name": "AlreadyVoted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1892, + "referencedDeclaration": 1896, "src": "12065:12:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2881, + "id": 2885, "isConstant": false, "isLValue": false, "isPure": false, @@ -16035,14 +16035,14 @@ "typeString": "tuple()" } }, - "id": 2882, + "id": 2886, "nodeType": "EmitStatement", "src": "12060:37:3" }, { "expression": { "hexValue": "66616c7365", - "id": 2883, + "id": 2887, "isConstant": false, "isLValue": false, "isPure": true, @@ -16056,8 +16056,8 @@ }, "value": "false" }, - "functionReturnParameters": 2805, - "id": 2884, + "functionReturnParameters": 2809, + "id": 2888, "nodeType": "Return", "src": "12111:12:3" } @@ -16066,7 +16066,7 @@ }, { "expression": { - "id": 2894, + "id": 2898, "isConstant": false, "isLValue": false, "isPure": false, @@ -16074,24 +16074,24 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2887, + "id": 2891, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1942, + "referencedDeclaration": 1946, "src": "12144:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2891, + "id": 2895, "indexExpression": { - "id": 2888, + "id": 2892, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "12167:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16109,21 +16109,21 @@ "typeString": "mapping(address => bool)" } }, - "id": 2892, + "id": 2896, "indexExpression": { "expression": { - "id": 2889, + "id": 2893, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12175:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2890, + "id": 2894, "isConstant": false, "isLValue": false, "isPure": false, @@ -16131,7 +16131,7 @@ "memberLocation": "12180:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "12175:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16153,7 +16153,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2893, + "id": 2897, "isConstant": false, "isLValue": false, "isPure": true, @@ -16173,7 +16173,7 @@ "typeString": "bool" } }, - "id": 2895, + "id": 2899, "nodeType": "ExpressionStatement", "src": "12144:49:3" }, @@ -16184,18 +16184,18 @@ "arguments": [ { "expression": { - "id": 2901, + "id": 2905, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12273:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2902, + "id": 2906, "isConstant": false, "isLValue": false, "isPure": false, @@ -16203,7 +16203,7 @@ "memberLocation": "12278:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "12273:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16216,7 +16216,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2908, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -16226,25 +16226,25 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2906, + "id": 2910, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2903, + "id": 2907, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12311:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2904, + "id": 2908, "isConstant": false, "isLValue": false, "isPure": false, @@ -16252,7 +16252,7 @@ "memberLocation": "12316:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1842, + "referencedDeclaration": 1846, "src": "12311:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16263,7 +16263,7 @@ "operator": "&", "rightExpression": { "hexValue": "31", - "id": 2905, + "id": 2909, "isConstant": false, "isLValue": false, "isPure": true, @@ -16287,7 +16287,7 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 2907, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": true, @@ -16309,18 +16309,18 @@ }, "falseExpression": { "expression": { - "id": 2911, + "id": 2915, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "12356:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2912, + "id": 2916, "isConstant": false, "isLValue": false, "isPure": true, @@ -16328,14 +16328,14 @@ "memberLocation": "12365:7:3", "memberName": "AGAINST", "nodeType": "MemberAccess", - "referencedDeclaration": 1800, + "referencedDeclaration": 1804, "src": "12356:16:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, - "id": 2913, + "id": 2917, "isConstant": false, "isLValue": false, "isPure": false, @@ -16344,18 +16344,18 @@ "src": "12311:61:3", "trueExpression": { "expression": { - "id": 2909, + "id": 2913, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, + "referencedDeclaration": 1806, "src": "12341:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1806_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2910, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, @@ -16363,32 +16363,32 @@ "memberLocation": "12350:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1801, + "referencedDeclaration": 1805, "src": "12341:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" } }, { "expression": { - "id": 2914, + "id": 2918, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12401:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2915, + "id": 2919, "isConstant": false, "isLValue": false, "isPure": false, @@ -16396,7 +16396,7 @@ "memberLocation": "12406:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1844, + "referencedDeclaration": 1848, "src": "12401:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16411,7 +16411,7 @@ "typeString": "address" }, { - "typeIdentifier": "t_enum$_VoteType_$1802", + "typeIdentifier": "t_enum$_VoteType_$1806", "typeString": "enum VotingContract.VoteType" }, { @@ -16419,18 +16419,18 @@ "typeString": "uint256" } ], - "id": 2900, + "id": 2904, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1810, + "referencedDeclaration": 1814, "src": "12243:4:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$1810_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$1814_storage_ptr_$", "typeString": "type(struct VotingContract.Vote storage pointer)" } }, - "id": 2916, + "id": 2920, "isConstant": false, "isLValue": false, "isPure": false, @@ -16450,7 +16450,7 @@ "src": "12243:187:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_memory_ptr", "typeString": "struct VotingContract.Vote memory" } } @@ -16458,30 +16458,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1814_memory_ptr", "typeString": "struct VotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 2896, + "id": 2900, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1936, + "referencedDeclaration": 1940, "src": "12203:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2898, + "id": 2902, "indexExpression": { - "id": 2897, + "id": 2901, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "12217:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16495,11 +16495,11 @@ "nodeType": "IndexAccess", "src": "12203:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1814_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2899, + "id": 2903, "isConstant": false, "isLValue": false, "isPure": false, @@ -16509,11 +16509,11 @@ "nodeType": "MemberAccess", "src": "12203:26:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1810_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1814_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1814_storage_$dyn_storage_ptr_$", "typeString": "function (struct VotingContract.Vote storage ref[] storage pointer,struct VotingContract.Vote storage ref)" } }, - "id": 2917, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, @@ -16529,7 +16529,7 @@ "typeString": "tuple()" } }, - "id": 2918, + "id": 2922, "nodeType": "ExpressionStatement", "src": "12203:237:3" }, @@ -16537,11 +16537,11 @@ "eventCall": { "arguments": [ { - "id": 2920, + "id": 2924, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, + "referencedDeclaration": 2828, "src": "12465:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16550,18 +16550,18 @@ }, { "expression": { - "id": 2921, + "id": 2925, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2801, + "referencedDeclaration": 2805, "src": "12473:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2922, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -16569,7 +16569,7 @@ "memberLocation": "12478:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1840, + "referencedDeclaration": 1844, "src": "12473:10:3", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16588,18 +16588,18 @@ "typeString": "address" } ], - "id": 2919, + "id": 2923, "name": "VoteCast", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1880, + "referencedDeclaration": 1884, "src": "12456:8:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2923, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, @@ -16615,14 +16615,14 @@ "typeString": "tuple()" } }, - "id": 2924, + "id": 2928, "nodeType": "EmitStatement", "src": "12451:33:3" }, { "expression": { "hexValue": "74727565", - "id": 2925, + "id": 2929, "isConstant": false, "isLValue": false, "isPure": true, @@ -16636,8 +16636,8 @@ }, "value": "true" }, - "functionReturnParameters": 2805, - "id": 2926, + "functionReturnParameters": 2809, + "id": 2930, "nodeType": "Return", "src": "12494:11:3" } @@ -16649,41 +16649,41 @@ "name": "castVote", "nameLocation": "11398:8:3", "parameters": { - "id": 2802, + "id": 2806, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2801, + "id": 2805, "mutability": "mutable", "name": "vote", "nameLocation": "11427:4:3", "nodeType": "VariableDeclaration", - "scope": 2928, + "scope": 2932, "src": "11407:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 2800, + "id": 2804, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2799, + "id": 2803, "name": "SignedVote", "nameLocations": [ "11407:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "11407:10:3" }, - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "11407:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, @@ -16693,17 +16693,17 @@ "src": "11406:26:3" }, "returnParameters": { - "id": 2805, + "id": 2809, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2804, + "id": 2808, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2928, + "scope": 2932, "src": "11450:4:3", "stateVariable": false, "storageLocation": "default", @@ -16712,7 +16712,7 @@ "typeString": "bool" }, "typeName": { - "id": 2803, + "id": 2807, "name": "bool", "nodeType": "ElementaryTypeName", "src": "11450:4:3", @@ -16726,35 +16726,35 @@ ], "src": "11449:6:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 3036, + "id": 3040, "nodeType": "FunctionDefinition", "src": "12518:1083:3", "nodes": [], "body": { - "id": 3035, + "id": 3039, "nodeType": "Block", "src": "12573:1028:3", "nodes": [], "statements": [ { "assignments": [ - 2936 + 2940 ], "declarations": [ { "constant": false, - "id": 2936, + "id": 2940, "mutability": "mutable", "name": "roomIdCount", "nameLocation": "12685:11:3", "nodeType": "VariableDeclaration", - "scope": 3035, + "scope": 3039, "src": "12678:18:3", "stateVariable": false, "storageLocation": "default", @@ -16763,7 +16763,7 @@ "typeString": "uint16" }, "typeName": { - "id": 2935, + "id": 2939, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "12678:6:3", @@ -16775,10 +16775,10 @@ "visibility": "internal" } ], - "id": 2938, + "id": 2942, "initialValue": { "hexValue": "30", - "id": 2937, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, @@ -16797,23 +16797,23 @@ }, { "body": { - "id": 2993, + "id": 2997, "nodeType": "Block", "src": "12754:390:3", "statements": [ { "assignments": [ - 2951 + 2955 ], "declarations": [ { "constant": false, - "id": 2951, + "id": 2955, "mutability": "mutable", "name": "success", "nameLocation": "12773:7:3", "nodeType": "VariableDeclaration", - "scope": 2993, + "scope": 2997, "src": "12768:12:3", "stateVariable": false, "storageLocation": "default", @@ -16822,7 +16822,7 @@ "typeString": "bool" }, "typeName": { - "id": 2950, + "id": 2954, "name": "bool", "nodeType": "ElementaryTypeName", "src": "12768:4:3", @@ -16834,29 +16834,29 @@ "visibility": "internal" } ], - "id": 2957, + "id": 2961, "initialValue": { "arguments": [ { "baseExpression": { - "id": 2953, + "id": 2957, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2932, + "referencedDeclaration": 2936, "src": "12792:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1855_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2955, + "id": 2959, "indexExpression": { - "id": 2954, + "id": 2958, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, + "referencedDeclaration": 2944, "src": "12798:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16870,7 +16870,7 @@ "nodeType": "IndexAccess", "src": "12792:8:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -16878,22 +16878,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 2952, + "id": 2956, "name": "castVote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2928, + "referencedDeclaration": 2932, "src": "12783:8:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$1855_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct VotingContract.SignedVote calldata) returns (bool)" } }, - "id": 2956, + "id": 2960, "isConstant": false, "isLValue": false, "isPure": false, @@ -16914,38 +16914,38 @@ }, { "condition": { - "id": 2958, + "id": 2962, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, + "referencedDeclaration": 2955, "src": "12819:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2992, + "id": 2996, "nodeType": "IfStatement", "src": "12815:319:3", "trueBody": { - "id": 2991, + "id": 2995, "nodeType": "Block", "src": "12828:306:3", "statements": [ { "assignments": [ - 2960 + 2964 ], "declarations": [ { "constant": false, - "id": 2960, + "id": 2964, "mutability": "mutable", "name": "roomId", "nameLocation": "12854:6:3", "nodeType": "VariableDeclaration", - "scope": 2991, + "scope": 2995, "src": "12846:14:3", "stateVariable": false, "storageLocation": "default", @@ -16954,7 +16954,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2959, + "id": 2963, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "12846:7:3", @@ -16966,13 +16966,13 @@ "visibility": "internal" } ], - "id": 2967, + "id": 2971, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2966, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, @@ -16980,24 +16980,24 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 2961, + "id": 2965, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2932, + "referencedDeclaration": 2936, "src": "12863:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1855_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2963, + "id": 2967, "indexExpression": { - "id": 2962, + "id": 2966, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, + "referencedDeclaration": 2944, "src": "12869:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17011,11 +17011,11 @@ "nodeType": "IndexAccess", "src": "12863:8:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2964, + "id": 2968, "isConstant": false, "isLValue": false, "isPure": false, @@ -17023,7 +17023,7 @@ "memberLocation": "12872:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1842, + "referencedDeclaration": 1846, "src": "12863:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17034,7 +17034,7 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2965, + "id": 2969, "isConstant": false, "isLValue": false, "isPure": true, @@ -17063,31 +17063,31 @@ "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2972, + "id": 2976, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 2968, + "id": 2972, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, + "referencedDeclaration": 1931, "src": "12912:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2970, + "id": 2974, "indexExpression": { - "id": 2969, + "id": 2973, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2960, + "referencedDeclaration": 2964, "src": "12940:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17109,7 +17109,7 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2971, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": true, @@ -17129,27 +17129,27 @@ "typeString": "bool" } }, - "id": 2984, + "id": 2988, "nodeType": "IfStatement", "src": "12908:154:3", "trueBody": { - "id": 2983, + "id": 2987, "nodeType": "Block", "src": "12954:108:3", "statements": [ { "expression": { - "id": 2975, + "id": 2979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2973, + "id": 2977, "name": "roomIdCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2936, + "referencedDeclaration": 2940, "src": "12976:11:3", "typeDescriptions": { "typeIdentifier": "t_uint16", @@ -17160,7 +17160,7 @@ "operator": "+=", "rightHandSide": { "hexValue": "31", - "id": 2974, + "id": 2978, "isConstant": false, "isLValue": false, "isPure": true, @@ -17180,7 +17180,7 @@ "typeString": "uint16" } }, - "id": 2976, + "id": 2980, "nodeType": "ExpressionStatement", "src": "12976:16:3" }, @@ -17188,11 +17188,11 @@ "expression": { "arguments": [ { - "id": 2980, + "id": 2984, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2960, + "referencedDeclaration": 2964, "src": "13036:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17208,18 +17208,18 @@ } ], "expression": { - "id": 2977, + "id": 2981, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1930, + "referencedDeclaration": 1934, "src": "13014:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2979, + "id": 2983, "isConstant": false, "isLValue": false, "isPure": false, @@ -17233,7 +17233,7 @@ "typeString": "function (uint256[] storage pointer,uint256)" } }, - "id": 2981, + "id": 2985, "isConstant": false, "isLValue": false, "isPure": false, @@ -17249,7 +17249,7 @@ "typeString": "tuple()" } }, - "id": 2982, + "id": 2986, "nodeType": "ExpressionStatement", "src": "13014:29:3" } @@ -17258,31 +17258,31 @@ }, { "expression": { - "id": 2989, + "id": 2993, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2985, + "id": 2989, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, + "referencedDeclaration": 1931, "src": "13079:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2987, + "id": 2991, "indexExpression": { - "id": 2986, + "id": 2990, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2960, + "referencedDeclaration": 2964, "src": "13107:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17304,7 +17304,7 @@ "operator": "+=", "rightHandSide": { "hexValue": "31", - "id": 2988, + "id": 2992, "isConstant": false, "isLValue": false, "isPure": true, @@ -17324,7 +17324,7 @@ "typeString": "uint32" } }, - "id": 2990, + "id": 2994, "nodeType": "ExpressionStatement", "src": "13079:40:3" } @@ -17338,17 +17338,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2946, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2943, + "id": 2947, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, + "referencedDeclaration": 2944, "src": "12731:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17359,18 +17359,18 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2944, + "id": 2948, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2932, + "referencedDeclaration": 2936, "src": "12735:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1855_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2945, + "id": 2949, "isConstant": false, "isLValue": false, "isPure": false, @@ -17390,20 +17390,20 @@ "typeString": "bool" } }, - "id": 2994, + "id": 2998, "initializationExpression": { "assignments": [ - 2940 + 2944 ], "declarations": [ { "constant": false, - "id": 2940, + "id": 2944, "mutability": "mutable", "name": "i", "nameLocation": "12724:1:3", "nodeType": "VariableDeclaration", - "scope": 2994, + "scope": 2998, "src": "12716:9:3", "stateVariable": false, "storageLocation": "default", @@ -17412,7 +17412,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2939, + "id": 2943, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "12716:7:3", @@ -17424,10 +17424,10 @@ "visibility": "internal" } ], - "id": 2942, + "id": 2946, "initialValue": { "hexValue": "30", - "id": 2941, + "id": 2945, "isConstant": false, "isLValue": false, "isPure": true, @@ -17446,7 +17446,7 @@ }, "loopExpression": { "expression": { - "id": 2948, + "id": 2952, "isConstant": false, "isLValue": false, "isPure": false, @@ -17456,11 +17456,11 @@ "prefix": false, "src": "12749:3:3", "subExpression": { - "id": 2947, + "id": 2951, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, + "referencedDeclaration": 2944, "src": "12749:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17472,7 +17472,7 @@ "typeString": "uint256" } }, - "id": 2949, + "id": 2953, "nodeType": "ExpressionStatement", "src": "12749:3:3" }, @@ -17481,23 +17481,23 @@ }, { "body": { - "id": 3030, + "id": 3034, "nodeType": "Block", "src": "13254:308:3", "statements": [ { "assignments": [ - 3006 + 3010 ], "declarations": [ { "constant": false, - "id": 3006, + "id": 3010, "mutability": "mutable", "name": "_roomId", "nameLocation": "13276:7:3", "nodeType": "VariableDeclaration", - "scope": 3030, + "scope": 3034, "src": "13268:15:3", "stateVariable": false, "storageLocation": "default", @@ -17506,7 +17506,7 @@ "typeString": "uint256" }, "typeName": { - "id": 3005, + "id": 3009, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "13268:7:3", @@ -17518,27 +17518,27 @@ "visibility": "internal" } ], - "id": 3010, + "id": 3014, "initialValue": { "baseExpression": { - "id": 3007, + "id": 3011, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1930, + "referencedDeclaration": 1934, "src": "13286:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 3009, + "id": 3013, "indexExpression": { - "id": 3008, + "id": 3012, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, + "referencedDeclaration": 3000, "src": "13303:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", @@ -17561,56 +17561,56 @@ }, { "assignments": [ - 3013 + 3017 ], "declarations": [ { "constant": false, - "id": 3013, + "id": 3017, "mutability": "mutable", "name": "votingRoom", "nameLocation": "13338:10:3", "nodeType": "VariableDeclaration", - "scope": 3030, + "scope": 3034, "src": "13319:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 3012, + "id": 3016, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 3011, + "id": 3015, "name": "VotingRoom", "nameLocations": [ "13319:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "13319:10:3" }, - "referencedDeclaration": 1838, + "referencedDeclaration": 1842, "src": "13319:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 3017, + "id": 3021, "initialValue": { "arguments": [ { - "id": 3015, + "id": 3019, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3006, + "referencedDeclaration": 3010, "src": "13366:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17625,18 +17625,18 @@ "typeString": "uint256" } ], - "id": 3014, + "id": 3018, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2162, + "referencedDeclaration": 2166, "src": "13351:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1842_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 3016, + "id": 3020, "isConstant": false, "isLValue": false, "isPure": false, @@ -17648,7 +17648,7 @@ "src": "13351:23:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, @@ -17659,37 +17659,37 @@ "expression": { "arguments": [ { - "id": 3019, + "id": 3023, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3013, + "referencedDeclaration": 3017, "src": "13403:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { "baseExpression": { - "id": 3020, + "id": 3024, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, + "referencedDeclaration": 1931, "src": "13415:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 3022, + "id": 3026, "indexExpression": { - "id": 3021, + "id": 3025, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3006, + "referencedDeclaration": 3010, "src": "13443:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17711,7 +17711,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1842_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -17719,18 +17719,18 @@ "typeString": "uint32" } ], - "id": 3018, + "id": 3022, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2655, + "referencedDeclaration": 2659, "src": "13388:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1842_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 3023, + "id": 3027, "isConstant": false, "isLValue": false, "isPure": false, @@ -17746,13 +17746,13 @@ "typeString": "bool" } }, - "id": 3024, + "id": 3028, "nodeType": "ExpressionStatement", "src": "13388:64:3" }, { "expression": { - "id": 3028, + "id": 3032, "isConstant": false, "isLValue": false, "isPure": false, @@ -17763,24 +17763,24 @@ "src": "13508:43:3", "subExpression": { "baseExpression": { - "id": 3025, + "id": 3029, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, + "referencedDeclaration": 1931, "src": "13515:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 3027, + "id": 3031, "indexExpression": { - "id": 3026, + "id": 3030, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3006, + "referencedDeclaration": 3010, "src": "13543:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -17803,7 +17803,7 @@ "typeString": "tuple()" } }, - "id": 3029, + "id": 3033, "nodeType": "ExpressionStatement", "src": "13508:43:3" } @@ -17814,17 +17814,17 @@ "typeIdentifier": "t_uint16", "typeString": "uint16" }, - "id": 3001, + "id": 3005, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2999, + "id": 3003, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, + "referencedDeclaration": 3000, "src": "13232:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", @@ -17834,11 +17834,11 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 3000, + "id": 3004, "name": "roomIdCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2936, + "referencedDeclaration": 2940, "src": "13236:11:3", "typeDescriptions": { "typeIdentifier": "t_uint16", @@ -17851,20 +17851,20 @@ "typeString": "bool" } }, - "id": 3031, + "id": 3035, "initializationExpression": { "assignments": [ - 2996 + 3000 ], "declarations": [ { "constant": false, - "id": 2996, + "id": 3000, "mutability": "mutable", "name": "i", "nameLocation": "13225:1:3", "nodeType": "VariableDeclaration", - "scope": 3031, + "scope": 3035, "src": "13218:8:3", "stateVariable": false, "storageLocation": "default", @@ -17873,7 +17873,7 @@ "typeString": "uint16" }, "typeName": { - "id": 2995, + "id": 2999, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "13218:6:3", @@ -17885,10 +17885,10 @@ "visibility": "internal" } ], - "id": 2998, + "id": 3002, "initialValue": { "hexValue": "30", - "id": 2997, + "id": 3001, "isConstant": false, "isLValue": false, "isPure": true, @@ -17907,7 +17907,7 @@ }, "loopExpression": { "expression": { - "id": 3003, + "id": 3007, "isConstant": false, "isLValue": false, "isPure": false, @@ -17917,11 +17917,11 @@ "prefix": false, "src": "13249:3:3", "subExpression": { - "id": 3002, + "id": 3006, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, + "referencedDeclaration": 3000, "src": "13249:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", @@ -17933,7 +17933,7 @@ "typeString": "uint16" } }, - "id": 3004, + "id": 3008, "nodeType": "ExpressionStatement", "src": "13249:3:3" }, @@ -17942,7 +17942,7 @@ }, { "expression": { - "id": 3033, + "id": 3037, "isConstant": false, "isLValue": false, "isPure": false, @@ -17952,11 +17952,11 @@ "prefix": true, "src": "13571:23:3", "subExpression": { - "id": 3032, + "id": 3036, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1930, + "referencedDeclaration": 1934, "src": "13578:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", @@ -17968,7 +17968,7 @@ "typeString": "tuple()" } }, - "id": 3034, + "id": 3038, "nodeType": "ExpressionStatement", "src": "13571:23:3" } @@ -17981,50 +17981,50 @@ "name": "castVotes", "nameLocation": "12527:9:3", "parameters": { - "id": 2933, + "id": 2937, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2932, + "id": 2936, "mutability": "mutable", "name": "votes", "nameLocation": "12559:5:3", "nodeType": "VariableDeclaration", - "scope": 3036, + "scope": 3040, "src": "12537:27:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1855_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote[]" }, "typeName": { "baseType": { - "id": 2930, + "id": 2934, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2929, + "id": 2933, "name": "SignedVote", "nameLocations": [ "12537:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "12537:10:3" }, - "referencedDeclaration": 1851, + "referencedDeclaration": 1855, "src": "12537:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1855_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, - "id": 2931, + "id": 2935, "nodeType": "ArrayTypeName", "src": "12537:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1855_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.SignedVote[]" } }, @@ -18034,12 +18034,12 @@ "src": "12536:29:3" }, "returnParameters": { - "id": 2934, + "id": 2938, "nodeType": "ParameterList", "parameters": [], "src": "12573:0:3" }, - "scope": 3037, + "scope": 3041, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -18049,16 +18049,16 @@ "baseContracts": [ { "baseName": { - "id": 1795, + "id": 1799, "name": "Ownable2Step", "nameLocations": [ "368:12:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44563, + "referencedDeclaration": 44621, "src": "368:12:3" }, - "id": 1796, + "id": 1800, "nodeType": "InheritanceSpecifier", "src": "368:12:3" } @@ -18068,28 +18068,28 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3037, - 44563, - 45360, - 45852 + 3041, + 44621, + 45418, + 45910 ], "name": "VotingContract", "nameLocation": "350:14:3", - "scope": 3038, + "scope": 3042, "usedErrors": [ - 2116, - 2121 + 2120, + 2125 ], "usedEvents": [ - 1857, - 1863, - 1874, - 1880, - 1886, - 1892, - 1898, - 44494, - 45261 + 1861, + 1867, + 1878, + 1884, + 1890, + 1896, + 1902, + 44552, + 45319 ] } ], diff --git a/packages/contracts/test/Directory.t.sol b/packages/contracts/test/Directory.t.sol index 1af73b6..3e3cd5f 100644 --- a/packages/contracts/test/Directory.t.sol +++ b/packages/contracts/test/Directory.t.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.19; import { Test } from "forge-std/Test.sol"; import { DeployContracts } from "../script/DeployContracts.s.sol"; +import { DeploymentConfig } from "../script/DeploymentConfig.s.sol"; import { Directory } from "../contracts/Directory.sol"; import { VotingContract } from "../contracts/VotingContract.sol"; import { FeaturedVotingContract } from "../contracts/FeaturedVotingContract.sol"; @@ -11,6 +12,7 @@ contract DirectoryTest is Test { Directory public directory; address internal votingContract; address internal featuredVotingContract; + address internal deployer; bytes internal communityID = "communityID"; bytes internal communityID2 = "communityID2"; @@ -23,6 +25,9 @@ contract DirectoryTest is Test { directory = _directory; votingContract = address(_votingContract); featuredVotingContract = address(_featuredVotingContract); + + DeploymentConfig deploymentConfig = deployment.getDeploymentConfig(); + deployer = deploymentConfig.deployer(); } function _addCommunitiesToDirectory(bytes[] memory communityIDs) internal { @@ -35,6 +40,12 @@ contract DirectoryTest is Test { assert(directory.isCommunityInDirectory(communityIDs[i])); } } + + function testDeployment() public { + assertEq(directory.owner(), deployer); + assertEq(directory.votingContract(), votingContract); + assertEq(directory.featuredVotingContract(), featuredVotingContract); + } } contract IsCommunityInDirectoryTest is DirectoryTest {