6080604052610018670de0b6b3a764000060001961015e565b61002490600019610180565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f5560128054738394733a60628286eb969e5e342b36783e78c39d6001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b179055670de0b6b3a7640000601681905560175564174876e8006018553480156100c257600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654336000818152600260209081526040808320949094559251670de0b6b3a76400008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36101a7565b60008261017b57634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156101a157634e487b7160e01b600052601160045260246000fd5b92915050565b611b7680620001b76000396000f3fe6080604052600436106101445760003560e01c806370a08231116100b657806395d89b411161006f57806395d89b41146103a6578063a9059cbb146103d4578063b522d629146103f4578063bfd7928414610409578063c3c8cd8014610439578063dd62ed3e1461044e57600080fd5b806370a08231146102ef578063789dfefe1461030f5780637d1db4a51461032f5780637f2feddc146103455780638da5cb5b146103725780638f9a55c01461039057600080fd5b80632ca79fb2116101085780632ca79fb2146102465780632fd689e314610268578063313ce5671461027e57806340eed21d1461029a57806349bd5a5e146102ba5780636fc3eaec146102da57600080fd5b806306fdde0314610150578063095ea7b3146101995780631694505e146101c957806318160ddd1461020157806323b872dd1461022657600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5060408051808201909152600e81526d43727970746f2046696e616e636560901b60208201525b60405161019091906116e3565b60405180910390f35b3480156101a557600080fd5b506101b96101b4366004611756565b610494565b6040519015158152602001610190565b3480156101d557600080fd5b506014546101e9906001600160a01b031681565b6040516001600160a01b039091168152602001610190565b34801561020d57600080fd5b50670de0b6b3a76400005b604051908152602001610190565b34801561023257600080fd5b506101b9610241366004611782565b6104ab565b34801561025257600080fd5b506102666102613660046117d9565b610514565b005b34801561027457600080fd5b5061021860185481565b34801561028a57600080fd5b5060405160098152602001610190565b3480156102a657600080fd5b506102666102b536600461189e565b6105b3565b3480156102c657600080fd5b506015546101e9906001600160a01b031681565b3480156102e657600080fd5b506102666105f1565b3480156102fb57600080fd5b5061021861030a3660046118d0565b61063c565b34801561031b57600080fd5b5061026661032a3660046118ed565b61065e565b34801561033b57600080fd5b5061021860165481565b34801561035157600080fd5b506102186103603660046118d0565b60116020526000908152604090205481565b34801561037e57600080fd5b506000546001600160a01b03166101e9565b34801561039c57600080fd5b5061021860175481565b3480156103b257600080fd5b5060408051808201909152600581526421aca324a760d91b6020820152610183565b3480156103e057600080fd5b506101b96103ef366004611756565b6106ff565b34801561040057600080fd5b5061026661070c565b34801561041557600080fd5b506101b96104243660046118d0565b60106020526000908152604090205460ff1681565b34801561044557600080fd5b50610266610914565b34801561045a57600080fd5b50610218610469366004611978565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006104a1338484610968565b5060015b92915050565b60006104b8848484610a8c565b61050a843361050585604051806060016040528060288152602001611b19602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610fb8565b610968565b5060019392505050565b6000546001600160a01b031633146105475760405162461bcd60e51b815260040161053e906119b1565b60405180910390fd5b60005b81518110156105af5760016010600084848151811061056b5761056b6119e6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806105a781611a12565b91505061054a565b5050565b6000546001600160a01b031633146105dd5760405162461bcd60e51b815260040161053e906119b1565b600893909355600a91909155600955600b55565b6012546001600160a01b0316336001600160a01b0316148061062657506013546001600160a01b0316336001600160a01b0316145b61062f57600080fd5b4761063981610ff2565b50565b6001600160a01b0381166000908152600260205260408120546104a59061102c565b6000546001600160a01b031633146106885760405162461bcd60e51b815260040161053e906119b1565b60005b828110156106f95781600560008686858181106106aa576106aa6119e6565b90506020020160208101906106bf91906118d0565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806106f181611a12565b91505061068b565b50505050565b60006104a1338484610a8c565b6000546001600160a01b031633146107365760405162461bcd60e51b815260040161053e906119b1565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801561079b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bf9190611a2b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561080c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108309190611a2b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a19190611a2b565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff199081166001908117909255308452828420805482168317905560125485168452828420805482168317905560135490941683529120805490921617905550565b6012546001600160a01b0316336001600160a01b0316148061094957506013546001600160a01b0316336001600160a01b0316145b61095257600080fd5b600061095d3061063c565b9050610639816110b0565b6001600160a01b0383166109ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053e565b6001600160a01b038216610a2b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053e565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610af05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053e565b6001600160a01b038216610b525760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053e565b60008111610bb45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161053e565b6001600160a01b03831660009081526010602052604090205460ff16158015610bf657506001600160a01b03821660009081526010602052604090205460ff16155b610bff57600080fd5b6000546001600160a01b03848116911614801590610c2b57506000546001600160a01b03838116911614155b15610eb157601554600160a01b900460ff16610c88576000546001600160a01b03848116911614610c885760405162461bcd60e51b815260206004820152600760248201526602a27a5a2a71d160cd1b604482015260640161053e565b601654811115610cce5760405162461bcd60e51b81526020600482015260116024820152702a27a5a2a71d102b32b93c9036bab1b41760791b604482015260640161053e565b6001600160a01b03831660009081526010602052604090205460ff16158015610d1057506001600160a01b03821660009081526010602052604090205460ff16155b610d555760405162461bcd60e51b8152602060048201526016602482015275544f4b454e3a2043616e6e6f7420646f20746861742160501b604482015260640161053e565b6015546001600160a01b03838116911614610dda5760175481610d778461063c565b610d819190611a48565b10610dda5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161053e565b6000610de53061063c565b601854601654919250821015908210610dfe5760165491505b808015610e155750601554600160a81b900460ff16155b8015610e2f57506015546001600160a01b03868116911614155b8015610e445750601554600160b01b900460ff165b8015610e6957506001600160a01b03851660009081526005602052604090205460ff16155b8015610e8e57506001600160a01b03841660009081526005602052604090205460ff16155b15610eae57610e9c826110b0565b478015610eac57610eac47610ff2565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff1680610ef357506001600160a01b03831660009081526005602052604090205460ff165b80610f2557506015546001600160a01b03858116911614801590610f2557506015546001600160a01b03848116911614155b15610f3257506000610fac565b6015546001600160a01b038581169116148015610f5d57506014546001600160a01b03848116911614155b15610f6f57600854600c55600954600d555b6015546001600160a01b038481169116148015610f9a57506014546001600160a01b03858116911614155b15610fac57600a54600c55600b54600d555b6106f98484848461122a565b60008184841115610fdc5760405162461bcd60e51b815260040161053e91906116e3565b506000610fe98486611a5b565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105af573d6000803e3d6000fd5b60006006548211156110935760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161053e565b600061109d611258565b90506110a9838261127b565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110f8576110f86119e6565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611151573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111759190611a2b565b81600181518110611188576111886119e6565b6001600160a01b0392831660209182029290920101526014546111ae9130911684610968565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906111e7908590600090869030904290600401611a6e565b600060405180830381600087803b15801561120157600080fd5b505af1158015611215573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611237576112376112bd565b6112428484846112eb565b806106f9576106f9600e54600c55600f54600d55565b60008060006112656113e2565b9092509050611274828261127b565b9250505090565b60006110a983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611422565b600c541580156112cd5750600d54155b156112d457565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806112fd87611450565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061132f90876114ad565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461135e90866114ef565b6001600160a01b0389166000908152600260205260409020556113808161154e565b61138a8483611598565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516113cf91815260200190565b60405180910390a3505050505050505050565b6006546000908190670de0b6b3a76400006113fd828261127b565b82101561141957505060065492670de0b6b3a764000092509050565b90939092509050565b600081836114435760405162461bcd60e51b815260040161053e91906116e3565b506000610fe98486611adf565b600080600080600080600080600061146d8a600c54600d546115bc565b925092509250600061147d611258565b905060008060006114908e878787611611565b919e509c509a509598509396509194505050505091939550919395565b60006110a983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fb8565b6000806114fc8385611a48565b9050838110156110a95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161053e565b6000611558611258565b905060006115668383611661565b3060009081526002602052604090205490915061158390826114ef565b30600090815260026020526040902055505050565b6006546115a590836114ad565b6006556007546115b590826114ef565b6007555050565b60008080806115d660646115d08989611661565b9061127b565b905060006115e960646115d08a89611661565b90506000611601826115fb8b866114ad565b906114ad565b9992985090965090945050505050565b60008080806116208886611661565b9050600061162e8887611661565b9050600061163c8888611661565b9050600061164e826115fb86866114ad565b939b939a50919850919650505050505050565b600082600003611673575060006104a5565b600061167f8385611b01565b90508261168c8583611adf565b146110a95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161053e565b600060208083528351808285015260005b81811015611710578581018301518582016040015282016116f4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461063957600080fd5b803561175181611731565b919050565b6000806040838503121561176957600080fd5b823561177481611731565b946020939093013593505050565b60008060006060848603121561179757600080fd5b83356117a281611731565b925060208401356117b281611731565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156117ec57600080fd5b823567ffffffffffffffff8082111561180457600080fd5b818501915085601f83011261181857600080fd5b81358181111561182a5761182a6117c3565b8060051b604051601f19603f8301168101818110858211171561184f5761184f6117c3565b60405291825284820192508381018501918883111561186d57600080fd5b938501935b828510156118925761188385611746565b84529385019392850192611872565b98975050505050505050565b600080600080608085870312156118b457600080fd5b5050823594602084013594506040840135936060013592509050565b6000602082840312156118e257600080fd5b81356110a981611731565b60008060006040848603121561190257600080fd5b833567ffffffffffffffff8082111561191a57600080fd5b818601915086601f83011261192e57600080fd5b81358181111561193d57600080fd5b8760208260051b850101111561195257600080fd5b60209283019550935050840135801515811461196d57600080fd5b809150509250925092565b6000806040838503121561198b57600080fd5b823561199681611731565b915060208301356119a681611731565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611a2457611a246119fc565b5060010190565b600060208284031215611a3d57600080fd5b81516110a981611731565b808201808211156104a5576104a56119fc565b818103818111156104a5576104a56119fc565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611abe5784516001600160a01b031683529383019391830191600101611a99565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611afc57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104a5576104a56119fc56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202075bd543ed259d7ac579377979efcc58dd2f3daf4fc0308616895cf14c4055f64736f6c63430008110033