Contract Address Details

0xF3608F846cA73147F08FdE8D57f45E27CeEA4d61

Token
metaCelo Game NFT (cMETA)
Creator
0xb1eac9–8398f0 at 0xdcc707–9d61e4
Balance
0 CELO ( )
Tokens
Fetching tokens...
Transactions
4,986 Transactions
Transfers
1,500 Transfers
Gas Used
221,008,726
Last Balance Update
15335681
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
metaCeloGameNFT




Optimization enabled
true
Compiler version
v0.8.7+commit.e28d00a7




Optimization runs
200
EVM Version
london




Verified at
2022-01-13 07:41:20.720617Z

contracts/metaCeloMain.sol

pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)
external
returns (bool);
function allowance(address owner, address spender)
external
view
returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
library Address {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
(bool success, ) = recipient.call{value: amount}("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
function functionCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return functionCall(target, data, "Address: low-level call failed");
}
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return
functionCallWithValue(
target,
data,
value,
"Address: low-level call with value failed"
);
}
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(
address(this).balance >= value,
"Address: insufficient balance for call"
);
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(
data
);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
_transferOwnership(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB)
external
view
returns (address pair);
function allPairs(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(address tokenA, address tokenB)
external
returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IUniswapV2Pair {
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
event Transfer(address indexed from, address indexed to, uint256 value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256);
function allowance(address owner, address spender)
external
view
returns (uint256);
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(
address from,
address to,
uint256 value
) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint256);
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
event Burn(
address indexed sender,
uint256 amount0,
uint256 amount1,
address indexed to
);
event Swap(
address indexed sender,
uint256 amount0In,
uint256 amount1In,
uint256 amount0Out,
uint256 amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint256);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves()
external
view
returns (
uint112 reserve0,
uint112 reserve1,
uint32 blockTimestampLast
);
function price0CumulativeLast() external view returns (uint256);
function price1CumulativeLast() external view returns (uint256);
function kLast() external view returns (uint256);
function burn(address to)
external
returns (uint256 amount0, uint256 amount1);
function swap(
uint256 amount0Out,
uint256 amount1Out,
address to,
bytes calldata data
) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
pragma solidity ^0.8.0;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
)
external
returns (
uint256 amountA,
uint256 amountB,
uint256 liquidity
);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (
uint256 amountToken,
uint256 amountETH,
uint256 liquidity
);
function removeLiquidity(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETH(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountToken, uint256 amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETHWithPermit(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountToken, uint256 amountETH);
function swapExactTokensForTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapTokensForExactTokens(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactETHForTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function swapTokensForExactETH(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactTokensForETH(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapETHForExactTokens(
uint256 amountOut,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function quote(
uint256 amountA,
uint256 reserveA,
uint256 reserveB
) external pure returns (uint256 amountB);
function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountOut);
function getAmountIn(
uint256 amountOut,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountIn);
function getAmountsOut(uint256 amountIn, address[] calldata path)
external
view
returns (uint256[] memory amounts);
function getAmountsIn(uint256 amountOut, address[] calldata path)
external
view
returns (uint256[] memory amounts);
}
pragma solidity ^0.8.0;
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
contract metaCeloGameNFT is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
address public _pool = 0xcF51167864B23A74B796483f2cCa7A999E1CF44a;
address public _routerAddress =
address(0x1421bDe4B10e8dd459b3BCb598810B1337D56842);
address public _marketing =
address(0x53348644D92A82f3359eC71B8d277245b0df78cb);
address public CELO = address(0x471EcE3750Da237f93B8E339c536989b8978a438);
IERC20 _CELO = IERC20(CELO);
mapping(address => uint256) private _rOwned;
mapping(address => uint256) private _tOwned;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => bool) public _whitelist;
mapping(address => bool) private _isExcludedFromFee;
mapping(address => bool) private _isExcluded;
address[] private _excluded;
uint256 private constant MAX = ~uint256(0);
uint256 private _tTotal = 100_000_000 * 10**18;
uint256 private _rTotal = (MAX - (MAX % _tTotal));
uint256 private _tFeeTotal;
string private _name = "metaCelo Game NFT";
string private _symbol = "cMETA";
uint8 private _decimals = 18;
uint256 private _taxFee;
uint256 private _previousTaxFee = _taxFee;
uint256 private _liquidityFee;
uint256 private _previousLiquidityFee = _liquidityFee;
uint256 private constant BUY = 1;
uint256 private constant SELL = 2;
uint256 private constant TRANSFER = 3;
uint256 private buyOrSellSwitch;
uint256 public _buyTaxFee = 0;
uint256 public _buyPoolAndMarketingFee = 1;
uint256 public _sellTaxFee = 1;
uint256 public _sellPoolAndMarketingFee = 10;
uint256 public _transferTaxFee = 1;
uint256 public _transferPoolAndMarketingFee = 0;
uint256 public _maxTxAmount = 1_000_000 * 10**18;
uint256 private minimumTokensBeforeSwap = 100_000 * 10**18;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool inSwapAndLiquify;
bool public swapAndLiquifyEnabled = false;
event Log(string message);
event TakeLiquidity(address account, uint256 amount);
event SetTaxFeePercent(uint256 amount);
event SetLiquidityFeePercent(uint256 liquidityFee);
event SetMaxTxAmount(uint256 maxTxAmount);
event SetMarketingDivisor(uint256 divisor);
event SetNumTokensSellToAddToLiquidity(uint256 minimumTokensBeforeSwap);
event RewardLiquidityProviders(uint256 tokenAmount);
event SwapAndLiquifyEnabledUpdated(bool enabled);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiquidity
);
event SwapETHForTokens(uint256 amountIn, address[] path);
event SwapTokensForETH(uint256 amountIn, address[] path);
modifier lockTheSwap() {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
modifier onlyWhitelist() {
require(_whitelist[msg.sender] == true);
_;
}
constructor() {
_rOwned[_msgSender()] = _rTotal;
// Mainnet
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
_routerAddress
);
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), CELO);
uniswapV2Router = _uniswapV2Router;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_approve(address(this), _routerAddress, type(uint256).max);
_approve(_msgSender(), _routerAddress, type(uint256).max);
_CELO.approve(_routerAddress, type(uint256).max);
_CELO.approve(_msgSender(), type(uint256).max);
_whitelist[address(this)] = true;
_whitelist[_routerAddress] = true;
_whitelist[owner()] = true;
emit Transfer(address(0), _msgSender(), _tTotal);
}
function name() public view returns (string memory) {
return _name;
}
function symbol() public view returns (string memory) {
return _symbol;
}
function decimals() public view returns (uint8) {
return _decimals;
}
function totalSupply() public view override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
if (_isExcluded[account]) return _tOwned[account];
return tokenFromReflection(_rOwned[account]);
}
function transfer(address recipient, uint256 amount)
public
override
returns (bool)
{
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender)
public
view
override
returns (uint256)
{
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount)
public
override
returns (bool)
{
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(
sender,
_msgSender(),
_allowances[sender][_msgSender()].sub(
amount,
"ERC20: transfer amount exceeds allowance"
)
);
return true;
}
function increaseAllowance(address spender, uint256 addedValue)
public
virtual
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender].add(addedValue)
);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue)
public
virtual
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender].sub(
subtractedValue,
"ERC20: decreased allowance below zero"
)
);
return true;
}
function isExcludedFromReward(address account) public view returns (bool) {
return _isExcluded[account];
}
function totalFees() public view returns (uint256) {
return _tFeeTotal;
}
function minimumTokensBeforeSwapAmount() public view returns (uint256) {
return minimumTokensBeforeSwap;
}
function deliver(uint256 tAmount) public {
address sender = _msgSender();
require(
!_isExcluded[sender],
"Excluded addresses cannot call this function"
);
(uint256 rAmount, , , , , ) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rTotal = _rTotal.sub(rAmount);
_tFeeTotal = _tFeeTotal.add(tAmount);
}
function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
external
view
returns (uint256)
{
require(tAmount <= _tTotal, "Amount must be less than supply");
if (!deductTransferFee) {
(uint256 rAmount, , , , , ) = _getValues(tAmount);
return rAmount;
} else {
(, uint256 rTransferAmount, , , , ) = _getValues(tAmount);
return rTransferAmount;
}
}
function tokenFromReflection(uint256 rAmount)
public
view
returns (uint256)
{
require(
rAmount <= _rTotal,
"Amount must be less than total reflections"
);
uint256 currentRate = _getRate();
return rAmount.div(currentRate);
}
function excludeFromReward(address account) public onlyOwner {
require(!_isExcluded[account], "Account is already excluded");
require(
_excluded.length + 1 <= 50,
"Cannot exclude more than 50 accounts. Include a previously excluded address."
);
if (_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
}
function includeInReward(address account) public onlyOwner {
require(_isExcluded[account], "Account is not excluded");
for (uint256 i = 0; i < _excluded.length; i++) {
if (_excluded[i] == account) {
_excluded[i] = _excluded[_excluded.length - 1];
_tOwned[account] = 0;
_isExcluded[account] = false;
_excluded.pop();
break;
}
}
}
function _approve(
address owner,
address spender,
uint256 amount
) private {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(
address from,
address to,
uint256 amount
) private {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
if (from != owner() && to != owner()) {
require(
amount <= _maxTxAmount,
"Transfer amount exceeds the maxTxAmount."
);
}
uint256 contractTokenBalance = balanceOf(address(this));
bool overMinimumTokenBalance = contractTokenBalance >=
minimumTokensBeforeSwap;
if (!inSwapAndLiquify && swapAndLiquifyEnabled && to == uniswapV2Pair) {
if (overMinimumTokenBalance) {
contractTokenBalance = minimumTokensBeforeSwap;
swapTokens(contractTokenBalance);
}
}
//Buy
bool takeFee = true;
// If any account belongs to _isExcludedFromFee account then remove the fee
if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
takeFee = false;
buyOrSellSwitch = TRANSFER;
} else {
// Buy
if (from == uniswapV2Pair) {
removeAllFee();
_taxFee = _buyTaxFee;
_liquidityFee = _buyPoolAndMarketingFee;
buyOrSellSwitch = BUY;
}
// Sell
else if (to == uniswapV2Pair) {
removeAllFee();
_taxFee = _sellTaxFee;
_liquidityFee = _sellPoolAndMarketingFee;
buyOrSellSwitch = SELL;
} else {
removeAllFee();
_taxFee = _transferTaxFee;
_liquidityFee = _transferPoolAndMarketingFee;
buyOrSellSwitch = TRANSFER;
}
}
_tokenTransfer(from, to, amount, takeFee);
}
function swapTokens(uint256 contractTokenBalance) private lockTheSwap {
swapTokensForEth(contractTokenBalance);
}
function swapTokensForEth(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = CELO;
uint256[] memory amountOutMins = uniswapV2Router.getAmountsOut(
tokenAmount,
path
);
uint256 amountsOut = amountOutMins[path.length - 1];
uint256 tokenForMarketing = amountsOut.mul(10).div(10**2);
uint256 tokenForPool = amountsOut - tokenForMarketing;
try
uniswapV2Router
.swapExactTokensForTokensSupportingFeeOnTransferTokens(
tokenAmount,
amountOutMins[path.length - 1],
path,
_marketing,
block.timestamp
)
{} catch {
emit Log("external call failed");
}
_CELO.transferFrom(_marketing, _pool, tokenForPool);
emit SwapTokensForETH(tokenAmount, path);
}
function _tokenTransfer(
address sender,
address recipient,
uint256 amount,
bool takeFee
) private {
if (!takeFee) removeAllFee();
if (_isExcluded[sender] && !_isExcluded[recipient]) {
_transferFromExcluded(sender, recipient, amount);
} else if (!_isExcluded[sender] && _isExcluded[recipient]) {
_transferToExcluded(sender, recipient, amount);
} else if (_isExcluded[sender] && _isExcluded[recipient]) {
_transferBothExcluded(sender, recipient, amount);
} else {
_transferStandard(sender, recipient, amount);
}
if (!takeFee) restoreAllFee();
}
function _transferStandard(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity
) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferToExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity
) = _getValues(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferFromExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity
) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferBothExcluded(
address sender,
address recipient,
uint256 tAmount
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity
) = _getValues(tAmount);
_tOwned[sender] = _tOwned[sender].sub(tAmount);
_rOwned[sender] = _rOwned[sender].sub(rAmount);
_tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
_rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_reflectFee(rFee, tFee);
emit Transfer(sender, recipient, tTransferAmount);
}
function _reflectFee(uint256 rFee, uint256 tFee) private {
_rTotal = _rTotal.sub(rFee);
_tFeeTotal = _tFeeTotal.add(tFee);
}
function _getValues(uint256 tAmount)
private
view
returns (
uint256,
uint256,
uint256,
uint256,
uint256,
uint256
)
{
(
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity
) = _getTValues(tAmount);
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
tAmount,
tFee,
tLiquidity,
_getRate()
);
return (
rAmount,
rTransferAmount,
rFee,
tTransferAmount,
tFee,
tLiquidity
);
}
function _getTValues(uint256 tAmount)
private
view
returns (
uint256,
uint256,
uint256
)
{
uint256 tFee = calculateTaxFee(tAmount);
uint256 tLiquidity = calculateLiquidityFee(tAmount);
uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
return (tTransferAmount, tFee, tLiquidity);
}
function _getRValues(
uint256 tAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 currentRate
)
private
pure
returns (
uint256,
uint256,
uint256
)
{
uint256 rAmount = tAmount.mul(currentRate);
uint256 rFee = tFee.mul(currentRate);
uint256 rLiquidity = tLiquidity.mul(currentRate);
uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
return (rAmount, rTransferAmount, rFee);
}
function _getRate() private view returns (uint256) {
(uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
return rSupply.div(tSupply);
}
function _getCurrentSupply() private view returns (uint256, uint256) {
uint256 rSupply = _rTotal;
uint256 tSupply = _tTotal;
for (uint256 i = 0; i < _excluded.length; i++) {
if (
_rOwned[_excluded[i]] > rSupply ||
_tOwned[_excluded[i]] > tSupply
) return (_rTotal, _tTotal);
rSupply = rSupply.sub(_rOwned[_excluded[i]]);
tSupply = tSupply.sub(_tOwned[_excluded[i]]);
}
if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
return (rSupply, tSupply);
}
function _takeLiquidity(uint256 tLiquidity) private {
uint256 currentRate = _getRate();
uint256 rLiquidity = tLiquidity.mul(currentRate);
_rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
if (_isExcluded[address(this)])
_tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
emit TakeLiquidity(msg.sender, tLiquidity);
}
function calculateTaxFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_taxFee).div(10**2);
}
function calculateLiquidityFee(uint256 _amount)
private
view
returns (uint256)
{
return _amount.mul(_liquidityFee).div(10**2);
}
function removeAllFee() private {
if (_taxFee == 0 && _liquidityFee == 0) return;
_previousTaxFee = _taxFee;
_previousLiquidityFee = _liquidityFee;
_taxFee = 0;
_liquidityFee = 0;
}
function restoreAllFee() private {
_taxFee = _previousTaxFee;
_liquidityFee = _previousLiquidityFee;
}
function isExcludedFromFee(address account) external view returns (bool) {
return _isExcludedFromFee[account];
}
function setBuyFee(uint256 buyTaxFee, uint256 buyPoolAndMarketingFee)
external
onlyOwner
{
_buyTaxFee = buyTaxFee;
_buyPoolAndMarketingFee = buyPoolAndMarketingFee;
require(
_buyTaxFee + _buyPoolAndMarketingFee <= 10,
"Must keep buy taxes below 10%"
);
}
function setSellFee(uint256 sellTaxFee, uint256 sellPoolAndMarketingFee)
external
onlyOwner
{
_sellTaxFee = sellTaxFee;
_sellPoolAndMarketingFee = sellPoolAndMarketingFee;
require(
_sellTaxFee + _sellPoolAndMarketingFee <= 15,
"Must keep sell taxes below 15%"
);
}
function setTransferFee(uint256 transferTaxFee, uint256 transferPoolAndMarketingFee)
external
onlyOwner
{
_transferTaxFee = transferTaxFee;
_transferPoolAndMarketingFee = transferPoolAndMarketingFee;
require(
_transferTaxFee + _transferPoolAndMarketingFee <= 15,
"Must keep sell taxes below 15%"
);
}
function setNewRouter(address newRouter) external onlyOwner {
IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter);
address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(
address(this),
CELO
);
if (get_pair == address(0)) {
uniswapV2Pair = IUniswapV2Factory(_newRouter.factory()).createPair(
address(this),
CELO
);
} else {
uniswapV2Pair = get_pair;
}
uniswapV2Router = _newRouter;
_routerAddress = newRouter;
_approve(address(this), newRouter, type(uint256).max);
_CELO.approve(newRouter, type(uint256).max);
}
function setMarketingAddress(address _marketingAddress) external onlyOwner {
require(_marketingAddress != address(0), "_marketingAddress address cannot be 0");
_isExcludedFromFee[_marketing] = false;
_marketing = payable(_marketingAddress);
_isExcludedFromFee[_marketing] = true;
}
function setPoolAddress(address _poolAddress) external onlyOwner {
require(_poolAddress != address(0), "_poolAddress address cannot be 0");
_isExcludedFromFee[_pool] = false;
_pool = payable(_poolAddress);
_isExcludedFromFee[_pool] = true;
}
function excludeFromFee(address account) public onlyOwner {
_isExcludedFromFee[account] = true;
}
function includeInFee(address account) public onlyOwner {
_isExcludedFromFee[account] = false;
}
function setTaxFeePercent(uint256 taxFee) external onlyOwner {
require(taxFee >= 0 && taxFee <= 10, "taxFee must from 0 to 10");
_taxFee = taxFee;
emit SetTaxFeePercent(taxFee);
}
function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner {
require(
liquidityFee >= 0 && liquidityFee <= 10,
"liquidityFee must from 0 to 10"
);
_liquidityFee = liquidityFee;
emit SetLiquidityFeePercent(liquidityFee);
}
function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner {
require(maxTxAmount > 0, "maxTxAmount must be greater than 0");
_maxTxAmount = maxTxAmount * 10**18;
emit SetMaxTxAmount(maxTxAmount * 10**18);
}
function setNumTokensSellToAddToLiquidity(uint256 _minimumTokensBeforeSwap)
external
onlyOwner
{
minimumTokensBeforeSwap = _minimumTokensBeforeSwap * 10**18;
emit SetNumTokensSellToAddToLiquidity(
_minimumTokensBeforeSwap * 10**18
);
}
function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
swapAndLiquifyEnabled = _enabled;
emit SwapAndLiquifyEnabledUpdated(_enabled);
}
function prepareIDO() external onlyOwner {
setSwapAndLiquifyEnabled(false);
_buyTaxFee = 0;
_buyPoolAndMarketingFee = 0;
_sellTaxFee = 0;
_sellPoolAndMarketingFee = 0;
_transferTaxFee = 0;
_transferPoolAndMarketingFee = 0;
_maxTxAmount = 100_000 * 10**18;
}
function afterIDO() external onlyOwner {
setSwapAndLiquifyEnabled(true);
_buyTaxFee = 0;
_buyPoolAndMarketingFee = 1;
_sellTaxFee = 1;
_sellPoolAndMarketingFee = 10;
_transferTaxFee = 1;
_transferPoolAndMarketingFee = 0;
_maxTxAmount = 10_000 * 10**18;
}
function addWhitelist(address account) external onlyOwner {
_whitelist[account] = true;
}
function removeWhitelist(address account) external onlyOwner {
_whitelist[account] = false;
}
receive() external payable onlyWhitelist {}
}

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Log","inputs":[{"type":"string","name":"message","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RewardLiquidityProviders","inputs":[{"type":"uint256","name":"tokenAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetMarketingDivisor","inputs":[{"type":"uint256","name":"divisor","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetMaxTxAmount","inputs":[{"type":"uint256","name":"maxTxAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"minimumTokensBeforeSwap","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetTaxFeePercent","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiquidity","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquifyEnabledUpdated","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"SwapETHForTokens","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"SwapTokensForETH","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"TakeLiquidity","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"CELO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_buyPoolAndMarketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_buyTaxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_marketing","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxTxAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_pool","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_routerAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_sellPoolAndMarketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_sellTaxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_transferPoolAndMarketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_transferTaxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_whitelist","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addWhitelist","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"afterIDO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deliver","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumTokensBeforeSwapAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"prepareIDO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeWhitelist","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyFee","inputs":[{"type":"uint256","name":"buyTaxFee","internalType":"uint256"},{"type":"uint256","name":"buyPoolAndMarketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingAddress","inputs":[{"type":"address","name":"_marketingAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTxAmount","inputs":[{"type":"uint256","name":"maxTxAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNewRouter","inputs":[{"type":"address","name":"newRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"_minimumTokensBeforeSwap","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPoolAddress","inputs":[{"type":"address","name":"_poolAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSellFee","inputs":[{"type":"uint256","name":"sellTaxFee","internalType":"uint256"},{"type":"uint256","name":"sellPoolAndMarketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapAndLiquifyEnabled","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxFeePercent","inputs":[{"type":"uint256","name":"taxFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTransferFee","inputs":[{"type":"uint256","name":"transferTaxFee","internalType":"uint256"},{"type":"uint256","name":"transferPoolAndMarketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapAndLiquifyEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"receive","stateMutability":"payable"}]
            

Deployed ByteCode

0x6080604052600436106103545760003560e01c80637d1db4a5116101c6578063c49b9a80116100f7578063ec28438a11610095578063f2fde38b1161006f578063f2fde38b146109f4578063f60e673e14610a14578063f80f5dd514610a34578063fb0ecfa414610a5457600080fd5b8063ec28438a1461099e578063efcc52de146109be578063f0f165af146109d457600080fd5b8063dd62ed3e116100d1578063dd62ed3e146108f8578063e9e15b4f1461093e578063ea2f0b371461095e578063eafb5a3c1461097e57600080fd5b8063c49b9a8014610888578063cfdb63ac146108a8578063d9e66460146108d857600080fd5b8063934930a111610164578063a073d37f1161013e578063a073d37f1461081d578063a457c2d714610832578063a9059cbb14610852578063ab4fd4241461087257600080fd5b8063934930a1146107d257806395d89b41146107f257806396aa10a81461080757600080fd5b806388f82020116101a057806388f820201461073b5780638da5cb5b146107745780638ee88c5314610792578063906e9dd0146107b257600080fd5b80637d1db4a5146106fa5780637e09adfe1461071057806380f22b2c1461072557600080fd5b80634367e344116102a05780635342acb41161023e5780636ac9a870116102185780636ac9a8701461068557806370a08231146106a5578063715018a6146106c557806378c8cda7146106da57600080fd5b80635342acb41461060c57806362940cc414610645578063636fc28b1461066557600080fd5b806349bd5a5e1161027a57806349bd5a5e146105955780634a74bb02146105b55780634eac77e0146105d657806352390c02146105ec57600080fd5b80634367e34414610540578063437823ec146105555780634549b0391461057557600080fd5b8063200a692d1161030d578063313ce567116102e7578063313ce567146104be5780633685d419146104e057806339509351146105005780633bd5d1731461052057600080fd5b8063200a692d1461046857806323b872dd1461047e5780632d8381191461049e57600080fd5b8063061c82d01461038157806306fdde03146103a1578063095ea7b3146103cc57806313114a9d146103fc5780631694505e1461041b57806318160ddd1461045357600080fd5b3661037c573360009081526009602052604090205460ff16151560011461037a57600080fd5b005b600080fd5b34801561038d57600080fd5b5061037a61039c366004613175565b610a74565b3480156103ad57600080fd5b506103b6610b34565b6040516103c39190613219565b60405180910390f35b3480156103d857600080fd5b506103ec6103e736600461304a565b610bc6565b60405190151581526020016103c3565b34801561040857600080fd5b50600f545b6040519081526020016103c3565b34801561042757600080fd5b5060205461043b906001600160a01b031681565b6040516001600160a01b0390911681526020016103c3565b34801561045f57600080fd5b50600d5461040d565b34801561047457600080fd5b5061040d601a5481565b34801561048a57600080fd5b506103ec610499366004613009565b610bdd565b3480156104aa57600080fd5b5061040d6104b9366004613175565b610c46565b3480156104ca57600080fd5b5060125460405160ff90911681526020016103c3565b3480156104ec57600080fd5b5061037a6104fb366004612f96565b610cca565b34801561050c57600080fd5b506103ec61051b36600461304a565b610e81565b34801561052c57600080fd5b5061037a61053b366004613175565b610eb7565b34801561054c57600080fd5b5061037a610fa1565b34801561056157600080fd5b5061037a610570366004612f96565b611003565b34801561058157600080fd5b5061040d61059036600461318e565b611051565b3480156105a157600080fd5b5060215461043b906001600160a01b031681565b3480156105c157600080fd5b506021546103ec90600160a81b900460ff1681565b3480156105e257600080fd5b5061040d601b5481565b3480156105f857600080fd5b5061037a610607366004612f96565b6110de565b34801561061857600080fd5b506103ec610627366004612f96565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561065157600080fd5b5060035461043b906001600160a01b031681565b34801561067157600080fd5b5060015461043b906001600160a01b031681565b34801561069157600080fd5b5061037a6106a03660046131b3565b6112cc565b3480156106b157600080fd5b5061040d6106c0366004612f96565b61135a565b3480156106d157600080fd5b5061037a6113b9565b3480156106e657600080fd5b5061037a6106f5366004612f96565b6113ef565b34801561070657600080fd5b5061040d601e5481565b34801561071c57600080fd5b5061037a61143a565b34801561073157600080fd5b5061040d60195481565b34801561074757600080fd5b506103ec610756366004612f96565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561078057600080fd5b506000546001600160a01b031661043b565b34801561079e57600080fd5b5061037a6107ad366004613175565b61149c565b3480156107be57600080fd5b5061037a6107cd366004612f96565b61154c565b3480156107de57600080fd5b5061037a6107ed3660046131b3565b61162a565b3480156107fe57600080fd5b506103b661166a565b34801561081357600080fd5b5061040d601d5481565b34801561082957600080fd5b50601f5461040d565b34801561083e57600080fd5b506103ec61084d36600461304a565b611679565b34801561085e57600080fd5b506103ec61086d36600461304a565b6116c8565b34801561087e57600080fd5b5061040d601c5481565b34801561089457600080fd5b5061037a6108a336600461313b565b6116d5565b3480156108b457600080fd5b506103ec6108c3366004612f96565b60096020526000908152604090205460ff1681565b3480156108e457600080fd5b5060025461043b906001600160a01b031681565b34801561090457600080fd5b5061040d610913366004612fd0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b34801561094a57600080fd5b5061037a610959366004612f96565b61174c565b34801561096a57600080fd5b5061037a610979366004612f96565b61181b565b34801561098a57600080fd5b5061037a610999366004612f96565b611866565b3480156109aa57600080fd5b5061037a6109b9366004613175565b611ba4565b3480156109ca57600080fd5b5061040d60185481565b3480156109e057600080fd5b5061037a6109ef366004613175565b611c7f565b348015610a0057600080fd5b5061037a610a0f366004612f96565b611cf1565b348015610a2057600080fd5b5060045461043b906001600160a01b031681565b348015610a4057600080fd5b5061037a610a4f366004612f96565b611d8c565b348015610a6057600080fd5b5061037a610a6f3660046131b3565b611dda565b6000546001600160a01b03163314610aa75760405162461bcd60e51b8152600401610a9e9061326e565b60405180910390fd5b600a811115610af85760405162461bcd60e51b815260206004820152601860248201527f746178466565206d7573742066726f6d203020746f20313000000000000000006044820152606401610a9e565b60138190556040518181527f19da908cae03512cf29c19a5842b2904a06fd24ef9982759c78f9379831ed70f906020015b60405180910390a150565b606060108054610b4390613370565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6f90613370565b8015610bbc5780601f10610b9157610100808354040283529160200191610bbc565b820191906000526020600020905b815481529060010190602001808311610b9f57829003601f168201915b5050505050905090565b6000610bd3338484611e68565b5060015b92915050565b6000610bea848484611f8c565b610c3c8433610c3785604051806060016040528060288152602001613442602891396001600160a01b038a166000908152600860209081526040808320338452909152902054919061229c565b611e68565b5060019392505050565b6000600e54821115610cad5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610a9e565b6000610cb76122d6565b9050610cc383826122f9565b9392505050565b6000546001600160a01b03163314610cf45760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b0381166000908152600b602052604090205460ff16610d5c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610a9e565b60005b600c54811015610e7d57816001600160a01b0316600c8281548110610d8657610d866133f2565b6000918252602090912001546001600160a01b03161415610e6b57600c8054610db190600190613359565b81548110610dc157610dc16133f2565b600091825260209091200154600c80546001600160a01b039092169183908110610ded57610ded6133f2565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600b90925220805460ff19169055600c805480610e4557610e456133dc565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e75816133ab565b915050610d5f565b5050565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610bd3918590610c37908661233b565b336000818152600b602052604090205460ff1615610f2c5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610a9e565b6000610f378361239a565b505050506001600160a01b038416600090815260066020526040902054919250610f63919050826123e9565b6001600160a01b038316600090815260066020526040902055600e54610f8990826123e9565b600e55600f54610f99908461233b565b600f55505050565b6000546001600160a01b03163314610fcb5760405162461bcd60e51b8152600401610a9e9061326e565b610fd560016116d5565b6000601881905560016019819055601a819055600a601b55601c55601d5569021e19e0c9bab2400000601e55565b6000546001600160a01b0316331461102d5760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6000600d548311156110a55760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610a9e565b816110c45760006110b58461239a565b50939550610bd7945050505050565b60006110cf8461239a565b50929550610bd7945050505050565b6000546001600160a01b031633146111085760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b0381166000908152600b602052604090205460ff16156111715760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a9e565b600c54603290611182906001613300565b111561120c5760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610a9e565b6001600160a01b03811660009081526006602052604090205415611266576001600160a01b03811660009081526006602052604090205461124c90610c46565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600b60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b6000546001600160a01b031633146112f65760405162461bcd60e51b8152600401610a9e9061326e565b601a829055601b819055600f61130c8284613300565b1115610e7d5760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b6565702073656c6c2074617865732062656c6f772031352500006044820152606401610a9e565b6001600160a01b0381166000908152600b602052604081205460ff161561139757506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610bd790610c46565b6000546001600160a01b031633146113e35760405162461bcd60e51b8152600401610a9e9061326e565b6113ed600061242b565b565b6000546001600160a01b031633146114195760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146114645760405162461bcd60e51b8152600401610a9e9061326e565b61146e60006116d5565b600060188190556019819055601a819055601b819055601c819055601d5569152d02c7e14af6800000601e55565b6000546001600160a01b031633146114c65760405162461bcd60e51b8152600401610a9e9061326e565b600a8111156115175760405162461bcd60e51b815260206004820152601e60248201527f6c6971756964697479466565206d7573742066726f6d203020746f20313000006044820152606401610a9e565b60158190556040518181527fa080f06a1e9c2a432b1d35cf0a54ebca051cf5dce7433c3d8e94948436f1035690602001610b29565b6000546001600160a01b031633146115765760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b0381166115da5760405162461bcd60e51b815260206004820152602560248201527f5f6d61726b6574696e674164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b6064820152608401610a9e565b600380546001600160a01b039081166000908152600a6020526040808220805460ff1990811690915584546001600160a01b03191695909316948517909355928352912080549091166001179055565b6000546001600160a01b031633146116545760405162461bcd60e51b8152600401610a9e9061326e565b601c829055601d819055600f61130c8284613300565b606060118054610b4390613370565b6000610bd33384610c378560405180606001604052806025815260200161346a602591393360009081526008602090815260408083206001600160a01b038d168452909152902054919061229c565b6000610bd3338484611f8c565b6000546001600160a01b031633146116ff5760405162461bcd60e51b8152600401610a9e9061326e565b60218054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610b2990831515815260200190565b6000546001600160a01b031633146117765760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b0381166117cc5760405162461bcd60e51b815260206004820181905260248201527f5f706f6f6c4164647265737320616464726573732063616e6e6f7420626520306044820152606401610a9e565b600180546001600160a01b039081166000908152600a6020526040808220805460ff1990811690915584546001600160a01b031916959093169485178455938152929092208054909216179055565b6000546001600160a01b031633146118455760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6000546001600160a01b031633146118905760405162461bcd60e51b8152600401610a9e9061326e565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156118d057600080fd5b505afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119089190612fb3565b6004805460405163e6a4390560e01b815230928101929092526001600160a01b039081166024830152919091169063e6a439059060440160206040518083038186803b15801561195757600080fd5b505afa15801561196b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198f9190612fb3565b90506001600160a01b038116611abe57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d857600080fd5b505afa1580156119ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a109190612fb3565b600480546040516364e329cb60e11b815230928101929092526001600160a01b039081166024830152919091169063c9c6539690604401602060405180830381600087803b158015611a6157600080fd5b505af1158015611a75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a999190612fb3565b602180546001600160a01b0319166001600160a01b0392909216919091179055611ada565b602180546001600160a01b0319166001600160a01b0383161790555b602080546001600160a01b038085166001600160a01b0319928316179092556002805492861692909116919091179055611b173084600019611e68565b60055460405163095ea7b360e01b81526001600160a01b03858116600483015260001960248301529091169063095ea7b390604401602060405180830381600087803b158015611b6657600080fd5b505af1158015611b7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9e9190613158565b50505050565b6000546001600160a01b03163314611bce5760405162461bcd60e51b8152600401610a9e9061326e565b60008111611c295760405162461bcd60e51b815260206004820152602260248201527f6d61785478416d6f756e74206d7573742062652067726561746572207468616e604482015261020360f41b6064820152608401610a9e565b611c3b81670de0b6b3a764000061333a565b601e557f4a02caf9e7317d663463d3d976767ba90289279dd55c0a46f962536efc87a9a6611c7182670de0b6b3a764000061333a565b604051908152602001610b29565b6000546001600160a01b03163314611ca95760405162461bcd60e51b8152600401610a9e9061326e565b611cbb81670de0b6b3a764000061333a565b601f557faf03e08ee79afbf1342640444643fbc5871a6b7623742379afd8a14401aa7d6f611c7182670de0b6b3a764000061333a565b6000546001600160a01b03163314611d1b5760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b038116611d805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9e565b611d898161242b565b50565b6000546001600160a01b03163314611db65760405162461bcd60e51b8152600401610a9e9061326e565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000546001600160a01b03163314611e045760405162461bcd60e51b8152600401610a9e9061326e565b60188290556019819055600a611e1a8284613300565b1115610e7d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206275792074617865732062656c6f77203130250000006044820152606401610a9e565b6001600160a01b038316611eca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a9e565b6001600160a01b038216611f2b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a9e565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611ff05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a9e565b6001600160a01b0382166120525760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a9e565b600081116120b45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a9e565b6000546001600160a01b038481169116148015906120e057506000546001600160a01b03838116911614155b1561214857601e548111156121485760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610a9e565b60006121533061135a565b601f5460215491925082101590600160a01b900460ff161580156121805750602154600160a81b900460ff165b801561219957506021546001600160a01b038581169116145b156121b25780156121b257601f5491506121b28261247b565b6001600160a01b0385166000908152600a602052604090205460019060ff16806121f457506001600160a01b0385166000908152600a602052604090205460ff165b15612206575060036017556000612288565b6021546001600160a01b038781169116141561223a576122246124a7565b6018546013556019546015556001601755612288565b6021546001600160a01b038681169116141561226e576122586124a7565b601a54601355601b546015556002601755612288565b6122766124a7565b601c54601355601d5460155560036017555b612294868686846124d5565b505050505050565b600081848411156122c05760405162461bcd60e51b8152600401610a9e9190613219565b5060006122cd8486613359565b95945050505050565b60008060006122e36125fa565b90925090506122f282826122f9565b9250505090565b6000610cc383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061277c565b6000806123488385613300565b905083811015610cc35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a9e565b60008060008060008060008060006123b18a6127aa565b92509250925060008060006123cf8d86866123ca6122d6565b6127ec565b919f909e50909c50959a5093985091965092945050505050565b6000610cc383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061229c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6021805460ff60a01b1916600160a01b1790556124978161283c565b506021805460ff60a01b19169055565b6013541580156124b75750601554155b156124be57565b601380546014556015805460165560009182905555565b806124e2576124e26124a7565b6001600160a01b0384166000908152600b602052604090205460ff16801561252357506001600160a01b0383166000908152600b602052604090205460ff16155b1561253857612533848484612b73565b6125e4565b6001600160a01b0384166000908152600b602052604090205460ff1615801561257957506001600160a01b0383166000908152600b602052604090205460ff165b1561258957612533848484612c99565b6001600160a01b0384166000908152600b602052604090205460ff1680156125c957506001600160a01b0383166000908152600b602052604090205460ff165b156125d957612533848484612d42565b6125e4848484612db5565b80611b9e57611b9e601454601355601654601555565b600e54600d546000918291825b600c5481101561274c578260066000600c8481548110612629576126296133f2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061269457508160076000600c848154811061266d5761266d6133f2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156126aa57600e54600d54945094505050509091565b6126f060066000600c84815481106126c4576126c46133f2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906123e9565b925061273860076000600c848154811061270c5761270c6133f2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906123e9565b915080612744816133ab565b915050612607565b50600d54600e5461275c916122f9565b82101561277357600e54600d549350935050509091565b90939092509050565b6000818361279d5760405162461bcd60e51b8152600401610a9e9190613219565b5060006122cd8486613318565b6000806000806127b985612df9565b905060006127c686612e15565b905060006127de826127d889866123e9565b906123e9565b979296509094509092505050565b60008080806127fb8886612e31565b905060006128098887612e31565b905060006128178888612e31565b90506000612829826127d886866123e9565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612871576128716133f2565b6001600160a01b0392831660209182029290920101526004548251911690829060019081106128a2576128a26133f2565b6001600160a01b039283166020918202929092018101919091525460405163d06ca61f60e01b8152600092919091169063d06ca61f906128e890869086906004016132a3565b60006040518083038186803b15801561290057600080fd5b505afa158015612914573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261293c9190810190613076565b90506000816001845161294f9190613359565b8151811061295f5761295f6133f2565b60200260200101519050600061298a6064612984600a85612e3190919063ffffffff16565b906122f9565b905060006129988284613359565b60205486519192506001600160a01b031690635c11d79590889087906129c090600190613359565b815181106129d0576129d06133f2565b602002602001015188600360009054906101000a90046001600160a01b0316426040518663ffffffff1660e01b8152600401612a109594939291906132c4565b600060405180830381600087803b158015612a2a57600080fd5b505af1925050508015612a3b575060015b612a9e577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab604051612a9590602080825260149082015273195e1d195c9b985b0818d85b1b0819985a5b195960621b604082015260600190565b60405180910390a15b6005546003546001546040516323b872dd60e01b81526001600160a01b0392831660048201529082166024820152604481018490529116906323b872dd90606401602060405180830381600087803b158015612af957600080fd5b505af1158015612b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b319190613158565b507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78686604051612b639291906132a3565b60405180910390a1505050505050565b600080600080600080612b858761239a565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612bb790886123e9565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612be690876123e9565b6001600160a01b03808b1660009081526006602052604080822093909355908a1681522054612c15908661233b565b6001600160a01b038916600090815260066020526040902055612c3781612eb0565b612c418483612f72565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612c8691815260200190565b60405180910390a3505050505050505050565b600080600080600080612cab8761239a565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612cdd90876123e9565b6001600160a01b03808b16600090815260066020908152604080832094909455918b16815260079091522054612d13908461233b565b6001600160a01b038916600090815260076020908152604080832093909355600690522054612c15908661233b565b600080600080600080612d548761239a565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612d8690886123e9565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612cdd90876123e9565b600080600080600080612dc78761239a565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612be690876123e9565b6000610bd7606461298460135485612e3190919063ffffffff16565b6000610bd7606461298460155485612e3190919063ffffffff16565b600082612e4057506000610bd7565b6000612e4c838561333a565b905082612e598583613318565b14610cc35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a9e565b6000612eba6122d6565b90506000612ec88383612e31565b30600090815260066020526040902054909150612ee5908261233b565b30600090815260066020908152604080832093909355600b9052205460ff1615612f345730600090815260076020526040902054612f23908461233b565b306000908152600760205260409020555b60408051338152602081018590527ff8daf4a07edf94beecca7b0f59fd1525aa6796712a0895cffee971515a71009e910160405180910390a1505050565b600e54612f7f90836123e9565b600e55600f54612f8f908261233b565b600f555050565b600060208284031215612fa857600080fd5b8135610cc38161341e565b600060208284031215612fc557600080fd5b8151610cc38161341e565b60008060408385031215612fe357600080fd5b8235612fee8161341e565b91506020830135612ffe8161341e565b809150509250929050565b60008060006060848603121561301e57600080fd5b83356130298161341e565b925060208401356130398161341e565b929592945050506040919091013590565b6000806040838503121561305d57600080fd5b82356130688161341e565b946020939093013593505050565b6000602080838503121561308957600080fd5b825167ffffffffffffffff808211156130a157600080fd5b818501915085601f8301126130b557600080fd5b8151818111156130c7576130c7613408565b8060051b604051601f19603f830116810181811085821117156130ec576130ec613408565b604052828152858101935084860182860187018a101561310b57600080fd5b600095505b8386101561312e578051855260019590950194938601938601613110565b5098975050505050505050565b60006020828403121561314d57600080fd5b8135610cc381613433565b60006020828403121561316a57600080fd5b8151610cc381613433565b60006020828403121561318757600080fd5b5035919050565b600080604083850312156131a157600080fd5b823591506020830135612ffe81613433565b600080604083850312156131c657600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b8381101561320e5781516001600160a01b0316875295820195908201906001016131e9565b509495945050505050565b600060208083528351808285015260005b818110156132465785810183015185820160400152820161322a565b81811115613258576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006132bc60408301846131d5565b949350505050565b85815284602082015260a0604082015260006132e360a08301866131d5565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613313576133136133c6565b500190565b60008261333557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613354576133546133c6565b500290565b60008282101561336b5761336b6133c6565b500390565b600181811c9082168061338457607f821691505b602082108114156133a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133bf576133bf6133c6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611d8957600080fd5b8015158114611d8957600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122080e9817bcbd35d63ac38f84e498b30506d8e628b01b756c10f146b2a4b0bb89564736f6c63430008070033