[ { "inputs": [ { "internalType": "address", "name": "_template", "type": "address" }, { "internalType": "address", "name": "_whitelist", "type": "address" }, { "internalType": "address", "name": "_feeController", "type": "address" }, { "internalType": "address", "name": "_descriptor", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "ERC721P_DeadlineExpired", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" } ], "name": "ERC721P_InvalidSignature", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC721P_NotTokenOwner", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "VF_DoesNotExist", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "requiredMintFee", "type": "uint256" } ], "name": "VF_InsufficientMintFee", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "VF_NoTransferWithdrawEnabled", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "VF_TokenIdOutOfBounds", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "addressType", "type": "string" } ], "name": "VF_ZeroAddress", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "ClaimFees", "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": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "descriptor", "type": "address" } ], "name": "SetDescriptor", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "vault", "type": "address" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" } ], "name": "VaultCreated", "type": "event" }, { "inputs": [], "name": "ADMIN_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": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "FEE_CLAIMER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "RESOURCE_MANAGER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "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" } ], "name": "claimFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "descriptor", "outputs": [ { "internalType": "contract INFTDescriptor", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeController", "outputs": [ { "internalType": "contract IFeeController", "name": "", "type": "address" } ], "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": "uint256", "name": "index", "type": "uint256" } ], "name": "getRoleMember", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleMemberCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "to", "type": "address" } ], "name": "initializeBundle", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "instanceAt", "outputs": [ { "internalType": "address", "name": "instance", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "instanceAtIndex", "outputs": [ { "internalType": "address", "name": "instance", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "instanceCount", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "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": "address", "name": "instance", "type": "address" } ], "name": "isInstance", "outputs": [ { "internalType": "bool", "name": "validity", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "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": "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": "address", "name": "_descriptor", "type": "address" } ], "name": "setDescriptor", "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": [], "name": "template", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenOfOwnerByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "name": "whitelist", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
6101a06040527f48d39b37a35214940203bbbd4f383519797769b13d936f387d89430afef27688610120523480156200003757600080fd5b5060405162003810380380620038108339810160408190526200005a9162000562565b6040518060400160405280600b81526020016a105cdcd95d0815985d5b1d60aa1b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600b81526020016a105cdcd95d0815985d5b1d60aa1b8152506040518060400160405280600281526020016120ab60f11b8152508160009081620000e9919062000663565b506001620000f8828262000663565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250506001600160a01b038416620001cd57604051632c6216ab60e01b815260206004820152600860248201526774656d706c61746560c01b60448201526064015b60405180910390fd5b6001600160a01b0383166200021257604051632c6216ab60e01b81526020600482015260096024820152681dda1a5d195b1a5cdd60ba1b6044820152606401620001c4565b6001600160a01b0382166200025b57604051632c6216ab60e01b815260206004820152600d60248201526c3332b2a1b7b73a3937b63632b960991b6044820152606401620001c4565b6001600160a01b038116620002a157604051632c6216ab60e01b815260206004820152600a6024820152693232b9b1b934b83a37b960b11b6044820152606401620001c4565b6001600160a01b038481166101405283811661016052600d80546001600160a01b031916838316179055821661018052620002ec600080516020620037d08339815191523362000391565b62000307600080516020620037d083398151915280620003d4565b62000322600080516020620037f08339815191523362000391565b6200034c600080516020620037f0833981519152600080516020620037d0833981519152620003d4565b620003877fa08df8e9779f89161e9d4aa6eaffa8e1f95bfbc9b9812ee5dec3c3b19090625d600080516020620037d0833981519152620003d4565b505050506200072f565b620003a882826200041f60201b620014101760201c565b6000828152600860209081526040909120620003cf9183906200141e6200042f821b17901c565b505050565b600082815260076020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b6200042b82826200044f565b5050565b600062000446836001600160a01b038416620004f3565b90505b92915050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff166200042b5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200053c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000449565b50600062000449565b80516001600160a01b03811681146200055d57600080fd5b919050565b600080600080608085870312156200057957600080fd5b620005848562000545565b9350620005946020860162000545565b9250620005a46040860162000545565b9150620005b46060860162000545565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005ea57607f821691505b6020821081036200060b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003cf57600081815260208120601f850160051c810160208610156200063a5750805b601f850160051c820191505b818110156200065b5782815560010162000646565b505050505050565b81516001600160401b038111156200067f576200067f620005bf565b6200069781620006908454620005d5565b8462000611565b602080601f831160018114620006cf5760008415620006b65750858301515b600019600386901b1c1916600185901b1785556200065b565b600085815260208120601f198616915b828110156200070057888601518255948401946001909101908401620006df565b50858210156200071f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516101205161014051610160516101805161301b620007b5600039600081816105390152610dd901526000818161067501526119a501526000818161058d015261196a015260006112e1015260006118370152600061188601526000611861015260006117e60152600061180e015261301b6000f3fe6080604052600436106102465760003560e01c80636352211e1161013957806395d89b41116100b6578063ca15c8731161007a578063ca15c87314610721578063d505accf14610741578063d547741f14610761578063e985e9c514610781578063ec56c716146107a1578063f93554ae146107b657600080fd5b806395d89b4114610697578063a217fddf146106ac578063a22cb465146106c1578063b88d4fde146106e1578063c87b56dd1461070157600080fd5b806375b238fc116100fd57806375b238fc146105cf5780637ecebe00146106035780639010d07c1461062357806391d148541461064357806393e59dc11461066357600080fd5b80636352211e146105075780636999b377146105275780636b44e6be1461055b5780636f2ddd931461057b57806370a08231146105af57600080fd5b80632f2ff15d116101c757806342842e0e1161018b57806342842e0e1461046057806346f5a44c146104805780634f6ccce7146104b45780635afe31e0146104d4578063631e1c6c146104f457600080fd5b80632f2ff15d146103cb5780632f745c59146103eb578063303e74df1461040b5780633644e5151461042b57806336568abe1461044057600080fd5b806311d8293e1161020e57806311d8293e1461031c57806315a0ea6a1461033c57806318160ddd1461035c57806323b872dd1461037b578063248a9ca31461039b57600080fd5b806301b9a3971461024b57806301ffc9a71461026d57806306fdde03146102a2578063081812fc146102c4578063095ea7b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004612984565b6107ea565b005b34801561027957600080fd5b5061028d6102883660046129b5565b6108ab565b60405190151581526020015b60405180910390f35b3480156102ae57600080fd5b506102b76108bc565b6040516102999190612a22565b3480156102d057600080fd5b506102e46102df366004612a35565b61094e565b6040516001600160a01b039091168152602001610299565b34801561030857600080fd5b5061026b610317366004612a4e565b6109d6565b34801561032857600080fd5b506102e4610337366004612a35565b610aeb565b34801561034857600080fd5b5061026b610357366004612984565b610b1a565b34801561036857600080fd5b50600b545b604051908152602001610299565b34801561038757600080fd5b5061026b610396366004612a78565b610c01565b3480156103a757600080fd5b5061036d6103b6366004612a35565b60009081526007602052604090206001015490565b3480156103d757600080fd5b5061026b6103e6366004612ab4565b610c32565b3480156103f757600080fd5b5061036d610406366004612a4e565b610c54565b34801561041757600080fd5b50600d546102e4906001600160a01b031681565b34801561043757600080fd5b5061036d610cea565b34801561044c57600080fd5b5061026b61045b366004612ab4565b610cf9565b34801561046c57600080fd5b5061026b61047b366004612a78565b610d1b565b34801561048c57600080fd5b5061036d7fa08df8e9779f89161e9d4aa6eaffa8e1f95bfbc9b9812ee5dec3c3b19090625d81565b3480156104c057600080fd5b5061036d6104cf366004612a35565b610d36565b3480156104e057600080fd5b506102e46104ef366004612a35565b610dc9565b61036d610502366004612984565b610dd4565b34801561051357600080fd5b506102e4610522366004612a35565b610f1d565b34801561053357600080fd5b506102e47f000000000000000000000000000000000000000000000000000000000000000081565b34801561056757600080fd5b5061028d610576366004612984565b610f94565b34801561058757600080fd5b506102e47f000000000000000000000000000000000000000000000000000000000000000081565b3480156105bb57600080fd5b5061036d6105ca366004612984565b610fa8565b3480156105db57600080fd5b5061036d7fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec4281565b34801561060f57600080fd5b5061036d61061e366004612984565b61102f565b34801561062f57600080fd5b506102e461063e366004612ae0565b61104d565b34801561064f57600080fd5b5061028d61065e366004612ab4565b61106c565b34801561066f57600080fd5b506102e47f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a357600080fd5b506102b7611097565b3480156106b857600080fd5b5061036d600081565b3480156106cd57600080fd5b5061026b6106dc366004612b10565b6110a6565b3480156106ed57600080fd5b5061026b6106fc366004612bb6565b61116a565b34801561070d57600080fd5b506102b761071c366004612a35565b6111a2565b34801561072d57600080fd5b5061036d61073c366004612a35565b611243565b34801561074d57600080fd5b5061026b61075c366004612c61565b61125a565b34801561076d57600080fd5b5061026b61077c366004612ab4565b6113cd565b34801561078d57600080fd5b5061028d61079c366004612cd4565b6113d7565b3480156107ad57600080fd5b5061036d611405565b3480156107c257600080fd5b5061036d7fdc43895cfc822a45cb77eccebfff1143d490fffb619f1141baf172b83c53ecf981565b7fa08df8e9779f89161e9d4aa6eaffa8e1f95bfbc9b9812ee5dec3c3b19090625d6108158133611433565b6001600160a01b03821661085e57604051632c6216ab60e01b815260206004820152600a6024820152693232b9b1b934b83a37b960b11b60448201526064015b60405180910390fd5b600d80546001600160a01b0319166001600160a01b03841690811790915560405133907f7bf0986207bb712ddecd4a4710d515a2b1a1daac7c309dcc1d33544189c6ade990600090a35050565b60006108b682611497565b92915050565b6060600080546108cb90612cfe565b80601f01602080910402602001604051908101604052809291908181526020018280546108f790612cfe565b80156109445780601f1061091957610100808354040283529160200191610944565b820191906000526020600020905b81548152906001019060200180831161092757829003601f168201915b5050505050905090565b6000610959826114bc565b6109ba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b506000908152600460205260409020546001600160a01b031690565b60006109e182610f1d565b9050806001600160a01b0316836001600160a01b031603610a4e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610855565b336001600160a01b0382161480610a6a5750610a6a81336113d7565b610adc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610855565b610ae683836114d9565b505050565b6000610af6826114bc565b610b16576040516335ffb4e360e11b815260048101839052602401610855565b5090565b7fdc43895cfc822a45cb77eccebfff1143d490fffb619f1141baf172b83c53ecf9610b458133611433565b6001600160a01b038216610b8157604051632c6216ab60e01b8152602060048201526002602482015261746f60f01b6044820152606401610855565b60405147906001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610bb9573d6000803e3d6000fd5b50604080516001600160a01b0385168152602081018390527f1fdd0020358893559713def8b42cad661ffbc755d1a264594027921442bb56a0910160405180910390a1505050565b610c0b3382611547565b610c275760405162461bcd60e51b815260040161085590612d32565b610ae6838383611611565b610c3c82826117bc565b6000828152600860205260409020610ae6908261141e565b6000610c5f83610fa8565b8210610cc15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610855565b506001600160a01b03919091166000908152600960209081526040808320938352929052205490565b6000610cf46117e2565b905090565b610d0382826118d4565b6000828152600860205260409020610ae6908261194e565b610ae68383836040518060200160405280600081525061116a565b6000610d41600b5490565b8210610da45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610855565b600b8281548110610db757610db7612d83565b90600052602060002001549050919050565b60006108b682610d36565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632030a9416040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e599190612d99565b67ffffffffffffffff16905080341015610e8f57604051636082d6a360e01b815234600482015260248101829052604401610855565b6000610e99611963565b9050610eae84826001600160a01b0316611a10565b81341115610eca57610eca610ec38334612dd9565b3390611a2a565b604080516001600160a01b038084168252861660208201527f5d9c31ffa0fecffd7cf379989a3c7af252f0335e0d2a1320b55245912c781f53910160405180910390a16001600160a01b03169392505050565b6000818152600260205260408120546001600160a01b0316806108b65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610855565b60006108b6826001600160a01b03166114bc565b60006001600160a01b0382166110135760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610855565b506001600160a01b031660009081526003602052604090205490565b6001600160a01b0381166000908152600660205260408120546108b6565b60008281526008602052604081206110659083611b43565b9392505050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546108cb90612cfe565b336001600160a01b038316036110fe5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610855565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111743383611547565b6111905760405162461bcd60e51b815260040161085590612d32565b61119c84848484611b4f565b50505050565b60606111ad826114bc565b6111cc5760405162b6599b60e11b815260048101839052602401610855565b600d5460405163e9dc637560e01b8152306004820152602481018490526001600160a01b039091169063e9dc637590604401600060405180830381865afa15801561121b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108b69190810190612dec565b60008181526008602052604081206108b690611b82565b8342111561127e576040516306f8503160e31b815260048101859052602401610855565b600061128986610f1d565b9050806001600160a01b0316886001600160a01b0316141580156112b457506112b281896113d7565b155b156112dd5760405163142ec3cf60e11b81526001600160a01b0389166004820152602401610855565b60007f000000000000000000000000000000000000000000000000000000000000000089898961130c8d611b8c565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e001604051602081830303815290604052805190602001209050600061136782611bb4565b9050600061137782888888611c02565b90508a6001600160a01b0316816001600160a01b0316146113b657604051635722542f60e01b81526001600160a01b0382166004820152602401610855565b6113c08a8a6114d9565b5050505050505050505050565b610d038282611c2a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000610cf4600b5490565b61141a8282611c50565b5050565b6000611065836001600160a01b038416611cd6565b61143d828261106c565b61141a57611455816001600160a01b03166014611d25565b611460836020611d25565b604051602001611471929190612e63565b60408051601f198184030181529082905262461bcd60e51b825261085591600401612a22565b60006001600160e01b0319821663780e9d6360e01b14806108b657506108b682611ec1565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061150e82610f1d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611552826114bc565b6115b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b60006115be83610f1d565b9050806001600160a01b0316846001600160a01b031614806115f95750836001600160a01b03166115ee8461094e565b6001600160a01b0316145b80611609575061160981856113d7565b949350505050565b826001600160a01b031661162482610f1d565b6001600160a01b03161461168c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610855565b6001600160a01b0382166116ee5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610855565b6116f9838383611ee6565b6117046000826114d9565b6001600160a01b038316600090815260036020526040812080546001929061172d908490612dd9565b90915550506001600160a01b038216600090815260036020526040812080546001929061175b908490612ed8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600760205260409020600101546117d88133611433565b610ae68383611c50565b60007f0000000000000000000000000000000000000000000000000000000000000000460361183057507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b03811633146119445760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610855565b61141a8282611f79565b6000611065836001600160a01b038416611fe0565b600061198e7f00000000000000000000000000000000000000000000000000000000000000006120d3565b60405163189acdbd60e31b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156119f557600080fd5b505af1158015611a09573d6000803e3d6000fd5b5050505090565b61141a828260405180602001604052806000815250612170565b80471015611a7a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610855565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ac7576040519150601f19603f3d011682016040523d82523d6000602084013e611acc565b606091505b5050905080610ae65760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610855565b600061106583836121a3565b611b5a848484611611565b611b66848484846121cd565b61119c5760405162461bcd60e51b815260040161085590612eeb565b60006108b6825490565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b60006108b6611bc16117e2565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611c13878787876122cb565b91509150611c20816123b8565b5095945050505050565b600082815260076020526040902060010154611c468133611433565b610ae68383611f79565b611c5a828261106c565b61141a5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611c923390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611d1d575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108b6565b5060006108b6565b60606000611d34836002612f3d565b611d3f906002612ed8565b67ffffffffffffffff811115611d5757611d57612b47565b6040519080825280601f01601f191660200182016040528015611d81576020820181803683370190505b509050600360fc1b81600081518110611d9c57611d9c612d83565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dcb57611dcb612d83565b60200101906001600160f81b031916908160001a9053506000611def846002612f3d565b611dfa906001612ed8565b90505b6001811115611e72576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e2e57611e2e612d83565b1a60f81b828281518110611e4457611e44612d83565b60200101906001600160f81b031916908160001a90535060049490941c93611e6b81612f54565b9050611dfd565b5083156110655760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610855565b60006001600160e01b03198216635a05180f60e01b14806108b657506108b682612571565b6000819050806001600160a01b0316632287e96a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4d9190612f6b565b15611f6e57604051632a2dfa8360e21b815260048101839052602401610855565b61119c848484612596565b611f83828261106c565b1561141a5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156120c9576000612004600183612dd9565b855490915060009061201890600190612dd9565b905081811461207d57600086600001828154811061203857612038612d83565b906000526020600020015490508087600001848154811061205b5761205b612d83565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061208e5761208e612f88565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108b6565b60009150506108b6565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b03811661216b5760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610855565b919050565b61217a838361264e565b61218760008484846121cd565b610ae65760405162461bcd60e51b815260040161085590612eeb565b60008260000182815481106121ba576121ba612d83565b9060005260206000200154905092915050565b60006001600160a01b0384163b156122c357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612211903390899088908890600401612f9e565b6020604051808303816000875af192505050801561224c575060408051601f3d908101601f1916820190925261224991810190612fdb565b60015b6122a9573d80801561227a576040519150601f19603f3d011682016040523d82523d6000602084013e61227f565b606091505b5080516000036122a15760405162461bcd60e51b815260040161085590612eeb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611609565b506001611609565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561230257506000905060036123af565b8460ff16601b1415801561231a57508460ff16601c14155b1561232b57506000905060046123af565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561237f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123a8576000600192509250506123af565b9150600090505b94509492505050565b60008160048111156123cc576123cc612ff8565b036123d45750565b60018160048111156123e8576123e8612ff8565b036124355760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610855565b600281600481111561244957612449612ff8565b036124965760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610855565b60038160048111156124aa576124aa612ff8565b036125025760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610855565b600481600481111561251657612516612ff8565b0361256e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610855565b50565b60006001600160e01b03198216637965db0b60e01b14806108b657506108b68261278d565b6001600160a01b0383166125f1576125ec81600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b612614565b816001600160a01b0316836001600160a01b0316146126145761261483826127dd565b6001600160a01b03821661262b57610ae68161287a565b826001600160a01b0316826001600160a01b031614610ae657610ae68282612929565b6001600160a01b0382166126a45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610855565b6126ad816114bc565b156126fa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610855565b61270660008383611ee6565b6001600160a01b038216600090815260036020526040812080546001929061272f908490612ed8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160e01b031982166380ac58cd60e01b14806127be57506001600160e01b03198216635b5e139f60e01b145b806108b657506301ffc9a760e01b6001600160e01b03198316146108b6565b600060016127ea84610fa8565b6127f49190612dd9565b6000838152600a6020526040902054909150808214612847576001600160a01b03841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600981528383209183525290812055565b600b5460009061288c90600190612dd9565b6000838152600c6020526040812054600b80549394509092849081106128b4576128b4612d83565b9060005260206000200154905080600b83815481106128d5576128d5612d83565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061290d5761290d612f88565b6001900381819060005260206000200160009055905550505050565b600061293483610fa8565b6001600160a01b0390931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b80356001600160a01b038116811461216b57600080fd5b60006020828403121561299657600080fd5b6110658261296d565b6001600160e01b03198116811461256e57600080fd5b6000602082840312156129c757600080fd5b81356110658161299f565b60005b838110156129ed5781810151838201526020016129d5565b50506000910152565b60008151808452612a0e8160208601602086016129d2565b601f01601f19169290920160200192915050565b60208152600061106560208301846129f6565b600060208284031215612a4757600080fd5b5035919050565b60008060408385031215612a6157600080fd5b612a6a8361296d565b946020939093013593505050565b600080600060608486031215612a8d57600080fd5b612a968461296d565b9250612aa46020850161296d565b9150604084013590509250925092565b60008060408385031215612ac757600080fd5b82359150612ad76020840161296d565b90509250929050565b60008060408385031215612af357600080fd5b50508035926020909101359150565b801515811461256e57600080fd5b60008060408385031215612b2357600080fd5b612b2c8361296d565b91506020830135612b3c81612b02565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612b8657612b86612b47565b604052919050565b600067ffffffffffffffff821115612ba857612ba8612b47565b50601f01601f191660200190565b60008060008060808587031215612bcc57600080fd5b612bd58561296d565b9350612be36020860161296d565b925060408501359150606085013567ffffffffffffffff811115612c0657600080fd5b8501601f81018713612c1757600080fd5b8035612c2a612c2582612b8e565b612b5d565b818152886020838501011115612c3f57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080600080600080600060e0888a031215612c7c57600080fd5b612c858861296d565b9650612c936020890161296d565b95506040880135945060608801359350608088013560ff81168114612cb757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612ce757600080fd5b612cf08361296d565b9150612ad76020840161296d565b600181811c90821680612d1257607f821691505b602082108103611bae57634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612dab57600080fd5b815167ffffffffffffffff8116811461106557600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156108b6576108b6612dc3565b600060208284031215612dfe57600080fd5b815167ffffffffffffffff811115612e1557600080fd5b8201601f81018413612e2657600080fd5b8051612e34612c2582612b8e565b818152856020838501011115612e4957600080fd5b612e5a8260208301602086016129d2565b95945050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612e9b8160178501602088016129d2565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612ecc8160288401602088016129d2565b01602801949350505050565b808201808211156108b6576108b6612dc3565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b80820281158282048414176108b6576108b6612dc3565b600081612f6357612f63612dc3565b506000190190565b600060208284031215612f7d57600080fd5b815161106581612b02565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fd1908301846129f6565b9695505050505050565b600060208284031215612fed57600080fd5b81516110658161299f565b634e487b7160e01b600052602160045260246000fdfea164736f6c6343000812000adf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42dc43895cfc822a45cb77eccebfff1143d490fffb619f1141baf172b83c53ecf9000000000000000000000000b56a5ccad374c0d7fb4820322cc336fec5d1424a00000000000000000000000028992ca7ba49a83f3bc391e9312730de78bf51ca000000000000000000000000f764442856eb3fe68a0828e07246a4b395e800fa000000000000000000000000ad8a07804389842758d215abad7c722b6ba79f22