{ "contractName": "SolnSquareVerifier", "abi": [ { "inputs": [ { "internalType": "address", "name": "squareVerifierAddress", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "indexOfSolution", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "ownerAddress", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "solutionHash", "type": "bytes32" } ], "name": "SolutionAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "_myid", "type": "bytes32" }, { "internalType": "string", "name": "_result", "type": "string" } ], "name": "__callback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes32", "name": "_myid", "type": "bytes32" }, { "internalType": "string", "name": "_result", "type": "string" }, { "internalType": "bytes", "name": "_proof", "type": "bytes" } ], "name": "__callback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "baseTokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bool", "name": "newPauseValue", "type": "bool" } ], "name": "setPaused", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenOfOwnerByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "ownerAddress", "type": "address" }, { "internalType": "bytes32", "name": "solutionHash", "type": "bytes32" } ], "name": "addSolution", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "components": [ { "components": [ { "internalType": "uint256", "name": "X", "type": "uint256" }, { "internalType": "uint256", "name": "Y", "type": "uint256" } ], "internalType": "struct SharedProof.G1Point", "name": "a", "type": "tuple" }, { "components": [ { "internalType": "uint256[2]", "name": "X", "type": "uint256[2]" }, { "internalType": "uint256[2]", "name": "Y", "type": "uint256[2]" } ], "internalType": "struct SharedProof.G2Point", "name": "b", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "X", "type": "uint256" }, { "internalType": "uint256", "name": "Y", "type": "uint256" } ], "internalType": "struct SharedProof.G1Point", "name": "c", "type": "tuple" } ], "internalType": "struct SharedProof.Proof", "name": "proof", "type": "tuple" }, { "internalType": "uint256[2]", "name": "input", "type": "uint256[2]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"squareVerifierAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"indexOfSolution\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"ownerAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"solutionHash\",\"type\":\"bytes32\"}],\"name\":\"SolutionAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_myid\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_result\",\"type\":\"string\"}],\"name\":\"__callback\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_myid\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_result\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_proof\",\"type\":\"bytes\"}],\"name\":\"__callback\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"ownerAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"solutionHash\",\"type\":\"bytes32\"}],\"name\":\"addSolution\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"baseTokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"struct SharedProof.G1Point\",\"name\":\"a\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"X\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"Y\",\"type\":\"uint256[2]\"}],\"internalType\":\"struct SharedProof.G2Point\",\"name\":\"b\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"struct SharedProof.G1Point\",\"name\":\"c\",\"type\":\"tuple\"}],\"internalType\":\"struct SharedProof.Proof\",\"name\":\"proof\",\"type\":\"tuple\"},{\"internalType\":\"uint256[2]\",\"name\":\"input\",\"type\":\"uint256[2]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"newPauseValue\",\"type\":\"bool\"}],\"name\":\"setPaused\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"isApprovedForAll(address,address)\":{\"details\":\"Tells whether an operator is approved by a given owner\",\"params\":{\"operator\":\"operator address which you want to query the approval of\",\"owner\":\"owner address which you want to query the approval of\"},\"return\":\"bool whether the given operator is approved by the given owner\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Sets or unsets the approval of a given operator An operator is allowed to transfer all tokens of the sender on their behalf\",\"params\":{\"approved\":\"representing the status of the approval to be set\",\"to\":\"operator address to set the approval\"}},\"supportsInterface(bytes4)\":{\"details\":\"implement supportsInterface(bytes4) using a lookup table\"},\"tokenByIndex(uint256)\":{\"details\":\"Gets the token ID at a given index of all the tokens in this contract Reverts if the index is greater or equal to the total number of tokens\",\"params\":{\"index\":\"uint256 representing the index to be accessed of the tokens list\"},\"return\":\"uint256 token ID at the given index of the tokens list\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Gets the token ID at a given index of the tokens list of the requested owner\",\"params\":{\"index\":\"uint256 representing the index to be accessed of the requested tokens list\",\"owner\":\"address owning the tokens list to be accessed\"},\"return\":\"uint256 token ID at the given index of the tokens list owned by the requested address\"},\"totalSupply()\":{\"details\":\"Gets the total amount of tokens stored by the contract\",\"return\":\"uint256 representing the total amount of tokens\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"project:/contracts/SolnSquareVerifier.sol\":\"SolnSquareVerifier\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"openzeppelin-solidity/contracts/drafts/Counters.sol\":{\"keccak256\":\"0x5be8533c5950173dc2b77b75108fae6e6c5449aedadde3385ba457394aad2384\",\"urls\":[\"bzz-raw://d429fb04f5b31d909dc759d0f88e28055b80b4dd43e5def4dffc947fa0609229\",\"dweb:/ipfs/QmaY9idX5CwLLtjjTQAdiiaDSrncgafkatUZXTbbajpz8b\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x640b6dee7a4b830bdfd52b5031a07fc2b12209f5b2e29e5d364a7d37f69d8076\",\"urls\":[\"bzz-raw://31113152e1ddb78fe7a4197f247591ca894e93f916867beb708d8e747b6cc74f\",\"dweb:/ipfs/QmbZaJyXdpsYGykVhHH9qpVGQg9DGCxE2QufbCUy3daTgq\"]},\"openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x042048c375daca04b31e31c91bbae912b84b5eb818c4e31b2deb530fd2305342\",\"urls\":[\"bzz-raw://d877a87c5e29b9ffca3e334378058c051a4e012fd3635039681003a9376baf1f\",\"dweb:/ipfs/QmR45snf93cFXtB71TZcmoGy9DbcMha8CqgkDKaLvhjXZK\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x1a8e5072509c5ea7365eb1d48030b9be865140c8fb779968da0a459a0e174a11\",\"urls\":[\"bzz-raw://03335b7b07c7c8c8d613cfdd8ec39a0b5ec133ee510bf2fe6cc5a496767bef4b\",\"dweb:/ipfs/Qmebp4nzPja645c9yXSdJkGq96oU3am3LUnG2K3R7XxyKf\"]},\"project:/contracts/Oraclize.sol\":{\"keccak256\":\"0xe5ebe286b4624095629f76c6ac8dbad3cb305fbdb43fff09e4eebed35a05b49c\",\"urls\":[\"bzz-raw://681373c60944fa44771ccea64da3a0e1b428255757df53cfee06eae96f4ac91d\",\"dweb:/ipfs/QmWS7E26x3aXyYEZSzhTTpr8Pu11y5NK9p9iMwwvm7tMsz\"]},\"project:/contracts/RealEstateMarketplaceToken.sol\":{\"keccak256\":\"0x33c8458f7e2e3557fdf1a5ff9a6a1a79a21055a271a97d79450ca0b2e82c5432\",\"urls\":[\"bzz-raw://aa6b72995b9c063b0de56ff40e3846a79fda702c4cd981fc7f93cff47de06a25\",\"dweb:/ipfs/QmRv8xKcCM3wDJXxGBai7nnGtJ6CigbuQaZ5Gs9iJt73tU\"]},\"project:/contracts/SolnSquareVerifier.sol\":{\"keccak256\":\"0x3ca38e7fdc910edee191afa28147b2eba8e6c416b374a0bcfa2eadfbef3311a1\",\"urls\":[\"bzz-raw://675315bf31a9a917a5b608199a25bfcde1fadde7ca4583315d3554af3b7207a8\",\"dweb:/ipfs/QmcNYJ6N4sYtHm4bq388gj14v9eEbYLRgkhfi5jiARejkV\"]}},\"version\":1}", "bytecode": "0x60806040523480156200001157600080fd5b506040516200430e3803806200430e833981810160405262000037919081019062000400565b818181816040518060600160405280603f8152602001620042cf603f91397f22500af037c600dd7b720644ab6e358635085601d9ac508ad83eb2d6b2d729ca6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633604051620000a9929190620004c7565b60405180910390a1336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336040516200013c9190620004aa565b60405180910390a16200015c6301ffc9a760e01b6200023e60201b60201c565b620001746380ac58cd60e01b6200023e60201b60201c565b6200018c63780e9d6360e01b6200023e60201b60201c565b82600f9080519060200190620001a4929190620002de565b508160109080519060200190620001bd929190620002de565b508060119080519060200190620001d6929190620002de565b50620001ef635b5e139f60e01b6200023e60201b60201c565b505050505082601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200060f565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156200027257600080fd5b6001806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200032157805160ff191683800117855562000352565b8280016001018555821562000352579182015b828111156200035157825182559160200191906001019062000334565b5b50905062000361919062000365565b5090565b6200038a91905b80821115620003865760008160009055506001016200036c565b5090565b90565b6000815190506200039e81620005f5565b92915050565b600082601f830112620003b657600080fd5b8151620003cd620003c78262000522565b620004f4565b91508082526020830160208301858383011115620003ea57600080fd5b620003f7838284620005bf565b50505092915050565b6000806000606084860312156200041657600080fd5b600062000426868287016200038d565b935050602084015167ffffffffffffffff8111156200044457600080fd5b6200045286828701620003a4565b925050604084015167ffffffffffffffff8111156200047057600080fd5b6200047e86828701620003a4565b9150509250925092565b620004938162000583565b82525050565b620004a4816200054f565b82525050565b6000602082019050620004c1600083018462000488565b92915050565b6000604082019050620004de600083018562000499565b620004ed602083018462000488565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156200051857600080fd5b8060405250919050565b600067ffffffffffffffff8211156200053a57600080fd5b601f19601f8301169050602081019050919050565b60006200055c8262000563565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005908262000597565b9050919050565b6000620005a482620005ab565b9050919050565b6000620005b88262000563565b9050919050565b60005b83811015620005df578082015181840152602081019050620005c2565b83811115620005ef576000848401525b50505050565b62000600816200054f565b81146200060c57600080fd5b50565b613cb0806200061f6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806342842e0e116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd1461046c578063d547cfb71461049c578063e985e9c5146104ba578063f2fde38b146104ea57610173565b806395d89b4114610416578063a22cb46514610434578063b88d4fde1461045057610173565b806342842e0e1461031c5780634f6ccce7146103385780635abee223146103685780636352211e1461039857806370a08231146103c85780638da5cb5b146103f857610173565b806318160ddd1161013057806318160ddd1461024a57806323b872dd1461026857806327dc297e146102845780632f745c59146102a057806338bbfa50146102d057806340c10f19146102ec57610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f6578063106e426e1461021257806316c38b3c1461022e575b600080fd5b610192600480360361018d9190810190612e12565b610506565b60405161019f9190613749565b60405180910390f35b6101b061056e565b6040516101bd9190613764565b60405180910390f35b6101e060048036036101db9190810190612ecb565b610610565b6040516101ed919061369e565b60405180910390f35b610210600480360361020b9190810190612cb1565b61064d565b005b61022c60048036036102279190810190612c75565b61088c565b005b61024860048036036102439190810190612ced565b610aa2565b005b610252610c2d565b60405161025f9190613931565b60405180910390f35b610282600480360361027d9190810190612b6f565b610c3a565b005b61029e60048036036102999190810190612d3f565b610c93565b005b6102ba60048036036102b59190810190612cb1565b610cd6565b6040516102c79190613931565b60405180910390f35b6102ea60048036036102e59190810190612d93565b610d49565b005b61030660048036036103019190810190612cb1565b610d4e565b6040516103139190613749565b60405180910390f35b61033660048036036103319190810190612b6f565b610dfc565b005b610352600480360361034d9190810190612ecb565b610e1c565b60405161035f9190613931565b60405180910390f35b610382600480360361037d9190810190612e64565b610e50565b60405161038f9190613749565b60405180910390f35b6103b260048036036103ad9190810190612ecb565b611009565b6040516103bf919061369e565b60405180910390f35b6103e260048036036103dd9190810190612b0a565b611046565b6040516103ef9190613931565b60405180910390f35b610400611096565b60405161040d919061369e565b60405180910390f35b61041e6110bf565b60405161042b9190613764565b60405180910390f35b61044e60048036036104499190810190612c39565b611161565b005b61046a60048036036104659190810190612bbe565b611297565b005b61048660048036036104819190810190612ecb565b6112bd565b6040516104939190613764565b60405180910390f35b6104a4611384565b6040516104b19190613764565b60405180910390f35b6104d460048036036104cf9190810190612b33565b611426565b6040516104e19190613749565b60405180910390f35b61050460048036036104ff9190810190612b0a565b6114ba565b005b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106065780601f106105db57610100808354040283529160200191610606565b820191906000526020600020905b8154815290600101906020018083116105e957829003601f168201915b5050505050905090565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156106ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e690613806565b60405180910390fd5b6106f7611096565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061076957506107686002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633611426565b5b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f90613886565b60405180910390fd5b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290613846565b60405180910390fd5b600060016014805490500190506109306126e3565b60405180606001604052808381526020018573ffffffffffffffffffffffffffffffffffffffff168152602001848152509050601481908060018154018082558091505090600182039060005260206000209060030201600090919290919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015550505080601560008581526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201559050507f6bc6afc76c0b332ba90fee021156bac0d12ed376d185f1615de6e5c4774f21d3828585604051610a949392919061394c565b60405180910390a150505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890613846565b60405180910390fd5b801515600060149054906101000a900460ff1615151415610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90613826565b60405180910390fd5b80600060146101000a81548160ff021916908315150217905550600060149054906101000a900460ff1615610bf2577f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833604051610be591906136b9565b60405180910390a1610c2a565b7f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33604051610c2191906136b9565b60405180910390a15b50565b6000600880549050905090565b610c443382611656565b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90613786565b60405180910390fd5b610c8e8383836116eb565b505050565b610cd2828260006040519080825280601f01601f191660200182016040528015610ccc5781602001600182028038833980820191505090505b50610d49565b5050565b6000610ce183611046565b8210610cec57600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610d3657fe5b9060005260206000200154905092915050565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd690613846565b60405180910390fd5b610de9838361170f565b610df282611730565b6001905092915050565b610e1783838360405180602001604052806000815250611297565b505050565b6000610e26610c2d565b8210610e3157600080fd5b60088281548110610e3e57fe5b90600052602060002001549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed890613846565b60405180910390fd5b60008560000151600001518660000151602001518760200151600001518860200151602001518960400151600001518a60400151602001518a604051602001610f30979695949392919061361d565b6040516020818303038152906040528051906020012090506000601560008381526020019081526020016000206000015414610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906137e6565b60405180910390fd5b610fab8686611848565b610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906137c6565b60405180910390fd5b610ff4848261088c565b610ffe8484610d4e565b915050949350505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061108f600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118ff565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060108054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119a57600080fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161128b9190613749565b60405180910390a35050565b6112a2848484610c3a565b6112ae8484848461190d565b6112b757600080fd5b50505050565b60606112c882611a24565b6112d157600080fd5b601260008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b50505050509050919050565b606060118054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561141c5780601f106113f15761010080835404028352916020019161141c565b820191906000526020600020905b8154815290600101906020018083116113ff57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090613846565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613866565b60405180910390fd5b7f22500af037c600dd7b720644ab6e358635085601d9ac508ad83eb2d6b2d729ca6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161160b929190613720565b60405180910390a1806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008061166283611009565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116d157508373ffffffffffffffffffffffffffffffffffffffff166116b984610610565b73ffffffffffffffffffffffffffffffffffffffff16145b806116e257506116e18185611426565b5b91505092915050565b6116f6838383611a96565b6117008382611ccb565b61170a8282611e69565b505050565b6117198282611f30565b6117238282611e69565b61172c8161213b565b5050565b600073ffffffffffffffffffffffffffffffffffffffff1661175182611009565b73ffffffffffffffffffffffffffffffffffffffff16141561177257600080fd5b61181e60118054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561180b5780601f106117e05761010080835404028352916020019161180b565b820191906000526020600020905b8154815290600101906020018083116117ee57829003601f168201915b505050505061181983612187565b6122b4565b60126000838152602001908152602001600020908051906020019061184492919061271d565b5050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343cd76fc84846040518363ffffffff1660e01b81526004016118a7929190613906565b60206040518083038186803b1580156118bf57600080fd5b505afa1580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118f79190810190612d16565b905092915050565b600081600001549050919050565b600061192e8473ffffffffffffffffffffffffffffffffffffffff166122f8565b61193b5760019050611a1c565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff1660e01b815260040161197c94939291906136d4565b602060405180830381600087803b15801561199657600080fd5b505af11580156119aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506119ce9190810190612e3b565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2e906138c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e906137a6565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611c24600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612343565b611c6b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612366565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611d236001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061237c90919063ffffffff16565b9050600060076000848152602001908152602001600020549050818114611e10576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611d9057fe5b9060005260206000200154905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611de857fe5b9060005260206000200181905550816007600083815260200190815260200160002081905550505b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003611e62919061279d565b5050505050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506007600083815260200190815260200160002081905550600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f97906138e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612042576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612039906138a6565b60405180910390fd5b816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506120db600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612366565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b606060008214156121cf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122af565b600082905060005b600082146121f9578080600101915050600a82816121f157fe5b0491506121d7565b6060816040519080825280601f01601f19166020018201604052801561222e5781602001600182028038833980820191505090505b50905060006001830390505b600086146122a757600a868161224c57fe5b0660300160f81b8282806001900393508151811061226657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161229f57fe5b04955061223a565b819450505050505b919050565b60606122f083836040518060200160405280600081525060405180602001604052806000815250604051806020016040528060008152506123c6565b905092915050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561233a57506000801b8214155b92505050919050565b61235b6001826000015461237c90919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b60006123be83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612688565b905092915050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156124225781602001600182028038833980820191505090505b509050606081905060008090506000809050600090505b88518110156124a75788818151811061244e57fe5b602001015160f81c60f81b83838060010194508151811061246b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612439565b600090505b875181101561251a578781815181106124c157fe5b602001015160f81c60f81b8383806001019450815181106124de57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506124ac565b600090505b865181101561258d5786818151811061253457fe5b602001015160f81c60f81b83838060010194508151811061255157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808060010191505061251f565b600090505b8551811015612600578581815181106125a757fe5b602001015160f81c60f81b8383806001019450815181106125c457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612592565b600090505b84518110156126735784818151811061261a57fe5b602001015160f81c60f81b83838060010194508151811061263757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612605565b82995050505050505050505095945050505050565b60008383111582906126d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c79190613764565b60405180910390fd5b5060008385039050809150509392505050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600080191681525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061275e57805160ff191683800117855561278c565b8280016001018555821561278c579182015b8281111561278b578251825591602001919060010190612770565b5b50905061279991906127c9565b5090565b8154818355818111156127c4578183600052602060002091820191016127c391906127c9565b5b505050565b6127eb91905b808211156127e75760008160009055506001016127cf565b5090565b90565b6000813590506127fd81613bfa565b92915050565b600082601f83011261281457600080fd5b6002612827612822826139b0565b613983565b9150818385602084028201111561283d57600080fd5b60005b8381101561286d57816128538882612af5565b845260208401935060208301925050600181019050612840565b5050505092915050565b600082601f83011261288857600080fd5b600261289b612896826139d2565b613983565b915081838560208402820111156128b157600080fd5b60005b838110156128e157816128c78882612af5565b8452602084019350602083019250506001810190506128b4565b5050505092915050565b6000813590506128fa81613c11565b92915050565b60008151905061290f81613c11565b92915050565b60008135905061292481613c28565b92915050565b60008135905061293981613c3f565b92915050565b60008151905061294e81613c3f565b92915050565b600082601f83011261296557600080fd5b8135612978612973826139f4565b613983565b9150808252602083016020830185838301111561299457600080fd5b61299f838284613b9d565b50505092915050565b600082601f8301126129b957600080fd5b81356129cc6129c782613a20565b613983565b915080825260208301602083018583830111156129e857600080fd5b6129f3838284613b9d565b50505092915050565b600060408284031215612a0e57600080fd5b612a186040613983565b90506000612a2884828501612af5565b6000830152506020612a3c84828501612af5565b60208301525092915050565b600060808284031215612a5a57600080fd5b612a646040613983565b90506000612a7484828501612803565b6000830152506040612a8884828501612803565b60208301525092915050565b60006101008284031215612aa757600080fd5b612ab16060613983565b90506000612ac1848285016129fc565b6000830152506040612ad584828501612a48565b60208301525060c0612ae9848285016129fc565b60408301525092915050565b600081359050612b0481613c56565b92915050565b600060208284031215612b1c57600080fd5b6000612b2a848285016127ee565b91505092915050565b60008060408385031215612b4657600080fd5b6000612b54858286016127ee565b9250506020612b65858286016127ee565b9150509250929050565b600080600060608486031215612b8457600080fd5b6000612b92868287016127ee565b9350506020612ba3868287016127ee565b9250506040612bb486828701612af5565b9150509250925092565b60008060008060808587031215612bd457600080fd5b6000612be2878288016127ee565b9450506020612bf3878288016127ee565b9350506040612c0487828801612af5565b925050606085013567ffffffffffffffff811115612c2157600080fd5b612c2d87828801612954565b91505092959194509250565b60008060408385031215612c4c57600080fd5b6000612c5a858286016127ee565b9250506020612c6b858286016128eb565b9150509250929050565b60008060408385031215612c8857600080fd5b6000612c96858286016127ee565b9250506020612ca785828601612915565b9150509250929050565b60008060408385031215612cc457600080fd5b6000612cd2858286016127ee565b9250506020612ce385828601612af5565b9150509250929050565b600060208284031215612cff57600080fd5b6000612d0d848285016128eb565b91505092915050565b600060208284031215612d2857600080fd5b6000612d3684828501612900565b91505092915050565b60008060408385031215612d5257600080fd5b6000612d6085828601612915565b925050602083013567ffffffffffffffff811115612d7d57600080fd5b612d89858286016129a8565b9150509250929050565b600080600060608486031215612da857600080fd5b6000612db686828701612915565b935050602084013567ffffffffffffffff811115612dd357600080fd5b612ddf868287016129a8565b925050604084013567ffffffffffffffff811115612dfc57600080fd5b612e0886828701612954565b9150509250925092565b600060208284031215612e2457600080fd5b6000612e328482850161292a565b91505092915050565b600060208284031215612e4d57600080fd5b6000612e5b8482850161293f565b91505092915050565b6000806000806101808587031215612e7b57600080fd5b6000612e8987828801612a94565b945050610100612e9b87828801612877565b935050610140612ead878288016127ee565b925050610160612ebf87828801612af5565b91505092959194509250565b600060208284031215612edd57600080fd5b6000612eeb84828501612af5565b91505092915050565b6000612f0083836135d9565b60208301905092915050565b6000612f1883836135f7565b60208301905092915050565b612f2d81613b67565b82525050565b612f3c81613ae9565b82525050565b612f4b81613a6b565b612f558184613ab1565b9250612f6082613a56565b8060005b83811015612f91578151612f788782612ef4565b9650612f8383613a99565b925050600181019050612f64565b505050505050565b612fa281613a6b565b612fac8184613abc565b9250612fb782613a56565b8060005b83811015612fe8578151612fcf8782612f0c565b9650612fda83613a99565b925050600181019050612fbb565b505050505050565b612ff981613a60565b6130038184613aa6565b925061300e82613a4c565b8060005b8381101561303f5781516130268782612ef4565b965061303183613a8c565b925050600181019050613012565b505050505050565b61305081613a60565b61305a8184613abc565b925061306582613a4c565b8060005b8381101561309657815161307d8782612f0c565b965061308883613a8c565b925050600181019050613069565b505050505050565b6130a781613afb565b82525050565b6130b681613b07565b82525050565b60006130c782613a76565b6130d18185613ac7565b93506130e1818560208601613bac565b6130ea81613be9565b840191505092915050565b600061310082613a81565b61310a8185613ad8565b935061311a818560208601613bac565b61312381613be9565b840191505092915050565b600061313b603083613ad8565b91507f6d75737420626520617070726f766564206f7220626520746865206f776e657260008301527f206f662074686520636f6e7472616374000000000000000000000000000000006020830152604082019050919050565b60006131a1601f83613ad8565b91507f6e657720746f6b656e2061646472657373206d7573742062652076616c6964006000830152602082019050919050565b60006131e1602183613ad8565b91507f6d75737420626520612076616c69642070726f6f6620746f20636f6e74696e7560008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613247601983613ad8565b91507f6d757374206265206120756e6971756520736f6c7574696f6e000000000000006000830152602082019050919050565b6000613287603683613ad8565b91507f74686520676976656e2061646472657373206d757374206e6f7420626520746860008301527f65206f776e6572206f662074686520746f6b656e4964000000000000000000006020830152604082019050919050565b60006132ed602583613ad8565b91507f70617573656420737461746520697320616c726561647920696e20746869732060008301527f73746174650000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613353603d83613ad8565b91507f746869732066756e6374696f6e2063616e206f6e6c792062652063616c6c656460008301527f20627920746865206f776e6572206f662074686520636f6e74726163740000006020830152604082019050919050565b60006133b9601f83613ad8565b91507f6e6577206f776e65722063616e6e6f74206265203078302061646472657373006000830152602082019050919050565b60006133f9602f83613ad8565b91507f6d7573742062652063616c6c6564206279206f776e657220756e6c657373206160008301527f7070726f76656420666f7220616c6c00000000000000000000000000000000006020830152604082019050919050565b600061345f601683613ad8565b91507f746f6b656e496420616c726561647920657869737473000000000000000000006000830152602082019050919050565b600061349f602583613ad8565b91507f66726f6d2061646472657373206d757374206265206f776e6572206f6620746f60008301527f6b656e49640000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613505601883613ad8565b91507f696e76616c696420616464726573732070726f766964656400000000000000006000830152602082019050919050565b60408201600082015161354e60008501826135d9565b50602082015161356160208501826135d9565b50505050565b60808201600082015161357d6000850182612ff0565b5060208201516135906040850182612ff0565b50505050565b610100820160008201516135ad6000850182613538565b5060208201516135c06040850182613567565b5060408201516135d360c0850182613538565b50505050565b6135e281613b5d565b82525050565b6135f181613b5d565b82525050565b61360081613b5d565b82525050565b61361761361282613b5d565b613bdf565b82525050565b6000613629828a613606565b6020820191506136398289613606565b6020820191506136498288613047565b6040820191506136598287613047565b6040820191506136698286613606565b6020820191506136798285613606565b6020820191506136898284612f99565b60408201915081905098975050505050505050565b60006020820190506136b36000830184612f33565b92915050565b60006020820190506136ce6000830184612f24565b92915050565b60006080820190506136e96000830187612f24565b6136f66020830186612f33565b61370360408301856135e8565b818103606083015261371581846130bc565b905095945050505050565b60006040820190506137356000830185612f33565b6137426020830184612f33565b9392505050565b600060208201905061375e600083018461309e565b92915050565b6000602082019050818103600083015261377e81846130f5565b905092915050565b6000602082019050818103600083015261379f8161312e565b9050919050565b600060208201905081810360008301526137bf81613194565b9050919050565b600060208201905081810360008301526137df816131d4565b9050919050565b600060208201905081810360008301526137ff8161323a565b9050919050565b6000602082019050818103600083015261381f8161327a565b9050919050565b6000602082019050818103600083015261383f816132e0565b9050919050565b6000602082019050818103600083015261385f81613346565b9050919050565b6000602082019050818103600083015261387f816133ac565b9050919050565b6000602082019050818103600083015261389f816133ec565b9050919050565b600060208201905081810360008301526138bf81613452565b9050919050565b600060208201905081810360008301526138df81613492565b9050919050565b600060208201905081810360008301526138ff816134f8565b9050919050565b60006101408201905061391c6000830185613596565b61392a610100830184612f42565b9392505050565b600060208201905061394660008301846135e8565b92915050565b600060608201905061396160008301866135e8565b61396e6020830185612f33565b61397b60408301846130ad565b949350505050565b6000604051905081810181811067ffffffffffffffff821117156139a657600080fd5b8060405250919050565b600067ffffffffffffffff8211156139c757600080fd5b602082029050919050565b600067ffffffffffffffff8211156139e957600080fd5b602082029050919050565b600067ffffffffffffffff821115613a0b57600080fd5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613a3757600080fd5b601f19601f8301169050602081019050919050565b6000819050919050565b6000819050919050565b600060029050919050565b600060029050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613af482613b3d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613b7282613b79565b9050919050565b6000613b8482613b8b565b9050919050565b6000613b9682613b3d565b9050919050565b82818337600083830152505050565b60005b83811015613bca578082015181840152602081019050613baf565b83811115613bd9576000848401525b50505050565b6000819050919050565b6000601f19601f8301169050919050565b613c0381613ae9565b8114613c0e57600080fd5b50565b613c1a81613afb565b8114613c2557600080fd5b50565b613c3181613b07565b8114613c3c57600080fd5b50565b613c4881613b11565b8114613c5357600080fd5b50565b613c5f81613b5d565b8114613c6a57600080fd5b5056fea365627a7a72315820c60f82d154019dc4ef6459b7aae482438afe45b90fc4a2957973ef86ff4a52366c6578706572696d656e74616cf564736f6c6343000510004068747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f756461636974792d626c6f636b636861696e2f63617073746f6e652f", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806342842e0e116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd1461046c578063d547cfb71461049c578063e985e9c5146104ba578063f2fde38b146104ea57610173565b806395d89b4114610416578063a22cb46514610434578063b88d4fde1461045057610173565b806342842e0e1461031c5780634f6ccce7146103385780635abee223146103685780636352211e1461039857806370a08231146103c85780638da5cb5b146103f857610173565b806318160ddd1161013057806318160ddd1461024a57806323b872dd1461026857806327dc297e146102845780632f745c59146102a057806338bbfa50146102d057806340c10f19146102ec57610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f6578063106e426e1461021257806316c38b3c1461022e575b600080fd5b610192600480360361018d9190810190612e12565b610506565b60405161019f9190613749565b60405180910390f35b6101b061056e565b6040516101bd9190613764565b60405180910390f35b6101e060048036036101db9190810190612ecb565b610610565b6040516101ed919061369e565b60405180910390f35b610210600480360361020b9190810190612cb1565b61064d565b005b61022c60048036036102279190810190612c75565b61088c565b005b61024860048036036102439190810190612ced565b610aa2565b005b610252610c2d565b60405161025f9190613931565b60405180910390f35b610282600480360361027d9190810190612b6f565b610c3a565b005b61029e60048036036102999190810190612d3f565b610c93565b005b6102ba60048036036102b59190810190612cb1565b610cd6565b6040516102c79190613931565b60405180910390f35b6102ea60048036036102e59190810190612d93565b610d49565b005b61030660048036036103019190810190612cb1565b610d4e565b6040516103139190613749565b60405180910390f35b61033660048036036103319190810190612b6f565b610dfc565b005b610352600480360361034d9190810190612ecb565b610e1c565b60405161035f9190613931565b60405180910390f35b610382600480360361037d9190810190612e64565b610e50565b60405161038f9190613749565b60405180910390f35b6103b260048036036103ad9190810190612ecb565b611009565b6040516103bf919061369e565b60405180910390f35b6103e260048036036103dd9190810190612b0a565b611046565b6040516103ef9190613931565b60405180910390f35b610400611096565b60405161040d919061369e565b60405180910390f35b61041e6110bf565b60405161042b9190613764565b60405180910390f35b61044e60048036036104499190810190612c39565b611161565b005b61046a60048036036104659190810190612bbe565b611297565b005b61048660048036036104819190810190612ecb565b6112bd565b6040516104939190613764565b60405180910390f35b6104a4611384565b6040516104b19190613764565b60405180910390f35b6104d460048036036104cf9190810190612b33565b611426565b6040516104e19190613749565b60405180910390f35b61050460048036036104ff9190810190612b0a565b6114ba565b005b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106065780601f106105db57610100808354040283529160200191610606565b820191906000526020600020905b8154815290600101906020018083116105e957829003601f168201915b5050505050905090565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156106ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e690613806565b60405180910390fd5b6106f7611096565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061076957506107686002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633611426565b5b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f90613886565b60405180910390fd5b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290613846565b60405180910390fd5b600060016014805490500190506109306126e3565b60405180606001604052808381526020018573ffffffffffffffffffffffffffffffffffffffff168152602001848152509050601481908060018154018082558091505090600182039060005260206000209060030201600090919290919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015550505080601560008581526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201559050507f6bc6afc76c0b332ba90fee021156bac0d12ed376d185f1615de6e5c4774f21d3828585604051610a949392919061394c565b60405180910390a150505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890613846565b60405180910390fd5b801515600060149054906101000a900460ff1615151415610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e90613826565b60405180910390fd5b80600060146101000a81548160ff021916908315150217905550600060149054906101000a900460ff1615610bf2577f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833604051610be591906136b9565b60405180910390a1610c2a565b7f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33604051610c2191906136b9565b60405180910390a15b50565b6000600880549050905090565b610c443382611656565b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90613786565b60405180910390fd5b610c8e8383836116eb565b505050565b610cd2828260006040519080825280601f01601f191660200182016040528015610ccc5781602001600182028038833980820191505090505b50610d49565b5050565b6000610ce183611046565b8210610cec57600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610d3657fe5b9060005260206000200154905092915050565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd690613846565b60405180910390fd5b610de9838361170f565b610df282611730565b6001905092915050565b610e1783838360405180602001604052806000815250611297565b505050565b6000610e26610c2d565b8210610e3157600080fd5b60088281548110610e3e57fe5b90600052602060002001549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed890613846565b60405180910390fd5b60008560000151600001518660000151602001518760200151600001518860200151602001518960400151600001518a60400151602001518a604051602001610f30979695949392919061361d565b6040516020818303038152906040528051906020012090506000601560008381526020019081526020016000206000015414610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906137e6565b60405180910390fd5b610fab8686611848565b610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906137c6565b60405180910390fd5b610ff4848261088c565b610ffe8484610d4e565b915050949350505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061108f600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118ff565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060108054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561119a57600080fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161128b9190613749565b60405180910390a35050565b6112a2848484610c3a565b6112ae8484848461190d565b6112b757600080fd5b50505050565b60606112c882611a24565b6112d157600080fd5b601260008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b50505050509050919050565b606060118054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561141c5780601f106113f15761010080835404028352916020019161141c565b820191906000526020600020905b8154815290600101906020018083116113ff57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090613846565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613866565b60405180910390fd5b7f22500af037c600dd7b720644ab6e358635085601d9ac508ad83eb2d6b2d729ca6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161160b929190613720565b60405180910390a1806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008061166283611009565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116d157508373ffffffffffffffffffffffffffffffffffffffff166116b984610610565b73ffffffffffffffffffffffffffffffffffffffff16145b806116e257506116e18185611426565b5b91505092915050565b6116f6838383611a96565b6117008382611ccb565b61170a8282611e69565b505050565b6117198282611f30565b6117238282611e69565b61172c8161213b565b5050565b600073ffffffffffffffffffffffffffffffffffffffff1661175182611009565b73ffffffffffffffffffffffffffffffffffffffff16141561177257600080fd5b61181e60118054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561180b5780601f106117e05761010080835404028352916020019161180b565b820191906000526020600020905b8154815290600101906020018083116117ee57829003601f168201915b505050505061181983612187565b6122b4565b60126000838152602001908152602001600020908051906020019061184492919061271d565b5050565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166343cd76fc84846040518363ffffffff1660e01b81526004016118a7929190613906565b60206040518083038186803b1580156118bf57600080fd5b505afa1580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506118f79190810190612d16565b905092915050565b600081600001549050919050565b600061192e8473ffffffffffffffffffffffffffffffffffffffff166122f8565b61193b5760019050611a1c565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff1660e01b815260040161197c94939291906136d4565b602060405180830381600087803b15801561199657600080fd5b505af11580156119aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506119ce9190810190612e3b565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2e906138c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e906137a6565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611c24600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612343565b611c6b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612366565b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611d236001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061237c90919063ffffffff16565b9050600060076000848152602001908152602001600020549050818114611e10576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611d9057fe5b9060005260206000200154905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110611de857fe5b9060005260206000200181905550816007600083815260200190815260200160002081905550505b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003611e62919061279d565b5050505050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506007600083815260200190815260200160002081905550600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f97906138e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612042576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612039906138a6565b60405180910390fd5b816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506120db600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612366565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b606060008214156121cf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122af565b600082905060005b600082146121f9578080600101915050600a82816121f157fe5b0491506121d7565b6060816040519080825280601f01601f19166020018201604052801561222e5781602001600182028038833980820191505090505b50905060006001830390505b600086146122a757600a868161224c57fe5b0660300160f81b8282806001900393508151811061226657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161229f57fe5b04955061223a565b819450505050505b919050565b60606122f083836040518060200160405280600081525060405180602001604052806000815250604051806020016040528060008152506123c6565b905092915050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561233a57506000801b8214155b92505050919050565b61235b6001826000015461237c90919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b60006123be83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612688565b905092915050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156124225781602001600182028038833980820191505090505b509050606081905060008090506000809050600090505b88518110156124a75788818151811061244e57fe5b602001015160f81c60f81b83838060010194508151811061246b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612439565b600090505b875181101561251a578781815181106124c157fe5b602001015160f81c60f81b8383806001019450815181106124de57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506124ac565b600090505b865181101561258d5786818151811061253457fe5b602001015160f81c60f81b83838060010194508151811061255157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808060010191505061251f565b600090505b8551811015612600578581815181106125a757fe5b602001015160f81c60f81b8383806001019450815181106125c457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612592565b600090505b84518110156126735784818151811061261a57fe5b602001015160f81c60f81b83838060010194508151811061263757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050612605565b82995050505050505050505095945050505050565b60008383111582906126d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c79190613764565b60405180910390fd5b5060008385039050809150509392505050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600080191681525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061275e57805160ff191683800117855561278c565b8280016001018555821561278c579182015b8281111561278b578251825591602001919060010190612770565b5b50905061279991906127c9565b5090565b8154818355818111156127c4578183600052602060002091820191016127c391906127c9565b5b505050565b6127eb91905b808211156127e75760008160009055506001016127cf565b5090565b90565b6000813590506127fd81613bfa565b92915050565b600082601f83011261281457600080fd5b6002612827612822826139b0565b613983565b9150818385602084028201111561283d57600080fd5b60005b8381101561286d57816128538882612af5565b845260208401935060208301925050600181019050612840565b5050505092915050565b600082601f83011261288857600080fd5b600261289b612896826139d2565b613983565b915081838560208402820111156128b157600080fd5b60005b838110156128e157816128c78882612af5565b8452602084019350602083019250506001810190506128b4565b5050505092915050565b6000813590506128fa81613c11565b92915050565b60008151905061290f81613c11565b92915050565b60008135905061292481613c28565b92915050565b60008135905061293981613c3f565b92915050565b60008151905061294e81613c3f565b92915050565b600082601f83011261296557600080fd5b8135612978612973826139f4565b613983565b9150808252602083016020830185838301111561299457600080fd5b61299f838284613b9d565b50505092915050565b600082601f8301126129b957600080fd5b81356129cc6129c782613a20565b613983565b915080825260208301602083018583830111156129e857600080fd5b6129f3838284613b9d565b50505092915050565b600060408284031215612a0e57600080fd5b612a186040613983565b90506000612a2884828501612af5565b6000830152506020612a3c84828501612af5565b60208301525092915050565b600060808284031215612a5a57600080fd5b612a646040613983565b90506000612a7484828501612803565b6000830152506040612a8884828501612803565b60208301525092915050565b60006101008284031215612aa757600080fd5b612ab16060613983565b90506000612ac1848285016129fc565b6000830152506040612ad584828501612a48565b60208301525060c0612ae9848285016129fc565b60408301525092915050565b600081359050612b0481613c56565b92915050565b600060208284031215612b1c57600080fd5b6000612b2a848285016127ee565b91505092915050565b60008060408385031215612b4657600080fd5b6000612b54858286016127ee565b9250506020612b65858286016127ee565b9150509250929050565b600080600060608486031215612b8457600080fd5b6000612b92868287016127ee565b9350506020612ba3868287016127ee565b9250506040612bb486828701612af5565b9150509250925092565b60008060008060808587031215612bd457600080fd5b6000612be2878288016127ee565b9450506020612bf3878288016127ee565b9350506040612c0487828801612af5565b925050606085013567ffffffffffffffff811115612c2157600080fd5b612c2d87828801612954565b91505092959194509250565b60008060408385031215612c4c57600080fd5b6000612c5a858286016127ee565b9250506020612c6b858286016128eb565b9150509250929050565b60008060408385031215612c8857600080fd5b6000612c96858286016127ee565b9250506020612ca785828601612915565b9150509250929050565b60008060408385031215612cc457600080fd5b6000612cd2858286016127ee565b9250506020612ce385828601612af5565b9150509250929050565b600060208284031215612cff57600080fd5b6000612d0d848285016128eb565b91505092915050565b600060208284031215612d2857600080fd5b6000612d3684828501612900565b91505092915050565b60008060408385031215612d5257600080fd5b6000612d6085828601612915565b925050602083013567ffffffffffffffff811115612d7d57600080fd5b612d89858286016129a8565b9150509250929050565b600080600060608486031215612da857600080fd5b6000612db686828701612915565b935050602084013567ffffffffffffffff811115612dd357600080fd5b612ddf868287016129a8565b925050604084013567ffffffffffffffff811115612dfc57600080fd5b612e0886828701612954565b9150509250925092565b600060208284031215612e2457600080fd5b6000612e328482850161292a565b91505092915050565b600060208284031215612e4d57600080fd5b6000612e5b8482850161293f565b91505092915050565b6000806000806101808587031215612e7b57600080fd5b6000612e8987828801612a94565b945050610100612e9b87828801612877565b935050610140612ead878288016127ee565b925050610160612ebf87828801612af5565b91505092959194509250565b600060208284031215612edd57600080fd5b6000612eeb84828501612af5565b91505092915050565b6000612f0083836135d9565b60208301905092915050565b6000612f1883836135f7565b60208301905092915050565b612f2d81613b67565b82525050565b612f3c81613ae9565b82525050565b612f4b81613a6b565b612f558184613ab1565b9250612f6082613a56565b8060005b83811015612f91578151612f788782612ef4565b9650612f8383613a99565b925050600181019050612f64565b505050505050565b612fa281613a6b565b612fac8184613abc565b9250612fb782613a56565b8060005b83811015612fe8578151612fcf8782612f0c565b9650612fda83613a99565b925050600181019050612fbb565b505050505050565b612ff981613a60565b6130038184613aa6565b925061300e82613a4c565b8060005b8381101561303f5781516130268782612ef4565b965061303183613a8c565b925050600181019050613012565b505050505050565b61305081613a60565b61305a8184613abc565b925061306582613a4c565b8060005b8381101561309657815161307d8782612f0c565b965061308883613a8c565b925050600181019050613069565b505050505050565b6130a781613afb565b82525050565b6130b681613b07565b82525050565b60006130c782613a76565b6130d18185613ac7565b93506130e1818560208601613bac565b6130ea81613be9565b840191505092915050565b600061310082613a81565b61310a8185613ad8565b935061311a818560208601613bac565b61312381613be9565b840191505092915050565b600061313b603083613ad8565b91507f6d75737420626520617070726f766564206f7220626520746865206f776e657260008301527f206f662074686520636f6e7472616374000000000000000000000000000000006020830152604082019050919050565b60006131a1601f83613ad8565b91507f6e657720746f6b656e2061646472657373206d7573742062652076616c6964006000830152602082019050919050565b60006131e1602183613ad8565b91507f6d75737420626520612076616c69642070726f6f6620746f20636f6e74696e7560008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613247601983613ad8565b91507f6d757374206265206120756e6971756520736f6c7574696f6e000000000000006000830152602082019050919050565b6000613287603683613ad8565b91507f74686520676976656e2061646472657373206d757374206e6f7420626520746860008301527f65206f776e6572206f662074686520746f6b656e4964000000000000000000006020830152604082019050919050565b60006132ed602583613ad8565b91507f70617573656420737461746520697320616c726561647920696e20746869732060008301527f73746174650000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613353603d83613ad8565b91507f746869732066756e6374696f6e2063616e206f6e6c792062652063616c6c656460008301527f20627920746865206f776e6572206f662074686520636f6e74726163740000006020830152604082019050919050565b60006133b9601f83613ad8565b91507f6e6577206f776e65722063616e6e6f74206265203078302061646472657373006000830152602082019050919050565b60006133f9602f83613ad8565b91507f6d7573742062652063616c6c6564206279206f776e657220756e6c657373206160008301527f7070726f76656420666f7220616c6c00000000000000000000000000000000006020830152604082019050919050565b600061345f601683613ad8565b91507f746f6b656e496420616c726561647920657869737473000000000000000000006000830152602082019050919050565b600061349f602583613ad8565b91507f66726f6d2061646472657373206d757374206265206f776e6572206f6620746f60008301527f6b656e49640000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613505601883613ad8565b91507f696e76616c696420616464726573732070726f766964656400000000000000006000830152602082019050919050565b60408201600082015161354e60008501826135d9565b50602082015161356160208501826135d9565b50505050565b60808201600082015161357d6000850182612ff0565b5060208201516135906040850182612ff0565b50505050565b610100820160008201516135ad6000850182613538565b5060208201516135c06040850182613567565b5060408201516135d360c0850182613538565b50505050565b6135e281613b5d565b82525050565b6135f181613b5d565b82525050565b61360081613b5d565b82525050565b61361761361282613b5d565b613bdf565b82525050565b6000613629828a613606565b6020820191506136398289613606565b6020820191506136498288613047565b6040820191506136598287613047565b6040820191506136698286613606565b6020820191506136798285613606565b6020820191506136898284612f99565b60408201915081905098975050505050505050565b60006020820190506136b36000830184612f33565b92915050565b60006020820190506136ce6000830184612f24565b92915050565b60006080820190506136e96000830187612f24565b6136f66020830186612f33565b61370360408301856135e8565b818103606083015261371581846130bc565b905095945050505050565b60006040820190506137356000830185612f33565b6137426020830184612f33565b9392505050565b600060208201905061375e600083018461309e565b92915050565b6000602082019050818103600083015261377e81846130f5565b905092915050565b6000602082019050818103600083015261379f8161312e565b9050919050565b600060208201905081810360008301526137bf81613194565b9050919050565b600060208201905081810360008301526137df816131d4565b9050919050565b600060208201905081810360008301526137ff8161323a565b9050919050565b6000602082019050818103600083015261381f8161327a565b9050919050565b6000602082019050818103600083015261383f816132e0565b9050919050565b6000602082019050818103600083015261385f81613346565b9050919050565b6000602082019050818103600083015261387f816133ac565b9050919050565b6000602082019050818103600083015261389f816133ec565b9050919050565b600060208201905081810360008301526138bf81613452565b9050919050565b600060208201905081810360008301526138df81613492565b9050919050565b600060208201905081810360008301526138ff816134f8565b9050919050565b60006101408201905061391c6000830185613596565b61392a610100830184612f42565b9392505050565b600060208201905061394660008301846135e8565b92915050565b600060608201905061396160008301866135e8565b61396e6020830185612f33565b61397b60408301846130ad565b949350505050565b6000604051905081810181811067ffffffffffffffff821117156139a657600080fd5b8060405250919050565b600067ffffffffffffffff8211156139c757600080fd5b602082029050919050565b600067ffffffffffffffff8211156139e957600080fd5b602082029050919050565b600067ffffffffffffffff821115613a0b57600080fd5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613a3757600080fd5b601f19601f8301169050602081019050919050565b6000819050919050565b6000819050919050565b600060029050919050565b600060029050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000613af482613b3d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613b7282613b79565b9050919050565b6000613b8482613b8b565b9050919050565b6000613b9682613b3d565b9050919050565b82818337600083830152505050565b60005b83811015613bca578082015181840152602081019050613baf565b83811115613bd9576000848401525b50505050565b6000819050919050565b6000601f19601f8301169050919050565b613c0381613ae9565b8114613c0e57600080fd5b50565b613c1a81613afb565b8114613c2557600080fd5b50565b613c3181613b07565b8114613c3c57600080fd5b50565b613c4881613b11565b8114613c5357600080fd5b50565b613c5f81613b5d565b8114613c6a57600080fd5b5056fea365627a7a72315820c60f82d154019dc4ef6459b7aae482438afe45b90fc4a2957973ef86ff4a52366c6578706572696d656e74616cf564736f6c63430005100040", "sourceMap": "501:2888:7:-;;;649:236;8:9:-1;5:2;;;30:1;27;20:12;5:2;649:236:7;;;;;;;;;;;;;;;;;;;;;;;;798:4;804:6;23165:4:6;23183:6;21191:312;;;;;;;;;;;;;;;;;747:37;765:6;;;;;;;;;;;773:10;747:37;;;;;;;;;;;;;;;;803:10;794:6;;:19;;;;;;;;;;;;;;;;;;2568:5;2558:7;;:15;;;;;;;;;;;;;;;;;;2588:20;2597:10;2588:20;;;;;;;;;;;;;;;3417:40;3015:10;3436:20;;3417:18;;;:40;;:::i;:::-;5670;5545:10;5689:20;;5670:18;;;:40;;:::i;:::-;13803:51;13409:10;13822:31;;13803:18;;;:51;;:::i;:::-;21369:4;21361:5;:12;;;;;;;;;;;;:::i;:::-;;21393:6;21383:7;:16;;;;;;;;;;;;:::i;:::-;;21425:12;21409:13;:28;;;;;;;;;;;;:::i;:::-;;21447:49;21002:10;21466:29;;21447:18;;;:49;;:::i;:::-;21191:312;;;23060:225;;856:21:7;822:22;;:56;;;;;;;;;;;;;;;;;;649:236;;;501:2888;;3795:158:6;3885:10;3870:25;;:11;:25;;;;;3862:34;;;;;;3942:4;3906:20;:33;3927:11;3906:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;3795:158;:::o;501:2888:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:134:-1:-;;89:6;83:13;74:22;;101:33;128:5;101:33;;;68:71;;;;;147:444;;260:3;253:4;245:6;241:17;237:27;227:2;;278:1;275;268:12;227:2;308:6;302:13;330:65;345:49;387:6;345:49;;;330:65;;;321:74;;415:6;408:5;401:21;451:4;443:6;439:17;484:4;477:5;473:16;519:3;510:6;505:3;501:16;498:25;495:2;;;536:1;533;526:12;495:2;546:39;578:6;573:3;568;546:39;;;220:371;;;;;;;;599:733;;;;768:2;756:9;747:7;743:23;739:32;736:2;;;784:1;781;774:12;736:2;819:1;836:64;892:7;883:6;872:9;868:22;836:64;;;826:74;;798:108;958:2;947:9;943:18;937:25;982:18;974:6;971:30;968:2;;;1014:1;1011;1004:12;968:2;1034:74;1100:7;1091:6;1080:9;1076:22;1034:74;;;1024:84;;916:198;1166:2;1155:9;1151:18;1145:25;1190:18;1182:6;1179:30;1176:2;;;1222:1;1219;1212:12;1176:2;1242:74;1308:7;1299:6;1288:9;1284:22;1242:74;;;1232:84;;1124:198;730:602;;;;;;1339:142;1430:45;1469:5;1430:45;;;1425:3;1418:58;1412:69;;;1488:113;1571:24;1589:5;1571:24;;;1566:3;1559:37;1553:48;;;1608:229;;1734:2;1723:9;1719:18;1711:26;;1748:79;1824:1;1813:9;1809:17;1800:6;1748:79;;;1705:132;;;;;1844:340;;1998:2;1987:9;1983:18;1975:26;;2012:71;2080:1;2069:9;2065:17;2056:6;2012:71;;;2094:80;2170:2;2159:9;2155:18;2146:6;2094:80;;;1969:215;;;;;;2191:256;;2253:2;2247:9;2237:19;;2291:4;2283:6;2279:17;2390:6;2378:10;2375:22;2354:18;2342:10;2339:34;2336:62;2333:2;;;2411:1;2408;2401:12;2333:2;2431:10;2427:2;2420:22;2231:216;;;;;2454:322;;2598:18;2590:6;2587:30;2584:2;;;2630:1;2627;2620:12;2584:2;2697:4;2693:9;2686:4;2678:6;2674:17;2670:33;2662:41;;2761:4;2755;2751:15;2743:23;;2521:255;;;;2783:91;;2845:24;2863:5;2845:24;;;2834:35;;2828:46;;;;2881:121;;2954:42;2947:5;2943:54;2932:65;;2926:76;;;;3009:129;;3096:37;3127:5;3096:37;;;3083:50;;3077:61;;;;3145:121;;3224:37;3255:5;3224:37;;;3211:50;;3205:61;;;;3273:108;;3352:24;3370:5;3352:24;;;3339:37;;3333:48;;;;3389:268;3454:1;3461:101;3475:6;3472:1;3469:13;3461:101;;;3551:1;3546:3;3542:11;3536:18;3532:1;3527:3;3523:11;3516:39;3497:2;3494:1;3490:10;3485:15;;3461:101;;;3577:6;3574:1;3571:13;3568:2;;;3642:1;3633:6;3628:3;3624:16;3617:27;3568:2;3438:219;;;;;3665:117;3734:24;3752:5;3734:24;;;3727:5;3724:35;3714:2;;3773:1;3770;3763:12;3714:2;3708:74;;501:2888:7;;;;;;;", "deployedSourceMap": "501:2888:7:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;501:2888:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3555:161:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;21590:83;;;:::i;:::-;;;;;;;;;;;;;;;;7028:167;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6262:760;;;;;;;;;;;;;;;;:::i;:::-;;1623:479:7;;;;;;;;;;;;;;;;:::i;:::-;;2091:340:6;;;;;;;;;;;;;;;;:::i;:::-;;14596:94;;;:::i;:::-;;;;;;;;;;;;;;;;8200:296;;;;;;;;;;;;;;;;:::i;:::-;;14801:122:5;;;;;;;;;;;;;;;;:::i;:::-;;14234:210:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;14929:166:5;;;;;;;;;;;;;;;;:::i;:::-;;23732:167:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;8502:162;;;;;;;;;;;;;;;;:::i;:::-;;15027:148;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2643:744:7;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6022:163:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;5723:293;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;524:77;;;:::i;:::-;;;;;;;;;;;;;;;;21679:87;;;:::i;:::-;;;;;;;;;;;;;;;;7487:213;;;;;;;;;;;;;;;;:::i;:::-;;8670:249;;;;;;;;;;;;;;;;:::i;:::-;;21877:151;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;21772:99;;;:::i;:::-;;;;;;;;;;;;;;;;8021:173;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1281:367;;;;;;;;;;;;;;;;:::i;:::-;;3555:161;3649:4;3676:20;:33;3697:11;3676:33;;;;;;;;;;;;;;;;;;;;;;;;;;;3669:40;;3555:161;;;:::o;21590:83::-;21629:13;21661:5;21654:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21590:83;:::o;7028:167::-;7087:7;7164:15;:24;7180:7;7164:24;;;;;;;;;;;;;;;;;;;;;7157:31;;7028:167;;;:::o;6262:760::-;6429:11;:20;6441:7;6429:20;;;;;;;;;;;;;;;;;;;;;6423:26;;:2;:26;;;;6402:127;;;;;;;;;;;;;;;;;;;;;;6678:7;:5;:7::i;:::-;6664:21;;:10;:21;;;:91;;;;6705:50;6722:11;:20;6734:7;6722:20;;;;;;;;;;;;;;;;;;;;;6744:10;6705:16;:50::i;:::-;6664:91;6643:185;;;;;;;;;;;;;;;;;;;;;;6918:2;6891:15;:24;6907:7;6891:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;7007:7;7003:2;6972:43;;6981:11;:20;6993:7;6981:20;;;;;;;;;;;;;;;;;;;;;6972:43;;;;;;;;;;;;6262:760;;:::o;1623:479:7:-;999:6:6;;;;;;;;;;;985:20;;:10;:20;;;964:128;;;;;;;;;;;;;;;;;;;;;;1735:23:7;1789:1;1761:18;:25;;;;:29;1735:55;;1800:25;;:::i;:::-;1828:99;;;;;;;;1850:15;1828:99;;;;1879:12;1828:99;;;;;;1905:12;1828:99;;;1800:127;;1937:18;1961:9;1937:34;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;1937:34:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2013:9;1981:15;:29;1997:12;1981:29;;;;;;;;;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2037:58;2051:15;2068:12;2082;2037:58;;;;;;;;;;;;;;;;;1102:1:6;;1623:479:7;;:::o;2091:340:6:-;999:6;;;;;;;;;;;985:20;;:10;:20;;;964:128;;;;;;;;;;;;;;;;;;;;;;2189:13;2178:24;;:7;;;;;;;;;;;:24;;;;2157:108;;;;;;;;;;;;;;;;;;;;;;2285:13;2275:7;;:23;;;;;;;;;;;;;;;;;;2312:7;;;;;;;;;;;2308:117;;;2340:18;2347:10;2340:18;;;;;;;;;;;;;;;2308:117;;;2394:20;2403:10;2394:20;;;;;;;;;;;;;;;2308:117;2091:340;:::o;14596:94::-;14640:7;14666:10;:17;;;;14659:24;;14596:94;:::o;8200:296::-;8333:39;8352:10;8364:7;8333:18;:39::i;:::-;8312:134;;;;;;;;;;;;;;;;;;;;;;8457:32;8471:4;8477:2;8481:7;8457:13;:32::i;:::-;8200:296;;;:::o;14801:122:5:-;14876:40;14887:5;14894:7;14913:1;14903:12;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;14903:12:5;;;;14876:10;:40::i;:::-;14801:122;;:::o;14234:210:6:-;14338:7;14377:16;14387:5;14377:9;:16::i;:::-;14369:5;:24;14361:33;;;;;;14411:12;:19;14424:5;14411:19;;;;;;;;;;;;;;;14431:5;14411:26;;;;;;;;;;;;;;;;14404:33;;14234:210;;;;:::o;14929:166:5:-;;;;:::o;23732:167:6:-;23801:4;999:6;;;;;;;;;;;985:20;;:10;:20;;;964:128;;;;;;;;;;;;;;;;;;;;;;23817:24;23829:2;23833:7;23817:11;:24::i;:::-;23851:20;23863:7;23851:11;:20::i;:::-;23888:4;23881:11;;23732:167;;;;:::o;8502:162::-;8618:39;8635:4;8641:2;8645:7;8618:39;;;;;;;;;;;;:16;:39::i;:::-;8502:162;;;:::o;15027:148::-;15085:7;15120:13;:11;:13::i;:::-;15112:5;:21;15104:30;;;;;;15151:10;15162:5;15151:17;;;;;;;;;;;;;;;;15144:24;;15027:148;;;:::o;2643:744:7:-;2807:4;999:6:6;;;;;;;;;;;985:20;;:10;:20;;;964:128;;;;;;;;;;;;;;;;;;;;;;2823:20:7;2903:5;:7;;;:9;;;2930:5;:7;;;:9;;;2957:5;:7;;;:9;;;2984:5;:7;;;:9;;;3011:5;:7;;;:9;;;3038:5;:7;;;:9;;;3065:5;2869:215;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2869:215:7;;;2846:248;;;;;;2823:271;;3174:1;3125:15;:29;3141:12;3125:29;;;;;;;;;;;:45;;;:50;3104:122;;;;;;;;;;;;;;;;;;;;;;3244:25;3256:5;3263;3244:11;:25::i;:::-;3236:71;;;;;;;;;;;;;;;;;;;;;;3317:29;3329:2;3333:12;3317:11;:29::i;:::-;3363:17;3368:2;3372:7;3363:4;:17::i;:::-;3356:24;;;2643:744;;;;;;:::o;6022:163:6:-;6077:7;6158:11;:20;6170:7;6158:20;;;;;;;;;;;;;;;;;;;;;6151:27;;6022:163;;;:::o;5723:293::-;5778:7;5967:42;5984:17;:24;6002:5;5984:24;;;;;;;;;;;;;;;5967:16;:42::i;:::-;5960:49;;5723:293;;;:::o;524:77::-;562:7;588:6;;;;;;;;;;;581:13;;524:77;:::o;21679:87::-;21720:13;21752:7;21745:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21679:87;:::o;7487:213::-;7572:10;7566:16;;:2;:16;;;;7558:25;;;;;;7630:8;7593:18;:30;7612:10;7593:30;;;;;;;;;;;;;;;:34;7624:2;7593:34;;;;;;;;;;;;;;;;:45;;;;;;;;;;;;;;;;;;7680:2;7653:40;;7668:10;7653:40;;;7684:8;7653:40;;;;;;;;;;;;;;;7487:213;;:::o;8670:249::-;8814:31;8827:4;8833:2;8837:7;8814:12;:31::i;:::-;8863:48;8886:4;8892:2;8896:7;8905:5;8863:22;:48::i;:::-;8855:57;;;;;;8670:249;;;;:::o;21877:151::-;21935:13;21968:16;21976:7;21968;:16::i;:::-;21960:25;;;;;;22002:10;:19;22013:7;22002:19;;;;;;;;;;;21995:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21877:151;;;:::o;21772:99::-;21819:13;21851;21844:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21772:99;:::o;8021:173::-;8125:4;8152:18;:25;8171:5;8152:25;;;;;;;;;;;;;;;:35;8178:8;8152:35;;;;;;;;;;;;;;;;;;;;;;;;;8145:42;;8021:173;;;;:::o;1281:367::-;999:6;;;;;;;;;;;985:20;;:10;:20;;;964:128;;;;;;;;;;;;;;;;;;;;;;1440:1;1420:22;;:8;:22;;;;1412:66;;;;;;;;;;;;;;;;;;;;;;1579:35;1597:6;;;;;;;;;;;1605:8;1579:35;;;;;;;;;;;;;;;;1633:8;1624:6;;:17;;;;;;;;;;;;;;;;;;1281:367;:::o;9625:298::-;9734:4;9754:13;9770:16;9778:7;9770;:16::i;:::-;9754:32;;9815:5;9804:16;;:7;:16;;;:63;;;;9860:7;9836:31;;:20;9848:7;9836:11;:20::i;:::-;:31;;;9804:63;:111;;;;9883:32;9900:5;9907:7;9883:16;:32::i;:::-;9804:111;9796:120;;;9625:298;;;;:::o;15550:269::-;15665:38;15685:4;15691:2;15695:7;15665:19;:38::i;:::-;15714:47;15747:4;15753:7;15714:32;:47::i;:::-;15772:40;15800:2;15804:7;15772:27;:40::i;:::-;15550:269;;;:::o;16074:196::-;16137:24;16149:2;16153:7;16137:11;:24::i;:::-;16172:40;16200:2;16204:7;16172:27;:40::i;:::-;16223;16255:7;16223:31;:40::i;:::-;16074:196;;:::o;22500:178::-;22593:1;22565:30;;:16;22573:7;22565;:16::i;:::-;:30;;;;22557:39;;;;;;22628:43;22638:13;22628:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22653:17;22662:7;22653:8;:17::i;:::-;22628:9;:43::i;:::-;22606:10;:19;22617:7;22606:19;;;;;;;;;;;:65;;;;;;;;;;;;:::i;:::-;;22500:178;:::o;2219:197:7:-;2341:4;2364:22;;;;;;;;;;;:31;;;2396:5;2403;2364:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2364:45:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2364:45:7;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;2364:45:7;;;;;;;;;2357:52;;2219:197;;;;:::o;1065:112:0:-;1130:7;1156;:14;;;1149:21;;1065:112;;;:::o;12170:431:6:-;12321:4;12342:15;:2;:13;;;:15::i;:::-;12337:58;;12380:4;12373:11;;;;12337:58;12405:13;12437:2;12421:36;;;12471:10;12495:4;12513:7;12534:5;12421:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12421:128:6;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12421:128:6;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;12421:128:6;;;;;;;;;12405:144;;4683:10;12577:16;;12567:26;;;:6;:26;;;;12559:35;;;12170:431;;;;;;;:::o;9113:152::-;9170:4;9186:13;9202:11;:20;9214:7;9202:20;;;;;;;;;;;;;;;;;;;;;9186:36;;9256:1;9239:19;;:5;:19;;;;9232:26;;;9113:152;;;:::o;10868:774::-;11082:11;:20;11094:7;11082:20;;;;;;;;;;;;;;;;;;;;;11074:28;;:4;:28;;;11053:112;;;;;;;;;;;;;;;;;;;;;;11265:1;11251:16;;:2;:16;;;;11243:60;;;;;;;;;;;;;;;;;;;;;;11353:15;:24;11369:7;11353:24;;;;;;;;;;;;11346:31;;;;;;;;;;;11462:43;11481:17;:23;11499:4;11481:23;;;;;;;;;;;;;;;11462:18;:43::i;:::-;11515:41;11534:17;:21;11552:2;11534:21;;;;;;;;;;;;;;;11515:18;:41::i;:::-;11627:7;11623:2;11608:27;;11617:4;11608:27;;;;;;;;;;;;10868:774;;;:::o;18074:1140::-;18348:22;18373:32;18403:1;18373:12;:18;18386:4;18373:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;18348:57;;18415:18;18436:17;:26;18454:7;18436:26;;;;;;;;;;;;18415:47;;18580:14;18566:10;:28;18562:323;;18610:19;18632:12;:18;18645:4;18632:18;;;;;;;;;;;;;;;18651:14;18632:34;;;;;;;;;;;;;;;;18610:56;;18714:11;18681:12;:18;18694:4;18681:18;;;;;;;;;;;;;;;18700:10;18681:30;;;;;;;;;;;;;;;:44;;;;18830:10;18797:17;:30;18815:11;18797:30;;;;;;;;;;;:43;;;;18562:323;;18971:12;:18;18984:4;18971:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;18074:1140;;;;:::o;16920:183::-;17033:12;:16;17046:2;17033:16;;;;;;;;;;;;;;;:23;;;;17004:17;:26;17022:7;17004:26;;;;;;;;;;;:52;;;;17066:12;:16;17079:2;17066:16;;;;;;;;;;;;;;;17088:7;17066:30;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;17066:30:6;;;;;;;;;;;;;;;;;;;;;;16920:183;;:::o;10080:589::-;10244:1;10230:16;;:2;:16;;;10226:81;;;10262:34;;;;;;;;;;;;;;;;;;;10226:81;10352:1;10320:34;;:11;:20;10332:7;10320:20;;;;;;;;;;;;;;;;;;;;;:34;;;10316:97;;10370:32;;;;;;;;;;;;;;;;;;;10316:97;10524:2;10501:11;:20;10513:7;10501:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;10536:41;10555:17;:21;10573:2;10555:21;;;;;;;;;;;;;;;10536:18;:41::i;:::-;10654:7;10650:2;10629:33;;10646:1;10629:33;;;;;;;;;;;;10080:589;;:::o;17298:161::-;17401:10;:17;;;;17374:15;:24;17390:7;17374:24;;;;;;;;;;;:44;;;;17428:10;17444:7;17428:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;17428:24:6;;;;;;;;;;;;;;;;;;;;;;17298:161;:::o;43271:465:5:-;43321:27;43370:1;43364:2;:7;43360:48;;;43387:10;;;;;;;;;;;;;;;;;;;;;43360:48;43417:6;43426:2;43417:11;;43438:8;43456:66;43468:1;43463;:6;43456:66;;43485:5;;;;;;;43509:2;43504:7;;;;;;;;;43456:66;;;43531:17;43561:3;43551:14;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;43551:14:5;;;;43531:34;;43575:6;43590:1;43584:3;:7;43575:16;;43601:100;43614:1;43608:2;:7;43601:100;;43664:2;43659;:7;;;;;;43654:2;:12;43643:25;;43631:4;43636:3;;;;;;;43631:9;;;;;;;;;;;:37;;;;;;;;;;;43688:2;43682:8;;;;;;;;;43601:100;;;43724:4;43710:19;;;;;;43271:465;;;;:::o;39712:166::-;39790:33;39842:29;39852:2;39856;39842:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;:::-;39835:36;;39712:166;;;;:::o;686:610:3:-;746:4;1004:16;1030:19;1052:66;1030:88;;;;1219:7;1207:20;1195:32;;1258:11;1246:8;:23;;:42;;;;;1285:3;1273:15;;:8;:15;;1246:42;1238:51;;;;686:610;;;:::o;1367:108:0:-;1447:21;1466:1;1447:7;:14;;;:18;;:21;;;;:::i;:::-;1430:7;:14;;:38;;;;1367:108;:::o;1183:178::-;1353:1;1335:7;:14;;;:19;;;;;;;;;;;1183:178;:::o;1274:134:1:-;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1351:50;;1274:134;;;;:::o;40282:1020:5:-;40414:33;40459:16;40484:2;40459:28;;40497:16;40522:2;40497:28;;40535:16;40560:2;40535:28;;40573:16;40598:2;40573:28;;40611:16;40636:2;40611:28;;40649:19;40734:3;:10;40721:3;:10;40708:3;:10;40695:3;:10;40682:3;:10;:23;:36;:49;:62;40671:74;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;40671:74:5;;;;40649:96;;40755:19;40783:5;40755:34;;40799:6;40808:1;40799:10;;40819:6;40828:1;40819:10;;40848:1;40844:5;;40839:78;40855:3;:10;40851:1;:14;40839:78;;;40900:3;40904:1;40900:6;;;;;;;;;;;;;;;;40886;40893:3;;;;;;40886:11;;;;;;;;;;;:20;;;;;;;;;;;40867:3;;;;;;;40839:78;;;40935:1;40931:5;;40926:78;40942:3;:10;40938:1;:14;40926:78;;;40987:3;40991:1;40987:6;;;;;;;;;;;;;;;;40973;40980:3;;;;;;40973:11;;;;;;;;;;;:20;;;;;;;;;;;40954:3;;;;;;;40926:78;;;41022:1;41018:5;;41013:78;41029:3;:10;41025:1;:14;41013:78;;;41074:3;41078:1;41074:6;;;;;;;;;;;;;;;;41060;41067:3;;;;;;41060:11;;;;;;;;;;;:20;;;;;;;;;;;41041:3;;;;;;;41013:78;;;41109:1;41105:5;;41100:78;41116:3;:10;41112:1;:14;41100:78;;;41161:3;41165:1;41161:6;;;;;;;;;;;;;;;;41147;41154:3;;;;;;41147:11;;;;;;;;;;;:20;;;;;;;;;;;41128:3;;;;;;;41100:78;;;41196:1;41192:5;;41187:78;41203:3;:10;41199:1;:14;41187:78;;;41248:3;41252:1;41248:6;;;;;;;;;;;;;;;;41234;41241:3;;;;;;41234:11;;;;;;;;;;;:20;;;;;;;;;;;41215:3;;;;;;;41187:78;;;41288:6;41274:21;;;;;;;;;;;40282:1020;;;;;;;:::o;1732:187:1:-;1818:7;1850:1;1845;:6;;1853:12;1837:29;;;;;;;;;;;;;;;;;;;;;;;;;1876:9;1892:1;1888;:5;1876:17;;1911:1;1904:8;;;1732:187;;;;;:::o;501:2888:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130:-1:-;;85:6;72:20;63:29;;97:33;124:5;97:33;;;57:78;;;;;161:608;;272:3;265:4;257:6;253:17;249:27;239:2;;290:1;287;280:12;239:2;314:4;333:74;348:58;399:6;348:58;;;333:74;;;324:83;;424:5;483:6;530:3;522:4;514:6;510:17;505:3;501:27;498:36;495:2;;;547:1;544;537:12;495:2;572:1;557:206;582:6;579:1;576:13;557:206;;;640:3;662:37;695:3;683:10;662:37;;;657:3;650:50;723:4;718:3;714:14;707:21;;751:4;746:3;742:14;735:21;;614:149;604:1;601;597:9;592:14;;557:206;;;561:14;232:537;;;;;;;;796:616;;911:3;904:4;896:6;892:17;888:27;878:2;;929:1;926;919:12;878:2;953:4;972:78;987:62;1042:6;987:62;;;972:78;;;963:87;;1067:5;1126:6;1173:3;1165:4;1157:6;1153:17;1148:3;1144:27;1141:36;1138:2;;;1190:1;1187;1180:12;1138:2;1215:1;1200:206;1225:6;1222:1;1219:13;1200:206;;;1283:3;1305:37;1338:3;1326:10;1305:37;;;1300:3;1293:50;1366:4;1361:3;1357:14;1350:21;;1394:4;1389:3;1385:14;1378:21;;1257:149;1247:1;1244;1240:9;1235:14;;1200:206;;;1204:14;871:541;;;;;;;;1420:124;;1497:6;1484:20;1475:29;;1509:30;1533:5;1509:30;;;1469:75;;;;;1551:128;;1632:6;1626:13;1617:22;;1644:30;1668:5;1644:30;;;1611:68;;;;;1686:130;;1766:6;1753:20;1744:29;;1778:33;1805:5;1778:33;;;1738:78;;;;;1823:128;;1902:6;1889:20;1880:29;;1914:32;1940:5;1914:32;;;1874:77;;;;;1958:132;;2041:6;2035:13;2026:22;;2053:32;2079:5;2053:32;;;2020:70;;;;;2098:440;;2199:3;2192:4;2184:6;2180:17;2176:27;2166:2;;2217:1;2214;2207:12;2166:2;2254:6;2241:20;2276:64;2291:48;2332:6;2291:48;;;2276:64;;;2267:73;;2360:6;2353:5;2346:21;2396:4;2388:6;2384:17;2429:4;2422:5;2418:16;2464:3;2455:6;2450:3;2446:16;2443:25;2440:2;;;2481:1;2478;2471:12;2440:2;2491:41;2525:6;2520:3;2515;2491:41;;;2159:379;;;;;;;;2547:442;;2649:3;2642:4;2634:6;2630:17;2626:27;2616:2;;2667:1;2664;2657:12;2616:2;2704:6;2691:20;2726:65;2741:49;2783:6;2741:49;;;2726:65;;;2717:74;;2811:6;2804:5;2797:21;2847:4;2839:6;2835:17;2880:4;2873:5;2869:16;2915:3;2906:6;2901:3;2897:16;2894:25;2891:2;;;2932:1;2929;2922:12;2891:2;2942:41;2976:6;2971:3;2966;2942:41;;;2609:380;;;;;;;;3030:457;;3140:4;3128:9;3123:3;3119:19;3115:30;3112:2;;;3158:1;3155;3148:12;3112:2;3176:20;3191:4;3176:20;;;3167:29;;3243:1;3275:49;3320:3;3311:6;3300:9;3296:22;3275:49;;;3268:4;3261:5;3257:16;3250:75;3206:130;3383:2;3416:49;3461:3;3452:6;3441:9;3437:22;3416:49;;;3409:4;3402:5;3398:16;3391:75;3346:131;3106:381;;;;;3527:495;;3637:4;3625:9;3620:3;3616:19;3612:30;3609:2;;;3655:1;3652;3645:12;3609:2;3673:20;3688:4;3673:20;;;3664:29;;3740:1;3772:68;3836:3;3827:6;3816:9;3812:22;3772:68;;;3765:4;3758:5;3754:16;3747:94;3703:149;3899:2;3932:68;3996:3;3987:6;3976:9;3972:22;3932:68;;;3925:4;3918:5;3914:16;3907:94;3862:150;3603:419;;;;;4060:666;;4172:6;4160:9;4155:3;4151:19;4147:32;4144:2;;;4192:1;4189;4182:12;4144:2;4210:20;4225:4;4210:20;;;4201:29;;4277:1;4309:70;4375:3;4366:6;4355:9;4351:22;4309:70;;;4302:4;4295:5;4291:16;4284:96;4240:151;4438:2;4471:70;4537:3;4528:6;4517:9;4513:22;4471:70;;;4464:4;4457:5;4453:16;4446:96;4401:152;4600:3;4634:70;4700:3;4691:6;4680:9;4676:22;4634:70;;;4627:4;4620:5;4616:16;4609:96;4563:153;4138:588;;;;;4733:130;;4813:6;4800:20;4791:29;;4825:33;4852:5;4825:33;;;4785:78;;;;;4870:241;;4974:2;4962:9;4953:7;4949:23;4945:32;4942:2;;;4990:1;4987;4980:12;4942:2;5025:1;5042:53;5087:7;5078:6;5067:9;5063:22;5042:53;;;5032:63;;5004:97;4936:175;;;;;5118:366;;;5239:2;5227:9;5218:7;5214:23;5210:32;5207:2;;;5255:1;5252;5245:12;5207:2;5290:1;5307:53;5352:7;5343:6;5332:9;5328:22;5307:53;;;5297:63;;5269:97;5397:2;5415:53;5460:7;5451:6;5440:9;5436:22;5415:53;;;5405:63;;5376:98;5201:283;;;;;;5491:491;;;;5629:2;5617:9;5608:7;5604:23;5600:32;5597:2;;;5645:1;5642;5635:12;5597:2;5680:1;5697:53;5742:7;5733:6;5722:9;5718:22;5697:53;;;5687:63;;5659:97;5787:2;5805:53;5850:7;5841:6;5830:9;5826:22;5805:53;;;5795:63;;5766:98;5895:2;5913:53;5958:7;5949:6;5938:9;5934:22;5913:53;;;5903:63;;5874:98;5591:391;;;;;;5989:721;;;;;6153:3;6141:9;6132:7;6128:23;6124:33;6121:2;;;6170:1;6167;6160:12;6121:2;6205:1;6222:53;6267:7;6258:6;6247:9;6243:22;6222:53;;;6212:63;;6184:97;6312:2;6330:53;6375:7;6366:6;6355:9;6351:22;6330:53;;;6320:63;;6291:98;6420:2;6438:53;6483:7;6474:6;6463:9;6459:22;6438:53;;;6428:63;;6399:98;6556:2;6545:9;6541:18;6528:32;6580:18;6572:6;6569:30;6566:2;;;6612:1;6609;6602:12;6566:2;6632:62;6686:7;6677:6;6666:9;6662:22;6632:62;;;6622:72;;6507:193;6115:595;;;;;;;;6717:360;;;6835:2;6823:9;6814:7;6810:23;6806:32;6803:2;;;6851:1;6848;6841:12;6803:2;6886:1;6903:53;6948:7;6939:6;6928:9;6924:22;6903:53;;;6893:63;;6865:97;6993:2;7011:50;7053:7;7044:6;7033:9;7029:22;7011:50;;;7001:60;;6972:95;6797:280;;;;;;7084:366;;;7205:2;7193:9;7184:7;7180:23;7176:32;7173:2;;;7221:1;7218;7211:12;7173:2;7256:1;7273:53;7318:7;7309:6;7298:9;7294:22;7273:53;;;7263:63;;7235:97;7363:2;7381:53;7426:7;7417:6;7406:9;7402:22;7381:53;;;7371:63;;7342:98;7167:283;;;;;;7457:366;;;7578:2;7566:9;7557:7;7553:23;7549:32;7546:2;;;7594:1;7591;7584:12;7546:2;7629:1;7646:53;7691:7;7682:6;7671:9;7667:22;7646:53;;;7636:63;;7608:97;7736:2;7754:53;7799:7;7790:6;7779:9;7775:22;7754:53;;;7744:63;;7715:98;7540:283;;;;;;7830:235;;7931:2;7919:9;7910:7;7906:23;7902:32;7899:2;;;7947:1;7944;7937:12;7899:2;7982:1;7999:50;8041:7;8032:6;8021:9;8017:22;7999:50;;;7989:60;;7961:94;7893:172;;;;;8072:257;;8184:2;8172:9;8163:7;8159:23;8155:32;8152:2;;;8200:1;8197;8190:12;8152:2;8235:1;8252:61;8305:7;8296:6;8285:9;8281:22;8252:61;;;8242:71;;8214:105;8146:183;;;;;8336:472;;;8467:2;8455:9;8446:7;8442:23;8438:32;8435:2;;;8483:1;8480;8473:12;8435:2;8518:1;8535:53;8580:7;8571:6;8560:9;8556:22;8535:53;;;8525:63;;8497:97;8653:2;8642:9;8638:18;8625:32;8677:18;8669:6;8666:30;8663:2;;;8709:1;8706;8699:12;8663:2;8729:63;8784:7;8775:6;8764:9;8760:22;8729:63;;;8719:73;;8604:194;8429:379;;;;;;8815:701;;;;8972:2;8960:9;8951:7;8947:23;8943:32;8940:2;;;8988:1;8985;8978:12;8940:2;9023:1;9040:53;9085:7;9076:6;9065:9;9061:22;9040:53;;;9030:63;;9002:97;9158:2;9147:9;9143:18;9130:32;9182:18;9174:6;9171:30;9168:2;;;9214:1;9211;9204:12;9168:2;9234:63;9289:7;9280:6;9269:9;9265:22;9234:63;;;9224:73;;9109:194;9362:2;9351:9;9347:18;9334:32;9386:18;9378:6;9375:30;9372:2;;;9418:1;9415;9408:12;9372:2;9438:62;9492:7;9483:6;9472:9;9468:22;9438:62;;;9428:72;;9313:193;8934:582;;;;;;9523:239;;9626:2;9614:9;9605:7;9601:23;9597:32;9594:2;;;9642:1;9639;9632:12;9594:2;9677:1;9694:52;9738:7;9729:6;9718:9;9714:22;9694:52;;;9684:62;;9656:96;9588:174;;;;;9769:261;;9883:2;9871:9;9862:7;9858:23;9854:32;9851:2;;;9899:1;9896;9889:12;9851:2;9934:1;9951:63;10006:7;9997:6;9986:9;9982:22;9951:63;;;9941:73;;9913:107;9845:185;;;;;10037:712;;;;;10238:3;10226:9;10217:7;10213:23;10209:33;10206:2;;;10255:1;10252;10245:12;10206:2;10290:1;10307:76;10375:7;10366:6;10355:9;10351:22;10307:76;;;10297:86;;10269:120;10420:3;10439:76;10507:7;10498:6;10487:9;10483:22;10439:76;;;10429:86;;10399:122;10552:3;10571:53;10616:7;10607:6;10596:9;10592:22;10571:53;;;10561:63;;10531:99;10661:3;10680:53;10725:7;10716:6;10705:9;10701:22;10680:53;;;10670:63;;10640:99;10200:549;;;;;;;;10756:241;;10860:2;10848:9;10839:7;10835:23;10831:32;10828:2;;;10876:1;10873;10866:12;10828:2;10911:1;10928:53;10973:7;10964:6;10953:9;10949:22;10928:53;;;10918:63;;10890:97;10822:175;;;;;11005:173;;11092:46;11134:3;11126:6;11092:46;;;11167:4;11162:3;11158:14;11144:28;;11085:93;;;;;11187:189;;11282:54;11332:3;11324:6;11282:54;;;11365:4;11360:3;11356:14;11342:28;;11275:101;;;;;11384:142;11475:45;11514:5;11475:45;;;11470:3;11463:58;11457:69;;;11533:113;11616:24;11634:5;11616:24;;;11611:3;11604:37;11598:48;;;11686:660;11819:52;11865:5;11819:52;;;11884:84;11961:6;11956:3;11884:84;;;11877:91;;11989:54;12037:5;11989:54;;;12063:7;12091:1;12076:258;12101:6;12098:1;12095:13;12076:258;;;12168:6;12162:13;12189:63;12248:3;12233:13;12189:63;;;12182:70;;12269:58;12320:6;12269:58;;;12259:68;;12133:201;12123:1;12120;12116:9;12111:14;;12076:258;;;12080:14;11798:548;;;;;;12387:704;12538:52;12584:5;12538:52;;;12603:102;12698:6;12693:3;12603:102;;;12596:109;;12726:54;12774:5;12726:54;;;12800:7;12828:1;12813:266;12838:6;12835:1;12832:13;12813:266;;;12905:6;12899:13;12926:71;12993:3;12978:13;12926:71;;;12919:78;;13014:58;13065:6;13014:58;;;13004:68;;12870:209;12860:1;12857;12853:9;12848:14;;12813:266;;;12817:14;12517:574;;;;;;13132:624;13251:48;13293:5;13251:48;;;13312:74;13379:6;13374:3;13312:74;;;13305:81;;13407:50;13451:5;13407:50;;;13477:7;13505:1;13490:254;13515:6;13512:1;13509:13;13490:254;;;13582:6;13576:13;13603:63;13662:3;13647:13;13603:63;;;13596:70;;13683:54;13730:6;13683:54;;;13673:64;;13547:197;13537:1;13534;13530:9;13525:14;;13490:254;;;13494:14;13230:526;;;;;;13797:688;13944:48;13986:5;13944:48;;;14005:102;14100:6;14095:3;14005:102;;;13998:109;;14128:50;14172:5;14128:50;;;14198:7;14226:1;14211:262;14236:6;14233:1;14230:13;14211:262;;;14303:6;14297:13;14324:71;14391:3;14376:13;14324:71;;;14317:78;;14412:54;14459:6;14412:54;;;14402:64;;14268:205;14258:1;14255;14251:9;14246:14;;14211:262;;;14215:14;13923:562;;;;;;14493:104;14570:21;14585:5;14570:21;;;14565:3;14558:34;14552:45;;;14604:113;14687:24;14705:5;14687:24;;;14682:3;14675:37;14669:48;;;14724:343;;14834:38;14866:5;14834:38;;;14884:70;14947:6;14942:3;14884:70;;;14877:77;;14959:52;15004:6;14999:3;14992:4;14985:5;14981:16;14959:52;;;15032:29;15054:6;15032:29;;;15027:3;15023:39;15016:46;;14814:253;;;;;;15074:347;;15186:39;15219:5;15186:39;;;15237:71;15301:6;15296:3;15237:71;;;15230:78;;15313:52;15358:6;15353:3;15346:4;15339:5;15335:16;15313:52;;;15386:29;15408:6;15386:29;;;15381:3;15377:39;15370:46;;15166:255;;;;;;15429:385;;15589:67;15653:2;15648:3;15589:67;;;15582:74;;15689:34;15685:1;15680:3;15676:11;15669:55;15758:18;15753:2;15748:3;15744:12;15737:40;15805:2;15800:3;15796:12;15789:19;;15575:239;;;;15823:331;;15983:67;16047:2;16042:3;15983:67;;;15976:74;;16083:33;16079:1;16074:3;16070:11;16063:54;16145:2;16140:3;16136:12;16129:19;;15969:185;;;;16163:370;;16323:67;16387:2;16382:3;16323:67;;;16316:74;;16423:34;16419:1;16414:3;16410:11;16403:55;16492:3;16487:2;16482:3;16478:12;16471:25;16524:2;16519:3;16515:12;16508:19;;16309:224;;;;16542:325;;16702:67;16766:2;16761:3;16702:67;;;16695:74;;16802:27;16798:1;16793:3;16789:11;16782:48;16858:2;16853:3;16849:12;16842:19;;16688:179;;;;16876:391;;17036:67;17100:2;17095:3;17036:67;;;17029:74;;17136:34;17132:1;17127:3;17123:11;17116:55;17205:24;17200:2;17195:3;17191:12;17184:46;17258:2;17253:3;17249:12;17242:19;;17022:245;;;;17276:374;;17436:67;17500:2;17495:3;17436:67;;;17429:74;;17536:34;17532:1;17527:3;17523:11;17516:55;17605:7;17600:2;17595:3;17591:12;17584:29;17641:2;17636:3;17632:12;17625:19;;17422:228;;;;17659:398;;17819:67;17883:2;17878:3;17819:67;;;17812:74;;17919:34;17915:1;17910:3;17906:11;17899:55;17988:31;17983:2;17978:3;17974:12;17967:53;18048:2;18043:3;18039:12;18032:19;;17805:252;;;;18066:331;;18226:67;18290:2;18285:3;18226:67;;;18219:74;;18326:33;18322:1;18317:3;18313:11;18306:54;18388:2;18383:3;18379:12;18372:19;;18212:185;;;;18406:384;;18566:67;18630:2;18625:3;18566:67;;;18559:74;;18666:34;18662:1;18657:3;18653:11;18646:55;18735:17;18730:2;18725:3;18721:12;18714:39;18781:2;18776:3;18772:12;18765:19;;18552:238;;;;18799:322;;18959:67;19023:2;19018:3;18959:67;;;18952:74;;19059:24;19055:1;19050:3;19046:11;19039:45;19112:2;19107:3;19103:12;19096:19;;18945:176;;;;19130:374;;19290:67;19354:2;19349:3;19290:67;;;19283:74;;19390:34;19386:1;19381:3;19377:11;19370:55;19459:7;19454:2;19449:3;19445:12;19438:29;19495:2;19490:3;19486:12;19479:19;;19276:228;;;;19513:324;;19673:67;19737:2;19732:3;19673:67;;;19666:74;;19773:26;19769:1;19764:3;19760:11;19753:47;19828:2;19823:3;19819:12;19812:19;;19659:178;;;;19908:456;20037:4;20032:3;20028:14;20117:4;20110:5;20106:16;20100:23;20129:63;20186:4;20181:3;20177:14;20163:12;20129:63;;;20057:141;20268:4;20261:5;20257:16;20251:23;20280:63;20337:4;20332:3;20328:14;20314:12;20280:63;;;20208:141;20010:354;;;;20434:540;20563:4;20558:3;20554:14;20643:4;20636:5;20632:16;20626:23;20655:105;20754:4;20749:3;20745:14;20731:12;20655:105;;;20583:183;20836:4;20829:5;20825:16;20819:23;20848:105;20947:4;20942:3;20938:14;20924:12;20848:105;;;20776:183;20536:438;;;;21040:757;21179:6;21174:3;21170:16;21261:4;21254:5;21250:16;21244:23;21273:109;21376:4;21371:3;21367:14;21353:12;21273:109;;;21201:187;21458:4;21451:5;21447:16;21441:23;21470:109;21573:4;21568:3;21564:14;21550:12;21470:109;;;21398:187;21655:4;21648:5;21644:16;21638:23;21667:109;21770:4;21765:3;21761:14;21747:12;21667:109;;;21595:187;21152:645;;;;21804:103;21877:24;21895:5;21877:24;;;21872:3;21865:37;21859:48;;;21914:113;21997:24;22015:5;21997:24;;;21992:3;21985:37;21979:48;;;22034:111;22115:24;22133:5;22115:24;;;22110:3;22103:37;22097:48;;;22152:152;22253:45;22273:24;22291:5;22273:24;;;22253:45;;;22248:3;22241:58;22235:69;;;22311:1338;;22728:75;22799:3;22790:6;22728:75;;;22825:2;22820:3;22816:12;22809:19;;22839:75;22910:3;22901:6;22839:75;;;22936:2;22931:3;22927:12;22920:19;;22950:117;23063:3;23054:6;22950:117;;;23089:2;23084:3;23080:12;23073:19;;23103:117;23216:3;23207:6;23103:117;;;23242:2;23237:3;23233:12;23226:19;;23256:75;23327:3;23318:6;23256:75;;;23353:2;23348:3;23344:12;23337:19;;23367:75;23438:3;23429:6;23367:75;;;23464:2;23459:3;23455:12;23448:19;;23478:121;23595:3;23586:6;23478:121;;;23621:2;23616:3;23612:12;23605:19;;23641:3;23634:10;;22716:933;;;;;;;;;;;23656:213;;23774:2;23763:9;23759:18;23751:26;;23788:71;23856:1;23845:9;23841:17;23832:6;23788:71;;;23745:124;;;;;23876:229;;24002:2;23991:9;23987:18;23979:26;;24016:79;24092:1;24081:9;24077:17;24068:6;24016:79;;;23973:132;;;;;24112:647;;24340:3;24329:9;24325:19;24317:27;;24355:79;24431:1;24420:9;24416:17;24407:6;24355:79;;;24445:72;24513:2;24502:9;24498:18;24489:6;24445:72;;;24528;24596:2;24585:9;24581:18;24572:6;24528:72;;;24648:9;24642:4;24638:20;24633:2;24622:9;24618:18;24611:48;24673:76;24744:4;24735:6;24673:76;;;24665:84;;24311:448;;;;;;;;24766:324;;24912:2;24901:9;24897:18;24889:26;;24926:71;24994:1;24983:9;24979:17;24970:6;24926:71;;;25008:72;25076:2;25065:9;25061:18;25052:6;25008:72;;;24883:207;;;;;;25097:201;;25209:2;25198:9;25194:18;25186:26;;25223:65;25285:1;25274:9;25270:17;25261:6;25223:65;;;25180:118;;;;;25305:301;;25443:2;25432:9;25428:18;25420:26;;25493:9;25487:4;25483:20;25479:1;25468:9;25464:17;25457:47;25518:78;25591:4;25582:6;25518:78;;;25510:86;;25414:192;;;;;25613:407;;25804:2;25793:9;25789:18;25781:26;;25854:9;25848:4;25844:20;25840:1;25829:9;25825:17;25818:47;25879:131;26005:4;25879:131;;;25871:139;;25775:245;;;;26027:407;;26218:2;26207:9;26203:18;26195:26;;26268:9;26262:4;26258:20;26254:1;26243:9;26239:17;26232:47;26293:131;26419:4;26293:131;;;26285:139;;26189:245;;;;26441:407;;26632:2;26621:9;26617:18;26609:26;;26682:9;26676:4;26672:20;26668:1;26657:9;26653:17;26646:47;26707:131;26833:4;26707:131;;;26699:139;;26603:245;;;;26855:407;;27046:2;27035:9;27031:18;27023:26;;27096:9;27090:4;27086:20;27082:1;27071:9;27067:17;27060:47;27121:131;27247:4;27121:131;;;27113:139;;27017:245;;;;27269:407;;27460:2;27449:9;27445:18;27437:26;;27510:9;27504:4;27500:20;27496:1;27485:9;27481:17;27474:47;27535:131;27661:4;27535:131;;;27527:139;;27431:245;;;;27683:407;;27874:2;27863:9;27859:18;27851:26;;27924:9;27918:4;27914:20;27910:1;27899:9;27895:17;27888:47;27949:131;28075:4;27949:131;;;27941:139;;27845:245;;;;28097:407;;28288:2;28277:9;28273:18;28265:26;;28338:9;28332:4;28328:20;28324:1;28313:9;28309:17;28302:47;28363:131;28489:4;28363:131;;;28355:139;;28259:245;;;;28511:407;;28702:2;28691:9;28687:18;28679:26;;28752:9;28746:4;28742:20;28738:1;28727:9;28723:17;28716:47;28777:131;28903:4;28777:131;;;28769:139;;28673:245;;;;28925:407;;29116:2;29105:9;29101:18;29093:26;;29166:9;29160:4;29156:20;29152:1;29141:9;29137:17;29130:47;29191:131;29317:4;29191:131;;;29183:139;;29087:245;;;;29339:407;;29530:2;29519:9;29515:18;29507:26;;29580:9;29574:4;29570:20;29566:1;29555:9;29551:17;29544:47;29605:131;29731:4;29605:131;;;29597:139;;29501:245;;;;29753:407;;29944:2;29933:9;29929:18;29921:26;;29994:9;29988:4;29984:20;29980:1;29969:9;29965:17;29958:47;30019:131;30145:4;30019:131;;;30011:139;;29915:245;;;;30167:407;;30358:2;30347:9;30343:18;30335:26;;30408:9;30402:4;30398:20;30394:1;30383:9;30379:17;30372:47;30433:131;30559:4;30433:131;;;30425:139;;30329:245;;;;30581:510;;30819:3;30808:9;30804:19;30796:27;;30834:117;30948:1;30937:9;30933:17;30924:6;30834:117;;;30962:119;31076:3;31065:9;31061:19;31052:6;30962:119;;;30790:301;;;;;;31098:213;;31216:2;31205:9;31201:18;31193:26;;31230:71;31298:1;31287:9;31283:17;31274:6;31230:71;;;31187:124;;;;;31318:435;;31492:2;31481:9;31477:18;31469:26;;31506:71;31574:1;31563:9;31559:17;31550:6;31506:71;;;31588:72;31656:2;31645:9;31641:18;31632:6;31588:72;;;31671;31739:2;31728:9;31724:18;31715:6;31671:72;;;31463:290;;;;;;;31760:256;;31822:2;31816:9;31806:19;;31860:4;31852:6;31848:17;31959:6;31947:10;31944:22;31923:18;31911:10;31908:34;31905:62;31902:2;;;31980:1;31977;31970:12;31902:2;32000:10;31996:2;31989:22;31800:216;;;;;32023:240;;32176:18;32168:6;32165:30;32162:2;;;32208:1;32205;32198:12;32162:2;32243:4;32235:6;32231:17;32223:25;;32099:164;;;;32270:244;;32427:18;32419:6;32416:30;32413:2;;;32459:1;32456;32449:12;32413:2;32494:4;32486:6;32482:17;32474:25;;32350:164;;;;32521:321;;32664:18;32656:6;32653:30;32650:2;;;32696:1;32693;32686:12;32650:2;32763:4;32759:9;32752:4;32744:6;32740:17;32736:33;32728:41;;32827:4;32821;32817:15;32809:23;;32587:255;;;;32849:322;;32993:18;32985:6;32982:30;32979:2;;;33025:1;33022;33015:12;32979:2;33092:4;33088:9;33081:4;33073:6;33069:17;33065:33;33057:41;;33156:4;33150;33146:15;33138:23;;32916:255;;;;33178:93;;33258:3;33250:11;;33244:27;;;;33278:97;;33362:3;33354:11;;33348:27;;;;33382:104;;33472:4;33462:14;;33450:36;;;;33493:108;;33587:4;33577:14;;33565:36;;;;33608:121;;33701:5;33695:12;33685:22;;33666:63;;;;33736:122;;33830:5;33824:12;33814:22;;33795:63;;;;33865:102;;33957:4;33952:3;33948:14;33940:22;;33934:33;;;;33974:106;;34070:4;34065:3;34061:14;34053:22;;34047:33;;;;34088:130;;34209:3;34194:18;;34187:31;;;;;34227:140;;34358:3;34343:18;;34336:31;;;;;34376:158;;34525:3;34510:18;;34503:31;;;;;34543:162;;34657:6;34652:3;34645:19;34694:4;34689:3;34685:14;34670:29;;34638:67;;;;;34714:163;;34829:6;34824:3;34817:19;34866:4;34861:3;34857:14;34842:29;;34810:67;;;;;34885:91;;34947:24;34965:5;34947:24;;;34936:35;;34930:46;;;;34983:85;;35056:5;35049:13;35042:21;35031:32;;35025:43;;;;35075:72;;35137:5;35126:16;;35120:27;;;;35154:144;;35226:66;35219:5;35215:78;35204:89;;35198:100;;;;35305:121;;35378:42;35371:5;35367:54;35356:65;;35350:76;;;;35433:72;;35495:5;35484:16;;35478:27;;;;35512:129;;35599:37;35630:5;35599:37;;;35586:50;;35580:61;;;;35648:121;;35727:37;35758:5;35727:37;;;35714:50;;35708:61;;;;35776:108;;35855:24;35873:5;35855:24;;;35842:37;;35836:48;;;;35892:145;35973:6;35968:3;35963;35950:30;36029:1;36020:6;36015:3;36011:16;36004:27;35943:94;;;;36046:268;36111:1;36118:101;36132:6;36129:1;36126:13;36118:101;;;36208:1;36203:3;36199:11;36193:18;36189:1;36184:3;36180:11;36173:39;36154:2;36151:1;36147:10;36142:15;;36118:101;;;36234:6;36231:1;36228:13;36225:2;;;36299:1;36290:6;36285:3;36281:16;36274:27;36225:2;36095:219;;;;;36322:74;;36386:5;36375:16;;36369:27;;;;36403:97;;36491:2;36487:7;36482:2;36475:5;36471:14;36467:28;36457:38;;36451:49;;;;36508:117;36577:24;36595:5;36577:24;;;36570:5;36567:35;36557:2;;36616:1;36613;36606:12;36557:2;36551:74;;36632:111;36698:21;36713:5;36698:21;;;36691:5;36688:32;36678:2;;36734:1;36731;36724:12;36678:2;36672:71;;36750:117;36819:24;36837:5;36819:24;;;36812:5;36809:35;36799:2;;36858:1;36855;36848:12;36799:2;36793:74;;36874:115;36942:23;36959:5;36942:23;;;36935:5;36932:34;36922:2;;36980:1;36977;36970:12;36922:2;36916:73;;36996:117;37065:24;37083:5;37065:24;;;37058:5;37055:35;37045:2;;37104:1;37101;37094:12;37045:2;37039:74;", "source": "pragma solidity ^0.5.0;\npragma experimental ABIEncoderV2;\nimport \"./RealEstateMarketplaceToken.sol\";\n\nlibrary SharedProof {\n struct G1Point {\n uint256 X;\n uint256 Y;\n }\n // Encoding of field elements is: X[0] * z + X[1]\n struct G2Point {\n uint256[2] X;\n uint256[2] Y;\n }\n struct Proof {\n G1Point a;\n G2Point b;\n G1Point c;\n }\n}\n\n// DONE define another contract named SolnSquareVerifier that inherits from your ERC721Mintable class\ncontract SolnSquareVerifier is RealEstateMarketplaceToken {\n Verifier squareVerifierContract;\n\n // DONE update to pass name and symbol...\n constructor(\n address squareVerifierAddress,\n string memory name,\n string memory symbol\n ) public RealEstateMarketplaceToken(name, symbol) {\n squareVerifierContract = Verifier(squareVerifierAddress);\n }\n\n // DONE define a solutions struct that can hold an index & an address\n struct Solution {\n uint256 indexOfSolution;\n address ownerAddress;\n bytes32 solutionHash;\n }\n\n // DONE define an array of the above struct\n Solution[] private submittedSolutions;\n\n // DONE define a mapping to store unique solutions submitted\n // mapping (bytes32 hash => Solution solution)\n mapping(bytes32 => Solution) private uniqueSolutions;\n\n // DONE Create an event to emit when a solution is added\n event SolutionAdded(\n uint256 indexOfSolution,\n address ownerAddress,\n bytes32 solutionHash\n );\n\n // DONE Create a function to add the solutions to the array and emit the event\n function addSolution(address ownerAddress, bytes32 solutionHash)\n public\n onlyOwner\n {\n uint256 indexOfSolution = submittedSolutions.length + 1;\n Solution memory _solution = Solution(\n indexOfSolution,\n ownerAddress,\n solutionHash\n );\n submittedSolutions.push(_solution);\n uniqueSolutions[solutionHash] = _solution;\n emit SolutionAdded(indexOfSolution, ownerAddress, solutionHash);\n }\n\n // DONE define a contract call to the zokrates generated solidity contract or \n function verifyProof(\n SharedProof.Proof memory proof,\n uint256[2] memory input\n ) private view returns (bool) {\n return squareVerifierContract.verifyTx(proof, input);\n }\n\n // DONE Create a function to mint new NFT only after the solution has been verified\n // - make sure the solution is unique (has not been used before)\n // - make sure you handle metadata as well as tokenSupply\n function mint(\n SharedProof.Proof memory proof,\n uint256[2] memory input,\n address to,\n uint256 tokenId\n ) public onlyOwner returns (bool) {\n bytes32 solutionHash = keccak256(\n abi.encodePacked(\n proof.a.X,\n proof.a.Y,\n proof.b.X,\n proof.b.Y,\n proof.c.X,\n proof.c.Y,\n input\n )\n );\n require(\n uniqueSolutions[solutionHash].indexOfSolution == 0,\n \"must be a unique solution\"\n );\n require(verifyProof(proof, input), \"must be a valid proof to continue\");\n addSolution(to, solutionHash);\n return mint(to, tokenId);\n }\n}\n\ncontract Verifier {\n function verifyTx(SharedProof.Proof memory proof, uint256[2] memory input)\n public\n view\n returns (bool r);\n}\n", "sourcePath": "C:\\Users\\jerom\\source\\Blockchain-Capstone\\eth-contracts\\contracts\\SolnSquareVerifier.sol", "ast": { "absolutePath": "project:/contracts/SolnSquareVerifier.sol", "exportedSymbols": { "SharedProof": [ 7827 ], "SolnSquareVerifier": [ 8008 ], "Verifier": [ 8020 ] }, "id": 8021, "nodeType": "SourceUnit", "nodes": [ { "id": 7803, "literals": [ "solidity", "^", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:7" }, { "id": 7804, "literals": [ "experimental", "ABIEncoderV2" ], "nodeType": "PragmaDirective", "src": "24:33:7" }, { "absolutePath": "project:/contracts/RealEstateMarketplaceToken.sol", "file": "./RealEstateMarketplaceToken.sol", "id": 7805, "nodeType": "ImportDirective", "scope": 8021, "sourceUnit": 7802, "src": "58:42:7", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "library", "documentation": null, "fullyImplemented": true, "id": 7827, "linearizedBaseContracts": [ 7827 ], "name": "SharedProof", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "SharedProof.G1Point", "id": 7810, "members": [ { "constant": false, "id": 7807, "name": "X", "nodeType": "VariableDeclaration", "scope": 7810, "src": "153:9:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7806, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "153:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7809, "name": "Y", "nodeType": "VariableDeclaration", "scope": 7810, "src": "172:9:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7808, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "172:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "name": "G1Point", "nodeType": "StructDefinition", "scope": 7827, "src": "128:60:7", "visibility": "public" }, { "canonicalName": "SharedProof.G2Point", "id": 7819, "members": [ { "constant": false, "id": 7814, "name": "X", "nodeType": "VariableDeclaration", "scope": 7819, "src": "272:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" }, "typeName": { "baseType": { "id": 7811, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "272:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 7813, "length": { "argumentTypes": null, "hexValue": "32", "id": 7812, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "280:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", "typeString": "int_const 2" }, "value": "2" }, "nodeType": "ArrayTypeName", "src": "272:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7818, "name": "Y", "nodeType": "VariableDeclaration", "scope": 7819, "src": "294:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" }, "typeName": { "baseType": { "id": 7815, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "294:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 7817, "length": { "argumentTypes": null, "hexValue": "32", "id": 7816, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "302:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", "typeString": "int_const 2" }, "value": "2" }, "nodeType": "ArrayTypeName", "src": "294:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" } }, "value": null, "visibility": "internal" } ], "name": "G2Point", "nodeType": "StructDefinition", "scope": 7827, "src": "247:66:7", "visibility": "public" }, { "canonicalName": "SharedProof.Proof", "id": 7826, "members": [ { "constant": false, "id": 7821, "name": "a", "nodeType": "VariableDeclaration", "scope": 7826, "src": "341:9:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_storage_ptr", "typeString": "struct SharedProof.G1Point" }, "typeName": { "contractScope": null, "id": 7820, "name": "G1Point", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7810, "src": "341:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_storage_ptr", "typeString": "struct SharedProof.G1Point" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7823, "name": "b", "nodeType": "VariableDeclaration", "scope": 7826, "src": "360:9:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_G2Point_$7819_storage_ptr", "typeString": "struct SharedProof.G2Point" }, "typeName": { "contractScope": null, "id": 7822, "name": "G2Point", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7819, "src": "360:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G2Point_$7819_storage_ptr", "typeString": "struct SharedProof.G2Point" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7825, "name": "c", "nodeType": "VariableDeclaration", "scope": 7826, "src": "379:9:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_storage_ptr", "typeString": "struct SharedProof.G1Point" }, "typeName": { "contractScope": null, "id": 7824, "name": "G1Point", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7810, "src": "379:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_storage_ptr", "typeString": "struct SharedProof.G1Point" } }, "value": null, "visibility": "internal" } ], "name": "Proof", "nodeType": "StructDefinition", "scope": 7827, "src": "318:77:7", "visibility": "public" } ], "scope": 8021, "src": "102:295:7" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 7828, "name": "RealEstateMarketplaceToken", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7801, "src": "532:26:7", "typeDescriptions": { "typeIdentifier": "t_contract$_RealEstateMarketplaceToken_$7801", "typeString": "contract RealEstateMarketplaceToken" } }, "id": 7829, "nodeType": "InheritanceSpecifier", "src": "532:26:7" } ], "contractDependencies": [ 6651, 6728, 6806, 6852, 7349, 7647, 7760, 7801 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 8008, "linearizedBaseContracts": [ 8008, 7801, 7760, 6651, 7647, 7349, 6852, 6806, 6728 ], "name": "SolnSquareVerifier", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 7831, "name": "squareVerifierContract", "nodeType": "VariableDeclaration", "scope": 8008, "src": "565:31:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" }, "typeName": { "contractScope": null, "id": 7830, "name": "Verifier", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 8020, "src": "565:8:7", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" } }, "value": null, "visibility": "internal" }, { "body": { "id": 7850, "nodeType": "Block", "src": "812:73:7", "statements": [ { "expression": { "argumentTypes": null, "id": 7848, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 7844, "name": "squareVerifierContract", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7831, "src": "822:22:7", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7846, "name": "squareVerifierAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7833, "src": "856:21:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 7845, "name": "Verifier", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 8020, "src": "847:8:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_Verifier_$8020_$", "typeString": "type(contract Verifier)" } }, "id": 7847, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "847:31:7", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" } }, "src": "822:56:7", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" } }, "id": 7849, "nodeType": "ExpressionStatement", "src": "822:56:7" } ] }, "documentation": null, "id": 7851, "implemented": true, "kind": "constructor", "modifiers": [ { "arguments": [ { "argumentTypes": null, "id": 7840, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7835, "src": "798:4:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { "argumentTypes": null, "id": 7841, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7837, "src": "804:6:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } } ], "id": 7842, "modifierName": { "argumentTypes": null, "id": 7839, "name": "RealEstateMarketplaceToken", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7801, "src": "771:26:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_RealEstateMarketplaceToken_$7801_$", "typeString": "type(contract RealEstateMarketplaceToken)" } }, "nodeType": "ModifierInvocation", "src": "771:40:7" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 7838, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7833, "name": "squareVerifierAddress", "nodeType": "VariableDeclaration", "scope": 7851, "src": "670:29:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 7832, "name": "address", "nodeType": "ElementaryTypeName", "src": "670:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7835, "name": "name", "nodeType": "VariableDeclaration", "scope": 7851, "src": "709:18:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 7834, "name": "string", "nodeType": "ElementaryTypeName", "src": "709:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7837, "name": "symbol", "nodeType": "VariableDeclaration", "scope": 7851, "src": "737:20:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 7836, "name": "string", "nodeType": "ElementaryTypeName", "src": "737:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "660:103:7" }, "returnParameters": { "id": 7843, "nodeType": "ParameterList", "parameters": [], "src": "812:0:7" }, "scope": 8008, "src": "649:236:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "canonicalName": "SolnSquareVerifier.Solution", "id": 7858, "members": [ { "constant": false, "id": 7853, "name": "indexOfSolution", "nodeType": "VariableDeclaration", "scope": 7858, "src": "991:23:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7852, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "991:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7855, "name": "ownerAddress", "nodeType": "VariableDeclaration", "scope": 7858, "src": "1024:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 7854, "name": "address", "nodeType": "ElementaryTypeName", "src": "1024:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7857, "name": "solutionHash", "nodeType": "VariableDeclaration", "scope": 7858, "src": "1054:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 7856, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1054:7:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "name": "Solution", "nodeType": "StructDefinition", "scope": 8008, "src": "965:116:7", "visibility": "public" }, { "constant": false, "id": 7861, "name": "submittedSolutions", "nodeType": "VariableDeclaration", "scope": 8008, "src": "1135:37:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Solution_$7858_storage_$dyn_storage", "typeString": "struct SolnSquareVerifier.Solution[]" }, "typeName": { "baseType": { "contractScope": null, "id": 7859, "name": "Solution", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7858, "src": "1135:8:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage_ptr", "typeString": "struct SolnSquareVerifier.Solution" } }, "id": 7860, "length": null, "nodeType": "ArrayTypeName", "src": "1135:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Solution_$7858_storage_$dyn_storage_ptr", "typeString": "struct SolnSquareVerifier.Solution[]" } }, "value": null, "visibility": "private" }, { "constant": false, "id": 7865, "name": "uniqueSolutions", "nodeType": "VariableDeclaration", "scope": 8008, "src": "1295:52:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Solution_$7858_storage_$", "typeString": "mapping(bytes32 => struct SolnSquareVerifier.Solution)" }, "typeName": { "id": 7864, "keyType": { "id": 7862, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1303:7:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", "src": "1295:28:7", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Solution_$7858_storage_$", "typeString": "mapping(bytes32 => struct SolnSquareVerifier.Solution)" }, "valueType": { "contractScope": null, "id": 7863, "name": "Solution", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7858, "src": "1314:8:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage_ptr", "typeString": "struct SolnSquareVerifier.Solution" } } }, "value": null, "visibility": "private" }, { "anonymous": false, "documentation": null, "id": 7873, "name": "SolutionAdded", "nodeType": "EventDefinition", "parameters": { "id": 7872, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7867, "indexed": false, "name": "indexOfSolution", "nodeType": "VariableDeclaration", "scope": 7873, "src": "1444:23:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7866, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1444:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7869, "indexed": false, "name": "ownerAddress", "nodeType": "VariableDeclaration", "scope": 7873, "src": "1477:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 7868, "name": "address", "nodeType": "ElementaryTypeName", "src": "1477:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7871, "indexed": false, "name": "solutionHash", "nodeType": "VariableDeclaration", "scope": 7873, "src": "1507:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 7870, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1507:7:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "src": "1434:99:7" }, "src": "1415:119:7" }, { "body": { "id": 7915, "nodeType": "Block", "src": "1725:377:7", "statements": [ { "assignments": [ 7883 ], "declarations": [ { "constant": false, "id": 7883, "name": "indexOfSolution", "nodeType": "VariableDeclaration", "scope": 7915, "src": "1735:23:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7882, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1735:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "id": 7888, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 7887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7884, "name": "submittedSolutions", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7861, "src": "1761:18:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Solution_$7858_storage_$dyn_storage", "typeString": "struct SolnSquareVerifier.Solution storage ref[] storage ref" } }, "id": 7885, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1761:25:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { "argumentTypes": null, "hexValue": "31", "id": 7886, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1789:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "src": "1761:29:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", "src": "1735:55:7" }, { "assignments": [ 7890 ], "declarations": [ { "constant": false, "id": 7890, "name": "_solution", "nodeType": "VariableDeclaration", "scope": 7915, "src": "1800:25:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_memory_ptr", "typeString": "struct SolnSquareVerifier.Solution" }, "typeName": { "contractScope": null, "id": 7889, "name": "Solution", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7858, "src": "1800:8:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage_ptr", "typeString": "struct SolnSquareVerifier.Solution" } }, "value": null, "visibility": "internal" } ], "id": 7896, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7892, "name": "indexOfSolution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7883, "src": "1850:15:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "id": 7893, "name": "ownerAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7875, "src": "1879:12:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 7894, "name": "solutionHash", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7877, "src": "1905:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 7891, "name": "Solution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7858, "src": "1828:8:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_Solution_$7858_storage_ptr_$", "typeString": "type(struct SolnSquareVerifier.Solution storage pointer)" } }, "id": 7895, "isConstant": false, "isLValue": false, "isPure": false, "kind": "structConstructorCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1828:99:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_memory", "typeString": "struct SolnSquareVerifier.Solution memory" } }, "nodeType": "VariableDeclarationStatement", "src": "1800:127:7" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7900, "name": "_solution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7890, "src": "1961:9:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_memory_ptr", "typeString": "struct SolnSquareVerifier.Solution memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Solution_$7858_memory_ptr", "typeString": "struct SolnSquareVerifier.Solution memory" } ], "expression": { "argumentTypes": null, "id": 7897, "name": "submittedSolutions", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7861, "src": "1937:18:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_struct$_Solution_$7858_storage_$dyn_storage", "typeString": "struct SolnSquareVerifier.Solution storage ref[] storage ref" } }, "id": 7899, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1937:23:7", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_Solution_$7858_storage_$returns$_t_uint256_$", "typeString": "function (struct SolnSquareVerifier.Solution storage ref) returns (uint256)" } }, "id": 7901, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1937:34:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 7902, "nodeType": "ExpressionStatement", "src": "1937:34:7" }, { "expression": { "argumentTypes": null, "id": 7907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 7903, "name": "uniqueSolutions", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7865, "src": "1981:15:7", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Solution_$7858_storage_$", "typeString": "mapping(bytes32 => struct SolnSquareVerifier.Solution storage ref)" } }, "id": 7905, "indexExpression": { "argumentTypes": null, "id": 7904, "name": "solutionHash", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7877, "src": "1997:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "1981:29:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage", "typeString": "struct SolnSquareVerifier.Solution storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 7906, "name": "_solution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7890, "src": "2013:9:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_memory_ptr", "typeString": "struct SolnSquareVerifier.Solution memory" } }, "src": "1981:41:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage", "typeString": "struct SolnSquareVerifier.Solution storage ref" } }, "id": 7908, "nodeType": "ExpressionStatement", "src": "1981:41:7" }, { "eventCall": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7910, "name": "indexOfSolution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7883, "src": "2051:15:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "id": 7911, "name": "ownerAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7875, "src": "2068:12:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 7912, "name": "solutionHash", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7877, "src": "2082:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 7909, "name": "SolutionAdded", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7873, "src": "2037:13:7", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_address_$_t_bytes32_$returns$__$", "typeString": "function (uint256,address,bytes32)" } }, "id": 7913, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "2037:58:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 7914, "nodeType": "EmitStatement", "src": "2032:63:7" } ] }, "documentation": null, "id": 7916, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, "id": 7880, "modifierName": { "argumentTypes": null, "id": 7879, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6701, "src": "1711:9:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", "src": "1711:9:7" } ], "name": "addSolution", "nodeType": "FunctionDefinition", "parameters": { "id": 7878, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7875, "name": "ownerAddress", "nodeType": "VariableDeclaration", "scope": 7916, "src": "1644:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 7874, "name": "address", "nodeType": "ElementaryTypeName", "src": "1644:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7877, "name": "solutionHash", "nodeType": "VariableDeclaration", "scope": 7916, "src": "1666:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 7876, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1666:7:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "src": "1643:44:7" }, "returnParameters": { "id": 7881, "nodeType": "ParameterList", "parameters": [], "src": "1725:0:7" }, "scope": 8008, "src": "1623:479:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 7933, "nodeType": "Block", "src": "2347:69:7", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7929, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7918, "src": "2396:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, { "argumentTypes": null, "id": 7930, "name": "input", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7922, "src": "2403:5:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "expression": { "argumentTypes": null, "id": 7927, "name": "squareVerifierContract", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7831, "src": "2364:22:7", "typeDescriptions": { "typeIdentifier": "t_contract$_Verifier_$8020", "typeString": "contract Verifier" } }, "id": 7928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "verifyTx", "nodeType": "MemberAccess", "referencedDeclaration": 8019, "src": "2364:31:7", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_struct$_Proof_$7826_memory_ptr_$_t_array$_t_uint256_$2_memory_ptr_$returns$_t_bool_$", "typeString": "function (struct SharedProof.Proof memory,uint256[2] memory) view external returns (bool)" } }, "id": 7931, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "2364:45:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 7926, "id": 7932, "nodeType": "Return", "src": "2357:52:7" } ] }, "documentation": null, "id": 7934, "implemented": true, "kind": "function", "modifiers": [], "name": "verifyProof", "nodeType": "FunctionDefinition", "parameters": { "id": 7923, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7918, "name": "proof", "nodeType": "VariableDeclaration", "scope": 7934, "src": "2249:30:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof" }, "typeName": { "contractScope": null, "id": 7917, "name": "SharedProof.Proof", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7826, "src": "2249:17:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_storage_ptr", "typeString": "struct SharedProof.Proof" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7922, "name": "input", "nodeType": "VariableDeclaration", "scope": 7934, "src": "2289:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2]" }, "typeName": { "baseType": { "id": 7919, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2289:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 7921, "length": { "argumentTypes": null, "hexValue": "32", "id": 7920, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "2297:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", "typeString": "int_const 2" }, "value": "2" }, "nodeType": "ArrayTypeName", "src": "2289:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" } }, "value": null, "visibility": "internal" } ], "src": "2239:79:7" }, "returnParameters": { "id": 7926, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7925, "name": "", "nodeType": "VariableDeclaration", "scope": 7934, "src": "2341:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 7924, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2341:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "2340:6:7" }, "scope": 8008, "src": "2219:197:7", "stateMutability": "view", "superFunction": null, "visibility": "private" }, { "body": { "id": 8006, "nodeType": "Block", "src": "2813:574:7", "statements": [ { "assignments": [ 7952 ], "declarations": [ { "constant": false, "id": 7952, "name": "solutionHash", "nodeType": "VariableDeclaration", "scope": 8006, "src": "2823:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 7951, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2823:7:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "id": 7977, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7956, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "2903:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7957, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "a", "nodeType": "MemberAccess", "referencedDeclaration": 7821, "src": "2903:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_memory", "typeString": "struct SharedProof.G1Point memory" } }, "id": 7958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "X", "nodeType": "MemberAccess", "referencedDeclaration": 7807, "src": "2903:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7959, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "2930:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7960, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "a", "nodeType": "MemberAccess", "referencedDeclaration": 7821, "src": "2930:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_memory", "typeString": "struct SharedProof.G1Point memory" } }, "id": 7961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "Y", "nodeType": "MemberAccess", "referencedDeclaration": 7809, "src": "2930:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7962, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "2957:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7963, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "b", "nodeType": "MemberAccess", "referencedDeclaration": 7823, "src": "2957:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G2Point_$7819_memory", "typeString": "struct SharedProof.G2Point memory" } }, "id": 7964, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "X", "nodeType": "MemberAccess", "referencedDeclaration": 7814, "src": "2957:9:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7965, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "2984:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7966, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "b", "nodeType": "MemberAccess", "referencedDeclaration": 7823, "src": "2984:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G2Point_$7819_memory", "typeString": "struct SharedProof.G2Point memory" } }, "id": 7967, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "Y", "nodeType": "MemberAccess", "referencedDeclaration": 7818, "src": "2984:9:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7968, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "3011:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7969, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "c", "nodeType": "MemberAccess", "referencedDeclaration": 7825, "src": "3011:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_memory", "typeString": "struct SharedProof.G1Point memory" } }, "id": 7970, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "X", "nodeType": "MemberAccess", "referencedDeclaration": 7807, "src": "3011:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 7971, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "3038:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, "id": 7972, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "c", "nodeType": "MemberAccess", "referencedDeclaration": 7825, "src": "3038:7:7", "typeDescriptions": { "typeIdentifier": "t_struct$_G1Point_$7810_memory", "typeString": "struct SharedProof.G1Point memory" } }, "id": 7973, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "Y", "nodeType": "MemberAccess", "referencedDeclaration": 7809, "src": "3038:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "id": 7974, "name": "input", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7940, "src": "3065:5:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "expression": { "argumentTypes": null, "id": 7954, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 8944, "src": "2869:3:7", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, "id": 7955, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "2869:16:7", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, "id": 7975, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "2869:215:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 7953, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 8951, "src": "2846:9:7", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, "id": 7976, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "2846:248:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", "src": "2823:271:7" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 7984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 7979, "name": "uniqueSolutions", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7865, "src": "3125:15:7", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Solution_$7858_storage_$", "typeString": "mapping(bytes32 => struct SolnSquareVerifier.Solution storage ref)" } }, "id": 7981, "indexExpression": { "argumentTypes": null, "id": 7980, "name": "solutionHash", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7952, "src": "3141:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "3125:29:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Solution_$7858_storage", "typeString": "struct SolnSquareVerifier.Solution storage ref" } }, "id": 7982, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "indexOfSolution", "nodeType": "MemberAccess", "referencedDeclaration": 7853, "src": "3125:45:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "hexValue": "30", "id": 7983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "3174:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "src": "3125:50:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "argumentTypes": null, "hexValue": "6d757374206265206120756e6971756520736f6c7574696f6e", "id": 7985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "3189:27:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_7590900ce53131692e94687be98288363900e08dbbc0f9e12c31e677c0d5ba7e", "typeString": "literal_string \"must be a unique solution\"" }, "value": "must be a unique solution" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_7590900ce53131692e94687be98288363900e08dbbc0f9e12c31e677c0d5ba7e", "typeString": "literal_string \"must be a unique solution\"" } ], "id": 7978, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 8960, 8961 ], "referencedDeclaration": 8961, "src": "3104:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 7986, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "3104:122:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 7987, "nodeType": "ExpressionStatement", "src": "3104:122:7" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7990, "name": "proof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7936, "src": "3256:5:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" } }, { "argumentTypes": null, "id": 7991, "name": "input", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7940, "src": "3263:5:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "id": 7989, "name": "verifyProof", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7934, "src": "3244:11:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_struct$_Proof_$7826_memory_ptr_$_t_array$_t_uint256_$2_memory_ptr_$returns$_t_bool_$", "typeString": "function (struct SharedProof.Proof memory,uint256[2] memory) view returns (bool)" } }, "id": 7992, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "3244:25:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { "argumentTypes": null, "hexValue": "6d75737420626520612076616c69642070726f6f6620746f20636f6e74696e7565", "id": 7993, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "3271:35:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_716c7388af97f39e5e0360bf1e0f60be46245662e2857485aff0d531bf8f0bdd", "typeString": "literal_string \"must be a valid proof to continue\"" }, "value": "must be a valid proof to continue" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_716c7388af97f39e5e0360bf1e0f60be46245662e2857485aff0d531bf8f0bdd", "typeString": "literal_string \"must be a valid proof to continue\"" } ], "id": 7988, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 8960, 8961 ], "referencedDeclaration": 8961, "src": "3236:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, "id": 7994, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "3236:71:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 7995, "nodeType": "ExpressionStatement", "src": "3236:71:7" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 7997, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7942, "src": "3329:2:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 7998, "name": "solutionHash", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7952, "src": "3333:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "id": 7996, "name": "addSolution", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7916, "src": "3317:11:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes32_$returns$__$", "typeString": "function (address,bytes32)" } }, "id": 7999, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "3317:29:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 8000, "nodeType": "ExpressionStatement", "src": "3317:29:7" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 8002, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7942, "src": "3368:2:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 8003, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7944, "src": "3372:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 8001, "name": "mint", "nodeType": "Identifier", "overloadedDeclarations": [ 8007, 7800 ], "referencedDeclaration": 7800, "src": "3363:4:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) returns (bool)" } }, "id": 8004, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "3363:17:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 7950, "id": 8005, "nodeType": "Return", "src": "3356:24:7" } ] }, "documentation": null, "id": 8007, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, "id": 7947, "modifierName": { "argumentTypes": null, "id": 7946, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6701, "src": "2788:9:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", "src": "2788:9:7" } ], "name": "mint", "nodeType": "FunctionDefinition", "parameters": { "id": 7945, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7936, "name": "proof", "nodeType": "VariableDeclaration", "scope": 8007, "src": "2666:30:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof" }, "typeName": { "contractScope": null, "id": 7935, "name": "SharedProof.Proof", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7826, "src": "2666:17:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_storage_ptr", "typeString": "struct SharedProof.Proof" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7940, "name": "input", "nodeType": "VariableDeclaration", "scope": 8007, "src": "2706:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2]" }, "typeName": { "baseType": { "id": 7937, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2706:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 7939, "length": { "argumentTypes": null, "hexValue": "32", "id": 7938, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "2714:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", "typeString": "int_const 2" }, "value": "2" }, "nodeType": "ArrayTypeName", "src": "2706:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7942, "name": "to", "nodeType": "VariableDeclaration", "scope": 8007, "src": "2739:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 7941, "name": "address", "nodeType": "ElementaryTypeName", "src": "2739:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 7944, "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 8007, "src": "2759:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 7943, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2759:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "2656:124:7" }, "returnParameters": { "id": 7950, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 7949, "name": "", "nodeType": "VariableDeclaration", "scope": 8007, "src": "2807:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 7948, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2807:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "2806:6:7" }, "scope": 8008, "src": "2643:744:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 8021, "src": "501:2888:7" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 8020, "linearizedBaseContracts": [ 8020 ], "name": "Verifier", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 8019, "implemented": false, "kind": "function", "modifiers": [], "name": "verifyTx", "nodeType": "FunctionDefinition", "parameters": { "id": 8015, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 8010, "name": "proof", "nodeType": "VariableDeclaration", "scope": 8019, "src": "3433:30:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof" }, "typeName": { "contractScope": null, "id": 8009, "name": "SharedProof.Proof", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 7826, "src": "3433:17:7", "typeDescriptions": { "typeIdentifier": "t_struct$_Proof_$7826_storage_ptr", "typeString": "struct SharedProof.Proof" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 8014, "name": "input", "nodeType": "VariableDeclaration", "scope": 8019, "src": "3465:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2]" }, "typeName": { "baseType": { "id": 8011, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "3465:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 8013, "length": { "argumentTypes": null, "hexValue": "32", "id": 8012, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "3473:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", "typeString": "int_const 2" }, "value": "2" }, "nodeType": "ArrayTypeName", "src": "3465:10:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$2_storage_ptr", "typeString": "uint256[2]" } }, "value": null, "visibility": "internal" } ], "src": "3432:57:7" }, "returnParameters": { "id": 8018, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 8017, "name": "r", "nodeType": "VariableDeclaration", "scope": 8019, "src": "3535:6:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 8016, "name": "bool", "nodeType": "ElementaryTypeName", "src": "3535:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "3534:8:7" }, "scope": 8020, "src": "3415:128:7", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 8021, "src": "3391:154:7" } ], "src": "0:3546:7" }, "legacyAST": { "attributes": { "absolutePath": "project:/contracts/SolnSquareVerifier.sol", "exportedSymbols": { "SharedProof": [ 7827 ], "SolnSquareVerifier": [ 8008 ], "Verifier": [ 8020 ] } }, "children": [ { "attributes": { "literals": [ "solidity", "^", "0.5", ".0" ] }, "id": 7803, "name": "PragmaDirective", "src": "0:23:7" }, { "attributes": { "literals": [ "experimental", "ABIEncoderV2" ] }, "id": 7804, "name": "PragmaDirective", "src": "24:33:7" }, { "attributes": { "SourceUnit": 7802, "absolutePath": "project:/contracts/RealEstateMarketplaceToken.sol", "file": "./RealEstateMarketplaceToken.sol", "scope": 8021, "symbolAliases": [ null ], "unitAlias": "" }, "id": 7805, "name": "ImportDirective", "src": "58:42:7" }, { "attributes": { "baseContracts": [ null ], "contractDependencies": [ null ], "contractKind": "library", "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ 7827 ], "name": "SharedProof", "scope": 8021 }, "children": [ { "attributes": { "canonicalName": "SharedProof.G1Point", "name": "G1Point", "scope": 7827, "visibility": "public" }, "children": [ { "attributes": { "constant": false, "name": "X", "scope": 7810, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7806, "name": "ElementaryTypeName", "src": "153:7:7" } ], "id": 7807, "name": "VariableDeclaration", "src": "153:9:7" }, { "attributes": { "constant": false, "name": "Y", "scope": 7810, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7808, "name": "ElementaryTypeName", "src": "172:7:7" } ], "id": 7809, "name": "VariableDeclaration", "src": "172:9:7" } ], "id": 7810, "name": "StructDefinition", "src": "128:60:7" }, { "attributes": { "canonicalName": "SharedProof.G2Point", "name": "G2Point", "scope": 7827, "visibility": "public" }, "children": [ { "attributes": { "constant": false, "name": "X", "scope": 7819, "stateVariable": false, "storageLocation": "default", "type": "uint256[2]", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "type": "uint256[2]" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7811, "name": "ElementaryTypeName", "src": "272:7:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "32", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 2", "value": "2" }, "id": 7812, "name": "Literal", "src": "280:1:7" } ], "id": 7813, "name": "ArrayTypeName", "src": "272:10:7" } ], "id": 7814, "name": "VariableDeclaration", "src": "272:12:7" }, { "attributes": { "constant": false, "name": "Y", "scope": 7819, "stateVariable": false, "storageLocation": "default", "type": "uint256[2]", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "type": "uint256[2]" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7815, "name": "ElementaryTypeName", "src": "294:7:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "32", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 2", "value": "2" }, "id": 7816, "name": "Literal", "src": "302:1:7" } ], "id": 7817, "name": "ArrayTypeName", "src": "294:10:7" } ], "id": 7818, "name": "VariableDeclaration", "src": "294:12:7" } ], "id": 7819, "name": "StructDefinition", "src": "247:66:7" }, { "attributes": { "canonicalName": "SharedProof.Proof", "name": "Proof", "scope": 7827, "visibility": "public" }, "children": [ { "attributes": { "constant": false, "name": "a", "scope": 7826, "stateVariable": false, "storageLocation": "default", "type": "struct SharedProof.G1Point", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "G1Point", "referencedDeclaration": 7810, "type": "struct SharedProof.G1Point" }, "id": 7820, "name": "UserDefinedTypeName", "src": "341:7:7" } ], "id": 7821, "name": "VariableDeclaration", "src": "341:9:7" }, { "attributes": { "constant": false, "name": "b", "scope": 7826, "stateVariable": false, "storageLocation": "default", "type": "struct SharedProof.G2Point", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "G2Point", "referencedDeclaration": 7819, "type": "struct SharedProof.G2Point" }, "id": 7822, "name": "UserDefinedTypeName", "src": "360:7:7" } ], "id": 7823, "name": "VariableDeclaration", "src": "360:9:7" }, { "attributes": { "constant": false, "name": "c", "scope": 7826, "stateVariable": false, "storageLocation": "default", "type": "struct SharedProof.G1Point", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "G1Point", "referencedDeclaration": 7810, "type": "struct SharedProof.G1Point" }, "id": 7824, "name": "UserDefinedTypeName", "src": "379:7:7" } ], "id": 7825, "name": "VariableDeclaration", "src": "379:9:7" } ], "id": 7826, "name": "StructDefinition", "src": "318:77:7" } ], "id": 7827, "name": "ContractDefinition", "src": "102:295:7" }, { "attributes": { "contractDependencies": [ 6651, 6728, 6806, 6852, 7349, 7647, 7760, 7801 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ 8008, 7801, 7760, 6651, 7647, 7349, 6852, 6806, 6728 ], "name": "SolnSquareVerifier", "scope": 8021 }, "children": [ { "attributes": { "arguments": null }, "children": [ { "attributes": { "contractScope": null, "name": "RealEstateMarketplaceToken", "referencedDeclaration": 7801, "type": "contract RealEstateMarketplaceToken" }, "id": 7828, "name": "UserDefinedTypeName", "src": "532:26:7" } ], "id": 7829, "name": "InheritanceSpecifier", "src": "532:26:7" }, { "attributes": { "constant": false, "name": "squareVerifierContract", "scope": 8008, "stateVariable": true, "storageLocation": "default", "type": "contract Verifier", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "Verifier", "referencedDeclaration": 8020, "type": "contract Verifier" }, "id": 7830, "name": "UserDefinedTypeName", "src": "565:8:7" } ], "id": 7831, "name": "VariableDeclaration", "src": "565:31:7" }, { "attributes": { "documentation": null, "implemented": true, "isConstructor": true, "kind": "constructor", "name": "", "scope": 8008, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, "children": [ { "children": [ { "attributes": { "constant": false, "name": "squareVerifierAddress", "scope": 7851, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 7832, "name": "ElementaryTypeName", "src": "670:7:7" } ], "id": 7833, "name": "VariableDeclaration", "src": "670:29:7" }, { "attributes": { "constant": false, "name": "name", "scope": 7851, "stateVariable": false, "storageLocation": "memory", "type": "string", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "string", "type": "string" }, "id": 7834, "name": "ElementaryTypeName", "src": "709:6:7" } ], "id": 7835, "name": "VariableDeclaration", "src": "709:18:7" }, { "attributes": { "constant": false, "name": "symbol", "scope": 7851, "stateVariable": false, "storageLocation": "memory", "type": "string", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "string", "type": "string" }, "id": 7836, "name": "ElementaryTypeName", "src": "737:6:7" } ], "id": 7837, "name": "VariableDeclaration", "src": "737:20:7" } ], "id": 7838, "name": "ParameterList", "src": "660:103:7" }, { "attributes": { "parameters": [ null ] }, "children": [], "id": 7843, "name": "ParameterList", "src": "812:0:7" }, { "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7801, "type": "type(contract RealEstateMarketplaceToken)", "value": "RealEstateMarketplaceToken" }, "id": 7839, "name": "Identifier", "src": "771:26:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7835, "type": "string memory", "value": "name" }, "id": 7840, "name": "Identifier", "src": "798:4:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7837, "type": "string memory", "value": "symbol" }, "id": 7841, "name": "Identifier", "src": "804:6:7" } ], "id": 7842, "name": "ModifierInvocation", "src": "771:40:7" }, { "children": [ { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "operator": "=", "type": "contract Verifier" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7831, "type": "contract Verifier", "value": "squareVerifierContract" }, "id": 7844, "name": "Identifier", "src": "822:22:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "contract Verifier", "type_conversion": true }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 8020, "type": "type(contract Verifier)", "value": "Verifier" }, "id": 7845, "name": "Identifier", "src": "847:8:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7833, "type": "address", "value": "squareVerifierAddress" }, "id": 7846, "name": "Identifier", "src": "856:21:7" } ], "id": 7847, "name": "FunctionCall", "src": "847:31:7" } ], "id": 7848, "name": "Assignment", "src": "822:56:7" } ], "id": 7849, "name": "ExpressionStatement", "src": "822:56:7" } ], "id": 7850, "name": "Block", "src": "812:73:7" } ], "id": 7851, "name": "FunctionDefinition", "src": "649:236:7" }, { "attributes": { "canonicalName": "SolnSquareVerifier.Solution", "name": "Solution", "scope": 8008, "visibility": "public" }, "children": [ { "attributes": { "constant": false, "name": "indexOfSolution", "scope": 7858, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7852, "name": "ElementaryTypeName", "src": "991:7:7" } ], "id": 7853, "name": "VariableDeclaration", "src": "991:23:7" }, { "attributes": { "constant": false, "name": "ownerAddress", "scope": 7858, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 7854, "name": "ElementaryTypeName", "src": "1024:7:7" } ], "id": 7855, "name": "VariableDeclaration", "src": "1024:20:7" }, { "attributes": { "constant": false, "name": "solutionHash", "scope": 7858, "stateVariable": false, "storageLocation": "default", "type": "bytes32", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bytes32", "type": "bytes32" }, "id": 7856, "name": "ElementaryTypeName", "src": "1054:7:7" } ], "id": 7857, "name": "VariableDeclaration", "src": "1054:20:7" } ], "id": 7858, "name": "StructDefinition", "src": "965:116:7" }, { "attributes": { "constant": false, "name": "submittedSolutions", "scope": 8008, "stateVariable": true, "storageLocation": "default", "type": "struct SolnSquareVerifier.Solution[]", "value": null, "visibility": "private" }, "children": [ { "attributes": { "length": null, "type": "struct SolnSquareVerifier.Solution[]" }, "children": [ { "attributes": { "contractScope": null, "name": "Solution", "referencedDeclaration": 7858, "type": "struct SolnSquareVerifier.Solution" }, "id": 7859, "name": "UserDefinedTypeName", "src": "1135:8:7" } ], "id": 7860, "name": "ArrayTypeName", "src": "1135:10:7" } ], "id": 7861, "name": "VariableDeclaration", "src": "1135:37:7" }, { "attributes": { "constant": false, "name": "uniqueSolutions", "scope": 8008, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes32 => struct SolnSquareVerifier.Solution)", "value": null, "visibility": "private" }, "children": [ { "attributes": { "type": "mapping(bytes32 => struct SolnSquareVerifier.Solution)" }, "children": [ { "attributes": { "name": "bytes32", "type": "bytes32" }, "id": 7862, "name": "ElementaryTypeName", "src": "1303:7:7" }, { "attributes": { "contractScope": null, "name": "Solution", "referencedDeclaration": 7858, "type": "struct SolnSquareVerifier.Solution" }, "id": 7863, "name": "UserDefinedTypeName", "src": "1314:8:7" } ], "id": 7864, "name": "Mapping", "src": "1295:28:7" } ], "id": 7865, "name": "VariableDeclaration", "src": "1295:52:7" }, { "attributes": { "anonymous": false, "documentation": null, "name": "SolutionAdded" }, "children": [ { "children": [ { "attributes": { "constant": false, "indexed": false, "name": "indexOfSolution", "scope": 7873, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7866, "name": "ElementaryTypeName", "src": "1444:7:7" } ], "id": 7867, "name": "VariableDeclaration", "src": "1444:23:7" }, { "attributes": { "constant": false, "indexed": false, "name": "ownerAddress", "scope": 7873, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 7868, "name": "ElementaryTypeName", "src": "1477:7:7" } ], "id": 7869, "name": "VariableDeclaration", "src": "1477:20:7" }, { "attributes": { "constant": false, "indexed": false, "name": "solutionHash", "scope": 7873, "stateVariable": false, "storageLocation": "default", "type": "bytes32", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bytes32", "type": "bytes32" }, "id": 7870, "name": "ElementaryTypeName", "src": "1507:7:7" } ], "id": 7871, "name": "VariableDeclaration", "src": "1507:20:7" } ], "id": 7872, "name": "ParameterList", "src": "1434:99:7" } ], "id": 7873, "name": "EventDefinition", "src": "1415:119:7" }, { "attributes": { "documentation": null, "implemented": true, "isConstructor": false, "kind": "function", "name": "addSolution", "scope": 8008, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, "children": [ { "children": [ { "attributes": { "constant": false, "name": "ownerAddress", "scope": 7916, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 7874, "name": "ElementaryTypeName", "src": "1644:7:7" } ], "id": 7875, "name": "VariableDeclaration", "src": "1644:20:7" }, { "attributes": { "constant": false, "name": "solutionHash", "scope": 7916, "stateVariable": false, "storageLocation": "default", "type": "bytes32", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bytes32", "type": "bytes32" }, "id": 7876, "name": "ElementaryTypeName", "src": "1666:7:7" } ], "id": 7877, "name": "VariableDeclaration", "src": "1666:20:7" } ], "id": 7878, "name": "ParameterList", "src": "1643:44:7" }, { "attributes": { "parameters": [ null ] }, "children": [], "id": 7881, "name": "ParameterList", "src": "1725:0:7" }, { "attributes": { "arguments": null }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 6701, "type": "modifier ()", "value": "onlyOwner" }, "id": 7879, "name": "Identifier", "src": "1711:9:7" } ], "id": 7880, "name": "ModifierInvocation", "src": "1711:9:7" }, { "children": [ { "attributes": { "assignments": [ 7883 ] }, "children": [ { "attributes": { "constant": false, "name": "indexOfSolution", "scope": 7915, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7882, "name": "ElementaryTypeName", "src": "1735:7:7" } ], "id": 7883, "name": "VariableDeclaration", "src": "1735:23:7" }, { "attributes": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "operator": "+", "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "length", "referencedDeclaration": null, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7861, "type": "struct SolnSquareVerifier.Solution storage ref[] storage ref", "value": "submittedSolutions" }, "id": 7884, "name": "Identifier", "src": "1761:18:7" } ], "id": 7885, "name": "MemberAccess", "src": "1761:25:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "31", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 1", "value": "1" }, "id": 7886, "name": "Literal", "src": "1789:1:7" } ], "id": 7887, "name": "BinaryOperation", "src": "1761:29:7" } ], "id": 7888, "name": "VariableDeclarationStatement", "src": "1735:55:7" }, { "attributes": { "assignments": [ 7890 ] }, "children": [ { "attributes": { "constant": false, "name": "_solution", "scope": 7915, "stateVariable": false, "storageLocation": "memory", "type": "struct SolnSquareVerifier.Solution", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "Solution", "referencedDeclaration": 7858, "type": "struct SolnSquareVerifier.Solution" }, "id": 7889, "name": "UserDefinedTypeName", "src": "1800:8:7" } ], "id": 7890, "name": "VariableDeclaration", "src": "1800:25:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": true, "lValueRequested": false, "names": [ null ], "type": "struct SolnSquareVerifier.Solution memory", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 7858, "type": "type(struct SolnSquareVerifier.Solution storage pointer)", "value": "Solution" }, "id": 7891, "name": "Identifier", "src": "1828:8:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7883, "type": "uint256", "value": "indexOfSolution" }, "id": 7892, "name": "Identifier", "src": "1850:15:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7875, "type": "address", "value": "ownerAddress" }, "id": 7893, "name": "Identifier", "src": "1879:12:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7877, "type": "bytes32", "value": "solutionHash" }, "id": 7894, "name": "Identifier", "src": "1905:12:7" } ], "id": 7895, "name": "FunctionCall", "src": "1828:99:7" } ], "id": 7896, "name": "VariableDeclarationStatement", "src": "1800:127:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "uint256", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Solution_$7858_memory_ptr", "typeString": "struct SolnSquareVerifier.Solution memory" } ], "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "member_name": "push", "referencedDeclaration": null, "type": "function (struct SolnSquareVerifier.Solution storage ref) returns (uint256)" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7861, "type": "struct SolnSquareVerifier.Solution storage ref[] storage ref", "value": "submittedSolutions" }, "id": 7897, "name": "Identifier", "src": "1937:18:7" } ], "id": 7899, "name": "MemberAccess", "src": "1937:23:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7890, "type": "struct SolnSquareVerifier.Solution memory", "value": "_solution" }, "id": 7900, "name": "Identifier", "src": "1961:9:7" } ], "id": 7901, "name": "FunctionCall", "src": "1937:34:7" } ], "id": 7902, "name": "ExpressionStatement", "src": "1937:34:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "operator": "=", "type": "struct SolnSquareVerifier.Solution storage ref" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "type": "struct SolnSquareVerifier.Solution storage ref" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7865, "type": "mapping(bytes32 => struct SolnSquareVerifier.Solution storage ref)", "value": "uniqueSolutions" }, "id": 7903, "name": "Identifier", "src": "1981:15:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7877, "type": "bytes32", "value": "solutionHash" }, "id": 7904, "name": "Identifier", "src": "1997:12:7" } ], "id": 7905, "name": "IndexAccess", "src": "1981:29:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7890, "type": "struct SolnSquareVerifier.Solution memory", "value": "_solution" }, "id": 7906, "name": "Identifier", "src": "2013:9:7" } ], "id": 7907, "name": "Assignment", "src": "1981:41:7" } ], "id": 7908, "name": "ExpressionStatement", "src": "1981:41:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "tuple()", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 7873, "type": "function (uint256,address,bytes32)", "value": "SolutionAdded" }, "id": 7909, "name": "Identifier", "src": "2037:13:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7883, "type": "uint256", "value": "indexOfSolution" }, "id": 7910, "name": "Identifier", "src": "2051:15:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7875, "type": "address", "value": "ownerAddress" }, "id": 7911, "name": "Identifier", "src": "2068:12:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7877, "type": "bytes32", "value": "solutionHash" }, "id": 7912, "name": "Identifier", "src": "2082:12:7" } ], "id": 7913, "name": "FunctionCall", "src": "2037:58:7" } ], "id": 7914, "name": "EmitStatement", "src": "2032:63:7" } ], "id": 7915, "name": "Block", "src": "1725:377:7" } ], "id": 7916, "name": "FunctionDefinition", "src": "1623:479:7" }, { "attributes": { "documentation": null, "implemented": true, "isConstructor": false, "kind": "function", "modifiers": [ null ], "name": "verifyProof", "scope": 8008, "stateMutability": "view", "superFunction": null, "visibility": "private" }, "children": [ { "children": [ { "attributes": { "constant": false, "name": "proof", "scope": 7934, "stateVariable": false, "storageLocation": "memory", "type": "struct SharedProof.Proof", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "SharedProof.Proof", "referencedDeclaration": 7826, "type": "struct SharedProof.Proof" }, "id": 7917, "name": "UserDefinedTypeName", "src": "2249:17:7" } ], "id": 7918, "name": "VariableDeclaration", "src": "2249:30:7" }, { "attributes": { "constant": false, "name": "input", "scope": 7934, "stateVariable": false, "storageLocation": "memory", "type": "uint256[2]", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "type": "uint256[2]" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7919, "name": "ElementaryTypeName", "src": "2289:7:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "32", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 2", "value": "2" }, "id": 7920, "name": "Literal", "src": "2297:1:7" } ], "id": 7921, "name": "ArrayTypeName", "src": "2289:10:7" } ], "id": 7922, "name": "VariableDeclaration", "src": "2289:23:7" } ], "id": 7923, "name": "ParameterList", "src": "2239:79:7" }, { "children": [ { "attributes": { "constant": false, "name": "", "scope": 7934, "stateVariable": false, "storageLocation": "default", "type": "bool", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bool", "type": "bool" }, "id": 7924, "name": "ElementaryTypeName", "src": "2341:4:7" } ], "id": 7925, "name": "VariableDeclaration", "src": "2341:4:7" } ], "id": 7926, "name": "ParameterList", "src": "2340:6:7" }, { "children": [ { "attributes": { "functionReturnParameters": 7926 }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "bool", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "member_name": "verifyTx", "referencedDeclaration": 8019, "type": "function (struct SharedProof.Proof memory,uint256[2] memory) view external returns (bool)" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7831, "type": "contract Verifier", "value": "squareVerifierContract" }, "id": 7927, "name": "Identifier", "src": "2364:22:7" } ], "id": 7928, "name": "MemberAccess", "src": "2364:31:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7918, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7929, "name": "Identifier", "src": "2396:5:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7922, "type": "uint256[2] memory", "value": "input" }, "id": 7930, "name": "Identifier", "src": "2403:5:7" } ], "id": 7931, "name": "FunctionCall", "src": "2364:45:7" } ], "id": 7932, "name": "Return", "src": "2357:52:7" } ], "id": 7933, "name": "Block", "src": "2347:69:7" } ], "id": 7934, "name": "FunctionDefinition", "src": "2219:197:7" }, { "attributes": { "documentation": null, "implemented": true, "isConstructor": false, "kind": "function", "name": "mint", "scope": 8008, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, "children": [ { "children": [ { "attributes": { "constant": false, "name": "proof", "scope": 8007, "stateVariable": false, "storageLocation": "memory", "type": "struct SharedProof.Proof", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "SharedProof.Proof", "referencedDeclaration": 7826, "type": "struct SharedProof.Proof" }, "id": 7935, "name": "UserDefinedTypeName", "src": "2666:17:7" } ], "id": 7936, "name": "VariableDeclaration", "src": "2666:30:7" }, { "attributes": { "constant": false, "name": "input", "scope": 8007, "stateVariable": false, "storageLocation": "memory", "type": "uint256[2]", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "type": "uint256[2]" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7937, "name": "ElementaryTypeName", "src": "2706:7:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "32", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 2", "value": "2" }, "id": 7938, "name": "Literal", "src": "2714:1:7" } ], "id": 7939, "name": "ArrayTypeName", "src": "2706:10:7" } ], "id": 7940, "name": "VariableDeclaration", "src": "2706:23:7" }, { "attributes": { "constant": false, "name": "to", "scope": 8007, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 7941, "name": "ElementaryTypeName", "src": "2739:7:7" } ], "id": 7942, "name": "VariableDeclaration", "src": "2739:10:7" }, { "attributes": { "constant": false, "name": "tokenId", "scope": 8007, "stateVariable": false, "storageLocation": "default", "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 7943, "name": "ElementaryTypeName", "src": "2759:7:7" } ], "id": 7944, "name": "VariableDeclaration", "src": "2759:15:7" } ], "id": 7945, "name": "ParameterList", "src": "2656:124:7" }, { "children": [ { "attributes": { "constant": false, "name": "", "scope": 8007, "stateVariable": false, "storageLocation": "default", "type": "bool", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bool", "type": "bool" }, "id": 7948, "name": "ElementaryTypeName", "src": "2807:4:7" } ], "id": 7949, "name": "VariableDeclaration", "src": "2807:4:7" } ], "id": 7950, "name": "ParameterList", "src": "2806:6:7" }, { "attributes": { "arguments": null }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 6701, "type": "modifier ()", "value": "onlyOwner" }, "id": 7946, "name": "Identifier", "src": "2788:9:7" } ], "id": 7947, "name": "ModifierInvocation", "src": "2788:9:7" }, { "children": [ { "attributes": { "assignments": [ 7952 ] }, "children": [ { "attributes": { "constant": false, "name": "solutionHash", "scope": 8006, "stateVariable": false, "storageLocation": "default", "type": "bytes32", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bytes32", "type": "bytes32" }, "id": 7951, "name": "ElementaryTypeName", "src": "2823:7:7" } ], "id": 7952, "name": "VariableDeclaration", "src": "2823:20:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "bytes32", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 8951, "type": "function (bytes memory) pure returns (bytes32)", "value": "keccak256" }, "id": 7953, "name": "Identifier", "src": "2846:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "bytes memory", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory", "typeString": "uint256[2] memory" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "member_name": "encodePacked", "referencedDeclaration": null, "type": "function () pure returns (bytes memory)" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 8944, "type": "abi", "value": "abi" }, "id": 7954, "name": "Identifier", "src": "2869:3:7" } ], "id": 7955, "name": "MemberAccess", "src": "2869:16:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "X", "referencedDeclaration": 7807, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "a", "referencedDeclaration": 7821, "type": "struct SharedProof.G1Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7956, "name": "Identifier", "src": "2903:5:7" } ], "id": 7957, "name": "MemberAccess", "src": "2903:7:7" } ], "id": 7958, "name": "MemberAccess", "src": "2903:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "Y", "referencedDeclaration": 7809, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "a", "referencedDeclaration": 7821, "type": "struct SharedProof.G1Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7959, "name": "Identifier", "src": "2930:5:7" } ], "id": 7960, "name": "MemberAccess", "src": "2930:7:7" } ], "id": 7961, "name": "MemberAccess", "src": "2930:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "X", "referencedDeclaration": 7814, "type": "uint256[2] memory" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "b", "referencedDeclaration": 7823, "type": "struct SharedProof.G2Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7962, "name": "Identifier", "src": "2957:5:7" } ], "id": 7963, "name": "MemberAccess", "src": "2957:7:7" } ], "id": 7964, "name": "MemberAccess", "src": "2957:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "Y", "referencedDeclaration": 7818, "type": "uint256[2] memory" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "b", "referencedDeclaration": 7823, "type": "struct SharedProof.G2Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7965, "name": "Identifier", "src": "2984:5:7" } ], "id": 7966, "name": "MemberAccess", "src": "2984:7:7" } ], "id": 7967, "name": "MemberAccess", "src": "2984:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "X", "referencedDeclaration": 7807, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "c", "referencedDeclaration": 7825, "type": "struct SharedProof.G1Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7968, "name": "Identifier", "src": "3011:5:7" } ], "id": 7969, "name": "MemberAccess", "src": "3011:7:7" } ], "id": 7970, "name": "MemberAccess", "src": "3011:9:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "Y", "referencedDeclaration": 7809, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "c", "referencedDeclaration": 7825, "type": "struct SharedProof.G1Point memory" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7971, "name": "Identifier", "src": "3038:5:7" } ], "id": 7972, "name": "MemberAccess", "src": "3038:7:7" } ], "id": 7973, "name": "MemberAccess", "src": "3038:9:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7940, "type": "uint256[2] memory", "value": "input" }, "id": 7974, "name": "Identifier", "src": "3065:5:7" } ], "id": 7975, "name": "FunctionCall", "src": "2869:215:7" } ], "id": 7976, "name": "FunctionCall", "src": "2846:248:7" } ], "id": 7977, "name": "VariableDeclarationStatement", "src": "2823:271:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "tuple()", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_7590900ce53131692e94687be98288363900e08dbbc0f9e12c31e677c0d5ba7e", "typeString": "literal_string \"must be a unique solution\"" } ], "overloadedDeclarations": [ 8960, 8961 ], "referencedDeclaration": 8961, "type": "function (bool,string memory) pure", "value": "require" }, "id": 7978, "name": "Identifier", "src": "3104:7:7" }, { "attributes": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "operator": "==", "type": "bool" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "member_name": "indexOfSolution", "referencedDeclaration": 7853, "type": "uint256" }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "type": "struct SolnSquareVerifier.Solution storage ref" }, "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7865, "type": "mapping(bytes32 => struct SolnSquareVerifier.Solution storage ref)", "value": "uniqueSolutions" }, "id": 7979, "name": "Identifier", "src": "3125:15:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7952, "type": "bytes32", "value": "solutionHash" }, "id": 7980, "name": "Identifier", "src": "3141:12:7" } ], "id": 7981, "name": "IndexAccess", "src": "3125:29:7" } ], "id": 7982, "name": "MemberAccess", "src": "3125:45:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "30", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 0", "value": "0" }, "id": 7983, "name": "Literal", "src": "3174:1:7" } ], "id": 7984, "name": "BinaryOperation", "src": "3125:50:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "6d757374206265206120756e6971756520736f6c7574696f6e", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "string", "type": "literal_string \"must be a unique solution\"", "value": "must be a unique solution" }, "id": 7985, "name": "Literal", "src": "3189:27:7" } ], "id": 7986, "name": "FunctionCall", "src": "3104:122:7" } ], "id": 7987, "name": "ExpressionStatement", "src": "3104:122:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "tuple()", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" }, { "typeIdentifier": "t_stringliteral_716c7388af97f39e5e0360bf1e0f60be46245662e2857485aff0d531bf8f0bdd", "typeString": "literal_string \"must be a valid proof to continue\"" } ], "overloadedDeclarations": [ 8960, 8961 ], "referencedDeclaration": 8961, "type": "function (bool,string memory) pure", "value": "require" }, "id": 7988, "name": "Identifier", "src": "3236:7:7" }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "bool", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_struct$_Proof_$7826_memory_ptr", "typeString": "struct SharedProof.Proof memory" }, { "typeIdentifier": "t_array$_t_uint256_$2_memory_ptr", "typeString": "uint256[2] memory" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 7934, "type": "function (struct SharedProof.Proof memory,uint256[2] memory) view returns (bool)", "value": "verifyProof" }, "id": 7989, "name": "Identifier", "src": "3244:11:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7936, "type": "struct SharedProof.Proof memory", "value": "proof" }, "id": 7990, "name": "Identifier", "src": "3256:5:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7940, "type": "uint256[2] memory", "value": "input" }, "id": 7991, "name": "Identifier", "src": "3263:5:7" } ], "id": 7992, "name": "FunctionCall", "src": "3244:25:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "6d75737420626520612076616c69642070726f6f6620746f20636f6e74696e7565", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "string", "type": "literal_string \"must be a valid proof to continue\"", "value": "must be a valid proof to continue" }, "id": 7993, "name": "Literal", "src": "3271:35:7" } ], "id": 7994, "name": "FunctionCall", "src": "3236:71:7" } ], "id": 7995, "name": "ExpressionStatement", "src": "3236:71:7" }, { "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "tuple()", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } ], "overloadedDeclarations": [ null ], "referencedDeclaration": 7916, "type": "function (address,bytes32)", "value": "addSolution" }, "id": 7996, "name": "Identifier", "src": "3317:11:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7942, "type": "address", "value": "to" }, "id": 7997, "name": "Identifier", "src": "3329:2:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7952, "type": "bytes32", "value": "solutionHash" }, "id": 7998, "name": "Identifier", "src": "3333:12:7" } ], "id": 7999, "name": "FunctionCall", "src": "3317:29:7" } ], "id": 8000, "name": "ExpressionStatement", "src": "3317:29:7" }, { "attributes": { "functionReturnParameters": 7950 }, "children": [ { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "isStructConstructorCall": false, "lValueRequested": false, "names": [ null ], "type": "bool", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "overloadedDeclarations": [ 8007, 7800 ], "referencedDeclaration": 7800, "type": "function (address,uint256) returns (bool)", "value": "mint" }, "id": 8001, "name": "Identifier", "src": "3363:4:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7942, "type": "address", "value": "to" }, "id": 8002, "name": "Identifier", "src": "3368:2:7" }, { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], "referencedDeclaration": 7944, "type": "uint256", "value": "tokenId" }, "id": 8003, "name": "Identifier", "src": "3372:7:7" } ], "id": 8004, "name": "FunctionCall", "src": "3363:17:7" } ], "id": 8005, "name": "Return", "src": "3356:24:7" } ], "id": 8006, "name": "Block", "src": "2813:574:7" } ], "id": 8007, "name": "FunctionDefinition", "src": "2643:744:7" } ], "id": 8008, "name": "ContractDefinition", "src": "501:2888:7" }, { "attributes": { "baseContracts": [ null ], "contractDependencies": [ null ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ 8020 ], "name": "Verifier", "scope": 8021 }, "children": [ { "attributes": { "body": null, "documentation": null, "implemented": false, "isConstructor": false, "kind": "function", "modifiers": [ null ], "name": "verifyTx", "scope": 8020, "stateMutability": "view", "superFunction": null, "visibility": "public" }, "children": [ { "children": [ { "attributes": { "constant": false, "name": "proof", "scope": 8019, "stateVariable": false, "storageLocation": "memory", "type": "struct SharedProof.Proof", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "contractScope": null, "name": "SharedProof.Proof", "referencedDeclaration": 7826, "type": "struct SharedProof.Proof" }, "id": 8009, "name": "UserDefinedTypeName", "src": "3433:17:7" } ], "id": 8010, "name": "VariableDeclaration", "src": "3433:30:7" }, { "attributes": { "constant": false, "name": "input", "scope": 8019, "stateVariable": false, "storageLocation": "memory", "type": "uint256[2]", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "type": "uint256[2]" }, "children": [ { "attributes": { "name": "uint256", "type": "uint256" }, "id": 8011, "name": "ElementaryTypeName", "src": "3465:7:7" }, { "attributes": { "argumentTypes": null, "hexvalue": "32", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", "type": "int_const 2", "value": "2" }, "id": 8012, "name": "Literal", "src": "3473:1:7" } ], "id": 8013, "name": "ArrayTypeName", "src": "3465:10:7" } ], "id": 8014, "name": "VariableDeclaration", "src": "3465:23:7" } ], "id": 8015, "name": "ParameterList", "src": "3432:57:7" }, { "children": [ { "attributes": { "constant": false, "name": "r", "scope": 8019, "stateVariable": false, "storageLocation": "default", "type": "bool", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "bool", "type": "bool" }, "id": 8016, "name": "ElementaryTypeName", "src": "3535:4:7" } ], "id": 8017, "name": "VariableDeclaration", "src": "3535:6:7" } ], "id": 8018, "name": "ParameterList", "src": "3534:8:7" } ], "id": 8019, "name": "FunctionDefinition", "src": "3415:128:7" } ], "id": 8020, "name": "ContractDefinition", "src": "3391:154:7" } ], "id": 8021, "name": "SourceUnit", "src": "0:3546:7" }, "compiler": { "name": "solc", "version": "0.5.16+commit.9c3226ce.Emscripten.clang" }, "networks": { "4": { "events": {}, "links": {}, "address": "0x1FAD7E0821ACC768d9cE3881D09817d30aF2BA59", "transactionHash": "0xc5979c40ca288b793323214286ce635ecbbc0d2914004fe2015f798329c063b3" } }, "schemaVersion": "3.4.3", "updatedAt": "2021-10-30T19:14:22.691Z", "networkType": "ethereum", "devdoc": { "methods": { "isApprovedForAll(address,address)": { "details": "Tells whether an operator is approved by a given owner", "params": { "operator": "operator address which you want to query the approval of", "owner": "owner address which you want to query the approval of" }, "return": "bool whether the given operator is approved by the given owner" }, "setApprovalForAll(address,bool)": { "details": "Sets or unsets the approval of a given operator An operator is allowed to transfer all tokens of the sender on their behalf", "params": { "approved": "representing the status of the approval to be set", "to": "operator address to set the approval" } }, "supportsInterface(bytes4)": { "details": "implement supportsInterface(bytes4) using a lookup table" }, "tokenByIndex(uint256)": { "details": "Gets the token ID at a given index of all the tokens in this contract Reverts if the index is greater or equal to the total number of tokens", "params": { "index": "uint256 representing the index to be accessed of the tokens list" }, "return": "uint256 token ID at the given index of the tokens list" }, "tokenOfOwnerByIndex(address,uint256)": { "details": "Gets the token ID at a given index of the tokens list of the requested owner", "params": { "index": "uint256 representing the index to be accessed of the requested tokens list", "owner": "address owning the tokens list to be accessed" }, "return": "uint256 token ID at the given index of the tokens list owned by the requested address" }, "totalSupply()": { "details": "Gets the total amount of tokens stored by the contract", "return": "uint256 representing the total amount of tokens" } } }, "userdoc": { "methods": {} } }