6080604052600580546001600160a01b03191673d35a6e413a3b7bda74ccfe1c6df5a40584865a2b17905560646100386009600a6102ac565b61004690633b9aca006102c1565b61005091906102d8565b6006908155600360078190556008555f6009819055600a819055600b829055600c829055600d91909155600e556010805461ffff60a81b19169055348015610096575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b031916331790555f80546001600160a01b03908116825260036020526040808320805460ff199081166001908117909255308552828520805482168317905560055490931684529220805490911690911790556101416009600a6102ac565b61014f90633b9aca006102c1565b335f81815260016020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61018f6009600a6102ac565b61019d90633b9aca006102c1565b60405190815260200160405180910390a36102f7565b634e487b7160e01b5f52601160045260245ffd5b6001815b6001841115610202578085048111156101e6576101e66101b3565b60018416156101f457908102905b60019390931c9280026101cb565b935093915050565b5f82610218575060016102a6565b8161022457505f6102a6565b816001811461023a576002811461024457610260565b60019150506102a6565b60ff841115610255576102556101b3565b50506001821b6102a6565b5060208310610133831016604e8410600b8410161715610283575081810a6102a6565b61028f5f1984846101c7565b805f19048211156102a2576102a26101b3565b0290505b92915050565b5f6102ba60ff84168361020a565b9392505050565b80820281158282048414176102a6576102a66101b3565b5f826102f257634e487b7160e01b5f52601260045260245ffd5b500490565b61159e806103045f395ff3fe6080604052600436106100dc575f3560e01c80638da5cb5b1161007c578063a0ef91df11610057578063a0ef91df14610267578063a9059cbb1461027b578063c9567bf91461029a578063dd62ed3e146102ae575f80fd5b80638da5cb5b146101ff57806395d89b41146102255780639e78fb4f14610253575f80fd5b806323b872dd116100b757806323b872dd1461017b578063313ce5671461019a57806370a08231146101b5578063715018a6146101e9575f80fd5b806306fdde03146100e7578063095ea7b31461012a57806318160ddd14610159575f80fd5b366100e357005b5f80fd5b3480156100f2575f80fd5b5060408051808201909152600981526830784e4f444520414960b81b60208201525b60405161012191906111a6565b60405180910390f35b348015610135575f80fd5b506101496101443660046111ef565b6102f2565b6040519015158152602001610121565b348015610164575f80fd5b5061016d610308565b604051908152602001610121565b348015610186575f80fd5b50610149610195366004611219565b610328565b3480156101a5575f80fd5b5060405160098152602001610121565b3480156101c0575f80fd5b5061016d6101cf366004611257565b6001600160a01b03165f9081526001602052604090205490565b3480156101f4575f80fd5b506101fd61038f565b005b34801561020a575f80fd5b505f546040516001600160a01b039091168152602001610121565b348015610230575f80fd5b5060408051808201909152600681526530784e4f444560d01b6020820152610114565b34801561025e575f80fd5b506101fd610409565b348015610272575f80fd5b506101fd610602565b348015610286575f80fd5b506101496102953660046111ef565b610665565b3480156102a5575f80fd5b506101fd610671565b3480156102b9575f80fd5b5061016d6102c8366004611272565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6102fe338484610856565b5060015b92915050565b5f6103156009600a6113a0565b61032390633b9aca006113ae565b905090565b5f610334848484610979565b610385843361038085604051806060016040528060288152602001611541602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190610e1e565b610856565b5060019392505050565b5f546001600160a01b031633146103c15760405162461bcd60e51b81526004016103b8906113c5565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146104325760405162461bcd60e51b81526004016103b8906113c5565b600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561047b90309061046d6009600a6113a0565b61038090633b9aca006113ae565b600f5f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ef91906113fa565b6001600160a01b031663c9c6539630600f5f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561054e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057291906113fa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156105bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e091906113fa565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b0316331461062b5760405162461bcd60e51b81526004016103b8906113c5565b5f80546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610662573d5f803e3d5ffd5b50565b5f6102fe338484610979565b5f546001600160a01b0316331461069a5760405162461bcd60e51b81526004016103b8906113c5565b601054600160a01b900460ff16156106f45760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103b8565b600f546001600160a01b031663f305d7194730610725816001600160a01b03165f9081526001602052604090205490565b5f806107385f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561079e573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906107c39190611415565b5050601054600f5460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c9190611440565b506010805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166108b85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103b8565b6001600160a01b0382166109195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103b8565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109dd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103b8565b6001600160a01b038216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103b8565b5f8111610aa05760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103b8565b5f80546001600160a01b03858116911614801590610acb57505f546001600160a01b03848116911614155b15610c4f57610afc6064610af6600b54600e5411610aeb57600754610aef565b6009545b8590610e56565b90610edb565b6010549091506001600160a01b038581169116148015610b2a5750600f546001600160a01b03848116911614155b8015610b4e57506001600160a01b0383165f9081526003602052604090205460ff16155b15610b6857600e8054905f610b628361145f565b91905055505b6010546001600160a01b038481169116148015610b8e57506001600160a01b0384163014155b15610bbb57610bb86064610af6600c54600e5411610bae57600854610aef565b600a548590610e56565b90505b305f90815260016020526040902054601054600160a81b900460ff16158015610bf157506010546001600160a01b038581169116145b8015610c065750601054600160b01b900460ff165b8015610c155750600d54600e54115b15610c4d57600654811115610c4157610c41610c3c84610c3784600654610f1c565b610f1c565b610f30565b47610c4b476110a0565b505b505b8015610cc757305f90815260016020526040902054610c6e90826110db565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610cbe9085815260200190565b60405180910390a35b6001600160a01b038085165f90815260026020908152604080832060055490941683529290522054610cf990836110db565b6001600160a01b038581165f908152600260209081526040808320600554851684529091528082209390935560045490911681522054610d3990836110db565b6001600160a01b038086165f8181526002602090815260408083206004549095168352938152838220949094559081526001909252902054610d7b9083611139565b6001600160a01b0385165f90815260016020526040902055610dbe610da08383611139565b6001600160a01b0385165f90815260016020526040902054906110db565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e078585611139565b60405190815260200160405180910390a350505050565b5f8184841115610e415760405162461bcd60e51b81526004016103b891906111a6565b505f610e4d8486611477565b95945050505050565b5f825f03610e6557505f610302565b5f610e7083856113ae565b905082610e7d858361148a565b14610ed45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103b8565b9392505050565b5f610ed483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061117a565b5f818311610f2a5782610ed4565b50919050565b6010805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610f7657610f766114a9565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610fcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff191906113fa565b81600181518110611004576110046114a9565b6001600160a01b039283166020918202929092010152600f5461102a9130911684610856565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906110629085905f908690309042906004016114bd565b5f604051808303815f87803b158015611079575f80fd5b505af115801561108b573d5f803e3d5ffd5b50506010805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156110d7573d5f803e3d5ffd5b5050565b5f806110e7838561152d565b905083811015610ed45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103b8565b5f610ed483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e1e565b5f818361119a5760405162461bcd60e51b81526004016103b891906111a6565b505f610e4d848661148a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610662575f80fd5b5f8060408385031215611200575f80fd5b823561120b816111db565b946020939093013593505050565b5f805f6060848603121561122b575f80fd5b8335611236816111db565b92506020840135611246816111db565b929592945050506040919091013590565b5f60208284031215611267575f80fd5b8135610ed4816111db565b5f8060408385031215611283575f80fd5b823561128e816111db565b9150602083013561129e816111db565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156112f8578085048111156112dc576112dc6112a9565b60018416156112ea57908102905b60019390931c9280026112c1565b935093915050565b5f8261130e57506001610302565b8161131a57505f610302565b8160018114611330576002811461133a57611356565b6001915050610302565b60ff84111561134b5761134b6112a9565b50506001821b610302565b5060208310610133831016604e8410600b8410161715611379575081810a610302565b6113855f1984846112bd565b805f1904821115611398576113986112a9565b029392505050565b5f610ed460ff841683611300565b8082028115828204841417610302576103026112a9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561140a575f80fd5b8151610ed4816111db565b5f805f60608486031215611427575f80fd5b5050815160208301516040909301519094929350919050565b5f60208284031215611450575f80fd5b81518015158114610ed4575f80fd5b5f60018201611470576114706112a9565b5060010190565b81810381811115610302576103026112a9565b5f826114a457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b8181101561150d5783516001600160a01b03168352602093840193909201916001016114e6565b50506001600160a01b039590951660608401525050608001529392505050565b80820180821115610302576103026112a956fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b804b996a3f732fec286ff555b47e09fd14add07dc604a452831a1ba80e4c39664736f6c634300081a0033