60806040526009808055600a55600f600b55600e805462ffff001916905534801561002957600080fd5b5060405162001d6238038062001d6283398101604081905261004a9161017a565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600780546001600160a01b0319166001600160a01b03831617905530600090815260026020526040812067016345785d8a000090556001906004906100d86000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530808252600490945282812080548616600190811790915591861681528281208054909516909117909355519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061016c9067016345785d8a0000815260200190565b60405180910390a3506101aa565b60006020828403121561018c57600080fd5b81516001600160a01b03811681146101a357600080fd5b9392505050565b611ba880620001ba6000396000f3fe6080604052600436106101dc5760003560e01c8063590f897e116101025780639e78fb4f11610095578063c9567bf911610064578063c9567bf91461057a578063db92dbb61461058f578063dcb0e0ad146105a4578063dd62ed3e146105c457600080fd5b80639e78fb4f14610510578063a9059cbb14610525578063b515566a14610545578063c3c8cd801461056557600080fd5b806373f54a11116100d157806373f54a111461047d5780638da5cb5b1461049d57806394b8d8f2146104bb57806395d89b41146104db57600080fd5b8063590f897e1461041d5780636fc3eaec1461043357806370a0823114610448578063715018a61461046857600080fd5b8063313ce5671161017a57806340b9a54b1161014957806340b9a54b1461038f57806345596e2e146103a557806349bd5a5e146103c557806352cc2446146103fd57600080fd5b8063313ce567146102f957806331c2d8471461032057806332d873d8146103405780633bbac5791461035657600080fd5b806318160ddd116101b657806318160ddd146102895780631940d020146102ae57806323b872dd146102c457806327f3a72a146102e457600080fd5b806306fdde03146101e8578063095ea7b3146102375780630b78f9c01461026757600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506102216040518060400160405280600d81526020016c53616974616b696e6720496e7560981b81525081565b60405161022e919061172f565b60405180910390f35b34801561024357600080fd5b506102576102523660046117a9565b61060a565b604051901515815260200161022e565b34801561027357600080fd5b506102876102823660046117d5565b610620565b005b34801561029557600080fd5b5067016345785d8a00005b60405190815260200161022e565b3480156102ba57600080fd5b506102a0600c5481565b3480156102d057600080fd5b506102576102df3660046117f7565b6106b5565b3480156102f057600080fd5b506102a0610709565b34801561030557600080fd5b5061030e600981565b60405160ff909116815260200161022e565b34801561032c57600080fd5b5061028761033b36600461184e565b610719565b34801561034c57600080fd5b506102a0600d5481565b34801561036257600080fd5b50610257610371366004611913565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561039b57600080fd5b506102a060095481565b3480156103b157600080fd5b506102876103c0366004611930565b6107af565b3480156103d157600080fd5b506008546103e5906001600160a01b031681565b6040516001600160a01b03909116815260200161022e565b34801561040957600080fd5b506007546103e5906001600160a01b031681565b34801561042957600080fd5b506102a0600a5481565b34801561043f57600080fd5b50610287610855565b34801561045457600080fd5b506102a0610463366004611913565b610862565b34801561047457600080fd5b5061028761087d565b34801561048957600080fd5b50610287610498366004611913565b6108f1565b3480156104a957600080fd5b506000546001600160a01b03166103e5565b3480156104c757600080fd5b50600e546102579062010000900460ff1681565b3480156104e757600080fd5b506102216040518060400160405280600981526020016853414954414b494e4760b81b81525081565b34801561051c57600080fd5b50610287610969565b34801561053157600080fd5b506102576105403660046117a9565b610b6e565b34801561055157600080fd5b5061028761056036600461184e565b610b7b565b34801561057157600080fd5b50610287610c94565b34801561058657600080fd5b50610287610caa565b34801561059b57600080fd5b506102a0610e9b565b3480156105b057600080fd5b506102876105bf366004611957565b610eb3565b3480156105d057600080fd5b506102a06105df366004611974565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000610617338484610f30565b50600192915050565b6000546001600160a01b031633146106535760405162461bcd60e51b815260040161064a906119ad565b60405180910390fd5b600954821080156106655750600a5481105b61066e57600080fd5b6009829055600a81905560408051838152602081018390527f5c6323bf1c2d7aaea2c091a4751c1c87af7f2864650c336507a77d0557af37a1910160405180910390a15050565b60006106c2848484611054565b6001600160a01b03841660009081526003602090815260408083203384529091528120546106f19084906119f8565b90506106fe853383610f30565b506001949350505050565b600061071430610862565b905090565b6000546001600160a01b031633146107435760405162461bcd60e51b815260040161064a906119ad565b60005b81518110156107ab5760006005600084848151811061076757610767611a0f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107a381611a25565b915050610746565b5050565b6000546001600160a01b031633146107d95760405162461bcd60e51b815260040161064a906119ad565b600081116108195760405162461bcd60e51b815260206004820152600d60248201526c63616e2774206265207a65726f60981b604482015260640161064a565b600b8190556040518181527f208f1b468d3d61f0f085e975bd9d04367c930d599642faad06695229f3eadcd8906020015b60405180910390a150565b4761085f816113fc565b50565b6001600160a01b031660009081526002602052604090205490565b6000546001600160a01b031633146108a75760405162461bcd60e51b815260040161064a906119ad565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461091b5760405162461bcd60e51b815260040161064a906119ad565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f5a9bcd8aea0cbf27de081c73815e420f65287b49bcf7a17ff691c61a2dd2d2d69060200161084a565b6000546001600160a01b031633146109935760405162461bcd60e51b815260040161064a906119ad565b600e5460ff16156109e05760405162461bcd60e51b81526020600482015260176024820152762a3930b234b7339034b99030b63932b0b23c9037b832b760491b604482015260640161064a565b600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa158015610a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a699190611a40565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada9190611a40565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190611a40565b600880546001600160a01b0319166001600160a01b039290921691909117905550565b6000610617338484611054565b6000546001600160a01b03163314610ba55760405162461bcd60e51b815260040161064a906119ad565b60005b81518110156107ab5760085482516001600160a01b0390911690839083908110610bd457610bd4611a0f565b60200260200101516001600160a01b031614158015610c25575060065482516001600160a01b0390911690839083908110610c1157610c11611a0f565b60200260200101516001600160a01b031614155b15610c8257600160056000848481518110610c4257610c42611a0f565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610c8c81611a25565b915050610ba8565b6000610c9f30610862565b905061085f81611436565b6000546001600160a01b03163314610cd45760405162461bcd60e51b815260040161064a906119ad565b600e5460ff1615610d215760405162461bcd60e51b81526020600482015260176024820152762a3930b234b7339034b99030b63932b0b23c9037b832b760491b604482015260640161064a565b600654610d419030906001600160a01b031667016345785d8a0000610f30565b6006546001600160a01b031663f305d7194730610d5d81610862565b600080610d726000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dda573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610dff9190611a5d565b505060085460065460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7c9190611a8b565b50600e805460ff1916600117905542600d5566071afd498d0000600c55565b600854600090610714906001600160a01b0316610862565b6000546001600160a01b03163314610edd5760405162461bcd60e51b815260040161064a906119ad565b600e805462ff00001916620100008315158102919091179182905560405160ff9190920416151581527ff65c78d1059dbb9ec90732848bcfebbec05ac40af847d3c19adcad63379d3aeb9060200161084a565b6001600160a01b038316610f925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064a565b6001600160a01b038216610ff35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064a565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526005602052604090205460ff161561107a57600080fd5b6001600160a01b0383166110de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064a565b6001600160a01b0382166111405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064a565b600081116111a25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161064a565b600080546001600160a01b038581169116148015906111cf57506000546001600160a01b03848116911614155b1561139d576008546001600160a01b0385811691161480156111ff57506006546001600160a01b03848116911614155b801561122457506001600160a01b03831660009081526004602052604090205460ff16155b156112b657600e5460ff1661127b5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161064a565b42600d54607861128b9190611aa8565b11156112b257600c5461129d84610862565b6112a79084611aa8565b11156112b257600080fd5b5060015b600e54610100900460ff161580156112d05750600e5460ff165b80156112ea57506008546001600160a01b03858116911614155b1561139d5760006112fa30610862565b9050801561138657600e5462010000900460ff161561137d57600b546008546064919061132f906001600160a01b0316610862565b6113399190611ac0565b6113439190611adf565b81111561137d57600b5460085460649190611366906001600160a01b0316610862565b6113709190611ac0565b61137a9190611adf565b90505b61138681611436565b47801561139657611396476113fc565b6000925050505b6001600160a01b03841660009081526004602052604090205460019060ff16806113df57506001600160a01b03841660009081526004602052604090205460ff165b156113e8575060005b6113f585858584866115aa565b5050505050565b6007546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156107ab573d6000803e3d6000fd5b600e805461ff001916610100179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061147a5761147a611a0f565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f79190611a40565b8160018151811061150a5761150a611a0f565b6001600160a01b0392831660209182029290920101526006546115309130911684610f30565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611569908590600090869030904290600401611b01565b600060405180830381600087803b15801561158357600080fd5b505af1158015611597573d6000803e3d6000fd5b5050600e805461ff001916905550505050565b60006115b683836115cc565b90506115c4868686846115f0565b505050505050565b60008083156115e95782156115e457506009546115e9565b50600a545b9392505050565b6000806115fd84846116cd565b6001600160a01b03881660009081526002602052604090205491935091506116269085906119f8565b6001600160a01b038088166000908152600260205260408082209390935590871681522054611656908390611aa8565b6001600160a01b03861660009081526002602052604090205561167881611701565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116bd91815260200190565b60405180910390a3505050505050565b6000808060646116dd8587611ac0565b6116e79190611adf565b905060006116f582876119f8565b96919550909350505050565b3060009081526002602052604090205461171c908290611aa8565b3060009081526002602052604090205550565b600060208083528351808285015260005b8181101561175c57858101830151858201604001528201611740565b8181111561176e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461085f57600080fd5b80356117a481611784565b919050565b600080604083850312156117bc57600080fd5b82356117c781611784565b946020939093013593505050565b600080604083850312156117e857600080fd5b50508035926020909101359150565b60008060006060848603121561180c57600080fd5b833561181781611784565b9250602084013561182781611784565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561186157600080fd5b823567ffffffffffffffff8082111561187957600080fd5b818501915085601f83011261188d57600080fd5b81358181111561189f5761189f611838565b8060051b604051601f19603f830116810181811085821117156118c4576118c4611838565b6040529182528482019250838101850191888311156118e257600080fd5b938501935b82851015611907576118f885611799565b845293850193928501926118e7565b98975050505050505050565b60006020828403121561192557600080fd5b81356115e981611784565b60006020828403121561194257600080fd5b5035919050565b801515811461085f57600080fd5b60006020828403121561196957600080fd5b81356115e981611949565b6000806040838503121561198757600080fd5b823561199281611784565b915060208301356119a281611784565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611a0a57611a0a6119e2565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611a3957611a396119e2565b5060010190565b600060208284031215611a5257600080fd5b81516115e981611784565b600080600060608486031215611a7257600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a9d57600080fd5b81516115e981611949565b60008219821115611abb57611abb6119e2565b500190565b6000816000190483118215151615611ada57611ada6119e2565b500290565b600082611afc57634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b515784516001600160a01b031683529383019391830191600101611b2c565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122026e1e6f014acdca75c430b88ffedf4cbd2611997bbe37c497f940a424bbd382064736f6c634300080a003300000000000000000000000037f8db3aee3216c8fcc42599d3fb584c7374b395