60806040526006805460ff19166001179055600780546001600160a01b03191673e4a15b61d921f781a56c0a6c472256b768dbd9d51790556015600855601c60099081556019600a9081555f600b556200005a91906200036c565b6200006b9064031aba855562000383565b600c556200007c6009600a6200036c565b6200008d9064031aba855562000383565b600d556200009e6009600a6200036c565b620000ae906327bc86aa62000383565b600e55620000bf6009600a6200036c565b620000d09064018d5d42aa62000383565b600f555f6010556012805463ffffffff60a81b1916600160b81b179055348015620000f9575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556200015f6009600a6200036c565b6200017090649b386e0aaa62000383565b335f908152600160208190526040822092909255600390620001995f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001fc3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002356009600a6200036c565b6200024690649b386e0aaa62000383565b60405190815260200160405180910390a36200039d565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620002b157815f19048211156200029557620002956200025d565b80851615620002a357918102915b93841c939080029062000276565b509250929050565b5f82620002c95750600162000366565b81620002d757505f62000366565b8160018114620002f05760028114620002fb576200031b565b600191505062000366565b60ff8411156200030f576200030f6200025d565b50506001821b62000366565b5060208310610133831016604e8410600b841016171562000340575081810a62000366565b6200034c838362000271565b805f19048211156200036257620003626200025d565b0290505b92915050565b5f6200037c60ff841683620002b9565b9392505050565b80820281158282048414176200036657620003666200025d565b611b0280620003ab5f395ff3fe60806040526004361061017e575f3560e01c80637d1db4a5116100cd578063a9059cbb11610087578063c9567bf911610062578063c9567bf914610407578063dd62ed3e1461041b578063e627f2db1461045f578063f429389014610473575f80fd5b8063a9059cbb146103ba578063bf474bed146103d9578063c876d0b9146103ee575f80fd5b80637d1db4a51461030d5780638a8c523c146103225780638ba4cc3c146103365780638da5cb5b146103555780638f9a55c01461037b57806395d89b4114610390575f80fd5b806328af352b1161013857806351bc3c851161011357806351bc3c851461029d57806370a08231146102b1578063715018a6146102e5578063751039fc146102f9575f80fd5b806328af352b1461024e578063313ce5671461026357806340aa6b921461027e575f80fd5b806306fdde0314610189578063095ea7b3146101b35780630faee56f146101e257806318160ddd14610205578063208e22a51461021957806323b872dd1461022f575f80fd5b3661018557005b5f80fd5b348015610194575f80fd5b5061019d610487565b6040516101aa9190611692565b60405180910390f35b3480156101be575f80fd5b506101d26101cd3660046116f1565b6104a7565b60405190151581526020016101aa565b3480156101ed575f80fd5b506101f7600f5481565b6040519081526020016101aa565b348015610210575f80fd5b506101f76104bd565b348015610224575f80fd5b5061022d6104de565b005b34801561023a575f80fd5b506101d261024936600461171b565b610525565b348015610259575f80fd5b506101f760105481565b34801561026e575f80fd5b50604051600981526020016101aa565b348015610289575f80fd5b5061022d610298366004611759565b61058c565b3480156102a8575f80fd5b5061022d6105c0565b3480156102bc575f80fd5b506101f76102cb366004611779565b6001600160a01b03165f9081526001602052604090205490565b3480156102f0575f80fd5b5061022d610641565b348015610304575f80fd5b5061022d6106b2565b348015610318575f80fd5b506101f7600c5481565b34801561032d575f80fd5b5061022d610770565b348015610341575f80fd5b5061022d6103503660046116f1565b6107ae565b348015610360575f80fd5b505f546040516001600160a01b0390911681526020016101aa565b348015610386575f80fd5b506101f7600d5481565b34801561039b575f80fd5b50604080518082019091526002815261048560f41b602082015261019d565b3480156103c5575f80fd5b506101d26103d43660046116f1565b6107f5565b3480156103e4575f80fd5b506101f7600e5481565b3480156103f9575f80fd5b506006546101d29060ff1681565b348015610412575f80fd5b5061022d610801565b348015610426575f80fd5b506101f7610435366004611794565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b34801561046a575f80fd5b506010546101f7565b34801561047e575f80fd5b5061022d610bac565b6060604051806080016040528060468152602001611a5f60469139905090565b5f6104b3338484610be3565b5060015b92915050565b5f6104ca6009600a6118bf565b6104d990649b386e0aaa6118cd565b905090565b5f546001600160a01b031633146105105760405162461bcd60e51b8152600401610507906118e4565b60405180910390fd5b6012805460ff60c01b1916600160c01b179055565b5f610531848484610d06565b610582843361057d85604051806060016040528060288152602001611aa5602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906112d3565b610be3565b5060019392505050565b5f546001600160a01b031633146105b55760405162461bcd60e51b8152600401610507906118e4565b600891909155600955565b60065461010090046001600160a01b0316336001600160a01b0316146105e4575f80fd5b305f908152600160205260409020548015610602576106028161130b565b47801561063d57601254600160c01b900460ff1615610634575f61062782600361147b565b9050610632816114c3565b505b61063d476114fa565b5050565b5f546001600160a01b0316331461066a5760405162461bcd60e51b8152600401610507906118e4565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146106db5760405162461bcd60e51b8152600401610507906118e4565b6106e76009600a6118bf565b6106f690649b386e0aaa6118cd565b600c556107056009600a6118bf565b61071490649b386e0aaa6118cd565b600d556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61074e6009600a6118bf565b61075d90649b386e0aaa6118cd565b60405190815260200160405180910390a1565b5f546001600160a01b031633146107995760405162461bcd60e51b8152600401610507906118e4565b6012805460ff60b81b1916600160b81b179055565b5f546001600160a01b031633146107d75760405162461bcd60e51b8152600401610507906118e4565b336107f081846107eb85633b9aca006118cd565b610d06565b505050565b5f6104b3338484610d06565b5f546001600160a01b0316331461082a5760405162461bcd60e51b8152600401610507906118e4565b601254600160a01b900460ff16156108845760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610507565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556108ce9030906108bf6009600a6118bf565b61057d90649b386e0aaa6118cd565b60115f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109429190611919565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c59190611919565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a339190611919565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d7194730610a7a816001600160a01b03165f9081526001602052604090205490565b5f80610a8d5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610af3573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610b189190611934565b505060125460115460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b91919061195f565b506012805463ffff00ff60a01b19166201000160a01b179055565b60065461010090046001600160a01b0316336001600160a01b031614610bd0575f80fd5b478015610be057610be0816114fa565b50565b6001600160a01b038316610c455760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610507565b6001600160a01b038216610ca65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610507565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d6a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610507565b6001600160a01b038216610dcc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610507565b5f8111610e2d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610507565b5f80546001600160a01b03858116911614801590610e5857505f546001600160a01b03848116911614155b1561111f57601254600160b81b900460ff16610eaf5760405162461bcd60e51b8152602060048201526016602482015275151c985b9cd9995c9cc8185c9948191a5cd8589b195960521b6044820152606401610507565b610ecf6064610ec96008548561153590919063ffffffff16565b9061147b565b6012549091506001600160a01b038581169116148015610efd57506011546001600160a01b03848116911614155b8015610f2157506001600160a01b0383165f9081526003602052604090205460ff16155b1561100757600c54821115610f785760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610507565b600d5482610f9a856001600160a01b03165f9081526001602052604090205490565b610fa4919061197e565b1115610ff25760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610507565b600b8054905f61100183611991565b91905055505b6012546001600160a01b03848116911614801561102d57506001600160a01b0384163014155b1561104f5761104c6064610ec96009548561153590919063ffffffff16565b90505b305f90815260016020526040902054601254600160a81b900460ff1615801561108557506012546001600160a01b038581169116145b801561109a5750601254600160b01b900460ff165b80156110a75750600e5481115b1561111d576110c96110c4846110bf84600f546115b3565b6115b3565b61130b565b47801561111b57601254600160c01b900460ff1615611112575f6110ee82600361147b565b90508060105f828254611101919061197e565b909155506111109050816114c3565b505b61111b476114fa565b505b505b6001600160a01b0384165f9081526003602052604090205460ff168061115c57506001600160a01b0383165f9081526003602052604090205460ff165b8061118e57506012546001600160a01b0385811691161480159061118e57506012546001600160a01b03848116911614155b1561119657505f5b801561120e57305f908152600160205260409020546111b590826115c7565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112059085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112309083611625565b6001600160a01b0385165f908152600160205260409020556112736112558383611625565b6001600160a01b0385165f90815260016020526040902054906115c7565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112bc8585611625565b60405190815260200160405180910390a350505050565b5f81848411156112f65760405162461bcd60e51b81526004016105079190611692565b505f61130284866119a9565b95945050505050565b6012805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110611351576113516119bc565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc9190611919565b816001815181106113df576113df6119bc565b6001600160a01b0392831660209182029290920101526011546114059130911684610be3565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac9479061143d9085905f908690309042906004016119d0565b5f604051808303815f87803b158015611454575f80fd5b505af1158015611466573d5f803e3d5ffd5b50506012805460ff60a81b1916905550505050565b5f6114bc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611666565b9392505050565b6007546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561063d573d5f803e3d5ffd5b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f1935050505015801561063d573d5f803e3d5ffd5b5f825f0361154457505f6104b7565b5f61154f83856118cd565b90508261155c8583611a3f565b146114bc5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610507565b5f8183116115c157826114bc565b50919050565b5f806115d3838561197e565b9050838110156114bc5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610507565b5f6114bc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112d3565b5f81836116865760405162461bcd60e51b81526004016105079190611692565b505f6113028486611a3f565b5f6020808352835180828501525f5b818110156116bd578581018301518582016040015282016116a1565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610be0575f80fd5b5f8060408385031215611702575f80fd5b823561170d816116dd565b946020939093013593505050565b5f805f6060848603121561172d575f80fd5b8335611738816116dd565b92506020840135611748816116dd565b929592945050506040919091013590565b5f806040838503121561176a575f80fd5b50508035926020909101359150565b5f60208284031215611789575f80fd5b81356114bc816116dd565b5f80604083850312156117a5575f80fd5b82356117b0816116dd565b915060208301356117c0816116dd565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561181957815f19048211156117ff576117ff6117cb565b8085161561180c57918102915b93841c93908002906117e4565b509250929050565b5f8261182f575060016104b7565b8161183b57505f6104b7565b8160018114611851576002811461185b57611877565b60019150506104b7565b60ff84111561186c5761186c6117cb565b50506001821b6104b7565b5060208310610133831016604e8410600b841016171561189a575081810a6104b7565b6118a483836117df565b805f19048211156118b7576118b76117cb565b029392505050565b5f6114bc60ff841683611821565b80820281158282048414176104b7576104b76117cb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611929575f80fd5b81516114bc816116dd565b5f805f60608486031215611946575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561196f575f80fd5b815180151581146114bc575f80fd5b808201808211156104b7576104b76117cb565b5f600182016119a2576119a26117cb565b5060010190565b818103818111156104b7576104b76117cb565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611a1e5784516001600160a01b0316835293830193918301916001016119f9565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611a5957634e487b7160e01b5f52601260045260245ffd5b50049056fe4861727279506f747465724865726d696f6e65526f6e44756d626c65646f7265446f626279566f6c64656d6f72744d616c666f79486f67776172747336363654686547616d6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ac1cde1b4d1783a059d45d22f2281f416183db084fd62a99aab9d21b354a767b64736f6c63430008140033