60806040526005805460ff1916600190811790915560006006819055600781905560088290556009918255600a818155600b8290556019600c55600d919091556200004b91906200033f565b6200005b906305f5e10062000357565b600e556200006c6009600a6200033f565b6200007c906305f5e10062000357565b600f556200008d6009600a6200033f565b6200009c9062e4e1c062000357565b601055620000ad6009600a6200033f565b620000bc9062e4e1c062000357565b6011556013805461ffff60a81b19169055348015620000da57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200012a6009600a6200033f565b6200013a90633b9aca0062000357565b336000908152600160208190526040822092909255600390620001656000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005546101009004909116835291208054909216179055620001c93390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002036009600a6200033f565b6200021390633b9aca0062000357565b60405190815260200160405180910390a362000371565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002815781600019048211156200026557620002656200022a565b808516156200027357918102915b93841c939080029062000245565b509250929050565b6000826200029a5750600162000339565b81620002a95750600062000339565b8160018114620002c25760028114620002cd57620002ed565b600191505062000339565b60ff841115620002e157620002e16200022a565b50506001821b62000339565b5060208310610133831016604e8410600b841016171562000312575081810a62000339565b6200031e838362000240565b80600019048211156200033557620003356200022a565b0290505b92915050565b60006200035060ff84168362000289565b9392505050565b80820281158282048414176200033957620003396200022a565b61183b80620003816000396000f3fe60806040526004361061010d5760003560e01c80637d1db4a511610095578063a9059cbb11610064578063a9059cbb146102b6578063bf474bed146102d6578063c876d0b9146102ec578063ca72a4e714610306578063dd62ed3e1461031957600080fd5b80637d1db4a5146102625780638da5cb5b146102785780638f9a55c0146102a057806395d89b411461011957600080fd5b806323b872dd116100dc57806323b872dd146101c4578063313ce567146101e457806370a0823114610200578063715018a614610236578063751039fc1461024d57600080fd5b806306fdde0314610119578063095ea7b31461015b5780630faee56f1461018b57806318160ddd146101af57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b50604080518082018252600a815269444f4245444f4245444f60b01b602082015290516101529190611407565b60405180910390f35b34801561016757600080fd5b5061017b610176366004611452565b61035f565b6040519015158152602001610152565b34801561019757600080fd5b506101a160115481565b604051908152602001610152565b3480156101bb57600080fd5b506101a1610376565b3480156101d057600080fd5b5061017b6101df36600461147e565b610397565b3480156101f057600080fd5b5060405160098152602001610152565b34801561020c57600080fd5b506101a161021b3660046114bf565b6001600160a01b031660009081526001602052604090205490565b34801561024257600080fd5b5061024b610400565b005b34801561025957600080fd5b5061024b61047d565b34801561026e57600080fd5b506101a1600e5481565b34801561028457600080fd5b506000546040516001600160a01b039091168152602001610152565b3480156102ac57600080fd5b506101a1600f5481565b3480156102c257600080fd5b5061017b6102d1366004611452565b610539565b3480156102e257600080fd5b506101a160105481565b3480156102f857600080fd5b5060055461017b9060ff1681565b61024b6103143660046114bf565b610546565b34801561032557600080fd5b506101a16103343660046114dc565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061036c338484610924565b5060015b92915050565b60006103846009600a61160f565b61039290633b9aca0061161e565b905090565b60006103a4848484610a48565b6103f684336103f1856040518060600160405280602881526020016117de602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611008565b610924565b5060019392505050565b6000546001600160a01b031633146104335760405162461bcd60e51b815260040161042a90611635565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146104a75760405162461bcd60e51b815260040161042a90611635565b6104b36009600a61160f565b6104c190633b9aca0061161e565b600e556104d06009600a61160f565b6104de90633b9aca0061161e565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105186009600a61160f565b61052690633b9aca0061161e565b60405190815260200160405180910390a1565b600061036c338484610a48565b6000546001600160a01b031633146105705760405162461bcd60e51b815260040161042a90611635565b601354600160a01b900460ff16156105ca5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161042a565b60058054610100600160a81b0319166101006001600160a01b0384160217905560128054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031990911681179091556106349030906106266009600a61160f565b6103f190633b9aca0061161e565b601260009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610687573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ab919061166a565b6001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610731919061166a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561077e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a2919061166a565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d71934306107ea816001600160a01b031660009081526001602052604090205490565b6000806107ff6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610867573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061088c9190611687565b505060135460125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090991906116b5565b50506013805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161042a565b6001600160a01b0382166109e75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042a565b6001600160a01b038216610b0e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042a565b60008111610b705760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161042a565b600080546001600160a01b03858116911614801590610b9d57506000546001600160a01b03848116911614155b15610ec55760055460ff1615610c87576012546001600160a01b03848116911614801590610bd957506013546001600160a01b03848116911614155b15610c8757326000908152600460205260409020544311610c745760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161042a565b3260009081526004602052604090204390555b6013546001600160a01b038581169116148015610cb257506012546001600160a01b03848116911614155b8015610cd757506001600160a01b03831660009081526003602052604090205460ff16155b15610dbf57600e54821115610d2e5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161042a565b600f5482610d51856001600160a01b031660009081526001602052604090205490565b610d5b91906116d7565b1115610da95760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161042a565b600d8054906000610db9836116ea565b91905055505b6013546001600160a01b038481169116148015610de557506001600160a01b0384163014155b15610e1e57600554610e059061010090046001600160a01b031685611042565b610e0f908361161e565b9050610e1b828261116a565b91505b30600090815260016020526040902054601354600160a81b900460ff16158015610e5557506013546001600160a01b038581169116145b8015610e6a5750601354600160b01b900460ff165b8015610e77575060105481115b8015610e865750600c54600d54115b15610ec357610ea8610ea384610e9e846011546111b3565b6111b3565b6111c8565b4766b1a2bc2ec50000811115610ec157610ec147611342565b505b505b8015610f3f5730600090815260016020526040902054610ee59082611384565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f369085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610f62908361116a565b6001600160a01b038516600090815260016020526040902055610fa7610f888383611384565b6001600160a01b03851660009081526001602052604090205490611384565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610ff18585611384565b60405190815260200160405180910390a350505050565b6000818484111561102c5760405162461bcd60e51b815260040161042a9190611407565b5060006110398486611703565b95945050505050565b6000826001600160a01b03163160000361105e57506000610370565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906001600160a01b0386169060340160408051601f19818403018152908290526110a791611716565b6000604051808303816000865af19150503d80600081146110e4576040519150601f19603f3d011682016040523d82523d6000602084013e6110e9565b606091505b5091509150816111615760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161042a565b61103981611732565b60006111ac83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611008565b9392505050565b60008183116111c257826111ac565b50919050565b6013805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061121057611210611756565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d919061166a565b816001815181106112a0576112a0611756565b6001600160a01b0392831660209182029290920101526012546112c69130911684610924565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906112ff90859060009086903090429060040161176c565b600060405180830381600087803b15801561131957600080fd5b505af115801561132d573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015611380573d6000803e3d6000fd5b5050565b60008061139183856116d7565b9050838110156111ac5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161042a565b60005b838110156113fe5781810151838201526020016113e6565b50506000910152565b60208152600082518060208401526114268160408501602087016113e3565b601f01601f19169190910160400192915050565b6001600160a01b038116811461144f57600080fd5b50565b6000806040838503121561146557600080fd5b82356114708161143a565b946020939093013593505050565b60008060006060848603121561149357600080fd5b833561149e8161143a565b925060208401356114ae8161143a565b929592945050506040919091013590565b6000602082840312156114d157600080fd5b81356111ac8161143a565b600080604083850312156114ef57600080fd5b82356114fa8161143a565b9150602083013561150a8161143a565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561156657816000190482111561154c5761154c611515565b8085161561155957918102915b93841c9390800290611530565b509250929050565b60008261157d57506001610370565b8161158a57506000610370565b81600181146115a057600281146115aa576115c6565b6001915050610370565b60ff8411156115bb576115bb611515565b50506001821b610370565b5060208310610133831016604e8410600b84101617156115e9575081810a610370565b6115f3838361152b565b806000190482111561160757611607611515565b029392505050565b60006111ac60ff84168361156e565b808202811582820484141761037057610370611515565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561167c57600080fd5b81516111ac8161143a565b60008060006060848603121561169c57600080fd5b8351925060208401519150604084015190509250925092565b6000602082840312156116c757600080fd5b815180151581146111ac57600080fd5b8082018082111561037057610370611515565b6000600182016116fc576116fc611515565b5060010190565b8181038181111561037057610370611515565b600082516117288184602087016113e3565b9190910192915050565b805160208083015191908110156111c25760001960209190910360031b1b16919050565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117bc5784516001600160a01b031683529383019391830191600101611797565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122058b795662f302f0bfc22006dff3c3053d12df41f14cd6d9f6ec36387965ed11564736f6c63430008130033