60806040526003805474c2e2c95f1f5591f88e6945ecd675e6a3da169fbf016001600160a81b0319909116179055600480546001600160a01b03191673bc67c246c50af14dd2881ce0f337f04a00dfe3741790556019600581905560065560016007819055600881905560099081556000600a818155600b819055600c819055600d829055600e919091556012805461ffff60a81b191690556103e891620000a79162000405565b620000b790633b9aca006200041d565b620000c49060166200041d565b620000d091906200043f565b6014556103e8620000e46009600a62000405565b620000f490633b9aca006200041d565b620001019060166200041d565b6200010d91906200043f565b6015556200011e6009600a62000405565b6200012c90615dc06200041d565b60165560646200013f6009600a62000405565b6200014f90633b9aca006200041d565b6200015b91906200043f565b601755601880546001600160a01b0319908116738fdcdbb8b8726ebbfc7029e6cef599ec2d98ef58179091556019805490911673f500bd2d7cac2005cde2ad87f557f298f73e0a24179055348015620001b357600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002036009600a62000405565b6200021390633b9aca006200041d565b336000818152600f602090815260408083209490945581546001600160a01b039081168352600191829052848320805460ff199081168417909155308452858420805482168417905560035461010090048216845285842080548216841790556018548216845285842080548216841790556004549091168352938220805490941617909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002c96009600a62000405565b620002d990633b9aca006200041d565b60405190815260200160405180910390a362000462565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003475781600019048211156200032b576200032b620002f0565b808516156200033957918102915b93841c93908002906200030b565b509250929050565b6000826200036057506001620003ff565b816200036f57506000620003ff565b81600181146200038857600281146200039357620003b3565b6001915050620003ff565b60ff841115620003a757620003a7620002f0565b50506001821b620003ff565b5060208310610133831016604e8410600b8410161715620003d8575081810a620003ff565b620003e4838362000306565b8060001904821115620003fb57620003fb620002f0565b0290505b92915050565b60006200041660ff8416836200034f565b9392505050565b60008160001904831182151516156200043a576200043a620002f0565b500290565b6000826200045d57634e487b7160e01b600052601260045260246000fd5b500490565b611b7280620004726000396000f3fe60806040526004361061012e5760003560e01c8063715018a6116100ab5780638f9a55c01161006f5780638f9a55c01461032d57806395d89b411461013a578063a9059cbb14610343578063bf474bed14610363578063c876d0b914610379578063dd62ed3e1461039357600080fd5b8063715018a6146102bd578063751039fc146102d25780637d1db4a5146102e757806380ad906d146102fd5780638da5cb5b1461030557600080fd5b8063293230b8116100f2578063293230b814610206578063313ce5671461021d57806351bc3c85146102395780635342acb41461024e57806370a082311461028757600080fd5b806306fdde031461013a578063095ea7b31461017d5780630faee56f146101ad57806318160ddd146101d157806323b872dd146101e657600080fd5b3661013557005b600080fd5b34801561014657600080fd5b50604080518082018252600b81526a0566974616c696b363930360ac1b602082015290516101749190611701565b60405180910390f35b34801561018957600080fd5b5061019d610198366004611764565b6103d9565b6040519015158152602001610174565b3480156101b957600080fd5b506101c360175481565b604051908152602001610174565b3480156101dd57600080fd5b506101c36103f0565b3480156101f257600080fd5b5061019d610201366004611790565b610411565b34801561021257600080fd5b5061021b61047a565b005b34801561022957600080fd5b5060405160098152602001610174565b34801561024557600080fd5b5061021b6104c6565b34801561025a57600080fd5b5061019d6102693660046117d1565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561029357600080fd5b506101c36102a23660046117d1565b6001600160a01b03166000908152600f602052604090205490565b3480156102c957600080fd5b5061021b61050d565b3480156102de57600080fd5b5061021b610581565b3480156102f357600080fd5b506101c360145481565b61021b61063d565b34801561031157600080fd5b506000546040516001600160a01b039091168152602001610174565b34801561033957600080fd5b506101c360155481565b34801561034f57600080fd5b5061019d61035e366004611764565b6109ca565b34801561036f57600080fd5b506101c360165481565b34801561038557600080fd5b5060035461019d9060ff1681565b34801561039f57600080fd5b506101c36103ae3660046117ee565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b60006103e63384846109d7565b5060015b92915050565b60006103fe6009600a611921565b61040c90633b9aca00611930565b905090565b600061041e848484610afb565b610470843361046b85604051806060016040528060288152602001611b15602891396001600160a01b038a166000908152601060209081526040808320338452909152902054919061120d565b6109d7565b5060019392505050565b6000546001600160a01b031633146104ad5760405162461bcd60e51b81526004016104a49061194f565b60405180910390fd5b6012805462ff00ff60a01b19166201000160a01b179055565b60035461010090046001600160a01b0316336001600160a01b0316146104eb57600080fd5b306000908152600f6020526040902054801561050a5761050a81611247565b50565b6000546001600160a01b031633146105375760405162461bcd60e51b81526004016104a49061194f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105ab5760405162461bcd60e51b81526004016104a49061194f565b6105b76009600a611921565b6105c590633b9aca00611930565b6014556105d46009600a611921565b6105e290633b9aca00611930565b6015556003805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61061c6009600a611921565b61062a90633b9aca00611930565b60405190815260200160405180910390a1565b6000546001600160a01b031633146106675760405162461bcd60e51b81526004016104a49061194f565b601254600160a01b900460ff16156106c15760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104a4565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561070a9030906106fc6009600a611921565b61046b90633b9aca00611930565b6019546001600160a01b03908116600090815260136020908152604091829020805460ff19166001179055601154825163c45a015560e01b8152925193169263c45a01559260048082019392918290030181865afa158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190611984565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081a9190611984565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088b9190611984565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d71934306108d3816001600160a01b03166000908152600f602052604090205490565b6000806108e86000546001600160a01b031690565b426040518863ffffffff1660e01b815260040161090a969594939291906119a1565b60606040518083038185885af1158015610928573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061094d91906119dc565b505060125460115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156109a6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190611a0a565b60006103e6338484610afb565b6001600160a01b038316610a395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a4565b6001600160a01b038216610a9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a4565b6001600160a01b0383811660008181526010602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b5f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a4565b6001600160a01b038216610bc15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a4565b60008111610c235760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104a4565b6001600160a01b03831660009081526001602052604090205460ff16158015610c6557506001600160a01b03821660009081526001602052604090205460ff16155b15610cb957601254600160a01b900460ff16610cb95760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b60448201526064016104a4565b600080546001600160a01b03858116911614801590610ce657506000546001600160a01b03848116911614155b8015610cfb57506001600160a01b0384163014155b156110e95760035460ff1615610de5576011546001600160a01b03848116911614801590610d3757506012546001600160a01b03848116911614155b15610de557326000908152600260205260409020544311610dd25760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104a4565b3260009081526002602052604090204390555b6012546001600160a01b038581169116148015610e1057506011546001600160a01b03848116911614155b8015610e3557506001600160a01b03831660009081526001602052604090205460ff16155b15610f4b57601454821115610e8c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104a4565b610eb86064610eb2600b54600e5411610ea757600554610eab565b6007545b8590611327565b906113b0565b905060155482610edd856001600160a01b03166000908152600f602052604090205490565b610ee79190611a2c565b1115610f355760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104a4565b600e8054906000610f4583611a3f565b91905055505b6012546001600160a01b038481169116148015610f7157506001600160a01b0384163014155b15610f9e57610f9b6064610eb2600c54600e5411610f9157600654610eab565b6008548590611327565b90505b6012546001600160a01b03848116911614801590610fd457506001600160a01b03841660009081526013602052604090205460ff165b1561102b57611011610fe86009600a611921565b610ff29084611930565b6001600160a01b0385166000908152600f6020526040902054906113f2565b6001600160a01b0384166000908152600f60205260409020555b306000908152600f6020526040902054601254600160a81b900460ff1615801561106257506012546001600160a01b038581169116145b801561108757506001600160a01b03851660009081526001602052604090205460ff16155b801561109c5750601254600160b01b900460ff165b80156110a9575060165481115b80156110b6575060165483115b80156110c55750600d54600e54115b156110e7576110e76110e2846110dd84601754611451565b611451565b611247565b505b801561116357306000908152600f602052604090205461110990826113f2565b306000818152600f6020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115a9085815260200190565b60405180910390a35b6001600160a01b0384166000908152600f60205260409020546111869083611466565b6001600160a01b0385166000908152600f60205260409020556111ac610ff28383611466565b6001600160a01b038085166000818152600f602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111f68585611466565b60405190815260200160405180910390a350505050565b600081848411156112315760405162461bcd60e51b81526004016104a49190611701565b50600061123e8486611a58565b95945050505050565b6012805460ff60a81b1916600160a81b179055600a5460009060029061126d9084611930565b6112779190611a6b565b905060006112858284611a58565b9050611290816114a8565b600a5460095447916000916112a59190611a2c565b6009546112b29084611930565b6112bc9190611a6b565b90508015611313576003546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611302573d6000803e3d6000fd5b508315611313576113138447611602565b50506012805460ff60a81b19169055505050565b600082600003611339575060006103ea565b60006113458385611930565b9050826113528583611a6b565b146113a95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104a4565b9392505050565b60006113a983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116d3565b6000806113ff8385611a2c565b9050838110156113a95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104a4565b600081831161146057826113a9565b50919050565b60006113a983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061120d565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106114dd576114dd611a8d565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155a9190611984565b8160018151811061156d5761156d611a8d565b6001600160a01b03928316602091820292909201015260115461159391309116846109d7565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906115cc908590600090869030904290600401611aa3565b600060405180830381600087803b1580156115e657600080fd5b505af11580156115fa573d6000803e3d6000fd5b505050505050565b6011543060009081526010602090815260408083206001600160a01b03909416835292905220548281101561164b5760115461164b9030906001600160a01b03166000196109d7565b60115460035460405163f305d71960e01b81526001600160a01b039283169263f305d7199286926116909230928a9260009283926101009004169042906004016119a1565b60606040518083038185885af11580156116ae573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115fa91906119dc565b600081836116f45760405162461bcd60e51b81526004016104a49190611701565b50600061123e8486611a6b565b600060208083528351808285015260005b8181101561172e57858101830151858201604001528201611712565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461050a57600080fd5b6000806040838503121561177757600080fd5b82356117828161174f565b946020939093013593505050565b6000806000606084860312156117a557600080fd5b83356117b08161174f565b925060208401356117c08161174f565b929592945050506040919091013590565b6000602082840312156117e357600080fd5b81356113a98161174f565b6000806040838503121561180157600080fd5b823561180c8161174f565b9150602083013561181c8161174f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561187857816000190482111561185e5761185e611827565b8085161561186b57918102915b93841c9390800290611842565b509250929050565b60008261188f575060016103ea565b8161189c575060006103ea565b81600181146118b257600281146118bc576118d8565b60019150506103ea565b60ff8411156118cd576118cd611827565b50506001821b6103ea565b5060208310610133831016604e8410600b84101617156118fb575081810a6103ea565b611905838361183d565b806000190482111561191957611919611827565b029392505050565b60006113a960ff841683611880565b600081600019048311821515161561194a5761194a611827565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561199657600080fd5b81516113a98161174f565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6000806000606084860312156119f157600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a1c57600080fd5b815180151581146113a957600080fd5b808201808211156103ea576103ea611827565b600060018201611a5157611a51611827565b5060010190565b818103818111156103ea576103ea611827565b600082611a8857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611af35784516001600160a01b031683529383019391830191600101611ace565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202c1f3143fd6977f239ace016ab57372f32253472fe4c8eaa0551e86b20a8dac864736f6c63430008100033