0 txs
0 calls
constructor
constructor()
functions
creatorFeePercent
viewfunction creatorFeePercent() view returns (uint256)
getBuyPrice
viewfunction getBuyPrice(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getBuyPriceAfterFee
viewfunction getBuyPriceAfterFee(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getPrice
purefunction getPrice(uint256 supply, uint256 amount, uint256 totalSupply, uint256 curveFactor, uint256 initialPriceFactor, bool isBuy) pure returns (uint256)
getSellPrice
viewfunction getSellPrice(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getSellPriceAfterFee
viewfunction getSellPriceAfterFee(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getUserNonce
viewfunction getUserNonce(address user) view returns (uint256)
nonces
viewfunction nonces(address) view returns (uint256)
owner
viewfunction owner() view returns (address)
pendingOwner
viewfunction pendingOwner() view returns (address)
protocolFeeDestination
viewfunction protocolFeeDestination() view returns (address)
protocolFeePercent
viewfunction protocolFeePercent() view returns (uint256)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
wearableOperator
viewfunction wearableOperator() view returns (address)
wearables
viewfunction wearables(bytes32) view returns (address creator, string name, string category, string imageURI, tuple factors, uint8 state)
wearablesBalance
viewfunction wearablesBalance(bytes32, address) view returns (uint256)
wearableSigner
viewfunction wearableSigner() view returns (address)
wearablesSupply
viewfunction wearablesSupply(bytes32) view returns (uint256)
acceptOwnership
nonpayablefunction acceptOwnership()
batchSetWearableSalesState
nonpayablefunction batchSetWearableSalesState(bytes32[] wearablesSubjects, uint8 saleState)
buyPrivateWearables
payablefunction buyPrivateWearables(bytes32 wearablesSubject, uint256 amount, bytes signature) payable
buyWearables
payablefunction buyWearables(bytes32 wearablesSubject, address receiver, uint256 amount) payable
createWearable
nonpayablefunction createWearable(tuple params)
initialize
nonpayablefunction initialize(address _wearableOperator, address _signer)
renounceOwnership
nonpayablefunction renounceOwnership()
sellPrivateWearables
payablefunction sellPrivateWearables(bytes32 wearablesSubject, uint256 amount, bytes signature) payable
sellWearables
payablefunction sellWearables(bytes32 wearablesSubject, uint256 amount) payable
setCreatorFeePercent
nonpayablefunction setCreatorFeePercent(uint256 _feePercent)
setProtocolFeeDestination
nonpayablefunction setProtocolFeeDestination(address _feeDestination)
setProtocolFeePercent
nonpayablefunction setProtocolFeePercent(uint256 _feePercent)
setWearableOperator
nonpayablefunction setWearableOperator(address _operator)
setWearableSalesState
nonpayablefunction setWearableSalesState(bytes32 wearablesSubject, uint8 saleState)
setWearableSigner
nonpayablefunction setWearableSigner(address _signer)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
transferWearables
nonpayablefunction transferWearables(bytes32 wearablesSubject, address from, address to, uint256 amount)
upgradeTo
nonpayablefunction upgradeTo(address newImplementation)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
events
AdminChanged
event AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded
event BeaconUpgraded(address indexed beacon)
CreatorFeePercentUpdated
event CreatorFeePercentUpdated(uint256 feePercent)
Initialized
event Initialized(uint8 version)
NonceUpdated
event NonceUpdated(address user, uint256 nonce)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
OwnershipTransferStarted
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
ProtocolFeeDestinationUpdated
event ProtocolFeeDestinationUpdated(address feeDestination)
ProtocolFeePercentUpdated
event ProtocolFeePercentUpdated(uint256 feePercent)
Trade
event Trade(address receiver, bytes32 subject, bool isBuy, bool isPublic, uint256 wearableAmount, uint256 ethAmount, uint256 protocolEthAmount, uint256 creatorEthAmount, uint256 supply)
Upgraded
event Upgraded(address indexed implementation)
WearableCreated
event WearableCreated(address creator, bytes32 subject, string name, string category, string imageURI, (uint256 supplyFactor, uint256 curveFactor, uint256 initialPriceFactor) factors, uint8 state)
WearableOperatorUpdated
event WearableOperatorUpdated(address operator)
WearableSaleStateUpdated
event WearableSaleStateUpdated(bytes32 wearablesSubject, uint8 saleState)
WearableSignerUpdated
event WearableSignerUpdated(address signer)
WearableTransferred
event WearableTransferred(address from, address to, bytes32 subject, uint256 amount)
errors
AmountNotMultipleOfBaseUnit
error AmountNotMultipleOfBaseUnit()
IncorrectSender
error IncorrectSender()
InsufficientBaseUnit
error InsufficientBaseUnit()
InsufficientHoldings
error InsufficientHoldings()
InsufficientPayment
error InsufficientPayment()
InvalidCurveFactor
error InvalidCurveFactor()
InvalidFeePercent
error InvalidFeePercent()
InvalidInitialPriceFactor
error InvalidInitialPriceFactor()
InvalidOperator
error InvalidOperator()
InvalidReceiver
error InvalidReceiver()
InvalidSaleState
error InvalidSaleState()
InvalidSignature
error InvalidSignature()
InvalidTotalSupply
error InvalidTotalSupply()
RefundFailed
error RefundFailed()
SendFundsFailed
error SendFundsFailed()
TotalSupplyExceeded
error TotalSupplyExceeded()
TransferToZeroAddress
error TransferToZeroAddress()
WearableAlreadyCreated
error WearableAlreadyCreated()
WearableNotCreated
error WearableNotCreated()
creation bytecode
0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e7565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000e5576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161378d6200011f60003960008181610d9801528181610de10152818161143801528181611478015261150b015261378d6000f3fe60806040526004361061021a5760003560e01c80636ff6c4b811610123578063aabf7a44116100ab578063ed467e491161006f578063ed467e491461064a578063f2fde38b1461065d578063f4868ca51461067d578063f4d2ed081461069d578063f9855735146106bd57600080fd5b8063aabf7a44146105b6578063cad244cd146105d6578063d6e6eb9f146105f6578063e30c39781461060c578063e6aa2a8c1461062a57600080fd5b80637ecebe00116100f25780637ecebe001461050a5780638da5cb5b14610538578063a10786b014610556578063a498342114610576578063aa07c98a1461059657600080fd5b80636ff6c4b8146104ad578063715018a6146104cd578063723e224a146104e257806379ba5097146104f557600080fd5b80634236e876116101a65780634f1ef286116101755780634f1ef2861461041857806352d1902d1461042b57806353613dd3146104405780636834e3a8146104565780636c9a3dad1461048d57600080fd5b80634236e8761461037f57806343d61e4f1461039f578063485cc955146103d85780634ce7957c146103f857600080fd5b80633659cfe6116101ed5780633659cfe6146102bf5780633a68ec3b146102df5780633d8ee40c146103115780633e3e1f0414610331578063420b14351461035f57600080fd5b80630efee4371461021f578063150906061461025c5780632e50b9141461027e5780633456816a146102ac575b600080fd5b34801561022b57600080fd5b5060fe5461023f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561026857600080fd5b5061027c610277366004612d43565b6106d0565b005b34801561028a57600080fd5b5061029e610299366004612d7f565b610aba565b604051908152602001610253565b61027c6102ba366004612da1565b610b16565b3480156102cb57600080fd5b5061027c6102da366004612e3d565b610d8e565b3480156102eb57600080fd5b506102ff6102fa366004612e58565b610e76565b60405161025396959493929190612ef9565b34801561031d57600080fd5b5061027c61032c366004612e3d565b611075565b34801561033d57600080fd5b5061029e61034c366004612e58565b6101026020526000908152604090205481565b34801561036b57600080fd5b5061027c61037a366004612f77565b6110d2565b34801561038b57600080fd5b5061029e61039a366004612d7f565b611295565b3480156103ab57600080fd5b5061029e6103ba366004612fbb565b61010160209081526000928352604080842090915290825290205481565b3480156103e457600080fd5b5061027c6103f3366004612fe7565b6112d3565b34801561040457600080fd5b5060fb5461023f906001600160a01b031681565b61027c610426366004613027565b61142e565b34801561043757600080fd5b5061029e6114fe565b34801561044c57600080fd5b5061029e60fd5481565b34801561046257600080fd5b5061029e610471366004612e3d565b6001600160a01b03166000908152610103602052604090205490565b34801561049957600080fd5b5061029e6104a8366004612d7f565b6115b1565b3480156104b957600080fd5b5061027c6104c8366004612e58565b6115ef565b3480156104d957600080fd5b5061027c611662565b61027c6104f0366004612d7f565b611676565b34801561050157600080fd5b5061027c611756565b34801561051657600080fd5b5061029e610525366004612e3d565b6101036020526000908152604090205481565b34801561054457600080fd5b506033546001600160a01b031661023f565b34801561056257600080fd5b5061027c610571366004612e3d565b6117cd565b34801561058257600080fd5b5061027c610591366004612e58565b611823565b3480156105a257600080fd5b5061027c6105b13660046130f8565b611896565b3480156105c257600080fd5b5060ff5461023f906001600160a01b031681565b3480156105e257600080fd5b5061029e6105f1366004612d7f565b611981565b34801561060257600080fd5b5061029e60fc5481565b34801561061857600080fd5b506065546001600160a01b031661023f565b34801561063657600080fd5b5061027c610645366004612e3d565b6119dc565b61027c61065836600461317c565b611a32565b34801561066957600080fd5b5061027c610678366004612e3d565b611b3a565b34801561068957600080fd5b5061029e6106983660046131c1565b611bab565b3480156106a957600080fd5b5061027c6106b8366004613212565b611c43565b61027c6106cb366004612da1565b611cde565b60ff546001600160a01b031633146106fb5760405163ccea9e6f60e01b815260040160405180910390fd5b60018160a00135108061071357506127108160a00135115b15610731576040516334bbd58560e01b815260040160405180910390fd5b60018160c00135108061074957506103e88160c00135115b1561076757604051633a0f339560e21b815260040160405180910390fd5b60648160e00135108061077f57506103e88160e00135115b1561079d5760405163d515582960e01b815260040160405180910390fd5b60006107ac6020830183613235565b6107b96060850185613235565b6040516020016107cc94939291906132a5565b60408051601f19818403018152918152815160209283012060008181526101009093529120549091506001600160a01b03161561081c576040516341623d0560e01b815260040160405180910390fd5b600061082e60a08401608085016132cc565b61083957600061083c565b60015b9050600060405180606001604052808560a0013581526020018560c0013581526020018560e0013581525090506040518060c001604052808560000160208101906108879190612e3d565b6001600160a01b031681526020018580602001906108a59190613235565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020016108ec6040870187613235565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020016109336060870187613235565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020810183905260400183600181111561098657610986612ec1565b9052600084815261010060209081526040909120825181546001600160a01b0319166001600160a01b039091161781559082015160018201906109c9908261336f565b50604082015160028201906109de908261336f565b50606082015160038201906109f3908261336f565b506080820151805160048301556020810151600583015560400151600682015560a082015160078201805460ff191660018381811115610a3557610a35612ec1565b02179055507f8d35d78b9ce45c1c69445a734dd787e62bf7454e41bae87772befeebf139b1f19150610a6c90506020860186612e3d565b84610a7a6020880188613235565b610a8760408a018a613235565b610a9460608c018c613235565b898b604051610aac9a9998979695949392919061342f565b60405180910390a150505050565b600082815261010060209081526040808320600481015460058201546006909201546101029094529184205491929091610b0a9086610b0186670de0b6b3a76400006134dd565b85856001611bab565b93505050505b92915050565b66038d7ea4c68000831015610b3e576040516391acf56f60e01b815260040160405180910390fd5b610b4f66038d7ea4c680008461350a565b15610b6d576040516371f3285560e11b815260040160405180910390fd5b600084815261010060205260409020546001600160a01b0316610ba35760405163156966a960e21b815260040160405180910390fd5b6000848152610100602052604081206007015460ff166001811115610bca57610bca612ec1565b14610be857604051633482502f60e01b815260040160405180910390fd5b3360008181526101036020908152604080832054905160609490941b6bffffffffffffffffffffffff1916918401919091526262757960e81b6034840152603783018790526057830186905260778301819052916097016040516020818303038152906040528051906020012090506000610c90827f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b60fe54604080516020601f89018190048102820181019092528781529293506001600160a01b0390911691610ce29188908890819084018382808284376000920191909152508693925050611f509050565b6001600160a01b031614610d0957604051638baa579f60e01b815260040160405180910390fd5b33600090815261010360205260408120805460019290610d2a90849061351e565b90915550503360008181526101036020908152604091829020548251938452908301527f2ddf4902150368e68ca3b1565faf1e0603da0895a2699dc884f1db788c8396a2910160405180910390a1505050610d888433856000611f74565b50505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610ddf5760405162461bcd60e51b8152600401610dd690613531565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e28600080516020613711833981519152546001600160a01b031690565b6001600160a01b031614610e4e5760405162461bcd60e51b8152600401610dd69061357d565b610e578161226c565b60408051600080825260208201909252610e7391839190612274565b50565b61010060205260009081526040902080546001820180546001600160a01b039092169291610ea3906132e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecf906132e7565b8015610f1c5780601f10610ef157610100808354040283529160200191610f1c565b820191906000526020600020905b815481529060010190602001808311610eff57829003601f168201915b505050505090806002018054610f31906132e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d906132e7565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b505050505090806003018054610fbf906132e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610feb906132e7565b80156110385780601f1061100d57610100808354040283529160200191611038565b820191906000526020600020905b81548152906001019060200180831161101b57829003601f168201915b505060408051606081018252600487015481526005870154602082015260068701549181019190915260079095015493949360ff16925088915050565b61107d6123df565b60fe80546001600160a01b0319166001600160a01b0383169081179091556040519081527f7c5de6c9484fe1791c429caf029dce7d92d8b90baae2aa812813d99edae616a3906020015b60405180910390a150565b6001600160a01b0382166110f957604051633a954ecd60e21b815260040160405180910390fd5b66038d7ea4c68000811015611121576040516391acf56f60e01b815260040160405180910390fd5b61113266038d7ea4c680008261350a565b15611150576040516371f3285560e11b815260040160405180910390fd5b336001600160a01b0384161461117957604051637d1c29f360e01b815260040160405180910390fd5b6000848152610101602090815260408083206001600160a01b03871684529091529020548111156111bd5760405163fdc9902d60e01b815260040160405180910390fd5b6000848152610101602090815260408083206001600160a01b03871684529091529020546111ec9082906135c9565b6000858152610101602090815260408083206001600160a01b03888116855292528083209390935584168152205461122590829061351e565b6000858152610101602090815260408083206001600160a01b0387811680865291845293829020949094558051928716835290820192909252908101859052606081018290527f05fbb3a0c4db99e4a77481987705b0cb15d269dd5ffa5e03667ee32efab738a890608001610aac565b6000806112a28484611981565b905060006112af82612439565b905060006112bc8361245c565b9050806112c983856135c9565b610b0a91906135c9565b600054610100900460ff16158080156112f35750600054600160ff909116105b8061130d5750303b15801561130d575060005460ff166001145b6113705760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610dd6565b6000805460ff191660011790558015611393576000805461ff0019166101001790555b666a94d74f43000060fc81905560fd5560ff80546001600160a01b038086166001600160a01b03199283161790925560fe8054928516929091169190911790556113db612475565b6113e36124a4565b8015611429576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036114765760405162461bcd60e51b8152600401610dd690613531565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166114bf600080516020613711833981519152546001600160a01b031690565b6001600160a01b0316146114e55760405162461bcd60e51b8152600401610dd69061357d565b6114ee8261226c565b6114fa82826001612274565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461159e5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610dd6565b5060008051602061371183398151915290565b6000806115be8484610aba565b905060006115cb82612439565b905060006115d88361245c565b9050806115e5838561351e565b610b0a919061351e565b6115f76123df565b6702c68af0bb14000060fc548261160e919061351e565b111561162d57604051638a81d3b360e01b815260040160405180910390fd5b60fd8190556040518181527ff94832cd6cb3b731db197cb04c72105b97bc2fd0292f188007d46cd6fd3f8e73906020016110c7565b61166a6123df565b61167460006124cb565b565b66038d7ea4c6800081101561169e576040516391acf56f60e01b815260040160405180910390fd5b6116af66038d7ea4c680008261350a565b156116cd576040516371f3285560e11b815260040160405180910390fd5b600082815261010060205260409020546001600160a01b03166117035760405163156966a960e21b815260040160405180910390fd5b60016000838152610100602052604090206007015460ff16600181111561172c5761172c612ec1565b1461174a57604051633482502f60e01b815260040160405180910390fd5b6114fa828260016124e4565b60655433906001600160a01b031681146117c45760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610dd6565b610e73816124cb565b6117d56123df565b60fb80546001600160a01b0319166001600160a01b0383169081179091556040519081527f4907155279818c6a4cc7f8cd1dfc9ddd3d180b957ddd9ca2838c3fb3dc4cedb4906020016110c7565b61182b6123df565b6702c68af0bb14000060fd5482611842919061351e565b111561186157604051638a81d3b360e01b815260040160405180910390fd5b60fc8190556040518181527fa5c267c300696b3221974b5d94af56248d0aa8ff7bb91204bfc87be4835d4332906020016110c7565b60ff546001600160a01b031633146118c15760405163ccea9e6f60e01b815260040160405180910390fd5b60005b82811015610d88578161010060008686858181106118e4576118e46135dc565b60209081029290920135835250810191909152604001600020600701805460ff19166001838181111561191957611919612ec1565b02179055507f811af1ae2a68147222d5e67521dffde594a885944ad70eb4e058294bb08f18f2848483818110611951576119516135dc565b90506020020135836040516119679291906135f2565b60405180910390a18061197981613606565b9150506118c4565b600082815261010060209081526040808320600481015460058201546006909201546101029094529184205491929091610b0a906119c09087906135c9565b866119d386670de0b6b3a76400006134dd565b85856000611bab565b6119e46123df565b60ff80546001600160a01b0319166001600160a01b0383169081179091556040519081527f392208663aaba8bd9cdff20c7faabac5fa14620cbde5d81fff0a625d3f45dd60906020016110c7565b6001600160a01b038216611a5957604051631e4ec46b60e01b815260040160405180910390fd5b66038d7ea4c68000811015611a81576040516391acf56f60e01b815260040160405180910390fd5b611a9266038d7ea4c680008261350a565b15611ab0576040516371f3285560e11b815260040160405180910390fd5b600083815261010060205260409020546001600160a01b0316611ae65760405163156966a960e21b815260040160405180910390fd5b60016000848152610100602052604090206007015460ff166001811115611b0f57611b0f612ec1565b14611b2d57604051633482502f60e01b815260040160405180910390fd5b6114298383836001611f74565b611b426123df565b606580546001600160a01b0383166001600160a01b03199091168117909155611b736033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000818015611bc3575084611bc0878961351e565b10155b15611be157604051637eaca13d60e11b815260040160405180910390fd5b81158015611bef5750848710155b15611c0d57604051637eaca13d60e11b815260040160405180910390fd5b611c19878686866127b1565b611c2e611c26888a61351e565b8787876127b1565b611c3891906135c9565b979650505050505050565b60ff546001600160a01b03163314611c6e5760405163ccea9e6f60e01b815260040160405180910390fd5b600082815261010060205260409020600701805482919060ff191660018381811115611c9c57611c9c612ec1565b02179055507f811af1ae2a68147222d5e67521dffde594a885944ad70eb4e058294bb08f18f28282604051611cd29291906135f2565b60405180910390a15050565b66038d7ea4c68000831015611d06576040516391acf56f60e01b815260040160405180910390fd5b611d1766038d7ea4c680008461350a565b15611d35576040516371f3285560e11b815260040160405180910390fd5b600084815261010060205260409020546001600160a01b0316611d6b5760405163156966a960e21b815260040160405180910390fd5b6000848152610100602052604081206007015460ff166001811115611d9257611d92612ec1565b14611db057604051633482502f60e01b815260040160405180910390fd5b3360008181526101036020908152604080832054905160609490941b6bffffffffffffffffffffffff191691840191909152631cd95b1b60e21b6034840152603883018790526058830186905260788301819052916098016040516020818303038152906040528051906020012090506000611e59827f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b60fe54604080516020601f89018190048102820181019092528781529293506001600160a01b0390911691611eab9188908890819084018382808284376000920191909152508693925050611f509050565b6001600160a01b031614611ed257604051638baa579f60e01b815260040160405180910390fd5b33600090815261010360205260408120805460019290611ef390849061351e565b90915550503360008181526101036020908152604091829020548251938452908301527f2ddf4902150368e68ca3b1565faf1e0603da0895a2699dc884f1db788c8396a2910160405180910390a1505050610d88848460006124e4565b6000806000611f5f858561282b565b91509150611f6c81612870565b509392505050565b60008481526101026020908152604080832054610100909252822060040154909190611fd19083908690611fb090670de0b6b3a76400006134dd565b60008a81526101006020526040902060058101546006909101546001611bab565b90506000611fde82612439565b90506000611feb8361245c565b905080611ff8838561351e565b612002919061351e565b3410156120225760405163cd1c886760e01b815260040160405180910390fd5b6000888152610101602090815260408083206001600160a01b038b16845290915290205461205190879061351e565b6000898152610101602090815260408083206001600160a01b038c16845290915290205561207f868561351e565b60008981526101026020908152604080832093909355610100905220546001600160a01b03167fc3c743778cbda2f66551d22d13c5e66b51917af7cf9d07ddc3696e17540b977a888a6001898b8989896120d9848f61351e565b6040516120ee9998979695949392919061361f565b60405180910390a160fb546040516000916001600160a01b03169085908381818185875af1925050503d8060008114612143576040519150601f19603f3d011682016040523d82523d6000602084013e612148565b606091505b505090506000826001600160a01b03168460405160006040518083038185875af1925050503d8060008114612199576040519150601f19603f3d011682016040523d82523d6000602084013e61219e565b606091505b505090508180156121ac5750805b6121c957604051631a7a493760e01b815260040160405180910390fd5b600084866121d789346135c9565b6121e191906135c9565b6121eb91906135c9565b9050801561225e57604051600090339083908381818185875af1925050503d8060008114612235576040519150601f19603f3d011682016040523d82523d6000602084013e61223a565b606091505b505090508061225c57604051633c31275160e21b815260040160405180910390fd5b505b505050505050505050505050565b610e736123df565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156122a757611429836129ba565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612301575060408051601f3d908101601f191682019092526122fe91810190613669565b60015b6123645760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610dd6565b60008051602061371183398151915281146123d35760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610dd6565b50611429838383612a56565b6033546001600160a01b031633146116745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dd6565b6000670de0b6b3a764000060fc548361245291906134dd565b610b109190613682565b6000670de0b6b3a764000060fd548361245291906134dd565b600054610100900460ff1661249c5760405162461bcd60e51b8152600401610dd690613696565b611674612a7b565b600054610100900460ff166116745760405162461bcd60e51b8152600401610dd690613696565b606580546001600160a01b0319169055610e7381612aab565b600083815261010260205260408120549061254a61250285846135c9565b60008781526101006020526040902060040154869061252990670de0b6b3a76400006134dd565b60008981526101006020526040812060058101546006909101549091611bab565b9050600061255782612439565b905060006125648361245c565b6000888152610101602090815260408083203384529091529020549091508611156125a25760405163fdc9902d60e01b815260040160405180910390fd5b6000878152610101602090815260408083203384529091529020546125c89087906135c9565b6000888152610101602090815260408083203384529091529020556125ed86856135c9565b600088815261010260209081526040808320939093556101009052908120546001600160a01b0316907fc3c743778cbda2f66551d22d13c5e66b51917af7cf9d07ddc3696e17540b977a9033908a90898b89898961264b848f6135c9565b6040516126609998979695949392919061361f565b60405180910390a16000338361267686886135c9565b61268091906135c9565b604051600081818185875af1925050503d80600081146126bc576040519150601f19603f3d011682016040523d82523d6000602084013e6126c1565b606091505b505060fb546040519192506000916001600160a01b039091169086908381818185875af1925050503d8060008114612715576040519150601f19603f3d011682016040523d82523d6000602084013e61271a565b606091505b505090506000836001600160a01b03168560405160006040518083038185875af1925050503d806000811461276b576040519150601f19603f3d011682016040523d82523d6000602084013e612770565b606091505b5050905082801561277e5750815b80156127875750805b6127a457604051631a7a493760e01b815260040160405180910390fd5b5050505050505050505050565b60006103e86127c086846134dd565b6127ca9190613682565b6127dc84670de0b6b3a76400006134dd565b6127e687876135c9565b6127f086886134dd565b61280290670de0b6b3a76400006134dd565b61280c9190613682565b61281691906135c9565b61282091906135c9565b90505b949350505050565b60008082516041036128615760208301516040840151606085015160001a61285587828585612afd565b94509450505050612869565b506000905060025b9250929050565b600081600481111561288457612884612ec1565b0361288c5750565b60018160048111156128a0576128a0612ec1565b036128ed5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610dd6565b600281600481111561290157612901612ec1565b0361294e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610dd6565b600381600481111561296257612962612ec1565b03610e735760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610dd6565b6001600160a01b0381163b612a275760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610dd6565b60008051602061371183398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612a5f83612bc1565b600082511180612a6c5750805b1561142957610d888383612c01565b600054610100900460ff16612aa25760405162461bcd60e51b8152600401610dd690613696565b611674336124cb565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612b345750600090506003612bb8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b88573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612bb157600060019250925050612bb8565b9150600090505b94509492505050565b612bca816129ba565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060612c26838360405180606001604052806027815260200161373160279139612c2d565b9392505050565b6060600080856001600160a01b031685604051612c4a91906136e1565b600060405180830381855af49150503d8060008114612c85576040519150601f19603f3d011682016040523d82523d6000602084013e612c8a565b606091505b5091509150612c9b86838387612ca5565b9695505050505050565b60608315612d14578251600003612d0d576001600160a01b0385163b612d0d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610dd6565b5081612823565b6128238383815115612d295781518083602001fd5b8060405162461bcd60e51b8152600401610dd691906136fd565b600060208284031215612d5557600080fd5b813567ffffffffffffffff811115612d6c57600080fd5b82016101008185031215612c2657600080fd5b60008060408385031215612d9257600080fd5b50508035926020909101359150565b60008060008060608587031215612db757600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115612ddd57600080fd5b818701915087601f830112612df157600080fd5b813581811115612e0057600080fd5b886020828501011115612e1257600080fd5b95989497505060200194505050565b80356001600160a01b0381168114612e3857600080fd5b919050565b600060208284031215612e4f57600080fd5b612c2682612e21565b600060208284031215612e6a57600080fd5b5035919050565b60005b83811015612e8c578181015183820152602001612e74565b50506000910152565b60008151808452612ead816020860160208601612e71565b601f01601f19169290920160200192915050565b634e487b7160e01b600052602160045260246000fd5b60028110612ef557634e487b7160e01b600052602160045260246000fd5b9052565b6001600160a01b038716815261010060208201819052600090612f1e83820189612e95565b90508281036040840152612f328188612e95565b90508281036060840152612f468187612e95565b85516080850152602086015160a0850152604086015160c08501529150612f6a9050565b611c3860e0830184612ed7565b60008060008060808587031215612f8d57600080fd5b84359350612f9d60208601612e21565b9250612fab60408601612e21565b9396929550929360600135925050565b60008060408385031215612fce57600080fd5b82359150612fde60208401612e21565b90509250929050565b60008060408385031215612ffa57600080fd5b61300383612e21565b9150612fde60208401612e21565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561303a57600080fd5b61304383612e21565b9150602083013567ffffffffffffffff8082111561306057600080fd5b818501915085601f83011261307457600080fd5b81358181111561308657613086613011565b604051601f8201601f19908116603f011681019083821181831017156130ae576130ae613011565b816040528281528860208487010111156130c757600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b803560028110612e3857600080fd5b60008060006040848603121561310d57600080fd5b833567ffffffffffffffff8082111561312557600080fd5b818601915086601f83011261313957600080fd5b81358181111561314857600080fd5b8760208260051b850101111561315d57600080fd5b60209283019550935061317391860190506130e9565b90509250925092565b60008060006060848603121561319157600080fd5b833592506131a160208501612e21565b9150604084013590509250925092565b80358015158114612e3857600080fd5b60008060008060008060c087890312156131da57600080fd5b863595506020870135945060408701359350606087013592506080870135915061320660a088016131b1565b90509295509295509295565b6000806040838503121561322557600080fd5b82359150612fde602084016130e9565b6000808335601e1984360301811261324c57600080fd5b83018035915067ffffffffffffffff82111561326757600080fd5b60200191503681900382131561286957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6040815260006132b960408301868861327c565b8281036020840152611c3881858761327c565b6000602082840312156132de57600080fd5b612c26826131b1565b600181811c908216806132fb57607f821691505b60208210810361331b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561142957600081815260208120601f850160051c810160208610156133485750805b601f850160051c820191505b8181101561336757828155600101613354565b505050505050565b815167ffffffffffffffff81111561338957613389613011565b61339d8161339784546132e7565b84613321565b602080601f8311600181146133d257600084156133ba5750858301515b600019600386901b1c1916600185901b178555613367565b600085815260208120601f198616915b82811015613401578886015182559484019460019091019084016133e2565b508582101561341f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038b168152602081018a90526101206040820181905260009061345c8382018b8d61327c565b9050828103606084015261347181898b61327c565b9050828103608084015261348681878961327c565b855160a0850152602086015160c0850152604086015160e085015291506134aa9050565b6134b8610100830184612ed7565b9b9a5050505050505050505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b1057610b106134c7565b634e487b7160e01b600052601260045260246000fd5b600082613519576135196134f4565b500690565b80820180821115610b1057610b106134c7565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b81810381811115610b1057610b106134c7565b634e487b7160e01b600052603260045260246000fd5b82815260408101612c266020830184612ed7565b600060018201613618576136186134c7565b5060010190565b6001600160a01b03999099168952602089019790975294151560408801529215156060870152608086019190915260a085015260c084015260e08301526101008201526101200190565b60006020828403121561367b57600080fd5b5051919050565b600082613691576136916134f4565b500490565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082516136f3818460208701612e71565b9190910192915050565b602081526000612c266020830184612e9556fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122096bd941cb0bc441b3510dccd68a4b7d66682a7996dfdfafaf2294b7cf247aac464736f6c63430008130033