60806040526000600755600060085560006009556009600a6200002391906200034d565b620000339063014fb18062000365565b600b55620000446009600a6200034d565b620000549063014fb18062000365565b600c55600d805462ffff00191690553480156200007057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b031916735b864c69816d4edc9162cbd2d162454fe8ea1be1179055620000e66009600a6200034d565b620000f690633b9aca0062000365565b336000908152600160205260408120919091555462000120906001600160a01b03166001620001ae565b6200012f61dead6001620001ae565b6200013c306001620001ae565b60045462000155906001600160a01b03166001620001ae565b3360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001876009600a6200034d565b6200019790633b9aca0062000365565b60405190815260200160405180910390a36200037f565b6000546001600160a01b031633146200020d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200028f57816000190482111562000273576200027362000238565b808516156200028157918102915b93841c939080029062000253565b509250929050565b600082620002a85750600162000347565b81620002b75750600062000347565b8160018114620002d05760028114620002db57620002fb565b600191505062000347565b60ff841115620002ef57620002ef62000238565b50506001821b62000347565b5060208310610133831016604e8410600b841016171562000320575081810a62000347565b6200032c83836200024e565b806000190482111562000343576200034362000238565b0290505b92915050565b60006200035e60ff84168362000297565b9392505050565b808202811582820484141762000347576200034762000238565b611ae5806200038f6000396000f3fe6080604052600436106101235760003560e01c80637d1db4a5116100a0578063a9059cbb11610064578063a9059cbb14610336578063bf474bed14610356578063c7ab9ec01461036b578063dd62ed3e14610380578063df8408fe146103c657600080fd5b80637d1db4a51461029357806382116718146102a95780638da5cb5b146102c95780638f9a55c0146102f157806395d89b411461030757600080fd5b806323b872dd116100e757806323b872dd146101f7578063313ce5671461021757806370a0823114610233578063715018a614610269578063751039fc1461027e57600080fd5b806306fdde031461012f578063095ea7b3146101785780630faee56f146101a857806318160ddd146101cb5780631add53b8146101e057600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201909152600e81526d21b434b732b9b290223930b3b7b760911b60208201525b60405161016f919061165b565b60405180910390f35b34801561018457600080fd5b506101986101933660046116c1565b6103e6565b604051901515815260200161016f565b3480156101b457600080fd5b506101bd6103fd565b60405190815260200161016f565b3480156101d757600080fd5b506101bd610419565b3480156101ec57600080fd5b506101f561043a565b005b34801561020357600080fd5b506101986102123660046116ed565b6107bc565b34801561022357600080fd5b506040516009815260200161016f565b34801561023f57600080fd5b506101bd61024e36600461172e565b6001600160a01b031660009081526001602052604090205490565b34801561027557600080fd5b506101f5610820565b34801561028a57600080fd5b506101f5610894565b34801561029f57600080fd5b506101bd600b5481565b3480156102b557600080fd5b506101f56102c436600461174b565b610947565b3480156102d557600080fd5b506000546040516001600160a01b03909116815260200161016f565b3480156102fd57600080fd5b506101bd600c5481565b34801561031357600080fd5b5060408051808201909152600681526544726167677960d01b6020820152610162565b34801561034257600080fd5b506101986103513660046116c1565b610a24565b34801561036257600080fd5b506101bd610a31565b34801561037757600080fd5b506101f5610a48565b34801561038c57600080fd5b506101bd61039b36600461176d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156103d257600080fd5b506101f56103e13660046117b4565b610b12565b60006103f3338484610b67565b5060015b92915050565b6104096009600a6118dc565b61041690629896806118eb565b81565b60006104276009600a6118dc565b61043590633b9aca006118eb565b905090565b6000546001600160a01b0316331461046d5760405162461bcd60e51b815260040161046490611902565b60405180910390fd5b600d5460ff16156104b65760405162461bcd60e51b81526020600482015260136024820152721a5b9a5d08185b1c9958591e4818d85b1b1959606a1b6044820152606401610464565b30600081815260016020526040902054600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091559091610514916105016009600a6118dc565b61050f90633b9aca006118eb565b610b67565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610567573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058b9190611937565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106119190611937565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561065e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190611937565b600580546001600160a01b0319166001600160a01b039283161790556006541663f305d7194730846000803360405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610716573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061073b9190611954565b505060055460065460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190611982565b5050565b60006107c9848484610c35565b610816843361050f85604051806060016040528060288152602001611a88602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061123b565b5060019392505050565b6000546001600160a01b0316331461084a5760405162461bcd60e51b815260040161046490611902565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108be5760405162461bcd60e51b815260040161046490611902565b6108ca6009600a6118dc565b6108d890633b9aca006118eb565b600b556108e76009600a6118dc565b6108f590633b9aca006118eb565b600c557f69ada53addde5123341ce3a822c5f66292103b2771e41e1f3c00c2de8a63a7f96109256009600a6118dc565b61093390633b9aca006118eb565b6040519081526020015b60405180910390a1565b6000546001600160a01b031633146109715760405162461bcd60e51b815260040161046490611902565b60198211158015610983575060198111155b80156109915750600d5460ff165b6109dd5760405162461bcd60e51b815260206004820152601860248201527f46696e616c205461783a20457863656564732076616c756500000000000000006044820152606401610464565b6007829055600881905560408051838152602081018390527f78009e5656a5c60b3c047015fb856b2efbc6f42beed76119406d7d4e3fc161f4910160405180910390a15050565b60006103f3338484610c35565b610a3d6009600a6118dc565b6104169060646118eb565b6000546001600160a01b03163314610a725760405162461bcd60e51b815260040161046490611902565b600d5460ff1615610abc5760405162461bcd60e51b81526020600482015260146024820152733a3930b234b7339030b63932b0b23c9037b832b760611b6044820152606401610464565b600d80546201000162ff00ff19909116179081905560408051600181526201000090920460ff16151560208301527f41a09f17206aad1ccd4bae176b5c5e0b2154e569947545c9019e6bb0cb4ef59c910161093d565b6000546001600160a01b03163314610b3c5760405162461bcd60e51b815260040161046490611902565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b6001600160a01b03831615801590610b8757506001600160a01b03821615155b610bd35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a20617070726f766520746865207a65726f2061646472657373006044820152606401610464565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831615801590610c5557506001600160a01b03821615155b610ca15760405162461bcd60e51b815260206004820181905260248201527f45524332303a207472616e7366657220746865207a65726f20616464726573736044820152606401610464565b60008111610d035760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610464565b600d5460ff16610d8f576001600160a01b03821660009081526003602052604090205460ff1680610d4c57506001600160a01b03831660009081526003602052604090205460ff165b610d8f5760405162461bcd60e51b81526020600482015260146024820152733a3930b234b733903737ba103cb2ba1037b832b760611b6044820152606401610464565b600d5462010000900460ff161580610dae5750600d54610100900460ff165b15610e59576001600160a01b038316600090815260016020526040902054610dd69082611275565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610e0590826112be565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c289085815260200190565b60006064610e7c601e60095411610e7157600d610e75565b6007545b849061131d565b610e86919061199f565b9050610e9a6000546001600160a01b031690565b6001600160a01b0316846001600160a01b031614158015610ec957506000546001600160a01b03848116911614155b156111a6576005546001600160a01b038581169116148015610ef957506006546001600160a01b03848116911614155b8015610f1e57506001600160a01b03831660009081526003602052604090205460ff16155b1561100657600b54821115610f755760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610464565b600c5482610f98856001600160a01b031660009081526001602052604090205490565b610fa291906119c1565b1115610ff05760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610464565b60098054906000611000836119d4565b91905055505b6005546001600160a01b03848116911614801561102c57506001600160a01b0384163014155b1561105e576064611051601e6009541161104757600d610e75565b600854849061131d565b61105b919061199f565b90505b80600a600082825461107091906119c1565b909155505030600090815260016020526040902054600d54610100900460ff161580156110aa57506005546001600160a01b038581169116145b80156110be5750600d5462010000900460ff165b80156110cc57506000600954115b80156110f157506001600160a01b03851660009081526003602052604090205460ff16155b801561111657506001600160a01b03841660009081526003602052604090205460ff16155b156111a4576111276009600a6118dc565b6111329060646118eb565b8111156111935760006111476009600a6118dc565b61115490629896806118eb565b82116111605781611179565b61116c6009600a6118dc565b61117990629896806118eb565b905061119181851161118b578461139f565b8161139f565b505b4761119d47611513565b506000600a555b505b801561122057306000908152600160205260409020546111c690826112be565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112179085815260200190565b60405180910390a35b6112358484846112308186611275565b61154d565b50505050565b6000818484111561125f5760405162461bcd60e51b8152600401610464919061165b565b50600061126c84866119ed565b95945050505050565b60006112b783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061123b565b9392505050565b6000806112cb83856119c1565b9050838110156112b75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610464565b60008260000361132f575060006103f7565b600061133b83856118eb565b905082611348858361199f565b146112b75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610464565b600d805461ff00191661010017905560408051600280825260608201835260009260208301908036833701905050905030816000815181106113e3576113e3611a00565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561143c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114609190611937565b8160018151811061147357611473611a00565b6001600160a01b0392831660209182029290920101526006546114999130911684610b67565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906114d2908590600090869030904290600401611a16565b600060405180830381600087803b1580156114ec57600080fd5b505af1158015611500573d6000803e3d6000fd5b5050600d805461ff001916905550505050565b6004546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156107b8573d6000803e3d6000fd5b60045460019060009061156d90879084906001600160a01b031687611628565b6001600160a01b0387166000908152600160205260409020549091506115949082906119ed565b6001600160a01b0380881660009081526001602052604080822093909355908716815220546115c49084906119c1565b6001600160a01b0380871660008181526001602052604090819020939093559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116189087815260200190565b60405180910390a3505050505050565b6000826001600160a01b0316856001600160a01b0316036116515761164e6001856119ed565b93505b61126c848361131d565b600060208083528351808285015260005b818110156116885785810183015185820160400152820161166c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116be57600080fd5b50565b600080604083850312156116d457600080fd5b82356116df816116a9565b946020939093013593505050565b60008060006060848603121561170257600080fd5b833561170d816116a9565b9250602084013561171d816116a9565b929592945050506040919091013590565b60006020828403121561174057600080fd5b81356112b7816116a9565b6000806040838503121561175e57600080fd5b50508035926020909101359150565b6000806040838503121561178057600080fd5b823561178b816116a9565b9150602083013561179b816116a9565b809150509250929050565b80151581146116be57600080fd5b600080604083850312156117c757600080fd5b82356117d2816116a9565b9150602083013561179b816117a6565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611833578160001904821115611819576118196117e2565b8085161561182657918102915b93841c93908002906117fd565b509250929050565b60008261184a575060016103f7565b81611857575060006103f7565b816001811461186d576002811461187757611893565b60019150506103f7565b60ff841115611888576118886117e2565b50506001821b6103f7565b5060208310610133831016604e8410600b84101617156118b6575081810a6103f7565b6118c083836117f8565b80600019048211156118d4576118d46117e2565b029392505050565b60006112b760ff84168361183b565b80820281158282048414176103f7576103f76117e2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561194957600080fd5b81516112b7816116a9565b60008060006060848603121561196957600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561199457600080fd5b81516112b7816117a6565b6000826119bc57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156103f7576103f76117e2565b6000600182016119e6576119e66117e2565b5060010190565b818103818111156103f7576103f76117e2565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a665784516001600160a01b031683529383019391830191600101611a41565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220866661909eaaccacde47b611de1488b961df8c33b7af93d88e396bdaae7ca4a764736f6c63430008140033