[ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "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": "string", "name": "prevURI", "type": "string" }, { "indexed": false, "internalType": "string", "name": "newURI", "type": "string" } ], "name": "ContractURIUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "newRoyaltyRecipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "newRoyaltyBps", "type": "uint256" } ], "name": "DefaultRoyalty", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newFeeAddress", "type": "address" } ], "name": "FeeAddressChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "prevOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "packId", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "totalPacksCreated", "type": "uint256" } ], "name": "PackCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "packId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "opener", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountOpened", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "rewardToken", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" } ], "name": "PackOpened", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "packId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "rewardCollection", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountDistributedPerOpen", "type": "uint256" }, { "indexed": false, "internalType": "uint128", "name": "mintStartTimestamp", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "openStartTimestamp", "type": "uint128" }, { "indexed": false, "internalType": "string", "name": "packUri", "type": "string" }, { "indexed": false, "internalType": "uint256", "name": "mintCost", "type": "uint256" }, { "indexed": false, "internalType": "uint128", "name": "maxMinteablePerWallet", "type": "uint128" }, { "indexed": false, "internalType": "uint256", "name": "mintProtocolFee", "type": "uint256" } ], "name": "PackPrepared", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "royaltyRecipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "royaltyBps", "type": "uint256" } ], "name": "RoyaltyForToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "TransferBatch", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "TransferSingle", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newTreasuryAddress", "type": "address" } ], "name": "TreasuryAddressChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "value", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "URI", "type": "event" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_packId", "type": "uint256" }, { "internalType": "uint256", "name": "_quantity", "type": "uint256" } ], "name": "buy", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "contractURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDefaultRoyaltyInfo", "outputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLatestTokenId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_packId", "type": "uint256" } ], "name": "getPackInfo", "outputs": [ { "components": [ { "internalType": "address", "name": "rewardCollection", "type": "address" }, { "internalType": "uint256", "name": "amountDistributedPerOpen", "type": "uint256" }, { "internalType": "uint128", "name": "mintStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "mintEndTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "openStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "maxMinteablePerWallet", "type": "uint128" }, { "internalType": "uint256", "name": "mintCost", "type": "uint256" }, { "internalType": "uint256", "name": "mintProtocolFee", "type": "uint256" }, { "internalType": "string", "name": "packUri", "type": "string" }, { "internalType": "uint256", "name": "totalMinted", "type": "uint256" } ], "internalType": "struct IOpenEditionPack.PackInfo", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getRoleMember", "outputs": [ { "internalType": "address", "name": "member", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleMemberCount", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "getRoyaltyInfoForToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "getUriOfBundle", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "getUserData", "outputs": [ { "components": [ { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "fee", "type": "uint256" }, { "internalType": "address", "name": "feeAddress", "type": "address" }, { "internalType": "address", "name": "treasuryAddress", "type": "address" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "claimedSupply", "type": "uint256" }, { "internalType": "uint256", "name": "maxClaimablePerWallet", "type": "uint256" }, { "internalType": "uint256", "name": "maxItemsPerTransaction", "type": "uint256" }, { "internalType": "uint256", "name": "startTime", "type": "uint256" }, { "internalType": "uint256", "name": "endTime", "type": "uint256" }, { "internalType": "uint256", "name": "claimedByWallet", "type": "uint256" }, { "internalType": "uint256", "name": "blockTimestamp", "type": "uint256" }, { "internalType": "uint256", "name": "totalMinted", "type": "uint256" } ], "internalType": "struct OpenEditionPack.UserData", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRoleWithSwitch", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_defaultAdmin", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "string", "name": "_contractURI", "type": "string" }, { "internalType": "address[]", "name": "_trustedForwarders", "type": "address[]" }, { "internalType": "address", "name": "_royaltyRecipient", "type": "address" }, { "internalType": "uint256", "name": "_royaltyBps", "type": "uint256" }, { "internalType": "address", "name": "_treasuryAddress", "type": "address" }, { "internalType": "address", "name": "_feeAddress", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "forwarder", "type": "address" } ], "name": "isTrustedForwarder", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_recipient", "type": "address" }, { "internalType": "uint256", "name": "_packId", "type": "uint256" }, { "internalType": "uint256", "name": "_quantity", "type": "uint256" } ], "name": "mintTo", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" } ], "name": "multicall", "outputs": [ { "internalType": "bytes[]", "name": "results", "type": "bytes[]" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "nextTokenIdToMint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_packId", "type": "uint256" }, { "internalType": "uint256", "name": "_amountToOpen", "type": "uint256" } ], "name": "openPack", "outputs": [ { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "packReadyToMint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "packsMintedByIdAndAddress", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardCollection", "type": "address" }, { "internalType": "uint256", "name": "_amountDistributedPerOpen", "type": "uint256" }, { "internalType": "uint128", "name": "_mintingStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_mintingEndTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_openStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_maxMinteablePerWallet", "type": "uint128" }, { "internalType": "uint256", "name": "_mintCost", "type": "uint256" }, { "internalType": "uint256", "name": "_mintProtocolFee", "type": "uint256" }, { "internalType": "string", "name": "_packUri", "type": "string" } ], "name": "preparePack", "outputs": [ { "internalType": "uint256", "name": "packId", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "price", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "salePrice", "type": "uint256" } ], "name": "royaltyInfo", "outputs": [ { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "uint256", "name": "royaltyAmount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeBatchTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_uri", "type": "string" } ], "name": "setContractURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_royaltyRecipient", "type": "address" }, { "internalType": "uint256", "name": "_royaltyBps", "type": "uint256" } ], "name": "setDefaultRoyaltyInfo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_feeAddress", "type": "address" } ], "name": "setFeeAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_newOwner", "type": "address" } ], "name": "setOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" }, { "internalType": "address", "name": "_recipient", "type": "address" }, { "internalType": "uint256", "name": "_bps", "type": "uint256" } ], "name": "setRoyaltyInfoForToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_treasuryAddress", "type": "address" } ], "name": "setTreasuryAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "treasuryAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_packId", "type": "uint256" }, { "internalType": "address", "name": "_rewardCollection", "type": "address" }, { "internalType": "uint256", "name": "_amountDistributedPerOpen", "type": "uint256" }, { "internalType": "uint128", "name": "_mintingStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_mintingEndTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_openStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_maxMinteablePerWallet", "type": "uint128" }, { "internalType": "uint256", "name": "_mintCost", "type": "uint256" }, { "internalType": "uint256", "name": "_mintProtocolFee", "type": "uint256" } ], "name": "updateSalesInfoPack", "outputs": [ { "internalType": "uint256", "name": "packId", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_packId", "type": "uint256" }, { "internalType": "uint128", "name": "_mintingStartTimestamp", "type": "uint128" }, { "internalType": "uint128", "name": "_mintingEndTimestamp", "type": "uint128" } ], "name": "updateStartEndTimePack", "outputs": [ { "internalType": "uint256", "name": "packId", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]
608060405234801561001057600080fd5b50615018806100206000396000f3fe6080604052600436106102c85760003560e01c80639010d07c11610175578063bd85b039116100dc578063e4f80ba711610095578063f0e642c81161006f578063f0e642c81461094d578063f242432a1461096d578063f4fccca01461098d578063ffc9896b146109ad57600080fd5b8063e4f80ba7146108bd578063e8a3d485146108ee578063e985e9c51461090357600080fd5b8063bd85b039146107ee578063c5f956af1461081c578063ca15c8731461083d578063d547741f1461085d578063d5e6b49c1461087d578063d6febde8146108aa57600080fd5b8063a035b1fe1161012e578063a035b1fe1461072c578063a217fddf14610741578063a22cb46514610756578063a32fa5b314610776578063ac9650d814610796578063b24f2d39146107c357600080fd5b80639010d07c14610677578063914e126a1461069757806391d14854146106b7578063938e3d7b146106d757806395d89b41146106f75780639bcf7a151461070c57600080fd5b806336568abe11610234578063600dd5ea116101ed57806370be526b116101c757806370be526b146105e0578063812dfddb146106195780638705fcd4146106395780638da5cb5b1461065957600080fd5b8063600dd5ea146105a057806361195e94146103525780636605bfda146105c057600080fd5b806336568abe146104885780633b1475a7146104a857806341275358146104bf5780634cc157df146104f85780634e1273f41461053a578063572b6c051461056757600080fd5b8063248a9ca311610286578063248a9ca3146103b457806325d112a9146103e15780632a55205a146103f65780632baf2acb146104355780632eb2c2d6146104485780632f2ff15d1461046857600080fd5b8062fdd58e146102cd57806301ffc9a71461030057806306fdde03146103305780630e89341c1461035257806313af4035146103725780632369661414610394575b600080fd5b3480156102d957600080fd5b506102ed6102e8366004613c3b565b6109da565b6040519081526020015b60405180910390f35b34801561030c57600080fd5b5061032061031b366004613c7b565b610a76565b60405190151581526020016102f7565b34801561033c57600080fd5b50610345610a9e565b6040516102f79190613ce8565b34801561035e57600080fd5b5061034561036d366004613cfb565b610b2d565b34801561037e57600080fd5b5061039261038d366004613d14565b610bd3565b005b3480156103a057600080fd5b506102ed6103af366004613d46565b610c03565b3480156103c057600080fd5b506102ed6103cf366004613cfb565b60009081526006602052604090205490565b3480156103ed57600080fd5b506102ed610cad565b34801561040257600080fd5b50610416610411366004613d82565b610d0c565b604080516001600160a01b0390931683526020830191909152016102f7565b610392610443366004613da4565b610d49565b34801561045457600080fd5b50610392610463366004613f20565b610d85565b34801561047457600080fd5b50610392610483366004613fc9565b610de3565b34801561049457600080fd5b506103926104a3366004613fc9565b610e7d565b3480156104b457600080fd5b506102ed6101395481565b3480156104cb57600080fd5b5061013a546104e0906001600160a01b031681565b6040516001600160a01b0390911681526020016102f7565b34801561050457600080fd5b50610518610513366004613cfb565b610edf565b604080516001600160a01b03909316835261ffff9091166020830152016102f7565b34801561054657600080fd5b5061055a610555366004614062565b610f4a565b6040516102f79190614100565b34801561057357600080fd5b50610320610582366004613d14565b6001600160a01b03166000908152606c602052604090205460ff1690565b3480156105ac57600080fd5b506103926105bb366004613c3b565b611073565b3480156105cc57600080fd5b506103926105db366004613d14565b6110a1565b3480156105ec57600080fd5b506102ed6105fb366004613fc9565b61013f60209081526000928352604080842090915290825290205481565b34801561062557600080fd5b50610392610634366004614113565b611169565b34801561064557600080fd5b50610392610654366004613d14565b61139e565b34801561066557600080fd5b506002546001600160a01b03166104e0565b34801561068357600080fd5b506104e0610692366004613d82565b61145f565b3480156106a357600080fd5b5061055a6106b2366004613d82565b61154d565b3480156106c357600080fd5b506103206106d2366004613fc9565b6118a4565b3480156106e357600080fd5b506103926106f236600461420c565b6118cf565b34801561070357600080fd5b506103456118fc565b34801561071857600080fd5b50610392610727366004614248565b61190a565b34801561073857600080fd5b506102ed61193e565b34801561074d57600080fd5b506102ed600081565b34801561076257600080fd5b5061039261077136600461427d565b611975565b34801561078257600080fd5b50610320610791366004613fc9565b611987565b3480156107a257600080fd5b506107b66107b13660046142b9565b6119dd565b6040516102f7919061432d565b3480156107cf57600080fd5b506003546001600160a01b03811690600160a01b900461ffff16610518565b3480156107fa57600080fd5b506102ed610809366004613cfb565b61013c6020526000908152604090205481565b34801561082857600080fd5b5061013b546104e0906001600160a01b031681565b34801561084957600080fd5b506102ed610858366004613cfb565b611ad1565b34801561086957600080fd5b50610392610878366004613fc9565b611b5a565b34801561088957600080fd5b5061089d610898366004613cfb565b611b73565b6040516102f7919061438f565b6103926108b8366004613d82565b611cf5565b3480156108c957600080fd5b506103206108d8366004613cfb565b61013e6020526000908152604090205460ff1681565b3480156108fa57600080fd5b50610345611d30565b34801561090f57600080fd5b5061032061091e366004614456565b6001600160a01b0391821660009081526101036020908152604080832093909416825291909152205460ff1690565b34801561095957600080fd5b506102ed610968366004614480565b611d3d565b34801561097957600080fd5b50610392610988366004614563565b611ef4565b34801561099957600080fd5b506102ed6109a83660046145c7565b611f4b565b3480156109b957600080fd5b506109cd6109c8366004613d14565b612092565b6040516102f79190614653565b60006001600160a01b038316610a4a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152610102602090815260408083206001600160a01b03861684529091529020545b92915050565b6000610a818261233e565b80610a705750506001600160e01b03191663152a902d60e11b1490565b6101348054610aac9061470a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad89061470a565b8015610b255780601f10610afa57610100808354040283529160200191610b25565b820191906000526020600020905b815481529060010190602001808311610b0857829003601f168201915b505050505081565b600081815261013d60205260409020600601805460609190610b4e9061470a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7a9061470a565b8015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b50505050509050919050565b610bdb61238e565b610bf75760405162461bcd60e51b8152600401610a419061473e565b610c008161239c565b50565b600061013754610c1381336123ee565b600085815261013d602052604081206006018054879450610c339061470a565b905011610c765760405162461bcd60e51b81526020600482015260116024820152701c1858dac81cda1bdd5b1908195e1a5cdd607a1b6044820152606401610a41565b50600081815261013d602052604090206001600160801b03928316600160801b029290931691909117600290920191909155919050565b6000806101395411610cf75760405162461bcd60e51b8152602060048201526013602482015272139bc81c1858dadcc81b5a5b9d1959081e595d606a1b6044820152606401610a41565b600161013954610d07919061477c565b905090565b600080600080610d1b86610edf565b90945084925061ffff169050612710610d34828761478f565b610d3e91906147a6565b925050509250929050565b600260085403610d6b5760405162461bcd60e51b8152600401610a41906147c8565b6002600855610d7b83838361246e565b5050600160085550565b610d8d6128e8565b6001600160a01b0316856001600160a01b03161480610db35750610db38561091e6128e8565b610dcf5760405162461bcd60e51b8152600401610a41906147ff565b610ddc85858585856128f2565b5050505050565b600082815260066020526040902054610dfc90336123ee565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1615610e6f5760405162461bcd60e51b815260206004820152601d60248201527f43616e206f6e6c79206772616e7420746f206e6f6e20686f6c646572730000006044820152606401610a41565b610e798282612aed565b5050565b336001600160a01b03821614610ed55760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c792072656e6f756e636520666f722073656c660000000000006044820152606401610a41565b610e798282612b01565b6000818152600460209081526040808320815180830190925280546001600160a01b031680835260019091015492820192909252829115610f265780516020820151610f40565b6003546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b60608151835114610faf5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a41565b600083516001600160401b03811115610fca57610fca613dd7565b604051908082528060200260200182016040528015610ff3578160200160208202803683370190505b50905060005b845181101561106b5761103e8582815181106110175761101761484e565b60200260200101518583815181106110315761103161484e565b60200260200101516109da565b8282815181106110505761105061484e565b602090810291909101015261106481614864565b9050610ff9565b509392505050565b61107b61238e565b6110975760405162461bcd60e51b8152600401610a419061473e565b610e798282612b58565b6002546001600160a01b031633146110cb5760405162461bcd60e51b8152600401610a419061473e565b6001600160a01b0381166111135760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610a41565b61013b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f9073dfac663173e64aa95665faedae52e2246f9bcdd3890fbfaf6733b46bba13906020015b60405180910390a150565b600054610100900460ff16158080156111895750600054600160ff909116105b806111a35750303b1580156111a3575060005460ff166001145b6112065760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a41565b6000805460ff191660011790558015611229576000805461ff0019166101001790555b7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a67f86d5cf0a6bdc8d859ba3bdc97043337c82a0e609035f378e419298b6a3e00ae661129589612bfe565b61129e8a612c36565b6101346112ab8d826148c3565b506101356112b98c826148c3565b506112c38a612c66565b6112cc8d61239c565b6112d760008e612aed565b6112e1838e612aed565b6112eb828e612aed565b6112f6836000612aed565b611301816000612aed565b61130b8888612b58565b61013692909255610137556101385561013b80546001600160a01b038086166001600160a01b03199283161790925561013a8054928516929091169190911790558015611392576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050505050565b6002546001600160a01b031633146113c85760405162461bcd60e51b8152600401610a419061473e565b6001600160a01b0381166114105760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610a41565b61013a80546001600160a01b0319166001600160a01b0383169081179091556040519081527fd1e93c69f2847f79bfa4d71704aaa84a581729b4b1706d922ee42ba1848a45c99060200161115e565b60008281526007602052604081205481805b828110156115445760008681526007602090815260408083208484526001019091529020546001600160a01b0316156114ed578482036114db5760008681526007602090815260408083209383526001909301905220546001600160a01b03169250610a70915050565b6114e6600183614982565b9150611532565b6114f88660006118a4565b801561151f5750600086815260076020908152604080832083805260020190915290205481145b156115325761152f600183614982565b91505b61153d600182614982565b9050611471565b50505092915050565b60606002600854036115715760405162461bcd60e51b8152600401610a41906147c8565b600260085560006115806128e8565b90508261158d82866109da565b10156115c45760405162461bcd60e51b8152600401610a41906020808252600490820152630850985b60e21b604082015260600190565b600084815261013d6020908152604080832081516101408101835281546001600160a01b0316815260018201549381019390935260028101546001600160801b0380821693850193909352600160801b9081900483166060850152600382015480841660808601520490911660a0830152600481015460c0830152600581015460e08301526006810180546101008401919061165f9061470a565b80601f016020809104026020016040519081016040528092919081815260200182805461168b9061470a565b80156116d85780601f106116ad576101008083540402835291602001916116d8565b820191906000526020600020905b8154815290600101906020018083116116bb57829003601f168201915b5050505050815260200160078201548152505090504281608001516001600160801b0316111561174a5760405162461bcd60e51b815260206004820152601960248201527f4f70656e696e67207068617365206e6f742073746172746564000000000000006044820152606401610a41565b600081602001518561175c919061478f565b82519091506001600160a01b0381166117c65760405162461bcd60e51b815260206004820152602660248201527f4e6f2072657761726420636f6c6c656374696f6e2073657420666f722074686960448201526573207061636b60d01b6064820152608401610a41565b6040516308934a5f60e31b81526001600160a01b0385811660048301526024820184905282919082169063449a52f8906044016000604051808303816000875af1158015611818573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118409190810190614995565b955061184d858989612d42565b846001600160a01b0316887f98563301ad4428c5e7e6fbef5270610a9135be9bc45469233fd3de75da0a69d989858a60405161188b93929190614a30565b60405180910390a3505060016008555091949350505050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6118d761238e565b6118f35760405162461bcd60e51b8152600401610a419061473e565b610c0081612c66565b6101358054610aac9061470a565b61191261238e565b61192e5760405162461bcd60e51b8152600401610a419061473e565b611939838383612ee8565b505050565b600080611949610cad565b600081815261013d60205260409020600581015460049091015491925061196f91614982565b91505090565b610e796119806128e8565b8383612fb2565b600082815260056020908152604080832083805290915281205460ff166119d4575060008281526005602090815260408083206001600160a01b038516845290915290205460ff16610a70565b50600192915050565b6060816001600160401b038111156119f7576119f7613dd7565b604051908082528060200260200182016040528015611a2a57816020015b6060815260200190600190039081611a155790505b50905060005b82811015611aca57611a9a30858584818110611a4e57611a4e61484e565b9050602002810190611a609190614a5a565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061308b92505050565b828281518110611aac57611aac61484e565b60200260200101819052508080611ac290614864565b915050611a30565b5092915050565b600081815260076020526040812054815b81811015611b355760008481526007602090815260408083208484526001019091529020546001600160a01b031615611b2357611b20600184614982565b92505b611b2e600182614982565b9050611ae2565b50611b418360006118a4565b15611b5457611b51600183614982565b91505b50919050565b600082815260066020526040902054610ed590336123ee565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820152610120810191909152600082815261013d602090815260409182902082516101408101845281546001600160a01b0316815260018201549281019290925260028101546001600160801b0380821694840194909452600160801b9081900484166060840152600382015480851660808501520490921660a0820152600482015460c0820152600582015460e082015260068201805491929161010084019190611c629061470a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8e9061470a565b8015611cdb5780601f10611cb057610100808354040283529160200191611cdb565b820191906000526020600020905b815481529060010190602001808311611cbe57829003601f168201915b505050505081526020016007820154815250509050919050565b600260085403611d175760405162461bcd60e51b8152600401610a41906147c8565b6002600855611d2733838361246e565b50506001600855565b60018054610aac9061470a565b600061013754611d4d81336123ee565b6001600160a01b038c16611d735760405162461bcd60e51b8152600401610a4190614aa7565b60008b11611d935760405162461bcd60e51b8152600401610a4190614ae8565b82611dd65760405162461bcd60e51b81526020600482015260136024820152725552492063616e6e6f7420626520656d70747960681b6044820152606401610a41565b610139805492506001906000611dec8386614982565b9091555050600082815261013d6020526040902080546001600160a01b038e166001600160a01b0319909116178155600181018c90556001600160801b038a8116600160801b908102828e161760028401556004830189905589821602908a1617600382015560058101869055600601611e67848683614b2d565b50600161013e600084815260200190815260200160002060006101000a81548160ff0219169083151502179055508b6001600160a01b0316827f1d6144fc4d45b171b0a415a193d4f5a5eebc1552dd17b224246a75fc9915464c8d8d8c89898d8f8e604051611edd989796959493929190614bec565b60405180910390a3509a9950505050505050505050565b611efc6128e8565b6001600160a01b0316856001600160a01b03161480611f225750611f228561091e6128e8565b611f3e5760405162461bcd60e51b8152600401610a41906147ff565b610ddc858585858561317f565b600061013754611f5b81336123ee565b8a91506001600160a01b038a16611f845760405162461bcd60e51b8152600401610a4190614aa7565b60008911611fa45760405162461bcd60e51b8152600401610a4190614ae8565b600082815261013d602052604081206006018054611fc19061470a565b9050116120045760405162461bcd60e51b81526020600482015260116024820152701c1858dac81cda1bdd5b1908195e1a5cdd607a1b6044820152606401610a41565b50600081815261013d6020908152604080832080546001600160a01b0319166001600160a01b039d909d169c909c178c556001808d019b909b556001600160801b03998a16600160801b998b168a021760028d015560048c01959095559588169490971690950292909217600388015560059096015561013e9052929020805460ff19169091179055919050565b61210f604051806101a00160405280600081526020016000815260200160006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000612119610cad565b600081815261013d6020908152604080832081516101408101835281546001600160a01b0316815260018201549381019390935260028101546001600160801b0380821693850193909352600160801b9081900483166060850152600382015480841660808601520490911660a0830152600481015460c0830152600581015460e0830152600681018054949550929391929091610100840191906121bd9061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546121e99061470a565b80156122365780601f1061220b57610100808354040283529160200191612236565b820191906000526020600020905b81548152906001019060200180831161221957829003601f168201915b505050918352505060079190910154602090910152905060006001600160a01b0385161561226d5761226885846109da565b612270565b60005b604080516101a08101825260c080860151825260e08087015160208085019190915261013a546001600160a01b039081168587015261013b54811660608087019190915260008b815261013c845287812054608088015260a080880199909952978a0180516001600160801b039081169688019690965251851693860193909352888601518416610100860152918801519092166101208085019190915297855261013f82528385209916845297909752902054610140860152504261016085015201516101808301525090565b60006001600160e01b03198216636cdb3d1360e11b148061236f57506001600160e01b031982166303a24d0760e21b145b80610a7057506301ffc9a760e01b6001600160e01b0319831614610a70565b6000610d07816106d26128e8565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16610e795761242c816001600160a01b031660146132c8565b6124378360206132c8565b604051602001612448929190614c56565b60408051601f198184030181529082905262461bcd60e51b8252610a4191600401613ce8565b600081116124ca5760405162461bcd60e51b815260206004820152602360248201527f546f74616c20737570706c79206d75737420626520677265617465722074686160448201526206e20360ec1b6064820152608401610a41565b600082815261013e602052604090205460ff166125475760405162461bcd60e51b815260206004820152603560248201527f5061636b204944206e6f74207370656369666965642c206e6f742070726570616044820152741c9959081bdc88185b1c9958591e481b5a5b9d1959605a1b6064820152608401610a41565b600082815261013d6020526040902060020154426001600160801b0390911611156125b45760405162461bcd60e51b815260206004820152601960248201527f4d696e74696e67207068617365206e6f742073746172746564000000000000006044820152606401610a41565b600082815261013d602052604090206002015442600160801b9091046001600160801b0316101561261d5760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c81c1a185cd948195b991959606a1b6044820152606401610a41565b600082815261013d602090815260408083206003015461013f835281842033855290925290912054600160801b9091046001600160801b0316908190612664908490614982565b11156126b25760405162461bcd60e51b815260206004820152601f60248201527f45786365656473206d6178206d696e7461626c65207065722077616c6c6574006044820152606401610a41565b600083815261013d60205260408120600401546126d090849061478f565b600085815261013d6020526040812060050154919250906126f290859061478f565b905060006127008284614982565b9050803410156127495760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610a41565b811561278c5761013a546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505015801561278a573d6000803e3d6000fd5b505b82156127cf5761013b546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156127cd573d6000803e3d6000fd5b505b600086815261013f60209081526040808320338452909152812080548792906127f9908490614982565b9091555050600086815261013d602052604090206007015461281c906001614982565b61013d6000888152602001908152602001600020600701819055506128528787876040518060200160405280600081525061346a565b600061285e823461477c565b9050801561289557604051339082156108fc029083906000818181858888f19350505050158015612893573d6000803e3d6000fd5b505b604080518881526001600160a01b038a1660208201529081018790527f529034575398e71312a0b7b951d8ca42dce1529d774f4a255a587f64f649fff89060600160405180910390a15050505050505050565b6000610d07613592565b81518351146129545760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a41565b6001600160a01b03841661297a5760405162461bcd60e51b8152600401610a4190614cc3565b60006129846128e8565b90506129948187878787876135bf565b60005b8451811015612a7f5760008582815181106129b4576129b461484e565b6020026020010151905060008583815181106129d2576129d261484e565b6020908102919091018101516000848152610102835260408082206001600160a01b038e168352909352919091205490915081811015612a245760405162461bcd60e51b8152600401610a4190614d08565b6000838152610102602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612a64908490614982565b9250508190555050505080612a7890614864565b9050612997565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612acf929190614d52565b60405180910390a4612ae5818787878787613766565b505050505050565b612af782826138c1565b610e79828261391c565b612b0b8282613989565b60008281526007602090815260408083206001600160a01b03851680855260028201808552838620805487526001909301855292852080546001600160a01b031916905584529152555050565b612710811115612b9c5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610a41565b600380546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b600054610100900460ff16612c255760405162461bcd60e51b8152600401610a4190614d77565b612c2d6139eb565b610c0081613a14565b600054610100900460ff16612c5d5760405162461bcd60e51b8152600401610a4190614d77565b610c0081613aa3565b600060018054612c759061470a565b80601f0160208091040260200160405190810160405280929190818152602001828054612ca19061470a565b8015612cee5780601f10612cc357610100808354040283529160200191612cee565b820191906000526020600020905b815481529060010190602001808311612cd157829003601f168201915b505050505090508160019081612d0491906148c3565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a168183604051612d36929190614dc2565b60405180910390a15050565b6001600160a01b038316612da45760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a41565b6000612dae6128e8565b90506000612dbb84613ad3565b90506000612dc884613ad3565b9050612de8838760008585604051806020016040528060008152506135bf565b6000858152610102602090815260408083206001600160a01b038a16845290915290205484811015612e685760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a41565b6000868152610102602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090525b50505050505050565b612710811115612f2c5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610a41565b6040805180820182526001600160a01b038481168083526020808401868152600089815260048352869020945185546001600160a01b031916941693909317845591516001909301929092559151838152909185917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d91015b60405180910390a3505050565b816001600160a01b0316836001600160a01b0316036130255760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a41565b6001600160a01b0383811660008181526101036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101612fa5565b60606001600160a01b0383163b6130f35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610a41565b600080846001600160a01b03168460405161310e9190614de7565b600060405180830381855af49150503d8060008114613149576040519150601f19603f3d011682016040523d82523d6000602084013e61314e565b606091505b50915091506131768282604051806060016040528060278152602001614fbc60279139613b1e565b95945050505050565b6001600160a01b0384166131a55760405162461bcd60e51b8152600401610a4190614cc3565b60006131af6128e8565b905060006131bc85613ad3565b905060006131c985613ad3565b90506131d98389898585896135bf565b6000868152610102602090815260408083206001600160a01b038c1684529091529020548581101561321d5760405162461bcd60e51b8152600401610a4190614d08565b6000878152610102602090815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061325d908490614982565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46132bd848a8a8a8a8a613b57565b505050505050505050565b606060006132d783600261478f565b6132e2906002614982565b6001600160401b038111156132f9576132f9613dd7565b6040519080825280601f01601f191660200182016040528015613323576020820181803683370190505b509050600360fc1b8160008151811061333e5761333e61484e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061336d5761336d61484e565b60200101906001600160f81b031916908160001a905350600061339184600261478f565b61339c906001614982565b90505b6001811115613414576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106133d0576133d061484e565b1a60f81b8282815181106133e6576133e661484e565b60200101906001600160f81b031916908160001a90535060049490941c9361340d81614e03565b905061339f565b5083156134635760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a41565b9392505050565b6001600160a01b0384166134ca5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a41565b60006134d46128e8565b905060006134e185613ad3565b905060006134ee85613ad3565b90506134ff836000898585896135bf565b6000868152610102602090815260408083206001600160a01b038b16845290915281208054879290613532908490614982565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612edf83600089898989613b57565b336000908152606c602052604081205460ff16156135b7575060131936013560601c90565b503390565b90565b6135cd6101365460006118a4565b1580156135e257506001600160a01b03851615155b80156135f657506001600160a01b03841615155b156136585761360861013654866118a4565b8061361b575061361b61013654856118a4565b6136585760405162461bcd60e51b815260206004820152600e60248201526d215452414e534645525f524f4c4560901b6044820152606401610a41565b6001600160a01b0385166136e05760005b83518110156136de578281815181106136845761368461484e565b602002602001015161013c60008684815181106136a3576136a361484e565b6020026020010151815260200190815260200160002060008282546136c89190614982565b909155506136d7905081614864565b9050613669565b505b6001600160a01b038416612ae55760005b8351811015612edf5782818151811061370c5761370c61484e565b602002602001015161013c600086848151811061372b5761372b61484e565b602002602001015181526020019081526020016000206000828254613750919061477c565b9091555061375f905081614864565b90506136f1565b6001600160a01b0384163b15612ae55760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906137aa9089908990889088908890600401614e1a565b6020604051808303816000875af19250505080156137e5575060408051601f3d908101601f191682019092526137e291810190614e78565b60015b613891576137f1614e95565b806308c379a00361382a5750613805614eb0565b80613810575061382c565b8060405162461bcd60e51b8152600401610a419190613ce8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a41565b6001600160e01b0319811663bc197c8160e01b14612edf5760405162461bcd60e51b8152600401610a4190614f39565b60008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b60008281526007602052604081208054916001919061393b8385614982565b9091555050600092835260076020908152604080852083865260018101835281862080546001600160a01b039096166001600160a01b03199096168617905593855260029093019052912055565b61399382826123ee565b60008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600054610100900460ff16613a125760405162461bcd60e51b8152600401610a4190614d77565b565b600054610100900460ff16613a3b5760405162461bcd60e51b8152600401610a4190614d77565b60005b8151811015610e79576001606c6000848481518110613a5f57613a5f61484e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580613a9b81614864565b915050613a3e565b600054610100900460ff16613aca5760405162461bcd60e51b8152600401610a4190614d77565b610c0081613c12565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110613b0d57613b0d61484e565b602090810291909101015292915050565b60608315613b2d575081613463565b825115613b3d5782518084602001fd5b8160405162461bcd60e51b8152600401610a419190613ce8565b6001600160a01b0384163b15612ae55760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190613b9b9089908990889088908890600401614f81565b6020604051808303816000875af1925050508015613bd6575060408051601f3d908101601f19168201909252613bd391810190614e78565b60015b613be2576137f1614e95565b6001600160e01b0319811663f23a6e6160e01b14612edf5760405162461bcd60e51b8152600401610a4190614f39565b610104610e7982826148c3565b80356001600160a01b0381168114613c3657600080fd5b919050565b60008060408385031215613c4e57600080fd5b613c5783613c1f565b946020939093013593505050565b6001600160e01b031981168114610c0057600080fd5b600060208284031215613c8d57600080fd5b813561346381613c65565b60005b83811015613cb3578181015183820152602001613c9b565b50506000910152565b60008151808452613cd4816020860160208601613c98565b601f01601f19169290920160200192915050565b6020815260006134636020830184613cbc565b600060208284031215613d0d57600080fd5b5035919050565b600060208284031215613d2657600080fd5b61346382613c1f565b80356001600160801b0381168114613c3657600080fd5b600080600060608486031215613d5b57600080fd5b83359250613d6b60208501613d2f565b9150613d7960408501613d2f565b90509250925092565b60008060408385031215613d9557600080fd5b50508035926020909101359150565b600080600060608486031215613db957600080fd5b613dc284613c1f565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715613e1257613e12613dd7565b6040525050565b60006001600160401b03821115613e3257613e32613dd7565b5060051b60200190565b600082601f830112613e4d57600080fd5b81356020613e5a82613e19565b604051613e678282613ded565b83815260059390931b8501820192828101915086841115613e8757600080fd5b8286015b84811015613ea25780358352918301918301613e8b565b509695505050505050565b600082601f830112613ebe57600080fd5b81356001600160401b03811115613ed757613ed7613dd7565b604051613eee601f8301601f191660200182613ded565b818152846020838601011115613f0357600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215613f3857600080fd5b613f4186613c1f565b9450613f4f60208701613c1f565b935060408601356001600160401b0380821115613f6b57600080fd5b613f7789838a01613e3c565b94506060880135915080821115613f8d57600080fd5b613f9989838a01613e3c565b93506080880135915080821115613faf57600080fd5b50613fbc88828901613ead565b9150509295509295909350565b60008060408385031215613fdc57600080fd5b82359150613fec60208401613c1f565b90509250929050565b600082601f83011261400657600080fd5b8135602061401382613e19565b6040516140208282613ded565b83815260059390931b850182019282810191508684111561404057600080fd5b8286015b84811015613ea25761405581613c1f565b8352918301918301614044565b6000806040838503121561407557600080fd5b82356001600160401b038082111561408c57600080fd5b61409886838701613ff5565b935060208501359150808211156140ae57600080fd5b506140bb85828601613e3c565b9150509250929050565b600081518084526020808501945080840160005b838110156140f5578151875295820195908201906001016140d9565b509495945050505050565b60208152600061346360208301846140c5565b60008060008060008060008060006101208a8c03121561413257600080fd5b61413b8a613c1f565b985060208a01356001600160401b038082111561415757600080fd5b6141638d838e01613ead565b995060408c013591508082111561417957600080fd5b6141858d838e01613ead565b985060608c013591508082111561419b57600080fd5b6141a78d838e01613ead565b975060808c01359150808211156141bd57600080fd5b506141ca8c828d01613ff5565b9550506141d960a08b01613c1f565b935060c08a013592506141ee60e08b01613c1f565b91506141fd6101008b01613c1f565b90509295985092959850929598565b60006020828403121561421e57600080fd5b81356001600160401b0381111561423457600080fd5b61424084828501613ead565b949350505050565b60008060006060848603121561425d57600080fd5b8335925061426d60208501613c1f565b9150604084013590509250925092565b6000806040838503121561429057600080fd5b61429983613c1f565b9150602083013580151581146142ae57600080fd5b809150509250929050565b600080602083850312156142cc57600080fd5b82356001600160401b03808211156142e357600080fd5b818501915085601f8301126142f757600080fd5b81358181111561430657600080fd5b8660208260051b850101111561431b57600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561438257603f19888603018452614370858351613cbc565b94509285019290850190600101614354565b5092979650505050505050565b602081526143a96020820183516001600160a01b03169052565b60208201516040820152600060408301516143cf60608401826001600160801b03169052565b5060608301516001600160801b03811660808401525060808301516001600160801b03811660a08401525060a08301516001600160801b03811660c08401525060c083015160e083015260e08301516101008181850152808501519150506101406101208181860152614446610160860184613cbc565b9501519301929092525090919050565b6000806040838503121561446957600080fd5b61447283613c1f565b9150613fec60208401613c1f565b6000806000806000806000806000806101208b8d0312156144a057600080fd5b6144a98b613c1f565b995060208b013598506144be60408c01613d2f565b97506144cc60608c01613d2f565b96506144da60808c01613d2f565b95506144e860a08c01613d2f565b945060c08b0135935060e08b013592506101008b01356001600160401b038082111561451357600080fd5b818d0191508d601f83011261452757600080fd5b81358181111561453657600080fd5b8e602082850101111561454857600080fd5b6020830194508093505050509295989b9194979a5092959850565b600080600080600060a0868803121561457b57600080fd5b61458486613c1f565b945061459260208701613c1f565b9350604086013592506060860135915060808601356001600160401b038111156145bb57600080fd5b613fbc88828901613ead565b60008060008060008060008060006101208a8c0312156145e657600080fd5b893598506145f660208b01613c1f565b975060408a0135965061460b60608b01613d2f565b955061461960808b01613d2f565b945061462760a08b01613d2f565b935061463560c08b01613d2f565b925060e08a013591506101008a013590509295985092959850929598565b60006101a0820190508251825260208301516020830152604083015161468460408401826001600160a01b03169052565b50606083015161469f60608401826001600160a01b03169052565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151818401525061014080840151818401525061016080840151818401525061018080840151818401525092915050565b600181811c9082168061471e57607f821691505b602082108103611b5457634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a7057610a70614766565b8082028115828204841417610a7057610a70614766565b6000826147c357634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161487657614876614766565b5060010190565b601f82111561193957600081815260208120601f850160051c810160208610156148a45750805b601f850160051c820191505b81811015612ae5578281556001016148b0565b81516001600160401b038111156148dc576148dc613dd7565b6148f0816148ea845461470a565b8461487d565b602080601f831160018114614925576000841561490d5750858301515b600019600386901b1c1916600185901b178555612ae5565b600085815260208120601f198616915b8281101561495457888601518255948401946001909101908401614935565b50858210156149725787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115610a7057610a70614766565b600060208083850312156149a857600080fd5b82516001600160401b038111156149be57600080fd5b8301601f810185136149cf57600080fd5b80516149da81613e19565b6040516149e78282613ded565b82815260059290921b8301840191848101915087831115614a0757600080fd5b928401925b82841015614a2557835182529284019290840190614a0c565b979650505050505050565b8381526001600160a01b0383166020820152606060408201819052600090613176908301846140c5565b6000808335601e19843603018112614a7157600080fd5b8301803591506001600160401b03821115614a8b57600080fd5b602001915036819003821315614aa057600080fd5b9250929050565b60208082526021908201527f496e76616c69642072657761726420636f6c6c656374696f6e206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f4974656d7320706572207061636b206d75737420626520677265617465722074604082015264068616e20360dc1b606082015260800190565b6001600160401b03831115614b4457614b44613dd7565b614b5883614b52835461470a565b8361487d565b6000601f841160018114614b8c5760008515614b745750838201355b600019600387901b1c1916600186901b178355610ddc565b600083815260209020601f19861690835b82811015614bbd5786850135825560209485019460019092019101614b9d565b5086821015614bda5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b88815260006001600160801b03808a166020840152808916604084015260e060608401528660e0840152610100878982860137600084890182015260808401969096529390931660a082015260c0810191909152601f909301601f19169092010195945050505050565b7402832b936b4b9b9b4b7b7399d1030b1b1b7bab73a1605d1b815260008351614c86816015850160208801613c98565b7001034b99036b4b9b9b4b733903937b6329607d1b6015918401918201528351614cb7816026840160208801613c98565b01602601949350505050565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000614d6560408301856140c5565b828103602084015261317681856140c5565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b604081526000614dd56040830185613cbc565b82810360208401526131768185613cbc565b60008251614df9818460208701613c98565b9190910192915050565b600081614e1257614e12614766565b506000190190565b6001600160a01b0386811682528516602082015260a060408201819052600090614e46908301866140c5565b8281036060840152614e5881866140c5565b90508281036080840152614e6c8185613cbc565b98975050505050505050565b600060208284031215614e8a57600080fd5b815161346381613c65565b600060033d11156135bc5760046000803e5060005160e01c90565b600060443d1015614ebe5790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715614eed57505050505090565b8285019150815181811115614f055750505050505090565b843d8701016020828501011115614f1f5750505050505090565b614f2e60208286010187613ded565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090614a2590830184613cbc56fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220441aaaebc8fe0d2ae43cee0c38b5ff242913a60ded698b4e79347495300d263564736f6c63430008140033