6080604052600280546001600160a01b031990811661dead179091556003805490911690556200003966038d7ea4c6800060001962000422565b620000479060001962000445565b6008556000600a819055600b819055600c819055600d819055600e819055600f8190556010819055601155601780546001600160a01b0319908116733383b6d4ab206c1462c7b252f6cb0a90a80777be179091556018805490911673bda0d219e88c68566be928ccfdade8ca736e00ec179055601a805462ffffff60a01b1916600160b01b1790556512309ce54000601b819055601c819055601d55348015620000f057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506008543360009081526005602090815260409182902092909255601980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa158015620001ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d491906200046d565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000222573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024891906200046d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000296573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bc91906200046d565b601a80546001600160a01b0319166001600160a01b03929092169182179055620002e8906001620003ce565b600160136000620003016000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526013909352818320805485166001908117909155601854821684528284208054861682179055601754909116835291208054909216179055620003723390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c68000604051620003bf91815260200190565b60405180910390a3506200049f565b6001600160a01b0382166000818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000826200044057634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200046757634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156200048057600080fd5b81516001600160a01b03811681146200049857600080fd5b9392505050565b61220b80620004af6000396000f3fe6080604052600436106101f15760003560e01c80637f2feddc1161010d578063a9059cbb116100a0578063c3c8cd801161006f578063c3c8cd80146105e6578063c492f046146105fb578063dd62ed3e1461061b578063ea1644d514610661578063f2fde38b1461068157600080fd5b8063a9059cbb14610539578063b1d9208514610559578063b62496f514610586578063bfd79284146105b657600080fd5b806395d89b41116100dc57806395d89b41146104a957806398a5c315146104d95780639a7a23d6146104f9578063a2a957bb1461051957600080fd5b80637f2feddc146104285780638da5cb5b146104555780638f70ccf7146104735780638f9a55c01461049357600080fd5b806349bd5a5e1161018557806370a082311161015457806370a08231146103bd578063715018a6146103dd57806374010ece146103f25780637d1db4a51461041257600080fd5b806349bd5a5e146103485780636b999053146103685780636d8aa8f8146103885780636fc3eaec146103a857600080fd5b806318160ddd116101c157806318160ddd146102d257806323b872dd146102f65780632fd689e314610316578063313ce5671461032c57600080fd5b8062b8cf2a146101fd57806306fdde031461021f578063095ea7b31461026a5780631694505e1461029a57600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021d610218366004611d41565b6106a1565b005b34801561022b57600080fd5b5060408051808201909152601081526f447265616d436861736572576f6a616b60801b60208201525b6040516102619190611e06565b60405180910390f35b34801561027657600080fd5b5061028a610285366004611e54565b610740565b6040519015158152602001610261565b3480156102a657600080fd5b506019546102ba906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b3480156102de57600080fd5b5066038d7ea4c680005b604051908152602001610261565b34801561030257600080fd5b5061028a610311366004611e80565b610757565b34801561032257600080fd5b506102e8601d5481565b34801561033857600080fd5b5060405160098152602001610261565b34801561035457600080fd5b50601a546102ba906001600160a01b031681565b34801561037457600080fd5b5061021d610383366004611ec1565b6107c1565b34801561039457600080fd5b5061021d6103a3366004611eee565b61080c565b3480156103b457600080fd5b5061021d610854565b3480156103c957600080fd5b506102e86103d8366004611ec1565b61089f565b3480156103e957600080fd5b5061021d6108c1565b3480156103fe57600080fd5b5061021d61040d366004611f09565b610935565b34801561041e57600080fd5b506102e8601b5481565b34801561043457600080fd5b506102e8610443366004611ec1565b60166020526000908152604090205481565b34801561046157600080fd5b506000546001600160a01b03166102ba565b34801561047f57600080fd5b5061021d61048e366004611eee565b610964565b34801561049f57600080fd5b506102e8601c5481565b3480156104b557600080fd5b506040805180820190915260078152664443574f4a414b60c81b6020820152610254565b3480156104e557600080fd5b5061021d6104f4366004611f09565b6109ac565b34801561050557600080fd5b5061021d610514366004611f22565b6109db565b34801561052557600080fd5b5061021d610534366004611f57565b610acf565b34801561054557600080fd5b5061028a610554366004611e54565b610b0d565b34801561056557600080fd5b506102e8610574366004611ec1565b60076020526000908152604090205481565b34801561059257600080fd5b5061028a6105a1366004611ec1565b601e6020526000908152604090205460ff1681565b3480156105c257600080fd5b5061028a6105d1366004611ec1565b60156020526000908152604090205460ff1681565b3480156105f257600080fd5b5061021d610b1a565b34801561060757600080fd5b5061021d610616366004611f89565b610b6e565b34801561062757600080fd5b506102e861063636600461200d565b6001600160a01b03918216600090815260126020908152604080832093909416825291909152205490565b34801561066d57600080fd5b5061021d61067c366004611f09565b610c0f565b34801561068d57600080fd5b5061021d61069c366004611ec1565b610c3e565b6000546001600160a01b031633146106d45760405162461bcd60e51b81526004016106cb90612046565b60405180910390fd5b60005b815181101561073c576001601560008484815181106106f8576106f861207b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610734816120a7565b9150506106d7565b5050565b600061074d338484610d28565b5060015b92915050565b6000610764848484610e4c565b6107b684336107b1856040518060600160405280602881526020016121ae602891396001600160a01b038a1660009081526012602090815260408083203384529091529020549190611441565b610d28565b5060015b9392505050565b6000546001600160a01b031633146107eb5760405162461bcd60e51b81526004016106cb90612046565b6001600160a01b03166000908152601560205260409020805460ff19169055565b6000546001600160a01b031633146108365760405162461bcd60e51b81526004016106cb90612046565b601a8054911515600160b01b0260ff60b01b19909216919091179055565b6018546001600160a01b0316336001600160a01b0316148061088957506017546001600160a01b0316336001600160a01b0316145b61089257600080fd5b4761089c8161147b565b50565b6001600160a01b038116600090815260056020526040812054610751906114b5565b6000546001600160a01b031633146108eb5760405162461bcd60e51b81526004016106cb90612046565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461095f5760405162461bcd60e51b81526004016106cb90612046565b601b55565b6000546001600160a01b0316331461098e5760405162461bcd60e51b81526004016106cb90612046565b601a8054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109d65760405162461bcd60e51b81526004016106cb90612046565b601d55565b6000546001600160a01b03163314610a055760405162461bcd60e51b81526004016106cb90612046565b601a546001600160a01b0390811690831603610a895760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016106cb565b610a938282611532565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000546001600160a01b03163314610af95760405162461bcd60e51b81526004016106cb90612046565b600a93909355600c91909155600b55600d55565b600061074d338484610e4c565b6018546001600160a01b0316336001600160a01b03161480610b4f57506017546001600160a01b0316336001600160a01b0316145b610b5857600080fd5b6000610b633061089f565b905061089c81611586565b6000546001600160a01b03163314610b985760405162461bcd60e51b81526004016106cb90612046565b60005b82811015610c09578160136000868685818110610bba57610bba61207b565b9050602002016020810190610bcf9190611ec1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c01816120a7565b915050610b9b565b50505050565b6000546001600160a01b03163314610c395760405162461bcd60e51b81526004016106cb90612046565b601c55565b6000546001600160a01b03163314610c685760405162461bcd60e51b81526004016106cb90612046565b6001600160a01b038116610ccd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cb565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d8a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cb565b6001600160a01b038216610deb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cb565b6001600160a01b0383811660008181526012602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610eb05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cb565b6001600160a01b038216610f125760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cb565b60008111610f745760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106cb565b6000546001600160a01b03848116911614801590610fa057506000546001600160a01b03838116911614155b1561133a57601a54600160a01b900460ff16611039576000546001600160a01b038481169116146110395760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106cb565b601b5481111561108b5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106cb565b6001600160a01b03831660009081526015602052604090205460ff161580156110cd57506001600160a01b03821660009081526015602052604090205460ff16155b6111255760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106cb565b601a546001600160a01b038381169116146111aa57601c54816111478461089f565b61115191906120c0565b106111aa5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106cb565b6001600160a01b03831660009081526013602052604090205460ff16156111e0576111d6838383611700565b156111e057505050565b60006111eb3061089f565b601d54601a54919250821015906001600160a01b039081169086160361124b576001600160a01b0384166000908152600760205260408120549003611246576001600160a01b03841660009081526007602052604090204290555b611278565b601a54600160a81b900460ff1661127857601480546001600160a01b0319166001600160a01b0387161790555b601b54821061128757601b5491505b80801561129e5750601a54600160a81b900460ff16155b80156112b85750601a546001600160a01b03868116911614155b80156112cd5750601a54600160b01b900460ff165b80156112f257506001600160a01b03851660009081526013602052604090205460ff16155b801561131757506001600160a01b03841660009081526013602052604090205460ff16155b15611337574780156113355761132c83611586565b6113354761147b565b505b50505b6001600160a01b03831660009081526013602052604090205460019060ff168061137c57506001600160a01b03831660009081526013602052604090205460ff165b806113ae5750601a546001600160a01b038581169116148015906113ae5750601a546001600160a01b03848116911614155b156113bb57506000611435565b601a546001600160a01b0385811691161480156113e657506019546001600160a01b03848116911614155b156113f857600a54600e55600b54600f555b601a546001600160a01b03848116911614801561142357506019546001600160a01b03858116911614155b1561143557600c54600e55600d54600f555b610c098484848461175b565b600081848411156114655760405162461bcd60e51b81526004016106cb9190611e06565b50600061147284866120d3565b95945050505050565b6017546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561073c573d6000803e3d6000fd5b600060085482111561151c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106cb565b6000611526611789565b90506107ba83826117ac565b6001600160a01b0382166000818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b601a805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106115ce576115ce61207b565b6001600160a01b03928316602091820292909201810191909152601954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164b91906120e6565b8160018151811061165e5761165e61207b565b6001600160a01b0392831660209182029290920101526019546116849130911684610d28565b60195460405163791ac94760e01b81526001600160a01b039091169063791ac947906116bd908590600090869030904290600401612103565b600060405180830381600087803b1580156116d757600080fd5b505af11580156116eb573d6000803e3d6000fd5b5050601a805460ff60a81b1916905550505050565b6001600160a01b0382166000908152601e602052604081205460ff1615611751578161172b8561089f565b1015611751576002546117499084906001600160a01b0316846117ee565b5060016107ba565b5060009392505050565b80611768576117686118e9565b6117738484846117ee565b80610c0957610c09601054600e55601154600f55565b6000806000611796611917565b90925090506117a582826117ac565b9250505090565b60006107ba83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611955565b600080600080600080611802898989611983565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506118349087611a26565b6001600160a01b03808b1660009081526005602052604080822093909355908a16815220546118639086611a68565b6001600160a01b038916600090815260056020526040902055611887818a8a611ac7565b6118918483611bbb565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516118d691815260200190565b60405180910390a3505050505050505050565b600e541580156118f95750600f54155b1561190057565b600e8054601055600f805460115560009182905555565b600854600090819066038d7ea4c6800061193182826117ac565b82101561194c5750506008549266038d7ea4c6800092509050565b90939092509050565b600081836119765760405162461bcd60e51b81526004016106cb9190611e06565b5060006114728486612174565b60008060008060008060008060006119a08a600e54600f54611bdf565b919450925090508b60006119b2611789565b601a549091506001600160a01b0383811691161480156119ea57506001600160a01b038d1660009081526013602052604090205460ff165b156119f457426004555b6000806000611a058f888887611c34565b919f509d509b50969950949750929550505050505093975093979195509350565b60006107ba83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611441565b600080611a7583856120c0565b9050838110156107ba5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106cb565b6000611ad1611789565b90506000611adf8583611c84565b601a549091506001600160a01b03858116911614801590611b1957506001600160a01b03841660009081526013602052604090205460ff16155b8015611b3e57506001600160a01b03831660009081526013602052604090205460ff16155b15611b8a576004546014546001600160a01b031660009081526007602052604090205410801590611b815750601854611b7f906001600160a01b031661089f565b155b611b8a57600080fd5b30600090815260056020526040902054611ba49082611a68565b306000908152600560205260409020555050505050565b600854611bc89083611a26565b600855600954611bd89082611a68565b6009555050565b6000808080611bf96064611bf38989611c84565b906117ac565b90506000611c0c6064611bf38a89611c84565b90506000611c2482611c1e8b86611a26565b90611a26565b9992985090965090945050505050565b6000808080611c438886611c84565b90506000611c518887611c84565b90506000611c5f8888611c84565b90506000611c7182611c1e8686611a26565b939b939a50919850919650505050505050565b600082600003611c9657506000610751565b6000611ca28385612196565b905082611caf8583612174565b146107ba5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106cb565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461089c57600080fd5b8035611d3c81611d1c565b919050565b60006020808385031215611d5457600080fd5b823567ffffffffffffffff80821115611d6c57600080fd5b818501915085601f830112611d8057600080fd5b813581811115611d9257611d92611d06565b8060051b604051601f19603f83011681018181108582111715611db757611db7611d06565b604052918252848201925083810185019188831115611dd557600080fd5b938501935b82851015611dfa57611deb85611d31565b84529385019392850192611dda565b98975050505050505050565b600060208083528351808285015260005b81811015611e3357858101830151858201604001528201611e17565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611e6757600080fd5b8235611e7281611d1c565b946020939093013593505050565b600080600060608486031215611e9557600080fd5b8335611ea081611d1c565b92506020840135611eb081611d1c565b929592945050506040919091013590565b600060208284031215611ed357600080fd5b81356107ba81611d1c565b80358015158114611d3c57600080fd5b600060208284031215611f0057600080fd5b6107ba82611ede565b600060208284031215611f1b57600080fd5b5035919050565b60008060408385031215611f3557600080fd5b8235611f4081611d1c565b9150611f4e60208401611ede565b90509250929050565b60008060008060808587031215611f6d57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611f9e57600080fd5b833567ffffffffffffffff80821115611fb657600080fd5b818601915086601f830112611fca57600080fd5b813581811115611fd957600080fd5b8760208260051b8501011115611fee57600080fd5b6020928301955093506120049186019050611ede565b90509250925092565b6000806040838503121561202057600080fd5b823561202b81611d1c565b9150602083013561203b81611d1c565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016120b9576120b9612091565b5060010190565b8082018082111561075157610751612091565b8181038181111561075157610751612091565b6000602082840312156120f857600080fd5b81516107ba81611d1c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121535784516001600160a01b03168352938301939183019160010161212e565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261219157634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107515761075161209156fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d0d2da06ac7acc6a462a29f31400f4158e1de62b6a285f4202be769bc197e18064736f6c63430008110033