diff --git a/packages/contracts/contracts/VotingContract.sol b/packages/contracts/contracts/VotingContract.sol index 57c3aff..6720d30 100644 --- a/packages/contracts/contracts/VotingContract.sol +++ b/packages/contracts/contracts/VotingContract.sol @@ -157,7 +157,7 @@ contract VotingContract is Ownable2Step { uint256[] memory returnVotingRooms = new uint256[](votingRooms.length); uint256 count = 0; for (uint256 i = 0; i < votingRooms.length; i++) { - if (!votingRooms[i].finalized) { + if (!votingRooms[i].finalized || !votingRooms[i].evaluated) { returnVotingRooms[count] = votingRooms[i].roomNumber; count++; } @@ -284,7 +284,6 @@ contract VotingContract is Ownable2Step { votingRoom.finalized = true; votingRoom.endAt = block.timestamp; votingRoom.endBlock = block.number; - activeRoomIDByCommunityID[votingRoom.community] = 0; // resetting evaluation state as we're not entering finalization // phase in which all votes have to be reevaluated @@ -298,6 +297,7 @@ contract VotingContract is Ownable2Step { bool passed = _evaluateVotes(votingRoom, limit); if (votingRoom.evaluated) { + activeRoomIDByCommunityID[votingRoom.community] = 0; if (passed) { _populateDirectory(votingRoom); } diff --git a/packages/contracts/out/VotingContract.sol/VotingContract.json b/packages/contracts/out/VotingContract.sol/VotingContract.json index e7a0bb0..e6a1bb7 100644 --- a/packages/contracts/out/VotingContract.sol/VotingContract.json +++ b/packages/contracts/out/VotingContract.sol/VotingContract.json @@ -765,13 +765,13 @@ } ], "bytecode": { - "object": "0x60806040523480156200001157600080fd5b5060405162003524380380620035248339810160408190526200003491620001e5565b6200003f33620000d9565b600380546001600160a01b0319166001600160a01b0386161790556004839055600582905560068190556040805160c081018252600f608082019081526e159bdd1a5b99c810dbdb9d1c9858dd608a1b60a083015281528151808301835260018152603160f81b6020808301919091528201524691810191909152306060820152620000cb90620000f7565b600e55506200023292505050565b600180546001600160a01b0319169055620000f48162000195565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82600001518051906020012083602001518051906020012084604001518560600151604051602001620001789594939291909485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b604051602081830303815290604052805190602001209050919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060808587031215620001fc57600080fd5b84516001600160a01b03811681146200021457600080fd5b60208601516040870151606090970151919890975090945092505050565b6132e280620002426000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063daf1612b1161008c578063f6a54ac611610066578063f6a54ac614610357578063fc0c546a14610382578063ff9bd048146103a257600080fd5b8063daf1612b14610306578063e30c397814610326578063f2fde38b1461034457600080fd5b8063c1cde92c116100bd578063c1cde92c146102be578063c41c2f24146102d3578063da6d4a3d146102f357600080fd5b80638da5cb5b1461026c578063a68f1449146102ab57600080fd5b8063715018a61161012f57806379ba50971161011457806379ba5097146102345780637ed1689c1461023c578063865229731461024557600080fd5b8063715018a614610200578063730d01081461020857600080fd5b806354b6ec371161016057806354b6ec37146101ad5780635dacd0a0146101cd5780636e91818a146101ed57600080fd5b80630a64522f1461017c5780632111efc714610198575b600080fd5b61018560045481565b6040519081526020015b60405180910390f35b6101ab6101a6366004612809565b6103ab565b005b6101c06101bb3660046128c7565b610585565b60405161018f9190612a73565b6101e06101db3660046128c7565b610719565b60405161018f9190612a8d565b6101ab6101fb366004612b2f565b610994565b6101ab6109e3565b61021b610216366004612b4c565b6109f7565b60405161018f9d9c9b9a99989796959493929190612b65565b6101ab610b09565b61018560065481565b6101857fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb7667059106044781565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018f565b6101ab6102b9366004612beb565b610ba9565b6102c6610d94565b60405161018f9190612c24565b6002546102869073ffffffffffffffffffffffffffffffffffffffff1681565b6101ab610301366004612c68565b610e8f565b610319610314366004612b4c565b6116c9565b60405161018f9190612cc8565b60015473ffffffffffffffffffffffffffffffffffffffff16610286565b6101ab610352366004612b2f565b6117d3565b610185610365366004612d45565b805160208183018101805160088252928201919093012091525481565b6003546102869073ffffffffffffffffffffffffffffffffffffffff1681565b61018560055481565b6000805b828110156104c35760006103d98585848181106103ce576103ce612df6565b905060c00201611883565b905080156104b057600060018686858181106103f7576103f7612df6565b602060c09091029290920182013590921c6000818152600a909252604082205490935063ffffffff169003905061046b57610433600185612e54565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90182905593505b6000818152600a6020526040812080546001929061049090849063ffffffff16612e6f565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b50806104bb81612e8c565b9150506103af565b5060005b8161ffff168161ffff161015610573576000600b8261ffff16815481106104f0576104f0612df6565b90600052602060002001549050600061050882611d3a565b6000838152600a602052604090205490915061052b90829063ffffffff16611ded565b50506000908152600a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690558061056b81612ec4565b9150506104c7565b50610580600b600061274f565b505050565b61058d61276d565b6105b6600884846040516105a2929190612ee5565b908152602001604051809103902054611d3a565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561060657610606612909565b600181111561061757610617612909565b81526004820154610100900460ff161515602082015260058201805460409092019161064290612ef5565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90612ef5565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c09091015290505b92915050565b60606009838360405161072d929190612ee5565b9081526040519081900360200190205467ffffffffffffffff81111561075557610755612d16565b60405190808252806020026020018201604052801561078e57816020015b61077b61276d565b8152602001906001900390816107735790505b50905060005b600984846040516107a6929190612ee5565b9081526040519081900360200190205481101561098d57610801600985856040516107d2929190612ee5565b908152602001604051809103902082815481106107f1576107f1612df6565b9060005260206000200154611d3a565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561085157610851612909565b600181111561086257610862612909565b81526004820154610100900460ff161515602082015260058201805460409092019161088d90612ef5565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990612ef5565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c090910152825183908390811061096f5761096f612df6565b6020026020010181905250808061098590612e8c565b915050610794565b5092915050565b61099c61213e565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109eb61213e565b6109f560006121a5565b565b60078181548110610a0757600080fd5b60009182526020909120600b909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff808316946101009093041692610a5390612ef5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612ef5565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050506006840154600785015460088601546009870154600a9097015495969295919450925063ffffffff81169060ff640100000000909104168d565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610b9d5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ba6816121a5565b50565b6000610bb483611d3a565b6004810154909150610100900460ff16610cb55742816003015410610c1b5760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e6700000000000000000000000000006044820152606401610b94565b6004810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055426003820155436009820155604051600090600890610c6c906005850190612f42565b90815260405190819003602001902055600a810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000016905560006006820181905560078201555b600a810154640100000000900460ff1615610d125760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a6564000000000000000000006044820152606401610b94565b6000610d1e8284611ded565b600a830154909150640100000000900460ff1615610d8e578015610d4557610d45826121d6565b60048201546040517f2ee1d50dd7d7f4ca1cd35dba9bde18b024b24f448a26c1c8846fe7b8bb450d1d91610d859187916005870191869160ff1690613071565b60405180910390a15b50505050565b60075460609060009067ffffffffffffffff811115610db557610db5612d16565b604051908082528060200260200182016040528015610dde578160200160208202803683370190505b5090506000805b600754811015610e875760078181548110610e0257610e02612df6565b90600052602060002090600b020160040160019054906101000a900460ff16610e755760078181548110610e3857610e38612df6565b90600052602060002090600b020160080154838381518110610e5c57610e5c612df6565b602090810291909101015281610e7181612e8c565b9250505b80610e7f81612e8c565b915050610de5565b508152919050565b60088383604051610ea1929190612ee5565b908152602001604051809103902054600014610eff5760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e670000000000000000000000006044820152606401610b94565b6000846001811115610f1357610f13612909565b03610ffd576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a90610f7090869086906004016130d5565b602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb191906130f1565b610ffd5760405162461bcd60e51b815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f72790000000000006044820152606401610b94565b600184600181111561101157611011612909565b036110fc576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a9061106e90869086906004016130d5565b602060405180830381865afa15801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af91906130f1565b156110fc5760405162461bcd60e51b815260206004820152601e60248201527f436f6d6d756e69747920616c726561647920696e206469726563746f727900006044820152606401610b94565b600060098484604051611110929190612ee5565b90815260405190819003602001902054905080156111dc5760006009858560405161113c929190612ee5565b908152604051908190036020019020611156600184613113565b8154811061116657611166612df6565b9060005260206000200154905060065461117f82611d3a565b6003015461118d9042613113565b116111da5760405162461bcd60e51b815260206004820181905260248201527f436f6d6d756e6974792077617320696e206120766f746520726563656e746c796044820152606401610b94565b505b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152839173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e9190613126565b10156112bc5760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e000000000000000000000000000000006044820152606401610b94565b6007546000906112cd90600161313f565b905080600886866040516112e2929190612ee5565b90815260200160405180910390208190555060098585604051611306929190612ee5565b90815260408051602092819003830181208054600180820183556000928352858320909101869055858252600c85528382206060840185523384528584018281529484018990528054808301825590835294909120825160029095020180547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff909616958617825593519294909384927fffffffffffffffffffffff00000000000000000000000000000000000000000090911690911790740100000000000000000000000000000000000000009084908111156113fd576113fd612909565b02179055506040918201516001918201556000838152600d602090815283822033835281529083902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690921790915581516101a08101835243815242918101829052600454600793919291830191611479919061313f565b81526020016005546004544261148f919061313f565b611499919061313f565b81526020018860018111156114b0576114b0612909565b815260200160001515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602080830182905260408084018390526060808501889052608080860185905260a0860185905260c0909501849052865460018181018955978552938390208651600b909502019384559185015183870155840151600283015583015160038201559082015160048201805493949293919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690838181111561159e5761159e612909565b021790555060a0820151600482018054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff90921691909117905560c082015160058201906115f390826131a0565b5060e08201516006820155610100820151600782015561012082015160088201556101408201516009820155610160820151600a9091018054610180909301511515640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000090931663ffffffff9092169190911791909117905561168561167e82611d3a565b6001611ded565b507f56385c0d76ffcefeb38cb9226cb877000037647d09069d15e94ac4b29ec435878186866040516116b99392919061329c565b60405180910390a1505050505050565b6000818152600c602052604090205460609067ffffffffffffffff8111156116f3576116f3612d16565b60405190808252806020026020018201604052801561171c578160200160208202803683370190505b50905060005b6000838152600c60205260409020548110156117cd576000838152600c6020526040902080548290811061175857611758612df6565b6000918252602090912060029091020154825173ffffffffffffffffffffffffffffffffffffffff9091169083908390811061179657611796612df6565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152806117c581612e8c565b915050611722565b50919050565b6117db61213e565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561183e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600061188e826122dd565b6118fc577f35f8d4297cedff70ac1e00ca57f340dc39eb0234be11eeeb57a0ff94015b734660208301803560011c906118c79085612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a1506000919050565b602082013560011c600061190f82611d3a565b9050806003015442106119645760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f7365640000000000000000000000000000000000000000006044820152606401610b94565b6004810154610100900460ff16156119be5760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a65640000000000000000000000000000000000006044820152606401610b94565b8060020154846060013510611a155760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b806001015484606001351015611a6d5760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b6000828152600d6020908152604082209190611a8b90870187612b2f565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611b20577f04f9da634a3ce855cf7785808a673a41608288999dcd1d08e55bb33c69118f4a82611ae96020870187612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060009392505050565b6000828152600d6020908152604082206001929091611b4190880188612b2f565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355848352600c82529182902082516060810190935291908190611bbe90880188612b2f565b73ffffffffffffffffffffffffffffffffffffffff1681526020018660200135600116600114611bef576000611bf2565b60015b6001811115611c0357611c03612909565b815260408701356020918201528254600181810185556000948552938290208351600290920201805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825592840151939490939284927fffffffffffffffffffffff00000000000000000000000000000000000000000016179074010000000000000000000000000000000000000000908490811115611cc257611cc2612909565b0217905550604091909101516001909101557ff1003b73c437642c0460aee9cd9628b0b8c447b66e6c7c905531b9c644214a1182611d036020870187612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060019392505050565b6000816001811015611d7b576040517ff244389200000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b600754811115611dba576040517fdd085d4b00000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b6007611dc7600185613113565b81548110611dd757611dd7612df6565b90600052602060002090600b0201915050919050565b600a82015460088301546000908152600c60205260408120549091611e1a9163ffffffff90911690613113565b8263ffffffff161115611e955760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f74680000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b60048301544390610100900460ff1615611eb0575060098301545b60005b8363ffffffff168163ffffffff16101561209c5760088501546000908152600c60205260408120600a870154611ef090849063ffffffff16612e6f565b63ffffffff1681548110611f0657611f06612df6565b60009182526020909120600290910201600181015460035482546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529394509192911690634ee2cd7e90604401602060405180830381865afa158015611f98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fbc9190613126565b10612032576001815474010000000000000000000000000000000000000000900460ff166001811115611ff157611ff1612909565b03612014578060010154866006015461200a919061313f565b6006870155612089565b80600101548660070154612028919061313f565b6007870155612089565b600886015481546040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301527f52de8a8b06ee845dd9537ef3906e0a37d48c140e75f780715ee892f0ee08c052910160405180910390a15b5080612094816132b6565b915050611eb3565b600a850180548291906000906120b990849063ffffffff16612e6f565b82546101009290920a63ffffffff81810219909316918316021790915560088701546000908152600c6020526040902054600a88015490911603905061212b57600a850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff166401000000001790555b5050505060078101546006909101541190565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b94565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ba681612392565b6001600482015460ff1660018111156121f1576121f1612909565b03612284576002546040517f7483793500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063748379359061224f9060058501906004016132cf565b600060405180830381600087803b15801561226957600080fd5b505af115801561227d573d6000803e3d6000fd5b5050505050565b6002546040517f3c01b93c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633c01b93c9061224f9060058501906004016132cf565b600080600e546122ec84612407565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061234b90840184612b2f565b73ffffffffffffffffffffffffffffffffffffffff1661237482608086013560a08701356124a1565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb76670591060447602083018035906040850135906124419086612b2f565b60408051602081019590955284019290925260608381019190915273ffffffffffffffffffffffffffffffffffffffff909116608083015283013560a082015260c001604051602081830303815290604052805190602001209050919050565b60008060006124b18686866124c7565b915091506124be81612519565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816124fd60ff86901c601b61313f565b905061250b8782888561267e565b935093505050935093915050565b600081600481111561252d5761252d612909565b036125355750565b600181600481111561254957612549612909565b036125965760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b94565b60028160048111156125aa576125aa612909565b036125f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b94565b600381600481111561260b5761260b612909565b03610ba65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126b55750600090506003612746565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612709573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff811661273f57600060019250925050612746565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610ba691906127f0565b604051806101a0016040528060008152602001600081526020016000815260200160008152602001600060018111156127a8576127a8612909565b81526020016000151581526020016060815260200160008152602001600081526020016000815260200160008152602001600063ffffffff1681526020016000151581525090565b5b8082111561280557600081556001016127f1565b5090565b6000806020838503121561281c57600080fd5b823567ffffffffffffffff8082111561283457600080fd5b818501915085601f83011261284857600080fd5b81358181111561285757600080fd5b86602060c08302850101111561286c57600080fd5b60209290920196919550909350505050565b60008083601f84011261289057600080fd5b50813567ffffffffffffffff8111156128a857600080fd5b6020830191508360208285010111156128c057600080fd5b9250929050565b600080602083850312156128da57600080fd5b823567ffffffffffffffff8111156128f157600080fd5b6128fd8582860161287e565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6002811061296f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000815180845260005b818110156129995760208185018101518683018201520161297d565b506000602082860101526020601f19601f83011685010191505092915050565b60006101a08251845260208301516020850152604083015160408501526060830151606085015260808301516129f26080860182612938565b5060a0830151612a0660a086018215159052565b5060c08301518160c0860152612a1e82860182612973565b60e085810151908701526101008086015190870152610120808601519087015261014080860151908701526101608086015163ffffffff16908701526101809485015115159490950193909352509192915050565b602081526000612a8660208301846129b9565b9392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612b00577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612aee8583516129b9565b94509285019290850190600101612ab4565b5092979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ba657600080fd5b600060208284031215612b4157600080fd5b8135612a8681612b0d565b600060208284031215612b5e57600080fd5b5035919050565b60006101a08f83528e60208401528d60408401528c6060840152612b8c608084018d612938565b8a151560a08401528060c0840152612ba68184018b612973565b60e0840199909952505061010081019590955261012085019390935261014084019190915263ffffffff16610160830152151561018090910152979650505050505050565b60008060408385031215612bfe57600080fd5b82359150602083013563ffffffff81168114612c1957600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c5c57835183529284019291840191600101612c40565b50909695505050505050565b60008060008060608587031215612c7e57600080fd5b843560028110612c8d57600080fd5b9350602085013567ffffffffffffffff811115612ca957600080fd5b612cb58782880161287e565b9598909750949560400135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015612c5c57835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101612ce4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215612d5757600080fd5b813567ffffffffffffffff80821115612d6f57600080fd5b818401915084601f830112612d8357600080fd5b813581811115612d9557612d95612d16565b604051601f8201601f19908116603f01168101908382118183101715612dbd57612dbd612d16565b81604052828152876020848701011115612dd657600080fd5b826020860160208301376000928101602001929092525095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff81811683821601908082111561098d5761098d612e25565b63ffffffff81811683821601908082111561098d5761098d612e25565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ebd57612ebd612e25565b5060010190565b600061ffff808316818103612edb57612edb612e25565b6001019392505050565b8183823760009101908152919050565b600181811c90821680612f0957607f821691505b6020821081036117cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000808354612f5081612ef5565b60018281168015612f685760018114612f9b57612fca565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450612fca565b8760005260208060002060005b85811015612fc15781548a820152908401908201612fa8565b50505082870194505b50929695505050505050565b60008154612fe381612ef5565b808552602060018381168015613000576001811461303857613066565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b8901019550613066565b866000528260002060005b8581101561305e5781548a8201860152908301908401613043565b890184019650505b505050505092915050565b84815260806020820152600061308a6080830186612fd6565b905083151560408301526130a16060830184612938565b95945050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006130e96020830184866130aa565b949350505050565b60006020828403121561310357600080fd5b81518015158114612a8657600080fd5b8181038181111561071357610713612e25565b60006020828403121561313857600080fd5b5051919050565b8082018082111561071357610713612e25565b601f82111561058057600081815260208120601f850160051c810160208610156131795750805b601f850160051c820191505b8181101561319857828155600101613185565b505050505050565b815167ffffffffffffffff8111156131ba576131ba612d16565b6131ce816131c88454612ef5565b84613152565b602080601f83116001811461322157600084156131eb5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613198565b600085815260208120601f198616915b8281101561325057888601518255948401946001909101908401613231565b508582101561328c57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b8381526040602082015260006130a16040830184866130aa565b600063ffffffff808316818103612edb57612edb612e25565b602081526000612a866020830184612fd656", - "sourceMap": "341:13233:2:-:0;;;3681:581;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:28;719:10:33;936:18:28;:32::i;:::-;3847:5:2;:14;;-1:-1:-1;;;;;;3847:14:2;-1:-1:-1;;;;;3847:14:2;;;;;3871:12;:28;;;3909:24;:52;;;3971:17;:38;;;4056:189;;;;;;;;;;;;;;;-1:-1:-1;;;4056:189:2;;;;;;;;;;;;;-1:-1:-1;4056:189:2;;-1:-1:-1;;;4056:189:2;;;;;;;;;;;4167:13;-1:-1:-1;;;4056:189:2;;;;4225:4;-1:-1:-1;;;4056:189:2;4038:217;;:4;:217::i;:::-;4019:16;:236;-1:-1:-1;341:13233:2;;-1:-1:-1;;;341:13233:2;1501:153:29;1590:13;1583:20;;-1:-1:-1;;;;;;1583:20:29;;;1613:34;1638:8;1613:24;:34::i;:::-;1501:153;:::o;2682:395:2:-;2753:7;2403:95;2885:12;:17;;;2869:35;;;;;;2938:12;:20;;;2922:38;;;;;;2978:12;:20;;;3016:12;:30;;;2802:258;;;;;;;;;;;773:25:61;;;829:2;814:18;;807:34;;;;872:2;857:18;;850:34;;;;915:2;900:18;;893:34;-1:-1:-1;;;;;964:32:61;958:3;943:19;;936:61;760:3;745:19;;514:489;2802:258:2;;;;;;;;;;;;;2779:291;;;;;;2772:298;;2682: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:495:61:-;132:6;140;148;156;209:3;197:9;188:7;184:23;180:33;177:53;;;226:1;223;216:12;177:53;252:16;;-1:-1:-1;;;;;297:31:61;;287:42;;277:70;;343:1;340;333:12;277:70;411:2;396:18;;390:25;455:2;440:18;;434:25;499:2;484:18;;;478:25;366:5;;390:25;;-1:-1:-1;478:25:61;;-1:-1:-1;14:495:61;-1:-1:-1;;;14:495:61:o;514:489::-;341:13233:2;;;;;;", + "object": "0x60806040523480156200001157600080fd5b506040516200355e3803806200355e8339810160408190526200003491620001e5565b6200003f33620000d9565b600380546001600160a01b0319166001600160a01b0386161790556004839055600582905560068190556040805160c081018252600f608082019081526e159bdd1a5b99c810dbdb9d1c9858dd608a1b60a083015281528151808301835260018152603160f81b6020808301919091528201524691810191909152306060820152620000cb90620000f7565b600e55506200023292505050565b600180546001600160a01b0319169055620000f48162000195565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82600001518051906020012083602001518051906020012084604001518560600151604051602001620001789594939291909485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b604051602081830303815290604052805190602001209050919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060808587031215620001fc57600080fd5b84516001600160a01b03811681146200021457600080fd5b60208601516040870151606090970151919890975090945092505050565b61331c80620002426000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063daf1612b1161008c578063f6a54ac611610066578063f6a54ac614610357578063fc0c546a14610382578063ff9bd048146103a257600080fd5b8063daf1612b14610306578063e30c397814610326578063f2fde38b1461034457600080fd5b8063c1cde92c116100bd578063c1cde92c146102be578063c41c2f24146102d3578063da6d4a3d146102f357600080fd5b80638da5cb5b1461026c578063a68f1449146102ab57600080fd5b8063715018a61161012f57806379ba50971161011457806379ba5097146102345780637ed1689c1461023c578063865229731461024557600080fd5b8063715018a614610200578063730d01081461020857600080fd5b806354b6ec371161016057806354b6ec37146101ad5780635dacd0a0146101cd5780636e91818a146101ed57600080fd5b80630a64522f1461017c5780632111efc714610198575b600080fd5b61018560045481565b6040519081526020015b60405180910390f35b6101ab6101a6366004612843565b6103ab565b005b6101c06101bb366004612901565b610585565b60405161018f9190612aad565b6101e06101db366004612901565b610719565b60405161018f9190612ac7565b6101ab6101fb366004612b69565b610994565b6101ab6109e3565b61021b610216366004612b86565b6109f7565b60405161018f9d9c9b9a99989796959493929190612b9f565b6101ab610b09565b61018560065481565b6101857fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb7667059106044781565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018f565b6101ab6102b9366004612c25565b610ba9565b6102c6610d92565b60405161018f9190612c5e565b6002546102869073ffffffffffffffffffffffffffffffffffffffff1681565b6101ab610301366004612ca2565b610ec9565b610319610314366004612b86565b611703565b60405161018f9190612d02565b60015473ffffffffffffffffffffffffffffffffffffffff16610286565b6101ab610352366004612b69565b61180d565b610185610365366004612d7f565b805160208183018101805160088252928201919093012091525481565b6003546102869073ffffffffffffffffffffffffffffffffffffffff1681565b61018560055481565b6000805b828110156104c35760006103d98585848181106103ce576103ce612e30565b905060c002016118bd565b905080156104b057600060018686858181106103f7576103f7612e30565b602060c09091029290920182013590921c6000818152600a909252604082205490935063ffffffff169003905061046b57610433600185612e8e565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90182905593505b6000818152600a6020526040812080546001929061049090849063ffffffff16612ea9565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b50806104bb81612ec6565b9150506103af565b5060005b8161ffff168161ffff161015610573576000600b8261ffff16815481106104f0576104f0612e30565b90600052602060002001549050600061050882611d74565b6000838152600a602052604090205490915061052b90829063ffffffff16611e27565b50506000908152600a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690558061056b81612efe565b9150506104c7565b50610580600b6000612789565b505050565b61058d6127a7565b6105b6600884846040516105a2929190612f1f565b908152602001604051809103902054611d74565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561060657610606612943565b600181111561061757610617612943565b81526004820154610100900460ff161515602082015260058201805460409092019161064290612f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90612f2f565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c09091015290505b92915050565b60606009838360405161072d929190612f1f565b9081526040519081900360200190205467ffffffffffffffff81111561075557610755612d50565b60405190808252806020026020018201604052801561078e57816020015b61077b6127a7565b8152602001906001900390816107735790505b50905060005b600984846040516107a6929190612f1f565b9081526040519081900360200190205481101561098d57610801600985856040516107d2929190612f1f565b908152602001604051809103902082815481106107f1576107f1612e30565b9060005260206000200154611d74565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561085157610851612943565b600181111561086257610862612943565b81526004820154610100900460ff161515602082015260058201805460409092019161088d90612f2f565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990612f2f565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c090910152825183908390811061096f5761096f612e30565b6020026020010181905250808061098590612ec6565b915050610794565b5092915050565b61099c612178565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109eb612178565b6109f560006121df565b565b60078181548110610a0757600080fd5b60009182526020909120600b909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff808316946101009093041692610a5390612f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612f2f565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050506006840154600785015460088601546009870154600a9097015495969295919450925063ffffffff81169060ff640100000000909104168d565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610b9d5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ba6816121df565b50565b6000610bb483611d74565b6004810154909150610100900460ff16610c8e5742816003015410610c1b5760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e6700000000000000000000000000006044820152606401610b94565b6004810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055426003820155436009820155600a810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000016905560006006820181905560078201555b600a810154640100000000900460ff1615610ceb5760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a6564000000000000000000006044820152606401610b94565b6000610cf78284611e27565b600a830154909150640100000000900460ff1615610d8c576000600883600501604051610d249190612f7c565b908152604051908190036020019020558015610d4357610d4382612210565b60048201546040517f2ee1d50dd7d7f4ca1cd35dba9bde18b024b24f448a26c1c8846fe7b8bb450d1d91610d839187916005870191869160ff16906130ab565b60405180910390a15b50505050565b60075460609060009067ffffffffffffffff811115610db357610db3612d50565b604051908082528060200260200182016040528015610ddc578160200160208202803683370190505b5090506000805b600754811015610ec15760078181548110610e0057610e00612e30565b90600052602060002090600b020160040160019054906101000a900460ff161580610e5a575060078181548110610e3957610e39612e30565b90600052602060002090600b0201600a0160049054906101000a900460ff16155b15610eaf5760078181548110610e7257610e72612e30565b90600052602060002090600b020160080154838381518110610e9657610e96612e30565b602090810291909101015281610eab81612ec6565b9250505b80610eb981612ec6565b915050610de3565b508152919050565b60088383604051610edb929190612f1f565b908152602001604051809103902054600014610f395760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e670000000000000000000000006044820152606401610b94565b6000846001811115610f4d57610f4d612943565b03611037576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a90610faa908690869060040161310f565b602060405180830381865afa158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610feb919061312b565b6110375760405162461bcd60e51b815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f72790000000000006044820152606401610b94565b600184600181111561104b5761104b612943565b03611136576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a906110a8908690869060040161310f565b602060405180830381865afa1580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e9919061312b565b156111365760405162461bcd60e51b815260206004820152601e60248201527f436f6d6d756e69747920616c726561647920696e206469726563746f727900006044820152606401610b94565b60006009848460405161114a929190612f1f565b908152604051908190036020019020549050801561121657600060098585604051611176929190612f1f565b90815260405190819003602001902061119060018461314d565b815481106111a0576111a0612e30565b906000526020600020015490506006546111b982611d74565b600301546111c7904261314d565b116112145760405162461bcd60e51b815260206004820181905260248201527f436f6d6d756e6974792077617320696e206120766f746520726563656e746c796044820152606401610b94565b505b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152839173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015611284573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a89190613160565b10156112f65760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e000000000000000000000000000000006044820152606401610b94565b600754600090611307906001613179565b9050806008868660405161131c929190612f1f565b90815260200160405180910390208190555060098585604051611340929190612f1f565b90815260408051602092819003830181208054600180820183556000928352858320909101869055858252600c85528382206060840185523384528584018281529484018990528054808301825590835294909120825160029095020180547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff909616958617825593519294909384927fffffffffffffffffffffff000000000000000000000000000000000000000000909116909117907401000000000000000000000000000000000000000090849081111561143757611437612943565b02179055506040918201516001918201556000838152600d602090815283822033835281529083902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690921790915581516101a081018352438152429181018290526004546007939192918301916114b39190613179565b8152602001600554600454426114c99190613179565b6114d39190613179565b81526020018860018111156114ea576114ea612943565b815260200160001515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602080830182905260408084018390526060808501889052608080860185905260a0860185905260c0909501849052865460018181018955978552938390208651600b909502019384559185015183870155840151600283015583015160038201559082015160048201805493949293919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169083818111156115d8576115d8612943565b021790555060a0820151600482018054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff90921691909117905560c0820151600582019061162d90826131da565b5060e08201516006820155610100820151600782015561012082015160088201556101408201516009820155610160820151600a9091018054610180909301511515640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000090931663ffffffff909216919091179190911790556116bf6116b882611d74565b6001611e27565b507f56385c0d76ffcefeb38cb9226cb877000037647d09069d15e94ac4b29ec435878186866040516116f3939291906132d6565b60405180910390a1505050505050565b6000818152600c602052604090205460609067ffffffffffffffff81111561172d5761172d612d50565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b6000838152600c6020526040902054811015611807576000838152600c6020526040902080548290811061179257611792612e30565b6000918252602090912060029091020154825173ffffffffffffffffffffffffffffffffffffffff909116908390839081106117d0576117d0612e30565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152806117ff81612ec6565b91505061175c565b50919050565b611815612178565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561187860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60006118c882612317565b611936577f35f8d4297cedff70ac1e00ca57f340dc39eb0234be11eeeb57a0ff94015b734660208301803560011c906119019085612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a1506000919050565b602082013560011c600061194982611d74565b90508060030154421061199e5760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f7365640000000000000000000000000000000000000000006044820152606401610b94565b6004810154610100900460ff16156119f85760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a65640000000000000000000000000000000000006044820152606401610b94565b8060020154846060013510611a4f5760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b806001015484606001351015611aa75760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b6000828152600d6020908152604082209190611ac590870187612b69565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611b5a577f04f9da634a3ce855cf7785808a673a41608288999dcd1d08e55bb33c69118f4a82611b236020870187612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060009392505050565b6000828152600d6020908152604082206001929091611b7b90880188612b69565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355848352600c82529182902082516060810190935291908190611bf890880188612b69565b73ffffffffffffffffffffffffffffffffffffffff1681526020018660200135600116600114611c29576000611c2c565b60015b6001811115611c3d57611c3d612943565b815260408701356020918201528254600181810185556000948552938290208351600290920201805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825592840151939490939284927fffffffffffffffffffffff00000000000000000000000000000000000000000016179074010000000000000000000000000000000000000000908490811115611cfc57611cfc612943565b0217905550604091909101516001909101557ff1003b73c437642c0460aee9cd9628b0b8c447b66e6c7c905531b9c644214a1182611d3d6020870187612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060019392505050565b6000816001811015611db5576040517ff244389200000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b600754811115611df4576040517fdd085d4b00000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b6007611e0160018561314d565b81548110611e1157611e11612e30565b90600052602060002090600b0201915050919050565b600a82015460088301546000908152600c60205260408120549091611e549163ffffffff9091169061314d565b8263ffffffff161115611ecf5760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f74680000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b60048301544390610100900460ff1615611eea575060098301545b60005b8363ffffffff168163ffffffff1610156120d65760088501546000908152600c60205260408120600a870154611f2a90849063ffffffff16612ea9565b63ffffffff1681548110611f4057611f40612e30565b60009182526020909120600290910201600181015460035482546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529394509192911690634ee2cd7e90604401602060405180830381865afa158015611fd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff69190613160565b1061206c576001815474010000000000000000000000000000000000000000900460ff16600181111561202b5761202b612943565b0361204e57806001015486600601546120449190613179565b60068701556120c3565b806001015486600701546120629190613179565b60078701556120c3565b600886015481546040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301527f52de8a8b06ee845dd9537ef3906e0a37d48c140e75f780715ee892f0ee08c052910160405180910390a15b50806120ce816132f0565b915050611eed565b600a850180548291906000906120f390849063ffffffff16612ea9565b82546101009290920a63ffffffff81810219909316918316021790915560088701546000908152600c6020526040902054600a88015490911603905061216557600a850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff166401000000001790555b5050505060078101546006909101541190565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b94565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ba6816123cc565b6001600482015460ff16600181111561222b5761222b612943565b036122be576002546040517f7483793500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690637483793590612289906005850190600401613309565b600060405180830381600087803b1580156122a357600080fd5b505af11580156122b7573d6000803e3d6000fd5b5050505050565b6002546040517f3c01b93c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633c01b93c90612289906005850190600401613309565b600080600e5461232684612441565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061238590840184612b69565b73ffffffffffffffffffffffffffffffffffffffff166123ae82608086013560a08701356124db565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb766705910604476020830180359060408501359061247b9086612b69565b60408051602081019590955284019290925260608381019190915273ffffffffffffffffffffffffffffffffffffffff909116608083015283013560a082015260c001604051602081830303815290604052805190602001209050919050565b60008060006124eb868686612501565b915091506124f881612553565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161253760ff86901c601b613179565b9050612545878288856126b8565b935093505050935093915050565b600081600481111561256757612567612943565b0361256f5750565b600181600481111561258357612583612943565b036125d05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b94565b60028160048111156125e4576125e4612943565b036126315760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b94565b600381600481111561264557612645612943565b03610ba65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126ef5750600090506003612780565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612743573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff811661277957600060019250925050612780565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610ba6919061282a565b604051806101a0016040528060008152602001600081526020016000815260200160008152602001600060018111156127e2576127e2612943565b81526020016000151581526020016060815260200160008152602001600081526020016000815260200160008152602001600063ffffffff1681526020016000151581525090565b5b8082111561283f576000815560010161282b565b5090565b6000806020838503121561285657600080fd5b823567ffffffffffffffff8082111561286e57600080fd5b818501915085601f83011261288257600080fd5b81358181111561289157600080fd5b86602060c0830285010111156128a657600080fd5b60209290920196919550909350505050565b60008083601f8401126128ca57600080fd5b50813567ffffffffffffffff8111156128e257600080fd5b6020830191508360208285010111156128fa57600080fd5b9250929050565b6000806020838503121561291457600080fd5b823567ffffffffffffffff81111561292b57600080fd5b612937858286016128b8565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600281106129a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000815180845260005b818110156129d3576020818501810151868301820152016129b7565b506000602082860101526020601f19601f83011685010191505092915050565b60006101a0825184526020830151602085015260408301516040850152606083015160608501526080830151612a2c6080860182612972565b5060a0830151612a4060a086018215159052565b5060c08301518160c0860152612a58828601826129ad565b60e085810151908701526101008086015190870152610120808601519087015261014080860151908701526101608086015163ffffffff16908701526101809485015115159490950193909352509192915050565b602081526000612ac060208301846129f3565b9392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612b3a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612b288583516129f3565b94509285019290850190600101612aee565b5092979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ba657600080fd5b600060208284031215612b7b57600080fd5b8135612ac081612b47565b600060208284031215612b9857600080fd5b5035919050565b60006101a08f83528e60208401528d60408401528c6060840152612bc6608084018d612972565b8a151560a08401528060c0840152612be08184018b6129ad565b60e0840199909952505061010081019590955261012085019390935261014084019190915263ffffffff16610160830152151561018090910152979650505050505050565b60008060408385031215612c3857600080fd5b82359150602083013563ffffffff81168114612c5357600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c9657835183529284019291840191600101612c7a565b50909695505050505050565b60008060008060608587031215612cb857600080fd5b843560028110612cc757600080fd5b9350602085013567ffffffffffffffff811115612ce357600080fd5b612cef878288016128b8565b9598909750949560400135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015612c9657835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101612d1e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215612d9157600080fd5b813567ffffffffffffffff80821115612da957600080fd5b818401915084601f830112612dbd57600080fd5b813581811115612dcf57612dcf612d50565b604051601f8201601f19908116603f01168101908382118183101715612df757612df7612d50565b81604052828152876020848701011115612e1057600080fd5b826020860160208301376000928101602001929092525095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff81811683821601908082111561098d5761098d612e5f565b63ffffffff81811683821601908082111561098d5761098d612e5f565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ef757612ef7612e5f565b5060010190565b600061ffff808316818103612f1557612f15612e5f565b6001019392505050565b8183823760009101908152919050565b600181811c90821680612f4357607f821691505b602082108103611807577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000808354612f8a81612f2f565b60018281168015612fa25760018114612fd557613004565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450613004565b8760005260208060002060005b85811015612ffb5781548a820152908401908201612fe2565b50505082870194505b50929695505050505050565b6000815461301d81612f2f565b80855260206001838116801561303a5760018114613072576130a0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b89010195506130a0565b866000528260002060005b858110156130985781548a820186015290830190840161307d565b890184019650505b505050505092915050565b8481526080602082015260006130c46080830186613010565b905083151560408301526130db6060830184612972565b95945050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006131236020830184866130e4565b949350505050565b60006020828403121561313d57600080fd5b81518015158114612ac057600080fd5b8181038181111561071357610713612e5f565b60006020828403121561317257600080fd5b5051919050565b8082018082111561071357610713612e5f565b601f82111561058057600081815260208120601f850160051c810160208610156131b35750805b601f850160051c820191505b818110156131d2578281556001016131bf565b505050505050565b815167ffffffffffffffff8111156131f4576131f4612d50565b613208816132028454612f2f565b8461318c565b602080601f83116001811461325b57600084156132255750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556131d2565b600085815260208120601f198616915b8281101561328a5788860151825594840194600190910190840161326b565b50858210156132c657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b8381526040602082015260006130db6040830184866130e4565b600063ffffffff808316818103612f1557612f15612e5f565b602081526000612ac0602083018461301056", + "sourceMap": "341:13262:3:-:0;;;3681:581;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:29;719:10:34;936:18:29;:32::i;:::-;3847:5:3;:14;;-1:-1:-1;;;;;;3847:14:3;-1:-1:-1;;;;;3847:14:3;;;;;3871:12;:28;;;3909:24;:52;;;3971:17;:38;;;4056:189;;;;;;;;;;;;;;;-1:-1:-1;;;4056:189:3;;;;;;;;;;;;;-1:-1:-1;4056:189:3;;-1:-1:-1;;;4056:189:3;;;;;;;;;;;4167:13;-1:-1:-1;;;4056:189:3;;;;4225:4;-1:-1:-1;;;4056:189:3;4038:217;;:4;:217::i;:::-;4019:16;:236;-1:-1:-1;341:13262:3;;-1:-1:-1;;;341:13262:3;1501:153:30;1590:13;1583:20;;-1:-1:-1;;;;;;1583:20:30;;;1613:34;1638:8;1613:24;:34::i;:::-;1501:153;:::o;2682:395:3:-;2753:7;2403:95;2885:12;:17;;;2869:35;;;;;;2938:12;:20;;;2922:38;;;;;;2978:12;:20;;;3016:12;:30;;;2802:258;;;;;;;;;;;773:25:62;;;829:2;814:18;;807:34;;;;872:2;857:18;;850:34;;;;915:2;900:18;;893:34;-1:-1:-1;;;;;964:32:62;958:3;943:19;;936:61;760:3;745:19;;514:489;2802:258:3;;;;;;;;;;;;;2779:291;;;;;;2772:298;;2682: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:495:62:-;132:6;140;148;156;209:3;197:9;188:7;184:23;180:33;177:53;;;226:1;223;216:12;177:53;252:16;;-1:-1:-1;;;;;297:31:62;;287:42;;277:70;;343:1;340;333:12;277:70;411:2;396:18;;390:25;455:2;440:18;;434:25;499:2;484:18;;;478:25;366:5;;390:25;;-1:-1:-1;478:25:62;;-1:-1:-1;14:495:62;-1:-1:-1;;;14:495:62:o;514:489::-;341:13262:3;;;;;;", "linkReferences": {} }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063daf1612b1161008c578063f6a54ac611610066578063f6a54ac614610357578063fc0c546a14610382578063ff9bd048146103a257600080fd5b8063daf1612b14610306578063e30c397814610326578063f2fde38b1461034457600080fd5b8063c1cde92c116100bd578063c1cde92c146102be578063c41c2f24146102d3578063da6d4a3d146102f357600080fd5b80638da5cb5b1461026c578063a68f1449146102ab57600080fd5b8063715018a61161012f57806379ba50971161011457806379ba5097146102345780637ed1689c1461023c578063865229731461024557600080fd5b8063715018a614610200578063730d01081461020857600080fd5b806354b6ec371161016057806354b6ec37146101ad5780635dacd0a0146101cd5780636e91818a146101ed57600080fd5b80630a64522f1461017c5780632111efc714610198575b600080fd5b61018560045481565b6040519081526020015b60405180910390f35b6101ab6101a6366004612809565b6103ab565b005b6101c06101bb3660046128c7565b610585565b60405161018f9190612a73565b6101e06101db3660046128c7565b610719565b60405161018f9190612a8d565b6101ab6101fb366004612b2f565b610994565b6101ab6109e3565b61021b610216366004612b4c565b6109f7565b60405161018f9d9c9b9a99989796959493929190612b65565b6101ab610b09565b61018560065481565b6101857fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb7667059106044781565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018f565b6101ab6102b9366004612beb565b610ba9565b6102c6610d94565b60405161018f9190612c24565b6002546102869073ffffffffffffffffffffffffffffffffffffffff1681565b6101ab610301366004612c68565b610e8f565b610319610314366004612b4c565b6116c9565b60405161018f9190612cc8565b60015473ffffffffffffffffffffffffffffffffffffffff16610286565b6101ab610352366004612b2f565b6117d3565b610185610365366004612d45565b805160208183018101805160088252928201919093012091525481565b6003546102869073ffffffffffffffffffffffffffffffffffffffff1681565b61018560055481565b6000805b828110156104c35760006103d98585848181106103ce576103ce612df6565b905060c00201611883565b905080156104b057600060018686858181106103f7576103f7612df6565b602060c09091029290920182013590921c6000818152600a909252604082205490935063ffffffff169003905061046b57610433600185612e54565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90182905593505b6000818152600a6020526040812080546001929061049090849063ffffffff16612e6f565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b50806104bb81612e8c565b9150506103af565b5060005b8161ffff168161ffff161015610573576000600b8261ffff16815481106104f0576104f0612df6565b90600052602060002001549050600061050882611d3a565b6000838152600a602052604090205490915061052b90829063ffffffff16611ded565b50506000908152600a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690558061056b81612ec4565b9150506104c7565b50610580600b600061274f565b505050565b61058d61276d565b6105b6600884846040516105a2929190612ee5565b908152602001604051809103902054611d3a565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561060657610606612909565b600181111561061757610617612909565b81526004820154610100900460ff161515602082015260058201805460409092019161064290612ef5565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90612ef5565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c09091015290505b92915050565b60606009838360405161072d929190612ee5565b9081526040519081900360200190205467ffffffffffffffff81111561075557610755612d16565b60405190808252806020026020018201604052801561078e57816020015b61077b61276d565b8152602001906001900390816107735790505b50905060005b600984846040516107a6929190612ee5565b9081526040519081900360200190205481101561098d57610801600985856040516107d2929190612ee5565b908152602001604051809103902082815481106107f1576107f1612df6565b9060005260206000200154611d3a565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561085157610851612909565b600181111561086257610862612909565b81526004820154610100900460ff161515602082015260058201805460409092019161088d90612ef5565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990612ef5565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c090910152825183908390811061096f5761096f612df6565b6020026020010181905250808061098590612e8c565b915050610794565b5092915050565b61099c61213e565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109eb61213e565b6109f560006121a5565b565b60078181548110610a0757600080fd5b60009182526020909120600b909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff808316946101009093041692610a5390612ef5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612ef5565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050506006840154600785015460088601546009870154600a9097015495969295919450925063ffffffff81169060ff640100000000909104168d565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610b9d5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ba6816121a5565b50565b6000610bb483611d3a565b6004810154909150610100900460ff16610cb55742816003015410610c1b5760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e6700000000000000000000000000006044820152606401610b94565b6004810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055426003820155436009820155604051600090600890610c6c906005850190612f42565b90815260405190819003602001902055600a810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000016905560006006820181905560078201555b600a810154640100000000900460ff1615610d125760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a6564000000000000000000006044820152606401610b94565b6000610d1e8284611ded565b600a830154909150640100000000900460ff1615610d8e578015610d4557610d45826121d6565b60048201546040517f2ee1d50dd7d7f4ca1cd35dba9bde18b024b24f448a26c1c8846fe7b8bb450d1d91610d859187916005870191869160ff1690613071565b60405180910390a15b50505050565b60075460609060009067ffffffffffffffff811115610db557610db5612d16565b604051908082528060200260200182016040528015610dde578160200160208202803683370190505b5090506000805b600754811015610e875760078181548110610e0257610e02612df6565b90600052602060002090600b020160040160019054906101000a900460ff16610e755760078181548110610e3857610e38612df6565b90600052602060002090600b020160080154838381518110610e5c57610e5c612df6565b602090810291909101015281610e7181612e8c565b9250505b80610e7f81612e8c565b915050610de5565b508152919050565b60088383604051610ea1929190612ee5565b908152602001604051809103902054600014610eff5760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e670000000000000000000000006044820152606401610b94565b6000846001811115610f1357610f13612909565b03610ffd576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a90610f7090869086906004016130d5565b602060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb191906130f1565b610ffd5760405162461bcd60e51b815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f72790000000000006044820152606401610b94565b600184600181111561101157611011612909565b036110fc576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a9061106e90869086906004016130d5565b602060405180830381865afa15801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af91906130f1565b156110fc5760405162461bcd60e51b815260206004820152601e60248201527f436f6d6d756e69747920616c726561647920696e206469726563746f727900006044820152606401610b94565b600060098484604051611110929190612ee5565b90815260405190819003602001902054905080156111dc5760006009858560405161113c929190612ee5565b908152604051908190036020019020611156600184613113565b8154811061116657611166612df6565b9060005260206000200154905060065461117f82611d3a565b6003015461118d9042613113565b116111da5760405162461bcd60e51b815260206004820181905260248201527f436f6d6d756e6974792077617320696e206120766f746520726563656e746c796044820152606401610b94565b505b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152839173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e9190613126565b10156112bc5760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e000000000000000000000000000000006044820152606401610b94565b6007546000906112cd90600161313f565b905080600886866040516112e2929190612ee5565b90815260200160405180910390208190555060098585604051611306929190612ee5565b90815260408051602092819003830181208054600180820183556000928352858320909101869055858252600c85528382206060840185523384528584018281529484018990528054808301825590835294909120825160029095020180547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff909616958617825593519294909384927fffffffffffffffffffffff00000000000000000000000000000000000000000090911690911790740100000000000000000000000000000000000000009084908111156113fd576113fd612909565b02179055506040918201516001918201556000838152600d602090815283822033835281529083902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690921790915581516101a08101835243815242918101829052600454600793919291830191611479919061313f565b81526020016005546004544261148f919061313f565b611499919061313f565b81526020018860018111156114b0576114b0612909565b815260200160001515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602080830182905260408084018390526060808501889052608080860185905260a0860185905260c0909501849052865460018181018955978552938390208651600b909502019384559185015183870155840151600283015583015160038201559082015160048201805493949293919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690838181111561159e5761159e612909565b021790555060a0820151600482018054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff90921691909117905560c082015160058201906115f390826131a0565b5060e08201516006820155610100820151600782015561012082015160088201556101408201516009820155610160820151600a9091018054610180909301511515640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000090931663ffffffff9092169190911791909117905561168561167e82611d3a565b6001611ded565b507f56385c0d76ffcefeb38cb9226cb877000037647d09069d15e94ac4b29ec435878186866040516116b99392919061329c565b60405180910390a1505050505050565b6000818152600c602052604090205460609067ffffffffffffffff8111156116f3576116f3612d16565b60405190808252806020026020018201604052801561171c578160200160208202803683370190505b50905060005b6000838152600c60205260409020548110156117cd576000838152600c6020526040902080548290811061175857611758612df6565b6000918252602090912060029091020154825173ffffffffffffffffffffffffffffffffffffffff9091169083908390811061179657611796612df6565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152806117c581612e8c565b915050611722565b50919050565b6117db61213e565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561183e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600061188e826122dd565b6118fc577f35f8d4297cedff70ac1e00ca57f340dc39eb0234be11eeeb57a0ff94015b734660208301803560011c906118c79085612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a1506000919050565b602082013560011c600061190f82611d3a565b9050806003015442106119645760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f7365640000000000000000000000000000000000000000006044820152606401610b94565b6004810154610100900460ff16156119be5760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a65640000000000000000000000000000000000006044820152606401610b94565b8060020154846060013510611a155760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b806001015484606001351015611a6d5760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b6000828152600d6020908152604082209190611a8b90870187612b2f565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611b20577f04f9da634a3ce855cf7785808a673a41608288999dcd1d08e55bb33c69118f4a82611ae96020870187612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060009392505050565b6000828152600d6020908152604082206001929091611b4190880188612b2f565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355848352600c82529182902082516060810190935291908190611bbe90880188612b2f565b73ffffffffffffffffffffffffffffffffffffffff1681526020018660200135600116600114611bef576000611bf2565b60015b6001811115611c0357611c03612909565b815260408701356020918201528254600181810185556000948552938290208351600290920201805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825592840151939490939284927fffffffffffffffffffffff00000000000000000000000000000000000000000016179074010000000000000000000000000000000000000000908490811115611cc257611cc2612909565b0217905550604091909101516001909101557ff1003b73c437642c0460aee9cd9628b0b8c447b66e6c7c905531b9c644214a1182611d036020870187612b2f565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060019392505050565b6000816001811015611d7b576040517ff244389200000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b600754811115611dba576040517fdd085d4b00000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b6007611dc7600185613113565b81548110611dd757611dd7612df6565b90600052602060002090600b0201915050919050565b600a82015460088301546000908152600c60205260408120549091611e1a9163ffffffff90911690613113565b8263ffffffff161115611e955760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f74680000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b60048301544390610100900460ff1615611eb0575060098301545b60005b8363ffffffff168163ffffffff16101561209c5760088501546000908152600c60205260408120600a870154611ef090849063ffffffff16612e6f565b63ffffffff1681548110611f0657611f06612df6565b60009182526020909120600290910201600181015460035482546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529394509192911690634ee2cd7e90604401602060405180830381865afa158015611f98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fbc9190613126565b10612032576001815474010000000000000000000000000000000000000000900460ff166001811115611ff157611ff1612909565b03612014578060010154866006015461200a919061313f565b6006870155612089565b80600101548660070154612028919061313f565b6007870155612089565b600886015481546040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301527f52de8a8b06ee845dd9537ef3906e0a37d48c140e75f780715ee892f0ee08c052910160405180910390a15b5080612094816132b6565b915050611eb3565b600a850180548291906000906120b990849063ffffffff16612e6f565b82546101009290920a63ffffffff81810219909316918316021790915560088701546000908152600c6020526040902054600a88015490911603905061212b57600a850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff166401000000001790555b5050505060078101546006909101541190565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b94565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ba681612392565b6001600482015460ff1660018111156121f1576121f1612909565b03612284576002546040517f7483793500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063748379359061224f9060058501906004016132cf565b600060405180830381600087803b15801561226957600080fd5b505af115801561227d573d6000803e3d6000fd5b5050505050565b6002546040517f3c01b93c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633c01b93c9061224f9060058501906004016132cf565b600080600e546122ec84612407565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061234b90840184612b2f565b73ffffffffffffffffffffffffffffffffffffffff1661237482608086013560a08701356124a1565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb76670591060447602083018035906040850135906124419086612b2f565b60408051602081019590955284019290925260608381019190915273ffffffffffffffffffffffffffffffffffffffff909116608083015283013560a082015260c001604051602081830303815290604052805190602001209050919050565b60008060006124b18686866124c7565b915091506124be81612519565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816124fd60ff86901c601b61313f565b905061250b8782888561267e565b935093505050935093915050565b600081600481111561252d5761252d612909565b036125355750565b600181600481111561254957612549612909565b036125965760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b94565b60028160048111156125aa576125aa612909565b036125f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b94565b600381600481111561260b5761260b612909565b03610ba65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126b55750600090506003612746565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612709573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff811661273f57600060019250925050612746565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610ba691906127f0565b604051806101a0016040528060008152602001600081526020016000815260200160008152602001600060018111156127a8576127a8612909565b81526020016000151581526020016060815260200160008152602001600081526020016000815260200160008152602001600063ffffffff1681526020016000151581525090565b5b8082111561280557600081556001016127f1565b5090565b6000806020838503121561281c57600080fd5b823567ffffffffffffffff8082111561283457600080fd5b818501915085601f83011261284857600080fd5b81358181111561285757600080fd5b86602060c08302850101111561286c57600080fd5b60209290920196919550909350505050565b60008083601f84011261289057600080fd5b50813567ffffffffffffffff8111156128a857600080fd5b6020830191508360208285010111156128c057600080fd5b9250929050565b600080602083850312156128da57600080fd5b823567ffffffffffffffff8111156128f157600080fd5b6128fd8582860161287e565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6002811061296f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000815180845260005b818110156129995760208185018101518683018201520161297d565b506000602082860101526020601f19601f83011685010191505092915050565b60006101a08251845260208301516020850152604083015160408501526060830151606085015260808301516129f26080860182612938565b5060a0830151612a0660a086018215159052565b5060c08301518160c0860152612a1e82860182612973565b60e085810151908701526101008086015190870152610120808601519087015261014080860151908701526101608086015163ffffffff16908701526101809485015115159490950193909352509192915050565b602081526000612a8660208301846129b9565b9392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612b00577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612aee8583516129b9565b94509285019290850190600101612ab4565b5092979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ba657600080fd5b600060208284031215612b4157600080fd5b8135612a8681612b0d565b600060208284031215612b5e57600080fd5b5035919050565b60006101a08f83528e60208401528d60408401528c6060840152612b8c608084018d612938565b8a151560a08401528060c0840152612ba68184018b612973565b60e0840199909952505061010081019590955261012085019390935261014084019190915263ffffffff16610160830152151561018090910152979650505050505050565b60008060408385031215612bfe57600080fd5b82359150602083013563ffffffff81168114612c1957600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c5c57835183529284019291840191600101612c40565b50909695505050505050565b60008060008060608587031215612c7e57600080fd5b843560028110612c8d57600080fd5b9350602085013567ffffffffffffffff811115612ca957600080fd5b612cb58782880161287e565b9598909750949560400135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015612c5c57835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101612ce4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215612d5757600080fd5b813567ffffffffffffffff80821115612d6f57600080fd5b818401915084601f830112612d8357600080fd5b813581811115612d9557612d95612d16565b604051601f8201601f19908116603f01168101908382118183101715612dbd57612dbd612d16565b81604052828152876020848701011115612dd657600080fd5b826020860160208301376000928101602001929092525095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff81811683821601908082111561098d5761098d612e25565b63ffffffff81811683821601908082111561098d5761098d612e25565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ebd57612ebd612e25565b5060010190565b600061ffff808316818103612edb57612edb612e25565b6001019392505050565b8183823760009101908152919050565b600181811c90821680612f0957607f821691505b6020821081036117cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000808354612f5081612ef5565b60018281168015612f685760018114612f9b57612fca565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450612fca565b8760005260208060002060005b85811015612fc15781548a820152908401908201612fa8565b50505082870194505b50929695505050505050565b60008154612fe381612ef5565b808552602060018381168015613000576001811461303857613066565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b8901019550613066565b866000528260002060005b8581101561305e5781548a8201860152908301908401613043565b890184019650505b505050505092915050565b84815260806020820152600061308a6080830186612fd6565b905083151560408301526130a16060830184612938565b95945050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006130e96020830184866130aa565b949350505050565b60006020828403121561310357600080fd5b81518015158114612a8657600080fd5b8181038181111561071357610713612e25565b60006020828403121561313857600080fd5b5051919050565b8082018082111561071357610713612e25565b601f82111561058057600081815260208120601f850160051c810160208610156131795750805b601f850160051c820191505b8181101561319857828155600101613185565b505050505050565b815167ffffffffffffffff8111156131ba576131ba612d16565b6131ce816131c88454612ef5565b84613152565b602080601f83116001811461322157600084156131eb5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613198565b600085815260208120601f198616915b8281101561325057888601518255948401946001909101908401613231565b508582101561328c57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b8381526040602082015260006130a16040830184866130aa565b600063ffffffff808316818103612edb57612edb612e25565b602081526000612a866020830184612fd656", - "sourceMap": "341:13233:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1666:27;;;;;;;;;160:25:61;;;148:2;133:18;1666:27:2;;;;;;;;12489:1083;;;;;;:::i;:::-;;:::i;:::-;;4892:171;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5957:381::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4268:96::-;;;;;;:::i;:::-;;:::i;1824:101:28:-;;;:::i;1783:31:2:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;1734:212:29:-;;;:::i;1744:32:2:-;;;;;;3083:138;;3131:90;3083:138;;1201:85:28;1247:7;1273:6;;;1201:85;;;7389:42:61;7377:55;;;7359:74;;7347:2;7332:18;1201:85:28;7213:226:61;10220:1134:2;;;;;;:::i;:::-;;:::i;5069:574::-;;;:::i;:::-;;;;;;;:::i;1603:26::-;;;;;;;;;6344:2156;;;;;;:::i;:::-;;:::i;5649:302::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;847:99:29:-;926:13;;;;847:99;;1139:178;;;;;;:::i;:::-;;:::i;1820:58:2:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;1635:24;;;;;;;;;1699:39;;;;;;12489:1083;12649:18;12687:9;12682:433;12702:16;;;12682:433;;;12739:12;12754:18;12763:5;;12769:1;12763:8;;;;;;;:::i;:::-;;;;;;12754;:18::i;:::-;12739:33;;12790:7;12786:319;;;12817:14;12860:1;12834:5;;12840:1;12834:8;;;;;;;:::i;:::-;:22;:8;;;;;;;;:22;;;:27;;;12883:35;;;;:27;:35;;;;;;;12834:27;;-1:-1:-1;12883:35:2;;:40;;;-1:-1:-1;12879:154:2;;12947:16;12962:1;12947:16;;:::i;:::-;12985;:29;;;;;;;-1:-1:-1;12985:29:2;;;;;;;;;12947:16;-1:-1:-1;12879:154:2;13050:35;;;;:27;:35;;;;;:40;;13089:1;;13050:35;:40;;13089:1;;13050:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12799:306;12786:319;-1:-1:-1;12720:3:2;;;;:::i;:::-;;;;12682:433;;;;13189:8;13184:349;13207:11;13203:15;;:1;:15;;;13184:349;;;13239:15;13257:16;13274:1;13257:19;;;;;;;;;;:::i;:::-;;;;;;;;;13239:37;;13290:29;13322:23;13337:7;13322:14;:23::i;:::-;13386:36;;;;:27;:36;;;;;;13290:55;;-1:-1:-1;13359:64:2;;13290:55;;13386:36;;13359:14;:64::i;:::-;-1:-1:-1;;13486:36:2;;;;:27;:36;;;;;13479:43;;;;;;13220:3;;;;:::i;:::-;;;;13184:349;;;-1:-1:-1;13542:23:2;13549:16;;13542:23;:::i;:::-;12544:1028;12489:1083;;:::o;4892:171::-;4968:17;;:::i;:::-;5004:52;5019:25;5045:9;;5019:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;5004:14;:52::i;:::-;4997:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4997:59:2;;;-1:-1:-1;;4997:59:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4892:171:2;;;;;:::o;5957:381::-;6030:37;6116:20;6137:9;;6116:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;6099:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6079:76;;6170:9;6165:167;6189:20;6210:9;;6189:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;6185:42;;6165:167;;;6271:50;6286:20;6307:9;;6286:31;;;;;;;:::i;:::-;;;;;;;;;;;;;6318:1;6286:34;;;;;;;;:::i;:::-;;;;;;;;;6271:14;:50::i;:::-;6248:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6248:73:2;;;-1:-1:-1;;6248:73:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:20;;;;6266:1;;6248:20;;;;;;:::i;:::-;;;;;;:73;;;;6229:3;;;;;:::i;:::-;;;;6165:167;;;;5957:381;;;;:::o;4268:96::-;1094:13:28;:11;:13::i;:::-;4337:9:2::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;4268:96::o;1824:101:28:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1783:31:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1783:31:2;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1783:31:2;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1783:31:2;-1:-1:-1;1783:31:2;;;;;;;;;;;:::o;1734:212:29:-;926:13;;719:10:33;;1833:24:29;926:13;1833:24;;1825:78;;;;-1:-1:-1;;;1825:78:29;;13750:2:61;1825:78:29;;;13732:21:61;13789:2;13769:18;;;13762:30;13828:34;13808:18;;;13801:62;13899:11;13879:18;;;13872:39;13928:19;;1825:78:29;;;;;;;;;1913:26;1932:6;1913:18;:26::i;:::-;1776:170;1734:212::o;10220:1134:2:-;10295:29;10327:22;10342:6;10327:14;:22::i;:::-;10365:20;;;;;;-1:-1:-1;10365:20:2;;;;;10360:632;;10428:15;10409:10;:16;;;:34;10401:65;;;;-1:-1:-1;;;10401:65:2;;14160:2:61;10401:65:2;;;14142:21:61;14199:2;14179:18;;;14172:30;14238:20;14218:18;;;14211:48;14276:18;;10401:65:2;13958:342:61;10401:65:2;10480:20;;;:27;;;;;;;;10540:15;10521:16;;;:34;10591:12;10569:19;;;:34;10617:47;;10480:27;;10617:25;;:47;;10643:20;;;;10617:47;:::i;:::-;;;;;;;;;;;;;;:51;10823:24;;;:28;;10865;;;;10850:1;10907:24;;;:28;;;10949;;;:32;10360:632;11011:20;;;;;;;;;11010:21;11002:56;;;;-1:-1:-1;;;11002:56:2;;15535:2:61;11002:56:2;;;15517:21:61;15574:2;15554:18;;;15547:30;15613:24;15593:18;;;15586:52;15655:18;;11002:56:2;15333:346:61;11002:56:2;11069:11;11083:33;11098:10;11110:5;11083:14;:33::i;:::-;11130:20;;;;11069:47;;-1:-1:-1;11130:20:2;;;;;11126:222;;;11170:6;11166:75;;;11196:30;11215:10;11196:18;:30::i;:::-;11317:19;;;;11259:78;;;;;;11279:6;;11287:20;;;;11309:6;;11317:19;;;11259:78;:::i;:::-;;;;;;;;11126:222;10285:1069;;10220:1134;;:::o;5069:574::-;5201:11;:18;5122:16;;5150:34;;5187:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5187:33:2;;5150:70;;5230:13;5262:9;5257:214;5281:11;:18;5277:22;;5257:214;;;5325:11;5337:1;5325:14;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;;;;;;;;;;;5320:141;;5396:11;5408:1;5396:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;5369:17;5387:5;5369:24;;;;;;;;:::i;:::-;;;;;;;;;;:52;5439:7;;;;:::i;:::-;;;;5320:141;5301:3;;;;:::i;:::-;;;;5257:214;;;-1:-1:-1;5561:32:2;;5568:17;5069:574;-1:-1:-1;5069:574:2:o;6344:2156::-;6464:25;6490:9;;6464:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;6504:1;6464:41;6456:74;;;;-1:-1:-1;;;6456:74:2;;17201:2:61;6456:74:2;;;17183:21:61;17240:2;17220:18;;;17213:30;17279:22;17259:18;;;17252:50;17319:18;;6456:74:2;16999:344:61;6456:74:2;6556:16;6544:8;:28;;;;;;;;:::i;:::-;;6540:141;;6596:9;;:43;;;;;:9;;;;;:32;;:43;;6629:9;;;;6596:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6588:82;;;;-1:-1:-1;;;6588:82:2;;18411:2:61;6588:82:2;;;18393:21:61;18450:2;18430:18;;;18423:30;18489:28;18469:18;;;18462:56;18535:18;;6588:82:2;18209:350:61;6588:82:2;6706:12;6694:8;:24;;;;;;;;:::i;:::-;;6690:142;;6743:9;;:43;;;;;:9;;;;;:32;;:43;;6776:9;;;;6743:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6742:44;6734:87;;;;-1:-1:-1;;;6734:87:2;;18766:2:61;6734:87:2;;;18748:21:61;18805:2;18785:18;;;18778:30;18844:32;18824:18;;;18817:60;18894:18;;6734:87:2;18564:354:61;6734:87:2;6841:21;6865:20;6886:9;;6865:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;;-1:-1:-1;6917:17:2;;6913:272;;6950:14;6967:20;6988:9;;6967:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;6999:17;7015:1;6999:13;:17;:::i;:::-;6967:50;;;;;;;;:::i;:::-;;;;;;;;;6950:67;;7107:17;;7075:22;7090:6;7075:14;:22::i;:::-;:28;;;7057:46;;:15;:46;:::i;:::-;7056:68;7031:143;;;;-1:-1:-1;;;7031:143:2;;19258:2:61;7031:143:2;;;19240:21:61;;;19277:18;;;19270:30;19336:34;19316:18;;;19309:62;19388:18;;7031:143:2;19056:356:61;7031:143:2;6936:249;6913:272;7202:5;;:27;;;;;7218:10;7202:27;;;7359:74:61;7233:10:2;;7202:5;;;:15;;7332:18:61;;7202:27:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;7194:70;;;;-1:-1:-1;;;7194:70:2;;19808:2:61;7194:70:2;;;19790:21:61;19847:2;19827:18;;;19820:30;19886:18;19866;;;19859:46;19922:18;;7194:70:2;19606:340:61;7194:70:2;7298:11;:18;7275:20;;7298:22;;7319:1;7298:22;:::i;:::-;7275:45;;7370:12;7331:25;7357:9;;7331:36;;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;;7392:20;7413:9;;7392:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:50;;;;;;;;-1:-1:-1;7392:50:2;;;;;;;;;;;;7452:27;;;:13;:27;;;;;7485:74;;;;;7499:10;7485:74;;;;;;;;;;;;;;7452:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7392:31;;7452:108;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;7452:108:2;;;;;;;;;;7570:36;;;;:22;:36;;;;;;;7607:10;7570:48;;;;;;;;:55;;;;;;;;;;7666:580;;;;;;;7707:12;7666:580;;7746:15;7666:580;;;;;;7818:12;;7636:11;;7666:580;;;;;;7800:30;;7818:12;7800:30;:::i;:::-;7666:580;;;;7888:24;;7873:12;;7855:15;:30;;;;:::i;:::-;:57;;;;:::i;:::-;7666:580;;;;7940:8;7666:580;;;;;;;;:::i;:::-;;;;;7977:5;7666:580;;;;;;8011:9;;7666:580;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7666:580:2;;;-1:-1:-1;;;7666:580:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7636:620;;7666:580;7636:620;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;7636:620:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;7636:620:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8388:47;8403:28;8418:12;8403:14;:28::i;:::-;8433:1;8388:14;:47::i;:::-;;8451:42;8469:12;8483:9;;8451:42;;;;;;;;:::i;:::-;;;;;;;;6446:2054;;6344:2156;;;;:::o;5649:302::-;5776:21;;;;:13;:21;;;;;:28;5710:27;;5762:43;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5762:43:2;;5749:56;;5820:9;5815:130;5839:21;;;;:13;:21;;;;;:28;5835:32;;5815:130;;;5904:21;;;;:13;:21;;;;;:24;;5926:1;;5904:24;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;5888:13;;5904:30;;;;;5888:10;;5899:1;;5888:13;;;;;;:::i;:::-;:46;;;;:13;;;;;;;;;;;:46;5869:3;;;;:::i;:::-;;;;5815:130;;;;5649:302;;;:::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;11360:1123:2:-;11421:4;11442:21;11458:4;11442:15;:21::i;:::-;11437:137;;11484:53;11501:18;;;;;11523:1;11501:23;;11526:10;;11501:4;11526:10;:::i;:::-;11484:53;;;22827:25:61;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;11484:53:2;;;;;;;-1:-1:-1;11558:5:2;;11360:1123;-1:-1:-1;11360:1123:2:o;11437:137::-;11601:18;;;;11623:1;11601:23;11584:14;11660:22;11601:23;11660:14;:22::i;:::-;11634:48;;11719:4;:10;;;11701:15;:28;11693:52;;;;-1:-1:-1;;;11693:52:2;;23157:2:61;11693:52:2;;;23139:21:61;23196:2;23176:18;;;23169:30;23235:13;23215:18;;;23208:41;23266:18;;11693:52:2;22955:335:61;11693:52:2;11764:14;;;;;;;;;11763:15;11755:42;;;;-1:-1:-1;;;11755:42:2;;23497:2:61;11755:42:2;;;23479:21:61;23536:2;23516:18;;;23509:30;23575:16;23555:18;;;23548:44;23609:18;;11755:42:2;23295:338:61;11755:42:2;11832:4;:24;;;11815:4;:14;;;:41;11807:76;;;;-1:-1:-1;;;11807:76:2;;23840:2:61;11807:76:2;;;23822:21:61;23879:2;23859:18;;;23852:30;23918:24;23898:18;;;23891:52;23960:18;;11807:76:2;23638:346:61;11807:76:2;11919:4;:12;;;11901:4;:14;;;:30;;11893:65;;;;-1:-1:-1;;;11893:65:2;;23840:2:61;11893:65:2;;;23822:21:61;23879:2;23859:18;;;23852:30;23918:24;23898:18;;;23891:52;23960:18;;11893:65:2;23638:346:61;11893:65:2;11973:30;;;;:22;:30;;;;;;;;;12004:10;;;;:4;:10;:::i;:::-;11973:42;;;;;;;;;;;;;-1:-1:-1;11973:42:2;;;;11969:136;;;12036:32;12049:6;12057:10;;;;:4;:10;:::i;:::-;12036:32;;;22827:25:61;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;12036:32:2;;;;;;;-1:-1:-1;12089:5:2;;11360:1123;-1:-1:-1;;;11360:1123:2:o;11969:136::-;12115:30;;;;:22;:30;;;;;;;12160:4;;12115:30;;12146:10;;;;:4;:10;:::i;:::-;12115:42;;;;;;;;;;;;;;;;-1:-1:-1;12115:42:2;;;:49;;;;;;;;;;;;;;12174:21;;;:13;:21;;;;;;12214:187;;;;;;;;12174:21;12214:187;;;12244:10;;;;;;:::i;:::-;12214:187;;;;;;12282:4;:18;;;12303:1;12282:22;12308:1;12282:27;:61;;12327:16;12282:61;;;12312:12;12282:61;12214:187;;;;;;;;:::i;:::-;;;12372:14;;;;12214:187;;;;;12174:237;;;;;;;;-1:-1:-1;12174:237:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;12174:237:2;;;;;;;;;;;12427:28;12436:6;12444:10;;;;:4;:10;:::i;:::-;12427:28;;;22827:25:61;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;12427:28:2;;;;;;;-1:-1:-1;12472:4:2;;11360:1123;-1:-1:-1;;;11360:1123:2:o;4726:160::-;4819:18;4802:6;4604:1;4599:2;:6;4595:36;;;4614:17;;;;;;;;160:25:61;;;133:18;;4614:17:2;14:177:61;4595:36:2;4650:11;:18;4645:23;;4641:61;;;4677:25;;;;;;;;160::61;;;133:18;;4677:25:2;14:177:61;4641:61:2;4856:11:::1;4868:10;4877:1;4868:6:::0;:10:::1;:::i;:::-;4856:23;;;;;;;;:::i;:::-;;;;;;;;;;;4849:30;;4726:160:::0;;;;:::o;8506:1431::-;8684:24;;;;8652:21;;;;8592:4;8638:36;;;:13;:36;;;;;:43;8592:4;;8638:70;;8684:24;;;;;8638:70;:::i;:::-;8629:5;:79;;;;8608:160;;;;-1:-1:-1;;;8608:160:2;;24191:2:61;8608:160:2;;;24173:21:61;24230:2;24210:18;;;24203:30;24269:34;24249:18;;;24242:62;24340:4;24320:18;;;24313:32;24362:19;;8608:160:2;23989:398:61;8608:160:2;8953:20;;;;8926:12;;8953:20;;;;;8949:89;;;-1:-1:-1;9008:19:2;;;;8949:89;9048:8;9070:611;9081:5;9077:9;;:1;:9;;;9070:611;;;9141:21;;;;9107:17;9127:36;;;:13;:36;;;;;9164:24;;;;:28;;9191:1;;9164:24;;:28;:::i;:::-;9127:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;9263:14;;;;9212:5;;9230:10;;9212:47;;;;;:5;9230:10;;;9212:47;;;24566:74:61;24656:18;;;24649:34;;;9127:66:2;;-1:-1:-1;9263:14:2;;9212:5;;;:17;;24539:18:61;;9212:47:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;9208:463;;9318:12;9301:13;;;;;;;:29;;;;;;;;:::i;:::-;;9297:267;;9408:4;:14;;;9381:10;:24;;;:41;;;;:::i;:::-;9354:24;;;:68;9208:463;;9297:267;9531:4;:14;;;9500:10;:28;;;:45;;;;:::i;:::-;9469:28;;;:76;9208:463;;;9622:21;;;;9645:10;;9607:49;;;22827:25:61;;;9645:10:2;;;;22883:2:61;22868:18;;22861:83;9607:49:2;;22800:18:61;9607:49:2;;;;;;;9208:463;-1:-1:-1;9088:3:2;;;;:::i;:::-;;;;9070:611;;;9691:24;;;:29;;9719:1;;9691:24;;;:29;;9719:1;;9691:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;9776:21;;;;-1:-1:-1;9762:36:2;;;:13;:36;;;;;:43;9734:24;;;;;;;:71;;-1:-1:-1;9730:129:2;;9821:20;;;:27;;;;;;;;9730:129;-1:-1:-1;;;;9902:28:2;;;;9875:24;;;;;:55;;8506:1431::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;;25102:2:61;1414:68:28;;;25084:21:61;;;25121:18;;;25114:30;25180:34;25160:18;;;25153:62;25232:18;;1414:68:28;24900:356:61;1501:153:29;1590:13;1583:20;;;;;;1613:34;1638:8;1613:24;:34::i;9943:271:2:-;10047:12;10024:19;;;;;;;:35;;;;;;;:::i;:::-;;10020:188;;10075:9;;:44;;;;;:9;;;;;:22;;:44;;10098:20;;;;10075:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1776:170:29;1734:212::o;10020:188:2:-;10150:9;;:47;;;;;:9;;;;;:25;;:47;;10176:20;;;;10150:47;;;:::i;3430:245::-;3504:4;3520:14;3576:16;;3594:10;3599:4;3594;:10::i;:::-;3547:58;;25758:66:61;3547:58:2;;;25746:79:61;25841:11;;;25834:27;;;;25877:12;;;25870:28;25914:12;;3547:58:2;;;-1:-1:-1;;3547:58:2;;;;;;;;;3537:69;;3547:58;3537:69;;;;;-1:-1:-1;3658:10:2;;;;:4;:10;:::i;:::-;3623:45;;:31;:6;3638;;;;3646:7;;;;3623:14;:31::i;:::-;:45;;;;3430:245;-1:-1:-1;;;3430:245:2: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;3228:196:2:-;3291:7;3131:90;3353:18;;;;;;3373:14;;;;;3389:10;;3353:4;3389:10;:::i;:::-;3327:89;;;;;;26196:25:61;;;;26237:18;;26230:34;;;;3401:14:2;26280:18:61;;;26273:34;;;;26355:42;26343:55;;;26323:18;;;26316:83;3401:14:2;;;26415:19:61;;;26408:35;26168:19;;3327:89:2;;;;;;;;;;;;3317:100;;;;;;3310:107;;3228:196;;;:::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;;26656:2:61;788:34:37;;;26638:21:61;26695:2;26675:18;;;26668:30;26734:26;26714:18;;;26707:54;26778:18;;788:34:37;26454:348:61;730:345:37;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:37;;27009:2:61;903:41:37;;;26991:21:61;27048:2;27028:18;;;27021:30;27087:33;27067:18;;;27060:61;27138:18;;903:41:37;26807:355:61;839:236:37;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:37;;27369:2:61;1020:44:37;;;27351:21:61;27408:2;27388:18;;;27381:30;27447:34;27427:18;;;27420:62;27518:4;27498:18;;;27491:32;27540:19;;1020:44:37;27167: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;;;;;;;;;27797:25:61;;;27870:4;27858:17;;27838:18;;;27831:45;;;;27892:18;;;27885:34;;;27935:18;;;27928:34;;;6276:24:37;;27769: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;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;196:648:61:-;312:6;320;373:2;361:9;352:7;348:23;344:32;341:52;;;389:1;386;379:12;341:52;429:9;416:23;458:18;499:2;491:6;488:14;485:34;;;515:1;512;505:12;485:34;553:6;542:9;538:22;528:32;;598:7;591:4;587:2;583:13;579:27;569:55;;620:1;617;610:12;569:55;660:2;647:16;686:2;678:6;675:14;672:34;;;702:1;699;692:12;672:34;758:7;753:2;745:4;737:6;733:17;729:2;725:26;721:35;718:48;715:68;;;779:1;776;769:12;715:68;810:2;802:11;;;;;832:6;;-1:-1:-1;196:648:61;;-1:-1:-1;;;;196:648:61:o;849:347::-;900:8;910:6;964:3;957:4;949:6;945:17;941:27;931:55;;982:1;979;972:12;931:55;-1:-1:-1;1005:20:61;;1048:18;1037:30;;1034:50;;;1080:1;1077;1070:12;1034:50;1117:4;1109:6;1105:17;1093:29;;1169:3;1162:4;1153:6;1145;1141:19;1137:30;1134:39;1131:59;;;1186:1;1183;1176:12;1131:59;849:347;;;;;:::o;1201:409::-;1271:6;1279;1332:2;1320:9;1311:7;1307:23;1303:32;1300:52;;;1348:1;1345;1338:12;1300:52;1388:9;1375:23;1421:18;1413:6;1410:30;1407:50;;;1453:1;1450;1443:12;1407:50;1492:58;1542:7;1533:6;1522:9;1518:22;1492:58;:::i;:::-;1569:8;;1466:84;;-1:-1:-1;1201:409:61;-1:-1:-1;;;;1201:409:61:o;1615:184::-;1667:77;1664:1;1657:88;1764:4;1761:1;1754:15;1788:4;1785:1;1778:15;1804:293;1884:1;1877:5;1874:12;1864:200;;1920:77;1917:1;1910:88;2021:4;2018:1;2011:15;2049:4;2046:1;2039:15;1864:200;2073:18;;1804:293::o;2198:481::-;2239:3;2277:5;2271:12;2304:6;2299:3;2292:19;2329:1;2339:162;2353:6;2350:1;2347:13;2339:162;;;2415:4;2471:13;;;2467:22;;2461:29;2443:11;;;2439:20;;2432:59;2368:12;2339:162;;;2343:3;2546:1;2539:4;2530:6;2525:3;2521:16;2517:27;2510:38;2668:4;-1:-1:-1;;2593:2:61;2585:6;2581:15;2577:88;2572:3;2568:98;2564:109;2557:116;;;2198:481;;;;:::o;2783:1247::-;2836:3;2864:6;2897:5;2891:12;2886:3;2879:25;2953:4;2946:5;2942:16;2936:23;2929:4;2924:3;2920:14;2913:47;3009:4;3002:5;2998:16;2992:23;2985:4;2980:3;2976:14;2969:47;3065:4;3058:5;3054:16;3048:23;3041:4;3036:3;3032:14;3025:47;3118:4;3111:5;3107:16;3101:23;3133:54;3181:4;3176:3;3172:14;3158:12;3133:54;:::i;:::-;;3235:4;3228:5;3224:16;3218:23;3250:47;3291:4;3286:3;3282:14;3266;2172:13;2165:21;2153:34;;2102:91;3250:47;;3345:4;3338:5;3334:16;3328:23;3383:2;3376:4;3371:3;3367:14;3360:26;3407:46;3449:2;3444:3;3440:12;3424:14;3407:46;:::i;:::-;3502:4;3491:16;;;3485:23;3469:14;;;3462:47;3528:6;3570:14;;;3564:21;3550:12;;;3543:43;3605:6;3647:14;;;3641:21;3627:12;;;3620:43;3682:6;3724:14;;;3718:21;3704:12;;;3697:43;3759:6;3802:14;;;3796:21;2760:10;2749:22;3860:12;;;2737:35;3892:6;3935:14;;;3929:21;2172:13;2165:21;3991:12;;;;2153:34;;;;-1:-1:-1;3395:58:61;;4020:4;-1:-1:-1;;2783:1247:61:o;4035:267::-;4220:2;4209:9;4202:21;4183:4;4240:56;4292:2;4281:9;4277:18;4269:6;4240:56;:::i;:::-;4232:64;4035:267;-1:-1:-1;;;4035:267:61:o;4307:909::-;4505:4;4534:2;4574;4563:9;4559:18;4604:2;4593:9;4586:21;4627:6;4662;4656:13;4693:6;4685;4678:22;4731:2;4720:9;4716:18;4709:25;;4793:2;4783:6;4780:1;4776:14;4765:9;4761:30;4757:39;4743:53;;4831:2;4823:6;4819:15;4852:1;4862:325;4876:6;4873:1;4870:13;4862:325;;;4965:66;4953:9;4945:6;4941:22;4937:95;4932:3;4925:108;5056:51;5100:6;5091;5085:13;5056:51;:::i;:::-;5046:61;-1:-1:-1;5165:12:61;;;;5130:15;;;;4898:1;4891:9;4862:325;;;-1:-1:-1;5204:6:61;;4307:909;-1:-1:-1;;;;;;;4307:909:61:o;5221:165::-;5318:42;5311:5;5307:54;5300:5;5297:65;5287:93;;5376:1;5373;5366:12;5391:275;5467:6;5520:2;5508:9;5499:7;5495:23;5491:32;5488:52;;;5536:1;5533;5526:12;5488:52;5575:9;5562:23;5594:42;5630:5;5594:42;:::i;5671:180::-;5730:6;5783:2;5771:9;5762:7;5758:23;5754:32;5751:52;;;5799:1;5796;5789:12;5751:52;-1:-1:-1;5822:23:61;;5671:180;-1:-1:-1;5671:180:61:o;5856:1170::-;6302:4;6331:3;6361:6;6350:9;6343:25;6404:6;6399:2;6388:9;6384:18;6377:34;6447:6;6442:2;6431:9;6427:18;6420:34;6490:6;6485:2;6474:9;6470:18;6463:34;6506:53;6554:3;6543:9;6539:19;6531:6;6506:53;:::i;:::-;6610:6;6603:14;6596:22;6590:3;6579:9;6575:19;6568:51;6656:2;6650:3;6639:9;6635:19;6628:31;6676:44;6716:2;6705:9;6701:18;6693:6;6676:44;:::i;:::-;6751:3;6736:19;;6729:35;;;;-1:-1:-1;;6795:3:61;6780:19;;6773:35;;;;6839:3;6824:19;;6817:35;;;;6883:3;6868:19;;6861:36;;;;6947:10;6934:24;6928:3;6913:19;;6906:53;7003:15;6996:23;6990:3;6975:19;;;6968:52;6668;5856:1170;-1:-1:-1;;;;;;;5856:1170:61:o;7444:344::-;7511:6;7519;7572:2;7560:9;7551:7;7547:23;7543:32;7540:52;;;7588:1;7585;7578:12;7540:52;7624:9;7611:23;7601:33;;7684:2;7673:9;7669:18;7656:32;7728:10;7721:5;7717:22;7710:5;7707:33;7697:61;;7754:1;7751;7744:12;7697:61;7777:5;7767:15;;;7444:344;;;;;:::o;7793:632::-;7964:2;8016:21;;;8086:13;;7989:18;;;8108:22;;;7935:4;;7964:2;8187:15;;;;8161:2;8146:18;;;7935:4;8230:169;8244:6;8241:1;8238:13;8230:169;;;8305:13;;8293:26;;8374:15;;;;8339:12;;;;8266:1;8259:9;8230:169;;;-1:-1:-1;8416:3:61;;7793:632;-1:-1:-1;;;;;;7793:632:61:o;8678:634::-;8779:6;8787;8795;8803;8856:2;8844:9;8835:7;8831:23;8827:32;8824:52;;;8872:1;8869;8862:12;8824:52;8911:9;8898:23;8950:1;8943:5;8940:12;8930:40;;8966:1;8963;8956:12;8930:40;8989:5;-1:-1:-1;9045:2:61;9030:18;;9017:32;9072:18;9061:30;;9058:50;;;9104:1;9101;9094:12;9058:50;9143:58;9193:7;9184:6;9173:9;9169:22;9143:58;:::i;:::-;8678:634;;9220:8;;-1:-1:-1;9117:84:61;;9302:2;9287:18;9274:32;;8678:634;-1:-1:-1;;;;8678:634:61:o;9317:681::-;9488:2;9540:21;;;9610:13;;9513:18;;;9632:22;;;9459:4;;9488:2;9711:15;;;;9685:2;9670:18;;;9459:4;9754:218;9768:6;9765:1;9762:13;9754:218;;;9833:13;;9848:42;9829:62;9817:75;;9947:15;;;;9912:12;;;;9790:1;9783:9;9754:218;;10266:184;10318:77;10315:1;10308:88;10415:4;10412:1;10405:15;10439:4;10436:1;10429:15;10455:980;10523:6;10576:2;10564:9;10555:7;10551:23;10547:32;10544:52;;;10592:1;10589;10582:12;10544:52;10632:9;10619:23;10661:18;10702:2;10694:6;10691:14;10688:34;;;10718:1;10715;10708:12;10688:34;10756:6;10745:9;10741:22;10731:32;;10801:7;10794:4;10790:2;10786:13;10782:27;10772:55;;10823:1;10820;10813:12;10772:55;10859:2;10846:16;10881:2;10877;10874:10;10871:36;;;10887:18;;:::i;:::-;11021:2;11015:9;11083:4;11075:13;;-1:-1:-1;;11071:22:61;;;11095:2;11067:31;11063:40;11051:53;;;11119:18;;;11139:22;;;11116:46;11113:72;;;11165:18;;:::i;:::-;11205:10;11201:2;11194:22;11240:2;11232:6;11225:18;11280:7;11275:2;11270;11266;11262:11;11258:20;11255:33;11252:53;;;11301:1;11298;11291:12;11252:53;11357:2;11352;11348;11344:11;11339:2;11331:6;11327:15;11314:46;11402:1;11380:15;;;11397:2;11376:24;11369:35;;;;-1:-1:-1;11384:6:61;10455:980;-1:-1:-1;;;;;10455:980:61:o;11700:184::-;11752:77;11749:1;11742:88;11849:4;11846:1;11839:15;11873:4;11870:1;11863:15;11889:184;11941:77;11938:1;11931:88;12038:4;12035:1;12028:15;12062:4;12059:1;12052:15;12078:168;12145:6;12171:10;;;12183;;;12167:27;;12206:11;;;12203:37;;;12220:18;;:::i;12251:172::-;12318:10;12348;;;12360;;;12344:27;;12383:11;;;12380:37;;;12397:18;;:::i;12428:195::-;12467:3;12498:66;12491:5;12488:77;12485:103;;12568:18;;:::i;:::-;-1:-1:-1;12615:1:61;12604:13;;12428:195::o;12628:197::-;12666:3;12694:6;12735:2;12728:5;12724:14;12762:2;12753:7;12750:15;12747:41;;12768:18;;:::i;:::-;12817:1;12804:15;;12628:197;-1:-1:-1;;;12628:197:61:o;12830:271::-;13013:6;13005;13000:3;12987:33;12969:3;13039:16;;13064:13;;;13039:16;12830:271;-1:-1:-1;12830:271:61:o;13106:437::-;13185:1;13181:12;;;;13228;;;13249:61;;13303:4;13295:6;13291:17;13281:27;;13249:61;13356:2;13348:6;13345:14;13325:18;13322:38;13319:218;;13393:77;13390:1;13383:88;13494:4;13491:1;13484:15;13522:4;13519:1;13512:15;14430:898;14556:3;14585:1;14618:6;14612:13;14648:36;14674:9;14648:36;:::i;:::-;14703:1;14720:18;;;14747:191;;;;14952:1;14947:356;;;;14713:590;;14747:191;14795:66;14784:9;14780:82;14775:3;14768:95;14918:6;14911:14;14904:22;14896:6;14892:35;14887:3;14883:45;14876:52;;14747:191;;14947:356;14978:6;14975:1;14968:17;15008:4;15053:2;15050:1;15040:16;15078:1;15092:165;15106:6;15103:1;15100:13;15092:165;;;15184:14;;15171:11;;;15164:35;15227:16;;;;15121:10;;15092:165;;;15096:3;;;15286:6;15281:3;15277:16;15270:23;;14713:590;-1:-1:-1;15319:3:61;;14430:898;-1:-1:-1;;;;;;14430:898:61:o;15684:829::-;15733:3;15774:5;15768:12;15803:36;15829:9;15803:36;:::i;:::-;15848:19;;;15886:4;15909:1;15926:18;;;15953:204;;;;16171:1;16166:341;;;;15919:588;;15953:204;16010:66;15999:9;15995:82;15990:2;15985:3;15981:12;15974:104;16144:2;16132:6;16125:14;16118:22;16115:1;16111:30;16106:3;16102:40;16098:49;16091:56;;15953:204;;16166:341;16197:5;16194:1;16187:16;16244:2;16241:1;16231:16;16269:1;16283:174;16297:6;16294:1;16291:13;16283:174;;;16384:14;;16366:11;;;16362:20;;16355:44;16427:16;;;;16312:10;;16283:174;;;16481:11;;16477:20;;;-1:-1:-1;;15919:588:61;;;;;;15684:829;;;;:::o;16518:476::-;16751:6;16740:9;16733:25;16794:3;16789:2;16778:9;16774:18;16767:31;16714:4;16815:53;16863:3;16852:9;16848:19;16840:6;16815:53;:::i;:::-;16807:61;;16918:6;16911:14;16904:22;16899:2;16888:9;16884:18;16877:50;16936:52;16984:2;16973:9;16969:18;16961:6;16936:52;:::i;:::-;16518:476;;;;;;;:::o;17348:325::-;17436:6;17431:3;17424:19;17488:6;17481:5;17474:4;17469:3;17465:14;17452:43;;17540:1;17533:4;17524:6;17519:3;17515:16;17511:27;17504:38;17406:3;17662:4;-1:-1:-1;;17587:2:61;17579:6;17575:15;17571:88;17566:3;17562:98;17558:109;17551:116;;17348:325;;;;:::o;17678:244::-;17835:2;17824:9;17817:21;17798:4;17855:61;17912:2;17901:9;17897:18;17889:6;17881;17855:61;:::i;:::-;17847:69;17678:244;-1:-1:-1;;;;17678:244:61:o;17927:277::-;17994:6;18047:2;18035:9;18026:7;18022:23;18018:32;18015:52;;;18063:1;18060;18053:12;18015:52;18095:9;18089:16;18148:5;18141:13;18134:21;18127:5;18124:32;18114:60;;18170:1;18167;18160:12;18923:128;18990:9;;;19011:11;;;19008:37;;;19025:18;;:::i;19417:184::-;19487:6;19540:2;19528:9;19519:7;19515:23;19511:32;19508:52;;;19556:1;19553;19546:12;19508:52;-1:-1:-1;19579:16:61;;19417:184;-1:-1:-1;19417:184:61:o;19951:125::-;20016:9;;;20037:10;;;20034:36;;;20050:18;;:::i;20081:544::-;20182:2;20177:3;20174:11;20171:448;;;20218:1;20243:5;20239:2;20232:17;20288:4;20284:2;20274:19;20358:2;20346:10;20342:19;20339:1;20335:27;20329:4;20325:38;20394:4;20382:10;20379:20;20376:47;;;-1:-1:-1;20417:4:61;20376:47;20472:2;20467:3;20463:12;20460:1;20456:20;20450:4;20446:31;20436:41;;20527:82;20545:2;20538:5;20535:13;20527:82;;;20590:17;;;20571:1;20560:13;20527:82;;;20531:3;;;20081:544;;;:::o;20861:1467::-;20985:3;20979:10;21012:18;21004:6;21001:30;20998:56;;;21034:18;;:::i;:::-;21063:96;21152:6;21112:38;21144:4;21138:11;21112:38;:::i;:::-;21106:4;21063:96;:::i;:::-;21214:4;;21278:2;21267:14;;21295:1;21290:781;;;;22115:1;22132:6;22129:89;;;-1:-1:-1;22184:19:61;;;22178:26;22129:89;20767:66;20758:1;20754:11;;;20750:84;20746:89;20736:100;20842:1;20838:11;;;20733:117;22231:81;;21260:1062;;21290:781;14377:1;14370:14;;;14414:4;14401:18;;-1:-1:-1;;21326:79:61;;;21502:236;21516:7;21513:1;21510:14;21502:236;;;21605:19;;;21599:26;21584:42;;21697:27;;;;21665:1;21653:14;;;;21532:19;;21502:236;;;21506:3;21766:6;21757:7;21754:19;21751:261;;;21827:19;;;21821:26;21928:66;21910:1;21906:14;;;21922:3;21902:24;21898:97;21894:102;21879:118;21864:134;;21751:261;-1:-1:-1;;;;;22058:1:61;22042:14;;;22038:22;22025:36;;-1:-1:-1;20861:1467:61:o;22333:315::-;22518:6;22507:9;22500:25;22561:2;22556;22545:9;22541:18;22534:30;22481:4;22581:61;22638:2;22627:9;22623:18;22615:6;22607;22581:61;:::i;24694:201::-;24732:3;24760:10;24805:2;24798:5;24794:14;24832:2;24823:7;24820:15;24817:41;;24838:18;;:::i;25261:222::-;25405:2;25394:9;25387:21;25368:4;25425:52;25473:2;25462:9;25458:18;25450:6;25425:52;:::i", + "object": "0x608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063daf1612b1161008c578063f6a54ac611610066578063f6a54ac614610357578063fc0c546a14610382578063ff9bd048146103a257600080fd5b8063daf1612b14610306578063e30c397814610326578063f2fde38b1461034457600080fd5b8063c1cde92c116100bd578063c1cde92c146102be578063c41c2f24146102d3578063da6d4a3d146102f357600080fd5b80638da5cb5b1461026c578063a68f1449146102ab57600080fd5b8063715018a61161012f57806379ba50971161011457806379ba5097146102345780637ed1689c1461023c578063865229731461024557600080fd5b8063715018a614610200578063730d01081461020857600080fd5b806354b6ec371161016057806354b6ec37146101ad5780635dacd0a0146101cd5780636e91818a146101ed57600080fd5b80630a64522f1461017c5780632111efc714610198575b600080fd5b61018560045481565b6040519081526020015b60405180910390f35b6101ab6101a6366004612843565b6103ab565b005b6101c06101bb366004612901565b610585565b60405161018f9190612aad565b6101e06101db366004612901565b610719565b60405161018f9190612ac7565b6101ab6101fb366004612b69565b610994565b6101ab6109e3565b61021b610216366004612b86565b6109f7565b60405161018f9d9c9b9a99989796959493929190612b9f565b6101ab610b09565b61018560065481565b6101857fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb7667059106044781565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018f565b6101ab6102b9366004612c25565b610ba9565b6102c6610d92565b60405161018f9190612c5e565b6002546102869073ffffffffffffffffffffffffffffffffffffffff1681565b6101ab610301366004612ca2565b610ec9565b610319610314366004612b86565b611703565b60405161018f9190612d02565b60015473ffffffffffffffffffffffffffffffffffffffff16610286565b6101ab610352366004612b69565b61180d565b610185610365366004612d7f565b805160208183018101805160088252928201919093012091525481565b6003546102869073ffffffffffffffffffffffffffffffffffffffff1681565b61018560055481565b6000805b828110156104c35760006103d98585848181106103ce576103ce612e30565b905060c002016118bd565b905080156104b057600060018686858181106103f7576103f7612e30565b602060c09091029290920182013590921c6000818152600a909252604082205490935063ffffffff169003905061046b57610433600185612e8e565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90182905593505b6000818152600a6020526040812080546001929061049090849063ffffffff16612ea9565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b50806104bb81612ec6565b9150506103af565b5060005b8161ffff168161ffff161015610573576000600b8261ffff16815481106104f0576104f0612e30565b90600052602060002001549050600061050882611d74565b6000838152600a602052604090205490915061052b90829063ffffffff16611e27565b50506000908152600a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690558061056b81612efe565b9150506104c7565b50610580600b6000612789565b505050565b61058d6127a7565b6105b6600884846040516105a2929190612f1f565b908152602001604051809103902054611d74565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561060657610606612943565b600181111561061757610617612943565b81526004820154610100900460ff161515602082015260058201805460409092019161064290612f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90612f2f565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c09091015290505b92915050565b60606009838360405161072d929190612f1f565b9081526040519081900360200190205467ffffffffffffffff81111561075557610755612d50565b60405190808252806020026020018201604052801561078e57816020015b61077b6127a7565b8152602001906001900390816107735790505b50905060005b600984846040516107a6929190612f1f565b9081526040519081900360200190205481101561098d57610801600985856040516107d2929190612f1f565b908152602001604051809103902082815481106107f1576107f1612e30565b9060005260206000200154611d74565b604080516101a081018252825481526001808401546020830152600284015492820192909252600383015460608201526004830154909291608084019160ff169081111561085157610851612943565b600181111561086257610862612943565b81526004820154610100900460ff161515602082015260058201805460409092019161088d90612f2f565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990612f2f565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050918352505060068201546020820152600782015460408201526008820154606082015260098201546080820152600a9091015463ffffffff811660a0830152640100000000900460ff16151560c090910152825183908390811061096f5761096f612e30565b6020026020010181905250808061098590612ec6565b915050610794565b5092915050565b61099c612178565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109eb612178565b6109f560006121df565b565b60078181548110610a0757600080fd5b60009182526020909120600b909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff808316946101009093041692610a5390612f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612f2f565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050506006840154600785015460088601546009870154600a9097015495969295919450925063ffffffff81169060ff640100000000909104168d565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610b9d5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610ba6816121df565b50565b6000610bb483611d74565b6004810154909150610100900460ff16610c8e5742816003015410610c1b5760405162461bcd60e51b815260206004820152601260248201527f766f7465207374696c6c206f6e676f696e6700000000000000000000000000006044820152606401610b94565b6004810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055426003820155436009820155600a810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000016905560006006820181905560078201555b600a810154640100000000900460ff1615610ceb5760405162461bcd60e51b815260206004820152601660248201527f766f746520616c72656164792066696e616c697a6564000000000000000000006044820152606401610b94565b6000610cf78284611e27565b600a830154909150640100000000900460ff1615610d8c576000600883600501604051610d249190612f7c565b908152604051908190036020019020558015610d4357610d4382612210565b60048201546040517f2ee1d50dd7d7f4ca1cd35dba9bde18b024b24f448a26c1c8846fe7b8bb450d1d91610d839187916005870191869160ff16906130ab565b60405180910390a15b50505050565b60075460609060009067ffffffffffffffff811115610db357610db3612d50565b604051908082528060200260200182016040528015610ddc578160200160208202803683370190505b5090506000805b600754811015610ec15760078181548110610e0057610e00612e30565b90600052602060002090600b020160040160019054906101000a900460ff161580610e5a575060078181548110610e3957610e39612e30565b90600052602060002090600b0201600a0160049054906101000a900460ff16155b15610eaf5760078181548110610e7257610e72612e30565b90600052602060002090600b020160080154838381518110610e9657610e96612e30565b602090810291909101015281610eab81612ec6565b9250505b80610eb981612ec6565b915050610de3565b508152919050565b60088383604051610edb929190612f1f565b908152602001604051809103902054600014610f395760405162461bcd60e51b815260206004820152601460248201527f766f746520616c7265616479206f6e676f696e670000000000000000000000006044820152606401610b94565b6000846001811115610f4d57610f4d612943565b03611037576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a90610faa908690869060040161310f565b602060405180830381865afa158015610fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610feb919061312b565b6110375760405162461bcd60e51b815260206004820152601a60248201527f436f6d6d756e697479206e6f7420696e206469726563746f72790000000000006044820152606401610b94565b600184600181111561104b5761104b612943565b03611136576002546040517fb3dbb52a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b3dbb52a906110a8908690869060040161310f565b602060405180830381865afa1580156110c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e9919061312b565b156111365760405162461bcd60e51b815260206004820152601e60248201527f436f6d6d756e69747920616c726561647920696e206469726563746f727900006044820152606401610b94565b60006009848460405161114a929190612f1f565b908152604051908190036020019020549050801561121657600060098585604051611176929190612f1f565b90815260405190819003602001902061119060018461314d565b815481106111a0576111a0612e30565b906000526020600020015490506006546111b982611d74565b600301546111c7904261314d565b116112145760405162461bcd60e51b815260206004820181905260248201527f436f6d6d756e6974792077617320696e206120766f746520726563656e746c796044820152606401610b94565b505b6003546040517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152839173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015611284573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a89190613160565b10156112f65760405162461bcd60e51b815260206004820152601060248201527f6e6f7420656e6f75676820746f6b656e000000000000000000000000000000006044820152606401610b94565b600754600090611307906001613179565b9050806008868660405161131c929190612f1f565b90815260200160405180910390208190555060098585604051611340929190612f1f565b90815260408051602092819003830181208054600180820183556000928352858320909101869055858252600c85528382206060840185523384528584018281529484018990528054808301825590835294909120825160029095020180547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff909616958617825593519294909384927fffffffffffffffffffffff000000000000000000000000000000000000000000909116909117907401000000000000000000000000000000000000000090849081111561143757611437612943565b02179055506040918201516001918201556000838152600d602090815283822033835281529083902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690921790915581516101a081018352438152429181018290526004546007939192918301916114b39190613179565b8152602001600554600454426114c99190613179565b6114d39190613179565b81526020018860018111156114ea576114ea612943565b815260200160001515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602080830182905260408084018390526060808501889052608080860185905260a0860185905260c0909501849052865460018181018955978552938390208651600b909502019384559185015183870155840151600283015583015160038201559082015160048201805493949293919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169083818111156115d8576115d8612943565b021790555060a0820151600482018054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff90921691909117905560c0820151600582019061162d90826131da565b5060e08201516006820155610100820151600782015561012082015160088201556101408201516009820155610160820151600a9091018054610180909301511515640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000090931663ffffffff909216919091179190911790556116bf6116b882611d74565b6001611e27565b507f56385c0d76ffcefeb38cb9226cb877000037647d09069d15e94ac4b29ec435878186866040516116f3939291906132d6565b60405180910390a1505050505050565b6000818152600c602052604090205460609067ffffffffffffffff81111561172d5761172d612d50565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b6000838152600c6020526040902054811015611807576000838152600c6020526040902080548290811061179257611792612e30565b6000918252602090912060029091020154825173ffffffffffffffffffffffffffffffffffffffff909116908390839081106117d0576117d0612e30565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152806117ff81612ec6565b91505061175c565b50919050565b611815612178565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561187860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60006118c882612317565b611936577f35f8d4297cedff70ac1e00ca57f340dc39eb0234be11eeeb57a0ff94015b734660208301803560011c906119019085612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a1506000919050565b602082013560011c600061194982611d74565b90508060030154421061199e5760405162461bcd60e51b815260206004820152600b60248201527f766f746520636c6f7365640000000000000000000000000000000000000000006044820152606401610b94565b6004810154610100900460ff16156119f85760405162461bcd60e51b815260206004820152600e60248201527f726f6f6d2066696e616c697a65640000000000000000000000000000000000006044820152606401610b94565b8060020154846060013510611a4f5760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b806001015484606001351015611aa75760405162461bcd60e51b815260206004820152601660248201527f696e76616c696420766f74652074696d657374616d70000000000000000000006044820152606401610b94565b6000828152600d6020908152604082209190611ac590870187612b69565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615611b5a577f04f9da634a3ce855cf7785808a673a41608288999dcd1d08e55bb33c69118f4a82611b236020870187612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060009392505050565b6000828152600d6020908152604082206001929091611b7b90880188612b69565b73ffffffffffffffffffffffffffffffffffffffff1681526020808201929092526040908101600090812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355848352600c82529182902082516060810190935291908190611bf890880188612b69565b73ffffffffffffffffffffffffffffffffffffffff1681526020018660200135600116600114611c29576000611c2c565b60015b6001811115611c3d57611c3d612943565b815260408701356020918201528254600181810185556000948552938290208351600290920201805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825592840151939490939284927fffffffffffffffffffffff00000000000000000000000000000000000000000016179074010000000000000000000000000000000000000000908490811115611cfc57611cfc612943565b0217905550604091909101516001909101557ff1003b73c437642c0460aee9cd9628b0b8c447b66e6c7c905531b9c644214a1182611d3d6020870187612b69565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301520160405180910390a15060019392505050565b6000816001811015611db5576040517ff244389200000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b600754811115611df4576040517fdd085d4b00000000000000000000000000000000000000000000000000000000815260048101829052602401610b94565b6007611e0160018561314d565b81548110611e1157611e11612e30565b90600052602060002090600b0201915050919050565b600a82015460088301546000908152600c60205260408120549091611e549163ffffffff9091169061314d565b8263ffffffff161115611ecf5760405162461bcd60e51b815260206004820152602260248201527f6c696d69742069732067726561746572207468616e20766f746573206c656e6760448201527f74680000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b60048301544390610100900460ff1615611eea575060098301545b60005b8363ffffffff168163ffffffff1610156120d65760088501546000908152600c60205260408120600a870154611f2a90849063ffffffff16612ea9565b63ffffffff1681548110611f4057611f40612e30565b60009182526020909120600290910201600181015460035482546040517f4ee2cd7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529394509192911690634ee2cd7e90604401602060405180830381865afa158015611fd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff69190613160565b1061206c576001815474010000000000000000000000000000000000000000900460ff16600181111561202b5761202b612943565b0361204e57806001015486600601546120449190613179565b60068701556120c3565b806001015486600701546120629190613179565b60078701556120c3565b600886015481546040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301527f52de8a8b06ee845dd9537ef3906e0a37d48c140e75f780715ee892f0ee08c052910160405180910390a15b50806120ce816132f0565b915050611eed565b600a850180548291906000906120f390849063ffffffff16612ea9565b82546101009290920a63ffffffff81810219909316918316021790915560088701546000908152600c6020526040902054600a88015490911603905061216557600a850180547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff166401000000001790555b5050505060078101546006909101541190565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b94565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ba6816123cc565b6001600482015460ff16600181111561222b5761222b612943565b036122be576002546040517f7483793500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690637483793590612289906005850190600401613309565b600060405180830381600087803b1580156122a357600080fd5b505af11580156122b7573d6000803e3d6000fd5b5050505050565b6002546040517f3c01b93c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633c01b93c90612289906005850190600401613309565b600080600e5461232684612441565b6040517f190100000000000000000000000000000000000000000000000000000000000060208201526022810192909252604282015260620160408051601f198184030181529190528051602091820120915061238590840184612b69565b73ffffffffffffffffffffffffffffffffffffffff166123ae82608086013560a08701356124db565b73ffffffffffffffffffffffffffffffffffffffff16149392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007fc8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb766705910604476020830180359060408501359061247b9086612b69565b60408051602081019590955284019290925260608381019190915273ffffffffffffffffffffffffffffffffffffffff909116608083015283013560a082015260c001604051602081830303815290604052805190602001209050919050565b60008060006124eb868686612501565b915091506124f881612553565b50949350505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161253760ff86901c601b613179565b9050612545878288856126b8565b935093505050935093915050565b600081600481111561256757612567612943565b0361256f5750565b600181600481111561258357612583612943565b036125d05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b94565b60028160048111156125e4576125e4612943565b036126315760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b94565b600381600481111561264557612645612943565b03610ba65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b94565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126ef5750600090506003612780565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612743573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff811661277957600060019250925050612780565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610ba6919061282a565b604051806101a0016040528060008152602001600081526020016000815260200160008152602001600060018111156127e2576127e2612943565b81526020016000151581526020016060815260200160008152602001600081526020016000815260200160008152602001600063ffffffff1681526020016000151581525090565b5b8082111561283f576000815560010161282b565b5090565b6000806020838503121561285657600080fd5b823567ffffffffffffffff8082111561286e57600080fd5b818501915085601f83011261288257600080fd5b81358181111561289157600080fd5b86602060c0830285010111156128a657600080fd5b60209290920196919550909350505050565b60008083601f8401126128ca57600080fd5b50813567ffffffffffffffff8111156128e257600080fd5b6020830191508360208285010111156128fa57600080fd5b9250929050565b6000806020838503121561291457600080fd5b823567ffffffffffffffff81111561292b57600080fd5b612937858286016128b8565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600281106129a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000815180845260005b818110156129d3576020818501810151868301820152016129b7565b506000602082860101526020601f19601f83011685010191505092915050565b60006101a0825184526020830151602085015260408301516040850152606083015160608501526080830151612a2c6080860182612972565b5060a0830151612a4060a086018215159052565b5060c08301518160c0860152612a58828601826129ad565b60e085810151908701526101008086015190870152610120808601519087015261014080860151908701526101608086015163ffffffff16908701526101809485015115159490950193909352509192915050565b602081526000612ac060208301846129f3565b9392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612b3a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612b288583516129f3565b94509285019290850190600101612aee565b5092979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ba657600080fd5b600060208284031215612b7b57600080fd5b8135612ac081612b47565b600060208284031215612b9857600080fd5b5035919050565b60006101a08f83528e60208401528d60408401528c6060840152612bc6608084018d612972565b8a151560a08401528060c0840152612be08184018b6129ad565b60e0840199909952505061010081019590955261012085019390935261014084019190915263ffffffff16610160830152151561018090910152979650505050505050565b60008060408385031215612c3857600080fd5b82359150602083013563ffffffff81168114612c5357600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c9657835183529284019291840191600101612c7a565b50909695505050505050565b60008060008060608587031215612cb857600080fd5b843560028110612cc757600080fd5b9350602085013567ffffffffffffffff811115612ce357600080fd5b612cef878288016128b8565b9598909750949560400135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015612c9657835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101612d1e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215612d9157600080fd5b813567ffffffffffffffff80821115612da957600080fd5b818401915084601f830112612dbd57600080fd5b813581811115612dcf57612dcf612d50565b604051601f8201601f19908116603f01168101908382118183101715612df757612df7612d50565b81604052828152876020848701011115612e1057600080fd5b826020860160208301376000928101602001929092525095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff81811683821601908082111561098d5761098d612e5f565b63ffffffff81811683821601908082111561098d5761098d612e5f565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ef757612ef7612e5f565b5060010190565b600061ffff808316818103612f1557612f15612e5f565b6001019392505050565b8183823760009101908152919050565b600181811c90821680612f4357607f821691505b602082108103611807577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000808354612f8a81612f2f565b60018281168015612fa25760018114612fd557613004565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450613004565b8760005260208060002060005b85811015612ffb5781548a820152908401908201612fe2565b50505082870194505b50929695505050505050565b6000815461301d81612f2f565b80855260206001838116801561303a5760018114613072576130a0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838901528284151560051b89010195506130a0565b866000528260002060005b858110156130985781548a820186015290830190840161307d565b890184019650505b505050505092915050565b8481526080602082015260006130c46080830186613010565b905083151560408301526130db6060830184612972565b95945050505050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006131236020830184866130e4565b949350505050565b60006020828403121561313d57600080fd5b81518015158114612ac057600080fd5b8181038181111561071357610713612e5f565b60006020828403121561317257600080fd5b5051919050565b8082018082111561071357610713612e5f565b601f82111561058057600081815260208120601f850160051c810160208610156131b35750805b601f850160051c820191505b818110156131d2578281556001016131bf565b505050505050565b815167ffffffffffffffff8111156131f4576131f4612d50565b613208816132028454612f2f565b8461318c565b602080601f83116001811461325b57600084156132255750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556131d2565b600085815260208120601f198616915b8281101561328a5788860151825594840194600190910190840161326b565b50858210156132c657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b8381526040602082015260006130db6040830184866130e4565b600063ffffffff808316818103612f1557612f15612e5f565b602081526000612ac0602083018461301056", + "sourceMap": "341:13262:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1666:27;;;;;;;;;160:25:62;;;148:2;133:18;1666:27:3;;;;;;;;12518:1083;;;;;;:::i;:::-;;:::i;:::-;;4892:171;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5986:381::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4268:96::-;;;;;;:::i;:::-;;:::i;1824:101:29:-;;;:::i;1783:31:3:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;1734:212:30:-;;;:::i;1744:32:3:-;;;;;;3083:138;;3131:90;3083:138;;1201:85:29;1247:7;1273:6;;;1201:85;;;7389:42:62;7377:55;;;7359:74;;7347:2;7332:18;1201:85:29;7213:226:62;10249:1134:3;;;;;;:::i;:::-;;:::i;5069:603::-;;;:::i;:::-;;;;;;;:::i;1603:26::-;;;;;;;;;6373:2156;;;;;;:::i;:::-;;:::i;5678:302::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;847:99:30:-;926:13;;;;847:99;;1139:178;;;;;;:::i;:::-;;:::i;1820:58:3:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;1635:24;;;;;;;;;1699:39;;;;;;12518:1083;12678:18;12716:9;12711:433;12731:16;;;12711:433;;;12768:12;12783:18;12792:5;;12798:1;12792:8;;;;;;;:::i;:::-;;;;;;12783;:18::i;:::-;12768:33;;12819:7;12815:319;;;12846:14;12889:1;12863:5;;12869:1;12863:8;;;;;;;:::i;:::-;:22;:8;;;;;;;;:22;;;:27;;;12912:35;;;;:27;:35;;;;;;;12863:27;;-1:-1:-1;12912:35:3;;:40;;;-1:-1:-1;12908:154:3;;12976:16;12991:1;12976:16;;:::i;:::-;13014;:29;;;;;;;-1:-1:-1;13014:29:3;;;;;;;;;12976:16;-1:-1:-1;12908:154:3;13079:35;;;;:27;:35;;;;;:40;;13118:1;;13079:35;:40;;13118:1;;13079:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12828:306;12815:319;-1:-1:-1;12749:3:3;;;;:::i;:::-;;;;12711:433;;;;13218:8;13213:349;13236:11;13232:15;;:1;:15;;;13213:349;;;13268:15;13286:16;13303:1;13286:19;;;;;;;;;;:::i;:::-;;;;;;;;;13268:37;;13319:29;13351:23;13366:7;13351:14;:23::i;:::-;13415:36;;;;:27;:36;;;;;;13319:55;;-1:-1:-1;13388:64:3;;13319:55;;13415:36;;13388:14;:64::i;:::-;-1:-1:-1;;13515:36:3;;;;:27;:36;;;;;13508:43;;;;;;13249:3;;;;:::i;:::-;;;;13213:349;;;-1:-1:-1;13571:23:3;13578:16;;13571:23;:::i;:::-;12573:1028;12518:1083;;:::o;4892:171::-;4968:17;;:::i;:::-;5004:52;5019:25;5045:9;;5019:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;5004:14;:52::i;:::-;4997:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4997:59:3;;;-1:-1:-1;;4997:59:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4892:171:3;;;;;:::o;5986:381::-;6059:37;6145:20;6166:9;;6145:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;6128:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6108:76;;6199:9;6194:167;6218:20;6239:9;;6218:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;6214:42;;6194:167;;;6300:50;6315:20;6336:9;;6315:31;;;;;;;:::i;:::-;;;;;;;;;;;;;6347:1;6315:34;;;;;;;;:::i;:::-;;;;;;;;;6300:14;:50::i;:::-;6277:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6277:73:3;;;-1:-1:-1;;6277:73:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:20;;;;6295:1;;6277:20;;;;;;:::i;:::-;;;;;;:73;;;;6258:3;;;;;:::i;:::-;;;;6194:167;;;;5986:381;;;;:::o;4268:96::-;1094:13:29;:11;:13::i;:::-;4337:9:3::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;4268:96::o;1824:101:29:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;1783:31:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1783:31:3;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1783:31:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1783:31:3;-1:-1:-1;1783:31:3;;;;;;;;;;;:::o;1734:212:30:-;926:13;;719:10:34;;1833:24:30;926:13;1833:24;;1825:78;;;;-1:-1:-1;;;1825:78:30;;13750:2:62;1825:78:30;;;13732:21:62;13789:2;13769:18;;;13762:30;13828:34;13808:18;;;13801:62;13899:11;13879:18;;;13872:39;13928:19;;1825:78:30;;;;;;;;;1913:26;1932:6;1913:18;:26::i;:::-;1776:170;1734:212::o;10249:1134:3:-;10324:29;10356:22;10371:6;10356:14;:22::i;:::-;10394:20;;;;;;-1:-1:-1;10394:20:3;;;;;10389:567;;10457:15;10438:10;:16;;;:34;10430:65;;;;-1:-1:-1;;;10430:65:3;;14160:2:62;10430:65:3;;;14142:21:62;14199:2;14179:18;;;14172:30;14238:20;14218:18;;;14211:48;14276:18;;10430:65:3;13958:342:62;10430:65:3;10509:20;;;:27;;;;;;;;10569:15;10550:16;;;:34;10620:12;10598:19;;;:34;10787:24;;;:28;;10829;;;;10509:27;10871:24;;;:28;;;10913;;;:32;10389:567;10975:20;;;;;;;;;10974:21;10966:56;;;;-1:-1:-1;;;10966:56:3;;14507:2:62;10966:56:3;;;14489:21:62;14546:2;14526:18;;;14519:30;14585:24;14565:18;;;14558:52;14627:18;;10966:56:3;14305:346:62;10966:56:3;11033:11;11047:33;11062:10;11074:5;11047:14;:33::i;:::-;11094:20;;;;11033:47;;-1:-1:-1;11094:20:3;;;;;11090:287;;;11180:1;11130:25;11156:10;:20;;11130:47;;;;;;:::i;:::-;;;;;;;;;;;;;;:51;11195:75;;;;11225:30;11244:10;11225:18;:30::i;:::-;11346:19;;;;11288:78;;;;;;11308:6;;11316:20;;;;11338:6;;11346:19;;;11288:78;:::i;:::-;;;;;;;;11090:287;10314:1069;;10249:1134;;:::o;5069:603::-;5201:11;:18;5122:16;;5150:34;;5187:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5187:33:3;;5150:70;;5230:13;5262:9;5257:243;5281:11;:18;5277:22;;5257:243;;;5325:11;5337:1;5325:14;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;;;;;;;;;;;5324:25;:54;;;;5354:11;5366:1;5354:14;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;;;;;;;;;;;5353:25;5324:54;5320:170;;;5425:11;5437:1;5425:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;5398:17;5416:5;5398:24;;;;;;;;:::i;:::-;;;;;;;;;;:52;5468:7;;;;:::i;:::-;;;;5320:170;5301:3;;;;:::i;:::-;;;;5257:243;;;-1:-1:-1;5590:32:3;;5597:17;5069:603;-1:-1:-1;5069:603:3:o;6373:2156::-;6493:25;6519:9;;6493:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;6533:1;6493:41;6485:74;;;;-1:-1:-1;;;6485:74:3;;17201:2:62;6485:74:3;;;17183:21:62;17240:2;17220:18;;;17213:30;17279:22;17259:18;;;17252:50;17319:18;;6485:74:3;16999:344:62;6485:74:3;6585:16;6573:8;:28;;;;;;;;:::i;:::-;;6569:141;;6625:9;;:43;;;;;:9;;;;;:32;;:43;;6658:9;;;;6625:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6617:82;;;;-1:-1:-1;;;6617:82:3;;18411:2:62;6617:82:3;;;18393:21:62;18450:2;18430:18;;;18423:30;18489:28;18469:18;;;18462:56;18535:18;;6617:82:3;18209:350:62;6617:82:3;6735:12;6723:8;:24;;;;;;;;:::i;:::-;;6719:142;;6772:9;;:43;;;;;:9;;;;;:32;;:43;;6805:9;;;;6772:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6771:44;6763:87;;;;-1:-1:-1;;;6763:87:3;;18766:2:62;6763:87:3;;;18748:21:62;18805:2;18785:18;;;18778:30;18844:32;18824:18;;;18817:60;18894:18;;6763:87:3;18564:354:62;6763:87:3;6870:21;6894:20;6915:9;;6894:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:38;;-1:-1:-1;6946:17:3;;6942:272;;6979:14;6996:20;7017:9;;6996:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;7028:17;7044:1;7028:13;:17;:::i;:::-;6996:50;;;;;;;;:::i;:::-;;;;;;;;;6979:67;;7136:17;;7104:22;7119:6;7104:14;:22::i;:::-;:28;;;7086:46;;:15;:46;:::i;:::-;7085:68;7060:143;;;;-1:-1:-1;;;7060:143:3;;19258:2:62;7060:143:3;;;19240:21:62;;;19277:18;;;19270:30;19336:34;19316:18;;;19309:62;19388:18;;7060:143:3;19056:356:62;7060:143:3;6965:249;6942:272;7231:5;;:27;;;;;7247:10;7231:27;;;7359:74:62;7262:10:3;;7231:5;;;:15;;7332:18:62;;7231:27:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;7223:70;;;;-1:-1:-1;;;7223:70:3;;19808:2:62;7223:70:3;;;19790:21:62;19847:2;19827:18;;;19820:30;19886:18;19866;;;19859:46;19922:18;;7223:70:3;19606:340:62;7223:70:3;7327:11;:18;7304:20;;7327:22;;7348:1;7327:22;:::i;:::-;7304:45;;7399:12;7360:25;7386:9;;7360:36;;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;;7421:20;7442:9;;7421:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:50;;;;;;;;-1:-1:-1;7421:50:3;;;;;;;;;;;;7481:27;;;:13;:27;;;;;7514:74;;;;;7528:10;7514:74;;;;;;;;;;;;;;7481:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7421:31;;7481:108;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;7481:108:3;;;;;;;;;;7599:36;;;;:22;:36;;;;;;;7636:10;7599:48;;;;;;;;:55;;;;;;;;;;7695:580;;;;;;;7736:12;7695:580;;7775:15;7695:580;;;;;;7847:12;;7665:11;;7695:580;;;;;;7829:30;;7847:12;7829:30;:::i;:::-;7695:580;;;;7917:24;;7902:12;;7884:15;:30;;;;:::i;:::-;:57;;;;:::i;:::-;7695:580;;;;7969:8;7695:580;;;;;;;;:::i;:::-;;;;;8006:5;7695:580;;;;;;8040:9;;7695:580;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7695:580:3;;;-1:-1:-1;;;7695:580:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7665:620;;7695:580;7665:620;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;7665:620:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;7665:620:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8417:47;8432:28;8447:12;8432:14;:28::i;:::-;8462:1;8417:14;:47::i;:::-;;8480:42;8498:12;8512:9;;8480:42;;;;;;;;:::i;:::-;;;;;;;;6475:2054;;6373:2156;;;;:::o;5678:302::-;5805:21;;;;:13;:21;;;;;:28;5739:27;;5791:43;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5791:43:3;;5778:56;;5849:9;5844:130;5868:21;;;;:13;:21;;;;;:28;5864:32;;5844:130;;;5933:21;;;;:13;:21;;;;;:24;;5955:1;;5933:24;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;5917:13;;5933:30;;;;;5917:10;;5928:1;;5917:13;;;;;;:::i;:::-;:46;;;;:13;;;;;;;;;;;:46;5898:3;;;;:::i;:::-;;;;5844:130;;;;5678:302;;;:::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;11389:1123:3:-;11450:4;11471:21;11487:4;11471:15;:21::i;:::-;11466:137;;11513:53;11530:18;;;;;11552:1;11530:23;;11555:10;;11530:4;11555:10;:::i;:::-;11513:53;;;22827:25:62;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;11513:53:3;;;;;;;-1:-1:-1;11587:5:3;;11389:1123;-1:-1:-1;11389:1123:3:o;11466:137::-;11630:18;;;;11652:1;11630:23;11613:14;11689:22;11630:23;11689:14;:22::i;:::-;11663:48;;11748:4;:10;;;11730:15;:28;11722:52;;;;-1:-1:-1;;;11722:52:3;;23157:2:62;11722:52:3;;;23139:21:62;23196:2;23176:18;;;23169:30;23235:13;23215:18;;;23208:41;23266:18;;11722:52:3;22955:335:62;11722:52:3;11793:14;;;;;;;;;11792:15;11784:42;;;;-1:-1:-1;;;11784:42:3;;23497:2:62;11784:42:3;;;23479:21:62;23536:2;23516:18;;;23509:30;23575:16;23555:18;;;23548:44;23609:18;;11784:42:3;23295:338:62;11784:42:3;11861:4;:24;;;11844:4;:14;;;:41;11836:76;;;;-1:-1:-1;;;11836:76:3;;23840:2:62;11836:76:3;;;23822:21:62;23879:2;23859:18;;;23852:30;23918:24;23898:18;;;23891:52;23960:18;;11836:76:3;23638:346:62;11836:76:3;11948:4;:12;;;11930:4;:14;;;:30;;11922:65;;;;-1:-1:-1;;;11922:65:3;;23840:2:62;11922:65:3;;;23822:21:62;23879:2;23859:18;;;23852:30;23918:24;23898:18;;;23891:52;23960:18;;11922:65:3;23638:346:62;11922:65:3;12002:30;;;;:22;:30;;;;;;;;;12033:10;;;;:4;:10;:::i;:::-;12002:42;;;;;;;;;;;;;-1:-1:-1;12002:42:3;;;;11998:136;;;12065:32;12078:6;12086:10;;;;:4;:10;:::i;:::-;12065:32;;;22827:25:62;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;12065:32:3;;;;;;;-1:-1:-1;12118:5:3;;11389:1123;-1:-1:-1;;;11389:1123:3:o;11998:136::-;12144:30;;;;:22;:30;;;;;;;12189:4;;12144:30;;12175:10;;;;:4;:10;:::i;:::-;12144:42;;;;;;;;;;;;;;;;-1:-1:-1;12144:42:3;;;:49;;;;;;;;;;;;;;12203:21;;;:13;:21;;;;;;12243:187;;;;;;;;12203:21;12243:187;;;12273:10;;;;;;:::i;:::-;12243:187;;;;;;12311:4;:18;;;12332:1;12311:22;12337:1;12311:27;:61;;12356:16;12311:61;;;12341:12;12311:61;12243:187;;;;;;;;:::i;:::-;;;12401:14;;;;12243:187;;;;;12203:237;;;;;;;;-1:-1:-1;12203:237:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;12203:237:3;;;;;;;;;;;12456:28;12465:6;12473:10;;;;:4;:10;:::i;:::-;12456:28;;;22827:25:62;;;22900:42;22888:55;;;22883:2;22868:18;;22861:83;22800:18;12456:28:3;;;;;;;-1:-1:-1;12501:4:3;;11389:1123;-1:-1:-1;;;11389:1123:3:o;4726:160::-;4819:18;4802:6;4604:1;4599:2;:6;4595:36;;;4614:17;;;;;;;;160:25:62;;;133:18;;4614:17:3;14:177:62;4595:36:3;4650:11;:18;4645:23;;4641:61;;;4677:25;;;;;;;;160::62;;;133:18;;4677:25:3;14:177:62;4641:61:3;4856:11:::1;4868:10;4877:1;4868:6:::0;:10:::1;:::i;:::-;4856:23;;;;;;;;:::i;:::-;;;;;;;;;;;4849:30;;4726:160:::0;;;;:::o;8535:1431::-;8713:24;;;;8681:21;;;;8621:4;8667:36;;;:13;:36;;;;;:43;8621:4;;8667:70;;8713:24;;;;;8667:70;:::i;:::-;8658:5;:79;;;;8637:160;;;;-1:-1:-1;;;8637:160:3;;24191:2:62;8637:160:3;;;24173:21:62;24230:2;24210:18;;;24203:30;24269:34;24249:18;;;24242:62;24340:4;24320:18;;;24313:32;24362:19;;8637:160:3;23989:398:62;8637:160:3;8982:20;;;;8955:12;;8982:20;;;;;8978:89;;;-1:-1:-1;9037:19:3;;;;8978:89;9077:8;9099:611;9110:5;9106:9;;:1;:9;;;9099:611;;;9170:21;;;;9136:17;9156:36;;;:13;:36;;;;;9193:24;;;;:28;;9220:1;;9193:24;;:28;:::i;:::-;9156:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;9292:14;;;;9241:5;;9259:10;;9241:47;;;;;:5;9259:10;;;9241:47;;;24566:74:62;24656:18;;;24649:34;;;9156:66:3;;-1:-1:-1;9292:14:3;;9241:5;;;:17;;24539:18:62;;9241:47:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;9237:463;;9347:12;9330:13;;;;;;;:29;;;;;;;;:::i;:::-;;9326:267;;9437:4;:14;;;9410:10;:24;;;:41;;;;:::i;:::-;9383:24;;;:68;9237:463;;9326:267;9560:4;:14;;;9529:10;:28;;;:45;;;;:::i;:::-;9498:28;;;:76;9237:463;;;9651:21;;;;9674:10;;9636:49;;;22827:25:62;;;9674:10:3;;;;22883:2:62;22868:18;;22861:83;9636:49:3;;22800:18:62;9636:49:3;;;;;;;9237:463;-1:-1:-1;9117:3:3;;;;:::i;:::-;;;;9099:611;;;9720:24;;;:29;;9748:1;;9720:24;;;:29;;9748:1;;9720:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;9805:21;;;;-1:-1:-1;9791:36:3;;;:13;:36;;;;;:43;9763:24;;;;;;;:71;;-1:-1:-1;9759:129:3;;9850:20;;;:27;;;;;;;;9759:129;-1:-1:-1;;;;9931:28:3;;;;9904:24;;;;;:55;;8535:1431::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;;25102:2:62;1414:68:29;;;25084:21:62;;;25121:18;;;25114:30;25180:34;25160:18;;;25153:62;25232:18;;1414:68:29;24900:356:62;1501:153:30;1590:13;1583:20;;;;;;1613:34;1638:8;1613:24;:34::i;9972:271:3:-;10076:12;10053:19;;;;;;;:35;;;;;;;:::i;:::-;;10049:188;;10104:9;;:44;;;;;:9;;;;;:22;;:44;;10127:20;;;;10104:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1776:170:30;1734:212::o;10049:188:3:-;10179:9;;:47;;;;;:9;;;;;:25;;:47;;10205:20;;;;10179:47;;;:::i;3430:245::-;3504:4;3520:14;3576:16;;3594:10;3599:4;3594;:10::i;:::-;3547:58;;25758:66:62;3547:58:3;;;25746:79:62;25841:11;;;25834:27;;;;25877:12;;;25870:28;25914:12;;3547:58:3;;;-1:-1:-1;;3547:58:3;;;;;;;;;3537:69;;3547:58;3537:69;;;;;-1:-1:-1;3658:10:3;;;;:4;:10;:::i;:::-;3623:45;;:31;:6;3638;;;;3646:7;;;;3623:14;:31::i;:::-;:45;;;;3430:245;-1:-1:-1;;;3430:245:3: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;3228:196:3:-;3291:7;3131:90;3353:18;;;;;;3373:14;;;;;3389:10;;3353:4;3389:10;:::i;:::-;3327:89;;;;;;26196:25:62;;;;26237:18;;26230:34;;;;3401:14:3;26280:18:62;;;26273:34;;;;26355:42;26343:55;;;26323:18;;;26316:83;3401:14:3;;;26415:19:62;;;26408:35;26168:19;;3327:89:3;;;;;;;;;;;;3317:100;;;;;;3310:107;;3228:196;;;:::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;;26656:2:62;788:34:38;;;26638:21:62;26695:2;26675:18;;;26668:30;26734:26;26714:18;;;26707:54;26778:18;;788:34:38;26454:348:62;730:345:38;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:38;;27009:2:62;903:41:38;;;26991:21:62;27048:2;27028:18;;;27021:30;27087:33;27067:18;;;27060:61;27138:18;;903:41:38;26807:355:62;839:236:38;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:38;;27369:2:62;1020:44:38;;;27351:21:62;27408:2;27388:18;;;27381:30;27447:34;27427:18;;;27420:62;27518:4;27498:18;;;27491:32;27540:19;;1020:44:38;27167: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;;;;;;;;;27797:25:62;;;27870:4;27858:17;;27838:18;;;27831:45;;;;27892:18;;;27885:34;;;27935:18;;;27928:34;;;6276:24:38;;27769: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;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;196:648:62:-;312:6;320;373:2;361:9;352:7;348:23;344:32;341:52;;;389:1;386;379:12;341:52;429:9;416:23;458:18;499:2;491:6;488:14;485:34;;;515:1;512;505:12;485:34;553:6;542:9;538:22;528:32;;598:7;591:4;587:2;583:13;579:27;569:55;;620:1;617;610:12;569:55;660:2;647:16;686:2;678:6;675:14;672:34;;;702:1;699;692:12;672:34;758:7;753:2;745:4;737:6;733:17;729:2;725:26;721:35;718:48;715:68;;;779:1;776;769:12;715:68;810:2;802:11;;;;;832:6;;-1:-1:-1;196:648:62;;-1:-1:-1;;;;196:648:62:o;849:347::-;900:8;910:6;964:3;957:4;949:6;945:17;941:27;931:55;;982:1;979;972:12;931:55;-1:-1:-1;1005:20:62;;1048:18;1037:30;;1034:50;;;1080:1;1077;1070:12;1034:50;1117:4;1109:6;1105:17;1093:29;;1169:3;1162:4;1153:6;1145;1141:19;1137:30;1134:39;1131:59;;;1186:1;1183;1176:12;1131:59;849:347;;;;;:::o;1201:409::-;1271:6;1279;1332:2;1320:9;1311:7;1307:23;1303:32;1300:52;;;1348:1;1345;1338:12;1300:52;1388:9;1375:23;1421:18;1413:6;1410:30;1407:50;;;1453:1;1450;1443:12;1407:50;1492:58;1542:7;1533:6;1522:9;1518:22;1492:58;:::i;:::-;1569:8;;1466:84;;-1:-1:-1;1201:409:62;-1:-1:-1;;;;1201:409:62:o;1615:184::-;1667:77;1664:1;1657:88;1764:4;1761:1;1754:15;1788:4;1785:1;1778:15;1804:293;1884:1;1877:5;1874:12;1864:200;;1920:77;1917:1;1910:88;2021:4;2018:1;2011:15;2049:4;2046:1;2039:15;1864:200;2073:18;;1804:293::o;2198:481::-;2239:3;2277:5;2271:12;2304:6;2299:3;2292:19;2329:1;2339:162;2353:6;2350:1;2347:13;2339:162;;;2415:4;2471:13;;;2467:22;;2461:29;2443:11;;;2439:20;;2432:59;2368:12;2339:162;;;2343:3;2546:1;2539:4;2530:6;2525:3;2521:16;2517:27;2510:38;2668:4;-1:-1:-1;;2593:2:62;2585:6;2581:15;2577:88;2572:3;2568:98;2564:109;2557:116;;;2198:481;;;;:::o;2783:1247::-;2836:3;2864:6;2897:5;2891:12;2886:3;2879:25;2953:4;2946:5;2942:16;2936:23;2929:4;2924:3;2920:14;2913:47;3009:4;3002:5;2998:16;2992:23;2985:4;2980:3;2976:14;2969:47;3065:4;3058:5;3054:16;3048:23;3041:4;3036:3;3032:14;3025:47;3118:4;3111:5;3107:16;3101:23;3133:54;3181:4;3176:3;3172:14;3158:12;3133:54;:::i;:::-;;3235:4;3228:5;3224:16;3218:23;3250:47;3291:4;3286:3;3282:14;3266;2172:13;2165:21;2153:34;;2102:91;3250:47;;3345:4;3338:5;3334:16;3328:23;3383:2;3376:4;3371:3;3367:14;3360:26;3407:46;3449:2;3444:3;3440:12;3424:14;3407:46;:::i;:::-;3502:4;3491:16;;;3485:23;3469:14;;;3462:47;3528:6;3570:14;;;3564:21;3550:12;;;3543:43;3605:6;3647:14;;;3641:21;3627:12;;;3620:43;3682:6;3724:14;;;3718:21;3704:12;;;3697:43;3759:6;3802:14;;;3796:21;2760:10;2749:22;3860:12;;;2737:35;3892:6;3935:14;;;3929:21;2172:13;2165:21;3991:12;;;;2153:34;;;;-1:-1:-1;3395:58:62;;4020:4;-1:-1:-1;;2783:1247:62:o;4035:267::-;4220:2;4209:9;4202:21;4183:4;4240:56;4292:2;4281:9;4277:18;4269:6;4240:56;:::i;:::-;4232:64;4035:267;-1:-1:-1;;;4035:267:62:o;4307:909::-;4505:4;4534:2;4574;4563:9;4559:18;4604:2;4593:9;4586:21;4627:6;4662;4656:13;4693:6;4685;4678:22;4731:2;4720:9;4716:18;4709:25;;4793:2;4783:6;4780:1;4776:14;4765:9;4761:30;4757:39;4743:53;;4831:2;4823:6;4819:15;4852:1;4862:325;4876:6;4873:1;4870:13;4862:325;;;4965:66;4953:9;4945:6;4941:22;4937:95;4932:3;4925:108;5056:51;5100:6;5091;5085:13;5056:51;:::i;:::-;5046:61;-1:-1:-1;5165:12:62;;;;5130:15;;;;4898:1;4891:9;4862:325;;;-1:-1:-1;5204:6:62;;4307:909;-1:-1:-1;;;;;;;4307:909:62:o;5221:165::-;5318:42;5311:5;5307:54;5300:5;5297:65;5287:93;;5376:1;5373;5366:12;5391:275;5467:6;5520:2;5508:9;5499:7;5495:23;5491:32;5488:52;;;5536:1;5533;5526:12;5488:52;5575:9;5562:23;5594:42;5630:5;5594:42;:::i;5671:180::-;5730:6;5783:2;5771:9;5762:7;5758:23;5754:32;5751:52;;;5799:1;5796;5789:12;5751:52;-1:-1:-1;5822:23:62;;5671:180;-1:-1:-1;5671:180:62:o;5856:1170::-;6302:4;6331:3;6361:6;6350:9;6343:25;6404:6;6399:2;6388:9;6384:18;6377:34;6447:6;6442:2;6431:9;6427:18;6420:34;6490:6;6485:2;6474:9;6470:18;6463:34;6506:53;6554:3;6543:9;6539:19;6531:6;6506:53;:::i;:::-;6610:6;6603:14;6596:22;6590:3;6579:9;6575:19;6568:51;6656:2;6650:3;6639:9;6635:19;6628:31;6676:44;6716:2;6705:9;6701:18;6693:6;6676:44;:::i;:::-;6751:3;6736:19;;6729:35;;;;-1:-1:-1;;6795:3:62;6780:19;;6773:35;;;;6839:3;6824:19;;6817:35;;;;6883:3;6868:19;;6861:36;;;;6947:10;6934:24;6928:3;6913:19;;6906:53;7003:15;6996:23;6990:3;6975:19;;;6968:52;6668;5856:1170;-1:-1:-1;;;;;;;5856:1170:62:o;7444:344::-;7511:6;7519;7572:2;7560:9;7551:7;7547:23;7543:32;7540:52;;;7588:1;7585;7578:12;7540:52;7624:9;7611:23;7601:33;;7684:2;7673:9;7669:18;7656:32;7728:10;7721:5;7717:22;7710:5;7707:33;7697:61;;7754:1;7751;7744:12;7697:61;7777:5;7767:15;;;7444:344;;;;;:::o;7793:632::-;7964:2;8016:21;;;8086:13;;7989:18;;;8108:22;;;7935:4;;7964:2;8187:15;;;;8161:2;8146:18;;;7935:4;8230:169;8244:6;8241:1;8238:13;8230:169;;;8305:13;;8293:26;;8374:15;;;;8339:12;;;;8266:1;8259:9;8230:169;;;-1:-1:-1;8416:3:62;;7793:632;-1:-1:-1;;;;;;7793:632:62:o;8678:634::-;8779:6;8787;8795;8803;8856:2;8844:9;8835:7;8831:23;8827:32;8824:52;;;8872:1;8869;8862:12;8824:52;8911:9;8898:23;8950:1;8943:5;8940:12;8930:40;;8966:1;8963;8956:12;8930:40;8989:5;-1:-1:-1;9045:2:62;9030:18;;9017:32;9072:18;9061:30;;9058:50;;;9104:1;9101;9094:12;9058:50;9143:58;9193:7;9184:6;9173:9;9169:22;9143:58;:::i;:::-;8678:634;;9220:8;;-1:-1:-1;9117:84:62;;9302:2;9287:18;9274:32;;8678:634;-1:-1:-1;;;;8678:634:62:o;9317:681::-;9488:2;9540:21;;;9610:13;;9513:18;;;9632:22;;;9459:4;;9488:2;9711:15;;;;9685:2;9670:18;;;9459:4;9754:218;9768:6;9765:1;9762:13;9754:218;;;9833:13;;9848:42;9829:62;9817:75;;9947:15;;;;9912:12;;;;9790:1;9783:9;9754:218;;10266:184;10318:77;10315:1;10308:88;10415:4;10412:1;10405:15;10439:4;10436:1;10429:15;10455:980;10523:6;10576:2;10564:9;10555:7;10551:23;10547:32;10544:52;;;10592:1;10589;10582:12;10544:52;10632:9;10619:23;10661:18;10702:2;10694:6;10691:14;10688:34;;;10718:1;10715;10708:12;10688:34;10756:6;10745:9;10741:22;10731:32;;10801:7;10794:4;10790:2;10786:13;10782:27;10772:55;;10823:1;10820;10813:12;10772:55;10859:2;10846:16;10881:2;10877;10874:10;10871:36;;;10887:18;;:::i;:::-;11021:2;11015:9;11083:4;11075:13;;-1:-1:-1;;11071:22:62;;;11095:2;11067:31;11063:40;11051:53;;;11119:18;;;11139:22;;;11116:46;11113:72;;;11165:18;;:::i;:::-;11205:10;11201:2;11194:22;11240:2;11232:6;11225:18;11280:7;11275:2;11270;11266;11262:11;11258:20;11255:33;11252:53;;;11301:1;11298;11291:12;11252:53;11357:2;11352;11348;11344:11;11339:2;11331:6;11327:15;11314:46;11402:1;11380:15;;;11397:2;11376:24;11369:35;;;;-1:-1:-1;11384:6:62;10455:980;-1:-1:-1;;;;;10455:980:62:o;11700:184::-;11752:77;11749:1;11742:88;11849:4;11846:1;11839:15;11873:4;11870:1;11863:15;11889:184;11941:77;11938:1;11931:88;12038:4;12035:1;12028:15;12062:4;12059:1;12052:15;12078:168;12145:6;12171:10;;;12183;;;12167:27;;12206:11;;;12203:37;;;12220:18;;:::i;12251:172::-;12318:10;12348;;;12360;;;12344:27;;12383:11;;;12380:37;;;12397:18;;:::i;12428:195::-;12467:3;12498:66;12491:5;12488:77;12485:103;;12568:18;;:::i;:::-;-1:-1:-1;12615:1:62;12604:13;;12428:195::o;12628:197::-;12666:3;12694:6;12735:2;12728:5;12724:14;12762:2;12753:7;12750:15;12747:41;;12768:18;;:::i;:::-;12817:1;12804:15;;12628:197;-1:-1:-1;;;12628:197:62:o;12830:271::-;13013:6;13005;13000:3;12987:33;12969:3;13039:16;;13064:13;;;13039:16;12830:271;-1:-1:-1;12830:271:62:o;13106:437::-;13185:1;13181:12;;;;13228;;;13249:61;;13303:4;13295:6;13291:17;13281:27;;13249:61;13356:2;13348:6;13345:14;13325:18;13322:38;13319:218;;13393:77;13390:1;13383:88;13494:4;13491:1;13484:15;13522:4;13519:1;13512:15;14781:898;14907:3;14936:1;14969:6;14963:13;14999:36;15025:9;14999:36;:::i;:::-;15054:1;15071:18;;;15098:191;;;;15303:1;15298:356;;;;15064:590;;15098:191;15146:66;15135:9;15131:82;15126:3;15119:95;15269:6;15262:14;15255:22;15247:6;15243:35;15238:3;15234:45;15227:52;;15098:191;;15298:356;15329:6;15326:1;15319:17;15359:4;15404:2;15401:1;15391:16;15429:1;15443:165;15457:6;15454:1;15451:13;15443:165;;;15535:14;;15522:11;;;15515:35;15578:16;;;;15472:10;;15443:165;;;15447:3;;;15637:6;15632:3;15628:16;15621:23;;15064:590;-1:-1:-1;15670:3:62;;14781:898;-1:-1:-1;;;;;;14781:898:62:o;15684:829::-;15733:3;15774:5;15768:12;15803:36;15829:9;15803:36;:::i;:::-;15848:19;;;15886:4;15909:1;15926:18;;;15953:204;;;;16171:1;16166:341;;;;15919:588;;15953:204;16010:66;15999:9;15995:82;15990:2;15985:3;15981:12;15974:104;16144:2;16132:6;16125:14;16118:22;16115:1;16111:30;16106:3;16102:40;16098:49;16091:56;;15953:204;;16166:341;16197:5;16194:1;16187:16;16244:2;16241:1;16231:16;16269:1;16283:174;16297:6;16294:1;16291:13;16283:174;;;16384:14;;16366:11;;;16362:20;;16355:44;16427:16;;;;16312:10;;16283:174;;;16481:11;;16477:20;;;-1:-1:-1;;15919:588:62;;;;;;15684:829;;;;:::o;16518:476::-;16751:6;16740:9;16733:25;16794:3;16789:2;16778:9;16774:18;16767:31;16714:4;16815:53;16863:3;16852:9;16848:19;16840:6;16815:53;:::i;:::-;16807:61;;16918:6;16911:14;16904:22;16899:2;16888:9;16884:18;16877:50;16936:52;16984:2;16973:9;16969:18;16961:6;16936:52;:::i;:::-;16518:476;;;;;;;:::o;17348:325::-;17436:6;17431:3;17424:19;17488:6;17481:5;17474:4;17469:3;17465:14;17452:43;;17540:1;17533:4;17524:6;17519:3;17515:16;17511:27;17504:38;17406:3;17662:4;-1:-1:-1;;17587:2:62;17579:6;17575:15;17571:88;17566:3;17562:98;17558:109;17551:116;;17348:325;;;;:::o;17678:244::-;17835:2;17824:9;17817:21;17798:4;17855:61;17912:2;17901:9;17897:18;17889:6;17881;17855:61;:::i;:::-;17847:69;17678:244;-1:-1:-1;;;;17678:244:62:o;17927:277::-;17994:6;18047:2;18035:9;18026:7;18022:23;18018:32;18015:52;;;18063:1;18060;18053:12;18015:52;18095:9;18089:16;18148:5;18141:13;18134:21;18127:5;18124:32;18114:60;;18170:1;18167;18160:12;18923:128;18990:9;;;19011:11;;;19008:37;;;19025:18;;:::i;19417:184::-;19487:6;19540:2;19528:9;19519:7;19515:23;19511:32;19508:52;;;19556:1;19553;19546:12;19508:52;-1:-1:-1;19579:16:62;;19417:184;-1:-1:-1;19417:184:62:o;19951:125::-;20016:9;;;20037:10;;;20034:36;;;20050:18;;:::i;20081:544::-;20182:2;20177:3;20174:11;20171:448;;;20218:1;20243:5;20239:2;20232:17;20288:4;20284:2;20274:19;20358:2;20346:10;20342:19;20339:1;20335:27;20329:4;20325:38;20394:4;20382:10;20379:20;20376:47;;;-1:-1:-1;20417:4:62;20376:47;20472:2;20467:3;20463:12;20460:1;20456:20;20450:4;20446:31;20436:41;;20527:82;20545:2;20538:5;20535:13;20527:82;;;20590:17;;;20571:1;20560:13;20527:82;;;20531:3;;;20081:544;;;:::o;20861:1467::-;20985:3;20979:10;21012:18;21004:6;21001:30;20998:56;;;21034:18;;:::i;:::-;21063:96;21152:6;21112:38;21144:4;21138:11;21112:38;:::i;:::-;21106:4;21063:96;:::i;:::-;21214:4;;21278:2;21267:14;;21295:1;21290:781;;;;22115:1;22132:6;22129:89;;;-1:-1:-1;22184:19:62;;;22178:26;22129:89;20767:66;20758:1;20754:11;;;20750:84;20746:89;20736:100;20842:1;20838:11;;;20733:117;22231:81;;21260:1062;;21290:781;14728:1;14721:14;;;14765:4;14752:18;;-1:-1:-1;;21326:79:62;;;21502:236;21516:7;21513:1;21510:14;21502:236;;;21605:19;;;21599:26;21584:42;;21697:27;;;;21665:1;21653:14;;;;21532:19;;21502:236;;;21506:3;21766:6;21757:7;21754:19;21751:261;;;21827:19;;;21821:26;21928:66;21910:1;21906:14;;;21922:3;21902:24;21898:97;21894:102;21879:118;21864:134;;21751:261;-1:-1:-1;;;;;22058:1:62;22042:14;;;22038:22;22025:36;;-1:-1:-1;20861:1467:62:o;22333:315::-;22518:6;22507:9;22500:25;22561:2;22556;22545:9;22541:18;22534:30;22481:4;22581:61;22638:2;22627:9;22623:18;22615:6;22607;22581:61;:::i;24694:201::-;24732:3;24760:10;24805:2;24798:5;24794:14;24832:2;24823:7;24820:15;24817:41;;24838:18;;:::i;25261:222::-;25405:2;25394:9;25387:21;25368:4;25425:52;25473:2;25462:9;25458:18;25450:6;25425:52;:::i", "linkReferences": {} }, "methodIdentifiers": { @@ -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\":\"0xdfc7150343350f25aa5f2f592cd81da833551f282bd64df0c5e2350f945647dc\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://4637ce84fb25d55464ec65142fcbfe1ac5c519d92e528875888774f79bc4fdfe\",\"dweb:/ipfs/QmcMjxL3DhMaojeBropdGSCBRKuHz1iB2qaLbg4jSb5nW3\"]},\"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\":\"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}", "metadata": { "compiler": { "version": "0.8.20+commit.a1b79de6" @@ -1624,10 +1624,10 @@ "license": "UNLICENSED" }, "contracts/VotingContract.sol": { - "keccak256": "0xdfc7150343350f25aa5f2f592cd81da833551f282bd64df0c5e2350f945647dc", + "keccak256": "0x227bd6debf25229ca0b0f45f9ea2f52e97c494ccee0c2e3b5cc9c401f3eb31f8", "urls": [ - "bzz-raw://4637ce84fb25d55464ec65142fcbfe1ac5c519d92e528875888774f79bc4fdfe", - "dweb:/ipfs/QmcMjxL3DhMaojeBropdGSCBRKuHz1iB2qaLbg4jSb5nW3" + "bzz-raw://afc41bb2ba6a5f4c75cfd5104997abc5d25180b69986f64942c651eec61a7e5f", + "dweb:/ipfs/Qmdw3orsjUBQTNBH38khqEMeCvaybLQR7gPk7Qw98ec8nh" ], "license": "UNLICENSED" }, @@ -1796,31 +1796,31 @@ }, "ast": { "absolutePath": "contracts/VotingContract.sol", - "id": 2722, + "id": 3038, "exportedSymbols": { "Directory": [ 294 ], "ECDSA": [ - 44351 + 44929 ], "MiniMeToken": [ - 33237 + 33553 ], "Ownable2Step": [ - 43985 + 44563 ], "VotingContract": [ - 2721 + 3037 ] }, "nodeType": "SourceUnit", - "src": "39:13536:2", + "src": "39:13565:3", "nodes": [ { - "id": 1476, + "id": 1786, "nodeType": "PragmaDirective", - "src": "39:24:2", + "src": "39:24:3", "nodes": [], "literals": [ "solidity", @@ -1830,24 +1830,24 @@ ] }, { - "id": 1478, + "id": 1788, "nodeType": "ImportDirective", - "src": "65:77:2", + "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": 2722, - "sourceUnit": 44352, + "scope": 3038, + "sourceUnit": 44930, "symbolAliases": [ { "foreign": { - "id": 1477, + "id": 1787, "name": "ECDSA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 44351, - "src": "74:5:2", + "referencedDeclaration": 44929, + "src": "74:5:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1856,24 +1856,24 @@ "unitAlias": "" }, { - "id": 1480, + "id": 1790, "nodeType": "ImportDirective", - "src": "143:79:2", + "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": 2722, - "sourceUnit": 43986, + "scope": 3038, + "sourceUnit": 44564, "symbolAliases": [ { "foreign": { - "id": 1479, + "id": 1789, "name": "Ownable2Step", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 43985, - "src": "152:12:2", + "referencedDeclaration": 44563, + "src": "152:12:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1882,24 +1882,24 @@ "unitAlias": "" }, { - "id": 1482, + "id": 1792, "nodeType": "ImportDirective", - "src": "223:71:2", + "src": "223:71:3", "nodes": [], "absolutePath": "lib/minime/contracts/MiniMeToken.sol", "file": "@vacp2p/minime/contracts/MiniMeToken.sol", "nameLocation": "-1:-1:-1", - "scope": 2722, - "sourceUnit": 33238, + "scope": 3038, + "sourceUnit": 33554, "symbolAliases": [ { "foreign": { - "id": 1481, + "id": 1791, "name": "MiniMeToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 33237, - "src": "232:11:2", + "referencedDeclaration": 33553, + "src": "232:11:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1908,24 +1908,24 @@ "unitAlias": "" }, { - "id": 1484, + "id": 1794, "nodeType": "ImportDirective", - "src": "295:44:2", + "src": "295:44:3", "nodes": [], "absolutePath": "contracts/Directory.sol", "file": "./Directory.sol", "nameLocation": "-1:-1:-1", - "scope": 2722, + "scope": 3038, "sourceUnit": 295, "symbolAliases": [ { "foreign": { - "id": 1483, + "id": 1793, "name": "Directory", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 294, - "src": "304:9:2", + "src": "304:9:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1934,31 +1934,31 @@ "unitAlias": "" }, { - "id": 2721, + "id": 3037, "nodeType": "ContractDefinition", - "src": "341:13233:2", + "src": "341:13262:3", "nodes": [ { - "id": 1489, + "id": 1799, "nodeType": "UsingForDirective", - "src": "387:24:2", + "src": "387:24:3", "nodes": [], "global": false, "libraryName": { - "id": 1487, + "id": 1797, "name": "ECDSA", "nameLocations": [ - "393:5:2" + "393:5:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44351, - "src": "393:5:2" + "referencedDeclaration": 44929, + "src": "393:5:3" }, "typeName": { - "id": 1488, + "id": 1798, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "403:7:2", + "src": "403:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1966,46 +1966,46 @@ } }, { - "id": 1492, + "id": 1802, "nodeType": "EnumDefinition", - "src": "417:50:2", + "src": "417:50:3", "nodes": [], "canonicalName": "VotingContract.VoteType", "members": [ { - "id": 1490, + "id": 1800, "name": "AGAINST", - "nameLocation": "441:7:2", + "nameLocation": "441:7:3", "nodeType": "EnumValue", - "src": "441:7:2" + "src": "441:7:3" }, { - "id": 1491, + "id": 1801, "name": "FOR", - "nameLocation": "458:3:2", + "nameLocation": "458:3:3", "nodeType": "EnumValue", - "src": "458:3:2" + "src": "458:3:3" } ], "name": "VoteType", - "nameLocation": "422:8:2" + "nameLocation": "422:8:3" }, { - "id": 1500, + "id": 1810, "nodeType": "StructDefinition", - "src": "473:96:2", + "src": "473:96:3", "nodes": [], "canonicalName": "VotingContract.Vote", "members": [ { "constant": false, - "id": 1494, + "id": 1804, "mutability": "mutable", "name": "voter", - "nameLocation": "503:5:2", + "nameLocation": "503:5:3", "nodeType": "VariableDeclaration", - "scope": 1500, - "src": "495:13:2", + "scope": 1810, + "src": "495:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2013,10 +2013,10 @@ "typeString": "address" }, "typeName": { - "id": 1493, + "id": 1803, "name": "address", "nodeType": "ElementaryTypeName", - "src": "495:7:2", + "src": "495:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2027,36 +2027,36 @@ }, { "constant": false, - "id": 1497, + "id": 1807, "mutability": "mutable", "name": "voteType", - "nameLocation": "527:8:2", + "nameLocation": "527:8:3", "nodeType": "VariableDeclaration", - "scope": 1500, - "src": "518:17:2", + "scope": 1810, + "src": "518:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1496, + "id": 1806, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1495, + "id": 1805, "name": "VoteType", "nameLocations": [ - "518:8:2" + "518:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1492, - "src": "518:8:2" + "referencedDeclaration": 1802, + "src": "518:8:3" }, - "referencedDeclaration": 1492, - "src": "518:8:2", + "referencedDeclaration": 1802, + "src": "518:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -2064,13 +2064,13 @@ }, { "constant": false, - "id": 1499, + "id": 1809, "mutability": "mutable", "name": "sntAmount", - "nameLocation": "553:9:2", + "nameLocation": "553:9:3", "nodeType": "VariableDeclaration", - "scope": 1500, - "src": "545:17:2", + "scope": 1810, + "src": "545:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2078,10 +2078,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1498, + "id": 1808, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "545:7:2", + "src": "545:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2091,26 +2091,26 @@ } ], "name": "Vote", - "nameLocation": "480:4:2", - "scope": 2721, + "nameLocation": "480:4:3", + "scope": 3037, "visibility": "public" }, { - "id": 1528, + "id": 1838, "nodeType": "StructDefinition", - "src": "575:388:2", + "src": "575:388:3", "nodes": [], "canonicalName": "VotingContract.VotingRoom", "members": [ { "constant": false, - "id": 1502, + "id": 1812, "mutability": "mutable", "name": "startBlock", - "nameLocation": "611:10:2", + "nameLocation": "611:10:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "603:18:2", + "scope": 1838, + "src": "603:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2118,10 +2118,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 1811, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "603:7:2", + "src": "603:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2131,13 +2131,13 @@ }, { "constant": false, - "id": 1504, + "id": 1814, "mutability": "mutable", "name": "startAt", - "nameLocation": "639:7:2", + "nameLocation": "639:7:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "631:15:2", + "scope": 1838, + "src": "631:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2145,10 +2145,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1503, + "id": 1813, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "631:7:2", + "src": "631:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2158,13 +2158,13 @@ }, { "constant": false, - "id": 1506, + "id": 1816, "mutability": "mutable", "name": "verificationStartAt", - "nameLocation": "664:19:2", + "nameLocation": "664:19:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "656:27:2", + "scope": 1838, + "src": "656:27:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2172,10 +2172,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1505, + "id": 1815, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "656:7:2", + "src": "656:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2185,13 +2185,13 @@ }, { "constant": false, - "id": 1508, + "id": 1818, "mutability": "mutable", "name": "endAt", - "nameLocation": "701:5:2", + "nameLocation": "701:5:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "693:13:2", + "scope": 1838, + "src": "693:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2199,10 +2199,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 1817, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "693:7:2", + "src": "693:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2212,36 +2212,36 @@ }, { "constant": false, - "id": 1511, + "id": 1821, "mutability": "mutable", "name": "voteType", - "nameLocation": "725:8:2", + "nameLocation": "725:8:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "716:17:2", + "scope": 1838, + "src": "716:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1510, + "id": 1820, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1509, + "id": 1819, "name": "VoteType", "nameLocations": [ - "716:8:2" + "716:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1492, - "src": "716:8:2" + "referencedDeclaration": 1802, + "src": "716:8:3" }, - "referencedDeclaration": 1492, - "src": "716:8:2", + "referencedDeclaration": 1802, + "src": "716:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -2249,13 +2249,13 @@ }, { "constant": false, - "id": 1513, + "id": 1823, "mutability": "mutable", "name": "finalized", - "nameLocation": "748:9:2", + "nameLocation": "748:9:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "743:14:2", + "scope": 1838, + "src": "743:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2263,10 +2263,10 @@ "typeString": "bool" }, "typeName": { - "id": 1512, + "id": 1822, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "743:4:2", + "src": "743:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2276,13 +2276,13 @@ }, { "constant": false, - "id": 1515, + "id": 1825, "mutability": "mutable", "name": "community", - "nameLocation": "773:9:2", + "nameLocation": "773:9:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "767:15:2", + "scope": 1838, + "src": "767:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2290,10 +2290,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1514, + "id": 1824, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "767:5:2", + "src": "767:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2303,13 +2303,13 @@ }, { "constant": false, - "id": 1517, + "id": 1827, "mutability": "mutable", "name": "totalVotesFor", - "nameLocation": "800:13:2", + "nameLocation": "800:13:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "792:21:2", + "scope": 1838, + "src": "792:21:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2317,10 +2317,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1516, + "id": 1826, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "792:7:2", + "src": "792:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2330,13 +2330,13 @@ }, { "constant": false, - "id": 1519, + "id": 1829, "mutability": "mutable", "name": "totalVotesAgainst", - "nameLocation": "831:17:2", + "nameLocation": "831:17:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "823:25:2", + "scope": 1838, + "src": "823:25:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2344,10 +2344,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1518, + "id": 1828, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "823:7:2", + "src": "823:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2357,13 +2357,13 @@ }, { "constant": false, - "id": 1521, + "id": 1831, "mutability": "mutable", "name": "roomNumber", - "nameLocation": "866:10:2", + "nameLocation": "866:10:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "858:18:2", + "scope": 1838, + "src": "858:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2371,10 +2371,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1520, + "id": 1830, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "858:7:2", + "src": "858:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2384,13 +2384,13 @@ }, { "constant": false, - "id": 1523, + "id": 1833, "mutability": "mutable", "name": "endBlock", - "nameLocation": "894:8:2", + "nameLocation": "894:8:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "886:16:2", + "scope": 1838, + "src": "886:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2398,10 +2398,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1522, + "id": 1832, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "886:7:2", + "src": "886:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2411,13 +2411,13 @@ }, { "constant": false, - "id": 1525, + "id": 1835, "mutability": "mutable", "name": "evaluatingPos", - "nameLocation": "919:13:2", + "nameLocation": "919:13:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "912:20:2", + "scope": 1838, + "src": "912:20:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2425,10 +2425,10 @@ "typeString": "uint32" }, "typeName": { - "id": 1524, + "id": 1834, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "912:6:2", + "src": "912:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -2438,13 +2438,13 @@ }, { "constant": false, - "id": 1527, + "id": 1837, "mutability": "mutable", "name": "evaluated", - "nameLocation": "947:9:2", + "nameLocation": "947:9:3", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "942:14:2", + "scope": 1838, + "src": "942:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2452,10 +2452,10 @@ "typeString": "bool" }, "typeName": { - "id": 1526, + "id": 1836, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "942:4:2", + "src": "942:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2465,26 +2465,26 @@ } ], "name": "VotingRoom", - "nameLocation": "582:10:2", - "scope": 2721, + "nameLocation": "582:10:3", + "scope": 3037, "visibility": "public" }, { - "id": 1541, + "id": 1851, "nodeType": "StructDefinition", - "src": "969:172:2", + "src": "969:172:3", "nodes": [], "canonicalName": "VotingContract.SignedVote", "members": [ { "constant": false, - "id": 1530, + "id": 1840, "mutability": "mutable", "name": "voter", - "nameLocation": "1005:5:2", + "nameLocation": "1005:5:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "997:13:2", + "scope": 1851, + "src": "997:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2492,10 +2492,10 @@ "typeString": "address" }, "typeName": { - "id": 1529, + "id": 1839, "name": "address", "nodeType": "ElementaryTypeName", - "src": "997:7:2", + "src": "997:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2506,13 +2506,13 @@ }, { "constant": false, - "id": 1532, + "id": 1842, "mutability": "mutable", "name": "roomIdAndType", - "nameLocation": "1028:13:2", + "nameLocation": "1028:13:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "1020:21:2", + "scope": 1851, + "src": "1020:21:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2520,10 +2520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1531, + "id": 1841, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1020:7:2", + "src": "1020:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2533,13 +2533,13 @@ }, { "constant": false, - "id": 1534, + "id": 1844, "mutability": "mutable", "name": "sntAmount", - "nameLocation": "1059:9:2", + "nameLocation": "1059:9:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "1051:17:2", + "scope": 1851, + "src": "1051:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2547,10 +2547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1533, + "id": 1843, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1051:7:2", + "src": "1051:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2560,13 +2560,13 @@ }, { "constant": false, - "id": 1536, + "id": 1846, "mutability": "mutable", "name": "timestamp", - "nameLocation": "1086:9:2", + "nameLocation": "1086:9:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "1078:17:2", + "scope": 1851, + "src": "1078:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2574,10 +2574,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1535, + "id": 1845, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1078:7:2", + "src": "1078:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2587,13 +2587,13 @@ }, { "constant": false, - "id": 1538, + "id": 1848, "mutability": "mutable", "name": "r", - "nameLocation": "1113:1:2", + "nameLocation": "1113:1:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "1105:9:2", + "scope": 1851, + "src": "1105:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2601,10 +2601,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1537, + "id": 1847, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1105:7:2", + "src": "1105:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2614,13 +2614,13 @@ }, { "constant": false, - "id": 1540, + "id": 1850, "mutability": "mutable", "name": "vs", - "nameLocation": "1132:2:2", + "nameLocation": "1132:2:3", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "1124:10:2", + "scope": 1851, + "src": "1124:10:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2628,10 +2628,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1539, + "id": 1849, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1124:7:2", + "src": "1124:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2641,33 +2641,33 @@ } ], "name": "SignedVote", - "nameLocation": "976:10:2", - "scope": 2721, + "nameLocation": "976:10:3", + "scope": 3037, "visibility": "public" }, { - "id": 1547, + "id": 1857, "nodeType": "EventDefinition", - "src": "1147:57:2", + "src": "1147:57:3", "nodes": [], "anonymous": false, "eventSelector": "56385c0d76ffcefeb38cb9226cb877000037647d09069d15e94ac4b29ec43587", "name": "VotingRoomStarted", - "nameLocation": "1153:17:2", + "nameLocation": "1153:17:3", "parameters": { - "id": 1546, + "id": 1856, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1543, + "id": 1853, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1179:6:2", + "nameLocation": "1179:6:3", "nodeType": "VariableDeclaration", - "scope": 1547, - "src": "1171:14:2", + "scope": 1857, + "src": "1171:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2675,10 +2675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1542, + "id": 1852, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1171:7:2", + "src": "1171:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2688,14 +2688,14 @@ }, { "constant": false, - "id": 1545, + "id": 1855, "indexed": false, "mutability": "mutable", "name": "publicKey", - "nameLocation": "1193:9:2", + "nameLocation": "1193:9:3", "nodeType": "VariableDeclaration", - "scope": 1547, - "src": "1187:15:2", + "scope": 1857, + "src": "1187:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2703,10 +2703,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1544, + "id": 1854, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1187:5:2", + "src": "1187:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2715,32 +2715,32 @@ "visibility": "internal" } ], - "src": "1170:33:2" + "src": "1170:33:3" } }, { - "id": 1553, + "id": 1863, "nodeType": "EventDefinition", - "src": "1209:69:2", + "src": "1209:69:3", "nodes": [], "anonymous": false, "eventSelector": "65c8311441202a7982e857040d7aeb6dc85dc31955135f414943089bed3206c4", "name": "VotingRoomVerificationStarted", - "nameLocation": "1215:29:2", + "nameLocation": "1215:29:3", "parameters": { - "id": 1552, + "id": 1862, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1549, + "id": 1859, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1253:6:2", + "nameLocation": "1253:6:3", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1245:14:2", + "scope": 1863, + "src": "1245:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2748,10 +2748,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1548, + "id": 1858, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1245:7:2", + "src": "1245:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2761,14 +2761,14 @@ }, { "constant": false, - "id": 1551, + "id": 1861, "indexed": false, "mutability": "mutable", "name": "publicKey", - "nameLocation": "1267:9:2", + "nameLocation": "1267:9:3", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1261:15:2", + "scope": 1863, + "src": "1261:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2776,10 +2776,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1550, + "id": 1860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1261:5:2", + "src": "1261:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2788,32 +2788,32 @@ "visibility": "internal" } ], - "src": "1244:33:2" + "src": "1244:33:3" } }, { - "id": 1564, + "id": 1874, "nodeType": "EventDefinition", - "src": "1283:91:2", + "src": "1283:91:3", "nodes": [], "anonymous": false, "eventSelector": "2ee1d50dd7d7f4ca1cd35dba9bde18b024b24f448a26c1c8846fe7b8bb450d1d", "name": "VotingRoomFinalized", - "nameLocation": "1289:19:2", + "nameLocation": "1289:19:3", "parameters": { - "id": 1563, + "id": 1873, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1555, + "id": 1865, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1317:6:2", + "nameLocation": "1317:6:3", "nodeType": "VariableDeclaration", - "scope": 1564, - "src": "1309:14:2", + "scope": 1874, + "src": "1309:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2821,10 +2821,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1554, + "id": 1864, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1309:7:2", + "src": "1309:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2834,14 +2834,14 @@ }, { "constant": false, - "id": 1557, + "id": 1867, "indexed": false, "mutability": "mutable", "name": "publicKey", - "nameLocation": "1331:9:2", + "nameLocation": "1331:9:3", "nodeType": "VariableDeclaration", - "scope": 1564, - "src": "1325:15:2", + "scope": 1874, + "src": "1325:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2849,10 +2849,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1556, + "id": 1866, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1325:5:2", + "src": "1325:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2862,14 +2862,14 @@ }, { "constant": false, - "id": 1559, + "id": 1869, "indexed": false, "mutability": "mutable", "name": "passed", - "nameLocation": "1347:6:2", + "nameLocation": "1347:6:3", "nodeType": "VariableDeclaration", - "scope": 1564, - "src": "1342:11:2", + "scope": 1874, + "src": "1342:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2877,10 +2877,10 @@ "typeString": "bool" }, "typeName": { - "id": 1558, + "id": 1868, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1342:4:2", + "src": "1342:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2890,69 +2890,69 @@ }, { "constant": false, - "id": 1562, + "id": 1872, "indexed": false, "mutability": "mutable", "name": "voteType", - "nameLocation": "1364:8:2", + "nameLocation": "1364:8:3", "nodeType": "VariableDeclaration", - "scope": 1564, - "src": "1355:17:2", + "scope": 1874, + "src": "1355:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 1561, + "id": 1871, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1560, + "id": 1870, "name": "VoteType", "nameLocations": [ - "1355:8:2" + "1355:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1492, - "src": "1355:8:2" + "referencedDeclaration": 1802, + "src": "1355:8:3" }, - "referencedDeclaration": 1492, - "src": "1355:8:2", + "referencedDeclaration": 1802, + "src": "1355:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, "visibility": "internal" } ], - "src": "1308:65:2" + "src": "1308:65:3" } }, { - "id": 1570, + "id": 1880, "nodeType": "EventDefinition", - "src": "1380:46:2", + "src": "1380:46:3", "nodes": [], "anonymous": false, "eventSelector": "f1003b73c437642c0460aee9cd9628b0b8c447b66e6c7c905531b9c644214a11", "name": "VoteCast", - "nameLocation": "1386:8:2", + "nameLocation": "1386:8:3", "parameters": { - "id": 1569, + "id": 1879, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1566, + "id": 1876, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1403:6:2", + "nameLocation": "1403:6:3", "nodeType": "VariableDeclaration", - "scope": 1570, - "src": "1395:14:2", + "scope": 1880, + "src": "1395:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2960,10 +2960,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1565, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1395:7:2", + "src": "1395:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2973,14 +2973,14 @@ }, { "constant": false, - "id": 1568, + "id": 1878, "indexed": false, "mutability": "mutable", "name": "voter", - "nameLocation": "1419:5:2", + "nameLocation": "1419:5:3", "nodeType": "VariableDeclaration", - "scope": 1570, - "src": "1411:13:2", + "scope": 1880, + "src": "1411:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2988,10 +2988,10 @@ "typeString": "address" }, "typeName": { - "id": 1567, + "id": 1877, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1411:7:2", + "src": "1411:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3001,32 +3001,32 @@ "visibility": "internal" } ], - "src": "1394:31:2" + "src": "1394:31:3" } }, { - "id": 1576, + "id": 1886, "nodeType": "EventDefinition", - "src": "1431:52:2", + "src": "1431:52:3", "nodes": [], "anonymous": false, "eventSelector": "52de8a8b06ee845dd9537ef3906e0a37d48c140e75f780715ee892f0ee08c052", "name": "NotEnoughToken", - "nameLocation": "1437:14:2", + "nameLocation": "1437:14:3", "parameters": { - "id": 1575, + "id": 1885, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1572, + "id": 1882, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1460:6:2", + "nameLocation": "1460:6:3", "nodeType": "VariableDeclaration", - "scope": 1576, - "src": "1452:14:2", + "scope": 1886, + "src": "1452:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3034,10 +3034,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1571, + "id": 1881, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1452:7:2", + "src": "1452:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3047,14 +3047,14 @@ }, { "constant": false, - "id": 1574, + "id": 1884, "indexed": false, "mutability": "mutable", "name": "voter", - "nameLocation": "1476:5:2", + "nameLocation": "1476:5:3", "nodeType": "VariableDeclaration", - "scope": 1576, - "src": "1468:13:2", + "scope": 1886, + "src": "1468:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3062,10 +3062,10 @@ "typeString": "address" }, "typeName": { - "id": 1573, + "id": 1883, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1468:7:2", + "src": "1468:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3075,32 +3075,32 @@ "visibility": "internal" } ], - "src": "1451:31:2" + "src": "1451:31:3" } }, { - "id": 1582, + "id": 1892, "nodeType": "EventDefinition", - "src": "1488:50:2", + "src": "1488:50:3", "nodes": [], "anonymous": false, "eventSelector": "04f9da634a3ce855cf7785808a673a41608288999dcd1d08e55bb33c69118f4a", "name": "AlreadyVoted", - "nameLocation": "1494:12:2", + "nameLocation": "1494:12:3", "parameters": { - "id": 1581, + "id": 1891, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1578, + "id": 1888, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1515:6:2", + "nameLocation": "1515:6:3", "nodeType": "VariableDeclaration", - "scope": 1582, - "src": "1507:14:2", + "scope": 1892, + "src": "1507:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3108,10 +3108,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1577, + "id": 1887, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1507:7:2", + "src": "1507:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3121,14 +3121,14 @@ }, { "constant": false, - "id": 1580, + "id": 1890, "indexed": false, "mutability": "mutable", "name": "voter", - "nameLocation": "1531:5:2", + "nameLocation": "1531:5:3", "nodeType": "VariableDeclaration", - "scope": 1582, - "src": "1523:13:2", + "scope": 1892, + "src": "1523:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3136,10 +3136,10 @@ "typeString": "address" }, "typeName": { - "id": 1579, + "id": 1889, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1523:7:2", + "src": "1523:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3149,32 +3149,32 @@ "visibility": "internal" } ], - "src": "1506:31:2" + "src": "1506:31:3" } }, { - "id": 1588, + "id": 1898, "nodeType": "EventDefinition", - "src": "1543:54:2", + "src": "1543:54:3", "nodes": [], "anonymous": false, "eventSelector": "35f8d4297cedff70ac1e00ca57f340dc39eb0234be11eeeb57a0ff94015b7346", "name": "InvalidSignature", - "nameLocation": "1549:16:2", + "nameLocation": "1549:16:3", "parameters": { - "id": 1587, + "id": 1897, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1584, + "id": 1894, "indexed": false, "mutability": "mutable", "name": "roomId", - "nameLocation": "1574:6:2", + "nameLocation": "1574:6:3", "nodeType": "VariableDeclaration", - "scope": 1588, - "src": "1566:14:2", + "scope": 1898, + "src": "1566:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3182,10 +3182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1583, + "id": 1893, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1566:7:2", + "src": "1566:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3195,14 +3195,14 @@ }, { "constant": false, - "id": 1586, + "id": 1896, "indexed": false, "mutability": "mutable", "name": "voter", - "nameLocation": "1590:5:2", + "nameLocation": "1590:5:3", "nodeType": "VariableDeclaration", - "scope": 1588, - "src": "1582:13:2", + "scope": 1898, + "src": "1582:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3210,10 +3210,10 @@ "typeString": "address" }, "typeName": { - "id": 1585, + "id": 1895, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1582:7:2", + "src": "1582:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3223,20 +3223,20 @@ "visibility": "internal" } ], - "src": "1565:31:2" + "src": "1565:31:3" } }, { - "id": 1591, + "id": 1901, "nodeType": "VariableDeclaration", - "src": "1603:26:2", + "src": "1603:26:3", "nodes": [], "constant": false, "functionSelector": "c41c2f24", "mutability": "mutable", "name": "directory", - "nameLocation": "1620:9:2", - "scope": 2721, + "nameLocation": "1620:9:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3244,20 +3244,20 @@ "typeString": "contract Directory" }, "typeName": { - "id": 1590, + "id": 1900, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1589, + "id": 1899, "name": "Directory", "nameLocations": [ - "1603:9:2" + "1603:9:3" ], "nodeType": "IdentifierPath", "referencedDeclaration": 294, - "src": "1603:9:2" + "src": "1603:9:3" }, "referencedDeclaration": 294, - "src": "1603:9:2", + "src": "1603:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" @@ -3266,55 +3266,55 @@ "visibility": "public" }, { - "id": 1594, + "id": 1904, "nodeType": "VariableDeclaration", - "src": "1635:24:2", + "src": "1635:24:3", "nodes": [], "constant": false, "functionSelector": "fc0c546a", "mutability": "mutable", "name": "token", - "nameLocation": "1654:5:2", - "scope": 2721, + "nameLocation": "1654:5:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 1593, + "id": 1903, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1592, + "id": 1902, "name": "MiniMeToken", "nameLocations": [ - "1635:11:2" + "1635:11:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33237, - "src": "1635:11:2" + "referencedDeclaration": 33553, + "src": "1635:11:3" }, - "referencedDeclaration": 33237, - "src": "1635:11:2", + "referencedDeclaration": 33553, + "src": "1635:11:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, "visibility": "public" }, { - "id": 1596, + "id": 1906, "nodeType": "VariableDeclaration", - "src": "1666:27:2", + "src": "1666:27:3", "nodes": [], "constant": false, "functionSelector": "0a64522f", "mutability": "mutable", "name": "votingLength", - "nameLocation": "1681:12:2", - "scope": 2721, + "nameLocation": "1681:12:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3322,10 +3322,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1595, + "id": 1905, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1666:7:2", + "src": "1666:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3334,16 +3334,16 @@ "visibility": "public" }, { - "id": 1598, + "id": 1908, "nodeType": "VariableDeclaration", - "src": "1699:39:2", + "src": "1699:39:3", "nodes": [], "constant": false, "functionSelector": "ff9bd048", "mutability": "mutable", "name": "votingVerificationLength", - "nameLocation": "1714:24:2", - "scope": 2721, + "nameLocation": "1714:24:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3351,10 +3351,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1597, + "id": 1907, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1699:7:2", + "src": "1699:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3363,16 +3363,16 @@ "visibility": "public" }, { - "id": 1600, + "id": 1910, "nodeType": "VariableDeclaration", - "src": "1744:32:2", + "src": "1744:32:3", "nodes": [], "constant": false, "functionSelector": "7ed1689c", "mutability": "mutable", "name": "timeBetweenVoting", - "nameLocation": "1759:17:2", - "scope": 2721, + "nameLocation": "1759:17:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3380,10 +3380,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1599, + "id": 1909, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1744:7:2", + "src": "1744:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3392,64 +3392,64 @@ "visibility": "public" }, { - "id": 1604, + "id": 1914, "nodeType": "VariableDeclaration", - "src": "1783:31:2", + "src": "1783:31:3", "nodes": [], "constant": false, "functionSelector": "730d0108", "mutability": "mutable", "name": "votingRooms", - "nameLocation": "1803:11:2", - "scope": 2721, + "nameLocation": "1803:11:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom[]" }, "typeName": { "baseType": { - "id": 1602, + "id": 1912, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1601, + "id": 1911, "name": "VotingRoom", "nameLocations": [ - "1783:10:2" + "1783:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "1783:10:2" + "referencedDeclaration": 1838, + "src": "1783:10:3" }, - "referencedDeclaration": 1528, - "src": "1783:10:2", + "referencedDeclaration": 1838, + "src": "1783:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 1603, + "id": 1913, "nodeType": "ArrayTypeName", - "src": "1783:12:2", + "src": "1783:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } }, "visibility": "public" }, { - "id": 1608, + "id": 1918, "nodeType": "VariableDeclaration", - "src": "1820:58:2", + "src": "1820:58:3", "nodes": [], "constant": false, "functionSelector": "f6a54ac6", "mutability": "mutable", "name": "activeRoomIDByCommunityID", - "nameLocation": "1853:25:2", - "scope": 2721, + "nameLocation": "1853:25:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3457,21 +3457,21 @@ "typeString": "mapping(bytes => uint256)" }, "typeName": { - "id": 1607, + "id": 1917, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1605, + "id": 1915, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1828:5:2", + "src": "1828:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "nodeType": "Mapping", - "src": "1820:25:2", + "src": "1820:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes => uint256)" @@ -3479,10 +3479,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1606, + "id": 1916, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1837:7:2", + "src": "1837:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3492,15 +3492,15 @@ "visibility": "public" }, { - "id": 1613, + "id": 1923, "nodeType": "VariableDeclaration", - "src": "1884:56:2", + "src": "1884:56:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "roomIDsByCommunityID", - "nameLocation": "1920:20:2", - "scope": 2721, + "nameLocation": "1920:20:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3508,21 +3508,21 @@ "typeString": "mapping(bytes => uint256[])" }, "typeName": { - "id": 1612, + "id": 1922, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1609, + "id": 1919, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1892:5:2", + "src": "1892:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "nodeType": "Mapping", - "src": "1884:27:2", + "src": "1884:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes => uint256[])" @@ -3531,18 +3531,18 @@ "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 1610, + "id": 1920, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1901:7:2", + "src": "1901:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1611, + "id": 1921, "nodeType": "ArrayTypeName", - "src": "1901:9:2", + "src": "1901:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -3552,15 +3552,15 @@ "visibility": "private" }, { - "id": 1617, + "id": 1927, "nodeType": "VariableDeclaration", - "src": "2025:62:2", + "src": "2025:62:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "transientRoomIdToVotesCount", - "nameLocation": "2060:27:2", - "scope": 2721, + "nameLocation": "2060:27:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3568,21 +3568,21 @@ "typeString": "mapping(uint256 => uint32)" }, "typeName": { - "id": 1616, + "id": 1926, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1614, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2033:7:2", + "src": "2033:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2025:26:2", + "src": "2025:26:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" @@ -3590,10 +3590,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1615, + "id": 1925, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "2044:6:2", + "src": "2044:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -3603,15 +3603,15 @@ "visibility": "private" }, { - "id": 1620, + "id": 1930, "nodeType": "VariableDeclaration", - "src": "2169:34:2", + "src": "2169:34:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "transientRoomIds", - "nameLocation": "2187:16:2", - "scope": 2721, + "nameLocation": "2187:16:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3620,18 +3620,18 @@ }, "typeName": { "baseType": { - "id": 1618, + "id": 1928, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2169:7:2", + "src": "2169:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1619, + "id": 1929, "nodeType": "ArrayTypeName", - "src": "2169:9:2", + "src": "2169:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -3640,69 +3640,69 @@ "visibility": "private" }, { - "id": 1626, + "id": 1936, "nodeType": "VariableDeclaration", - "src": "2210:48:2", + "src": "2210:48:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "votesByRoomID", - "nameLocation": "2245:13:2", - "scope": 2721, + "nameLocation": "2245:13:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote[])" }, "typeName": { - "id": 1625, + "id": 1935, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1621, + "id": 1931, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2218:7:2", + "src": "2218:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2210:26:2", + "src": "2210:26:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote[])" }, "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { "baseType": { - "id": 1623, + "id": 1933, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1622, + "id": 1932, "name": "Vote", "nameLocations": [ - "2229:4:2" + "2229:4:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1500, - "src": "2229:4:2" + "referencedDeclaration": 1810, + "src": "2229:4:3" }, - "referencedDeclaration": 1500, - "src": "2229:4:2", + "referencedDeclaration": 1810, + "src": "2229:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote" } }, - "id": 1624, + "id": 1934, "nodeType": "ArrayTypeName", - "src": "2229:6:2", + "src": "2229:6:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.Vote[]" } } @@ -3710,15 +3710,15 @@ "visibility": "private" }, { - "id": 1632, + "id": 1942, "nodeType": "VariableDeclaration", - "src": "2264:75:2", + "src": "2264:75:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "votedAddressesByRoomID", - "nameLocation": "2317:22:2", - "scope": 2721, + "nameLocation": "2317:22:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3726,21 +3726,21 @@ "typeString": "mapping(uint256 => mapping(address => bool))" }, "typeName": { - "id": 1631, + "id": 1941, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1627, + "id": 1937, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2272:7:2", + "src": "2272:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2264:44:2", + "src": "2264:44:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" @@ -3748,21 +3748,21 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1630, + "id": 1940, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 1628, + "id": 1938, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2291:7:2", + "src": "2291:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "2283:24:2", + "src": "2283:24:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" @@ -3770,10 +3770,10 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 1629, + "id": 1939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2302:4:2", + "src": "2302:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3784,15 +3784,15 @@ "visibility": "private" }, { - "id": 1637, + "id": 1947, "nodeType": "VariableDeclaration", - "src": "2346:152:2", + "src": "2346:152:3", "nodes": [], "constant": true, "mutability": "constant", "name": "EIP712DOMAIN_TYPEHASH", - "nameLocation": "2371:21:2", - "scope": 2721, + "nameLocation": "2371:21:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3800,10 +3800,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1633, + "id": 1943, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2346:7:2", + "src": "2346:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3813,14 +3813,14 @@ "arguments": [ { "hexValue": "454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429", - "id": 1635, + "id": 1945, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2413:84:2", + "src": "2413:84:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f", "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" @@ -3835,18 +3835,18 @@ "typeString": "literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"" } ], - "id": 1634, + "id": 1944, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "2403:9:2", + "src": "2403:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1636, + "id": 1946, "isConstant": false, "isLValue": false, "isPure": true, @@ -3855,7 +3855,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2403:95:2", + "src": "2403:95:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -3865,21 +3865,21 @@ "visibility": "private" }, { - "id": 1646, + "id": 1956, "nodeType": "StructDefinition", - "src": "2505:132:2", + "src": "2505:132:3", "nodes": [], "canonicalName": "VotingContract.EIP712Domain", "members": [ { "constant": false, - "id": 1639, + "id": 1949, "mutability": "mutable", "name": "name", - "nameLocation": "2542:4:2", + "nameLocation": "2542:4:3", "nodeType": "VariableDeclaration", - "scope": 1646, - "src": "2535:11:2", + "scope": 1956, + "src": "2535:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3887,10 +3887,10 @@ "typeString": "string" }, "typeName": { - "id": 1638, + "id": 1948, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2535:6:2", + "src": "2535:6:3", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3900,13 +3900,13 @@ }, { "constant": false, - "id": 1641, + "id": 1951, "mutability": "mutable", "name": "version", - "nameLocation": "2563:7:2", + "nameLocation": "2563:7:3", "nodeType": "VariableDeclaration", - "scope": 1646, - "src": "2556:14:2", + "scope": 1956, + "src": "2556:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3914,10 +3914,10 @@ "typeString": "string" }, "typeName": { - "id": 1640, + "id": 1950, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2556:6:2", + "src": "2556:6:3", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3927,13 +3927,13 @@ }, { "constant": false, - "id": 1643, + "id": 1953, "mutability": "mutable", "name": "chainId", - "nameLocation": "2588:7:2", + "nameLocation": "2588:7:3", "nodeType": "VariableDeclaration", - "scope": 1646, - "src": "2580:15:2", + "scope": 1956, + "src": "2580:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3941,10 +3941,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1642, + "id": 1952, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2580:7:2", + "src": "2580:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3954,13 +3954,13 @@ }, { "constant": false, - "id": 1645, + "id": 1955, "mutability": "mutable", "name": "verifyingContract", - "nameLocation": "2613:17:2", + "nameLocation": "2613:17:3", "nodeType": "VariableDeclaration", - "scope": 1646, - "src": "2605:25:2", + "scope": 1956, + "src": "2605:25:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3968,10 +3968,10 @@ "typeString": "address" }, "typeName": { - "id": 1644, + "id": 1954, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2605:7:2", + "src": "2605:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3982,20 +3982,20 @@ } ], "name": "EIP712Domain", - "nameLocation": "2512:12:2", - "scope": 2721, + "nameLocation": "2512:12:3", + "scope": 3037, "visibility": "public" }, { - "id": 1648, + "id": 1958, "nodeType": "VariableDeclaration", - "src": "2643:32:2", + "src": "2643:32:3", "nodes": [], "constant": false, "mutability": "mutable", "name": "DOMAIN_SEPARATOR", - "nameLocation": "2659:16:2", - "scope": 2721, + "nameLocation": "2659:16:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4003,10 +4003,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1647, + "id": 1957, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2643:7:2", + "src": "2643:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4015,14 +4015,14 @@ "visibility": "private" }, { - "id": 1682, + "id": 1992, "nodeType": "FunctionDefinition", - "src": "2682:395:2", + "src": "2682:395:3", "nodes": [], "body": { - "id": 1681, + "id": 1991, "nodeType": "Block", - "src": "2762:315:2", + "src": "2762:315:3", "nodes": [], "statements": [ { @@ -4031,12 +4031,12 @@ { "arguments": [ { - "id": 1659, + "id": 1969, "name": "EIP712DOMAIN_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1637, - "src": "2830:21:2", + "referencedDeclaration": 1947, + "src": "2830:21:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4048,27 +4048,27 @@ "arguments": [ { "expression": { - "id": 1663, + "id": 1973, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "2885:12:2", + "referencedDeclaration": 1961, + "src": "2885:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1664, + "id": 1974, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "2898:4:2", + "memberLocation": "2898:4:3", "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 1639, - "src": "2885:17:2", + "referencedDeclaration": 1949, + "src": "2885:17:3", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -4082,26 +4082,26 @@ "typeString": "string memory" } ], - "id": 1662, + "id": 1972, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2879:5:2", + "src": "2879:5:3", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 1661, + "id": 1971, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2879:5:2", + "src": "2879:5:3", "typeDescriptions": {} } }, - "id": 1665, + "id": 1975, "isConstant": false, "isLValue": false, "isPure": false, @@ -4110,7 +4110,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2879:24:2", + "src": "2879:24:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -4125,18 +4125,18 @@ "typeString": "bytes memory" } ], - "id": 1660, + "id": 1970, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "2869:9:2", + "src": "2869:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1666, + "id": 1976, "isConstant": false, "isLValue": false, "isPure": false, @@ -4145,7 +4145,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2869:35:2", + "src": "2869:35:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4158,27 +4158,27 @@ "arguments": [ { "expression": { - "id": 1670, + "id": 1980, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "2938:12:2", + "referencedDeclaration": 1961, + "src": "2938:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1671, + "id": 1981, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "2951:7:2", + "memberLocation": "2951:7:3", "memberName": "version", "nodeType": "MemberAccess", - "referencedDeclaration": 1641, - "src": "2938:20:2", + "referencedDeclaration": 1951, + "src": "2938:20:3", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -4192,26 +4192,26 @@ "typeString": "string memory" } ], - "id": 1669, + "id": 1979, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2932:5:2", + "src": "2932:5:3", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 1668, + "id": 1978, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2932:5:2", + "src": "2932:5:3", "typeDescriptions": {} } }, - "id": 1672, + "id": 1982, "isConstant": false, "isLValue": false, "isPure": false, @@ -4220,7 +4220,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2932:27:2", + "src": "2932:27:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -4235,18 +4235,18 @@ "typeString": "bytes memory" } ], - "id": 1667, + "id": 1977, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "2922:9:2", + "src": "2922:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1673, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": false, @@ -4255,7 +4255,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2922:38:2", + "src": "2922:38:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4264,27 +4264,27 @@ }, { "expression": { - "id": 1674, + "id": 1984, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "2978:12:2", + "referencedDeclaration": 1961, + "src": "2978:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1675, + "id": 1985, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "2991:7:2", + "memberLocation": "2991:7:3", "memberName": "chainId", "nodeType": "MemberAccess", - "referencedDeclaration": 1643, - "src": "2978:20:2", + "referencedDeclaration": 1953, + "src": "2978:20:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4292,27 +4292,27 @@ }, { "expression": { - "id": 1676, + "id": 1986, "name": "eip712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1651, - "src": "3016:12:2", + "referencedDeclaration": 1961, + "src": "3016:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } }, - "id": 1677, + "id": 1987, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "3029:17:2", + "memberLocation": "3029:17:3", "memberName": "verifyingContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1645, - "src": "3016:30:2", + "referencedDeclaration": 1955, + "src": "3016:30:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4343,32 +4343,32 @@ } ], "expression": { - "id": 1657, + "id": 1967, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, - "src": "2802:3:2", + "src": "2802:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 1658, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "2806:6:2", + "memberLocation": "2806:6:3", "memberName": "encode", "nodeType": "MemberAccess", - "src": "2802:10:2", + "src": "2802:10:3", "typeDescriptions": { "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 1678, + "id": 1988, "isConstant": false, "isLValue": false, "isPure": false, @@ -4377,7 +4377,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2802:258:2", + "src": "2802:258:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -4392,18 +4392,18 @@ "typeString": "bytes memory" } ], - "id": 1656, + "id": 1966, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "2779:9:2", + "src": "2779:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1679, + "id": 1989, "isConstant": false, "isLValue": false, "isPure": false, @@ -4412,17 +4412,17 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2779:291:2", + "src": "2779:291:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1655, - "id": 1680, + "functionReturnParameters": 1965, + "id": 1990, "nodeType": "Return", - "src": "2772:298:2" + "src": "2772:298:3" } ] }, @@ -4430,64 +4430,64 @@ "kind": "function", "modifiers": [], "name": "hash", - "nameLocation": "2691:4:2", + "nameLocation": "2691:4:3", "parameters": { - "id": 1652, + "id": 1962, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1651, + "id": 1961, "mutability": "mutable", "name": "eip712Domain", - "nameLocation": "2716:12:2", + "nameLocation": "2716:12:3", "nodeType": "VariableDeclaration", - "scope": 1682, - "src": "2696:32:2", + "scope": 1992, + "src": "2696:32:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain" }, "typeName": { - "id": 1650, + "id": 1960, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1649, + "id": 1959, "name": "EIP712Domain", "nameLocations": [ - "2696:12:2" + "2696:12:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1646, - "src": "2696:12:2" + "referencedDeclaration": 1956, + "src": "2696:12:3" }, - "referencedDeclaration": 1646, - "src": "2696:12:2", + "referencedDeclaration": 1956, + "src": "2696:12:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_storage_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_storage_ptr", "typeString": "struct VotingContract.EIP712Domain" } }, "visibility": "internal" } ], - "src": "2695:34:2" + "src": "2695:34:3" }, "returnParameters": { - "id": 1655, + "id": 1965, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1654, + "id": 1964, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1682, - "src": "2753:7:2", + "scope": 1992, + "src": "2753:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4495,10 +4495,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1653, + "id": 1963, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2753:7:2", + "src": "2753:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4507,24 +4507,24 @@ "visibility": "internal" } ], - "src": "2752:9:2" + "src": "2752:9:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 1687, + "id": 1997, "nodeType": "VariableDeclaration", - "src": "3083:138:2", + "src": "3083:138:3", "nodes": [], "constant": true, "functionSelector": "86522973", "mutability": "constant", "name": "VOTE_TYPEHASH", - "nameLocation": "3107:13:2", - "scope": 2721, + "nameLocation": "3107:13:3", + "scope": 3037, "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4532,10 +4532,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1683, + "id": 1993, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3083:7:2", + "src": "3083:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4545,14 +4545,14 @@ "arguments": [ { "hexValue": "566f74652875696e7432353620726f6f6d4964416e64547970652c75696e7432353620736e74416d6f756e742c6164647265737320766f7465722c75696e743235362074696d657374616d7029", - "id": 1685, + "id": 1995, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3141:79:2", + "src": "3141:79:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8dfdde54cc98cd88a1a27e5243a7be688ac8c14d9008cb1cb76670591060447", "typeString": "literal_string \"Vote(uint256 roomIdAndType,uint256 sntAmount,address voter,uint256 timestamp)\"" @@ -4567,18 +4567,18 @@ "typeString": "literal_string \"Vote(uint256 roomIdAndType,uint256 sntAmount,address voter,uint256 timestamp)\"" } ], - "id": 1684, + "id": 1994, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "3131:9:2", + "src": "3131:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1686, + "id": 1996, "isConstant": false, "isLValue": false, "isPure": true, @@ -4587,7 +4587,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3131:90:2", + "src": "3131:90:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4597,14 +4597,14 @@ "visibility": "public" }, { - "id": 1711, + "id": 2021, "nodeType": "FunctionDefinition", - "src": "3228:196:2", + "src": "3228:196:3", "nodes": [], "body": { - "id": 1710, + "id": 2020, "nodeType": "Block", - "src": "3300:124:2", + "src": "3300:124:3", "nodes": [], "statements": [ { @@ -4613,12 +4613,12 @@ { "arguments": [ { - "id": 1698, + "id": 2008, "name": "VOTE_TYPEHASH", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1687, - "src": "3338:13:2", + "referencedDeclaration": 1997, + "src": "3338:13:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4626,27 +4626,27 @@ }, { "expression": { - "id": 1699, + "id": 2009, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3353:4:2", + "referencedDeclaration": 2000, + "src": "3353:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1700, + "id": 2010, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3358:13:2", + "memberLocation": "3358:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1532, - "src": "3353:18:2", + "referencedDeclaration": 1842, + "src": "3353:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4654,27 +4654,27 @@ }, { "expression": { - "id": 1701, + "id": 2011, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3373:4:2", + "referencedDeclaration": 2000, + "src": "3373:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1702, + "id": 2012, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3378:9:2", + "memberLocation": "3378:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1534, - "src": "3373:14:2", + "referencedDeclaration": 1844, + "src": "3373:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4682,27 +4682,27 @@ }, { "expression": { - "id": 1703, + "id": 2013, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3389:4:2", + "referencedDeclaration": 2000, + "src": "3389:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1704, + "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3394:5:2", + "memberLocation": "3394:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "3389:10:2", + "referencedDeclaration": 1840, + "src": "3389:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4710,27 +4710,27 @@ }, { "expression": { - "id": 1705, + "id": 2015, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3401:4:2", + "referencedDeclaration": 2000, + "src": "3401:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1706, + "id": 2016, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3406:9:2", + "memberLocation": "3406:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1536, - "src": "3401:14:2", + "referencedDeclaration": 1846, + "src": "3401:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4761,32 +4761,32 @@ } ], "expression": { - "id": 1696, + "id": 2006, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, - "src": "3327:3:2", + "src": "3327:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 1697, + "id": 2007, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "3331:6:2", + "memberLocation": "3331:6:3", "memberName": "encode", "nodeType": "MemberAccess", - "src": "3327:10:2", + "src": "3327:10:3", "typeDescriptions": { "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 1707, + "id": 2017, "isConstant": false, "isLValue": false, "isPure": false, @@ -4795,7 +4795,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3327:89:2", + "src": "3327:89:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -4810,18 +4810,18 @@ "typeString": "bytes memory" } ], - "id": 1695, + "id": 2005, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "3317:9:2", + "src": "3317:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1708, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": false, @@ -4830,17 +4830,17 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3317:100:2", + "src": "3317:100:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1709, + "functionReturnParameters": 2004, + "id": 2019, "nodeType": "Return", - "src": "3310:107:2" + "src": "3310:107:3" } ] }, @@ -4848,64 +4848,64 @@ "kind": "function", "modifiers": [], "name": "hash", - "nameLocation": "3237:4:2", + "nameLocation": "3237:4:3", "parameters": { - "id": 1691, + "id": 2001, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1690, + "id": 2000, "mutability": "mutable", "name": "vote", - "nameLocation": "3262:4:2", + "nameLocation": "3262:4:3", "nodeType": "VariableDeclaration", - "scope": 1711, - "src": "3242:24:2", + "scope": 2021, + "src": "3242:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 1689, + "id": 1999, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1688, + "id": 1998, "name": "SignedVote", "nameLocations": [ - "3242:10:2" + "3242:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1541, - "src": "3242:10:2" + "referencedDeclaration": 1851, + "src": "3242:10:3" }, - "referencedDeclaration": 1541, - "src": "3242:10:2", + "referencedDeclaration": 1851, + "src": "3242:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, "visibility": "internal" } ], - "src": "3241:26:2" + "src": "3241:26:3" }, "returnParameters": { - "id": 1694, + "id": 2004, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 2003, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1711, - "src": "3291:7:2", + "scope": 2021, + "src": "3291:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4913,10 +4913,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 2002, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3291:7:2", + "src": "3291:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4925,38 +4925,38 @@ "visibility": "internal" } ], - "src": "3290:9:2" + "src": "3290:9:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { - "id": 1744, + "id": 2054, "nodeType": "FunctionDefinition", - "src": "3430:245:2", + "src": "3430:245:3", "nodes": [], "body": { - "id": 1743, + "id": 2053, "nodeType": "Block", - "src": "3510:165:2", + "src": "3510:165:3", "nodes": [], "statements": [ { "assignments": [ - 1720 + 2030 ], "declarations": [ { "constant": false, - "id": 1720, + "id": 2030, "mutability": "mutable", "name": "digest", - "nameLocation": "3528:6:2", + "nameLocation": "3528:6:3", "nodeType": "VariableDeclaration", - "scope": 1743, - "src": "3520:14:2", + "scope": 2053, + "src": "3520:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4964,10 +4964,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1719, + "id": 2029, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3520:7:2", + "src": "3520:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4976,21 +4976,21 @@ "visibility": "internal" } ], - "id": 1731, + "id": 2041, "initialValue": { "arguments": [ { "arguments": [ { "hexValue": "1901", - "id": 1724, + "id": 2034, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3564:10:2", + "src": "3564:10:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541", "typeString": "literal_string hex\"1901\"" @@ -4998,12 +4998,12 @@ "value": "\u0019\u0001" }, { - "id": 1725, + "id": 2035, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1648, - "src": "3576:16:2", + "referencedDeclaration": 1958, + "src": "3576:16:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5012,14 +5012,14 @@ { "arguments": [ { - "id": 1727, + "id": 2037, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "3599:4:2", + "referencedDeclaration": 2024, + "src": "3599:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -5027,25 +5027,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 1726, + "id": 2036, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 1682, - 1711 + 1992, + 2021 ], - "referencedDeclaration": 1711, - "src": "3594:4:2", + "referencedDeclaration": 2021, + "src": "3594:4:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$1541_calldata_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bytes32_$", "typeString": "function (struct VotingContract.SignedVote calldata) pure returns (bytes32)" } }, - "id": 1728, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": false, @@ -5054,7 +5054,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3594:10:2", + "src": "3594:10:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5078,32 +5078,32 @@ } ], "expression": { - "id": 1722, + "id": 2032, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -1, - "src": "3547:3:2", + "src": "3547:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 1723, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "3551:12:2", + "memberLocation": "3551:12:3", "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "3547:16:2", + "src": "3547:16:3", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 1729, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, @@ -5112,7 +5112,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3547:58:2", + "src": "3547:58:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -5127,18 +5127,18 @@ "typeString": "bytes memory" } ], - "id": 1721, + "id": 2031, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, - "src": "3537:9:2", + "src": "3537:9:3", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1730, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, @@ -5147,7 +5147,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3537:69:2", + "src": "3537:69:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -5155,7 +5155,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "3520:86:2" + "src": "3520:86:3" }, { "expression": { @@ -5163,7 +5163,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1741, + "id": 2051, "isConstant": false, "isLValue": false, "isPure": false, @@ -5172,27 +5172,27 @@ "arguments": [ { "expression": { - "id": 1734, + "id": 2044, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "3638:4:2", + "referencedDeclaration": 2024, + "src": "3638:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1735, + "id": 2045, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3643:1:2", + "memberLocation": "3643:1:3", "memberName": "r", "nodeType": "MemberAccess", - "referencedDeclaration": 1538, - "src": "3638:6:2", + "referencedDeclaration": 1848, + "src": "3638:6:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5200,27 +5200,27 @@ }, { "expression": { - "id": 1736, + "id": 2046, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "3646:4:2", + "referencedDeclaration": 2024, + "src": "3646:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1737, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3651:2:2", + "memberLocation": "3651:2:3", "memberName": "vs", "nodeType": "MemberAccess", - "referencedDeclaration": 1540, - "src": "3646:7:2", + "referencedDeclaration": 1850, + "src": "3646:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5239,33 +5239,33 @@ } ], "expression": { - "id": 1732, + "id": 2042, "name": "digest", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1720, - "src": "3623:6:2", + "referencedDeclaration": 2030, + "src": "3623:6:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1733, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3630:7:2", + "memberLocation": "3630:7:3", "memberName": "recover", "nodeType": "MemberAccess", - "referencedDeclaration": 44189, - "src": "3623:14:2", + "referencedDeclaration": 44767, + "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": 1738, + "id": 2048, "isConstant": false, "isLValue": false, "isPure": false, @@ -5274,7 +5274,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3623:31:2", + "src": "3623:31:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -5285,42 +5285,42 @@ "operator": "==", "rightExpression": { "expression": { - "id": 1739, + "id": 2049, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "3658:4:2", + "referencedDeclaration": 2024, + "src": "3658:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 1740, + "id": 2050, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3663:5:2", + "memberLocation": "3663:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "3658:10:2", + "referencedDeclaration": 1840, + "src": "3658:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "3623:45:2", + "src": "3623:45:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1718, - "id": 1742, + "functionReturnParameters": 2028, + "id": 2052, "nodeType": "Return", - "src": "3616:52:2" + "src": "3616:52:3" } ] }, @@ -5328,64 +5328,64 @@ "kind": "function", "modifiers": [], "name": "verifySignature", - "nameLocation": "3439:15:2", + "nameLocation": "3439:15:3", "parameters": { - "id": 1715, + "id": 2025, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1714, + "id": 2024, "mutability": "mutable", "name": "vote", - "nameLocation": "3475:4:2", + "nameLocation": "3475:4:3", "nodeType": "VariableDeclaration", - "scope": 1744, - "src": "3455:24:2", + "scope": 2054, + "src": "3455:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 1713, + "id": 2023, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1712, + "id": 2022, "name": "SignedVote", "nameLocations": [ - "3455:10:2" + "3455:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1541, - "src": "3455:10:2" + "referencedDeclaration": 1851, + "src": "3455:10:3" }, - "referencedDeclaration": 1541, - "src": "3455:10:2", + "referencedDeclaration": 1851, + "src": "3455:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, "visibility": "internal" } ], - "src": "3454:26:2" + "src": "3454:26:3" }, "returnParameters": { - "id": 1718, + "id": 2028, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1717, + "id": 2027, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1744, - "src": "3504:4:2", + "scope": 2054, + "src": "3504:4:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5393,10 +5393,10 @@ "typeString": "bool" }, "typeName": { - "id": 1716, + "id": 2026, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3504:4:2", + "src": "3504:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5405,81 +5405,81 @@ "visibility": "internal" } ], - "src": "3503:6:2" + "src": "3503:6:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "internal" }, { - "id": 1788, + "id": 2098, "nodeType": "FunctionDefinition", - "src": "3681:581:2", + "src": "3681:581:3", "nodes": [], "body": { - "id": 1787, + "id": 2097, "nodeType": "Block", - "src": "3837:425:2", + "src": "3837:425:3", "nodes": [], "statements": [ { "expression": { - "id": 1758, + "id": 2068, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1756, + "id": 2066, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1594, - "src": "3847:5:2", + "referencedDeclaration": 1904, + "src": "3847:5:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1757, + "id": 2067, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1747, - "src": "3855:6:2", + "referencedDeclaration": 2057, + "src": "3855:6:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, - "src": "3847:14:2", + "src": "3847:14:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, - "id": 1759, + "id": 2069, "nodeType": "ExpressionStatement", - "src": "3847:14:2" + "src": "3847:14:3" }, { "expression": { - "id": 1762, + "id": 2072, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1760, + "id": 2070, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1596, - "src": "3871:12:2", + "referencedDeclaration": 1906, + "src": "3871:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5488,41 +5488,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1761, + "id": 2071, "name": "_votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1749, - "src": "3886:13:2", + "referencedDeclaration": 2059, + "src": "3886:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3871:28:2", + "src": "3871:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1763, + "id": 2073, "nodeType": "ExpressionStatement", - "src": "3871:28:2" + "src": "3871:28:3" }, { "expression": { - "id": 1766, + "id": 2076, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1764, + "id": 2074, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "3909:24:2", + "referencedDeclaration": 1908, + "src": "3909:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5531,41 +5531,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1765, + "id": 2075, "name": "_votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1751, - "src": "3936:25:2", + "referencedDeclaration": 2061, + "src": "3936:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3909:52:2", + "src": "3909:52:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1767, + "id": 2077, "nodeType": "ExpressionStatement", - "src": "3909:52:2" + "src": "3909:52:3" }, { "expression": { - "id": 1770, + "id": 2080, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1768, + "id": 2078, "name": "timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1600, - "src": "3971:17:2", + "referencedDeclaration": 1910, + "src": "3971:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5574,41 +5574,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1769, + "id": 2079, "name": "_timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1753, - "src": "3991:18:2", + "referencedDeclaration": 2063, + "src": "3991:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3971:38:2", + "src": "3971:38:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1771, + "id": 2081, "nodeType": "ExpressionStatement", - "src": "3971:38:2" + "src": "3971:38:3" }, { "expression": { - "id": 1785, + "id": 2095, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1772, + "id": 2082, "name": "DOMAIN_SEPARATOR", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1648, - "src": "4019:16:2", + "referencedDeclaration": 1958, + "src": "4019:16:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5622,14 +5622,14 @@ "arguments": [ { "hexValue": "566f74696e6720436f6e7472616374", - "id": 1775, + "id": 2085, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4093:17:2", + "src": "4093:17:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_69b493748799c62bd61914a59d8922924cbc47f736c41b58c50c609b46ab6fbe", "typeString": "literal_string \"Voting Contract\"" @@ -5638,14 +5638,14 @@ }, { "hexValue": "31", - "id": 1776, + "id": 2086, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4137:3:2", + "src": "4137:3:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", "typeString": "literal_string \"1\"" @@ -5654,26 +5654,26 @@ }, { "expression": { - "id": 1777, + "id": 2087, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "4167:5:2", + "src": "4167:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 1778, + "id": 2088, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "4173:7:2", + "memberLocation": "4173:7:3", "memberName": "chainid", "nodeType": "MemberAccess", - "src": "4167:13:2", + "src": "4167:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5682,14 +5682,14 @@ { "arguments": [ { - "id": 1781, + "id": 2091, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -28, - "src": "4225:4:2", + "src": "4225:4:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_VotingContract_$2721", + "typeIdentifier": "t_contract$_VotingContract_$3037", "typeString": "contract VotingContract" } } @@ -5697,30 +5697,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_VotingContract_$2721", + "typeIdentifier": "t_contract$_VotingContract_$3037", "typeString": "contract VotingContract" } ], - "id": 1780, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "4217:7:2", + "src": "4217:7:3", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1779, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4217:7:2", + "src": "4217:7:3", "typeDescriptions": {} } }, - "id": 1782, + "id": 2092, "isConstant": false, "isLValue": false, "isPure": false, @@ -5729,7 +5729,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4217:13:2", + "src": "4217:13:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -5756,28 +5756,28 @@ "typeString": "address" } ], - "id": 1774, + "id": 2084, "name": "EIP712Domain", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1646, - "src": "4056:12:2", + "referencedDeclaration": 1956, + "src": "4056:12:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1646_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_EIP712Domain_$1956_storage_ptr_$", "typeString": "type(struct VotingContract.EIP712Domain storage pointer)" } }, - "id": 1783, + "id": 2093, "isConstant": false, "isLValue": false, "isPure": false, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [ - "4087:4:2", - "4128:7:2", - "4158:7:2", - "4198:17:2" + "4087:4:3", + "4128:7:3", + "4158:7:3", + "4198:17:3" ], "names": [ "name", @@ -5786,10 +5786,10 @@ "verifyingContract" ], "nodeType": "FunctionCall", - "src": "4056:189:2", + "src": "4056:189:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } } @@ -5797,25 +5797,25 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_EIP712Domain_$1646_memory_ptr", + "typeIdentifier": "t_struct$_EIP712Domain_$1956_memory_ptr", "typeString": "struct VotingContract.EIP712Domain memory" } ], - "id": 1773, + "id": 2083, "name": "hash", "nodeType": "Identifier", "overloadedDeclarations": [ - 1682, - 1711 + 1992, + 2021 ], - "referencedDeclaration": 1682, - "src": "4038:4:2", + "referencedDeclaration": 1992, + "src": "4038:4:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$1646_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_pure$_t_struct$_EIP712Domain_$1956_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct VotingContract.EIP712Domain memory) pure returns (bytes32)" } }, - "id": 1784, + "id": 2094, "isConstant": false, "isLValue": false, "isPure": false, @@ -5824,22 +5824,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4038:217:2", + "src": "4038:217:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "4019:236:2", + "src": "4019:236:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1786, + "id": 2096, "nodeType": "ExpressionStatement", - "src": "4019:236:2" + "src": "4019:236:3" } ] }, @@ -5849,41 +5849,41 @@ "name": "", "nameLocation": "-1:-1:-1", "parameters": { - "id": 1754, + "id": 2064, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1747, + "id": 2057, "mutability": "mutable", "name": "_token", - "nameLocation": "3714:6:2", + "nameLocation": "3714:6:3", "nodeType": "VariableDeclaration", - "scope": 1788, - "src": "3702:18:2", + "scope": 2098, + "src": "3702:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" }, "typeName": { - "id": 1746, + "id": 2056, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1745, + "id": 2055, "name": "MiniMeToken", "nameLocations": [ - "3702:11:2" + "3702:11:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 33237, - "src": "3702:11:2" + "referencedDeclaration": 33553, + "src": "3702:11:3" }, - "referencedDeclaration": 33237, - "src": "3702:11:2", + "referencedDeclaration": 33553, + "src": "3702:11:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, @@ -5891,13 +5891,13 @@ }, { "constant": false, - "id": 1749, + "id": 2059, "mutability": "mutable", "name": "_votingLength", - "nameLocation": "3738:13:2", + "nameLocation": "3738:13:3", "nodeType": "VariableDeclaration", - "scope": 1788, - "src": "3730:21:2", + "scope": 2098, + "src": "3730:21:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5905,10 +5905,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1748, + "id": 2058, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3730:7:2", + "src": "3730:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5918,13 +5918,13 @@ }, { "constant": false, - "id": 1751, + "id": 2061, "mutability": "mutable", "name": "_votingVerificationLength", - "nameLocation": "3769:25:2", + "nameLocation": "3769:25:3", "nodeType": "VariableDeclaration", - "scope": 1788, - "src": "3761:33:2", + "scope": 2098, + "src": "3761:33:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5932,10 +5932,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1750, + "id": 2060, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3761:7:2", + "src": "3761:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5945,13 +5945,13 @@ }, { "constant": false, - "id": 1753, + "id": 2063, "mutability": "mutable", "name": "_timeBetweenVoting", - "nameLocation": "3812:18:2", + "nameLocation": "3812:18:3", "nodeType": "VariableDeclaration", - "scope": 1788, - "src": "3804:26:2", + "scope": 2098, + "src": "3804:26:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1752, + "id": 2062, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3804:7:2", + "src": "3804:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,44 +5971,44 @@ "visibility": "internal" } ], - "src": "3692:144:2" + "src": "3692:144:3" }, "returnParameters": { - "id": 1755, + "id": 2065, "nodeType": "ParameterList", "parameters": [], - "src": "3837:0:2" + "src": "3837:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 1801, + "id": 2111, "nodeType": "FunctionDefinition", - "src": "4268:96:2", + "src": "4268:96:3", "nodes": [], "body": { - "id": 1800, + "id": 2110, "nodeType": "Block", - "src": "4327:37:2", + "src": "4327:37:3", "nodes": [], "statements": [ { "expression": { - "id": 1798, + "id": 2108, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1796, + "id": 2106, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "4337:9:2", + "referencedDeclaration": 1901, + "src": "4337:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" @@ -6017,26 +6017,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1797, + "id": 2107, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1791, - "src": "4349:8:2", + "referencedDeclaration": 2101, + "src": "4349:8:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "src": "4337:20:2", + "src": "4337:20:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "id": 1799, + "id": 2109, "nodeType": "ExpressionStatement", - "src": "4337:20:2" + "src": "4337:20:3" } ] }, @@ -6045,37 +6045,37 @@ "kind": "function", "modifiers": [ { - "id": 1794, + "id": 2104, "kind": "modifierInvocation", "modifierName": { - "id": 1793, + "id": 2103, "name": "onlyOwner", "nameLocations": [ - "4317:9:2" + "4317:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 44701, - "src": "4317:9:2" + "referencedDeclaration": 45279, + "src": "4317:9:3" }, "nodeType": "ModifierInvocation", - "src": "4317:9:2" + "src": "4317:9:3" } ], "name": "setDirectory", - "nameLocation": "4277:12:2", + "nameLocation": "4277:12:3", "parameters": { - "id": 1792, + "id": 2102, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1791, + "id": 2101, "mutability": "mutable", "name": "_address", - "nameLocation": "4300:8:2", + "nameLocation": "4300:8:3", "nodeType": "VariableDeclaration", - "scope": 1801, - "src": "4290:18:2", + "scope": 2111, + "src": "4290:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6083,20 +6083,20 @@ "typeString": "contract Directory" }, "typeName": { - "id": 1790, + "id": 2100, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1789, + "id": 2099, "name": "Directory", "nameLocations": [ - "4290:9:2" + "4290:9:3" ], "nodeType": "IdentifierPath", "referencedDeclaration": 294, - "src": "4290:9:2" + "src": "4290:9:3" }, "referencedDeclaration": 294, - "src": "4290:9:2", + "src": "4290:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" @@ -6105,46 +6105,46 @@ "visibility": "internal" } ], - "src": "4289:20:2" + "src": "4289:20:3" }, "returnParameters": { - "id": 1795, + "id": 2105, "nodeType": "ParameterList", "parameters": [], - "src": "4327:0:2" + "src": "4327:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 1806, + "id": 2116, "nodeType": "ErrorDefinition", - "src": "4415:40:2", + "src": "4415:40:3", "nodes": [], "documentation": { - "id": 1802, + "id": 2112, "nodeType": "StructuredDocumentation", - "src": "4370:40:2", + "src": "4370:40:3", "text": "Voting room with `ID` doesn't exist." }, "errorSelector": "dd085d4b", "name": "VotingRoomDoesntExist", - "nameLocation": "4421:21:2", + "nameLocation": "4421:21:3", "parameters": { - "id": 1805, + "id": 2115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1804, + "id": 2114, "mutability": "mutable", "name": "ID", - "nameLocation": "4451:2:2", + "nameLocation": "4451:2:3", "nodeType": "VariableDeclaration", - "scope": 1806, - "src": "4443:10:2", + "scope": 2116, + "src": "4443:10:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6152,10 +6152,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1803, + "id": 2113, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4443:7:2", + "src": "4443:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6164,36 +6164,36 @@ "visibility": "internal" } ], - "src": "4442:12:2" + "src": "4442:12:3" } }, { - "id": 1811, + "id": 2121, "nodeType": "ErrorDefinition", - "src": "4503:32:2", + "src": "4503:32:3", "nodes": [], "documentation": { - "id": 1807, + "id": 2117, "nodeType": "StructuredDocumentation", - "src": "4461:37:2", + "src": "4461:37:3", "text": "Room `ID` must be greater than 0." }, "errorSelector": "f2443892", "name": "InvalidRoomID", - "nameLocation": "4509:13:2", + "nameLocation": "4509:13:3", "parameters": { - "id": 1810, + "id": 2120, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1809, + "id": 2119, "mutability": "mutable", "name": "ID", - "nameLocation": "4531:2:2", + "nameLocation": "4531:2:3", "nodeType": "VariableDeclaration", - "scope": 1811, - "src": "4523:10:2", + "scope": 2121, + "src": "4523:10:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6201,10 +6201,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1808, + "id": 2118, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4523:7:2", + "src": "4523:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6213,18 +6213,18 @@ "visibility": "internal" } ], - "src": "4522:12:2" + "src": "4522:12:3" } }, { - "id": 1834, + "id": 2144, "nodeType": "ModifierDefinition", - "src": "4541:179:2", + "src": "4541:179:3", "nodes": [], "body": { - "id": 1833, + "id": 2143, "nodeType": "Block", - "src": "4585:135:2", + "src": "4585:135:3", "nodes": [], "statements": [ { @@ -6233,18 +6233,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1817, + "id": 2127, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1815, + "id": 2125, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1813, - "src": "4599:2:2", + "referencedDeclaration": 2123, + "src": "4599:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6254,39 +6254,39 @@ "operator": "<", "rightExpression": { "hexValue": "31", - "id": 1816, + "id": 2126, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4604:1:2", + "src": "4604:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "4599:6:2", + "src": "4599:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1822, + "id": 2132, "nodeType": "IfStatement", - "src": "4595:36:2", + "src": "4595:36:3", "trueBody": { "errorCall": { "arguments": [ { - "id": 1819, + "id": 2129, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1813, - "src": "4628:2:2", + "referencedDeclaration": 2123, + "src": "4628:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6300,18 +6300,18 @@ "typeString": "uint256" } ], - "id": 1818, + "id": 2128, "name": "InvalidRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1811, - "src": "4614:13:2", + "referencedDeclaration": 2121, + "src": "4614:13:3", "typeDescriptions": { "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$", "typeString": "function (uint256) pure" } }, - "id": 1820, + "id": 2130, "isConstant": false, "isLValue": false, "isPure": false, @@ -6320,16 +6320,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4614:17:2", + "src": "4614:17:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1821, + "id": 2131, "nodeType": "RevertStatement", - "src": "4607:24:2" + "src": "4607:24:3" } }, { @@ -6338,18 +6338,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1826, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1823, + "id": 2133, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1813, - "src": "4645:2:2", + "referencedDeclaration": 2123, + "src": "4645:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6359,50 +6359,50 @@ "operator": ">", "rightExpression": { "expression": { - "id": 1824, + "id": 2134, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "4650:11:2", + "referencedDeclaration": 1914, + "src": "4650:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 1825, + "id": 2135, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "4662:6:2", + "memberLocation": "4662:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "4650:18:2", + "src": "4650:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "4645:23:2", + "src": "4645:23:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1831, + "id": 2141, "nodeType": "IfStatement", - "src": "4641:61:2", + "src": "4641:61:3", "trueBody": { "errorCall": { "arguments": [ { - "id": 1828, + "id": 2138, "name": "ID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1813, - "src": "4699:2:2", + "referencedDeclaration": 2123, + "src": "4699:2:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6416,18 +6416,18 @@ "typeString": "uint256" } ], - "id": 1827, + "id": 2137, "name": "VotingRoomDoesntExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1806, - "src": "4677:21:2", + "referencedDeclaration": 2116, + "src": "4677:21:3", "typeDescriptions": { "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$", "typeString": "function (uint256) pure" } }, - "id": 1829, + "id": 2139, "isConstant": false, "isLValue": false, "isPure": false, @@ -6436,40 +6436,40 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4677:25:2", + "src": "4677:25:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1830, + "id": 2140, "nodeType": "RevertStatement", - "src": "4670:32:2" + "src": "4670:32:3" } }, { - "id": 1832, + "id": 2142, "nodeType": "PlaceholderStatement", - "src": "4712:1:2" + "src": "4712:1:3" } ] }, "name": "onlyIfVotingRoomExists", - "nameLocation": "4550:22:2", + "nameLocation": "4550:22:3", "parameters": { - "id": 1814, + "id": 2124, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1813, + "id": 2123, "mutability": "mutable", "name": "ID", - "nameLocation": "4581:2:2", + "nameLocation": "4581:2:3", "nodeType": "VariableDeclaration", - "scope": 1834, - "src": "4573:10:2", + "scope": 2144, + "src": "4573:10:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6477,10 +6477,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1812, + "id": 2122, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4573:7:2", + "src": "4573:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6489,54 +6489,54 @@ "visibility": "internal" } ], - "src": "4572:12:2" + "src": "4572:12:3" }, "virtual": false, "visibility": "internal" }, { - "id": 1852, + "id": 2162, "nodeType": "FunctionDefinition", - "src": "4726:160:2", + "src": "4726:160:3", "nodes": [], "body": { - "id": 1851, + "id": 2161, "nodeType": "Block", - "src": "4839:47:2", + "src": "4839:47:3", "nodes": [], "statements": [ { "expression": { "baseExpression": { - "id": 1845, + "id": 2155, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "4856:11:2", + "referencedDeclaration": 1914, + "src": "4856:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 1849, + "id": 2159, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1848, + "id": 2158, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1846, + "id": 2156, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1836, - "src": "4868:6:2", + "referencedDeclaration": 2146, + "src": "4868:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6546,21 +6546,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1847, + "id": 2157, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4877:1:2", + "src": "4877:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "4868:10:2", + "src": "4868:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6571,16 +6571,16 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4856:23:2", + "src": "4856:23:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "functionReturnParameters": 1844, - "id": 1850, + "functionReturnParameters": 2154, + "id": 2160, "nodeType": "Return", - "src": "4849:30:2" + "src": "4849:30:3" } ] }, @@ -6590,49 +6590,49 @@ { "arguments": [ { - "id": 1839, + "id": 2149, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1836, - "src": "4802:6:2", + "referencedDeclaration": 2146, + "src": "4802:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1840, + "id": 2150, "kind": "modifierInvocation", "modifierName": { - "id": 1838, + "id": 2148, "name": "onlyIfVotingRoomExists", "nameLocations": [ - "4779:22:2" + "4779:22:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1834, - "src": "4779:22:2" + "referencedDeclaration": 2144, + "src": "4779:22:3" }, "nodeType": "ModifierInvocation", - "src": "4779:30:2" + "src": "4779:30:3" } ], "name": "_getVotingRoom", - "nameLocation": "4735:14:2", + "nameLocation": "4735:14:3", "parameters": { - "id": 1837, + "id": 2147, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1836, + "id": 2146, "mutability": "mutable", "name": "roomID", - "nameLocation": "4758:6:2", + "nameLocation": "4758:6:3", "nodeType": "VariableDeclaration", - "scope": 1852, - "src": "4750:14:2", + "scope": 2162, + "src": "4750:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6640,10 +6640,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1835, + "id": 2145, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4750:7:2", + "src": "4750:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6652,66 +6652,66 @@ "visibility": "internal" } ], - "src": "4749:16:2" + "src": "4749:16:3" }, "returnParameters": { - "id": 1844, + "id": 2154, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1843, + "id": 2153, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1852, - "src": "4819:18:2", + "scope": 2162, + "src": "4819:18:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 1842, + "id": 2152, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1841, + "id": 2151, "name": "VotingRoom", "nameLocations": [ - "4819:10:2" + "4819:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "4819:10:2" + "referencedDeclaration": 1838, + "src": "4819:10:3" }, - "referencedDeclaration": 1528, - "src": "4819:10:2", + "referencedDeclaration": 1838, + "src": "4819:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "src": "4818:20:2" + "src": "4818:20:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "private" }, { - "id": 1867, + "id": 2177, "nodeType": "FunctionDefinition", - "src": "4892:171:2", + "src": "4892:171:3", "nodes": [], "body": { - "id": 1866, + "id": 2176, "nodeType": "Block", - "src": "4987:76:2", + "src": "4987:76:3", "nodes": [], "statements": [ { @@ -6719,25 +6719,25 @@ "arguments": [ { "baseExpression": { - "id": 1861, + "id": 2171, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1608, - "src": "5019:25:2", + "referencedDeclaration": 1918, + "src": "5019:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 1863, + "id": 2173, "indexExpression": { - "id": 1862, + "id": 2172, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1854, - "src": "5045:9:2", + "referencedDeclaration": 2164, + "src": "5045:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -6748,7 +6748,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5019:36:2", + "src": "5019:36:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6762,18 +6762,18 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 2170, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "5004:14:2", + "referencedDeclaration": 2162, + "src": "5004:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 1864, + "id": 2174, "isConstant": false, "isLValue": false, "isPure": false, @@ -6782,17 +6782,17 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5004:52:2", + "src": "5004:52:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "functionReturnParameters": 1859, - "id": 1865, + "functionReturnParameters": 2169, + "id": 2175, "nodeType": "Return", - "src": "4997:59:2" + "src": "4997:59:3" } ] }, @@ -6801,20 +6801,20 @@ "kind": "function", "modifiers": [], "name": "getActiveVotingRoom", - "nameLocation": "4901:19:2", + "nameLocation": "4901:19:3", "parameters": { - "id": 1855, + "id": 2165, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 2164, "mutability": "mutable", "name": "publicKey", - "nameLocation": "4936:9:2", + "nameLocation": "4936:9:3", "nodeType": "VariableDeclaration", - "scope": 1867, - "src": "4921:24:2", + "scope": 2177, + "src": "4921:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -6822,10 +6822,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1853, + "id": 2163, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4921:5:2", + "src": "4921:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6834,82 +6834,82 @@ "visibility": "internal" } ], - "src": "4920:26:2" + "src": "4920:26:3" }, "returnParameters": { - "id": 1859, + "id": 2169, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1858, + "id": 2168, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1867, - "src": "4968:17:2", + "scope": 2177, + "src": "4968:17:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 1857, + "id": 2167, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1856, + "id": 2166, "name": "VotingRoom", "nameLocations": [ - "4968:10:2" + "4968:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "4968:10:2" + "referencedDeclaration": 1838, + "src": "4968:10:3" }, - "referencedDeclaration": 1528, - "src": "4968:10:2", + "referencedDeclaration": 1838, + "src": "4968:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "src": "4967:19:2" + "src": "4967:19:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 1925, + "id": 2241, "nodeType": "FunctionDefinition", - "src": "5069:574:2", + "src": "5069:603:3", "nodes": [], "body": { - "id": 1924, + "id": 2240, "nodeType": "Block", - "src": "5140:503:2", + "src": "5140:532:3", "nodes": [], "statements": [ { "assignments": [ - 1877 + 2187 ], "declarations": [ { "constant": false, - "id": 1877, + "id": 2187, "mutability": "mutable", "name": "returnVotingRooms", - "nameLocation": "5167:17:2", + "nameLocation": "5167:17:3", "nodeType": "VariableDeclaration", - "scope": 1924, - "src": "5150:34:2", + "scope": 2240, + "src": "5150:34:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6918,18 +6918,18 @@ }, "typeName": { "baseType": { - "id": 1875, + "id": 2185, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5150:7:2", + "src": "5150:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1876, + "id": 2186, "nodeType": "ArrayTypeName", - "src": "5150:9:2", + "src": "5150:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -6938,31 +6938,31 @@ "visibility": "internal" } ], - "id": 1884, + "id": 2194, "initialValue": { "arguments": [ { "expression": { - "id": 1881, + "id": 2191, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "5201:11:2", + "referencedDeclaration": 1914, + "src": "5201:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 1882, + "id": 2192, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5213:6:2", + "memberLocation": "5213:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "5201:18:2", + "src": "5201:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6976,38 +6976,38 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "5187:13:2", + "src": "5187:13:3", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (uint256[] memory)" }, "typeName": { "baseType": { - "id": 1878, + "id": 2188, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5191:7:2", + "src": "5191:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1879, + "id": 2189, "nodeType": "ArrayTypeName", - "src": "5191:9:2", + "src": "5191:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" } } }, - "id": 1883, + "id": 2193, "isConstant": false, "isLValue": false, "isPure": false, @@ -7016,7 +7016,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5187:33:2", + "src": "5187:33:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", @@ -7024,22 +7024,22 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5150:70:2" + "src": "5150:70:3" }, { "assignments": [ - 1886 + 2196 ], "declarations": [ { "constant": false, - "id": 1886, + "id": 2196, "mutability": "mutable", "name": "count", - "nameLocation": "5238:5:2", + "nameLocation": "5238:5:3", "nodeType": "VariableDeclaration", - "scope": 1924, - "src": "5230:13:2", + "scope": 2240, + "src": "5230:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7047,10 +7047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1885, + "id": 2195, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5230:7:2", + "src": "5230:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7059,17 +7059,17 @@ "visibility": "internal" } ], - "id": 1888, + "id": 2198, "initialValue": { "hexValue": "30", - "id": 1887, + "id": 2197, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "5246:1:2", + "src": "5246:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -7077,119 +7077,205 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "5230:17:2" + "src": "5230:17:3" }, { "body": { - "id": 1919, + "id": 2235, "nodeType": "Block", - "src": "5306:165:2", + "src": "5306:194:3", "statements": [ { "condition": { - "id": 1904, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 2220, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "5324:25:2", - "subExpression": { - "expression": { - "baseExpression": { - "id": 1900, - "name": "votingRooms", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "5325:11:2", + "leftExpression": { + "id": 2214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5324:25:3", + "subExpression": { + "expression": { + "baseExpression": { + "id": 2210, + "name": "votingRooms", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1914, + "src": "5325:11:3", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" + } + }, + "id": 2212, + "indexExpression": { + "id": 2211, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2200, + "src": "5337:1:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5325:14:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", - "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" - } - }, - "id": 1902, - "indexExpression": { - "id": 1901, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1890, - "src": "5337:1:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeString": "struct VotingContract.VotingRoom storage ref" } }, + "id": 2213, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5325:14:2", + "memberLocation": "5340:9:3", + "memberName": "finalized", + "nodeType": "MemberAccess", + "referencedDeclaration": 1823, + "src": "5325:24:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage", - "typeString": "struct VotingContract.VotingRoom storage ref" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 1903, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5340:9:2", - "memberName": "finalized", - "nodeType": "MemberAccess", - "referencedDeclaration": 1513, - "src": "5325:24:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "id": 2219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5353:25:3", + "subExpression": { + "expression": { + "baseExpression": { + "id": 2215, + "name": "votingRooms", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1914, + "src": "5354:11:3", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", + "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" + } + }, + "id": 2217, + "indexExpression": { + "id": 2216, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2200, + "src": "5366:1:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5354:14:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", + "typeString": "struct VotingContract.VotingRoom storage ref" + } + }, + "id": 2218, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5369:9:3", + "memberName": "evaluated", + "nodeType": "MemberAccess", + "referencedDeclaration": 1837, + "src": "5354:24:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "5324:54:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1918, + "id": 2234, "nodeType": "IfStatement", - "src": "5320:141:2", + "src": "5320:170:3", "trueBody": { - "id": 1917, + "id": 2233, "nodeType": "Block", - "src": "5351:110:2", + "src": "5380:110:3", "statements": [ { "expression": { - "id": 1912, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 1905, + "id": 2221, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1877, - "src": "5369:17:2", + "referencedDeclaration": 2187, + "src": "5398:17:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[] memory" } }, - "id": 1907, + "id": 2223, "indexExpression": { - "id": 1906, + "id": 2222, "name": "count", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1886, - "src": "5387:5:2", + "referencedDeclaration": 2196, + "src": "5416:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7200,7 +7286,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "5369:24:2", + "src": "5398:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7211,25 +7297,25 @@ "rightHandSide": { "expression": { "baseExpression": { - "id": 1908, + "id": 2224, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "5396:11:2", + "referencedDeclaration": 1914, + "src": "5425:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 1910, + "id": 2226, "indexExpression": { - "id": 1909, + "id": 2225, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1890, - "src": "5408:1:2", + "referencedDeclaration": 2200, + "src": "5437:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7240,40 +7326,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5396:14:2", + "src": "5425:14:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage", "typeString": "struct VotingContract.VotingRoom storage ref" } }, - "id": 1911, + "id": 2227, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "5411:10:2", + "memberLocation": "5440:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1521, - "src": "5396:25:2", + "referencedDeclaration": 1831, + "src": "5425:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5369:52:2", + "src": "5398:52:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1913, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "5369:52:2" + "src": "5398:52:3" }, { "expression": { - "id": 1915, + "id": 2231, "isConstant": false, "isLValue": false, "isPure": false, @@ -7281,14 +7367,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "5439:7:2", + "src": "5468:7:3", "subExpression": { - "id": 1914, + "id": 2230, "name": "count", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1886, - "src": "5439:5:2", + "referencedDeclaration": 2196, + "src": "5468:5:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7299,9 +7385,9 @@ "typeString": "uint256" } }, - "id": 1916, + "id": 2232, "nodeType": "ExpressionStatement", - "src": "5439:7:2" + "src": "5468:7:3" } ] } @@ -7313,18 +7399,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1896, + "id": 2206, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1893, + "id": 2203, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1890, - "src": "5277:1:2", + "referencedDeclaration": 2200, + "src": "5277:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7334,52 +7420,52 @@ "operator": "<", "rightExpression": { "expression": { - "id": 1894, + "id": 2204, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "5281:11:2", + "referencedDeclaration": 1914, + "src": "5281:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 1895, + "id": 2205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5293:6:2", + "memberLocation": "5293:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "5281:18:2", + "src": "5281:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5277:22:2", + "src": "5277:22:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1920, + "id": 2236, "initializationExpression": { "assignments": [ - 1890 + 2200 ], "declarations": [ { "constant": false, - "id": 1890, + "id": 2200, "mutability": "mutable", "name": "i", - "nameLocation": "5270:1:2", + "nameLocation": "5270:1:3", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "5262:9:2", + "scope": 2236, + "src": "5262:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7387,10 +7473,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1889, + "id": 2199, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5262:7:2", + "src": "5262:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7399,17 +7485,17 @@ "visibility": "internal" } ], - "id": 1892, + "id": 2202, "initialValue": { "hexValue": "30", - "id": 1891, + "id": 2201, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "5274:1:2", + "src": "5274:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -7417,11 +7503,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "5262:13:2" + "src": "5262:13:3" }, "loopExpression": { "expression": { - "id": 1898, + "id": 2208, "isConstant": false, "isLValue": false, "isPure": false, @@ -7429,14 +7515,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "5301:3:2", + "src": "5301:3:3", "subExpression": { - "id": 1897, + "id": 2207, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1890, - "src": "5301:1:2", + "referencedDeclaration": 2200, + "src": "5301:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7447,17 +7533,17 @@ "typeString": "uint256" } }, - "id": 1899, + "id": 2209, "nodeType": "ExpressionStatement", - "src": "5301:3:2" + "src": "5301:3:3" }, "nodeType": "ForStatement", - "src": "5257:214:2" + "src": "5257:243:3" }, { "AST": { "nodeType": "YulBlock", - "src": "5547:56:2", + "src": "5576:56:3", "statements": [ { "expression": { @@ -7465,65 +7551,65 @@ { "name": "returnVotingRooms", "nodeType": "YulIdentifier", - "src": "5568:17:2" + "src": "5597:17:3" }, { "name": "count", "nodeType": "YulIdentifier", - "src": "5587:5:2" + "src": "5616:5:3" } ], "functionName": { "name": "mstore", "nodeType": "YulIdentifier", - "src": "5561:6:2" + "src": "5590:6:3" }, "nodeType": "YulFunctionCall", - "src": "5561:32:2" + "src": "5590:32:3" }, "nodeType": "YulExpressionStatement", - "src": "5561:32:2" + "src": "5590:32:3" } ] }, "evmVersion": "paris", "externalReferences": [ { - "declaration": 1886, + "declaration": 2196, "isOffset": false, "isSlot": false, - "src": "5587:5:2", + "src": "5616:5:3", "valueSize": 1 }, { - "declaration": 1877, + "declaration": 2187, "isOffset": false, "isSlot": false, - "src": "5568:17:2", + "src": "5597:17:3", "valueSize": 1 } ], - "id": 1921, + "id": 2237, "nodeType": "InlineAssembly", - "src": "5538:65:2" + "src": "5567:65:3" }, { "expression": { - "id": 1922, + "id": 2238, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1877, - "src": "5619:17:2", + "referencedDeclaration": 2187, + "src": "5648:17:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[] memory" } }, - "functionReturnParameters": 1872, - "id": 1923, + "functionReturnParameters": 2182, + "id": 2239, "nodeType": "Return", - "src": "5612:24:2" + "src": "5641:24:3" } ] }, @@ -7532,26 +7618,26 @@ "kind": "function", "modifiers": [], "name": "getActiveVotingRooms", - "nameLocation": "5078:20:2", + "nameLocation": "5078:20:3", "parameters": { - "id": 1868, + "id": 2178, "nodeType": "ParameterList", "parameters": [], - "src": "5098:2:2" + "src": "5098:2:3" }, "returnParameters": { - "id": 1872, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1871, + "id": 2181, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1925, - "src": "5122:16:2", + "scope": 2241, + "src": "5122:16:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7560,18 +7646,18 @@ }, "typeName": { "baseType": { - "id": 1869, + "id": 2179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5122:7:2", + "src": "5122:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1870, + "id": 2180, "nodeType": "ArrayTypeName", - "src": "5122:9:2", + "src": "5122:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -7580,38 +7666,38 @@ "visibility": "internal" } ], - "src": "5121:18:2" + "src": "5121:18:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 1971, + "id": 2287, "nodeType": "FunctionDefinition", - "src": "5649:302:2", + "src": "5678:302:3", "nodes": [], "body": { - "id": 1970, + "id": 2286, "nodeType": "Block", - "src": "5739:212:2", + "src": "5768:212:3", "nodes": [], "statements": [ { "expression": { - "id": 1942, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1933, + "id": 2249, "name": "roomVoters", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1931, - "src": "5749:10:2", + "referencedDeclaration": 2247, + "src": "5778:10:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" @@ -7624,25 +7710,25 @@ { "expression": { "baseExpression": { - "id": 1937, + "id": 2253, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "5776:13:2", + "referencedDeclaration": 1936, + "src": "5805:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 1939, + "id": 2255, "indexExpression": { - "id": 1938, + "id": 2254, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, - "src": "5790:6:2", + "referencedDeclaration": 2243, + "src": "5819:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7653,21 +7739,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5776:21:2", + "src": "5805:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 1940, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5798:6:2", + "memberLocation": "5827:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "5776:28:2", + "src": "5805:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7681,39 +7767,39 @@ "typeString": "uint256" } ], - "id": 1936, + "id": 2252, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "5762:13:2", + "src": "5791:13:3", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (address[] memory)" }, "typeName": { "baseType": { - "id": 1934, + "id": 2250, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5766:7:2", + "src": "5795:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1935, + "id": 2251, "nodeType": "ArrayTypeName", - "src": "5766:9:2", + "src": "5795:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" } } }, - "id": 1941, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": false, @@ -7722,57 +7808,57 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5762:43:2", + "src": "5791:43:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, - "src": "5749:56:2", + "src": "5778:56:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, - "id": 1943, + "id": 2259, "nodeType": "ExpressionStatement", - "src": "5749:56:2" + "src": "5778:56:3" }, { "body": { - "id": 1968, + "id": 2284, "nodeType": "Block", - "src": "5874:71:2", + "src": "5903:71:3", "statements": [ { "expression": { - "id": 1966, + "id": 2282, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 1957, + "id": 2273, "name": "roomVoters", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1931, - "src": "5888:10:2", + "referencedDeclaration": 2247, + "src": "5917:10:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, - "id": 1959, + "id": 2275, "indexExpression": { - "id": 1958, + "id": 2274, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1945, - "src": "5899:1:2", + "referencedDeclaration": 2261, + "src": "5928:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7783,7 +7869,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "5888:13:2", + "src": "5917:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7795,25 +7881,25 @@ "expression": { "baseExpression": { "baseExpression": { - "id": 1960, + "id": 2276, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "5904:13:2", + "referencedDeclaration": 1936, + "src": "5933:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 1962, + "id": 2278, "indexExpression": { - "id": 1961, + "id": 2277, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, - "src": "5918:6:2", + "referencedDeclaration": 2243, + "src": "5947:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7824,20 +7910,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5904:21:2", + "src": "5933:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 1964, + "id": 2280, "indexExpression": { - "id": 1963, + "id": 2279, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1945, - "src": "5926:1:2", + "referencedDeclaration": 2261, + "src": "5955:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7848,36 +7934,36 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5904:24:2", + "src": "5933:24:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage", + "typeIdentifier": "t_struct$_Vote_$1810_storage", "typeString": "struct VotingContract.Vote storage ref" } }, - "id": 1965, + "id": 2281, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "5929:5:2", + "memberLocation": "5958:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1494, - "src": "5904:30:2", + "referencedDeclaration": 1804, + "src": "5933:30:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "5888:46:2", + "src": "5917:46:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1967, + "id": 2283, "nodeType": "ExpressionStatement", - "src": "5888:46:2" + "src": "5917:46:3" } ] }, @@ -7886,18 +7972,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1953, + "id": 2269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1948, + "id": 2264, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1945, - "src": "5835:1:2", + "referencedDeclaration": 2261, + "src": "5864:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7908,25 +7994,25 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 1949, + "id": 2265, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "5839:13:2", + "referencedDeclaration": 1936, + "src": "5868:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 1951, + "id": 2267, "indexExpression": { - "id": 1950, + "id": 2266, "name": "roomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1927, - "src": "5853:6:2", + "referencedDeclaration": 2243, + "src": "5882:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7937,47 +8023,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5839:21:2", + "src": "5868:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 1952, + "id": 2268, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5861:6:2", + "memberLocation": "5890:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "5839:28:2", + "src": "5868:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5835:32:2", + "src": "5864:32:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1969, + "id": 2285, "initializationExpression": { "assignments": [ - 1945 + 2261 ], "declarations": [ { "constant": false, - "id": 1945, + "id": 2261, "mutability": "mutable", "name": "i", - "nameLocation": "5828:1:2", + "nameLocation": "5857:1:3", "nodeType": "VariableDeclaration", - "scope": 1969, - "src": "5820:9:2", + "scope": 2285, + "src": "5849:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7985,10 +8071,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1944, + "id": 2260, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5820:7:2", + "src": "5849:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7997,17 +8083,17 @@ "visibility": "internal" } ], - "id": 1947, + "id": 2263, "initialValue": { "hexValue": "30", - "id": 1946, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "5832:1:2", + "src": "5861:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8015,11 +8101,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "5820:13:2" + "src": "5849:13:3" }, "loopExpression": { "expression": { - "id": 1955, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,14 +8113,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "5869:3:2", + "src": "5898:3:3", "subExpression": { - "id": 1954, + "id": 2270, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1945, - "src": "5869:1:2", + "referencedDeclaration": 2261, + "src": "5898:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8045,12 +8131,12 @@ "typeString": "uint256" } }, - "id": 1956, + "id": 2272, "nodeType": "ExpressionStatement", - "src": "5869:3:2" + "src": "5898:3:3" }, "nodeType": "ForStatement", - "src": "5815:130:2" + "src": "5844:130:3" } ] }, @@ -8059,20 +8145,20 @@ "kind": "function", "modifiers": [], "name": "listRoomVoters", - "nameLocation": "5658:14:2", + "nameLocation": "5687:14:3", "parameters": { - "id": 1928, + "id": 2244, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1927, + "id": 2243, "mutability": "mutable", "name": "roomID", - "nameLocation": "5681:6:2", + "nameLocation": "5710:6:3", "nodeType": "VariableDeclaration", - "scope": 1971, - "src": "5673:14:2", + "scope": 2287, + "src": "5702:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8080,10 +8166,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1926, + "id": 2242, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5673:7:2", + "src": "5702:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8092,21 +8178,21 @@ "visibility": "internal" } ], - "src": "5672:16:2" + "src": "5701:16:3" }, "returnParameters": { - "id": 1932, + "id": 2248, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1931, + "id": 2247, "mutability": "mutable", "name": "roomVoters", - "nameLocation": "5727:10:2", + "nameLocation": "5756:10:3", "nodeType": "VariableDeclaration", - "scope": 1971, - "src": "5710:27:2", + "scope": 2287, + "src": "5739:27:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8115,19 +8201,19 @@ }, "typeName": { "baseType": { - "id": 1929, + "id": 2245, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5710:7:2", + "src": "5739:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1930, + "id": 2246, "nodeType": "ArrayTypeName", - "src": "5710:9:2", + "src": "5739:9:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -8136,40 +8222,40 @@ "visibility": "internal" } ], - "src": "5709:29:2" + "src": "5738:29:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2020, + "id": 2336, "nodeType": "FunctionDefinition", - "src": "5957:381:2", + "src": "5986:381:3", "nodes": [], "body": { - "id": 2019, + "id": 2335, "nodeType": "Block", - "src": "6069:269:2", + "src": "6098:269:3", "nodes": [], "statements": [ { "expression": { - "id": 1990, + "id": 2306, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1980, + "id": 2296, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1978, - "src": "6079:17:2", + "referencedDeclaration": 2294, + "src": "6108:17:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, @@ -8180,25 +8266,25 @@ { "expression": { "baseExpression": { - "id": 1985, + "id": 2301, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "6116:20:2", + "referencedDeclaration": 1923, + "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": 1987, + "id": 2303, "indexExpression": { - "id": 1986, + "id": 2302, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1973, - "src": "6137:9:2", + "referencedDeclaration": 2289, + "src": "6166:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -8209,21 +8295,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6116:31:2", + "src": "6145:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1988, + "id": 2304, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6148:6:2", + "memberLocation": "6177:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "6116:38:2", + "src": "6145:38:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8237,48 +8323,48 @@ "typeString": "uint256" } ], - "id": 1984, + "id": 2300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "6099:16:2", + "src": "6128:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr_$", "typeString": "function (uint256) pure returns (struct VotingContract.VotingRoom memory[] memory)" }, "typeName": { "baseType": { - "id": 1982, + "id": 2298, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1981, + "id": 2297, "name": "VotingRoom", "nameLocations": [ - "6103:10:2" + "6132:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "6103:10:2" + "referencedDeclaration": 1838, + "src": "6132:10:3" }, - "referencedDeclaration": 1528, - "src": "6103:10:2", + "referencedDeclaration": 1838, + "src": "6132:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 1983, + "id": 2299, "nodeType": "ArrayTypeName", - "src": "6103:12:2", + "src": "6132:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } } }, - "id": 1989, + "id": 2305, "isConstant": false, "isLValue": false, "isPure": false, @@ -8287,57 +8373,57 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6099:56:2", + "src": "6128:56:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, - "src": "6079:76:2", + "src": "6108:76:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, - "id": 1991, + "id": 2307, "nodeType": "ExpressionStatement", - "src": "6079:76:2" + "src": "6108:76:3" }, { "body": { - "id": 2017, + "id": 2333, "nodeType": "Block", - "src": "6234:98:2", + "src": "6263:98:3", "statements": [ { "expression": { - "id": 2015, + "id": 2331, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2005, + "id": 2321, "name": "returnVotingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1978, - "src": "6248:17:2", + "referencedDeclaration": 2294, + "src": "6277:17:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory[] memory" } }, - "id": 2007, + "id": 2323, "indexExpression": { - "id": 2006, + "id": 2322, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1993, - "src": "6266:1:2", + "referencedDeclaration": 2309, + "src": "6295:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8348,9 +8434,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "6248:20:2", + "src": "6277:20:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } }, @@ -8361,25 +8447,25 @@ { "baseExpression": { "baseExpression": { - "id": 2009, + "id": 2325, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "6286:20:2", + "referencedDeclaration": 1923, + "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": 2011, + "id": 2327, "indexExpression": { - "id": 2010, + "id": 2326, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1973, - "src": "6307:9:2", + "referencedDeclaration": 2289, + "src": "6336:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -8390,20 +8476,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6286:31:2", + "src": "6315:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2013, + "id": 2329, "indexExpression": { - "id": 2012, + "id": 2328, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1993, - "src": "6318:1:2", + "referencedDeclaration": 2309, + "src": "6347:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8414,7 +8500,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6286:34:2", + "src": "6315:34:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8428,18 +8514,18 @@ "typeString": "uint256" } ], - "id": 2008, + "id": 2324, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "6271:14:2", + "referencedDeclaration": 2162, + "src": "6300:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2014, + "id": 2330, "isConstant": false, "isLValue": false, "isPure": false, @@ -8448,22 +8534,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6271:50:2", + "src": "6300:50:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "src": "6248:73:2", + "src": "6277:73:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } }, - "id": 2016, + "id": 2332, "nodeType": "ExpressionStatement", - "src": "6248:73:2" + "src": "6277:73:3" } ] }, @@ -8472,18 +8558,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2001, + "id": 2317, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1996, + "id": 2312, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1993, - "src": "6185:1:2", + "referencedDeclaration": 2309, + "src": "6214:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8494,25 +8580,25 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 1997, + "id": 2313, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "6189:20:2", + "referencedDeclaration": 1923, + "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": 1999, + "id": 2315, "indexExpression": { - "id": 1998, + "id": 2314, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1973, - "src": "6210:9:2", + "referencedDeclaration": 2289, + "src": "6239:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -8523,47 +8609,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6189:31:2", + "src": "6218:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2000, + "id": 2316, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6221:6:2", + "memberLocation": "6250:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "6189:38:2", + "src": "6218:38:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6185:42:2", + "src": "6214:42:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2018, + "id": 2334, "initializationExpression": { "assignments": [ - 1993 + 2309 ], "declarations": [ { "constant": false, - "id": 1993, + "id": 2309, "mutability": "mutable", "name": "i", - "nameLocation": "6178:1:2", + "nameLocation": "6207:1:3", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "6170:9:2", + "scope": 2334, + "src": "6199:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8571,10 +8657,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1992, + "id": 2308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6170:7:2", + "src": "6199:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8583,17 +8669,17 @@ "visibility": "internal" } ], - "id": 1995, + "id": 2311, "initialValue": { "hexValue": "30", - "id": 1994, + "id": 2310, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6182:1:2", + "src": "6211:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8601,11 +8687,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "6170:13:2" + "src": "6199:13:3" }, "loopExpression": { "expression": { - "id": 2003, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -8613,14 +8699,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "6229:3:2", + "src": "6258:3:3", "subExpression": { - "id": 2002, + "id": 2318, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1993, - "src": "6229:1:2", + "referencedDeclaration": 2309, + "src": "6258:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8631,12 +8717,12 @@ "typeString": "uint256" } }, - "id": 2004, + "id": 2320, "nodeType": "ExpressionStatement", - "src": "6229:3:2" + "src": "6258:3:3" }, "nodeType": "ForStatement", - "src": "6165:167:2" + "src": "6194:167:3" } ] }, @@ -8645,20 +8731,20 @@ "kind": "function", "modifiers": [], "name": "getVotingHistory", - "nameLocation": "5966:16:2", + "nameLocation": "5995:16:3", "parameters": { - "id": 1974, + "id": 2290, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1973, + "id": 2289, "mutability": "mutable", "name": "publicKey", - "nameLocation": "5998:9:2", + "nameLocation": "6027:9:3", "nodeType": "VariableDeclaration", - "scope": 2020, - "src": "5983:24:2", + "scope": 2336, + "src": "6012:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -8666,10 +8752,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1972, + "id": 2288, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5983:5:2", + "src": "6012:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8678,75 +8764,75 @@ "visibility": "internal" } ], - "src": "5982:26:2" + "src": "6011:26:3" }, "returnParameters": { - "id": 1979, + "id": 2295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1978, + "id": 2294, "mutability": "mutable", "name": "returnVotingRooms", - "nameLocation": "6050:17:2", + "nameLocation": "6079:17:3", "nodeType": "VariableDeclaration", - "scope": 2020, - "src": "6030:37:2", + "scope": 2336, + "src": "6059:37:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_memory_ptr_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_memory_ptr_$dyn_memory_ptr", "typeString": "struct VotingContract.VotingRoom[]" }, "typeName": { "baseType": { - "id": 1976, + "id": 2292, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 1975, + "id": 2291, "name": "VotingRoom", "nameLocations": [ - "6030:10:2" + "6059:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "6030:10:2" + "referencedDeclaration": 1838, + "src": "6059:10:3" }, - "referencedDeclaration": 1528, - "src": "6030:10:2", + "referencedDeclaration": 1838, + "src": "6059:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, - "id": 1977, + "id": 2293, "nodeType": "ArrayTypeName", - "src": "6030:12:2", + "src": "6059:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.VotingRoom[]" } }, "visibility": "internal" } ], - "src": "6029:39:2" + "src": "6058:39:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "view", "virtual": false, "visibility": "public" }, { - "id": 2200, + "id": 2516, "nodeType": "FunctionDefinition", - "src": "6344:2156:2", + "src": "6373:2156:3", "nodes": [], "body": { - "id": 2199, + "id": 2515, "nodeType": "Block", - "src": "6446:2054:2", + "src": "6475:2054:3", "nodes": [], "statements": [ { @@ -8757,32 +8843,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2035, + "id": 2351, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 2031, + "id": 2347, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1608, - "src": "6464:25:2", + "referencedDeclaration": 1918, + "src": "6493:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2033, + "id": 2349, "indexExpression": { - "id": 2032, + "id": 2348, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "6490:9:2", + "referencedDeclaration": 2341, + "src": "6519:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -8793,7 +8879,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6464:36:2", + "src": "6493:36:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8803,21 +8889,21 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2034, + "id": 2350, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6504:1:2", + "src": "6533:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "6464:41:2", + "src": "6493:41:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8825,14 +8911,14 @@ }, { "hexValue": "766f746520616c7265616479206f6e676f696e67", - "id": 2036, + "id": 2352, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6507:22:2", + "src": "6536:22:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2947a2babe84c25494f7c6e876ad0fe326446e0e3f0593f806445c3603281a25", "typeString": "literal_string \"vote already ongoing\"" @@ -8851,7 +8937,7 @@ "typeString": "literal_string \"vote already ongoing\"" } ], - "id": 2030, + "id": 2346, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8859,13 +8945,13 @@ -18 ], "referencedDeclaration": -18, - "src": "6456:7:2", + "src": "6485:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2037, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, @@ -8874,37 +8960,37 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6456:74:2", + "src": "6485:74:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2038, + "id": 2354, "nodeType": "ExpressionStatement", - "src": "6456:74:2" + "src": "6485:74:3" }, { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, - "id": 2042, + "id": 2358, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2039, + "id": 2355, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2023, - "src": "6544:8:2", + "referencedDeclaration": 2339, + "src": "6573:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -8912,45 +8998,45 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2040, + "id": 2356, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "6556:8:2", + "referencedDeclaration": 1802, + "src": "6585:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2041, + "id": 2357, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6565:7:2", + "memberLocation": "6594:7:3", "memberName": "AGAINST", "nodeType": "MemberAccess", - "referencedDeclaration": 1490, - "src": "6556:16:2", + "referencedDeclaration": 1800, + "src": "6585:16:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, - "src": "6544:28:2", + "src": "6573:28:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2052, + "id": 2368, "nodeType": "IfStatement", - "src": "6540:141:2", + "src": "6569:141:3", "trueBody": { - "id": 2051, + "id": 2367, "nodeType": "Block", - "src": "6574:107:2", + "src": "6603:107:3", "statements": [ { "expression": { @@ -8958,12 +9044,12 @@ { "arguments": [ { - "id": 2046, + "id": 2362, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "6629:9:2", + "referencedDeclaration": 2341, + "src": "6658:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -8978,33 +9064,33 @@ } ], "expression": { - "id": 2044, + "id": 2360, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "6596:9:2", + "referencedDeclaration": 1901, + "src": "6625:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "id": 2045, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6606:22:2", + "memberLocation": "6635:22:3", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", "referencedDeclaration": 49, - "src": "6596:32:2", + "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": 2047, + "id": 2363, "isConstant": false, "isLValue": false, "isPure": false, @@ -9013,7 +9099,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6596:43:2", + "src": "6625:43:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9022,14 +9108,14 @@ }, { "hexValue": "436f6d6d756e697479206e6f7420696e206469726563746f7279", - "id": 2048, + "id": 2364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6641:28:2", + "src": "6670:28:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1806560c275a21a5e60a2d508023c12f77933f654846b92d3849e2f408069559", "typeString": "literal_string \"Community not in directory\"" @@ -9048,7 +9134,7 @@ "typeString": "literal_string \"Community not in directory\"" } ], - "id": 2043, + "id": 2359, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9056,13 +9142,13 @@ -18 ], "referencedDeclaration": -18, - "src": "6588:7:2", + "src": "6617:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2049, + "id": 2365, "isConstant": false, "isLValue": false, "isPure": false, @@ -9071,16 +9157,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6588:82:2", + "src": "6617:82:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2050, + "id": 2366, "nodeType": "ExpressionStatement", - "src": "6588:82:2" + "src": "6617:82:3" } ] } @@ -9088,23 +9174,23 @@ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, - "id": 2056, + "id": 2372, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 2369, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2023, - "src": "6694:8:2", + "referencedDeclaration": 2339, + "src": "6723:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -9112,51 +9198,51 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2054, + "id": 2370, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "6706:8:2", + "referencedDeclaration": 1802, + "src": "6735:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2055, + "id": 2371, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6715:3:2", + "memberLocation": "6744:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1491, - "src": "6706:12:2", + "referencedDeclaration": 1801, + "src": "6735:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, - "src": "6694:24:2", + "src": "6723:24:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2067, + "id": 2383, "nodeType": "IfStatement", - "src": "6690:142:2", + "src": "6719:142:3", "trueBody": { - "id": 2066, + "id": 2382, "nodeType": "Block", - "src": "6720:112:2", + "src": "6749:112:3", "statements": [ { "expression": { "arguments": [ { - "id": 2062, + "id": 2378, "isConstant": false, "isLValue": false, "isPure": false, @@ -9164,16 +9250,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "6742:44:2", + "src": "6771:44:3", "subExpression": { "arguments": [ { - "id": 2060, + "id": 2376, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "6776:9:2", + "referencedDeclaration": 2341, + "src": "6805:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -9188,33 +9274,33 @@ } ], "expression": { - "id": 2058, + "id": 2374, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "6743:9:2", + "referencedDeclaration": 1901, + "src": "6772:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "id": 2059, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6753:22:2", + "memberLocation": "6782:22:3", "memberName": "isCommunityInDirectory", "nodeType": "MemberAccess", "referencedDeclaration": 49, - "src": "6743:32:2", + "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": 2061, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -9223,7 +9309,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6743:43:2", + "src": "6772:43:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9237,14 +9323,14 @@ }, { "hexValue": "436f6d6d756e69747920616c726561647920696e206469726563746f7279", - "id": 2063, + "id": 2379, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6788:32:2", + "src": "6817:32:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f0e1c28aa7102888ebb8e9b10f8d8ffc2677f6444bb4eac310b1dc7a8db52ad5", "typeString": "literal_string \"Community already in directory\"" @@ -9263,7 +9349,7 @@ "typeString": "literal_string \"Community already in directory\"" } ], - "id": 2057, + "id": 2373, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9271,13 +9357,13 @@ -18 ], "referencedDeclaration": -18, - "src": "6734:7:2", + "src": "6763:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2064, + "id": 2380, "isConstant": false, "isLValue": false, "isPure": false, @@ -9286,34 +9372,34 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6734:87:2", + "src": "6763:87:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2065, + "id": 2381, "nodeType": "ExpressionStatement", - "src": "6734:87:2" + "src": "6763:87:3" } ] } }, { "assignments": [ - 2069 + 2385 ], "declarations": [ { "constant": false, - "id": 2069, + "id": 2385, "mutability": "mutable", "name": "historyLength", - "nameLocation": "6849:13:2", + "nameLocation": "6878:13:3", "nodeType": "VariableDeclaration", - "scope": 2199, - "src": "6841:21:2", + "scope": 2515, + "src": "6870:21:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9321,10 +9407,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2068, + "id": 2384, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6841:7:2", + "src": "6870:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9333,29 +9419,29 @@ "visibility": "internal" } ], - "id": 2074, + "id": 2390, "initialValue": { "expression": { "baseExpression": { - "id": 2070, + "id": 2386, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "6865:20:2", + "referencedDeclaration": 1923, + "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": 2072, + "id": 2388, "indexExpression": { - "id": 2071, + "id": 2387, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "6886:9:2", + "referencedDeclaration": 2341, + "src": "6915:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -9366,28 +9452,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6865:31:2", + "src": "6894:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2073, + "id": 2389, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6897:6:2", + "memberLocation": "6926:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "6865:38:2", + "src": "6894:38:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "6841:62:2" + "src": "6870:62:3" }, { "condition": { @@ -9395,18 +9481,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2077, + "id": 2393, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2075, + "id": 2391, "name": "historyLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2069, - "src": "6917:13:2", + "referencedDeclaration": 2385, + "src": "6946:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9416,48 +9502,48 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2076, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6933:1:2", + "src": "6962:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "6917:17:2", + "src": "6946:17:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2103, + "id": 2419, "nodeType": "IfStatement", - "src": "6913:272:2", + "src": "6942:272:3", "trueBody": { - "id": 2102, + "id": 2418, "nodeType": "Block", - "src": "6936:249:2", + "src": "6965:249:3", "statements": [ { "assignments": [ - 2079 + 2395 ], "declarations": [ { "constant": false, - "id": 2079, + "id": 2395, "mutability": "mutable", "name": "roomId", - "nameLocation": "6958:6:2", + "nameLocation": "6987:6:3", "nodeType": "VariableDeclaration", - "scope": 2102, - "src": "6950:14:2", + "scope": 2418, + "src": "6979:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9465,10 +9551,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2078, + "id": 2394, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6950:7:2", + "src": "6979:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9477,29 +9563,29 @@ "visibility": "internal" } ], - "id": 2087, + "id": 2403, "initialValue": { "baseExpression": { "baseExpression": { - "id": 2080, + "id": 2396, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "6967:20:2", + "referencedDeclaration": 1923, + "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": 2082, + "id": 2398, "indexExpression": { - "id": 2081, + "id": 2397, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "6988:9:2", + "referencedDeclaration": 2341, + "src": "7017:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -9510,30 +9596,30 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6967:31:2", + "src": "6996:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2086, + "id": 2402, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2085, + "id": 2401, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2083, + "id": 2399, "name": "historyLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2069, - "src": "6999:13:2", + "referencedDeclaration": 2385, + "src": "7028:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9543,21 +9629,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2084, + "id": 2400, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7015:1:2", + "src": "7044:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "6999:17:2", + "src": "7028:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9568,14 +9654,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6967:50:2", + "src": "6996:50:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "6950:67:2" + "src": "6979:67:3" }, { "expression": { @@ -9585,7 +9671,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2098, + "id": 2414, "isConstant": false, "isLValue": false, "isPure": false, @@ -9597,33 +9683,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2095, + "id": 2411, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2089, + "id": 2405, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "7057:5:2", + "src": "7086:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2090, + "id": 2406, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7063:9:2", + "memberLocation": "7092:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "7057:15:2", + "src": "7086:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9635,12 +9721,12 @@ "expression": { "arguments": [ { - "id": 2092, + "id": 2408, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "7090:6:2", + "referencedDeclaration": 2395, + "src": "7119:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9654,18 +9740,18 @@ "typeString": "uint256" } ], - "id": 2091, + "id": 2407, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "7075:14:2", + "referencedDeclaration": 2162, + "src": "7104:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2093, + "id": 2409, "isConstant": false, "isLValue": false, "isPure": false, @@ -9674,43 +9760,43 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7075:22:2", + "src": "7104:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2094, + "id": 2410, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "7098:5:2", + "memberLocation": "7127:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1508, - "src": "7075:28:2", + "referencedDeclaration": 1818, + "src": "7104:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7057:46:2", + "src": "7086:46:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2096, + "id": 2412, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7056:48:2", + "src": "7085:48:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9719,18 +9805,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2097, + "id": 2413, "name": "timeBetweenVoting", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1600, - "src": "7107:17:2", + "referencedDeclaration": 1910, + "src": "7136:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7056:68:2", + "src": "7085:68:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9738,14 +9824,14 @@ }, { "hexValue": "436f6d6d756e6974792077617320696e206120766f746520726563656e746c79", - "id": 2099, + "id": 2415, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7126:34:2", + "src": "7155:34:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50329374749158504a99f1224405ac25373d5cfc074ac86bf1a175d79d3e86f3", "typeString": "literal_string \"Community was in a vote recently\"" @@ -9764,7 +9850,7 @@ "typeString": "literal_string \"Community was in a vote recently\"" } ], - "id": 2088, + "id": 2404, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9772,13 +9858,13 @@ -18 ], "referencedDeclaration": -18, - "src": "7031:7:2", + "src": "7060:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2100, + "id": 2416, "isConstant": false, "isLValue": false, "isPure": false, @@ -9787,16 +9873,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7031:143:2", + "src": "7060:143:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2101, + "id": 2417, "nodeType": "ExpressionStatement", - "src": "7031:143:2" + "src": "7060:143:3" } ] } @@ -9809,7 +9895,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2111, + "id": 2427, "isConstant": false, "isLValue": false, "isPure": false, @@ -9818,26 +9904,26 @@ "arguments": [ { "expression": { - "id": 2107, + "id": 2423, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "7218:3:2", + "src": "7247:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2108, + "id": 2424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7222:6:2", + "memberLocation": "7251:6:3", "memberName": "sender", "nodeType": "MemberAccess", - "src": "7218:10:2", + "src": "7247:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9852,33 +9938,33 @@ } ], "expression": { - "id": 2105, + "id": 2421, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1594, - "src": "7202:5:2", + "referencedDeclaration": 1904, + "src": "7231:5:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, - "id": 2106, + "id": 2422, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7208:9:2", + "memberLocation": "7237:9:3", "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 32315, - "src": "7202:15:2", + "referencedDeclaration": 32631, + "src": "7231:15:3", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2109, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -9887,7 +9973,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7202:27:2", + "src": "7231:27:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -9897,18 +9983,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 2110, + "id": 2426, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2027, - "src": "7233:10:2", + "referencedDeclaration": 2343, + "src": "7262:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7202:41:2", + "src": "7231:41:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9916,14 +10002,14 @@ }, { "hexValue": "6e6f7420656e6f75676820746f6b656e", - "id": 2112, + "id": 2428, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7245:18:2", + "src": "7274:18:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_3ac7a953c572870f626d1e7920a4e4e2aa70e1a26f5d23f2d584bf179d8c6382", "typeString": "literal_string \"not enough token\"" @@ -9942,7 +10028,7 @@ "typeString": "literal_string \"not enough token\"" } ], - "id": 2104, + "id": 2420, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9950,13 +10036,13 @@ -18 ], "referencedDeclaration": -18, - "src": "7194:7:2", + "src": "7223:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2113, + "id": 2429, "isConstant": false, "isLValue": false, "isPure": false, @@ -9965,31 +10051,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7194:70:2", + "src": "7223:70:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2114, + "id": 2430, "nodeType": "ExpressionStatement", - "src": "7194:70:2" + "src": "7223:70:3" }, { "assignments": [ - 2116 + 2432 ], "declarations": [ { "constant": false, - "id": 2116, + "id": 2432, "mutability": "mutable", "name": "votingRoomID", - "nameLocation": "7283:12:2", + "nameLocation": "7312:12:3", "nodeType": "VariableDeclaration", - "scope": 2199, - "src": "7275:20:2", + "scope": 2515, + "src": "7304:20:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9997,10 +10083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2115, + "id": 2431, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7275:7:2", + "src": "7304:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10009,39 +10095,39 @@ "visibility": "internal" } ], - "id": 2121, + "id": 2437, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2120, + "id": 2436, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2117, + "id": 2433, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "7298:11:2", + "referencedDeclaration": 1914, + "src": "7327:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2118, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7310:6:2", + "memberLocation": "7339:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "7298:18:2", + "src": "7327:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10051,57 +10137,57 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2119, + "id": 2435, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7319:1:2", + "src": "7348:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "7298:22:2", + "src": "7327:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "7275:45:2" + "src": "7304:45:3" }, { "expression": { - "id": 2126, + "id": 2442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2122, + "id": 2438, "name": "activeRoomIDByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1608, - "src": "7331:25:2", + "referencedDeclaration": 1918, + "src": "7360:25:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", "typeString": "mapping(bytes memory => uint256)" } }, - "id": 2124, + "id": 2440, "indexExpression": { - "id": 2123, + "id": 2439, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "7357:9:2", + "referencedDeclaration": 2341, + "src": "7386:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -10112,7 +10198,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "7331:36:2", + "src": "7360:36:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10121,37 +10207,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2125, + "id": 2441, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "7370:12:2", + "referencedDeclaration": 2432, + "src": "7399:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7331:51:2", + "src": "7360:51:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2127, + "id": 2443, "nodeType": "ExpressionStatement", - "src": "7331:51:2" + "src": "7360:51:3" }, { "expression": { "arguments": [ { - "id": 2132, + "id": 2448, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "7429:12:2", + "referencedDeclaration": 2432, + "src": "7458:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10167,25 +10253,25 @@ ], "expression": { "baseExpression": { - "id": 2128, + "id": 2444, "name": "roomIDsByCommunityID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1613, - "src": "7392:20:2", + "referencedDeclaration": 1923, + "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": 2130, + "id": 2446, "indexExpression": { - "id": 2129, + "id": 2445, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "7413:9:2", + "referencedDeclaration": 2341, + "src": "7442:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -10196,27 +10282,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7392:31:2", + "src": "7421:31:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2131, + "id": 2447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7424:4:2", + "memberLocation": "7453:4:3", "memberName": "push", "nodeType": "MemberAccess", - "src": "7392:36:2", + "src": "7421:36:3", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$", "typeString": "function (uint256[] storage pointer,uint256)" } }, - "id": 2133, + "id": 2449, "isConstant": false, "isLValue": false, "isPure": false, @@ -10225,16 +10311,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7392:50:2", + "src": "7421:50:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2134, + "id": 2450, "nodeType": "ExpressionStatement", - "src": "7392:50:2" + "src": "7421:50:3" }, { "expression": { @@ -10243,26 +10329,26 @@ "arguments": [ { "expression": { - "id": 2140, + "id": 2456, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "7499:3:2", + "src": "7528:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2141, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7503:6:2", + "memberLocation": "7532:6:3", "memberName": "sender", "nodeType": "MemberAccess", - "src": "7499:10:2", + "src": "7528:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10270,39 +10356,39 @@ }, { "expression": { - "id": 2142, + "id": 2458, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "7521:8:2", + "referencedDeclaration": 1802, + "src": "7550:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2143, + "id": 2459, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "7530:3:2", + "memberLocation": "7559:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1491, - "src": "7521:12:2", + "referencedDeclaration": 1801, + "src": "7550:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, { - "id": 2144, + "id": 2460, "name": "voteAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2027, - "src": "7546:10:2", + "referencedDeclaration": 2343, + "src": "7575:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10316,7 +10402,7 @@ "typeString": "address" }, { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, { @@ -10324,27 +10410,27 @@ "typeString": "uint256" } ], - "id": 2139, + "id": 2455, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "7485:4:2", + "referencedDeclaration": 1810, + "src": "7514:4:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$1500_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$1810_storage_ptr_$", "typeString": "type(struct VotingContract.Vote storage pointer)" } }, - "id": 2145, + "id": 2461, "isConstant": false, "isLValue": false, "isPure": false, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [ - "7492:5:2", - "7511:8:2", - "7535:9:2" + "7521:5:3", + "7540:8:3", + "7564:9:3" ], "names": [ "voter", @@ -10352,10 +10438,10 @@ "sntAmount" ], "nodeType": "FunctionCall", - "src": "7485:74:2", + "src": "7514:74:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", "typeString": "struct VotingContract.Vote memory" } } @@ -10363,31 +10449,31 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$1500_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", "typeString": "struct VotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 2135, + "id": 2451, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "7452:13:2", + "referencedDeclaration": 1936, + "src": "7481:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2137, + "id": 2453, "indexExpression": { - "id": 2136, + "id": 2452, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "7466:12:2", + "referencedDeclaration": 2432, + "src": "7495:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10398,27 +10484,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7452:27:2", + "src": "7481:27:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2138, + "id": 2454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7480:4:2", + "memberLocation": "7509:4:3", "memberName": "push", "nodeType": "MemberAccess", - "src": "7452:32:2", + "src": "7481:32:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1500_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_ptr_$", + "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_$", "typeString": "function (struct VotingContract.Vote storage ref[] storage pointer,struct VotingContract.Vote storage ref)" } }, - "id": 2146, + "id": 2462, "isConstant": false, "isLValue": false, "isPure": false, @@ -10427,20 +10513,20 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7452:108:2", + "src": "7481:108:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2147, + "id": 2463, "nodeType": "ExpressionStatement", - "src": "7452:108:2" + "src": "7481:108:3" }, { "expression": { - "id": 2155, + "id": 2471, "isConstant": false, "isLValue": false, "isPure": false, @@ -10448,25 +10534,25 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2148, + "id": 2464, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1632, - "src": "7570:22:2", + "referencedDeclaration": 1942, + "src": "7599:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2152, + "id": 2468, "indexExpression": { - "id": 2149, + "id": 2465, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "7593:12:2", + "referencedDeclaration": 2432, + "src": "7622:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10477,35 +10563,35 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7570:36:2", + "src": "7599:36:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2153, + "id": 2469, "indexExpression": { "expression": { - "id": 2150, + "id": 2466, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -15, - "src": "7607:3:2", + "src": "7636:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2151, + "id": 2467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7611:6:2", + "memberLocation": "7640:6:3", "memberName": "sender", "nodeType": "MemberAccess", - "src": "7607:10:2", + "src": "7636:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10516,7 +10602,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "7570:48:2", + "src": "7599:48:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10526,29 +10612,29 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2154, + "id": 2470, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7621:4:2", + "src": "7650:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "7570:55:2", + "src": "7599:55:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2156, + "id": 2472, "nodeType": "ExpressionStatement", - "src": "7570:55:2" + "src": "7599:55:3" }, { "expression": { @@ -10557,26 +10643,26 @@ "arguments": [ { "expression": { - "id": 2161, + "id": 2477, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "7707:5:2", + "src": "7736:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2162, + "id": 2478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7713:6:2", + "memberLocation": "7742:6:3", "memberName": "number", "nodeType": "MemberAccess", - "src": "7707:12:2", + "src": "7736:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10584,26 +10670,26 @@ }, { "expression": { - "id": 2163, + "id": 2479, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "7746:5:2", + "src": "7775:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2164, + "id": 2480, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7752:9:2", + "memberLocation": "7781:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "7746:15:2", + "src": "7775:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10614,33 +10700,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2168, + "id": 2484, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2165, + "id": 2481, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "7800:5:2", + "src": "7829:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2166, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7806:9:2", + "memberLocation": "7835:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "7800:15:2", + "src": "7829:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10649,18 +10735,18 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2167, + "id": 2483, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1596, - "src": "7818:12:2", + "referencedDeclaration": 1906, + "src": "7847:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7800:30:2", + "src": "7829:30:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10671,7 +10757,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2174, + "id": 2490, "isConstant": false, "isLValue": false, "isPure": false, @@ -10681,33 +10767,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2172, + "id": 2488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2169, + "id": 2485, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "7855:5:2", + "src": "7884:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2170, + "id": 2486, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7861:9:2", + "memberLocation": "7890:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "7855:15:2", + "src": "7884:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10716,18 +10802,18 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2171, + "id": 2487, "name": "votingLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1596, - "src": "7873:12:2", + "referencedDeclaration": 1906, + "src": "7902:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7855:30:2", + "src": "7884:30:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10736,45 +10822,45 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2173, + "id": 2489, "name": "votingVerificationLength", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "7888:24:2", + "referencedDeclaration": 1908, + "src": "7917:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7855:57:2", + "src": "7884:57:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 2175, + "id": 2491, "name": "voteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2023, - "src": "7940:8:2", + "referencedDeclaration": 2339, + "src": "7969:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, { "hexValue": "66616c7365", - "id": 2176, + "id": 2492, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7977:5:2", + "src": "8006:5:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10782,12 +10868,12 @@ "value": "false" }, { - "id": 2177, + "id": 2493, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "8011:9:2", + "referencedDeclaration": 2341, + "src": "8040:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -10795,14 +10881,14 @@ }, { "hexValue": "30", - "id": 2178, + "id": 2494, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8053:1:2", + "src": "8082:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -10811,14 +10897,14 @@ }, { "hexValue": "30", - "id": 2179, + "id": 2495, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8091:1:2", + "src": "8120:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -10826,12 +10912,12 @@ "value": "0" }, { - "id": 2180, + "id": 2496, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "8122:12:2", + "referencedDeclaration": 2432, + "src": "8151:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10839,14 +10925,14 @@ }, { "hexValue": "30", - "id": 2181, + "id": 2497, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8162:1:2", + "src": "8191:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -10855,14 +10941,14 @@ }, { "hexValue": "30", - "id": 2182, + "id": 2498, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8196:1:2", + "src": "8225:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -10871,14 +10957,14 @@ }, { "hexValue": "66616c7365", - "id": 2183, + "id": 2499, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8226:5:2", + "src": "8255:5:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10905,7 +10991,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, { @@ -10941,37 +11027,37 @@ "typeString": "bool" } ], - "id": 2160, + "id": 2476, "name": "VotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "7666:10:2", + "referencedDeclaration": 1838, + "src": "7695:10:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "type(struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2184, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": false, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [ - "7695:10:2", - "7737:7:2", - "7779:19:2", - "7848:5:2", - "7930:8:2", - "7966:9:2", - "8000:9:2", - "8038:13:2", - "8072:17:2", - "8110:10:2", - "8152:8:2", - "8181:13:2", - "8215:9:2" + "7724:10:3", + "7766:7:3", + "7808:19:3", + "7877:5:3", + "7959:8:3", + "7995:9:3", + "8029:9:3", + "8067:13:3", + "8101:17:3", + "8139:10:3", + "8181:8:3", + "8210:13:3", + "8244:9:3" ], "names": [ "startBlock", @@ -10989,10 +11075,10 @@ "evaluated" ], "nodeType": "FunctionCall", - "src": "7666:580:2", + "src": "7695:580:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } } @@ -11000,37 +11086,37 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1528_memory_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_memory_ptr", "typeString": "struct VotingContract.VotingRoom memory" } ], "expression": { - "id": 2157, + "id": 2473, "name": "votingRooms", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "7636:11:2", + "referencedDeclaration": 1914, + "src": "7665:11:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_VotingRoom_$1838_storage_$dyn_storage", "typeString": "struct VotingContract.VotingRoom storage ref[] storage ref" } }, - "id": 2159, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7648:4:2", + "memberLocation": "7677:4:3", "memberName": "push", "nodeType": "MemberAccess", - "src": "7636:16:2", + "src": "7665:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage_ptr_$_t_struct$_VotingRoom_$1528_storage_$returns$__$attached_to$_t_array$_t_struct$_VotingRoom_$1528_storage_$dyn_storage_ptr_$", + "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_$", "typeString": "function (struct VotingContract.VotingRoom storage ref[] storage pointer,struct VotingContract.VotingRoom storage ref)" } }, - "id": 2185, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -11039,16 +11125,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7636:620:2", + "src": "7665:620:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2186, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "7636:620:2" + "src": "7665:620:3" }, { "expression": { @@ -11056,12 +11142,12 @@ { "arguments": [ { - "id": 2189, + "id": 2505, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "8418:12:2", + "referencedDeclaration": 2432, + "src": "8447:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11075,18 +11161,18 @@ "typeString": "uint256" } ], - "id": 2188, + "id": 2504, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "8403:14:2", + "referencedDeclaration": 2162, + "src": "8432:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2190, + "id": 2506, "isConstant": false, "isLValue": false, "isPure": false, @@ -11095,23 +11181,23 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8403:28:2", + "src": "8432:28:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { "hexValue": "31", - "id": 2191, + "id": 2507, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8433:1:2", + "src": "8462:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" @@ -11122,7 +11208,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -11130,18 +11216,18 @@ "typeString": "int_const 1" } ], - "id": 2187, + "id": 2503, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, - "src": "8388:14:2", + "referencedDeclaration": 2655, + "src": "8417:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1528_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 2192, + "id": 2508, "isConstant": false, "isLValue": false, "isPure": false, @@ -11150,39 +11236,39 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8388:47:2", + "src": "8417:47:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2193, + "id": 2509, "nodeType": "ExpressionStatement", - "src": "8388:47:2" + "src": "8417:47:3" }, { "eventCall": { "arguments": [ { - "id": 2195, + "id": 2511, "name": "votingRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2116, - "src": "8469:12:2", + "referencedDeclaration": 2432, + "src": "8498:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 2196, + "id": 2512, "name": "publicKey", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "8483:9:2", + "referencedDeclaration": 2341, + "src": "8512:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -11200,18 +11286,18 @@ "typeString": "bytes calldata" } ], - "id": 2194, + "id": 2510, "name": "VotingRoomStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1547, - "src": "8451:17:2", + "referencedDeclaration": 1857, + "src": "8480:17:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (uint256,bytes memory)" } }, - "id": 2197, + "id": 2513, "isConstant": false, "isLValue": false, "isPure": false, @@ -11220,16 +11306,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8451:42:2", + "src": "8480:42:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2198, + "id": 2514, "nodeType": "EmitStatement", - "src": "8446:47:2" + "src": "8475:47:3" } ] }, @@ -11238,43 +11324,43 @@ "kind": "function", "modifiers": [], "name": "initializeVotingRoom", - "nameLocation": "6353:20:2", + "nameLocation": "6382:20:3", "parameters": { - "id": 2028, + "id": 2344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2023, + "id": 2339, "mutability": "mutable", "name": "voteType", - "nameLocation": "6383:8:2", + "nameLocation": "6412:8:3", "nodeType": "VariableDeclaration", - "scope": 2200, - "src": "6374:17:2", + "scope": 2516, + "src": "6403:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, "typeName": { - "id": 2022, + "id": 2338, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2021, + "id": 2337, "name": "VoteType", "nameLocations": [ - "6374:8:2" + "6403:8:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1492, - "src": "6374:8:2" + "referencedDeclaration": 1802, + "src": "6403:8:3" }, - "referencedDeclaration": 1492, - "src": "6374:8:2", + "referencedDeclaration": 1802, + "src": "6403:8:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -11282,13 +11368,13 @@ }, { "constant": false, - "id": 2025, + "id": 2341, "mutability": "mutable", "name": "publicKey", - "nameLocation": "6408:9:2", + "nameLocation": "6437:9:3", "nodeType": "VariableDeclaration", - "scope": 2200, - "src": "6393:24:2", + "scope": 2516, + "src": "6422:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -11296,10 +11382,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2024, + "id": 2340, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6393:5:2", + "src": "6422:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11309,13 +11395,13 @@ }, { "constant": false, - "id": 2027, + "id": 2343, "mutability": "mutable", "name": "voteAmount", - "nameLocation": "6427:10:2", + "nameLocation": "6456:10:3", "nodeType": "VariableDeclaration", - "scope": 2200, - "src": "6419:18:2", + "scope": 2516, + "src": "6448:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11323,10 +11409,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2026, + "id": 2342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6419:7:2", + "src": "6448:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11335,28 +11421,28 @@ "visibility": "internal" } ], - "src": "6373:65:2" + "src": "6402:65:3" }, "returnParameters": { - "id": 2029, + "id": 2345, "nodeType": "ParameterList", "parameters": [], - "src": "6446:0:2" + "src": "6475:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2339, + "id": 2655, "nodeType": "FunctionDefinition", - "src": "8506:1431:2", + "src": "8535:1431:3", "nodes": [], "body": { - "id": 2338, + "id": 2654, "nodeType": "Block", - "src": "8598:1339:2", + "src": "8627:1339:3", "nodes": [], "statements": [ { @@ -11367,18 +11453,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2220, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2211, + "id": 2527, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2205, - "src": "8629:5:2", + "referencedDeclaration": 2521, + "src": "8658:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -11391,7 +11477,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2219, + "id": 2535, "isConstant": false, "isLValue": false, "isPure": false, @@ -11399,41 +11485,41 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 2212, + "id": 2528, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "8638:13:2", + "referencedDeclaration": 1936, + "src": "8667:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2215, + "id": 2531, "indexExpression": { "expression": { - "id": 2213, + "id": 2529, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "8652:10:2", + "referencedDeclaration": 2519, + "src": "8681:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2214, + "id": 2530, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "8663:10:2", + "memberLocation": "8692:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1521, - "src": "8652:21:2", + "referencedDeclaration": 1831, + "src": "8681:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11444,21 +11530,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8638:36:2", + "src": "8667:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2216, + "id": 2532, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "8675:6:2", + "memberLocation": "8704:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "8638:43:2", + "src": "8667:43:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11468,39 +11554,39 @@ "operator": "-", "rightExpression": { "expression": { - "id": 2217, + "id": 2533, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "8684:10:2", + "referencedDeclaration": 2519, + "src": "8713:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2218, + "id": 2534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "8695:13:2", + "memberLocation": "8724:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1525, - "src": "8684:24:2", + "referencedDeclaration": 1835, + "src": "8713:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "src": "8638:70:2", + "src": "8667:70:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8629:79:2", + "src": "8658:79:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11508,14 +11594,14 @@ }, { "hexValue": "6c696d69742069732067726561746572207468616e20766f746573206c656e677468", - "id": 2221, + "id": 2537, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8722:36:2", + "src": "8751:36:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f724c3cf57b19660a6dded2c65781f8a5ba2110092cb62ef61cc3d5b453f0113", "typeString": "literal_string \"limit is greater than votes length\"" @@ -11534,7 +11620,7 @@ "typeString": "literal_string \"limit is greater than votes length\"" } ], - "id": 2210, + "id": 2526, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11542,13 +11628,13 @@ -18 ], "referencedDeclaration": -18, - "src": "8608:7:2", + "src": "8637:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2222, + "id": 2538, "isConstant": false, "isLValue": false, "isPure": false, @@ -11557,31 +11643,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8608:160:2", + "src": "8637:160:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2223, + "id": 2539, "nodeType": "ExpressionStatement", - "src": "8608:160:2" + "src": "8637:160:3" }, { "assignments": [ - 2225 + 2541 ], "declarations": [ { "constant": false, - "id": 2225, + "id": 2541, "mutability": "mutable", "name": "balanceOfAtBlock", - "nameLocation": "8907:16:2", + "nameLocation": "8936:16:3", "nodeType": "VariableDeclaration", - "scope": 2338, - "src": "8899:24:2", + "scope": 2654, + "src": "8928:24:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11589,10 +11675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2224, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8899:7:2", + "src": "8928:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11601,88 +11687,88 @@ "visibility": "internal" } ], - "id": 2228, + "id": 2544, "initialValue": { "expression": { - "id": 2226, + "id": 2542, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "8926:5:2", + "src": "8955:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2227, + "id": 2543, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "8932:6:2", + "memberLocation": "8961:6:3", "memberName": "number", "nodeType": "MemberAccess", - "src": "8926:12:2", + "src": "8955:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "8899:39:2" + "src": "8928:39:3" }, { "condition": { "expression": { - "id": 2229, + "id": 2545, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "8953:10:2", + "referencedDeclaration": 2519, + "src": "8982:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2230, + "id": 2546, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "8964:9:2", + "memberLocation": "8993:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1513, - "src": "8953:20:2", + "referencedDeclaration": 1823, + "src": "8982:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2237, + "id": 2553, "nodeType": "IfStatement", - "src": "8949:89:2", + "src": "8978:89:3", "trueBody": { - "id": 2236, + "id": 2552, "nodeType": "Block", - "src": "8975:63:2", + "src": "9004:63:3", "statements": [ { "expression": { - "id": 2234, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2231, + "id": 2547, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2225, - "src": "8989:16:2", + "referencedDeclaration": 2541, + "src": "9018:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11692,59 +11778,59 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2232, + "id": 2548, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9008:10:2", + "referencedDeclaration": 2519, + "src": "9037:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2233, + "id": 2549, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9019:8:2", + "memberLocation": "9048:8:3", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 1523, - "src": "9008:19:2", + "referencedDeclaration": 1833, + "src": "9037:19:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8989:38:2", + "src": "9018:38:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2235, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "8989:38:2" + "src": "9018:38:3" } ] } }, { "assignments": [ - 2239 + 2555 ], "declarations": [ { "constant": false, - "id": 2239, + "id": 2555, "mutability": "mutable", "name": "i", - "nameLocation": "9055:1:2", + "nameLocation": "9084:1:3", "nodeType": "VariableDeclaration", - "scope": 2338, - "src": "9048:8:2", + "scope": 2654, + "src": "9077:8:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11752,10 +11838,10 @@ "typeString": "uint32" }, "typeName": { - "id": 2238, + "id": 2554, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "9048:6:2", + "src": "9077:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -11764,17 +11850,17 @@ "visibility": "internal" } ], - "id": 2241, + "id": 2557, "initialValue": { "hexValue": "30", - "id": 2240, + "id": 2556, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9059:1:2", + "src": "9088:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -11782,96 +11868,96 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "9048:12:2" + "src": "9077:12:3" }, { "body": { - "id": 2308, + "id": 2624, "nodeType": "Block", - "src": "9093:588:2", + "src": "9122:588:3", "statements": [ { "assignments": [ - 2250 + 2566 ], "declarations": [ { "constant": false, - "id": 2250, + "id": 2566, "mutability": "mutable", "name": "vote", - "nameLocation": "9120:4:2", + "nameLocation": "9149:4:3", "nodeType": "VariableDeclaration", - "scope": 2308, - "src": "9107:17:2", + "scope": 2624, + "src": "9136:17:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote" }, "typeName": { - "id": 2249, + "id": 2565, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2248, + "id": 2564, "name": "Vote", "nameLocations": [ - "9107:4:2" + "9136:4:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1500, - "src": "9107:4:2" + "referencedDeclaration": 1810, + "src": "9136:4:3" }, - "referencedDeclaration": 1500, - "src": "9107:4:2", + "referencedDeclaration": 1810, + "src": "9136:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote" } }, "visibility": "internal" } ], - "id": 2260, + "id": 2576, "initialValue": { "baseExpression": { "baseExpression": { - "id": 2251, + "id": 2567, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "9127:13:2", + "referencedDeclaration": 1936, + "src": "9156:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2254, + "id": 2570, "indexExpression": { "expression": { - "id": 2252, + "id": 2568, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9141:10:2", + "referencedDeclaration": 2519, + "src": "9170:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2253, + "id": 2569, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9152:10:2", + "memberLocation": "9181:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1521, - "src": "9141:21:2", + "referencedDeclaration": 1831, + "src": "9170:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11882,46 +11968,46 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9127:36:2", + "src": "9156:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2259, + "id": 2575, "indexExpression": { "commonType": { "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2258, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2255, + "id": 2571, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9164:10:2", + "referencedDeclaration": 2519, + "src": "9193:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2256, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9175:13:2", + "memberLocation": "9204:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1525, - "src": "9164:24:2", + "referencedDeclaration": 1835, + "src": "9193:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -11930,18 +12016,18 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 2257, + "id": 2573, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "9191:1:2", + "referencedDeclaration": 2555, + "src": "9220:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "src": "9164:28:2", + "src": "9193:28:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -11952,14 +12038,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9127:66:2", + "src": "9156:66:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage", + "typeIdentifier": "t_struct$_Vote_$1810_storage", "typeString": "struct VotingContract.Vote storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "9107:86:2" + "src": "9136:86:3" }, { "condition": { @@ -11967,7 +12053,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2269, + "id": 2585, "isConstant": false, "isLValue": false, "isPure": false, @@ -11976,39 +12062,39 @@ "arguments": [ { "expression": { - "id": 2263, + "id": 2579, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9230:4:2", + "referencedDeclaration": 2566, + "src": "9259:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2264, + "id": 2580, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9235:5:2", + "memberLocation": "9264:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1494, - "src": "9230:10:2", + "referencedDeclaration": 1804, + "src": "9259:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2265, + "id": 2581, "name": "balanceOfAtBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2225, - "src": "9242:16:2", + "referencedDeclaration": 2541, + "src": "9271:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12027,33 +12113,33 @@ } ], "expression": { - "id": 2261, + "id": 2577, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1594, - "src": "9212:5:2", + "referencedDeclaration": 1904, + "src": "9241:5:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$33237", + "typeIdentifier": "t_contract$_MiniMeToken_$33553", "typeString": "contract MiniMeToken" } }, - "id": 2262, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "9218:11:2", + "memberLocation": "9247:11:3", "memberName": "balanceOfAt", "nodeType": "MemberAccess", - "referencedDeclaration": 32608, - "src": "9212:17:2", + "referencedDeclaration": 32924, + "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": 2266, + "id": 2582, "isConstant": false, "isLValue": false, "isPure": false, @@ -12062,7 +12148,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "9212:47:2", + "src": "9241:47:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12073,69 +12159,69 @@ "operator": ">=", "rightExpression": { "expression": { - "id": 2267, + "id": 2583, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9263:4:2", + "referencedDeclaration": 2566, + "src": "9292:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2268, + "id": 2584, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9268:9:2", + "memberLocation": "9297:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1499, - "src": "9263:14:2", + "referencedDeclaration": 1809, + "src": "9292:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9212:65:2", + "src": "9241:65:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2306, + "id": 2622, "nodeType": "Block", - "src": "9584:87:2", + "src": "9613:87:3", "statements": [ { "eventCall": { "arguments": [ { "expression": { - "id": 2300, + "id": 2616, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9622:10:2", + "referencedDeclaration": 2519, + "src": "9651:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2301, + "id": 2617, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9633:10:2", + "memberLocation": "9662:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1521, - "src": "9622:21:2", + "referencedDeclaration": 1831, + "src": "9651:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12143,27 +12229,27 @@ }, { "expression": { - "id": 2302, + "id": 2618, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9645:4:2", + "referencedDeclaration": 2566, + "src": "9674:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2303, + "id": 2619, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9650:5:2", + "memberLocation": "9679:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1494, - "src": "9645:10:2", + "referencedDeclaration": 1804, + "src": "9674:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12181,18 +12267,18 @@ "typeString": "address" } ], - "id": 2299, + "id": 2615, "name": "NotEnoughToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1576, - "src": "9607:14:2", + "referencedDeclaration": 1886, + "src": "9636:14:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2304, + "id": 2620, "isConstant": false, "isLValue": false, "isPure": false, @@ -12201,63 +12287,63 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "9607:49:2", + "src": "9636:49:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2305, + "id": 2621, "nodeType": "EmitStatement", - "src": "9602:54:2" + "src": "9631:54:3" } ] }, - "id": 2307, + "id": 2623, "nodeType": "IfStatement", - "src": "9208:463:2", + "src": "9237:463:3", "trueBody": { - "id": 2298, + "id": 2614, "nodeType": "Block", - "src": "9279:299:2", + "src": "9308:299:3", "statements": [ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, - "id": 2274, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2270, + "id": 2586, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9301:4:2", + "referencedDeclaration": 2566, + "src": "9330:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2271, + "id": 2587, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9306:8:2", + "memberLocation": "9335:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1497, - "src": "9301:13:2", + "referencedDeclaration": 1807, + "src": "9330:13:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -12265,73 +12351,73 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2272, + "id": 2588, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "9318:8:2", + "referencedDeclaration": 1802, + "src": "9347:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2273, + "id": 2589, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "9327:3:2", + "memberLocation": "9356:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1491, - "src": "9318:12:2", + "referencedDeclaration": 1801, + "src": "9347:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, - "src": "9301:29:2", + "src": "9330:29:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2296, + "id": 2612, "nodeType": "Block", - "src": "9447:117:2", + "src": "9476:117:3", "statements": [ { "expression": { - "id": 2294, + "id": 2610, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2286, + "id": 2602, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9469:10:2", + "referencedDeclaration": 2519, + "src": "9498:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2288, + "id": 2604, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "9480:17:2", + "memberLocation": "9509:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1519, - "src": "9469:28:2", + "referencedDeclaration": 1829, + "src": "9498:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12344,34 +12430,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2293, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2289, + "id": 2605, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9500:10:2", + "referencedDeclaration": 2519, + "src": "9529:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2290, + "id": 2606, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9511:17:2", + "memberLocation": "9540:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1519, - "src": "9500:28:2", + "referencedDeclaration": 1829, + "src": "9529:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12381,88 +12467,88 @@ "operator": "+", "rightExpression": { "expression": { - "id": 2291, + "id": 2607, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9531:4:2", + "referencedDeclaration": 2566, + "src": "9560:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2292, + "id": 2608, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9536:9:2", + "memberLocation": "9565:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1499, - "src": "9531:14:2", + "referencedDeclaration": 1809, + "src": "9560:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9500:45:2", + "src": "9529:45:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9469:76:2", + "src": "9498:76:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2295, + "id": 2611, "nodeType": "ExpressionStatement", - "src": "9469:76:2" + "src": "9498:76:3" } ] }, - "id": 2297, + "id": 2613, "nodeType": "IfStatement", - "src": "9297:267:2", + "src": "9326:267:3", "trueBody": { - "id": 2285, + "id": 2601, "nodeType": "Block", - "src": "9332:109:2", + "src": "9361:109:3", "statements": [ { "expression": { - "id": 2283, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2275, + "id": 2591, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9354:10:2", + "referencedDeclaration": 2519, + "src": "9383:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2277, + "id": 2593, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "9365:13:2", + "memberLocation": "9394:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1517, - "src": "9354:24:2", + "referencedDeclaration": 1827, + "src": "9383:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12475,34 +12561,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2282, + "id": 2598, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2278, + "id": 2594, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9381:10:2", + "referencedDeclaration": 2519, + "src": "9410:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2279, + "id": 2595, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9392:13:2", + "memberLocation": "9421:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1517, - "src": "9381:24:2", + "referencedDeclaration": 1827, + "src": "9410:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12512,47 +12598,47 @@ "operator": "+", "rightExpression": { "expression": { - "id": 2280, + "id": 2596, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2250, - "src": "9408:4:2", + "referencedDeclaration": 2566, + "src": "9437:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_storage_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_storage_ptr", "typeString": "struct VotingContract.Vote storage pointer" } }, - "id": 2281, + "id": 2597, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9413:9:2", + "memberLocation": "9442:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1499, - "src": "9408:14:2", + "referencedDeclaration": 1809, + "src": "9437:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9381:41:2", + "src": "9410:41:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9354:68:2", + "src": "9383:68:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2284, + "id": 2600, "nodeType": "ExpressionStatement", - "src": "9354:68:2" + "src": "9383:68:3" } ] } @@ -12567,18 +12653,18 @@ "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2244, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2242, + "id": 2558, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "9077:1:2", + "referencedDeclaration": 2555, + "src": "9106:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -12587,27 +12673,27 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 2243, + "id": 2559, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2205, - "src": "9081:5:2", + "referencedDeclaration": 2521, + "src": "9110:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "src": "9077:9:2", + "src": "9106:9:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2309, + "id": 2625, "loopExpression": { "expression": { - "id": 2246, + "id": 2562, "isConstant": false, "isLValue": false, "isPure": false, @@ -12615,14 +12701,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "9088:3:2", + "src": "9117:3:3", "subExpression": { - "id": 2245, + "id": 2561, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "9088:1:2", + "referencedDeclaration": 2555, + "src": "9117:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -12633,43 +12719,43 @@ "typeString": "uint32" } }, - "id": 2247, + "id": 2563, "nodeType": "ExpressionStatement", - "src": "9088:3:2" + "src": "9117:3:3" }, "nodeType": "ForStatement", - "src": "9070:611:2" + "src": "9099:611:3" }, { "expression": { - "id": 2314, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2310, + "id": 2626, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9691:10:2", + "referencedDeclaration": 2519, + "src": "9720:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2312, + "id": 2628, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "9702:13:2", + "memberLocation": "9731:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1525, - "src": "9691:24:2", + "referencedDeclaration": 1835, + "src": "9720:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -12678,26 +12764,26 @@ "nodeType": "Assignment", "operator": "+=", "rightHandSide": { - "id": 2313, + "id": 2629, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2239, - "src": "9719:1:2", + "referencedDeclaration": 2555, + "src": "9748:1:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "src": "9691:29:2", + "src": "9720:29:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "id": 2315, + "id": 2631, "nodeType": "ExpressionStatement", - "src": "9691:29:2" + "src": "9720:29:3" }, { "condition": { @@ -12705,34 +12791,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2323, + "id": 2639, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2316, + "id": 2632, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9734:10:2", + "referencedDeclaration": 2519, + "src": "9763:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2317, + "id": 2633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9745:13:2", + "memberLocation": "9774:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1525, - "src": "9734:24:2", + "referencedDeclaration": 1835, + "src": "9763:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -12743,41 +12829,41 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 2318, + "id": 2634, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "9762:13:2", + "referencedDeclaration": 1936, + "src": "9791:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2321, + "id": 2637, "indexExpression": { "expression": { - "id": 2319, + "id": 2635, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9776:10:2", + "referencedDeclaration": 2519, + "src": "9805:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2320, + "id": 2636, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9787:10:2", + "memberLocation": "9816:10:3", "memberName": "roomNumber", "nodeType": "MemberAccess", - "referencedDeclaration": 1521, - "src": "9776:21:2", + "referencedDeclaration": 1831, + "src": "9805:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12788,70 +12874,70 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9762:36:2", + "src": "9791:36:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2322, + "id": 2638, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "9799:6:2", + "memberLocation": "9828:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "9762:43:2", + "src": "9791:43:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9734:71:2", + "src": "9763:71:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2331, + "id": 2647, "nodeType": "IfStatement", - "src": "9730:129:2", + "src": "9759:129:3", "trueBody": { - "id": 2330, + "id": 2646, "nodeType": "Block", - "src": "9807:52:2", + "src": "9836:52:3", "statements": [ { "expression": { - "id": 2328, + "id": 2644, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2324, + "id": 2640, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9821:10:2", + "referencedDeclaration": 2519, + "src": "9850:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2326, + "id": 2642, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "9832:9:2", + "memberLocation": "9861:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1527, - "src": "9821:20:2", + "referencedDeclaration": 1837, + "src": "9850:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12861,29 +12947,29 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2327, + "id": 2643, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9844:4:2", + "src": "9873:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "9821:27:2", + "src": "9850:27:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2329, + "id": 2645, "nodeType": "ExpressionStatement", - "src": "9821:27:2" + "src": "9850:27:3" } ] } @@ -12894,34 +12980,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2336, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2332, + "id": 2648, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9875:10:2", + "referencedDeclaration": 2519, + "src": "9904:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2333, + "id": 2649, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9886:13:2", + "memberLocation": "9915:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1517, - "src": "9875:24:2", + "referencedDeclaration": 1827, + "src": "9904:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12931,42 +13017,42 @@ "operator": ">", "rightExpression": { "expression": { - "id": 2334, + "id": 2650, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2203, - "src": "9902:10:2", + "referencedDeclaration": 2519, + "src": "9931:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2335, + "id": 2651, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "9913:17:2", + "memberLocation": "9942:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1519, - "src": "9902:28:2", + "referencedDeclaration": 1829, + "src": "9931:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9875:55:2", + "src": "9904:55:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2209, - "id": 2337, + "functionReturnParameters": 2525, + "id": 2653, "nodeType": "Return", - "src": "9868:62:2" + "src": "9897:62:3" } ] }, @@ -12974,43 +13060,43 @@ "kind": "function", "modifiers": [], "name": "_evaluateVotes", - "nameLocation": "8515:14:2", + "nameLocation": "8544:14:3", "parameters": { - "id": 2206, + "id": 2522, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2203, + "id": 2519, "mutability": "mutable", "name": "votingRoom", - "nameLocation": "8549:10:2", + "nameLocation": "8578:10:3", "nodeType": "VariableDeclaration", - "scope": 2339, - "src": "8530:29:2", + "scope": 2655, + "src": "8559:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2202, + "id": 2518, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2201, + "id": 2517, "name": "VotingRoom", "nameLocations": [ - "8530:10:2" + "8559:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "8530:10:2" + "referencedDeclaration": 1838, + "src": "8559:10:3" }, - "referencedDeclaration": 1528, - "src": "8530:10:2", + "referencedDeclaration": 1838, + "src": "8559:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, @@ -13018,13 +13104,13 @@ }, { "constant": false, - "id": 2205, + "id": 2521, "mutability": "mutable", "name": "limit", - "nameLocation": "8568:5:2", + "nameLocation": "8597:5:3", "nodeType": "VariableDeclaration", - "scope": 2339, - "src": "8561:12:2", + "scope": 2655, + "src": "8590:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13032,10 +13118,10 @@ "typeString": "uint32" }, "typeName": { - "id": 2204, + "id": 2520, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "8561:6:2", + "src": "8590:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -13044,21 +13130,21 @@ "visibility": "internal" } ], - "src": "8529:45:2" + "src": "8558:45:3" }, "returnParameters": { - "id": 2209, + "id": 2525, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2208, + "id": 2524, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2339, - "src": "8592:4:2", + "scope": 2655, + "src": "8621:4:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13066,10 +13152,10 @@ "typeString": "bool" }, "typeName": { - "id": 2207, + "id": 2523, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "8592:4:2", + "src": "8621:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13078,60 +13164,60 @@ "visibility": "internal" } ], - "src": "8591:6:2" + "src": "8620:6:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 2368, + "id": 2684, "nodeType": "FunctionDefinition", - "src": "9943:271:2", + "src": "9972:271:3", "nodes": [], "body": { - "id": 2367, + "id": 2683, "nodeType": "Block", - "src": "10010:204:2", + "src": "10039:204:3", "nodes": [], "statements": [ { "condition": { "commonType": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, - "id": 2349, + "id": 2665, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2345, + "id": 2661, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2342, - "src": "10024:10:2", + "referencedDeclaration": 2658, + "src": "10053:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2346, + "id": 2662, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "10035:8:2", + "memberLocation": "10064:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1511, - "src": "10024:19:2", + "referencedDeclaration": 1821, + "src": "10053:19:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, @@ -13139,69 +13225,69 @@ "operator": "==", "rightExpression": { "expression": { - "id": 2347, + "id": 2663, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "10047:8:2", + "referencedDeclaration": 1802, + "src": "10076:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2348, + "id": 2664, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "10056:3:2", + "memberLocation": "10085:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1491, - "src": "10047:12:2", + "referencedDeclaration": 1801, + "src": "10076:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, - "src": "10024:35:2", + "src": "10053:35:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2365, + "id": 2681, "nodeType": "Block", - "src": "10136:72:2", + "src": "10165:72:3", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2361, + "id": 2677, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2342, - "src": "10176:10:2", + "referencedDeclaration": 2658, + "src": "10205:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2362, + "id": 2678, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "10187:9:2", + "memberLocation": "10216:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1515, - "src": "10176:20:2", + "referencedDeclaration": 1825, + "src": "10205:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -13216,33 +13302,33 @@ } ], "expression": { - "id": 2358, + "id": 2674, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "10150:9:2", + "referencedDeclaration": 1901, + "src": "10179:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "id": 2360, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "10160:15:2", + "memberLocation": "10189:15:3", "memberName": "removeCommunity", "nodeType": "MemberAccess", "referencedDeclaration": 155, - "src": "10150:25:2", + "src": "10179:25:3", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (bytes memory) external" } }, - "id": 2363, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -13251,53 +13337,53 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "10150:47:2", + "src": "10179:47:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2364, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "10150:47:2" + "src": "10179:47:3" } ] }, - "id": 2366, + "id": 2682, "nodeType": "IfStatement", - "src": "10020:188:2", + "src": "10049:188:3", "trueBody": { - "id": 2357, + "id": 2673, "nodeType": "Block", - "src": "10061:69:2", + "src": "10090:69:3", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2353, + "id": 2669, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2342, - "src": "10098:10:2", + "referencedDeclaration": 2658, + "src": "10127:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2354, + "id": 2670, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "10109:9:2", + "memberLocation": "10138:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1515, - "src": "10098:20:2", + "referencedDeclaration": 1825, + "src": "10127:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -13312,33 +13398,33 @@ } ], "expression": { - "id": 2350, + "id": 2666, "name": "directory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "10075:9:2", + "referencedDeclaration": 1901, + "src": "10104:9:3", "typeDescriptions": { "typeIdentifier": "t_contract$_Directory_$294", "typeString": "contract Directory" } }, - "id": 2352, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "10085:12:2", + "memberLocation": "10114:12:3", "memberName": "addCommunity", "nodeType": "MemberAccess", "referencedDeclaration": 135, - "src": "10075:22:2", + "src": "10104:22:3", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (bytes memory) external" } }, - "id": 2355, + "id": 2671, "isConstant": false, "isLValue": false, "isPure": false, @@ -13347,16 +13433,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "10075:44:2", + "src": "10104:44:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2356, + "id": 2672, "nodeType": "ExpressionStatement", - "src": "10075:44:2" + "src": "10104:44:3" } ] } @@ -13367,126 +13453,126 @@ "kind": "function", "modifiers": [], "name": "_populateDirectory", - "nameLocation": "9952:18:2", + "nameLocation": "9981:18:3", "parameters": { - "id": 2343, + "id": 2659, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2342, + "id": 2658, "mutability": "mutable", "name": "votingRoom", - "nameLocation": "9990:10:2", + "nameLocation": "10019:10:3", "nodeType": "VariableDeclaration", - "scope": 2368, - "src": "9971:29:2", + "scope": 2684, + "src": "10000:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2341, + "id": 2657, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2340, + "id": 2656, "name": "VotingRoom", "nameLocations": [ - "9971:10:2" + "10000:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "9971:10:2" + "referencedDeclaration": 1838, + "src": "10000:10:3" }, - "referencedDeclaration": 1528, - "src": "9971:10:2", + "referencedDeclaration": 1838, + "src": "10000:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "src": "9970:31:2" + "src": "9999:31:3" }, "returnParameters": { - "id": 2344, + "id": 2660, "nodeType": "ParameterList", "parameters": [], - "src": "10010:0:2" + "src": "10039:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 2482, + "id": 2798, "nodeType": "FunctionDefinition", - "src": "10220:1134:2", + "src": "10249:1134:3", "nodes": [], "body": { - "id": 2481, + "id": 2797, "nodeType": "Block", - "src": "10285:1069:2", + "src": "10314:1069:3", "nodes": [], "statements": [ { "assignments": [ - 2377 + 2693 ], "declarations": [ { "constant": false, - "id": 2377, + "id": 2693, "mutability": "mutable", "name": "votingRoom", - "nameLocation": "10314:10:2", + "nameLocation": "10343:10:3", "nodeType": "VariableDeclaration", - "scope": 2481, - "src": "10295:29:2", + "scope": 2797, + "src": "10324:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2376, + "id": 2692, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2375, + "id": 2691, "name": "VotingRoom", "nameLocations": [ - "10295:10:2" + "10324:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "10295:10:2" + "referencedDeclaration": 1838, + "src": "10324:10:3" }, - "referencedDeclaration": 1528, - "src": "10295:10:2", + "referencedDeclaration": 1838, + "src": "10324:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 2381, + "id": 2697, "initialValue": { "arguments": [ { - "id": 2379, + "id": 2695, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2370, - "src": "10342:6:2", + "referencedDeclaration": 2686, + "src": "10371:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13500,18 +13586,18 @@ "typeString": "uint256" } ], - "id": 2378, + "id": 2694, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "10327:14:2", + "referencedDeclaration": 2162, + "src": "10356:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2380, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -13520,19 +13606,19 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "10327:22:2", + "src": "10356:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, "nodeType": "VariableDeclarationStatement", - "src": "10295:54:2" + "src": "10324:54:3" }, { "condition": { - "id": 2384, + "id": 2700, "isConstant": false, "isLValue": false, "isPure": false, @@ -13540,30 +13626,30 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "10364:21:2", + "src": "10393:21:3", "subExpression": { "expression": { - "id": 2382, + "id": 2698, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10365:10:2", + "referencedDeclaration": 2693, + "src": "10394:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2383, + "id": 2699, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "10376:9:2", + "memberLocation": "10405:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1513, - "src": "10365:20:2", + "referencedDeclaration": 1823, + "src": "10394:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13574,13 +13660,13 @@ "typeString": "bool" } }, - "id": 2446, + "id": 2755, "nodeType": "IfStatement", - "src": "10360:632:2", + "src": "10389:567:3", "trueBody": { - "id": 2445, + "id": 2754, "nodeType": "Block", - "src": "10387:605:2", + "src": "10416:540:3", "statements": [ { "expression": { @@ -13590,34 +13676,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2390, + "id": 2706, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2386, + "id": 2702, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10409:10:2", + "referencedDeclaration": 2693, + "src": "10438:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2387, + "id": 2703, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "10420:5:2", + "memberLocation": "10449:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1508, - "src": "10409:16:2", + "referencedDeclaration": 1818, + "src": "10438:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13627,32 +13713,32 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2388, + "id": 2704, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "10428:5:2", + "src": "10457:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2389, + "id": 2705, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "10434:9:2", + "memberLocation": "10463:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "10428:15:2", + "src": "10457:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10409:34:2", + "src": "10438:34:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13660,14 +13746,14 @@ }, { "hexValue": "766f7465207374696c6c206f6e676f696e67", - "id": 2391, + "id": 2707, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10445:20:2", + "src": "10474:20:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9c165b06d185f80e649e41fe9ec797fd7f63f05ca7885eca3812f682e2274e74", "typeString": "literal_string \"vote still ongoing\"" @@ -13686,7 +13772,7 @@ "typeString": "literal_string \"vote still ongoing\"" } ], - "id": 2385, + "id": 2701, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13694,13 +13780,13 @@ -18 ], "referencedDeclaration": -18, - "src": "10401:7:2", + "src": "10430:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2392, + "id": 2708, "isConstant": false, "isLValue": false, "isPure": false, @@ -13709,47 +13795,47 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "10401:65:2", + "src": "10430:65:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2393, + "id": 2709, "nodeType": "ExpressionStatement", - "src": "10401:65:2" + "src": "10430:65:3" }, { "expression": { - "id": 2398, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2394, + "id": 2710, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10480:10:2", + "referencedDeclaration": 2693, + "src": "10509:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2396, + "id": 2712, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10491:9:2", + "memberLocation": "10520:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1513, - "src": "10480:20:2", + "referencedDeclaration": 1823, + "src": "10509:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13759,60 +13845,60 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2397, + "id": 2713, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10503:4:2", + "src": "10532:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10480:27:2", + "src": "10509:27:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2399, + "id": 2715, "nodeType": "ExpressionStatement", - "src": "10480:27:2" + "src": "10509:27:3" }, { "expression": { - "id": 2405, + "id": 2721, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2400, + "id": 2716, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10521:10:2", + "referencedDeclaration": 2693, + "src": "10550:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2402, + "id": 2718, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10532:5:2", + "memberLocation": "10561:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1508, - "src": "10521:16:2", + "referencedDeclaration": 1818, + "src": "10550:16:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13822,71 +13908,71 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2403, + "id": 2719, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "10540:5:2", + "src": "10569:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2404, + "id": 2720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "10546:9:2", + "memberLocation": "10575:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "10540:15:2", + "src": "10569:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10521:34:2", + "src": "10550:34:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2406, + "id": 2722, "nodeType": "ExpressionStatement", - "src": "10521:34:2" + "src": "10550:34:3" }, { "expression": { - "id": 2412, + "id": 2728, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2407, + "id": 2723, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10569:10:2", + "referencedDeclaration": 2693, + "src": "10598:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2409, + "id": 2725, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10580:8:2", + "memberLocation": "10609:8:3", "memberName": "endBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 1523, - "src": "10569:19:2", + "referencedDeclaration": 1833, + "src": "10598:19:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13896,159 +13982,71 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 2410, + "id": 2726, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "10591:5:2", + "src": "10620:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2411, + "id": 2727, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "10597:6:2", + "memberLocation": "10626:6:3", "memberName": "number", "nodeType": "MemberAccess", - "src": "10591:12:2", + "src": "10620:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10569:34:2", + "src": "10598:34:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2413, + "id": 2729, "nodeType": "ExpressionStatement", - "src": "10569:34:2" + "src": "10598:34:3" }, { "expression": { - "id": 2419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 2414, - "name": "activeRoomIDByCommunityID", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1608, - "src": "10617:25:2", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", - "typeString": "mapping(bytes memory => uint256)" - } - }, - "id": 2417, - "indexExpression": { - "expression": { - "id": 2415, - "name": "votingRoom", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10643:10:2", - "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", - "typeString": "struct VotingContract.VotingRoom storage pointer" - } - }, - "id": 2416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10654:9:2", - "memberName": "community", - "nodeType": "MemberAccess", - "referencedDeclaration": 1515, - "src": "10643:20:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10617:47:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "30", - "id": 2418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10667:1:2", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "10617:51:2", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 2420, - "nodeType": "ExpressionStatement", - "src": "10617:51:2" - }, - { - "expression": { - "id": 2425, + "id": 2734, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2421, + "id": 2730, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10823:10:2", + "referencedDeclaration": 2693, + "src": "10787:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2423, + "id": 2732, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10834:13:2", + "memberLocation": "10798:13:3", "memberName": "evaluatingPos", "nodeType": "MemberAccess", - "referencedDeclaration": 1525, - "src": "10823:24:2", + "referencedDeclaration": 1835, + "src": "10787:24:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -14058,60 +14056,60 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2424, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10850:1:2", + "src": "10814:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "10823:28:2", + "src": "10787:28:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "id": 2426, + "id": 2735, "nodeType": "ExpressionStatement", - "src": "10823:28:2" + "src": "10787:28:3" }, { "expression": { - "id": 2431, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2427, + "id": 2736, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10865:10:2", + "referencedDeclaration": 2693, + "src": "10829:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2429, + "id": 2738, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10876:9:2", + "memberLocation": "10840:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1527, - "src": "10865:20:2", + "referencedDeclaration": 1837, + "src": "10829:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14121,60 +14119,60 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 2430, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10888:5:2", + "src": "10852:5:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "10865:28:2", + "src": "10829:28:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2432, + "id": 2741, "nodeType": "ExpressionStatement", - "src": "10865:28:2" + "src": "10829:28:3" }, { "expression": { - "id": 2437, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2433, + "id": 2742, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10907:10:2", + "referencedDeclaration": 2693, + "src": "10871:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2435, + "id": 2744, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10918:13:2", + "memberLocation": "10882:13:3", "memberName": "totalVotesFor", "nodeType": "MemberAccess", - "referencedDeclaration": 1517, - "src": "10907:24:2", + "referencedDeclaration": 1827, + "src": "10871:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14184,60 +14182,60 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2436, + "id": 2745, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10934:1:2", + "src": "10898:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "10907:28:2", + "src": "10871:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2438, + "id": 2747, "nodeType": "ExpressionStatement", - "src": "10907:28:2" + "src": "10871:28:3" }, { "expression": { - "id": 2443, + "id": 2752, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "expression": { - "id": 2439, + "id": 2748, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "10949:10:2", + "referencedDeclaration": 2693, + "src": "10913:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2441, + "id": 2750, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberLocation": "10960:17:2", + "memberLocation": "10924:17:3", "memberName": "totalVotesAgainst", "nodeType": "MemberAccess", - "referencedDeclaration": 1519, - "src": "10949:28:2", + "referencedDeclaration": 1829, + "src": "10913:28:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14247,29 +14245,29 @@ "operator": "=", "rightHandSide": { "hexValue": "30", - "id": 2442, + "id": 2751, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10980:1:2", + "src": "10944:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "10949:32:2", + "src": "10913:32:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2444, + "id": 2753, "nodeType": "ExpressionStatement", - "src": "10949:32:2" + "src": "10913:32:3" } ] } @@ -14278,7 +14276,7 @@ "expression": { "arguments": [ { - "id": 2450, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,30 +14284,30 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "11010:21:2", + "src": "10974:21:3", "subExpression": { "expression": { - "id": 2448, + "id": 2757, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11011:10:2", + "referencedDeclaration": 2693, + "src": "10975:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2449, + "id": 2758, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11022:9:2", + "memberLocation": "10986:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1527, - "src": "11011:20:2", + "referencedDeclaration": 1837, + "src": "10975:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14322,14 +14320,14 @@ }, { "hexValue": "766f746520616c72656164792066696e616c697a6564", - "id": 2451, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11033:24:2", + "src": "10997:24:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1d7851e4310ec1b885594b213ff4284f23886b08b01b8aba8bd58609e15b97a8", "typeString": "literal_string \"vote already finalized\"" @@ -14348,7 +14346,7 @@ "typeString": "literal_string \"vote already finalized\"" } ], - "id": 2447, + "id": 2756, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -14356,13 +14354,13 @@ -18 ], "referencedDeclaration": -18, - "src": "11002:7:2", + "src": "10966:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2452, + "id": 2761, "isConstant": false, "isLValue": false, "isPure": false, @@ -14371,31 +14369,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11002:56:2", + "src": "10966:56:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2453, + "id": 2762, "nodeType": "ExpressionStatement", - "src": "11002:56:2" + "src": "10966:56:3" }, { "assignments": [ - 2455 + 2764 ], "declarations": [ { "constant": false, - "id": 2455, + "id": 2764, "mutability": "mutable", "name": "passed", - "nameLocation": "11074:6:2", + "nameLocation": "11038:6:3", "nodeType": "VariableDeclaration", - "scope": 2481, - "src": "11069:11:2", + "scope": 2797, + "src": "11033:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14403,10 +14401,10 @@ "typeString": "bool" }, "typeName": { - "id": 2454, + "id": 2763, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11069:4:2", + "src": "11033:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14415,28 +14413,28 @@ "visibility": "internal" } ], - "id": 2460, + "id": 2769, "initialValue": { "arguments": [ { - "id": 2457, + "id": 2766, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11098:10:2", + "referencedDeclaration": 2693, + "src": "11062:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { - "id": 2458, + "id": 2767, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2372, - "src": "11110:5:2", + "referencedDeclaration": 2688, + "src": "11074:5:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -14446,7 +14444,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -14454,18 +14452,18 @@ "typeString": "uint32" } ], - "id": 2456, + "id": 2765, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, - "src": "11083:14:2", + "referencedDeclaration": 2655, + "src": "11047:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1528_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 2459, + "id": 2768, "isConstant": false, "isLValue": false, "isPure": false, @@ -14474,7 +14472,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11083:33:2", + "src": "11047:33:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14482,78 +14480,166 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "11069:47:2" + "src": "11033:47:3" }, { "condition": { "expression": { - "id": 2461, + "id": 2770, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11130:10:2", + "referencedDeclaration": 2693, + "src": "11094:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2462, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11141:9:2", + "memberLocation": "11105:9:3", "memberName": "evaluated", "nodeType": "MemberAccess", - "referencedDeclaration": 1527, - "src": "11130:20:2", + "referencedDeclaration": 1837, + "src": "11094:20:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2480, + "id": 2796, "nodeType": "IfStatement", - "src": "11126:222:2", + "src": "11090:287:3", "trueBody": { - "id": 2479, + "id": 2795, "nodeType": "Block", - "src": "11152:196:2", + "src": "11116:261:3", "statements": [ + { + "expression": { + "id": 2777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2772, + "name": "activeRoomIDByCommunityID", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1918, + "src": "11130:25:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes_memory_ptr_$_t_uint256_$", + "typeString": "mapping(bytes memory => uint256)" + } + }, + "id": 2775, + "indexExpression": { + "expression": { + "id": 2773, + "name": "votingRoom", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2693, + "src": "11156:10:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", + "typeString": "struct VotingContract.VotingRoom storage pointer" + } + }, + "id": 2774, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11167:9:3", + "memberName": "community", + "nodeType": "MemberAccess", + "referencedDeclaration": 1825, + "src": "11156:20:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage", + "typeString": "bytes storage ref" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "11130:47:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 2776, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11180:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "11130:51:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2778, + "nodeType": "ExpressionStatement", + "src": "11130:51:3" + }, { "condition": { - "id": 2463, + "id": 2779, "name": "passed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2455, - "src": "11170:6:2", + "referencedDeclaration": 2764, + "src": "11199:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2469, + "id": 2785, "nodeType": "IfStatement", - "src": "11166:75:2", + "src": "11195:75:3", "trueBody": { - "id": 2468, + "id": 2784, "nodeType": "Block", - "src": "11178:63:2", + "src": "11207:63:3", "statements": [ { "expression": { "arguments": [ { - "id": 2465, + "id": 2781, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11215:10:2", + "referencedDeclaration": 2693, + "src": "11244:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } } @@ -14561,22 +14647,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } ], - "id": 2464, + "id": 2780, "name": "_populateDirectory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2368, - "src": "11196:18:2", + "referencedDeclaration": 2684, + "src": "11225:18:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1528_storage_ptr_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$returns$__$", "typeString": "function (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2466, + "id": 2782, "isConstant": false, "isLValue": false, "isPure": false, @@ -14585,16 +14671,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11196:30:2", + "src": "11225:30:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2467, + "id": 2783, "nodeType": "ExpressionStatement", - "src": "11196:30:2" + "src": "11225:30:3" } ] } @@ -14603,12 +14689,12 @@ "eventCall": { "arguments": [ { - "id": 2471, + "id": 2787, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2370, - "src": "11279:6:2", + "referencedDeclaration": 2686, + "src": "11308:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14616,39 +14702,39 @@ }, { "expression": { - "id": 2472, + "id": 2788, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11287:10:2", + "referencedDeclaration": 2693, + "src": "11316:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2473, + "id": 2789, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11298:9:2", + "memberLocation": "11327:9:3", "memberName": "community", "nodeType": "MemberAccess", - "referencedDeclaration": 1515, - "src": "11287:20:2", + "referencedDeclaration": 1825, + "src": "11316:20:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" } }, { - "id": 2474, + "id": 2790, "name": "passed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2455, - "src": "11309:6:2", + "referencedDeclaration": 2764, + "src": "11338:6:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14656,29 +14742,29 @@ }, { "expression": { - "id": 2475, + "id": 2791, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2377, - "src": "11317:10:2", + "referencedDeclaration": 2693, + "src": "11346:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2476, + "id": 2792, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11328:8:2", + "memberLocation": "11357:8:3", "memberName": "voteType", "nodeType": "MemberAccess", - "referencedDeclaration": 1511, - "src": "11317:19:2", + "referencedDeclaration": 1821, + "src": "11346:19:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } } @@ -14698,22 +14784,22 @@ "typeString": "bool" }, { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } ], - "id": 2470, + "id": 2786, "name": "VotingRoomFinalized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "11259:19:2", + "referencedDeclaration": 1874, + "src": "11288:19:3", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$_t_bool_$_t_enum$_VoteType_$1492_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$_t_bool_$_t_enum$_VoteType_$1802_$returns$__$", "typeString": "function (uint256,bytes memory,bool,enum VotingContract.VoteType)" } }, - "id": 2477, + "id": 2793, "isConstant": false, "isLValue": false, "isPure": false, @@ -14722,16 +14808,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11259:78:2", + "src": "11288:78:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2478, + "id": 2794, "nodeType": "EmitStatement", - "src": "11254:83:2" + "src": "11283:83:3" } ] } @@ -14743,20 +14829,20 @@ "kind": "function", "modifiers": [], "name": "finalizeVotingRoom", - "nameLocation": "10229:18:2", + "nameLocation": "10258:18:3", "parameters": { - "id": 2373, + "id": 2689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2370, + "id": 2686, "mutability": "mutable", "name": "roomId", - "nameLocation": "10256:6:2", + "nameLocation": "10285:6:3", "nodeType": "VariableDeclaration", - "scope": 2482, - "src": "10248:14:2", + "scope": 2798, + "src": "10277:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14764,10 +14850,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2369, + "id": 2685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10248:7:2", + "src": "10277:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14777,13 +14863,13 @@ }, { "constant": false, - "id": 2372, + "id": 2688, "mutability": "mutable", "name": "limit", - "nameLocation": "10271:5:2", + "nameLocation": "10300:5:3", "nodeType": "VariableDeclaration", - "scope": 2482, - "src": "10264:12:2", + "scope": 2798, + "src": "10293:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14791,10 +14877,10 @@ "typeString": "uint32" }, "typeName": { - "id": 2371, + "id": 2687, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "10264:6:2", + "src": "10293:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -14803,33 +14889,33 @@ "visibility": "internal" } ], - "src": "10247:30:2" + "src": "10276:30:3" }, "returnParameters": { - "id": 2374, + "id": 2690, "nodeType": "ParameterList", "parameters": [], - "src": "10285:0:2" + "src": "10314:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { - "id": 2612, + "id": 2928, "nodeType": "FunctionDefinition", - "src": "11360:1123:2", + "src": "11389:1123:3", "nodes": [], "body": { - "id": 2611, + "id": 2927, "nodeType": "Block", - "src": "11427:1056:2", + "src": "11456:1056:3", "nodes": [], "statements": [ { "condition": { - "id": 2493, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -14837,18 +14923,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "11441:22:2", + "src": "11470:22:3", "subExpression": { "arguments": [ { - "id": 2491, + "id": 2807, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11458:4:2", + "referencedDeclaration": 2801, + "src": "11487:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -14856,22 +14942,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 2490, + "id": 2806, "name": "verifySignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1744, - "src": "11442:15:2", + "referencedDeclaration": 2054, + "src": "11471:15:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$1541_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct VotingContract.SignedVote calldata) view returns (bool)" } }, - "id": 2492, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": false, @@ -14880,7 +14966,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11442:21:2", + "src": "11471:21:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14892,13 +14978,13 @@ "typeString": "bool" } }, - "id": 2506, + "id": 2822, "nodeType": "IfStatement", - "src": "11437:137:2", + "src": "11466:137:3", "trueBody": { - "id": 2505, + "id": 2821, "nodeType": "Block", - "src": "11465:109:2", + "src": "11494:109:3", "statements": [ { "eventCall": { @@ -14908,34 +14994,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2498, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2495, + "id": 2811, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11501:4:2", + "referencedDeclaration": 2801, + "src": "11530:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2496, + "id": 2812, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11506:13:2", + "memberLocation": "11535:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1532, - "src": "11501:18:2", + "referencedDeclaration": 1842, + "src": "11530:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14945,21 +15031,21 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2497, + "id": 2813, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11523:1:2", + "src": "11552:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "11501:23:2", + "src": "11530:23:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14967,27 +15053,27 @@ }, { "expression": { - "id": 2499, + "id": 2815, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11526:4:2", + "referencedDeclaration": 2801, + "src": "11555:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2500, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11531:5:2", + "memberLocation": "11560:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "11526:10:2", + "referencedDeclaration": 1840, + "src": "11555:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15005,18 +15091,18 @@ "typeString": "address" } ], - "id": 2494, + "id": 2810, "name": "InvalidSignature", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1588, - "src": "11484:16:2", + "referencedDeclaration": 1898, + "src": "11513:16:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2501, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, @@ -15025,56 +15111,56 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11484:53:2", + "src": "11513:53:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2502, + "id": 2818, "nodeType": "EmitStatement", - "src": "11479:58:2" + "src": "11508:58:3" }, { "expression": { "hexValue": "66616c7365", - "id": 2503, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11558:5:2", + "src": "11587:5:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2489, - "id": 2504, + "functionReturnParameters": 2805, + "id": 2820, "nodeType": "Return", - "src": "11551:12:2" + "src": "11580:12:3" } ] } }, { "assignments": [ - 2508 + 2824 ], "declarations": [ { "constant": false, - "id": 2508, + "id": 2824, "mutability": "mutable", "name": "roomId", - "nameLocation": "11592:6:2", + "nameLocation": "11621:6:3", "nodeType": "VariableDeclaration", - "scope": 2611, - "src": "11584:14:2", + "scope": 2927, + "src": "11613:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15082,10 +15168,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2507, + "id": 2823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11584:7:2", + "src": "11613:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15094,40 +15180,40 @@ "visibility": "internal" } ], - "id": 2513, + "id": 2829, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2512, + "id": 2828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2509, + "id": 2825, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11601:4:2", + "referencedDeclaration": 2801, + "src": "11630:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2510, + "id": 2826, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11606:13:2", + "memberLocation": "11635:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1532, - "src": "11601:18:2", + "referencedDeclaration": 1842, + "src": "11630:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15137,82 +15223,82 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2511, + "id": 2827, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11623:1:2", + "src": "11652:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "11601:23:2", + "src": "11630:23:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11584:40:2" + "src": "11613:40:3" }, { "assignments": [ - 2516 + 2832 ], "declarations": [ { "constant": false, - "id": 2516, + "id": 2832, "mutability": "mutable", "name": "room", - "nameLocation": "11653:4:2", + "nameLocation": "11682:4:3", "nodeType": "VariableDeclaration", - "scope": 2611, - "src": "11634:23:2", + "scope": 2927, + "src": "11663:23:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2515, + "id": 2831, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2514, + "id": 2830, "name": "VotingRoom", "nameLocations": [ - "11634:10:2" + "11663:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "11634:10:2" + "referencedDeclaration": 1838, + "src": "11663:10:3" }, - "referencedDeclaration": 1528, - "src": "11634:10:2", + "referencedDeclaration": 1838, + "src": "11663:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 2520, + "id": 2836, "initialValue": { "arguments": [ { - "id": 2518, + "id": 2834, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "11675:6:2", + "referencedDeclaration": 2824, + "src": "11704:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15226,18 +15312,18 @@ "typeString": "uint256" } ], - "id": 2517, + "id": 2833, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "11660:14:2", + "referencedDeclaration": 2162, + "src": "11689:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2519, + "id": 2835, "isConstant": false, "isLValue": false, "isPure": false, @@ -15246,15 +15332,15 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11660:22:2", + "src": "11689:22:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, "nodeType": "VariableDeclarationStatement", - "src": "11634:48:2" + "src": "11663:48:3" }, { "expression": { @@ -15264,33 +15350,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2526, + "id": 2842, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2522, + "id": 2838, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -4, - "src": "11701:5:2", + "src": "11730:5:3", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 2523, + "id": 2839, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11707:9:2", + "memberLocation": "11736:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "src": "11701:15:2", + "src": "11730:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15300,33 +15386,33 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2524, + "id": 2840, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "11719:4:2", + "referencedDeclaration": 2832, + "src": "11748:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2525, + "id": 2841, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11724:5:2", + "memberLocation": "11753:5:3", "memberName": "endAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1508, - "src": "11719:10:2", + "referencedDeclaration": 1818, + "src": "11748:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11701:28:2", + "src": "11730:28:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15334,14 +15420,14 @@ }, { "hexValue": "766f746520636c6f736564", - "id": 2527, + "id": 2843, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11731:13:2", + "src": "11760:13:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8698048fa911b3733c5655120f8a36395716b704cca77e7191733074392040c3", "typeString": "literal_string \"vote closed\"" @@ -15360,7 +15446,7 @@ "typeString": "literal_string \"vote closed\"" } ], - "id": 2521, + "id": 2837, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15368,13 +15454,13 @@ -18 ], "referencedDeclaration": -18, - "src": "11693:7:2", + "src": "11722:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2528, + "id": 2844, "isConstant": false, "isLValue": false, "isPure": false, @@ -15383,22 +15469,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11693:52:2", + "src": "11722:52:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2529, + "id": 2845, "nodeType": "ExpressionStatement", - "src": "11693:52:2" + "src": "11722:52:3" }, { "expression": { "arguments": [ { - "id": 2533, + "id": 2849, "isConstant": false, "isLValue": false, "isPure": false, @@ -15406,30 +15492,30 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "11763:15:2", + "src": "11792:15:3", "subExpression": { "expression": { - "id": 2531, + "id": 2847, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "11764:4:2", + "referencedDeclaration": 2832, + "src": "11793:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2532, + "id": 2848, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11769:9:2", + "memberLocation": "11798:9:3", "memberName": "finalized", "nodeType": "MemberAccess", - "referencedDeclaration": 1513, - "src": "11764:14:2", + "referencedDeclaration": 1823, + "src": "11793:14:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15442,14 +15528,14 @@ }, { "hexValue": "726f6f6d2066696e616c697a6564", - "id": 2534, + "id": 2850, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11780:16:2", + "src": "11809:16:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2f57770d10d59bdb87173d4c7eac6b6dba8503d7d033c254a599b2c19eabb489", "typeString": "literal_string \"room finalized\"" @@ -15468,7 +15554,7 @@ "typeString": "literal_string \"room finalized\"" } ], - "id": 2530, + "id": 2846, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15476,13 +15562,13 @@ -18 ], "referencedDeclaration": -18, - "src": "11755:7:2", + "src": "11784:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2535, + "id": 2851, "isConstant": false, "isLValue": false, "isPure": false, @@ -15491,16 +15577,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11755:42:2", + "src": "11784:42:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2536, + "id": 2852, "nodeType": "ExpressionStatement", - "src": "11755:42:2" + "src": "11784:42:3" }, { "expression": { @@ -15510,34 +15596,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2542, + "id": 2858, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2538, + "id": 2854, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11815:4:2", + "referencedDeclaration": 2801, + "src": "11844:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2539, + "id": 2855, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11820:9:2", + "memberLocation": "11849:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1536, - "src": "11815:14:2", + "referencedDeclaration": 1846, + "src": "11844:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15547,33 +15633,33 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2540, + "id": 2856, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "11832:4:2", + "referencedDeclaration": 2832, + "src": "11861:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2541, + "id": 2857, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11837:19:2", + "memberLocation": "11866:19:3", "memberName": "verificationStartAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1506, - "src": "11832:24:2", + "referencedDeclaration": 1816, + "src": "11861:24:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11815:41:2", + "src": "11844:41:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15581,14 +15667,14 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 2543, + "id": 2859, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11858:24:2", + "src": "11887:24:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9298fc159b4249fdfd6cba7b32ee308495cbb4f24740bd796b40ff0a87ab2f8e", "typeString": "literal_string \"invalid vote timestamp\"" @@ -15607,7 +15693,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 2537, + "id": 2853, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15615,13 +15701,13 @@ -18 ], "referencedDeclaration": -18, - "src": "11807:7:2", + "src": "11836:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2544, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -15630,16 +15716,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11807:76:2", + "src": "11836:76:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2545, + "id": 2861, "nodeType": "ExpressionStatement", - "src": "11807:76:2" + "src": "11836:76:3" }, { "expression": { @@ -15649,34 +15735,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2551, + "id": 2867, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2547, + "id": 2863, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "11901:4:2", + "referencedDeclaration": 2801, + "src": "11930:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2548, + "id": 2864, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "11906:9:2", + "memberLocation": "11935:9:3", "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 1536, - "src": "11901:14:2", + "referencedDeclaration": 1846, + "src": "11930:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15686,33 +15772,33 @@ "operator": ">=", "rightExpression": { "expression": { - "id": 2549, + "id": 2865, "name": "room", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2516, - "src": "11919:4:2", + "referencedDeclaration": 2832, + "src": "11948:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, - "id": 2550, + "id": 2866, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "11924:7:2", + "memberLocation": "11953:7:3", "memberName": "startAt", "nodeType": "MemberAccess", - "referencedDeclaration": 1504, - "src": "11919:12:2", + "referencedDeclaration": 1814, + "src": "11948:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11901:30:2", + "src": "11930:30:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15720,14 +15806,14 @@ }, { "hexValue": "696e76616c696420766f74652074696d657374616d70", - "id": 2552, + "id": 2868, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11933:24:2", + "src": "11962:24:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9298fc159b4249fdfd6cba7b32ee308495cbb4f24740bd796b40ff0a87ab2f8e", "typeString": "literal_string \"invalid vote timestamp\"" @@ -15746,7 +15832,7 @@ "typeString": "literal_string \"invalid vote timestamp\"" } ], - "id": 2546, + "id": 2862, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -15754,13 +15840,13 @@ -18 ], "referencedDeclaration": -18, - "src": "11893:7:2", + "src": "11922:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2553, + "id": 2869, "isConstant": false, "isLValue": false, "isPure": false, @@ -15769,40 +15855,40 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "11893:65:2", + "src": "11922:65:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2554, + "id": 2870, "nodeType": "ExpressionStatement", - "src": "11893:65:2" + "src": "11922:65:3" }, { "condition": { "baseExpression": { "baseExpression": { - "id": 2555, + "id": 2871, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1632, - "src": "11973:22:2", + "referencedDeclaration": 1942, + "src": "12002:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2557, + "id": 2873, "indexExpression": { - "id": 2556, + "id": 2872, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "11996:6:2", + "referencedDeclaration": 2824, + "src": "12025:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15813,36 +15899,36 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11973:30:2", + "src": "12002:30:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2560, + "id": 2876, "indexExpression": { "expression": { - "id": 2558, + "id": 2874, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12004:4:2", + "referencedDeclaration": 2801, + "src": "12033:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2559, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12009:5:2", + "memberLocation": "12038:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "12004:10:2", + "referencedDeclaration": 1840, + "src": "12033:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15853,30 +15939,30 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11973:42:2", + "src": "12002:42:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2570, + "id": 2886, "nodeType": "IfStatement", - "src": "11969:136:2", + "src": "11998:136:3", "trueBody": { - "id": 2569, + "id": 2885, "nodeType": "Block", - "src": "12017:88:2", + "src": "12046:88:3", "statements": [ { "eventCall": { "arguments": [ { - "id": 2562, + "id": 2878, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "12049:6:2", + "referencedDeclaration": 2824, + "src": "12078:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15884,27 +15970,27 @@ }, { "expression": { - "id": 2563, + "id": 2879, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12057:4:2", + "referencedDeclaration": 2801, + "src": "12086:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2564, + "id": 2880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12062:5:2", + "memberLocation": "12091:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "12057:10:2", + "referencedDeclaration": 1840, + "src": "12086:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15922,18 +16008,18 @@ "typeString": "address" } ], - "id": 2561, + "id": 2877, "name": "AlreadyVoted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "12036:12:2", + "referencedDeclaration": 1892, + "src": "12065:12:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2565, + "id": 2881, "isConstant": false, "isLValue": false, "isPure": false, @@ -15942,45 +16028,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "12036:32:2", + "src": "12065:32:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2566, + "id": 2882, "nodeType": "EmitStatement", - "src": "12031:37:2" + "src": "12060:37:3" }, { "expression": { "hexValue": "66616c7365", - "id": 2567, + "id": 2883, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12089:5:2", + "src": "12118:5:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2489, - "id": 2568, + "functionReturnParameters": 2805, + "id": 2884, "nodeType": "Return", - "src": "12082:12:2" + "src": "12111:12:3" } ] } }, { "expression": { - "id": 2578, + "id": 2894, "isConstant": false, "isLValue": false, "isPure": false, @@ -15988,25 +16074,25 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2571, + "id": 2887, "name": "votedAddressesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1632, - "src": "12115:22:2", + "referencedDeclaration": 1942, + "src": "12144:22:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(uint256 => mapping(address => bool))" } }, - "id": 2575, + "id": 2891, "indexExpression": { - "id": 2572, + "id": 2888, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "12138:6:2", + "referencedDeclaration": 2824, + "src": "12167:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16017,36 +16103,36 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12115:30:2", + "src": "12144:30:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2576, + "id": 2892, "indexExpression": { "expression": { - "id": 2573, + "id": 2889, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12146:4:2", + "referencedDeclaration": 2801, + "src": "12175:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2574, + "id": 2890, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12151:5:2", + "memberLocation": "12180:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "12146:10:2", + "referencedDeclaration": 1840, + "src": "12175:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16057,7 +16143,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "12115:42:2", + "src": "12144:42:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16067,29 +16153,29 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 2577, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12160:4:2", + "src": "12189:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "12115:49:2", + "src": "12144:49:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2579, + "id": 2895, "nodeType": "ExpressionStatement", - "src": "12115:49:2" + "src": "12144:49:3" }, { "expression": { @@ -16098,27 +16184,27 @@ "arguments": [ { "expression": { - "id": 2585, + "id": 2901, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12244:4:2", + "referencedDeclaration": 2801, + "src": "12273:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2586, + "id": 2902, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12249:5:2", + "memberLocation": "12278:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "12244:10:2", + "referencedDeclaration": 1840, + "src": "12273:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16130,7 +16216,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2592, + "id": 2908, "isConstant": false, "isLValue": false, "isPure": false, @@ -16140,34 +16226,34 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2590, + "id": 2906, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 2587, + "id": 2903, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12282:4:2", + "referencedDeclaration": 2801, + "src": "12311:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2588, + "id": 2904, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12287:13:2", + "memberLocation": "12316:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1532, - "src": "12282:18:2", + "referencedDeclaration": 1842, + "src": "12311:18:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16177,21 +16263,21 @@ "operator": "&", "rightExpression": { "hexValue": "31", - "id": 2589, + "id": 2905, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12303:1:2", + "src": "12332:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "12282:22:2", + "src": "12311:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16201,21 +16287,21 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 2591, + "id": 2907, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12308:1:2", + "src": "12337:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "12282:27:2", + "src": "12311:27:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16223,95 +16309,95 @@ }, "falseExpression": { "expression": { - "id": 2595, + "id": 2911, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "12327:8:2", + "referencedDeclaration": 1802, + "src": "12356:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2596, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "12336:7:2", + "memberLocation": "12365:7:3", "memberName": "AGAINST", "nodeType": "MemberAccess", - "referencedDeclaration": 1490, - "src": "12327:16:2", + "referencedDeclaration": 1800, + "src": "12356:16:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, - "id": 2597, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "12282:61:2", + "src": "12311:61:3", "trueExpression": { "expression": { - "id": 2593, + "id": 2909, "name": "VoteType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "12312:8:2", + "referencedDeclaration": 1802, + "src": "12341:8:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_VoteType_$1492_$", + "typeIdentifier": "t_type$_t_enum$_VoteType_$1802_$", "typeString": "type(enum VotingContract.VoteType)" } }, - "id": 2594, + "id": 2910, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "12321:3:2", + "memberLocation": "12350:3:3", "memberName": "FOR", "nodeType": "MemberAccess", - "referencedDeclaration": 1491, - "src": "12312:12:2", + "referencedDeclaration": 1801, + "src": "12341:12:3", "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, "typeDescriptions": { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" } }, { "expression": { - "id": 2598, + "id": 2914, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12372:4:2", + "referencedDeclaration": 2801, + "src": "12401:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2599, + "id": 2915, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12377:9:2", + "memberLocation": "12406:9:3", "memberName": "sntAmount", "nodeType": "MemberAccess", - "referencedDeclaration": 1534, - "src": "12372:14:2", + "referencedDeclaration": 1844, + "src": "12401:14:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16325,7 +16411,7 @@ "typeString": "address" }, { - "typeIdentifier": "t_enum$_VoteType_$1492", + "typeIdentifier": "t_enum$_VoteType_$1802", "typeString": "enum VotingContract.VoteType" }, { @@ -16333,27 +16419,27 @@ "typeString": "uint256" } ], - "id": 2584, + "id": 2900, "name": "Vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "12214:4:2", + "referencedDeclaration": 1810, + "src": "12243:4:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Vote_$1500_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Vote_$1810_storage_ptr_$", "typeString": "type(struct VotingContract.Vote storage pointer)" } }, - "id": 2600, + "id": 2916, "isConstant": false, "isLValue": false, "isPure": false, "kind": "structConstructorCall", "lValueRequested": false, "nameLocations": [ - "12237:5:2", - "12272:8:2", - "12361:9:2" + "12266:5:3", + "12301:8:3", + "12390:9:3" ], "names": [ "voter", @@ -16361,10 +16447,10 @@ "sntAmount" ], "nodeType": "FunctionCall", - "src": "12214:187:2", + "src": "12243:187:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Vote_$1500_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", "typeString": "struct VotingContract.Vote memory" } } @@ -16372,31 +16458,31 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Vote_$1500_memory_ptr", + "typeIdentifier": "t_struct$_Vote_$1810_memory_ptr", "typeString": "struct VotingContract.Vote memory" } ], "expression": { "baseExpression": { - "id": 2580, + "id": 2896, "name": "votesByRoomID", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1626, - "src": "12174:13:2", + "referencedDeclaration": 1936, + "src": "12203:13:3", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_Vote_$1810_storage_$dyn_storage_$", "typeString": "mapping(uint256 => struct VotingContract.Vote storage ref[] storage ref)" } }, - "id": 2582, + "id": 2898, "indexExpression": { - "id": 2581, + "id": 2897, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "12188:6:2", + "referencedDeclaration": 2824, + "src": "12217:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16407,27 +16493,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12174:21:2", + "src": "12203:21:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Vote_$1500_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Vote_$1810_storage_$dyn_storage", "typeString": "struct VotingContract.Vote storage ref[] storage ref" } }, - "id": 2583, + "id": 2899, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12196:4:2", + "memberLocation": "12225:4:3", "memberName": "push", "nodeType": "MemberAccess", - "src": "12174:26:2", + "src": "12203:26:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_ptr_$_t_struct$_Vote_$1500_storage_$returns$__$attached_to$_t_array$_t_struct$_Vote_$1500_storage_$dyn_storage_ptr_$", + "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_$", "typeString": "function (struct VotingContract.Vote storage ref[] storage pointer,struct VotingContract.Vote storage ref)" } }, - "id": 2601, + "id": 2917, "isConstant": false, "isLValue": false, "isPure": false, @@ -16436,27 +16522,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "12174:237:2", + "src": "12203:237:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2602, + "id": 2918, "nodeType": "ExpressionStatement", - "src": "12174:237:2" + "src": "12203:237:3" }, { "eventCall": { "arguments": [ { - "id": 2604, + "id": 2920, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2508, - "src": "12436:6:2", + "referencedDeclaration": 2824, + "src": "12465:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16464,27 +16550,27 @@ }, { "expression": { - "id": 2605, + "id": 2921, "name": "vote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "12444:4:2", + "referencedDeclaration": 2801, + "src": "12473:4:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2606, + "id": 2922, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12449:5:2", + "memberLocation": "12478:5:3", "memberName": "voter", "nodeType": "MemberAccess", - "referencedDeclaration": 1530, - "src": "12444:10:2", + "referencedDeclaration": 1840, + "src": "12473:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16502,18 +16588,18 @@ "typeString": "address" } ], - "id": 2603, + "id": 2919, "name": "VoteCast", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1570, - "src": "12427:8:2", + "referencedDeclaration": 1880, + "src": "12456:8:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address)" } }, - "id": 2607, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": false, @@ -16522,38 +16608,38 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "12427:28:2", + "src": "12456:28:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2608, + "id": 2924, "nodeType": "EmitStatement", - "src": "12422:33:2" + "src": "12451:33:3" }, { "expression": { "hexValue": "74727565", - "id": 2609, + "id": 2925, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12472:4:2", + "src": "12501:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2489, - "id": 2610, + "functionReturnParameters": 2805, + "id": 2926, "nodeType": "Return", - "src": "12465:11:2" + "src": "12494:11:3" } ] }, @@ -16561,64 +16647,64 @@ "kind": "function", "modifiers": [], "name": "castVote", - "nameLocation": "11369:8:2", + "nameLocation": "11398:8:3", "parameters": { - "id": 2486, + "id": 2802, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 2801, "mutability": "mutable", "name": "vote", - "nameLocation": "11398:4:2", + "nameLocation": "11427:4:3", "nodeType": "VariableDeclaration", - "scope": 2612, - "src": "11378:24:2", + "scope": 2928, + "src": "11407:24:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote" }, "typeName": { - "id": 2484, + "id": 2800, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2483, + "id": 2799, "name": "SignedVote", "nameLocations": [ - "11378:10:2" + "11407:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1541, - "src": "11378:10:2" + "referencedDeclaration": 1851, + "src": "11407:10:3" }, - "referencedDeclaration": 1541, - "src": "11378:10:2", + "referencedDeclaration": 1851, + "src": "11407:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, "visibility": "internal" } ], - "src": "11377:26:2" + "src": "11406:26:3" }, "returnParameters": { - "id": 2489, + "id": 2805, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 2804, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2612, - "src": "11421:4:2", + "scope": 2928, + "src": "11450:4:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16626,10 +16712,10 @@ "typeString": "bool" }, "typeName": { - "id": 2487, + "id": 2803, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11421:4:2", + "src": "11450:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16638,38 +16724,38 @@ "visibility": "internal" } ], - "src": "11420:6:2" + "src": "11449:6:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { - "id": 2720, + "id": 3036, "nodeType": "FunctionDefinition", - "src": "12489:1083:2", + "src": "12518:1083:3", "nodes": [], "body": { - "id": 2719, + "id": 3035, "nodeType": "Block", - "src": "12544:1028:2", + "src": "12573:1028:3", "nodes": [], "statements": [ { "assignments": [ - 2620 + 2936 ], "declarations": [ { "constant": false, - "id": 2620, + "id": 2936, "mutability": "mutable", "name": "roomIdCount", - "nameLocation": "12656:11:2", + "nameLocation": "12685:11:3", "nodeType": "VariableDeclaration", - "scope": 2719, - "src": "12649:18:2", + "scope": 3035, + "src": "12678:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16677,10 +16763,10 @@ "typeString": "uint16" }, "typeName": { - "id": 2619, + "id": 2935, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "12649:6:2", + "src": "12678:6:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -16689,17 +16775,17 @@ "visibility": "internal" } ], - "id": 2622, + "id": 2938, "initialValue": { "hexValue": "30", - "id": 2621, + "id": 2937, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12670:1:2", + "src": "12699:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -16707,28 +16793,28 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "12649:22:2" + "src": "12678:22:3" }, { "body": { - "id": 2677, + "id": 2993, "nodeType": "Block", - "src": "12725:390:2", + "src": "12754:390:3", "statements": [ { "assignments": [ - 2635 + 2951 ], "declarations": [ { "constant": false, - "id": 2635, + "id": 2951, "mutability": "mutable", "name": "success", - "nameLocation": "12744:7:2", + "nameLocation": "12773:7:3", "nodeType": "VariableDeclaration", - "scope": 2677, - "src": "12739:12:2", + "scope": 2993, + "src": "12768:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16736,10 +16822,10 @@ "typeString": "bool" }, "typeName": { - "id": 2634, + "id": 2950, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12739:4:2", + "src": "12768:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16748,30 +16834,30 @@ "visibility": "internal" } ], - "id": 2641, + "id": 2957, "initialValue": { "arguments": [ { "baseExpression": { - "id": 2637, + "id": 2953, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "12763:5:2", + "referencedDeclaration": 2932, + "src": "12792:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1541_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2639, + "id": 2955, "indexExpression": { - "id": 2638, + "id": 2954, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2624, - "src": "12769:1:2", + "referencedDeclaration": 2940, + "src": "12798:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16782,9 +16868,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12763:8:2", + "src": "12792:8:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } } @@ -16792,22 +16878,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } ], - "id": 2636, + "id": 2952, "name": "castVote", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "12754:8:2", + "referencedDeclaration": 2928, + "src": "12783:8:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$1541_calldata_ptr_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_SignedVote_$1851_calldata_ptr_$returns$_t_bool_$", "typeString": "function (struct VotingContract.SignedVote calldata) returns (bool)" } }, - "id": 2640, + "id": 2956, "isConstant": false, "isLValue": false, "isPure": false, @@ -16816,7 +16902,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "12754:18:2", + "src": "12783:18:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -16824,43 +16910,43 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "12739:33:2" + "src": "12768:33:3" }, { "condition": { - "id": 2642, + "id": 2958, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2635, - "src": "12790:7:2", + "referencedDeclaration": 2951, + "src": "12819:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2676, + "id": 2992, "nodeType": "IfStatement", - "src": "12786:319:2", + "src": "12815:319:3", "trueBody": { - "id": 2675, + "id": 2991, "nodeType": "Block", - "src": "12799:306:2", + "src": "12828:306:3", "statements": [ { "assignments": [ - 2644 + 2960 ], "declarations": [ { "constant": false, - "id": 2644, + "id": 2960, "mutability": "mutable", "name": "roomId", - "nameLocation": "12825:6:2", + "nameLocation": "12854:6:3", "nodeType": "VariableDeclaration", - "scope": 2675, - "src": "12817:14:2", + "scope": 2991, + "src": "12846:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16868,10 +16954,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2643, + "id": 2959, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12817:7:2", + "src": "12846:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16880,13 +16966,13 @@ "visibility": "internal" } ], - "id": 2651, + "id": 2967, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2650, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, @@ -16894,25 +16980,25 @@ "leftExpression": { "expression": { "baseExpression": { - "id": 2645, + "id": 2961, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "12834:5:2", + "referencedDeclaration": 2932, + "src": "12863:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1541_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2647, + "id": 2963, "indexExpression": { - "id": 2646, + "id": 2962, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2624, - "src": "12840:1:2", + "referencedDeclaration": 2940, + "src": "12869:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16923,22 +17009,22 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12834:8:2", + "src": "12863:8:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_calldata_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata" } }, - "id": 2648, + "id": 2964, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12843:13:2", + "memberLocation": "12872:13:3", "memberName": "roomIdAndType", "nodeType": "MemberAccess", - "referencedDeclaration": 1532, - "src": "12834:22:2", + "referencedDeclaration": 1842, + "src": "12863:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16948,28 +17034,28 @@ "operator": ">>", "rightExpression": { "hexValue": "31", - "id": 2649, + "id": 2965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12860:1:2", + "src": "12889:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "12834:27:2", + "src": "12863:27:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12817:44:2" + "src": "12846:44:3" }, { "condition": { @@ -16977,32 +17063,32 @@ "typeIdentifier": "t_uint32", "typeString": "uint32" }, - "id": 2656, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 2652, + "id": 2968, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "12883:27:2", + "referencedDeclaration": 1927, + "src": "12912:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2654, + "id": 2970, "indexExpression": { - "id": 2653, + "id": 2969, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "12911:6:2", + "referencedDeclaration": 2960, + "src": "12940:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17013,7 +17099,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12883:35:2", + "src": "12912:35:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -17023,48 +17109,48 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2655, + "id": 2971, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12922:1:2", + "src": "12951:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12883:40:2", + "src": "12912:40:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2668, + "id": 2984, "nodeType": "IfStatement", - "src": "12879:154:2", + "src": "12908:154:3", "trueBody": { - "id": 2667, + "id": 2983, "nodeType": "Block", - "src": "12925:108:2", + "src": "12954:108:3", "statements": [ { "expression": { - "id": 2659, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2657, + "id": 2973, "name": "roomIdCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "12947:11:2", + "referencedDeclaration": 2936, + "src": "12976:11:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -17074,40 +17160,40 @@ "operator": "+=", "rightHandSide": { "hexValue": "31", - "id": 2658, + "id": 2974, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12962:1:2", + "src": "12991:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "12947:16:2", + "src": "12976:16:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } }, - "id": 2660, + "id": 2976, "nodeType": "ExpressionStatement", - "src": "12947:16:2" + "src": "12976:16:3" }, { "expression": { "arguments": [ { - "id": 2664, + "id": 2980, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "13007:6:2", + "referencedDeclaration": 2960, + "src": "13036:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17122,32 +17208,32 @@ } ], "expression": { - "id": 2661, + "id": 2977, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1620, - "src": "12985:16:2", + "referencedDeclaration": 1930, + "src": "13014:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2663, + "id": 2979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "13002:4:2", + "memberLocation": "13031:4:3", "memberName": "push", "nodeType": "MemberAccess", - "src": "12985:21:2", + "src": "13014:21:3", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$", "typeString": "function (uint256[] storage pointer,uint256)" } }, - "id": 2665, + "id": 2981, "isConstant": false, "isLValue": false, "isPure": false, @@ -17156,48 +17242,48 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "12985:29:2", + "src": "13014:29:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2666, + "id": 2982, "nodeType": "ExpressionStatement", - "src": "12985:29:2" + "src": "13014:29:3" } ] } }, { "expression": { - "id": 2673, + "id": 2989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2669, + "id": 2985, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "13050:27:2", + "referencedDeclaration": 1927, + "src": "13079:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2671, + "id": 2987, "indexExpression": { - "id": 2670, + "id": 2986, "name": "roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "13078:6:2", + "referencedDeclaration": 2960, + "src": "13107:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17208,7 +17294,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "13050:35:2", + "src": "13079:35:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -17218,29 +17304,29 @@ "operator": "+=", "rightHandSide": { "hexValue": "31", - "id": 2672, + "id": 2988, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13089:1:2", + "src": "13118:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "13050:40:2", + "src": "13079:40:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" } }, - "id": 2674, + "id": 2990, "nodeType": "ExpressionStatement", - "src": "13050:40:2" + "src": "13079:40:3" } ] } @@ -17252,18 +17338,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2630, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2627, + "id": 2943, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2624, - "src": "12702:1:2", + "referencedDeclaration": 2940, + "src": "12731:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17273,52 +17359,52 @@ "operator": "<", "rightExpression": { "expression": { - "id": 2628, + "id": 2944, "name": "votes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "12706:5:2", + "referencedDeclaration": 2932, + "src": "12735:5:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1541_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote calldata[] calldata" } }, - "id": 2629, + "id": 2945, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "12712:6:2", + "memberLocation": "12741:6:3", "memberName": "length", "nodeType": "MemberAccess", - "src": "12706:12:2", + "src": "12735:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12702:16:2", + "src": "12731:16:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2678, + "id": 2994, "initializationExpression": { "assignments": [ - 2624 + 2940 ], "declarations": [ { "constant": false, - "id": 2624, + "id": 2940, "mutability": "mutable", "name": "i", - "nameLocation": "12695:1:2", + "nameLocation": "12724:1:3", "nodeType": "VariableDeclaration", - "scope": 2678, - "src": "12687:9:2", + "scope": 2994, + "src": "12716:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17326,10 +17412,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2623, + "id": 2939, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12687:7:2", + "src": "12716:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17338,17 +17424,17 @@ "visibility": "internal" } ], - "id": 2626, + "id": 2942, "initialValue": { "hexValue": "30", - "id": 2625, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12699:1:2", + "src": "12728:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -17356,11 +17442,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "12687:13:2" + "src": "12716:13:3" }, "loopExpression": { "expression": { - "id": 2632, + "id": 2948, "isConstant": false, "isLValue": false, "isPure": false, @@ -17368,14 +17454,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "12720:3:2", + "src": "12749:3:3", "subExpression": { - "id": 2631, + "id": 2947, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2624, - "src": "12720:1:2", + "referencedDeclaration": 2940, + "src": "12749:1:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17386,33 +17472,33 @@ "typeString": "uint256" } }, - "id": 2633, + "id": 2949, "nodeType": "ExpressionStatement", - "src": "12720:3:2" + "src": "12749:3:3" }, "nodeType": "ForStatement", - "src": "12682:433:2" + "src": "12711:433:3" }, { "body": { - "id": 2714, + "id": 3030, "nodeType": "Block", - "src": "13225:308:2", + "src": "13254:308:3", "statements": [ { "assignments": [ - 2690 + 3006 ], "declarations": [ { "constant": false, - "id": 2690, + "id": 3006, "mutability": "mutable", "name": "_roomId", - "nameLocation": "13247:7:2", + "nameLocation": "13276:7:3", "nodeType": "VariableDeclaration", - "scope": 2714, - "src": "13239:15:2", + "scope": 3030, + "src": "13268:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17420,10 +17506,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2689, + "id": 3005, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13239:7:2", + "src": "13268:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17432,28 +17518,28 @@ "visibility": "internal" } ], - "id": 2694, + "id": 3010, "initialValue": { "baseExpression": { - "id": 2691, + "id": 3007, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1620, - "src": "13257:16:2", + "referencedDeclaration": 1930, + "src": "13286:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2693, + "id": 3009, "indexExpression": { - "id": 2692, + "id": 3008, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "13274:1:2", + "referencedDeclaration": 2996, + "src": "13303:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -17464,68 +17550,68 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13257:19:2", + "src": "13286:19:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13239:37:2" + "src": "13268:37:3" }, { "assignments": [ - 2697 + 3013 ], "declarations": [ { "constant": false, - "id": 2697, + "id": 3013, "mutability": "mutable", "name": "votingRoom", - "nameLocation": "13309:10:2", + "nameLocation": "13338:10:3", "nodeType": "VariableDeclaration", - "scope": 2714, - "src": "13290:29:2", + "scope": 3030, + "src": "13319:29:3", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" }, "typeName": { - "id": 2696, + "id": 3012, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2695, + "id": 3011, "name": "VotingRoom", "nameLocations": [ - "13290:10:2" + "13319:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1528, - "src": "13290:10:2" + "referencedDeclaration": 1838, + "src": "13319:10:3" }, - "referencedDeclaration": 1528, - "src": "13290:10:2", + "referencedDeclaration": 1838, + "src": "13319:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom" } }, "visibility": "internal" } ], - "id": 2701, + "id": 3017, "initialValue": { "arguments": [ { - "id": 2699, + "id": 3015, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2690, - "src": "13337:7:2", + "referencedDeclaration": 3006, + "src": "13366:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17539,18 +17625,18 @@ "typeString": "uint256" } ], - "id": 2698, + "id": 3014, "name": "_getVotingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1852, - "src": "13322:14:2", + "referencedDeclaration": 2162, + "src": "13351:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1528_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_VotingRoom_$1838_storage_ptr_$", "typeString": "function (uint256) view returns (struct VotingContract.VotingRoom storage pointer)" } }, - "id": 2700, + "id": 3016, "isConstant": false, "isLValue": false, "isPure": false, @@ -17559,52 +17645,52 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "13322:23:2", + "src": "13351:23:3", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, "nodeType": "VariableDeclarationStatement", - "src": "13290:55:2" + "src": "13319:55:3" }, { "expression": { "arguments": [ { - "id": 2703, + "id": 3019, "name": "votingRoom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2697, - "src": "13374:10:2", + "referencedDeclaration": 3013, + "src": "13403:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" } }, { "baseExpression": { - "id": 2704, + "id": 3020, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "13386:27:2", + "referencedDeclaration": 1927, + "src": "13415:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2706, + "id": 3022, "indexExpression": { - "id": 2705, + "id": 3021, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2690, - "src": "13414:7:2", + "referencedDeclaration": 3006, + "src": "13443:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17615,7 +17701,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13386:36:2", + "src": "13415:36:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -17625,7 +17711,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_VotingRoom_$1528_storage_ptr", + "typeIdentifier": "t_struct$_VotingRoom_$1838_storage_ptr", "typeString": "struct VotingContract.VotingRoom storage pointer" }, { @@ -17633,18 +17719,18 @@ "typeString": "uint32" } ], - "id": 2702, + "id": 3018, "name": "_evaluateVotes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2339, - "src": "13359:14:2", + "referencedDeclaration": 2655, + "src": "13388:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1528_storage_ptr_$_t_uint32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_VotingRoom_$1838_storage_ptr_$_t_uint32_$returns$_t_bool_$", "typeString": "function (struct VotingContract.VotingRoom storage pointer,uint32) returns (bool)" } }, - "id": 2707, + "id": 3023, "isConstant": false, "isLValue": false, "isPure": false, @@ -17653,20 +17739,20 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "13359:64:2", + "src": "13388:64:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2708, + "id": 3024, "nodeType": "ExpressionStatement", - "src": "13359:64:2" + "src": "13388:64:3" }, { "expression": { - "id": 2712, + "id": 3028, "isConstant": false, "isLValue": false, "isPure": false, @@ -17674,28 +17760,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "13479:43:2", + "src": "13508:43:3", "subExpression": { "baseExpression": { - "id": 2709, + "id": 3025, "name": "transientRoomIdToVotesCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "13486:27:2", + "referencedDeclaration": 1927, + "src": "13515:27:3", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint32_$", "typeString": "mapping(uint256 => uint32)" } }, - "id": 2711, + "id": 3027, "indexExpression": { - "id": 2710, + "id": 3026, "name": "_roomId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2690, - "src": "13514:7:2", + "referencedDeclaration": 3006, + "src": "13543:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17706,7 +17792,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "13486:36:2", + "src": "13515:36:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -17717,9 +17803,9 @@ "typeString": "tuple()" } }, - "id": 2713, + "id": 3029, "nodeType": "ExpressionStatement", - "src": "13479:43:2" + "src": "13508:43:3" } ] }, @@ -17728,18 +17814,18 @@ "typeIdentifier": "t_uint16", "typeString": "uint16" }, - "id": 2685, + "id": 3001, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2683, + "id": 2999, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "13203:1:2", + "referencedDeclaration": 2996, + "src": "13232:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -17748,38 +17834,38 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 2684, + "id": 3000, "name": "roomIdCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "13207:11:2", + "referencedDeclaration": 2936, + "src": "13236:11:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } }, - "src": "13203:15:2", + "src": "13232:15:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2715, + "id": 3031, "initializationExpression": { "assignments": [ - 2680 + 2996 ], "declarations": [ { "constant": false, - "id": 2680, + "id": 2996, "mutability": "mutable", "name": "i", - "nameLocation": "13196:1:2", + "nameLocation": "13225:1:3", "nodeType": "VariableDeclaration", - "scope": 2715, - "src": "13189:8:2", + "scope": 3031, + "src": "13218:8:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17787,10 +17873,10 @@ "typeString": "uint16" }, "typeName": { - "id": 2679, + "id": 2995, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "13189:6:2", + "src": "13218:6:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -17799,17 +17885,17 @@ "visibility": "internal" } ], - "id": 2682, + "id": 2998, "initialValue": { "hexValue": "30", - "id": 2681, + "id": 2997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13200:1:2", + "src": "13229:1:3", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -17817,11 +17903,11 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "13189:12:2" + "src": "13218:12:3" }, "loopExpression": { "expression": { - "id": 2687, + "id": 3003, "isConstant": false, "isLValue": false, "isPure": false, @@ -17829,14 +17915,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "13220:3:2", + "src": "13249:3:3", "subExpression": { - "id": 2686, + "id": 3002, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "13220:1:2", + "referencedDeclaration": 2996, + "src": "13249:1:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -17847,16 +17933,16 @@ "typeString": "uint16" } }, - "id": 2688, + "id": 3004, "nodeType": "ExpressionStatement", - "src": "13220:3:2" + "src": "13249:3:3" }, "nodeType": "ForStatement", - "src": "13184:349:2" + "src": "13213:349:3" }, { "expression": { - "id": 2717, + "id": 3033, "isConstant": false, "isLValue": false, "isPure": false, @@ -17864,14 +17950,14 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "13542:23:2", + "src": "13571:23:3", "subExpression": { - "id": 2716, + "id": 3032, "name": "transientRoomIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1620, - "src": "13549:16:2", + "referencedDeclaration": 1930, + "src": "13578:16:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -17882,9 +17968,9 @@ "typeString": "tuple()" } }, - "id": 2718, + "id": 3034, "nodeType": "ExpressionStatement", - "src": "13542:23:2" + "src": "13571:23:3" } ] }, @@ -17893,67 +17979,67 @@ "kind": "function", "modifiers": [], "name": "castVotes", - "nameLocation": "12498:9:2", + "nameLocation": "12527:9:3", "parameters": { - "id": 2617, + "id": 2933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2616, + "id": 2932, "mutability": "mutable", "name": "votes", - "nameLocation": "12530:5:2", + "nameLocation": "12559:5:3", "nodeType": "VariableDeclaration", - "scope": 2720, - "src": "12508:27:2", + "scope": 3036, + "src": "12537:27:3", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1541_calldata_ptr_$dyn_calldata_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_calldata_ptr_$dyn_calldata_ptr", "typeString": "struct VotingContract.SignedVote[]" }, "typeName": { "baseType": { - "id": 2614, + "id": 2930, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 2613, + "id": 2929, "name": "SignedVote", "nameLocations": [ - "12508:10:2" + "12537:10:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1541, - "src": "12508:10:2" + "referencedDeclaration": 1851, + "src": "12537:10:3" }, - "referencedDeclaration": 1541, - "src": "12508:10:2", + "referencedDeclaration": 1851, + "src": "12537:10:3", "typeDescriptions": { - "typeIdentifier": "t_struct$_SignedVote_$1541_storage_ptr", + "typeIdentifier": "t_struct$_SignedVote_$1851_storage_ptr", "typeString": "struct VotingContract.SignedVote" } }, - "id": 2615, + "id": 2931, "nodeType": "ArrayTypeName", - "src": "12508:12:2", + "src": "12537:12:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_SignedVote_$1541_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_SignedVote_$1851_storage_$dyn_storage_ptr", "typeString": "struct VotingContract.SignedVote[]" } }, "visibility": "internal" } ], - "src": "12507:29:2" + "src": "12536:29:3" }, "returnParameters": { - "id": 2618, + "id": 2934, "nodeType": "ParameterList", "parameters": [], - "src": "12544:0:2" + "src": "12573:0:3" }, - "scope": 2721, + "scope": 3037, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -17963,18 +18049,18 @@ "baseContracts": [ { "baseName": { - "id": 1485, + "id": 1795, "name": "Ownable2Step", "nameLocations": [ - "368:12:2" + "368:12:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 43985, - "src": "368:12:2" + "referencedDeclaration": 44563, + "src": "368:12:3" }, - "id": 1486, + "id": 1796, "nodeType": "InheritanceSpecifier", - "src": "368:12:2" + "src": "368:12:3" } ], "canonicalName": "VotingContract", @@ -17982,32 +18068,32 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 2721, - 43985, - 44782, - 45274 + 3037, + 44563, + 45360, + 45852 ], "name": "VotingContract", - "nameLocation": "350:14:2", - "scope": 2722, + "nameLocation": "350:14:3", + "scope": 3038, "usedErrors": [ - 1806, - 1811 + 2116, + 2121 ], "usedEvents": [ - 1547, - 1553, - 1564, - 1570, - 1576, - 1582, - 1588, - 43916, - 44683 + 1857, + 1863, + 1874, + 1880, + 1886, + 1892, + 1898, + 44494, + 45261 ] } ], "license": "UNLICENSED" }, - "id": 2 + "id": 3 } \ No newline at end of file diff --git a/packages/contracts/test/VotingContract.t.sol b/packages/contracts/test/VotingContract.t.sol index 6ef6677..644e77e 100644 --- a/packages/contracts/test/VotingContract.t.sol +++ b/packages/contracts/test/VotingContract.t.sol @@ -187,6 +187,49 @@ contract GetActiveVotingRoomsTest is VotingContractTest { assertEq(votingRooms.length, 1); assertEq(votingRooms[0], 1); } + + function test_GetActiveVotingRooms_WhenFinalizationHasStarted() public { + // ensure there are not active voting rooms + uint256[] memory votingRooms = votingContract.getActiveVotingRooms(); + assertEq(votingRooms.length, 0); + + vm.prank(bob); + votingContract.initializeVotingRoom(VotingContract.VoteType.FOR, communityID1, 100); + + // create another vote so we have more than one to evaluate + VotingContract.SignedVote[] memory votes = new VotingContract.SignedVote[](1); + votes[0] = _createSignedVote(alicesKey, alice, 1, VotingContract.VoteType.AGAINST, 200, block.timestamp); + // ensure users have funds + _ensureVoteTokens(alice, 1000); + votingContract.castVotes(votes); + + // fast forward such that voting time has passed + skip(votingWithVerificationLength + 1); + + // finalize voting room with a `limit` of `1`, meaning, 1 vote left to evaluate + votingContract.finalizeVotingRoom(1, 1); + + // there should be one active voting room + votingRooms = votingContract.getActiveVotingRooms(); + assertEq(votingRooms.length, 1); + assertEq(votingRooms[0], 1); + + // current active voting room should be marked as finalized but not evaluated yet + VotingContract.VotingRoom memory votingRoom = votingContract.getActiveVotingRoom(communityID1); + assertEq(votingRoom.community, communityID1); + assertEq(votingRoom.finalized, true); + assertEq(votingRoom.evaluated, false); + + // finalize voting room once more with a `limit` of `1`, this will close the voting room + votingContract.finalizeVotingRoom(1, 1); + + // there should be no active voting room anymore + votingRooms = votingContract.getActiveVotingRooms(); + assertEq(votingRooms.length, 0); + + // sanity check, community should not be in directy due to vote result + assertFalse(directoryContract.isCommunityInDirectory(communityID1)); + } } contract ListRoomVotersTest is VotingContractTest {