60806040526006805460ff199081169091555f600781905560088054909216825560106009819055600e600a8181556001600b819055600c819055600d5560289091556019600f55919055610054919061031d565b610062906301312d00610332565b6011556100716008600a61031d565b61007f906301c9c380610332565b60125561008e6008600a61031d565b610098905f610332565b6013556100a76008600a61031d565b6100b490624c4b40610332565b6014556016805461ffff60a81b191690553480156100d0575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556101346008600a61031d565b61014290633b9aca00610332565b335f90815260016020819052604082209290925560039061016a5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152600390935281832080548516600190811790915560065461010090049091168352912080549092161790556101cc3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102036008600a61031d565b61021190633b9aca00610332565b60405190815260200160405180910390a3610349565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561027557815f190482111561025b5761025b610227565b8085161561026857918102915b93841c9390800290610240565b509250929050565b5f8261028b57506001610317565b8161029757505f610317565b81600181146102ad57600281146102b7576102d3565b6001915050610317565b60ff8411156102c8576102c8610227565b50506001821b610317565b5060208310610133831016604e8410600b84101617156102f6575081810a610317565b610300838361023b565b805f190482111561031357610313610227565b0290505b92915050565b5f61032b60ff84168361027d565b9392505050565b808202811582820484141761031757610317610227565b611a1f806103565f395ff3fe608060405260043610610113575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb146102f8578063bf474bed14610317578063c876d0b91461032c578063c9567bf914610345578063dd62ed3e14610359575f80fd5b8063751039fc146102655780637d1db4a5146102795780638da5cb5b1461028e5780638f9a55c0146102b457806395d89b41146102c9575f80fd5b806323b872dd116100e357806323b872dd146101cd578063313ce567146101ec57806351bc3c851461020757806370a082311461021d578063715018a614610251575f80fd5b806306fdde031461011e578063095ea7b3146101675780630faee56f1461019657806318160ddd146101b9575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201909152600f81526e486172616d6265206f6e204261736560881b60208201525b60405161015e9190611626565b60405180910390f35b348015610172575f80fd5b50610186610181366004611672565b61039d565b604051901515815260200161015e565b3480156101a1575f80fd5b506101ab60145481565b60405190815260200161015e565b3480156101c4575f80fd5b506101ab6103b3565b3480156101d8575f80fd5b506101866101e736600461169c565b6103d3565b3480156101f7575f80fd5b506040516008815260200161015e565b348015610212575f80fd5b5061021b61043a565b005b348015610228575f80fd5b506101ab6102373660046116da565b6001600160a01b03165f9081526001602052604090205490565b34801561025c575f80fd5b5061021b610490565b348015610270575f80fd5b5061021b61050a565b348015610284575f80fd5b506101ab60115481565b348015610299575f80fd5b505f546040516001600160a01b03909116815260200161015e565b3480156102bf575f80fd5b506101ab60125481565b3480156102d4575f80fd5b50604080518082019091526007815266486172616d626560c81b6020820152610151565b348015610303575f80fd5b50610186610312366004611672565b6105c5565b348015610322575f80fd5b506101ab60135481565b348015610337575f80fd5b506006546101869060ff1681565b348015610350575f80fd5b5061021b6105d1565b348015610364575f80fd5b506101ab6103733660046116f5565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103a9338484610a94565b5060015b92915050565b5f6103c06008600a611820565b6103ce90633b9aca0061182e565b905090565b5f6103df848484610bb7565b610430843361042b856040518060600160405280602881526020016119c2602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611285565b610a94565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b03161461045e575f80fd5b305f90815260016020526040902054801561047c5761047c816112bd565b47801561048c5761048c81611446565b5050565b5f546001600160a01b031633146104c25760405162461bcd60e51b81526004016104b990611845565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146105335760405162461bcd60e51b81526004016104b990611845565b61053f6008600a611820565b61054d90633b9aca0061182e565b60115561055c6008600a611820565b61056a90633b9aca0061182e565b6012556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105a46008600a611820565b6105b290633b9aca0061182e565b60405190815260200160405180910390a1565b5f6103a9338484610bb7565b5f546001600160a01b031633146105fa5760405162461bcd60e51b81526004016104b990611845565b601654600160a01b900460ff16156106545760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104b9565b601580546001600160a01b031916734752ba5dbc23f44d87826276bf6fd6b1c372ad2490811790915561069d90309061068f6008600a611820565b61042b90633b9aca0061182e565b6015546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610708919061187a565b9050806001600160a01b031663e6a439053060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078e919061187a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156107d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fb919061187a565b601680546001600160a01b0319166001600160a01b0392909216918217905561093157806001600160a01b031663c9c653963060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561087e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a2919061187a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610910919061187a565b601680546001600160a01b0319166001600160a01b03929092169190911790555b6015546001600160a01b031663f305d7194730610962816001600160a01b03165f9081526001602052604090205490565b5f806109755f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109db573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a009190611895565b505060165460155460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7991906118c0565b50506016805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610af65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b9565b6001600160a01b038216610b575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b9565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c1b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b9565b6001600160a01b038216610c7d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b9565b5f8111610cde5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104b9565b5f6001610cf25f546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610d2057505f546001600160a01b03858116911614155b1561114757610d586064610d52601660149054906101000a900460ff16610d4957600954610d4b565b5f5b8690611481565b90611506565b60065490925060ff1615610e12576015546001600160a01b03858116911614801590610d9257506016546001600160a01b03858116911614155b15610e1257325f908152600560205260409020544311610e005760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f6044820152633bb2b21760e11b60648201526084016104b9565b325f9081526005602052604090204390555b6016546001600160a01b038681169116148015610e3d57506015546001600160a01b03858116911614155b8015610e6157506001600160a01b0384165f9081526003602052604090205460ff16155b15610f9e57601154831115610eb45760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104b9565b60125483610ed6866001600160a01b03165f9081526001602052604090205490565b610ee091906118df565b1115610f2e5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104b9565b600f546010541015610f4557833b15610f45575f80fd5b60108054905f610f54836118f2565b90915550506001600160a01b0384165f908152600460205260409020429055600d54601054610f9b91606491610d529110610f9157600954610d4b565b600b548690611481565b91505b6016546001600160a01b038581169116148015610fc457506001600160a01b0385163014155b1561109c576011548311156110175760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104b9565b61103c6064610d52600e546010541161103257600a54610d4b565b600c548690611481565b6001600160a01b0386165f9081526004602052604090205490925042148061107957506001600160a01b0385165f90815260046020526040902054155b1561108157505f5b60085460ff168015611094575043600754145b1561109c57505f5b305f90815260016020526040902054601654600160a81b900460ff161580156110d257506016546001600160a01b038681169116145b80156110e75750601654600160b01b900460ff165b80156110f4575060135481115b80156111035750600f54601054115b801561110c5750815b156111455761112e6111298561112484601454611547565b611547565b6112bd565b4780156111435761113e47611446565b436007555b505b505b81156111bf57305f90815260016020526040902054611166908361155b565b305f81815260016020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111b69086815260200190565b60405180910390a35b6001600160a01b0385165f908152600160205260409020546111e190846115b9565b6001600160a01b0386165f9081526001602052604090205561122461120684846115b9565b6001600160a01b0386165f908152600160205260409020549061155b565b6001600160a01b038086165f8181526001602052604090209290925586167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61126d86866115b9565b60405190815260200160405180910390a35050505050565b5f81848411156112a85760405162461bcd60e51b81526004016104b99190611626565b505f6112b4848661190a565b95945050505050565b6016805460ff60a81b1916600160a81b179055801561143657601654600160a01b900460ff1615611436576040805160028082526060820183525f9260208301908036833701905050905030815f8151811061131b5761131b61191d565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611372573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611396919061187a565b816001815181106113a9576113a961191d565b6001600160a01b0392831660209182029290920101526015546113cf9130911684610a94565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac947906114079085905f90869030904290600401611931565b5f604051808303815f87803b15801561141e575f80fd5b505af1158015611430573d5f803e3d5ffd5b50505050505b506016805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f1935050505015801561048c573d5f803e3d5ffd5b5f825f0361149057505f6103ad565b5f61149b838561182e565b9050826114a885836119a2565b146114ff5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104b9565b9392505050565b5f6114ff83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115fa565b5f81831161155557826114ff565b50919050565b5f8061156783856118df565b9050838110156114ff5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104b9565b5f6114ff83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611285565b5f818361161a5760405162461bcd60e51b81526004016104b99190611626565b505f6112b484866119a2565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461166f575f80fd5b50565b5f8060408385031215611683575f80fd5b823561168e8161165b565b946020939093013593505050565b5f805f606084860312156116ae575f80fd5b83356116b98161165b565b925060208401356116c98161165b565b929592945050506040919091013590565b5f602082840312156116ea575f80fd5b81356114ff8161165b565b5f8060408385031215611706575f80fd5b82356117118161165b565b915060208301356117218161165b565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561177a57815f19048211156117605761176061172c565b8085161561176d57918102915b93841c9390800290611745565b509250929050565b5f82611790575060016103ad565b8161179c57505f6103ad565b81600181146117b257600281146117bc576117d8565b60019150506103ad565b60ff8411156117cd576117cd61172c565b50506001821b6103ad565b5060208310610133831016604e8410600b84101617156117fb575081810a6103ad565b6118058383611740565b805f19048211156118185761181861172c565b029392505050565b5f6114ff60ff841683611782565b80820281158282048414176103ad576103ad61172c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561188a575f80fd5b81516114ff8161165b565b5f805f606084860312156118a7575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156118d0575f80fd5b815180151581146114ff575f80fd5b808201808211156103ad576103ad61172c565b5f600182016119035761190361172c565b5060010190565b818103818111156103ad576103ad61172c565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119815784516001600160a01b03168352938301939183019160010161195c565b50506001600160a01b03969096166060850152505050608001529392505050565b5f826119bc57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122058b7f90ed61c442451532ea547e4cfa34499bdb2906fc81c43ed7b7f5a0df48e64736f6c63430008190033