60806040526005805460ff1916600190811790915560126006556014600755600881905560099081556019600a908155601b600b55601c600c555f600d556200004991906200034c565b6200005990630bebc20062000363565b600e556200006a6009600a6200034c565b6200007a90630bebc20062000363565b600f556200008b6009600a6200034c565b6200009b9063088e4c8762000363565b601055620000ac6009600a6200034c565b620000bc9063088e4c8662000363565b6011556013805461ffff60a81b19169055348015620000d9575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060058054610100600160a81b03191661010033021790556200013f6009600a6200034c565b62000150906402540be40062000363565b335f908152600160208190526040822092909255600390620001795f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005546101009004909116835291208054909216179055620001dc3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002156009600a6200034c565b62000226906402540be40062000363565b60405190815260200160405180910390a36200037d565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200029157815f19048211156200027557620002756200023d565b808516156200028357918102915b93841c939080029062000256565b509250929050565b5f82620002a95750600162000346565b81620002b757505f62000346565b8160018114620002d05760028114620002db57620002fb565b600191505062000346565b60ff841115620002ef57620002ef6200023d565b50506001821b62000346565b5060208310610133831016604e8410600b841016171562000320575081810a62000346565b6200032c838362000251565b805f19048211156200034257620003426200023d565b0290505b92915050565b5f6200035c60ff84168362000299565b9392505050565b80820281158282048414176200034657620003466200023d565b6117c5806200038b5f395ff3fe608060405260043610610113575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb146102bb578063bf474bed146102da578063c876d0b9146102ef578063c9567bf914610308578063dd62ed3e1461031c575f80fd5b8063751039fc146102575780637d1db4a51461026b5780638da5cb5b146102805780638f9a55c0146102a657806395d89b411461011e575f80fd5b806323b872dd116100e357806323b872dd146101bf578063313ce567146101de57806351bc3c85146101f957806370a082311461020f578063715018a614610243575f80fd5b806306fdde031461011e578063095ea7b3146101595780630faee56f1461018857806318160ddd146101ab575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201825260048152634345434560e01b6020820152905161015091906113b8565b60405180910390f35b348015610164575f80fd5b5061017861017336600461141a565b610360565b6040519015158152602001610150565b348015610193575f80fd5b5061019d60115481565b604051908152602001610150565b3480156101b6575f80fd5b5061019d610376565b3480156101ca575f80fd5b506101786101d9366004611444565b610397565b3480156101e9575f80fd5b5060405160098152602001610150565b348015610204575f80fd5b5061020d6103fe565b005b34801561021a575f80fd5b5061019d610229366004611482565b6001600160a01b03165f9081526001602052604090205490565b34801561024e575f80fd5b5061020d610454565b348015610262575f80fd5b5061020d6104ce565b348015610276575f80fd5b5061019d600e5481565b34801561028b575f80fd5b505f546040516001600160a01b039091168152602001610150565b3480156102b1575f80fd5b5061019d600f5481565b3480156102c6575f80fd5b506101786102d536600461141a565b61058c565b3480156102e5575f80fd5b5061019d60105481565b3480156102fa575f80fd5b506005546101789060ff1681565b348015610313575f80fd5b5061020d610598565b348015610327575f80fd5b5061019d61033636600461149d565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f61036c338484610942565b5060015b92915050565b5f6103836009600a6115c8565b610392906402540be4006115d6565b905090565b5f6103a3848484610a65565b6103f484336103ef85604051806060016040528060288152602001611768602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611030565b610942565b5060019392505050565b60055461010090046001600160a01b0316336001600160a01b031614610422575f80fd5b305f9081526001602052604090205480156104405761044081611068565b47801561045057610450816111d8565b5050565b5f546001600160a01b031633146104865760405162461bcd60e51b815260040161047d906115ed565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146104f75760405162461bcd60e51b815260040161047d906115ed565b6105036009600a6115c8565b610512906402540be4006115d6565b600e556105216009600a6115c8565b610530906402540be4006115d6565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61056a6009600a6115c8565b610579906402540be4006115d6565b60405190815260200160405180910390a1565b5f61036c338484610a65565b5f546001600160a01b031633146105c15760405162461bcd60e51b815260040161047d906115ed565b601354600160a01b900460ff161561061b5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161047d565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106659030906106566009600a6115c8565b6103ef906402540be4006115d6565b60125f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d99190611622565b6001600160a01b031663c9c653963060125f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075c9190611622565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156107a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ca9190611622565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d7194730610811816001600160a01b03165f9081526001602052604090205490565b5f806108245f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561088a573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906108af919061163d565b505060135460125460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610904573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109289190611668565b506013805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047d565b6001600160a01b038216610a055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047d565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ac95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047d565b6001600160a01b038216610b2b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047d565b5f8111610b8c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161047d565b5f80546001600160a01b03858116911614801590610bb757505f546001600160a01b03848116911614155b15610ef357610be86064610be2600a54600d5411610bd757600654610bdb565b6008545b8590611213565b90611298565b60055490915060ff1615610cce576012546001600160a01b03848116911614801590610c2257506013546001600160a01b03848116911614155b15610cce57325f908152600460205260409020544311610cbc5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161047d565b325f9081526004602052604090204390555b6013546001600160a01b038581169116148015610cf957506012546001600160a01b03848116911614155b8015610d1d57506001600160a01b0383165f9081526003602052604090205460ff16155b15610e0357600e54821115610d745760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161047d565b600f5482610d96856001600160a01b03165f9081526001602052604090205490565b610da09190611687565b1115610dee5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161047d565b600d8054905f610dfd8361169a565b91905055505b6013546001600160a01b038481169116148015610e2957506001600160a01b0384163014155b15610e5657610e536064610be2600b54600d5411610e4957600754610bdb565b6009548590611213565b90505b305f90815260016020526040902054601354600160a81b900460ff16158015610e8c57506013546001600160a01b038581169116145b8015610ea15750601354600160b01b900460ff165b8015610eae575060105481115b8015610ebd5750600c54600d54115b15610ef157610edf610eda84610ed5846011546112d9565b6112d9565b611068565b478015610eef57610eef476111d8565b505b505b8015610f6b57305f90815260016020526040902054610f1290826112ed565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f629085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610f8d908361134b565b6001600160a01b0385165f90815260016020526040902055610fd0610fb2838361134b565b6001600160a01b0385165f90815260016020526040902054906112ed565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611019858561134b565b60405190815260200160405180910390a350505050565b5f81848411156110535760405162461bcd60e51b815260040161047d91906113b8565b505f61105f84866116b2565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106110ae576110ae6116c5565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611105573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111299190611622565b8160018151811061113c5761113c6116c5565b6001600160a01b0392831660209182029290920101526012546111629130911684610942565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac9479061119a9085905f908690309042906004016116d9565b5f604051808303815f87803b1580156111b1575f80fd5b505af11580156111c3573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f19350505050158015610450573d5f803e3d5ffd5b5f825f0361122257505f610370565b5f61122d83856115d6565b90508261123a8583611748565b146112915760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161047d565b9392505050565b5f61129183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061138c565b5f8183116112e75782611291565b50919050565b5f806112f98385611687565b9050838110156112915760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161047d565b5f61129183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611030565b5f81836113ac5760405162461bcd60e51b815260040161047d91906113b8565b505f61105f8486611748565b5f6020808352835180828501525f5b818110156113e3578581018301518582016040015282016113c7565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611417575f80fd5b50565b5f806040838503121561142b575f80fd5b823561143681611403565b946020939093013593505050565b5f805f60608486031215611456575f80fd5b833561146181611403565b9250602084013561147181611403565b929592945050506040919091013590565b5f60208284031215611492575f80fd5b813561129181611403565b5f80604083850312156114ae575f80fd5b82356114b981611403565b915060208301356114c981611403565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561152257815f1904821115611508576115086114d4565b8085161561151557918102915b93841c93908002906114ed565b509250929050565b5f8261153857506001610370565b8161154457505f610370565b816001811461155a576002811461156457611580565b6001915050610370565b60ff841115611575576115756114d4565b50506001821b610370565b5060208310610133831016604e8410600b84101617156115a3575081810a610370565b6115ad83836114e8565b805f19048211156115c0576115c06114d4565b029392505050565b5f61129160ff84168361152a565b8082028115828204841417610370576103706114d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611632575f80fd5b815161129181611403565b5f805f6060848603121561164f575f80fd5b8351925060208401519150604084015190509250925092565b5f60208284031215611678575f80fd5b81518015158114611291575f80fd5b80820180821115610370576103706114d4565b5f600182016116ab576116ab6114d4565b5060010190565b81810381811115610370576103706114d4565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156117275784516001600160a01b031683529383019391830191600101611702565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8261176257634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212203b94cfc95b5243f47ded05ce267fce457c24810a2afe119057b4b3d3df17abd664736f6c63430008140033