60806040526000600655600060075560016008556001600955601e600a556028600b556005600c556000600d556009600a6200003c9190620004a6565b6200004c906352412100620004be565b600e556200005d6009600a620004a6565b6200006d906352412100620004be565b600f556200007e6009600a620004a6565b6200008e906329209080620004be565b6010556200009f6009600a620004a6565b620000af906329209080620004be565b6011556013805461ffff60a81b19169055348015620000cd57600080fd5b503380620000f557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620001008162000341565b50601580546001600160a01b0319908116735e1206555e15e3cb306aa23003ff97214f02cc1217909155601480548216733bd01e89907b05bcfc598fe477ff43092aeffac5179055601680549091167348a287b241dbb89cb157e536518e05741ce796d3179055620001756009600a620004a6565b6200018690640e7572cd00620004be565b30600090815260016020526040902055620001a46009600a620004a6565b620001b49063cda2d280620004be565b6015546001600160a01b0316600090815260016020526040902055620001dd6009600a620004a6565b620001ed9063cda2d280620004be565b6016546001600160a01b03166000908152600160208190526040822092909255600390620002236000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308082526003855283822080548716600190811790915560145484168352848320805488168217905560165490931682528382208054909616831790955584815292528082205490516000805160206200222083398151915291620002b99190815260200190565b60405180910390a36015546001600160a01b0316600081815260016020908152604080832054905190815260008051602062002220833981519152910160405180910390a36016546001600160a01b0316600081815260016020908152604080832054905190815260008051602062002220833981519152910160405180910390a3620004d8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003e8578160001904821115620003cc57620003cc62000391565b80851615620003da57918102915b93841c9390800290620003ac565b509250929050565b6000826200040157506001620004a0565b816200041057506000620004a0565b8160018114620004295760028114620004345762000454565b6001915050620004a0565b60ff84111562000448576200044862000391565b50506001821b620004a0565b5060208310610133831016604e8410600b841016171562000479575081810a620004a0565b620004858383620003a7565b80600019048211156200049c576200049c62000391565b0290505b92915050565b6000620004b760ff841683620003f0565b9392505050565b8082028115828204841417620004a057620004a062000391565b611d3880620004e86000396000f3fe6080604052600436106101795760003560e01c8063751039fc116100cb578063a9059cbb1161007f578063d34628cc11610059578063d34628cc14610437578063dd62ed3e14610457578063f2fde38b1461049d57600080fd5b8063a9059cbb146103ec578063bf474bed1461040c578063c9567bf91461042257600080fd5b80638da5cb5b116100b05780638da5cb5b146103685780638f9a55c01461039057806395d89b41146103a657600080fd5b8063751039fc1461033d5780637d1db4a51461035257600080fd5b8063313ce5671161012d57806341fb0d211161010757806341fb0d21146102dd57806370a08231146102f2578063715018a61461032857600080fd5b8063313ce5671461026657806331c2d847146102825780633bbac579146102a457600080fd5b80630faee56f1161015e5780630faee56f1461020d57806318160ddd1461023157806323b872dd1461024657600080fd5b806306fdde0314610185578063095ea7b3146101dd57600080fd5b3661018057005b600080fd5b34801561019157600080fd5b5060408051808201909152600581527f4265656d6f00000000000000000000000000000000000000000000000000000060208201525b6040516101d49190611851565b60405180910390f35b3480156101e957600080fd5b506101fd6101f83660046118c5565b6104bd565b60405190151581526020016101d4565b34801561021957600080fd5b5061022360115481565b6040519081526020016101d4565b34801561023d57600080fd5b506102236104d4565b34801561025257600080fd5b506101fd6102613660046118f1565b6104f6565b34801561027257600080fd5b50604051600981526020016101d4565b34801561028e57600080fd5b506102a261029d366004611948565b61055f565b005b3480156102b057600080fd5b506101fd6102bf366004611a0d565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156102e957600080fd5b506102a26105c9565b3480156102fe57600080fd5b5061022361030d366004611a0d565b6001600160a01b031660009081526001602052604090205490565b34801561033457600080fd5b506102a26105e2565b34801561034957600080fd5b506102a26105f6565b34801561035e57600080fd5b50610223600e5481565b34801561037457600080fd5b506000546040516001600160a01b0390911681526020016101d4565b34801561039c57600080fd5b50610223600f5481565b3480156103b257600080fd5b5060408051808201909152600381527f424d4f000000000000000000000000000000000000000000000000000000000060208201526101c7565b3480156103f857600080fd5b506101fd6104073660046118c5565b610689565b34801561041857600080fd5b5061022360105481565b34801561042e57600080fd5b506102a2610696565b34801561044357600080fd5b506102a2610452366004611948565b610ae2565b34801561046357600080fd5b50610223610472366004611a2a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156104a957600080fd5b506102a26104b8366004611a0d565b610b48565b60006104ca338484610b9f565b5060015b92915050565b60006104e26009600a611b5d565b6104f190641010b87200611b6c565b905090565b6000610503848484610cf7565b610555843361055085604051806060016040528060288152602001611cdb602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061137b565b610b9f565b5060019392505050565b6105676113b5565b60005b81518110156105c55760006004600084848151811061058b5761058b611b83565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161056a565b5050565b6105d16113b5565b600160068190556007819055600855565b6105ea6113b5565b6105f460006113fb565b565b6105fe6113b5565b61060a6009600a611b5d565b61061990641010b87200611b6c565b600e556106286009600a611b5d565b61063790641010b87200611b6c565b600f557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106676009600a611b5d565b61067690641010b87200611b6c565b60405190815260200160405180910390a1565b60006104ca338484610cf7565b61069e6113b5565b60135474010000000000000000000000000000000000000000900460ff161561070e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6012805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107659030906107566009600a611b5d565b61055090641010b87200611b6c565b601260009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190611b99565b6001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108629190611b99565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156108c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108eb9190611b99565b601380546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556012541663f305d7194730610940816001600160a01b031660009081526001602052604090205490565b6000806109556000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109d5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109fa9190611bb6565b50506013546012546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a909190611be4565b50601380547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff167601000100000000000000000000000000000000000000001790554360055560506006819055600755565b610aea6113b5565b60005b81518110156105c557600160046000848481518110610b0e57610b0e611b83565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610aed565b610b506113b5565b6001600160a01b038116610b93576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610705565b610b9c816113fb565b50565b6001600160a01b038316610c1a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610705565b6001600160a01b038216610c965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610705565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d735760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610705565b6001600160a01b038216610def5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610705565b60008111610e655760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610705565b600080546001600160a01b03858116911614801590610e9257506000546001600160a01b03848116911614155b15611238576001600160a01b03841660009081526004602052604090205460ff16158015610ed957506001600160a01b03831660009081526004602052604090205460ff16155b610ee257600080fd5b610f0e6064610f08600a54600d5411610efd57600654610f01565b6008545b8590611458565b906114fd565b6013549091506001600160a01b038581169116148015610f3c57506012546001600160a01b03848116911614155b8015610f6157506001600160a01b03831660009081526003602052604090205460ff16155b1561106b57600e54821115610fb85760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610705565b600f5482610fdb856001600160a01b031660009081526001602052604090205490565b610fe59190611c06565b11156110335760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610705565b4360055460036110439190611c06565b111561105557823b1561105557600080fd5b600d805490600061106583611c19565b91905055505b6013546001600160a01b038481169116148015906110a257506001600160a01b03831660009081526003602052604090205460ff16155b1561112257600f54826110ca856001600160a01b031660009081526001602052604090205490565b6110d49190611c06565b11156111225760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610705565b6013546001600160a01b03848116911614801561114857506001600160a01b0384163014155b15611175576111726064610f08600b54600d541161116857600754610f01565b6009548590611458565b90505b306000908152600160205260409020546013547501000000000000000000000000000000000000000000900460ff161580156111be57506013546001600160a01b038581169116145b80156111e65750601354760100000000000000000000000000000000000000000000900460ff165b80156111f3575060105481115b80156112025750600c54600d54115b156112365761122461121f8461121a8460115461153f565b61153f565b611554565b4780156112345761123447611748565b505b505b80156112b257306000908152600160205260409020546112589082611782565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112a99085815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546112d590836117e1565b6001600160a01b03851660009081526001602052604090205561131a6112fb83836117e1565b6001600160a01b03851660009081526001602052604090205490611782565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61136485856117e1565b60405190815260200160405180910390a350505050565b6000818484111561139f5760405162461bcd60e51b81526004016107059190611851565b5060006113ac8486611c32565b95945050505050565b6000546001600160a01b031633146105f4576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610705565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008260000361146a575060006104ce565b60006114768385611b6c565b9050826114838583611c45565b146114f65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610705565b9392505050565b60006114f683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611823565b600081831161154e57826114f6565b50919050565b601380547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905560408051600280825260608201835260009260208301908036833701905050905030816000815181106115c9576115c9611b83565b6001600160a01b03928316602091820292909201810191909152601254604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa15801561163b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165f9190611b99565b8160018151811061167257611672611b83565b6001600160a01b0392831660209182029290920101526012546116989130911684610b9f565b6012546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac947906116ea908590600090869030904290600401611c67565b600060405180830381600087803b15801561170457600080fd5b505af1158015611718573d6000803e3d6000fd5b5050601380547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16905550505050565b6014546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105c5573d6000803e3d6000fd5b60008061178f8385611c06565b9050838110156114f65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610705565b60006114f683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061137b565b600081836118445760405162461bcd60e51b81526004016107059190611851565b5060006113ac8486611c45565b60006020808352835180602085015260005b8181101561187f57858101830151858201604001528201611863565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b9c57600080fd5b80356118c0816118a0565b919050565b600080604083850312156118d857600080fd5b82356118e3816118a0565b946020939093013593505050565b60008060006060848603121561190657600080fd5b8335611911816118a0565b92506020840135611921816118a0565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561195b57600080fd5b823567ffffffffffffffff8082111561197357600080fd5b818501915085601f83011261198757600080fd5b81358181111561199957611999611932565b8060051b604051601f19603f830116810181811085821117156119be576119be611932565b6040529182528482019250838101850191888311156119dc57600080fd5b938501935b82851015611a01576119f2856118b5565b845293850193928501926119e1565b98975050505050505050565b600060208284031215611a1f57600080fd5b81356114f6816118a0565b60008060408385031215611a3d57600080fd5b8235611a48816118a0565b91506020830135611a58816118a0565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611ab4578160001904821115611a9a57611a9a611a63565b80851615611aa757918102915b93841c9390800290611a7e565b509250929050565b600082611acb575060016104ce565b81611ad8575060006104ce565b8160018114611aee5760028114611af857611b14565b60019150506104ce565b60ff841115611b0957611b09611a63565b50506001821b6104ce565b5060208310610133831016604e8410600b8410161715611b37575081810a6104ce565b611b418383611a79565b8060001904821115611b5557611b55611a63565b029392505050565b60006114f660ff841683611abc565b80820281158282048414176104ce576104ce611a63565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611bab57600080fd5b81516114f6816118a0565b600080600060608486031215611bcb57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611bf657600080fd5b815180151581146114f657600080fd5b808201808211156104ce576104ce611a63565b600060018201611c2b57611c2b611a63565b5060010190565b818103818111156104ce576104ce611a63565b600082611c6257634e487b7160e01b600052601260045260246000fd5b500490565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611cb95784516001600160a01b031683529383019391830191600101611c94565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122087e79ae8f7fab46ddca4004036c18cedec197b0721b61bac647be9436194080964736f6c63430008170033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef