608060405273fa28e7ef6f3b6787f64c561c9dac71f64a5a21bd600560006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060036006556003600755600060085560006009556006600a556006600b556006600c556000600d5560646009600a620000799190620002f2565b6200008990633b9aca006200030a565b62000095919062000324565b600e556010805462ffffff60a01b19169055348015620000b457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b03191633179055600080546001600160a01b03908116825260036020526040808320805460ff19908116600190811790925530855282852080548216831790556005549093168452922080549091169091179055620001636009600a620002f2565b6200017390633b9aca006200030a565b33600081815260016020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001b66009600a620002f2565b620001c690633b9aca006200030a565b60405190815260200160405180910390a362000347565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000234578160001904821115620002185762000218620001dd565b808516156200022657918102915b93841c9390800290620001f8565b509250929050565b6000826200024d57506001620002ec565b816200025c57506000620002ec565b81600181146200027557600281146200028057620002a0565b6001915050620002ec565b60ff841115620002945762000294620001dd565b50506001821b620002ec565b5060208310610133831016604e8410600b8410161715620002c5575081810a620002ec565b620002d18383620001f3565b8060001904821115620002e857620002e8620001dd565b0290505b92915050565b60006200030360ff8416836200023c565b9392505050565b8082028115828204841417620002ec57620002ec620001dd565b6000826200034257634e487b7160e01b600052601260045260246000fd5b500490565b6114b280620003576000396000f3fe6080604052600436106100c65760003560e01c806370a082311161007f57806395d89b411161005957806395d89b411461022d578063a9059cbb1461025a578063c9567bf91461027a578063dd62ed3e1461028f57600080fd5b806370a08231146101ba578063715018a6146101f05780638da5cb5b1461020557600080fd5b806306fdde03146100d2578063095ea7b31461011457806318160ddd1461014457806323b872dd146101675780632db5ae0414610187578063313ce5671461019e57600080fd5b366100cd57005b600080fd5b3480156100de57600080fd5b506040805180820190915260078152665a4b4d4c20414960c81b60208201525b60405161010b91906110a3565b60405180910390f35b34801561012057600080fd5b5061013461012f366004611109565b6102d5565b604051901515815260200161010b565b34801561015057600080fd5b506101596102ec565b60405190815260200161010b565b34801561017357600080fd5b50610134610182366004611135565b61030d565b34801561019357600080fd5b5061019c610376565b005b3480156101aa57600080fd5b506040516009815260200161010b565b3480156101c657600080fd5b506101596101d5366004611176565b6001600160a01b031660009081526001602052604090205490565b3480156101fc57600080fd5b5061019c610582565b34801561021157600080fd5b506000546040516001600160a01b03909116815260200161010b565b34801561023957600080fd5b506040805180820190915260048152631692d35360e21b60208201526100fe565b34801561026657600080fd5b50610134610275366004611109565b6105f6565b34801561028657600080fd5b5061019c610603565b34801561029b57600080fd5b506101596102aa366004611193565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006102e2338484610775565b5060015b92915050565b60006102fa6009600a6112c6565b61030890633b9aca006112d5565b905090565b600061031a848484610899565b61036c843361036785604051806060016040528060288152602001611455602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610cc2565b610775565b5060019392505050565b6000546001600160a01b031633146103a95760405162461bcd60e51b81526004016103a0906112ec565b60405180910390fd5b600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556103f29030906103e46009600a6112c6565b61036790633b9aca006112d5565b600f60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611321565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ef9190611321565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561053c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105609190611321565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146105ac5760405162461bcd60e51b81526004016103a0906112ec565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006102e2338484610899565b6000546001600160a01b0316331461062d5760405162461bcd60e51b81526004016103a0906112ec565b601054600160a81b900460ff16156106875760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103a0565b600f546001600160a01b031663f305d71947306106b9816001600160a01b031660009081526001602052604090205490565b6000806106ce6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610736573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061075b919061133e565b50506010805461ffff60a81b191661010160a81b17905550565b6001600160a01b0383166107d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103a0565b6001600160a01b0382166108385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103a0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103a0565b6001600160a01b03821661095f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103a0565b600081116109c15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103a0565b600080546001600160a01b038581169116148015906109ee57506000546001600160a01b03848116911614155b15610b7557610a1f6064610a19600a54600d5411610a0e57600654610a12565b6008545b8590610cfc565b90610d85565b6010549091506001600160a01b038581169116148015610a4d5750600f546001600160a01b03848116911614155b8015610a7257506001600160a01b03831660009081526003602052604090205460ff16155b15610a8d57600d8054906000610a878361136c565b91905055505b6010546001600160a01b038481169116148015610ab357506001600160a01b0384163014155b15610ae057610add6064610a19600b54600d5411610ad357600754610a12565b6009548590610cfc565b90505b30600090815260016020526040902054601054600160a01b900460ff16158015610b1757506010546001600160a01b038581169116145b8015610b2c5750601054600160b01b900460ff165b8015610b3b5750600c54600d54115b15610b7357600e54811115610b6757610b67610b6284610b5d84600e54610dc7565b610dc7565b610ddc565b47610b7147610f56565b505b505b610b7f8483610f94565b8015610bf95730600090815260016020526040902054610b9f9082610fd4565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bf09085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610c1c9083611033565b6001600160a01b038516600090815260016020526040902055610c61610c428383611033565b6001600160a01b03851660009081526001602052604090205490610fd4565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610cab8585611033565b60405190815260200160405180910390a350505050565b60008184841115610ce65760405162461bcd60e51b81526004016103a091906110a3565b506000610cf38486611385565b95945050505050565b600082600003610d0e575060006102e6565b6000610d1a83856112d5565b905082610d278583611398565b14610d7e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103a0565b9392505050565b6000610d7e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611075565b6000818311610dd65782610d7e565b50919050565b6010805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e2457610e246113ba565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea19190611321565b81600181518110610eb457610eb46113ba565b6001600160a01b039283166020918202929092010152600f54610eda9130911684610775565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f139085906000908690309042906004016113d0565b600060405180830381600087803b158015610f2d57600080fd5b505af1158015610f41573d6000803e3d6000fd5b50506010805460ff60a01b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f90573d6000803e3d6000fd5b5050565b600554600e54610fb69184916001600160a01b03909116906103679085610fd4565b600454600e54610f909184916001600160a01b039091169061036790855b600080610fe18385611441565b905083811015610d7e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103a0565b6000610d7e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610cc2565b600081836110965760405162461bcd60e51b81526004016103a091906110a3565b506000610cf38486611398565b600060208083528351808285015260005b818110156110d0578581018301518582016040015282016110b4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461110657600080fd5b50565b6000806040838503121561111c57600080fd5b8235611127816110f1565b946020939093013593505050565b60008060006060848603121561114a57600080fd5b8335611155816110f1565b92506020840135611165816110f1565b929592945050506040919091013590565b60006020828403121561118857600080fd5b8135610d7e816110f1565b600080604083850312156111a657600080fd5b82356111b1816110f1565b915060208301356111c1816110f1565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561121d578160001904821115611203576112036111cc565b8085161561121057918102915b93841c93908002906111e7565b509250929050565b600082611234575060016102e6565b81611241575060006102e6565b816001811461125757600281146112615761127d565b60019150506102e6565b60ff841115611272576112726111cc565b50506001821b6102e6565b5060208310610133831016604e8410600b84101617156112a0575081810a6102e6565b6112aa83836111e2565b80600019048211156112be576112be6111cc565b029392505050565b6000610d7e60ff841683611225565b80820281158282048414176102e6576102e66111cc565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561133357600080fd5b8151610d7e816110f1565b60008060006060848603121561135357600080fd5b8351925060208401519150604084015190509250925092565b60006001820161137e5761137e6111cc565b5060010190565b818103818111156102e6576102e66111cc565b6000826113b557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114205784516001600160a01b0316835293830193918301916001016113fb565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156102e6576102e66111cc56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220858251cd60c5c30d77508a41a7dd8075b3ac116eb1d327cf45f43b8c9cf2c87164736f6c63430008110033