[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "ERC721AddressZeroIsNotaValidOwner", "type": "error" }, { "inputs": [], "name": "ERC721ApprovalToCurrentOwner", "type": "error" }, { "inputs": [], "name": "ERC721ApproveCallerIsNotOwnerNorApprovedForAll", "type": "error" }, { "inputs": [], "name": "ERC721ApproveToCaller", "type": "error" }, { "inputs": [], "name": "ERC721InvalidTokenId", "type": "error" }, { "inputs": [], "name": "ERC721MintToTheZeroAddress", "type": "error" }, { "inputs": [], "name": "ERC721NotApprovedOrOwner", "type": "error" }, { "inputs": [], "name": "ERC721TokenAlreadyMinted", "type": "error" }, { "inputs": [], "name": "ERC721TransferFromIncorrectOwner", "type": "error" }, { "inputs": [], "name": "ERC721TransferToNonReceiverImplementer", "type": "error" }, { "inputs": [], "name": "ERC721TransferToTheZeroAddress", "type": "error" }, { "inputs": [], "name": "RMRKChildAlreadyExists", "type": "error" }, { "inputs": [], "name": "RMRKChildIndexOutOfRange", "type": "error" }, { "inputs": [], "name": "RMRKInvalidChildReclaim", "type": "error" }, { "inputs": [], "name": "RMRKIsNotContract", "type": "error" }, { "inputs": [], "name": "RMRKMaxPendingChildrenReached", "type": "error" }, { "inputs": [], "name": "RMRKNestingTooDeep", "type": "error" }, { "inputs": [], "name": "RMRKNestingTransferToDescendant", "type": "error" }, { "inputs": [], "name": "RMRKNestingTransferToNonRMRKNestingImplementer", "type": "error" }, { "inputs": [], "name": "RMRKNestingTransferToSelf", "type": "error" }, { "inputs": [], "name": "RMRKNotApprovedOrDirectOwner", "type": "error" }, { "inputs": [], "name": "RMRKPendingChildIndexOutOfRange", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "AllChildrenRejected", "type": "event" }, { "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": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "childAddress", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "childId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "childIndex", "type": "uint256" } ], "name": "ChildAccepted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "childAddress", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "childId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "childIndex", "type": "uint256" } ], "name": "ChildProposed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "childAddress", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "childId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "childIndex", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "fromPending", "type": "bool" } ], "name": "ChildUnnested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": 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": "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" }, { "inputs": [], "name": "BRIDGE_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UPDATER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "acceptChild", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "parentTokenId", "type": "uint256" }, { "internalType": "uint256", "name": "childTokenId", "type": "uint256" } ], "name": "addChild", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "tokens", "type": "uint256[]" }, { "internalType": "string[]", "name": "metadataURI", "type": "string[]" } ], "name": "bridgeNFTs", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "burnChild", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "parentTokenId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "childOf", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "contractAddress", "type": "address" } ], "internalType": "struct IRMRKNesting.Child", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "parentTokenId", "type": "uint256" } ], "name": "childrenOf", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "contractAddress", "type": "address" } ], "internalType": "struct IRMRKNesting.Child[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "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": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "metadataByTokenId", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "destinationId", "type": "uint256" } ], "name": "nestTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "parentTokenId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "pendingChildOf", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "contractAddress", "type": "address" } ], "internalType": "struct IRMRKNesting.Child", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "parentTokenId", "type": "uint256" } ], "name": "pendingChildrenOf", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "contractAddress", "type": "address" } ], "internalType": "struct IRMRKNesting.Child[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "childAddress", "type": "address" }, { "internalType": "uint256", "name": "childTokenId", "type": "uint256" } ], "name": "reclaimChild", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "rejectAllChildren", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "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" } ], "name": "rmrkOwnerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "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": [], "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": "uint256[]", "name": "tokenIds", "type": "uint256[]" }, { "internalType": "string[]", "name": "metadataURIs", "type": "string[]" } ], "name": "setNFTsMetadata", "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": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "bool", "name": "isPending", "type": "bool" } ], "name": "unnestChild", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b506040516200367f3803806200367f833981016040819052620000349162000260565b81818181600062000046838262000359565b50600162000055828262000359565b5050505050620000746200006e6200008960201b60201c565b6200008d565b62000081600033620000df565b505062000425565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620000eb8282620000ef565b5050565b6000828152600c602090815260408083206001600160a01b038516845290915290205460ff16620000eb576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200014f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001bb57600080fd5b81516001600160401b0380821115620001d857620001d862000193565b604051601f8301601f19908116603f0116810190828211818310171562000203576200020362000193565b816040528381526020925086838588010111156200022057600080fd5b600091505b8382101562000244578582018301518183018401529082019062000225565b83821115620002565760008385830101525b9695505050505050565b600080604083850312156200027457600080fd5b82516001600160401b03808211156200028c57600080fd5b6200029a86838701620001a9565b93506020850151915080821115620002b157600080fd5b50620002c085828601620001a9565b9150509250929050565b600181811c90821680620002df57607f821691505b6020821081036200030057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035457600081815260208120601f850160051c810160208610156200032f5750805b601f850160051c820191505b8181101562000350578281556001016200033b565b5050505b505050565b81516001600160401b0381111562000375576200037562000193565b6200038d81620003868454620002ca565b8462000306565b602080601f831160018114620003c55760008415620003ac5750858301515b600019600386901b1c1916600185901b17855562000350565b600085815260208120601f198616915b82811015620003f657888601518255948401946001909101908401620003d5565b5085821015620004155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61324a80620004356000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80636f19951c1161013b578063b3556b8e116100b8578063e4d5127e1161007c578063e4d5127e1461057b578063e5f2e9e41461058e578063e985e9c5146105a1578063ed45ca9e146105b4578063f2fde38b146105c757600080fd5b8063b3556b8e14610508578063b5bfddea1461051b578063b88d4fde14610542578063c87b56dd14610555578063d547741f1461056857600080fd5b806395d89b41116100ff57806395d89b4114610498578063a217fddf146104a0578063a22cb465146104a8578063a898e364146104bb578063afc523f6146104ce57600080fd5b80636f19951c1461044657806370a0823114610459578063715018a61461046c5780638da5cb5b1461047457806391d148541461048557600080fd5b806335440faf116101c957806347e633801161018d57806347e63380146103d35780635a481474146103fa57806360e45f661461040d5780636352211e14610420578063666d36d31461043357600080fd5b806335440faf1461036757806336568abe1461037a57806342842e0e1461038d57806342966c68146103a057806344ec9344146103b357600080fd5b806323b872dd1161021057806323b872dd146102dd578063248a9ca3146102f05780632f2ff15d146103215780632f32f937146103345780632fb59acf1461035457600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b557806322321e61146102ca575b600080fd5b61026061025b366004612850565b6105da565b60405190151581526020015b60405180910390f35b61027d610647565b60405161026c91906128c5565b61029d6102983660046128d8565b6106d9565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004612906565b61071f565b005b6102c86102d8366004612940565b6107ab565b6102c86102eb36600461298a565b6107c8565b6103136102fe3660046128d8565b6000908152600c602052604090206001015490565b60405190815260200161026c565b6102c861032f3660046129cb565b6107e3565b6103476103423660046129fb565b610809565b60405161026c9190612a1d565b6102c8610362366004612a3d565b6108a2565b6102c86103753660046129fb565b610a5f565b6102c86103883660046129cb565b610b9c565b6102c861039b36600461298a565b610c1f565b6102c86103ae3660046128d8565b610c3a565b6103c66103c13660046128d8565b610d6d565b60405161026c9190612a64565b6103137f73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285dab81565b61027d6104083660046128d8565b610dec565b6102c861041b366004612c87565b610e86565b61029d61042e3660046128d8565b610f91565b6102c86104413660046129fb565b611021565b6103c66104543660046128d8565b611076565b610313610467366004612ceb565b6110e6565b6102c861112b565b600b546001600160a01b031661029d565b6102606104933660046129cb565b611191565b61027d6111bc565b610313600081565b6102c86104b6366004612d08565b6111cb565b6103476104c93660046129fb565b611260565b6104e16104dc3660046128d8565b6112bd565b604080516001600160a01b039094168452602084019290925215159082015260600161026c565b6102c86105163660046128d8565b61133e565b6103137f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f81565b6102c8610550366004612d36565b61138e565b61027d6105633660046128d8565b6113a4565b6102c86105763660046129cb565b6114ac565b6102c8610589366004612db6565b6114d2565b6102c861059c366004612e2c565b611602565b6102606105af366004612e72565b611618565b6102c86105c23660046129fb565b611646565b6102c86105d5366004612ceb565b61179c565b60006001600160e01b031982166301ffc9a760e01b148061060b57506001600160e01b031982166380ac58cd60e01b145b8061062657506001600160e01b03198216635b5e139f60e01b145b8061064157506001600160e01b0319821663c71287ad60e01b145b92915050565b60606000805461065690612ea0565b80601f016020809104026020016040519081016040528092919081815260200182805461068290612ea0565b80156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b5050505050905090565b60006106e482611867565b6000828152600460205260408120906106fc84610f91565b6001600160a01b0390811682526020820192909252604001600020541692915050565b600061072a82610f91565b9050806001600160a01b0316836001600160a01b03160361075e57604051630591db6d60e01b815260040160405180910390fd5b336001600160a01b0382161480159061077e575061077c8133611618565b155b1561079c57604051634c12315960e11b815260040160405180910390fd5b6107a6838361189f565b505050565b836107b581611918565b6107c18585858561193f565b5050505050565b806107d281611acf565b6107dd848484611af6565b50505050565b6000828152600c60205260409020600101546107ff8133611bf6565b6107a68383611c5a565b60408051808201909152600080825260208201528161082784611076565b51116108465760405163653e642560e11b815260040160405180910390fd5b600083815260076020526040812080548490811061086657610866612eda565b60009182526020918290206040805180820190915260029092020180548252600101546001600160a01b03169181019190915291505092915050565b826108ac81611918565b6001600160a01b0383166000908152600960209081526040808320858452909152902054156108ee57604051633ece094960e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a602090815260408083208584529091529020541561093057604051633ece094960e01b815260040160405180910390fd5b6000806000856001600160a01b031663afc523f6866040518263ffffffff1660e01b815260040161096391815260200190565b606060405180830381865afa158015610980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a49190612ef0565b919450925090506001600160a01b038316301415806109c35750868214155b806109cc575080155b156109ea57604051633ece094960e01b815260040160405180910390fd5b60408051632142170760e11b81523060048201523360248201526044810187905290516001600160a01b038816916342842e0e91606480830192600092919082900301818387803b158015610a3e57600080fd5b505af1158015610a52573d6000803e3d6000fd5b5050505050505050505050565b610a6882611867565b333b610a875760405163b9d3114760e01b815260040160405180910390fd5b60006040518060400160405280838152602001610aa13390565b6001600160a01b0316905290506000610ab984610d6d565b5190506080811015610b3857602082810180516001600160a01b039081166000908152600a84526040808220875183528552808220600190819055898352600886529082208054808301825590835294909120865160029095020193845591519290910180546001600160a01b03191692909116919091179055610b51565b60405163a53c8c0560e01b815260040160405180910390fd5b82336001600160a01b0316857fdfb23fa68267b8a66ca315a36a29889d77a420b34073629782071a4cdd02ba9784604051610b8e91815260200190565b60405180910390a450505050565b6001600160a01b0381163314610c115760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610c1b8282611ce0565b5050565b6107a68383836040518060200160405280600081525061138e565b80610c4481611acf565b6000610c4f836112bd565b505090506000610c5e84610f91565b6001600160a01b03831660009081526003602052604081208054929350600192909190610c8c908490612f49565b90915550610c979050565b610ca260008561189f565b6000610cad85611076565b805190915060005b81811015610ccf57610cc78782611d47565b600101610cb5565b50600086815260066020908152604080832083815560010180546001600160a81b031916905560089091528120610d05916127f3565b6000868152600760205260408120610d1c916127f3565b60008681526004602090815260408083206001600160a01b038716808552925280832080546001600160a01b031916905551889291906000805160206131f5833981519152908390a4505050505050565b6000818152600860209081526040808320805482518185028101850190935280835260609493849084015b82821015610de05760008481526020908190206040805180820190915260028502909101805482526001908101546001600160a01b0316828401529083529092019101610d98565b50929695505050505050565b600d6020526000908152604090208054610e0590612ea0565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3190612ea0565b8015610e7e5780601f10610e5357610100808354040283529160200191610e7e565b820191906000526020600020905b815481529060010190602001808311610e6157829003601f168201915b505050505081565b7f73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285dab610eb18133611bf6565b8151835114610f145760405162461bcd60e51b815260206004820152602960248201527f546f6b656e49647320616e64206d6574616461746155524973206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610c08565b60005b83518161ffff1610156107dd57828161ffff1681518110610f3a57610f3a612eda565b6020026020010151600d6000868461ffff1681518110610f5c57610f5c612eda565b602002602001015181526020019081526020016000209081610f7e9190612fa6565b5080610f8981613066565b915050610f17565b600080600080610fa0856112bd565b9250925092508015611018576040516331a9108f60e11b8152600481018390526001600160a01b03841690636352211e90602401602060405180830381865afa158015610ff1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110159190613087565b92505b50909392505050565b8161102b81611acf565b8161103584611076565b51116110545760405163653e642560e11b815260040160405180910390fd5b61105e8383611d47565b60008381526007602052604090206107a69083611de0565b6000818152600760209081526040808320805482518185028101850190935280835260609493849084018215610de05760008481526020908190206040805180820190915260028502909101805482526001908101546001600160a01b0316828401529083529092019101610d98565b60006001600160a01b03821661110f57604051633bb9143360e11b815260040160405180910390fd5b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146111855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c08565b61118f6000611e9a565b565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461065690612ea0565b6001600160a01b03821633036111f457604051630b7b99b960e21b815260040160405180910390fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60408051808201909152600080825260208201528161127e84610d6d565b511161129d5760405163da22687f60e01b815260040160405180910390fd5b600083815260086020526040812080548490811061086657610866612eda565b60008181526006602090815260408083208151606081018352815481526001909101546001600160a01b038116938201849052600160a01b900460ff1615159181019190915282918291906113255760405163089ba7e160e41b815260040160405180910390fd5b6020810151815160409092015190969195509350915050565b8061134881611918565b600082815260086020526040812061135f916127f3565b60405182907f8ac4a0d65950c3e40448afb2260e2e0ec36ea15644d9b39e37e85472e5f9445190600090a25050565b8161139881611acf565b6107c185858585611eec565b6000818152600660205260409020600101546060906001600160a01b031661140e5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610c08565b6000828152600d60205260409020805461142790612ea0565b80601f016020809104026020016040519081016040528092919081815260200182805461145390612ea0565b80156114a05780601f10611475576101008083540402835291602001916114a0565b820191906000526020600020905b81548152906001019060200180831161148357829003601f168201915b50505050509050919050565b6000828152600c60205260409020600101546114c88133611bf6565b6107a68383611ce0565b7f52ba824bfabc2bcfcdf7f0edbb486ebb05e1836c90e78047efeb949990f72e5f6114fd8133611bf6565b8251825161ffff8216146115535760405162461bcd60e51b815260206004820152601860248201527f4d65746164617461206c656e677468206d69736d6174636800000000000000006044820152606401610c08565b60005b8161ffff168161ffff1610156115fa57838161ffff168151811061157c5761157c612eda565b6020026020010151600d6000878461ffff168151811061159e5761159e612eda565b6020026020010151815260200190815260200160002090816115c09190612fa6565b506115e886868361ffff16815181106115db576115db612eda565b6020026020010151611f20565b806115f281613066565b915050611556565b505050505050565b8161160c81611acf565b6107c185858585611f3a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b8161165081611918565b8161165a84610d6d565b51116116795760405163da22687f60e01b815260040160405180910390fd5b60006116858484611260565b6020808201516001600160a01b03166000908152600982526040808220845183529092522054909150156116cc5760405163188a497360e01b815260040160405180910390fd5b60008481526008602052604090206116e49084611de0565b602081810180516001600160a01b039081166000908152600a84526040808220865183528552808220829055888252600785528082208054600180820183559184528684208851600290920201908155855190820180546001600160a01b03191691861691821790558352600986528183208751845286529181902091909155845192519051878152929391169187917f368600bdce8b2f9bdb235c221e348573e2f531747cb749ecf6cf43fa0e9d8fe89101610b8e565b600b546001600160a01b031633146117f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c08565b6001600160a01b03811661185b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c08565b61186481611e9a565b50565b6000818152600660205260409020600101546001600160a01b03166118645760405163089ba7e160e41b815260040160405180910390fd5b60006118aa82610f91565b60008381526004602090815260408083206001600160a01b038581168086529190935281842080546001600160a01b031916938916938417905590519394508593919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a4505050565b611922338261210d565b611864576040516302728a9d60e41b815260040160405180910390fd5b604080518082019091526000808252602082015281156119a7576119638585611260565b6020808201516001600160a01b03166000908152600a825260408082208451835283528082208290558882526008909252209091506119a29085611de0565b6119f0565b6119b18585610809565b6020808201516001600160a01b031660009081526009825260408082208451835283528082208290558882526007909252209091506119f09085611de0565b6001600160a01b03831615611a705760208101518151604051632142170760e11b81523060048201526001600160a01b03868116602483015260448201929092529116906342842e0e90606401600060405180830381600087803b158015611a5757600080fd5b505af1158015611a6b573d6000803e3d6000fd5b505050505b806000015181602001516001600160a01b0316867fc80f74751c3fe8525f255ff6e710fc9ffe8cc950bd96642622f1ccfeae397aa18786604051611ac09291909182521515602082015260400190565b60405180910390a45050505050565b611ad9338261216c565b611864576040516345f3c98360e11b815260040160405180910390fd5b6000611b01826112bd565b50509050836001600160a01b0316816001600160a01b031614611b375760405163e146af6f60e01b815260040160405180910390fd5b6001600160a01b038316611b5e576040516338f646ff60e21b815260040160405180910390fd5b6001600160a01b0384166000908152600360205260408120805460019290611b87908490612f49565b90915550611b9a905082600085816121ef565b6001600160a01b0383166000908152600360205260408120805460019290611bc39084906130a4565b909155505060405182906001600160a01b0380861691908716906000805160206131f583398151915290600090a46107dd565b611c008282611191565b610c1b57611c18816001600160a01b03166014612266565b611c23836020612266565b604051602001611c349291906130bc565b60408051601f198184030181529082905262461bcd60e51b8252610c08916004016128c5565b611c648282611191565b610c1b576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611c9c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611cea8282611191565b15610c1b576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611d538383610809565b602080820180516001600160a01b0390811660009081526009845260408082208651835290945283812055905183519251630852cd8d60e31b815293945016916342966c6891611da99160040190815260200190565b600060405180830381600087803b158015611dc357600080fd5b505af1158015611dd7573d6000803e3d6000fd5b50505050505050565b81548290611df090600190612f49565b81548110611e0057611e00612eda565b9060005260206000209060020201828281548110611e2057611e20612eda565b600091825260209091208254600290920201908155600191820154910180546001600160a01b0319166001600160a01b039092169190911790558154829080611e6b57611e6b613131565b60008281526020812060026000199093019283020190815560010180546001600160a01b031916905590555050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ef7848484611af6565b611f0384848484612409565b6107dd5760405163bcb5663760e01b815260040160405180910390fd5b610c1b82826040518060200160405280600081525061250b565b6000611f45836112bd565b50509050846001600160a01b0316816001600160a01b031614611f7b5760405163e146af6f60e01b815260040160405180910390fd5b6001600160a01b038416611fa2576040516338f646ff60e21b815260040160405180910390fd5b6001600160a01b03841630148015611fb957508183145b15611fd7576040516304ae5fdd60e41b815260040160405180910390fd5b6001600160a01b0384163b611fff5760405163b9d3114760e01b815260040160405180910390fd5b6040516301ffc9a760e01b815263c71287ad60e01b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa15801561204a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206e9190613147565b61208b57604051636464a3e360e11b815260040160405180910390fd5b61209683858461253f565b6001600160a01b03851660009081526003602052604081208054600192906120bf908490612f49565b909155506120d2905083838660016121ef565b6001600160a01b03841660009081526003602052604081208054600192906120fb9084906130a4565b909155506107c1905083838787612630565b60008061211983610f91565b9050806001600160a01b0316846001600160a01b0316148061214057506121408185611618565b806121645750836001600160a01b0316612159846106d9565b6001600160a01b0316145b949350505050565b600080600061217a846112bd565b50915091508060001461219d57506001600160a01b038481169116149050610641565b816001600160a01b0316856001600160a01b031614806121c257506121c28286611618565b806121e65750846001600160a01b03166121db856106d9565b6001600160a01b0316145b95945050505050565b604080516060810182528481526001600160a01b03808516602080840191825285151584860190815260008a815260069092529481209351845590516001909301805494511515600160a01b026001600160a81b0319909516939092169290921792909217909155612261908561189f565b6107dd565b60606000612275836002613164565b6122809060026130a4565b67ffffffffffffffff81111561229857612298612ac4565b6040519080825280601f01601f1916602001820160405280156122c2576020820181803683370190505b509050600360fc1b816000815181106122dd576122dd612eda565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061230c5761230c612eda565b60200101906001600160f81b031916908160001a9053506000612330846002613164565b61233b9060016130a4565b90505b60018111156123b3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061236f5761236f612eda565b1a60f81b82828151811061238557612385612eda565b60200101906001600160f81b031916908160001a90535060049490941c936123ac81613183565b905061233e565b5083156124025760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c08565b9392505050565b60006001600160a01b0384163b1561250057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061244d90339089908890889060040161319a565b6020604051808303816000875af1925050508015612488575060408051601f3d908101601f19168201909252612485918101906131d7565b60015b6124e6573d8080156124b6576040519150601f19603f3d011682016040523d82523d6000602084013e6124bb565b606091505b5080516000036124de5760405163bcb5663760e01b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612164565b506001949350505050565b61251583836126c9565b6125226000848484612409565b6107a65760405163bcb5663760e01b815260040160405180910390fd5b60005b6064811015612616576000806000856001600160a01b031663afc523f6866040518263ffffffff1660e01b815260040161257e91815260200190565b606060405180830381865afa15801561259b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bf9190612ef0565b925092509250806125d35750505050505050565b6001600160a01b038316301480156125ea57508682145b1561260857604051630399e00d60e21b815260040160405180910390fd5b509093509150600101612542565b5060405163ccc8bb6b60e01b815260040160405180910390fd5b6040516335440faf60e01b8152600481018490526024810185905281906001600160a01b038216906335440faf90604401600060405180830381600087803b15801561267b57600080fd5b505af115801561268f573d6000803e3d6000fd5b5050505084826001600160a01b0316846001600160a01b03166000805160206131f583398151915260405160405180910390a45050505050565b6126d5828260006126ff565b60405181906001600160a01b038416906000906000805160206131f5833981519152908290a45050565b6001600160a01b038316612726576040516325bd6bd360e01b815260040160405180910390fd5b6000828152600660205260409020600101546001600160a01b03161561275f5760405163c5a8d37160e01b815260040160405180910390fd5b6001600160a01b03831660009081526003602052604081208054600192906127889084906130a4565b9091555050604080516060810182528281526001600160a01b039485166020808301918252931515828401908152600095865260069094529190932092518355516001909201805491511515600160a01b026001600160a81b03199092169290931691909117179055565b508054600082556002029060005260206000209081019061186491905b8082111561283657600081556001810180546001600160a01b0319169055600201612810565b5090565b6001600160e01b03198116811461186457600080fd5b60006020828403121561286257600080fd5b81356124028161283a565b60005b83811015612888578181015183820152602001612870565b838111156107dd5750506000910152565b600081518084526128b181602086016020860161286d565b601f01601f19169290920160200192915050565b6020815260006124026020830184612899565b6000602082840312156128ea57600080fd5b5035919050565b6001600160a01b038116811461186457600080fd5b6000806040838503121561291957600080fd5b8235612924816128f1565b946020939093013593505050565b801515811461186457600080fd5b6000806000806080858703121561295657600080fd5b8435935060208501359250604085013561296f816128f1565b9150606085013561297f81612932565b939692955090935050565b60008060006060848603121561299f57600080fd5b83356129aa816128f1565b925060208401356129ba816128f1565b929592945050506040919091013590565b600080604083850312156129de57600080fd5b8235915060208301356129f0816128f1565b809150509250929050565b60008060408385031215612a0e57600080fd5b50508035926020909101359150565b815181526020808301516001600160a01b03169082015260408101610641565b600080600060608486031215612a5257600080fd5b8335925060208401356129ba816128f1565b602080825282518282018190526000919060409081850190868401855b82811015612ab757612aa7848351805182526020908101516001600160a01b0316910152565b9284019290850190600101612a81565b5091979650505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b0357612b03612ac4565b604052919050565b600067ffffffffffffffff821115612b2557612b25612ac4565b5060051b60200190565b600082601f830112612b4057600080fd5b81356020612b55612b5083612b0b565b612ada565b82815260059290921b84018101918181019086841115612b7457600080fd5b8286015b84811015612b8f5780358352918301918301612b78565b509695505050505050565b600067ffffffffffffffff831115612bb457612bb4612ac4565b612bc7601f8401601f1916602001612ada565b9050828152838383011115612bdb57600080fd5b828260208301376000602084830101529392505050565b600082601f830112612c0357600080fd5b81356020612c13612b5083612b0b565b82815260059290921b84018101918181019086841115612c3257600080fd5b8286015b84811015612b8f57803567ffffffffffffffff811115612c565760008081fd5b8701603f81018913612c685760008081fd5b612c79898683013560408401612b9a565b845250918301918301612c36565b60008060408385031215612c9a57600080fd5b823567ffffffffffffffff80821115612cb257600080fd5b612cbe86838701612b2f565b93506020850135915080821115612cd457600080fd5b50612ce185828601612bf2565b9150509250929050565b600060208284031215612cfd57600080fd5b8135612402816128f1565b60008060408385031215612d1b57600080fd5b8235612d26816128f1565b915060208301356129f081612932565b60008060008060808587031215612d4c57600080fd5b8435612d57816128f1565b93506020850135612d67816128f1565b925060408501359150606085013567ffffffffffffffff811115612d8a57600080fd5b8501601f81018713612d9b57600080fd5b612daa87823560208401612b9a565b91505092959194509250565b600080600060608486031215612dcb57600080fd5b8335612dd6816128f1565b9250602084013567ffffffffffffffff80821115612df357600080fd5b612dff87838801612b2f565b93506040860135915080821115612e1557600080fd5b50612e2286828701612bf2565b9150509250925092565b60008060008060808587031215612e4257600080fd5b8435612e4d816128f1565b93506020850135612e5d816128f1565b93969395505050506040820135916060013590565b60008060408385031215612e8557600080fd5b8235612e90816128f1565b915060208301356129f0816128f1565b600181811c90821680612eb457607f821691505b602082108103612ed457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b600080600060608486031215612f0557600080fd5b8351612f10816128f1565b602085015160408601519194509250612f2881612932565b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b600082821015612f5b57612f5b612f33565b500390565b601f8211156107a657600081815260208120601f850160051c81016020861015612f875750805b601f850160051c820191505b818110156115fa57828155600101612f93565b815167ffffffffffffffff811115612fc057612fc0612ac4565b612fd481612fce8454612ea0565b84612f60565b602080601f8311600181146130095760008415612ff15750858301515b600019600386901b1c1916600185901b1785556115fa565b600085815260208120601f198616915b8281101561303857888601518255948401946001909101908401613019565b50858210156130565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff80831681810361307d5761307d612f33565b6001019392505050565b60006020828403121561309957600080fd5b8151612402816128f1565b600082198211156130b7576130b7612f33565b500190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130f481601785016020880161286d565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161312581602884016020880161286d565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561315957600080fd5b815161240281612932565b600081600019048311821515161561317e5761317e612f33565b500290565b60008161319257613192612f33565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131cd90830184612899565b9695505050505050565b6000602082840312156131e957600080fd5b81516124028161283a56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122050037b4f3d4647a810c4a38a3614a3378c2cbcc1803ce51404d0257b9d4a898264736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005437269627300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034352420000000000000000000000000000000000000000000000000000000000