60806040526200001a67016345785d8a000060001962000377565b62000028906000196200039a565b60065560006008819055600a60098190558190556014600b819055600c829055600d819055600e91909155600f819055601380546001600160a01b0319908116732a4286e90b010b96d74dbeab4a9dde99ae4eac971790915581541673c8bcc333f925e2c37acd9b93c2b591763457eac31790556016805461ffff60a81b1916600160b01b17905566038d7ee0614a0060175566071afd8527ca00601855652d79883d2000601955348015620000dd57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c19190620003c2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002359190620003c2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000283573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a99190620003c2565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a00006040516200036891815260200190565b60405180910390a350620003f4565b6000826200039557634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003bc57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003d557600080fd5b81516001600160a01b0381168114620003ed57600080fd5b9392505050565b61205c80620004046000396000f3fe6080604052600436106101f15760003560e01c80637d1db4a51161010d578063a9059cbb116100a0578063c3c8cd801161006f578063c3c8cd80146105cd578063c492f046146105e2578063dd62ed3e14610602578063ea1644d514610648578063f2fde38b1461066857600080fd5b8063a9059cbb1461052d578063b5a652231461054d578063bdd795ef1461056d578063bfd792841461059d57600080fd5b80638f9a55c0116100dc5780638f9a55c0146104a957806395d89b41146104bf57806398a5c315146104ed578063a2a957bb1461050d57600080fd5b80637d1db4a5146104285780637f2feddc1461043e5780638da5cb5b1461046b5780638f70ccf71461048957600080fd5b806349bd5a5e116101855780636fc3eaec116101545780636fc3eaec146103be57806370a08231146103d3578063715018a6146103f357806374010ece1461040857600080fd5b806349bd5a5e1461033e57806367aadb7e1461035e5780636b9990531461037e5780636d8aa8f81461039e57600080fd5b806318160ddd116101c157806318160ddd146102c757806323b872dd146102ec5780632fd689e31461030c578063313ce5671461032257600080fd5b8062b8cf2a146101fd57806306fdde031461021f578063095ea7b31461025f5780631694505e1461028f57600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021d610218366004611b69565b610688565b005b34801561022b57600080fd5b50604080518082019091526005815264537465616b60d81b60208201525b6040516102569190611c2e565b60405180910390f35b34801561026b57600080fd5b5061027f61027a366004611c7c565b610727565b6040519015158152602001610256565b34801561029b57600080fd5b506015546102af906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b3480156102d357600080fd5b5067016345785d8a00005b604051908152602001610256565b3480156102f857600080fd5b5061027f610307366004611ca8565b61073e565b34801561031857600080fd5b506102de60195481565b34801561032e57600080fd5b5060405160098152602001610256565b34801561034a57600080fd5b506016546102af906001600160a01b031681565b34801561036a57600080fd5b5061021d610379366004611d35565b6107a7565b34801561038a57600080fd5b5061021d610399366004611d77565b61083f565b3480156103aa57600080fd5b5061021d6103b9366004611da4565b61088a565b3480156103ca57600080fd5b5061021d6108d2565b3480156103df57600080fd5b506102de6103ee366004611d77565b61091d565b3480156103ff57600080fd5b5061021d61093f565b34801561041457600080fd5b5061021d610423366004611dbf565b6109b3565b34801561043457600080fd5b506102de60175481565b34801561044a57600080fd5b506102de610459366004611d77565b60116020526000908152604090205481565b34801561047757600080fd5b506000546001600160a01b03166102af565b34801561049557600080fd5b5061021d6104a4366004611da4565b6109e2565b3480156104b557600080fd5b506102de60185481565b3480156104cb57600080fd5b50604080518082019091526005815264535445414b60d81b6020820152610249565b3480156104f957600080fd5b5061021d610508366004611dbf565b610a2a565b34801561051957600080fd5b5061021d610528366004611dd8565b610a59565b34801561053957600080fd5b5061027f610548366004611c7c565b610a97565b34801561055957600080fd5b5061021d610568366004611d35565b610aa4565b34801561057957600080fd5b5061027f610588366004611d77565b60126020526000908152604090205460ff1681565b3480156105a957600080fd5b5061027f6105b8366004611d77565b60106020526000908152604090205460ff1681565b3480156105d957600080fd5b5061021d610b40565b3480156105ee57600080fd5b5061021d6105fd366004611e0a565b610b94565b34801561060e57600080fd5b506102de61061d366004611e5e565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561065457600080fd5b5061021d610663366004611dbf565b610c35565b34801561067457600080fd5b5061021d610683366004611d77565b610c64565b6000546001600160a01b031633146106bb5760405162461bcd60e51b81526004016106b290611e97565b60405180910390fd5b60005b8151811015610723576001601060008484815181106106df576106df611ecc565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061071b81611ef8565b9150506106be565b5050565b6000610734338484610d4e565b5060015b92915050565b600061074b848484610e72565b61079d843361079885604051806060016040528060288152602001611fff602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611403565b610d4e565b5060019392505050565b6000546001600160a01b031633146107d15760405162461bcd60e51b81526004016106b290611e97565b60005b8181101561083a57601260008484848181106107f2576107f2611ecc565b90506020020160208101906108079190611d77565b6001600160a01b031681526020810191909152604001600020805460ff191690558061083281611ef8565b9150506107d4565b505050565b6000546001600160a01b031633146108695760405162461bcd60e51b81526004016106b290611e97565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146108b45760405162461bcd60e51b81526004016106b290611e97565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061090757506014546001600160a01b0316336001600160a01b0316145b61091057600080fd5b4761091a8161143d565b50565b6001600160a01b03811660009081526002602052604081205461073890611477565b6000546001600160a01b031633146109695760405162461bcd60e51b81526004016106b290611e97565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109dd5760405162461bcd60e51b81526004016106b290611e97565b601755565b6000546001600160a01b03163314610a0c5760405162461bcd60e51b81526004016106b290611e97565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a545760405162461bcd60e51b81526004016106b290611e97565b601955565b6000546001600160a01b03163314610a835760405162461bcd60e51b81526004016106b290611e97565b600893909355600a91909155600955600b55565b6000610734338484610e72565b6000546001600160a01b03163314610ace5760405162461bcd60e51b81526004016106b290611e97565b60005b8181101561083a57600160126000858585818110610af157610af1611ecc565b9050602002016020810190610b069190611d77565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610b3881611ef8565b915050610ad1565b6013546001600160a01b0316336001600160a01b03161480610b7557506014546001600160a01b0316336001600160a01b0316145b610b7e57600080fd5b6000610b893061091d565b905061091a816114fb565b6000546001600160a01b03163314610bbe5760405162461bcd60e51b81526004016106b290611e97565b60005b82811015610c2f578160056000868685818110610be057610be0611ecc565b9050602002016020810190610bf59190611d77565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c2781611ef8565b915050610bc1565b50505050565b6000546001600160a01b03163314610c5f5760405162461bcd60e51b81526004016106b290611e97565b601855565b6000546001600160a01b03163314610c8e5760405162461bcd60e51b81526004016106b290611e97565b6001600160a01b038116610cf35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b2565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610db05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106b2565b6001600160a01b038216610e115760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106b2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ed65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106b2565b6001600160a01b038216610f385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106b2565b60008111610f9a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106b2565b6000546001600160a01b03848116911614801590610fc657506000546001600160a01b03838116911614155b8015610feb57506001600160a01b03831660009081526012602052604090205460ff16155b801561101057506001600160a01b03821660009081526012602052604090205460ff16155b156112fc57601654600160a01b900460ff166110b4576001600160a01b03831660009081526012602052604090205460ff166110b45760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106b2565b6017548111156111065760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106b2565b6001600160a01b03831660009081526010602052604090205460ff1615801561114857506001600160a01b03821660009081526010602052604090205460ff16155b6111a05760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106b2565b6016546001600160a01b0383811691161461122557601854816111c28461091d565b6111cc9190611f11565b106112255760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106b2565b60006112303061091d565b6019546017549192508210159082106112495760175491505b8080156112605750601654600160a81b900460ff16155b801561127a57506016546001600160a01b03868116911614155b801561128f5750601654600160b01b900460ff165b80156112b457506001600160a01b03851660009081526005602052604090205460ff16155b80156112d957506001600160a01b03841660009081526005602052604090205460ff16155b156112f9576112e7826114fb565b4780156112f7576112f74761143d565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061133e57506001600160a01b03831660009081526005602052604090205460ff165b8061137057506016546001600160a01b0385811691161480159061137057506016546001600160a01b03848116911614155b1561137d575060006113f7565b6016546001600160a01b0385811691161480156113a857506015546001600160a01b03848116911614155b156113ba57600854600c55600954600d555b6016546001600160a01b0384811691161480156113e557506015546001600160a01b03858116911614155b156113f757600a54600c55600b54600d555b610c2f84848484611675565b600081848411156114275760405162461bcd60e51b81526004016106b29190611c2e565b5060006114348486611f24565b95945050505050565b6014546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610723573d6000803e3d6000fd5b60006006548211156114de5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106b2565b60006114e86116a3565b90506114f483826116c6565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061154357611543611ecc565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c09190611f37565b816001815181106115d3576115d3611ecc565b6001600160a01b0392831660209182029290920101526015546115f99130911684610d4e565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611632908590600090869030904290600401611f54565b600060405180830381600087803b15801561164c57600080fd5b505af1158015611660573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b8061168257611682611708565b61168d848484611736565b80610c2f57610c2f600e54600c55600f54600d55565b60008060006116b061182d565b90925090506116bf82826116c6565b9250505090565b60006114f483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061186d565b600c541580156117185750600d54155b1561171f57565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806117488761189b565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061177a90876118f8565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546117a9908661193a565b6001600160a01b0389166000908152600260205260409020556117cb81611999565b6117d584836119e3565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161181a91815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a000061184882826116c6565b8210156118645750506006549267016345785d8a000092509050565b90939092509050565b6000818361188e5760405162461bcd60e51b81526004016106b29190611c2e565b5060006114348486611fc5565b60008060008060008060008060006118b88a600c54600d54611a07565b92509250925060006118c86116a3565b905060008060006118db8e878787611a5c565b919e509c509a509598509396509194505050505091939550919395565b60006114f483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611403565b6000806119478385611f11565b9050838110156114f45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106b2565b60006119a36116a3565b905060006119b18383611aac565b306000908152600260205260409020549091506119ce908261193a565b30600090815260026020526040902055505050565b6006546119f090836118f8565b600655600754611a00908261193a565b6007555050565b6000808080611a216064611a1b8989611aac565b906116c6565b90506000611a346064611a1b8a89611aac565b90506000611a4c82611a468b866118f8565b906118f8565b9992985090965090945050505050565b6000808080611a6b8886611aac565b90506000611a798887611aac565b90506000611a878888611aac565b90506000611a9982611a4686866118f8565b939b939a50919850919650505050505050565b600082600003611abe57506000610738565b6000611aca8385611fe7565b905082611ad78583611fc5565b146114f45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106b2565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461091a57600080fd5b8035611b6481611b44565b919050565b60006020808385031215611b7c57600080fd5b823567ffffffffffffffff80821115611b9457600080fd5b818501915085601f830112611ba857600080fd5b813581811115611bba57611bba611b2e565b8060051b604051601f19603f83011681018181108582111715611bdf57611bdf611b2e565b604052918252848201925083810185019188831115611bfd57600080fd5b938501935b82851015611c2257611c1385611b59565b84529385019392850192611c02565b98975050505050505050565b600060208083528351808285015260005b81811015611c5b57858101830151858201604001528201611c3f565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611c8f57600080fd5b8235611c9a81611b44565b946020939093013593505050565b600080600060608486031215611cbd57600080fd5b8335611cc881611b44565b92506020840135611cd881611b44565b929592945050506040919091013590565b60008083601f840112611cfb57600080fd5b50813567ffffffffffffffff811115611d1357600080fd5b6020830191508360208260051b8501011115611d2e57600080fd5b9250929050565b60008060208385031215611d4857600080fd5b823567ffffffffffffffff811115611d5f57600080fd5b611d6b85828601611ce9565b90969095509350505050565b600060208284031215611d8957600080fd5b81356114f481611b44565b80358015158114611b6457600080fd5b600060208284031215611db657600080fd5b6114f482611d94565b600060208284031215611dd157600080fd5b5035919050565b60008060008060808587031215611dee57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611e1f57600080fd5b833567ffffffffffffffff811115611e3657600080fd5b611e4286828701611ce9565b9094509250611e55905060208501611d94565b90509250925092565b60008060408385031215611e7157600080fd5b8235611e7c81611b44565b91506020830135611e8c81611b44565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f0a57611f0a611ee2565b5060010190565b8082018082111561073857610738611ee2565b8181038181111561073857610738611ee2565b600060208284031215611f4957600080fd5b81516114f481611b44565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611fa45784516001600160a01b031683529383019391830191600101611f7f565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611fe257634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761073857610738611ee256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212201995e99fcba5e2811b562eea750425ddf822ec468e23776e49255053861b567c64736f6c63430008110033