Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- Eros
- Optimization enabled
- true
- Compiler version
- v0.8.25+commit.b61c2a91
- Optimization runs
- 200
- EVM Version
- paris
- Verified at
- 2024-06-12T16:28:12.513162Z
Constructor Arguments
0x0000000000000000000000001e45f5efe51f8c02fa5061a815c54cd975058f3a00000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02
Arg [0] (address) : 0x1e45f5efe51f8c02fa5061a815c54cd975058f3a
Arg [1] (address) : 0x98bf93ebf5c380c0e6ae8e192a7e2ae08edacc02
contracts/Eros.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.25;
import "./Ownable.sol";
import "./ERC20.sol";
import "./SafeMath.sol";
import "./IPulseX.sol";
import "./IStaking.sol";
contract Eros is Ownable, ERC20 {
using SafeMath for uint256;
mapping(address => uint256) public rOwned;
mapping(address => uint256) public tOwned;
mapping(address => uint256) public totalSend;
mapping(address => uint256) public totalReceived;
mapping(address => uint256) public lockedAmount;
mapping(address => bool) public isExcludedFromFee;
mapping(address => bool) public isExcludedFromMaxBuyPerWallet;
mapping(address => bool) public isExcludedFromReward;
mapping(address => bool) public isAutomatedMarketMakerPairs;
mapping(address => bool) public isHolder;
address[] private _excluded;
address public burnWallet;
address public DAOContract;
IStaking public stakingContract;
uint256 private constant MAX = ~uint256(0);
uint256 private constant _tTotal = 333333333333 * (10 ** 18);
uint256 private _rTotal = (MAX - (MAX % _tTotal));
uint256 private _tFeeTotal;
uint256 public liquidityFeeTotal;
uint256 public DAOFeeTotal;
uint256 public holders;
uint256[] public liquidityFee;
uint256[] private DAOFee;
uint256[] public reflectionFee;
uint256[] public stakingFee;
uint256[] public burnFee;
uint256 private _liquidityFee;
uint256 private _DAOFee;
uint256 private _reflectionFee;
uint256 private _stakingFee;
uint256 private _burnFee;
IPulseXRouter public pulseXRouter;
address public pulseXPair;
bool private swapping;
uint256 public swapTokensAtAmount;
uint256 public maxBuyPerWallet;
event LockToken(uint256 amount, address user);
event UnLockToken(uint256 amount, address user);
event SwapTokensAmountUpdated(uint256 amount);
event LiquidityAdded(uint256 amountOfEros, uint256 amountOfPulse);
event LiquidityAddedFailed(uint256 amountOfEros, uint256 amountOfPulse);
event SwapForLiquidity(uint256 amountOfPulse);
event SwapForLiquidityFailed(uint256 amountOfPulse);
constructor(
address owner,
address _routerAddress
) ERC20("EROS Burn Baby Burn", "EROS") {
rOwned[owner] = _rTotal;
pulseXRouter = IPulseXRouter(_routerAddress);
pulseXPair = IPulseXFactory(pulseXRouter.factory()).createPair(
address(this),
pulseXRouter.WPLS()
);
burnWallet = address(0x0000000000000000000000000000000000000369);
swapTokensAtAmount = 33333333 * (10 ** 18);
maxBuyPerWallet = 6666666666 * (10 ** 18);
isExcludedFromFee[owner] = true;
isExcludedFromFee[address(this)] = true;
isExcludedFromMaxBuyPerWallet[address(pulseXPair)] = true;
isExcludedFromMaxBuyPerWallet[address(this)] = true;
isExcludedFromMaxBuyPerWallet[owner] = true;
DAOFee.push(0);
DAOFee.push(0);
DAOFee.push(0);
reflectionFee.push(100);
reflectionFee.push(100);
reflectionFee.push(100);
stakingFee.push(100);
stakingFee.push(100);
stakingFee.push(100);
burnFee.push(200);
burnFee.push(200);
burnFee.push(200);
liquidityFee.push(100);
liquidityFee.push(100);
liquidityFee.push(100);
_excludeFromReward(address(burnWallet));
_excludeFromReward(address(pulseXPair));
_excludeFromReward(address(this));
_setAutomatedMarketMakerPair(pulseXPair, true);
isHolder[owner] = true;
holders += 1;
totalReceived[owner] += _tTotal;
emit Transfer(address(0), owner, _tTotal);
}
receive() external payable {}
function excludeFromLimit(address account, bool status) external onlyOwner {
isExcludedFromMaxBuyPerWallet[address(account)] = status;
isExcludedFromFee[address(account)] = status;
}
function updateAutomatedMarketMakerPair(
address pair,
bool value
) external onlyOwner {
require(pair != address(0), "Zero address");
_setAutomatedMarketMakerPair(pair, value);
if (value) {
_excludeFromReward(address(pair));
isExcludedFromMaxBuyPerWallet[address(pair)] = true;
} else {
_includeInReward(address(pair));
isExcludedFromMaxBuyPerWallet[address(pair)] = false;
}
}
function totalSupply() public pure override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
if (isExcludedFromReward[account]) return tOwned[account];
return tokenFromReflection(rOwned[account]);
}
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) internal {
if (rOwned[account] > 0) {
tOwned[account] = tokenFromReflection(rOwned[account]);
}
isExcludedFromReward[account] = true;
_excluded.push(account);
}
function _includeInReward(address account) internal {
for (uint256 i = 0; i < _excluded.length; i++) {
if (_excluded[i] == account) {
_excluded[i] = _excluded[_excluded.length - 1];
tOwned[account] = 0;
isExcludedFromReward[account] = false;
_excluded.pop();
break;
}
}
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
require(
isAutomatedMarketMakerPairs[pair] != value,
"Automated market maker pair is already set to that value"
);
isAutomatedMarketMakerPairs[pair] = value;
}
function setStakingContract(IStaking contractAddress) external onlyOwner {
require(address(contractAddress) != address(0), "Zero address");
require(
address(stakingContract) == address(0),
"Staking contract already set"
);
stakingContract = IStaking(contractAddress);
_excludeFromReward(address(stakingContract));
isExcludedFromFee[address(stakingContract)] = true;
}
function setDAOContract(address wallet) external onlyOwner {
require(address(wallet) != address(0), "Zero address");
require(address(DAOContract) == address(0), "DAO contract already set");
DAOContract = wallet;
_excludeFromReward(address(DAOContract));
isExcludedFromFee[address(DAOContract)] = true;
}
function lockToken(uint256 amount, address user) external {
require(msg.sender == address(stakingContract), "sender not allowed");
uint256 unlockBalance = balanceOf(user) - lockedAmount[user];
require(unlockBalance >= amount, "locking amount exceeds balance");
lockedAmount[user] += amount;
emit LockToken(amount, user);
}
function unlockToken(uint256 amount, address user) external {
require(msg.sender == address(stakingContract), "sender not allowed");
require(lockedAmount[user] >= amount, "amount is not correct");
lockedAmount[user] -= amount;
emit UnLockToken(amount, user);
}
function unlockSend(uint256 amount, address user) external {
require(msg.sender == address(stakingContract), "sender not allowed");
require(lockedAmount[user] >= amount, "amount is not correct");
lockedAmount[user] -= amount;
IERC20(address(this)).transferFrom(
address(user),
address(stakingContract),
amount
);
emit UnLockToken(amount, user);
}
function airdropToken(uint256 amount, address receiver) external onlyOwner {
require(amount > 0, "Transfer amount must be greater than zero");
require(
balanceOf(owner()) > amount,
"transfer amount exceeds balance"
);
transfer(receiver, amount);
}
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)
{
(
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO
) = _getTValues(tAmount);
(uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
tAmount,
tFee,
tLiquidity,
tDAO,
_getRate()
);
return (
rAmount,
rTransferAmount,
rFee,
tTransferAmount,
tFee,
tLiquidity,
tDAO
);
}
function _getTValues(
uint256 tAmount
) private view returns (uint256, uint256, uint256, uint256) {
uint256 tFee = calculateReflectionFee(tAmount);
uint256 tLiquidity = calculateLiquidityFee(tAmount);
uint256 tDAO = calculateDAOFee(tAmount);
uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tDAO);
return (tTransferAmount, tFee, tLiquidity, tDAO);
}
function _getRValues(
uint256 tAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO,
uint256 currentRate
) private pure returns (uint256, uint256, uint256) {
uint256 rAmount = tAmount.mul(currentRate);
uint256 rFee = tFee.mul(currentRate);
uint256 rLiquidity = tLiquidity.mul(currentRate);
uint256 rDAO = tDAO.mul(currentRate);
uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rDAO);
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 (isExcludedFromReward[address(this)])
tOwned[address(this)] = tOwned[address(this)].add(tLiquidity);
}
function _takeDAO(uint256 tDAO) private {
uint256 currentRate = _getRate();
uint256 rDAO = tDAO.mul(currentRate);
rOwned[address(this)] = rOwned[address(this)].add(rDAO);
if (isExcludedFromReward[address(this)])
tOwned[address(this)] = tOwned[address(this)].add(tDAO);
}
function _takeStaking(uint256 tStaking) private {
uint256 currentRate = _getRate();
uint256 rStaking = tStaking.mul(currentRate);
rOwned[address(stakingContract)] = rOwned[address(stakingContract)].add(
rStaking
);
if (isExcludedFromReward[address(stakingContract)])
tOwned[address(stakingContract)] = tOwned[address(stakingContract)]
.add(tStaking);
}
function _takeBurn(uint256 tBurn) private {
uint256 currentRate = _getRate();
uint256 rBurn = tBurn.mul(currentRate);
rOwned[burnWallet] = rOwned[burnWallet].add(rBurn);
if (isExcludedFromReward[burnWallet])
tOwned[burnWallet] = tOwned[burnWallet].add(tBurn);
}
function calculateReflectionFee(
uint256 _amount
) private view returns (uint256) {
return _amount.mul(_reflectionFee).div(10000);
}
function calculateDAOFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_DAOFee).div(10000);
}
function calculateStakingFee(
uint256 _amount
) private view returns (uint256) {
return _amount.mul(_stakingFee).div(10000);
}
function calculateLiquidityFee(
uint256 _amount
) private view returns (uint256) {
return _amount.mul(_liquidityFee).div(10000);
}
function calculateBurnFee(uint256 _amount) private view returns (uint256) {
return _amount.mul(_burnFee).div(10000);
}
function removeAllFee() private {
_reflectionFee = 0;
_stakingFee = 0;
_DAOFee = 0;
_liquidityFee = 0;
_burnFee = 0;
}
function applyBuyFee() private {
_reflectionFee = reflectionFee[0];
_stakingFee = stakingFee[0];
_DAOFee = DAOFee[0];
_liquidityFee = liquidityFee[0];
_burnFee = burnFee[0];
}
function applySellFee() private {
_reflectionFee = reflectionFee[1];
_stakingFee = stakingFee[1];
_DAOFee = DAOFee[1];
_liquidityFee = liquidityFee[1];
_burnFee = burnFee[1];
}
function applyP2PFee() private {
_reflectionFee = reflectionFee[2];
_stakingFee = stakingFee[2];
_DAOFee = DAOFee[2];
_liquidityFee = liquidityFee[2];
_burnFee = burnFee[2];
}
function applyAirdropFee() private {
_reflectionFee = 10000;
_stakingFee = 0;
_DAOFee = 0;
_liquidityFee = 0;
_burnFee = 0;
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
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");
require(
balanceOf(from) - lockedAmount[from] >= amount,
"transfer amount exceeds balance"
);
if (!isHolder[address(to)]) {
isHolder[to] = true;
holders += 1;
}
if ((balanceOf(from) - amount) == 0) {
isHolder[from] = false;
holders -= 1;
}
if (
!isExcludedFromMaxBuyPerWallet[to] &&
isAutomatedMarketMakerPairs[from]
) {
uint256 balanceRecepient = balanceOf(to);
require(
balanceRecepient + amount <= maxBuyPerWallet,
"Exceeds maximum buy per wallet limit"
);
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
if (canSwap && !swapping && isAutomatedMarketMakerPairs[to]) {
uint256 tokenToLiqudity = liquidityFeeTotal.div(2);
if (tokenToLiqudity >= swapTokensAtAmount) {
swapping = true;
swapTokensForPLS(swapTokensAtAmount);
uint256 PLSBalance = address(this).balance;
if (PLSBalance > 0) {
uint256 liquidityToken = swapTokensAtAmount;
addLiquidity(liquidityToken, PLSBalance);
liquidityFeeTotal = liquidityFeeTotal.sub(liquidityToken);
}
swapping = false;
}
}
bool takeFee = true;
if (isExcludedFromFee[from] || isExcludedFromFee[to]) {
takeFee = false;
} else {
if (!isHolder[address(this)]) {
isHolder[address(this)] = true;
holders += 1;
}
if (!isHolder[address(stakingContract)]) {
isHolder[address(stakingContract)] = true;
holders += 1;
}
if (!isHolder[address(burnWallet)]) {
isHolder[address(burnWallet)] = true;
holders += 1;
}
}
_tokenTransfer(from, to, amount, takeFee, false);
}
function _tokenTransfer(
address sender,
address recipient,
uint256 amount,
bool takeFee,
bool airdrop
) private {
totalSend[sender] += amount;
if (!takeFee) {
removeAllFee();
} else if (airdrop) {
applyAirdropFee();
} else if (
!isAutomatedMarketMakerPairs[sender] &&
!isAutomatedMarketMakerPairs[recipient]
) {
applyP2PFee();
} else if (isAutomatedMarketMakerPairs[recipient]) {
applySellFee();
} else {
applyBuyFee();
}
uint256 _totalFee = _reflectionFee +
_stakingFee +
_DAOFee +
_liquidityFee +
_burnFee;
if (_totalFee > 0) {
uint256 _feeAmount = amount.mul(_totalFee).div(10000);
totalReceived[recipient] += amount.sub(_feeAmount);
} else {
totalReceived[recipient] += amount;
}
uint256 tBurn = calculateBurnFee(amount);
if (tBurn > 0) {
_takeBurn(tBurn);
emit Transfer(sender, address(burnWallet), tBurn);
}
uint256 tStaking = calculateStakingFee(amount);
if (tStaking > 0) {
_takeStaking(tStaking);
stakingContract.updatePool(tStaking);
emit Transfer(sender, address(stakingContract), tStaking);
}
if (isExcludedFromReward[sender] && !isExcludedFromReward[recipient]) {
_transferFromExcluded(sender, recipient, amount, tStaking, tBurn);
} else if (
!isExcludedFromReward[sender] && isExcludedFromReward[recipient]
) {
_transferToExcluded(sender, recipient, amount, tStaking, tBurn);
} else if (
!isExcludedFromReward[sender] && !isExcludedFromReward[recipient]
) {
_transferStandard(sender, recipient, amount, tStaking, tBurn);
} else if (
isExcludedFromReward[sender] && isExcludedFromReward[recipient]
) {
_transferBothExcluded(sender, recipient, amount, tStaking, tBurn);
} else {
_transferStandard(sender, recipient, amount, tStaking, tBurn);
}
}
function _transferStandard(
address sender,
address recipient,
uint256 tAmount,
uint256 tStaking,
uint256 tBurn
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO
) = _getValues(tAmount);
tTransferAmount = tTransferAmount.sub(tStaking).sub(tBurn);
rTransferAmount = rTransferAmount.sub(tStaking.mul(_getRate())).sub(
tBurn.mul(_getRate())
);
rOwned[sender] = rOwned[sender].sub(rAmount);
rOwned[recipient] = rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeDAO(tDAO);
_reflectFee(rFee, tFee);
liquidityFeeTotal += tLiquidity;
DAOFeeTotal += tDAO;
if (tDAO.add(tLiquidity) > 0) {
emit Transfer(sender, address(this), tDAO.add(tLiquidity));
}
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferToExcluded(
address sender,
address recipient,
uint256 tAmount,
uint256 tStaking,
uint256 tBurn
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO
) = _getValues(tAmount);
tTransferAmount = tTransferAmount.sub(tStaking).sub(tBurn);
rTransferAmount = rTransferAmount.sub(tStaking.mul(_getRate())).sub(
tBurn.mul(_getRate())
);
rOwned[sender] = rOwned[sender].sub(rAmount);
tOwned[recipient] = tOwned[recipient].add(tTransferAmount);
rOwned[recipient] = rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeDAO(tDAO);
_reflectFee(rFee, tFee);
liquidityFeeTotal += tLiquidity;
DAOFeeTotal += tDAO;
if (tDAO.add(tLiquidity) > 0) {
emit Transfer(sender, address(this), tDAO.add(tLiquidity));
}
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferFromExcluded(
address sender,
address recipient,
uint256 tAmount,
uint256 tStaking,
uint256 tBurn
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO
) = _getValues(tAmount);
tTransferAmount = tTransferAmount.sub(tStaking).sub(tBurn);
rTransferAmount = rTransferAmount.sub(tStaking.mul(_getRate())).sub(
tBurn.mul(_getRate())
);
tOwned[sender] = tOwned[sender].sub(tAmount);
rOwned[sender] = rOwned[sender].sub(rAmount);
rOwned[recipient] = rOwned[recipient].add(rTransferAmount);
_takeLiquidity(tLiquidity);
_takeDAO(tDAO);
_reflectFee(rFee, tFee);
liquidityFeeTotal += tLiquidity;
DAOFeeTotal += tDAO;
if (tDAO.add(tLiquidity) > 0) {
emit Transfer(sender, address(this), tDAO.add(tLiquidity));
}
emit Transfer(sender, recipient, tTransferAmount);
}
function _transferBothExcluded(
address sender,
address recipient,
uint256 tAmount,
uint256 tStaking,
uint256 tBurn
) private {
(
uint256 rAmount,
uint256 rTransferAmount,
uint256 rFee,
uint256 tTransferAmount,
uint256 tFee,
uint256 tLiquidity,
uint256 tDAO
) = _getValues(tAmount);
tTransferAmount = tTransferAmount.sub(tStaking).sub(tBurn);
rTransferAmount = rTransferAmount.sub(tStaking.mul(_getRate())).sub(
tBurn.mul(_getRate())
);
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);
_takeDAO(tDAO);
_reflectFee(rFee, tFee);
liquidityFeeTotal += tLiquidity;
DAOFeeTotal += tDAO;
if (tDAO.add(tLiquidity) > 0) {
emit Transfer(sender, address(this), tDAO.add(tLiquidity));
}
emit Transfer(sender, recipient, tTransferAmount);
}
function swapTokensForPLS(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = pulseXRouter.WPLS();
_approve(address(this), address(pulseXRouter), tokenAmount);
try pulseXRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
) {
emit SwapForLiquidity(tokenAmount);
} catch {
emit SwapForLiquidityFailed(tokenAmount);
}
}
function addLiquidity(uint256 erosAmount, uint256 pulseAmount) private {
_approve(address(this), address(pulseXRouter), erosAmount);
try pulseXRouter.addLiquidityETH{value: pulseAmount}(
address(this),
erosAmount,
0,
0,
address(this),
block.timestamp
) {
emit LiquidityAdded(erosAmount, pulseAmount);
} catch {
emit LiquidityAddedFailed(erosAmount, pulseAmount);
}
}
}
contracts/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
contracts/ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
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);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
contracts/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
contracts/IERC20Metadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
import "./IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
contracts/IPulseX.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
interface IPulseXFactory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IPulseXRouter {
function factory() external pure returns (address);
function WPLS() external pure returns (address);
function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
}
contracts/IStaking.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
interface IStaking {
function updatePool(uint256 amount) external;
function checkHighestStaker(address user) external returns (bool);
function mapUserInfo(
address voter
)
external
view
returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256);
}
contracts/Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
import "./Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
contracts/SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
Compiler Settings
{"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{},"evmVersion":"paris"}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"_routerAddress","internalType":"address"}]},{"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":"LiquidityAdded","inputs":[{"type":"uint256","name":"amountOfEros","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountOfPulse","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LiquidityAddedFailed","inputs":[{"type":"uint256","name":"amountOfEros","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountOfPulse","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LockToken","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"address","name":"user","internalType":"address","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":"SwapForLiquidity","inputs":[{"type":"uint256","name":"amountOfPulse","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapForLiquidityFailed","inputs":[{"type":"uint256","name":"amountOfPulse","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapTokensAmountUpdated","inputs":[{"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":"event","name":"UnLockToken","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"address","name":"user","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"DAOContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"DAOFeeTotal","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"airdropToken","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"receiver","internalType":"address"}]},{"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":"uint256","name":"","internalType":"uint256"}],"name":"burnFee","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"burnWallet","inputs":[]},{"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":"excludeFromLimit","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"status","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"holders","inputs":[]},{"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":"isAutomatedMarketMakerPairs","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromMaxBuyPerWallet","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isHolder","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityFee","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityFeeTotal","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lockToken","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lockedAmount","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxBuyPerWallet","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":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pulseXPair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXRouter"}],"name":"pulseXRouter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"rOwned","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFee","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDAOContract","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStakingContract","inputs":[{"type":"address","name":"contractAddress","internalType":"contract IStaking"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IStaking"}],"name":"stakingContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"stakingFee","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapTokensAtAmount","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":"tOwned","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"totalReceived","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSend","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"pure","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":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","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":"nonpayable","outputs":[],"name":"unlockSend","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unlockToken","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x608060405261001d6c04350edef012dc1267883400006000196109f0565b61002990600019610a1a565b60145534801561003857600080fd5b5060405161402338038061402383398101604081905261005791610a49565b6040518060400160405280601381526020017f45524f53204275726e2042616279204275726e000000000000000000000000008152506040518060400160405280600481526020016345524f5360e01b8152506100c06100bb61059760201b60201c565b61059b565b60046100cc8382610b1d565b5060056100d98282610b1d565b50506014546001600160a01b0384811660009081526006602090815260409182902093909355602380546001600160a01b0319169286169283179055805163c45a015560e01b8152905191935063c45a01559260048083019391928290030181865afa15801561014d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101719190610bdc565b6001600160a01b031663c9c6539630602360009054906101000a90046001600160a01b03166001600160a01b031663ef8ef56f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f79190610bdc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610bdc565b602480546001600160a01b039283166001600160a01b0319918216178255601180549091166103691781556a1b929b9a4d1cb5143400006025556b158a8994202d87c8f06800006026558483166000818152600b60209081526040808320805460ff199081166001908117909255308086528386208054831684179055975489168552600c9093528184208054841682179055958352808320805483168717905592825291812080549092168417909155601a805480850182557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e908101839055815480860183558101839055815480860190925501819055601b8054808501825560647f3ad8aa4f87544323a9d1e5dd902f40c356527a7955687113db5f9a85ad579dc191820181905582548087018455820181905582548087019093559101819055601c805480860182557f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a211908101839055815480870183558101839055815480870190925501819055601d8054808601825560c87f6d4407e7be21f808e6509aa9fa9143369579dd7d760fe20a2c09680fc146134f9182018190558254808801845582018190558254808801909355910155601980548086018255928190527f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c9695928301829055805480860182558301829055805494850190559201919091555461049591166105eb565b6024546104aa906001600160a01b03166105eb565b6104b3306105eb565b6024546104ca906001600160a01b031660016106ab565b6001600160a01b0382166000908152600f60205260408120805460ff191660019081179091556018805491929091610503908490610bf7565b90915550506001600160a01b038216600090815260096020526040812080546c04350edef012dc126788340000929061053d908490610bf7565b90915550506040516c04350edef012dc12678834000081526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050610c34565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526006602052604090205415610645576001600160a01b03811660009081526006602052604090205461062b90610771565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600d60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b6001600160a01b0382166000908152600e602052604090205481151560ff9091161515036107465760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60006014548211156107d85760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161073d565b60006107e26107f5565b90506107ee8382610817565b9392505050565b6000808061080161082c565b90925090506108108282610817565b9250505090565b60006108238284610c0a565b90505b92915050565b60145460009081906c04350edef012dc126788340000825b6010548110156109895782600660006010848154811061086657610866610c1e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806108d157508160076000601084815481106108aa576108aa610c1e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156108f1575050601454936c04350edef012dc1267883400009350915050565b610937600660006010848154811061090b5761090b610c1e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906109ce565b925061097f600760006010848154811061095357610953610c1e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906109ce565b9150600101610844565b506014546109a4906c04350edef012dc126788340000610817565b8210156109c5575050601454926c04350edef012dc12678834000092509050565b90939092509050565b60006108238284610a1a565b634e487b7160e01b600052601260045260246000fd5b6000826109ff576109ff6109da565b500690565b634e487b7160e01b600052601160045260246000fd5b8181038181111561082657610826610a04565b80516001600160a01b0381168114610a4457600080fd5b919050565b60008060408385031215610a5c57600080fd5b610a6583610a2d565b9150610a7360208401610a2d565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610aa657607f821691505b602082108103610ac657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610b18576000816000526020600020601f850160051c81016020861015610af55750805b601f850160051c820191505b81811015610b1457828155600101610b01565b5050505b505050565b81516001600160401b03811115610b3657610b36610a7c565b610b4a81610b448454610a92565b84610acc565b602080601f831160018114610b7f5760008415610b675750858301515b600019600386901b1c1916600185901b178555610b14565b600085815260208120601f198616915b82811015610bae57888601518255948401946001909101908401610b8f565b5085821015610bcc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215610bee57600080fd5b61082382610a2d565b8082018082111561082657610826610a04565b600082610c1957610c196109da565b500490565b634e487b7160e01b600052603260045260246000fd5b6133e080610c436000396000f3fe60806040526004361061028c5760003560e01c806382f2a18a1161015a578063a9059cbb116100c1578063dd62ed3e1161007a578063dd62ed3e14610840578063e2f4560514610860578063ee99205c14610876578063f2fde38b14610896578063fcef8867146108b6578063fe3f52f4146108d657600080fd5b8063a9059cbb14610763578063aec9b6f414610783578063b377f8ae146107a3578063c64a041b146107c3578063cec1460b146107f0578063d4d7b19a1461081057600080fd5b806395d89b411161011357806395d89b41146106945780639dd373b9146106a9578063a046bc78146106c9578063a08dbe7b146106e9578063a153e70814610716578063a457c2d71461074357600080fd5b806382f2a18a146105cd57806388a06f8b146105ed57806388f820201461061a5780638cadf61d1461064a5780638da5cb5b146106605780638fc97b811461067e57600080fd5b806349ae028a116101fe5780636ba5b8b8116101b75780636ba5b8b81461052c57806370a0823114610542578063715018a6146105625780637326afe0146105775780638188f71c1461059757806381905bf8146105ad57600080fd5b806349ae028a1461044f5780634df9cfb31461046f5780634ead1ef61461049c5780634ec27aac146104bc5780635342acb4146104dc57806359d8a4261461050c57600080fd5b8063255fe84711610250578063255fe847146103715780632d838119146103a1578063313ce567146103c1578063371974a3146103dd578063395093511461040d578063425d512a1461042d57600080fd5b8063062287491461029857806306fdde03146102d5578063095ea7b3146102f757806318160ddd1461032757806323b872dd1461035157600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506011546102b8906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102e157600080fd5b506102ea6108f6565b6040516102cc9190612f98565b34801561030357600080fd5b50610317610312366004612ffc565b610988565b60405190151581526020016102cc565b34801561033357600080fd5b506c04350edef012dc1267883400005b6040519081526020016102cc565b34801561035d57600080fd5b5061031761036c366004613028565b6109a2565b34801561037d57600080fd5b5061031761038c366004613069565b600e6020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103436103bc366004613086565b6109c6565b3480156103cd57600080fd5b50604051601281526020016102cc565b3480156103e957600080fd5b506103176103f8366004613069565b600c6020526000908152604090205460ff1681565b34801561041957600080fd5b50610317610428366004612ffc565b610a4f565b34801561043957600080fd5b5061044d610448366004613069565b610a71565b005b34801561045b57600080fd5b5061034361046a366004613086565b610b47565b34801561047b57600080fd5b5061034361048a366004613069565b60096020526000908152604090205481565b3480156104a857600080fd5b506103436104b7366004613086565b610b68565b3480156104c857600080fd5b5061044d6104d73660046130ad565b610b78565b3480156104e857600080fd5b506103176104f7366004613069565b600b6020526000908152604090205460ff1681565b34801561051857600080fd5b5061044d6105273660046130e6565b610c14565b34801561053857600080fd5b5061034360165481565b34801561054e57600080fd5b5061034361055d366004613069565b610cae565b34801561056e57600080fd5b5061044d610d0d565b34801561058357600080fd5b5061044d6105923660046130e6565b610d21565b3480156105a357600080fd5b5061034360185481565b3480156105b957600080fd5b5061044d6105c83660046130ad565b610e1e565b3480156105d957600080fd5b5061044d6105e83660046130e6565b610e64565b3480156105f957600080fd5b50610343610608366004613069565b60066020526000908152604090205481565b34801561062657600080fd5b50610317610635366004613069565b600d6020526000908152604090205460ff1681565b34801561065657600080fd5b5061034360265481565b34801561066c57600080fd5b506000546001600160a01b03166102b8565b34801561068a57600080fd5b5061034360175481565b3480156106a057600080fd5b506102ea610fd7565b3480156106b557600080fd5b5061044d6106c4366004613069565b610fe6565b3480156106d557600080fd5b506103436106e4366004613086565b6110bc565b3480156106f557600080fd5b50610343610704366004613069565b60076020526000908152604090205481565b34801561072257600080fd5b50610343610731366004613069565b600a6020526000908152604090205481565b34801561074f57600080fd5b5061031761075e366004612ffc565b6110cc565b34801561076f57600080fd5b5061031761077e366004612ffc565b611147565b34801561078f57600080fd5b506023546102b8906001600160a01b031681565b3480156107af57600080fd5b506012546102b8906001600160a01b031681565b3480156107cf57600080fd5b506103436107de366004613069565b60086020526000908152604090205481565b3480156107fc57600080fd5b5061044d61080b3660046130e6565b611155565b34801561081c57600080fd5b5061031761082b366004613069565b600f6020526000908152604090205460ff1681565b34801561084c57600080fd5b5061034361085b36600461310b565b611270565b34801561086c57600080fd5b5061034360255481565b34801561088257600080fd5b506013546102b8906001600160a01b031681565b3480156108a257600080fd5b5061044d6108b1366004613069565b61129b565b3480156108c257600080fd5b506103436108d1366004613086565b611314565b3480156108e257600080fd5b506024546102b8906001600160a01b031681565b60606004805461090590613139565b80601f016020809104026020016040519081016040528092919081815260200182805461093190613139565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b600033610996818585611324565b60019150505b92915050565b6000336109b0858285611448565b6109bb8585856114c2565b506001949350505050565b6000601454821115610a325760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b6000610a3c6119d3565b9050610a4883826119f6565b9392505050565b600033610996818585610a628383611270565b610a6c9190613189565b611324565b610a79611a02565b6001600160a01b038116610a9f5760405162461bcd60e51b8152600401610a299061319c565b6012546001600160a01b031615610af85760405162461bcd60e51b815260206004820152601860248201527f44414f20636f6e747261637420616c72656164792073657400000000000000006044820152606401610a29565b601280546001600160a01b0319166001600160a01b038316908117909155610b1f90611a5c565b506012546001600160a01b03166000908152600b60205260409020805460ff19166001179055565b601d8181548110610b5757600080fd5b600091825260209091200154905081565b601c8181548110610b5757600080fd5b610b80611a02565b6001600160a01b038216610ba65760405162461bcd60e51b8152600401610a299061319c565b610bb08282611b1c565b8015610be657610bbf82611a5c565b6001600160a01b0382166000908152600c60205260409020805460ff191660011790555050565b610bef82611bdd565b6001600160a01b0382166000908152600c60205260409020805460ff191690555b5050565b610c1c611a02565b60008211610c3c5760405162461bcd60e51b8152600401610a29906131c2565b81610c5261055d6000546001600160a01b031690565b11610c9f5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a29565b610ca98183611147565b505050565b6001600160a01b0381166000908152600d602052604081205460ff1615610ceb57506001600160a01b031660009081526007602052604090205490565b6001600160a01b03821660009081526006602052604090205461099c906109c6565b610d15611a02565b610d1f6000611cf3565b565b6013546001600160a01b03163314610d4b5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a6020526040902054821115610dab5760405162461bcd60e51b8152602060048201526015602482015274185b5bdd5b9d081a5cc81b9bdd0818dbdc9c9958dd605a1b6044820152606401610a29565b6001600160a01b0381166000908152600a602052604081208054849290610dd3908490613237565b9091555050604080518381526001600160a01b03831660208201527f07f21a7b10dec6539c8130232c54cd2c270dfae3458016c8ddb4d29ac9d0a82b91015b60405180910390a15050565b610e26611a02565b6001600160a01b039091166000908152600c60209081526040808320805494151560ff199586168117909155600b9092529091208054909216179055565b6013546001600160a01b03163314610e8e5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a6020526040902054821115610eee5760405162461bcd60e51b8152602060048201526015602482015274185b5bdd5b9d081a5cc81b9bdd0818dbdc9c9958dd605a1b6044820152606401610a29565b6001600160a01b0381166000908152600a602052604081208054849290610f16908490613237565b90915550506013546040516323b872dd60e01b81526001600160a01b03808416600483015290911660248201526044810183905230906323b872dd906064016020604051808303816000875af1158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f98919061324a565b50604080518381526001600160a01b03831660208201527f07f21a7b10dec6539c8130232c54cd2c270dfae3458016c8ddb4d29ac9d0a82b9101610e12565b60606005805461090590613139565b610fee611a02565b6001600160a01b0381166110145760405162461bcd60e51b8152600401610a299061319c565b6013546001600160a01b03161561106d5760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e6720636f6e747261637420616c726561647920736574000000006044820152606401610a29565b601380546001600160a01b0319166001600160a01b03831690811790915561109490611a5c565b506013546001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60198181548110610b5757600080fd5b600033816110da8286611270565b90508381101561113a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a29565b6109bb8286868403611324565b6000336109968185856114c2565b6013546001600160a01b0316331461117f5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a60205260408120546111a183610cae565b6111ab9190613237565b9050828110156111fd5760405162461bcd60e51b815260206004820152601e60248201527f6c6f636b696e6720616d6f756e7420657863656564732062616c616e636500006044820152606401610a29565b6001600160a01b0382166000908152600a602052604081208054859290611225908490613189565b9091555050604080518481526001600160a01b03841660208201527f73984e8db8b28e5bddacc2944750532e661c7b013e2cb7995f2e27cf54bb24d2910160405180910390a1505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6112a3611a02565b6001600160a01b0381166113085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a29565b61131181611cf3565b50565b601b8181548110610b5757600080fd5b6001600160a01b0383166113865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a29565b6001600160a01b0382166113e75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a29565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006114548484611270565b905060001981146114bc57818110156114af5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a29565b6114bc8484848403611324565b50505050565b6001600160a01b0383166115265760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a29565b6001600160a01b0382166115885760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a29565b600081116115a85760405162461bcd60e51b8152600401610a29906131c2565b6001600160a01b0383166000908152600a602052604090205481906115cc85610cae565b6115d69190613237565b10156116245760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a29565b6001600160a01b0382166000908152600f602052604090205460ff16611683576001600160a01b0382166000908152600f60205260408120805460ff19166001908117909155601880549192909161167d908490613189565b90915550505b8061168d84610cae565b6116979190613237565b6000036116d7576001600160a01b0383166000908152600f60205260408120805460ff1916905560188054600192906116d1908490613237565b90915550505b6001600160a01b0382166000908152600c602052604090205460ff1615801561171857506001600160a01b0383166000908152600e602052604090205460ff165b1561179457600061172883610cae565b6026549091506117388383613189565b11156117925760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d20627579207065722077616c6c6574206c6044820152631a5b5a5d60e21b6064820152608401610a29565b505b600061179f30610cae565b602554909150811080159081906117c05750602454600160a01b900460ff16155b80156117e457506001600160a01b0384166000908152600e602052604090205460ff165b1561185b576016546000906117fa9060026119f6565b90506025548110611859576024805460ff60a01b1916600160a01b17905560255461182490611d43565b47801561184a576025546118388183611ef6565b601654611845908261200b565b601655505b506024805460ff60a01b191690555b505b6001600160a01b0385166000908152600b602052604090205460019060ff168061189d57506001600160a01b0385166000908152600b602052604090205460ff165b156118aa575060006119bd565b306000908152600f602052604090205460ff166118f757306000908152600f60205260408120805460ff1916600190811790915560188054919290916118f1908490613189565b90915550505b6013546001600160a01b03166000908152600f602052604090205460ff1661195a576013546001600160a01b03166000908152600f60205260408120805460ff191660019081179091556018805491929091611954908490613189565b90915550505b6011546001600160a01b03166000908152600f602052604090205460ff166119bd576011546001600160a01b03166000908152600f60205260408120805460ff1916600190811790915560188054919290916119b7908490613189565b90915550505b6119cb868686846000612017565b505050505050565b60008060006119e0612440565b90925090506119ef82826119f6565b9250505090565b6000610a488284613267565b6000546001600160a01b03163314610d1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a29565b6001600160a01b03811660009081526006602052604090205415611ab6576001600160a01b038116600090815260066020526040902054611a9c906109c6565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600d60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b6001600160a01b0382166000908152600e602052604090205481151560ff909116151503611bb25760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610a29565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60005b601054811015610c1057816001600160a01b031660108281548110611c0757611c07613289565b6000918252602090912001546001600160a01b031603611ceb5760108054611c3190600190613237565b81548110611c4157611c41613289565b600091825260209091200154601080546001600160a01b039092169183908110611c6d57611c6d613289565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600d90925220805460ff191690556010805480611cc557611cc561329f565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b600101611be0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d7857611d78613289565b6001600160a01b039283166020918202929092018101919091526023546040805163ef8ef56f60e01b81529051919093169263ef8ef56f9260048083019391928290030181865afa158015611dd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df591906132b5565b81600181518110611e0857611e08613289565b6001600160a01b039283166020918202929092010152602354611e2e9130911684611324565b60235460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e679085906000908690309042906004016132d2565b600060405180830381600087803b158015611e8157600080fd5b505af1925050508015611e92575060015b611ec6576040518281527fbd514d8fa890d9e0dc8ca1d247bdef1c89dc3233f85ba3fae9b924ed3b985b6a90602001610e12565b6040518281527f81288bed0f70689a2a90a5ba0deda5d9e31ed14e087b647d06b8fc9e1a10332990602001610e12565b602354611f0e9030906001600160a01b031684611324565b60235460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af193505050508015611f98575060408051601f3d908101601f19168201909252611f9591810190613345565b60015b611fd25760408051838152602081018390527fe72687bc1e34bd94dd58cc49d86c219950d5bb41c232f5b94ede6ae4bb4c74399101610e12565b505060408051848152602081018490527f38f8a0c92f4c5b0b6877f878cb4c0c8d348a47b76d716c8e78f425043df9515b925001610e12565b6000610a488284613237565b6001600160a01b0385166000908152600860205260408120805485929061203f908490613189565b9091555082905061206d57612068600060208190556021819055601f819055601e819055602255565b612112565b80156120925761206861271060205560006021819055601f819055601e819055602255565b6001600160a01b0385166000908152600e602052604090205460ff161580156120d457506001600160a01b0384166000908152600e602052604090205460ff16155b156120e1576120686125e2565b6001600160a01b0384166000908152600e602052604090205460ff161561210a5761206861269b565b612112612743565b6000602254601e54601f5460215460205461212d9190613189565b6121379190613189565b6121419190613189565b61214b9190613189565b905080156121ab57600061216b61271061216587856127eb565b906119f6565b9050612177858261200b565b6001600160a01b0387166000908152600960205260408120805490919061219f908490613189565b909155506121d9915050565b6001600160a01b038516600090815260096020526040812080548692906121d3908490613189565b90915550505b60006121e4856127f7565b90508015612229576121f581612814565b6011546040518281526001600160a01b039182169189169060008051602061338b8339815191529060200160405180910390a35b6000612234866128d3565b905080156122d857612245816128f0565b6013546040516328f582d360e11b8152600481018390526001600160a01b03909116906351eb05a690602401600060405180830381600087803b15801561228b57600080fd5b505af115801561229f573d6000803e3d6000fd5b50506013546040518481526001600160a01b039182169350908b16915060008051602061338b8339815191529060200160405180910390a35b6001600160a01b0388166000908152600d602052604090205460ff16801561231957506001600160a01b0387166000908152600d602052604090205460ff16155b156123305761232b88888884866129af565b612436565b6001600160a01b0388166000908152600d602052604090205460ff1615801561237157506001600160a01b0387166000908152600d602052604090205460ff165b156123835761232b8888888486612b9c565b6001600160a01b0388166000908152600d602052604090205460ff161580156123c557506001600160a01b0387166000908152600d602052604090205460ff16155b156123d75761232b8888888486612c70565b6001600160a01b0388166000908152600d602052604090205460ff16801561241757506001600160a01b0387166000908152600d602052604090205460ff165b156124295761232b8888888486612cdf565b6124368888888486612c70565b5050505050505050565b60145460009081906c04350edef012dc126788340000825b60105481101561259d5782600660006010848154811061247a5761247a613289565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806124e557508160076000601084815481106124be576124be613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612505575050601454936c04350edef012dc1267883400009350915050565b61254b600660006010848154811061251f5761251f613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061200b565b9250612593600760006010848154811061256757612567613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061200b565b9150600101612458565b506014546125b8906c04350edef012dc1267883400006119f6565b8210156125d9575050601454926c04350edef012dc12678834000092509050565b90939092509050565b601b6002815481106125f6576125f6613289565b9060005260206000200154602081905550601c60028154811061261b5761261b613289565b9060005260206000200154602181905550601a60028154811061264057612640613289565b9060005260206000200154601f81905550601960028154811061266557612665613289565b9060005260206000200154601e81905550601d60028154811061268a5761268a613289565b600091825260209091200154602255565b601b6001815481106126af576126af613289565b9060005260206000200154602081905550601c6001815481106126d4576126d4613289565b9060005260206000200154602181905550601a6001815481106126f9576126f9613289565b9060005260206000200154601f81905550601960018154811061271e5761271e613289565b9060005260206000200154601e81905550601d60018154811061268a5761268a613289565b601b60008154811061275757612757613289565b9060005260206000200154602081905550601c60008154811061277c5761277c613289565b9060005260206000200154602181905550601a6000815481106127a1576127a1613289565b9060005260206000200154601f8190555060196000815481106127c6576127c6613289565b9060005260206000200154601e81905550601d60008154811061268a5761268a613289565b6000610a488284613373565b600061099c612710612165602254856127eb90919063ffffffff16565b600061281e6119d3565b9050600061282c83836127eb565b6011546001600160a01b03166000908152600660205260409020549091506128549082612d7d565b601180546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600d909152205460ff1615610ca9576011546001600160a01b03166000908152600760205260409020546128b39084612d7d565b6011546001600160a01b0316600090815260076020526040902055505050565b600061099c612710612165602154856127eb90919063ffffffff16565b60006128fa6119d3565b9050600061290883836127eb565b6013546001600160a01b03166000908152600660205260409020549091506129309082612d7d565b601380546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600d909152205460ff1615610ca9576013546001600160a01b031660009081526007602052604090205461298f9084612d7d565b6013546001600160a01b0316600090815260076020526040902055505050565b60008060008060008060006129c38a612d89565b96509650965096509650965096506129ee886129e88b8761200b90919063ffffffff16565b9061200b565b9350612a21612a056129fe6119d3565b8a906127eb565b6129e8612a1a612a136119d3565b8d906127eb565b899061200b565b6001600160a01b038d16600090815260076020526040902054909650612a47908b61200b565b6001600160a01b038d16600090815260076020908152604080832093909355600690522054612a76908861200b565b6001600160a01b03808e1660009081526006602052604080822093909355908d1681522054612aa59087612d7d565b6001600160a01b038c16600090815260066020526040902055612ac782612de4565b612ad081612de4565b612ada8584612e6c565b8160166000828254612aec9190613189565b925050819055508060176000828254612b059190613189565b9091555060009050612b178284612d7d565b1115612b5357306001600160a01b038d1660008051602061338b833981519152612b418486612d7d565b60405190815260200160405180910390a35b8a6001600160a01b03168c6001600160a01b031660008051602061338b83398151915286604051612b8691815260200190565b60405180910390a3505050505050505050505050565b6000806000806000806000612bb08a612d89565b9650965096509650965096509650612bd5886129e88b8761200b90919063ffffffff16565b9350612be5612a056129fe6119d3565b6001600160a01b038d16600090815260066020526040902054909650612c0b908861200b565b6001600160a01b03808e16600090815260066020908152604080832094909455918e16815260079091522054612c419085612d7d565b6001600160a01b038c16600090815260076020908152604080832093909355600690522054612aa59087612d7d565b6000806000806000806000612c848a612d89565b9650965096509650965096509650612ca9886129e88b8761200b90919063ffffffff16565b9350612cb9612a056129fe6119d3565b6001600160a01b038d16600090815260066020526040902054909650612a76908861200b565b6000806000806000806000612cf38a612d89565b9650965096509650965096509650612d18886129e88b8761200b90919063ffffffff16565b9350612d28612a056129fe6119d3565b6001600160a01b038d16600090815260076020526040902054909650612d4e908b61200b565b6001600160a01b038d16600090815260076020908152604080832093909355600690522054612c0b908861200b565b6000610a488284613189565b6000806000806000806000806000806000612da38c612e90565b93509350935093506000806000612dc48f878787612dbf6119d3565b612edf565b919f509d509b509599509397509195509350505050919395979092949650565b6000612dee6119d3565b90506000612dfc83836127eb565b30600090815260066020526040902054909150612e199082612d7d565b30600090815260066020908152604080832093909355600d9052205460ff1615610ca95730600090815260076020526040902054612e579084612d7d565b30600090815260076020526040902055505050565b601454612e79908361200b565b601455601554612e899082612d7d565b6015555050565b6000806000806000612ea186612f41565b90506000612eae87612f5e565b90506000612ebb88612f7b565b90506000612ecf826129e885818d8961200b565b9993985091965094509092505050565b6000808080612eee89866127eb565b90506000612efc89876127eb565b90506000612f0a89886127eb565b90506000612f1889896127eb565b90506000612f2c826129e88581898961200b565b949d949c50929a509298505050505050505050565b600061099c612710612165602054856127eb90919063ffffffff16565b600061099c612710612165601e54856127eb90919063ffffffff16565b600061099c612710612165601f54856127eb90919063ffffffff16565b60006020808352835180602085015260005b81811015612fc657858101830151858201604001528201612faa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461131157600080fd5b6000806040838503121561300f57600080fd5b823561301a81612fe7565b946020939093013593505050565b60008060006060848603121561303d57600080fd5b833561304881612fe7565b9250602084013561305881612fe7565b929592945050506040919091013590565b60006020828403121561307b57600080fd5b8135610a4881612fe7565b60006020828403121561309857600080fd5b5035919050565b801515811461131157600080fd5b600080604083850312156130c057600080fd5b82356130cb81612fe7565b915060208301356130db8161309f565b809150509250929050565b600080604083850312156130f957600080fd5b8235915060208301356130db81612fe7565b6000806040838503121561311e57600080fd5b823561312981612fe7565b915060208301356130db81612fe7565b600181811c9082168061314d57607f821691505b60208210810361316d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561099c5761099c613173565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526029908201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206040820152687468616e207a65726f60b81b606082015260800190565b6020808252601290820152711cd95b99195c881b9bdd08185b1b1bddd95960721b604082015260600190565b8181038181111561099c5761099c613173565b60006020828403121561325c57600080fd5b8151610a488161309f565b60008261328457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000602082840312156132c757600080fd5b8151610a4881612fe7565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156133245784516001600160a01b0316835293830193918301916001016132ff565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561335a57600080fd5b8351925060208401519150604084015190509250925092565b808202811582820484141761099c5761099c61317356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122090b16858e1d07e2cb67d82c3cac4948bef9a510b32be2eeb98cd525d69a403b164736f6c634300081900330000000000000000000000001e45f5efe51f8c02fa5061a815c54cd975058f3a00000000000000000000000098bf93ebf5c380c0e6ae8e192a7e2ae08edacc02
Deployed ByteCode
0x60806040526004361061028c5760003560e01c806382f2a18a1161015a578063a9059cbb116100c1578063dd62ed3e1161007a578063dd62ed3e14610840578063e2f4560514610860578063ee99205c14610876578063f2fde38b14610896578063fcef8867146108b6578063fe3f52f4146108d657600080fd5b8063a9059cbb14610763578063aec9b6f414610783578063b377f8ae146107a3578063c64a041b146107c3578063cec1460b146107f0578063d4d7b19a1461081057600080fd5b806395d89b411161011357806395d89b41146106945780639dd373b9146106a9578063a046bc78146106c9578063a08dbe7b146106e9578063a153e70814610716578063a457c2d71461074357600080fd5b806382f2a18a146105cd57806388a06f8b146105ed57806388f820201461061a5780638cadf61d1461064a5780638da5cb5b146106605780638fc97b811461067e57600080fd5b806349ae028a116101fe5780636ba5b8b8116101b75780636ba5b8b81461052c57806370a0823114610542578063715018a6146105625780637326afe0146105775780638188f71c1461059757806381905bf8146105ad57600080fd5b806349ae028a1461044f5780634df9cfb31461046f5780634ead1ef61461049c5780634ec27aac146104bc5780635342acb4146104dc57806359d8a4261461050c57600080fd5b8063255fe84711610250578063255fe847146103715780632d838119146103a1578063313ce567146103c1578063371974a3146103dd578063395093511461040d578063425d512a1461042d57600080fd5b8063062287491461029857806306fdde03146102d5578063095ea7b3146102f757806318160ddd1461032757806323b872dd1461035157600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506011546102b8906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102e157600080fd5b506102ea6108f6565b6040516102cc9190612f98565b34801561030357600080fd5b50610317610312366004612ffc565b610988565b60405190151581526020016102cc565b34801561033357600080fd5b506c04350edef012dc1267883400005b6040519081526020016102cc565b34801561035d57600080fd5b5061031761036c366004613028565b6109a2565b34801561037d57600080fd5b5061031761038c366004613069565b600e6020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103436103bc366004613086565b6109c6565b3480156103cd57600080fd5b50604051601281526020016102cc565b3480156103e957600080fd5b506103176103f8366004613069565b600c6020526000908152604090205460ff1681565b34801561041957600080fd5b50610317610428366004612ffc565b610a4f565b34801561043957600080fd5b5061044d610448366004613069565b610a71565b005b34801561045b57600080fd5b5061034361046a366004613086565b610b47565b34801561047b57600080fd5b5061034361048a366004613069565b60096020526000908152604090205481565b3480156104a857600080fd5b506103436104b7366004613086565b610b68565b3480156104c857600080fd5b5061044d6104d73660046130ad565b610b78565b3480156104e857600080fd5b506103176104f7366004613069565b600b6020526000908152604090205460ff1681565b34801561051857600080fd5b5061044d6105273660046130e6565b610c14565b34801561053857600080fd5b5061034360165481565b34801561054e57600080fd5b5061034361055d366004613069565b610cae565b34801561056e57600080fd5b5061044d610d0d565b34801561058357600080fd5b5061044d6105923660046130e6565b610d21565b3480156105a357600080fd5b5061034360185481565b3480156105b957600080fd5b5061044d6105c83660046130ad565b610e1e565b3480156105d957600080fd5b5061044d6105e83660046130e6565b610e64565b3480156105f957600080fd5b50610343610608366004613069565b60066020526000908152604090205481565b34801561062657600080fd5b50610317610635366004613069565b600d6020526000908152604090205460ff1681565b34801561065657600080fd5b5061034360265481565b34801561066c57600080fd5b506000546001600160a01b03166102b8565b34801561068a57600080fd5b5061034360175481565b3480156106a057600080fd5b506102ea610fd7565b3480156106b557600080fd5b5061044d6106c4366004613069565b610fe6565b3480156106d557600080fd5b506103436106e4366004613086565b6110bc565b3480156106f557600080fd5b50610343610704366004613069565b60076020526000908152604090205481565b34801561072257600080fd5b50610343610731366004613069565b600a6020526000908152604090205481565b34801561074f57600080fd5b5061031761075e366004612ffc565b6110cc565b34801561076f57600080fd5b5061031761077e366004612ffc565b611147565b34801561078f57600080fd5b506023546102b8906001600160a01b031681565b3480156107af57600080fd5b506012546102b8906001600160a01b031681565b3480156107cf57600080fd5b506103436107de366004613069565b60086020526000908152604090205481565b3480156107fc57600080fd5b5061044d61080b3660046130e6565b611155565b34801561081c57600080fd5b5061031761082b366004613069565b600f6020526000908152604090205460ff1681565b34801561084c57600080fd5b5061034361085b36600461310b565b611270565b34801561086c57600080fd5b5061034360255481565b34801561088257600080fd5b506013546102b8906001600160a01b031681565b3480156108a257600080fd5b5061044d6108b1366004613069565b61129b565b3480156108c257600080fd5b506103436108d1366004613086565b611314565b3480156108e257600080fd5b506024546102b8906001600160a01b031681565b60606004805461090590613139565b80601f016020809104026020016040519081016040528092919081815260200182805461093190613139565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b600033610996818585611324565b60019150505b92915050565b6000336109b0858285611448565b6109bb8585856114c2565b506001949350505050565b6000601454821115610a325760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b6000610a3c6119d3565b9050610a4883826119f6565b9392505050565b600033610996818585610a628383611270565b610a6c9190613189565b611324565b610a79611a02565b6001600160a01b038116610a9f5760405162461bcd60e51b8152600401610a299061319c565b6012546001600160a01b031615610af85760405162461bcd60e51b815260206004820152601860248201527f44414f20636f6e747261637420616c72656164792073657400000000000000006044820152606401610a29565b601280546001600160a01b0319166001600160a01b038316908117909155610b1f90611a5c565b506012546001600160a01b03166000908152600b60205260409020805460ff19166001179055565b601d8181548110610b5757600080fd5b600091825260209091200154905081565b601c8181548110610b5757600080fd5b610b80611a02565b6001600160a01b038216610ba65760405162461bcd60e51b8152600401610a299061319c565b610bb08282611b1c565b8015610be657610bbf82611a5c565b6001600160a01b0382166000908152600c60205260409020805460ff191660011790555050565b610bef82611bdd565b6001600160a01b0382166000908152600c60205260409020805460ff191690555b5050565b610c1c611a02565b60008211610c3c5760405162461bcd60e51b8152600401610a29906131c2565b81610c5261055d6000546001600160a01b031690565b11610c9f5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a29565b610ca98183611147565b505050565b6001600160a01b0381166000908152600d602052604081205460ff1615610ceb57506001600160a01b031660009081526007602052604090205490565b6001600160a01b03821660009081526006602052604090205461099c906109c6565b610d15611a02565b610d1f6000611cf3565b565b6013546001600160a01b03163314610d4b5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a6020526040902054821115610dab5760405162461bcd60e51b8152602060048201526015602482015274185b5bdd5b9d081a5cc81b9bdd0818dbdc9c9958dd605a1b6044820152606401610a29565b6001600160a01b0381166000908152600a602052604081208054849290610dd3908490613237565b9091555050604080518381526001600160a01b03831660208201527f07f21a7b10dec6539c8130232c54cd2c270dfae3458016c8ddb4d29ac9d0a82b91015b60405180910390a15050565b610e26611a02565b6001600160a01b039091166000908152600c60209081526040808320805494151560ff199586168117909155600b9092529091208054909216179055565b6013546001600160a01b03163314610e8e5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a6020526040902054821115610eee5760405162461bcd60e51b8152602060048201526015602482015274185b5bdd5b9d081a5cc81b9bdd0818dbdc9c9958dd605a1b6044820152606401610a29565b6001600160a01b0381166000908152600a602052604081208054849290610f16908490613237565b90915550506013546040516323b872dd60e01b81526001600160a01b03808416600483015290911660248201526044810183905230906323b872dd906064016020604051808303816000875af1158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f98919061324a565b50604080518381526001600160a01b03831660208201527f07f21a7b10dec6539c8130232c54cd2c270dfae3458016c8ddb4d29ac9d0a82b9101610e12565b60606005805461090590613139565b610fee611a02565b6001600160a01b0381166110145760405162461bcd60e51b8152600401610a299061319c565b6013546001600160a01b03161561106d5760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e6720636f6e747261637420616c726561647920736574000000006044820152606401610a29565b601380546001600160a01b0319166001600160a01b03831690811790915561109490611a5c565b506013546001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60198181548110610b5757600080fd5b600033816110da8286611270565b90508381101561113a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a29565b6109bb8286868403611324565b6000336109968185856114c2565b6013546001600160a01b0316331461117f5760405162461bcd60e51b8152600401610a299061320b565b6001600160a01b0381166000908152600a60205260408120546111a183610cae565b6111ab9190613237565b9050828110156111fd5760405162461bcd60e51b815260206004820152601e60248201527f6c6f636b696e6720616d6f756e7420657863656564732062616c616e636500006044820152606401610a29565b6001600160a01b0382166000908152600a602052604081208054859290611225908490613189565b9091555050604080518481526001600160a01b03841660208201527f73984e8db8b28e5bddacc2944750532e661c7b013e2cb7995f2e27cf54bb24d2910160405180910390a1505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6112a3611a02565b6001600160a01b0381166113085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a29565b61131181611cf3565b50565b601b8181548110610b5757600080fd5b6001600160a01b0383166113865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a29565b6001600160a01b0382166113e75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a29565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006114548484611270565b905060001981146114bc57818110156114af5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a29565b6114bc8484848403611324565b50505050565b6001600160a01b0383166115265760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a29565b6001600160a01b0382166115885760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a29565b600081116115a85760405162461bcd60e51b8152600401610a29906131c2565b6001600160a01b0383166000908152600a602052604090205481906115cc85610cae565b6115d69190613237565b10156116245760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a29565b6001600160a01b0382166000908152600f602052604090205460ff16611683576001600160a01b0382166000908152600f60205260408120805460ff19166001908117909155601880549192909161167d908490613189565b90915550505b8061168d84610cae565b6116979190613237565b6000036116d7576001600160a01b0383166000908152600f60205260408120805460ff1916905560188054600192906116d1908490613237565b90915550505b6001600160a01b0382166000908152600c602052604090205460ff1615801561171857506001600160a01b0383166000908152600e602052604090205460ff165b1561179457600061172883610cae565b6026549091506117388383613189565b11156117925760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d20627579207065722077616c6c6574206c6044820152631a5b5a5d60e21b6064820152608401610a29565b505b600061179f30610cae565b602554909150811080159081906117c05750602454600160a01b900460ff16155b80156117e457506001600160a01b0384166000908152600e602052604090205460ff165b1561185b576016546000906117fa9060026119f6565b90506025548110611859576024805460ff60a01b1916600160a01b17905560255461182490611d43565b47801561184a576025546118388183611ef6565b601654611845908261200b565b601655505b506024805460ff60a01b191690555b505b6001600160a01b0385166000908152600b602052604090205460019060ff168061189d57506001600160a01b0385166000908152600b602052604090205460ff165b156118aa575060006119bd565b306000908152600f602052604090205460ff166118f757306000908152600f60205260408120805460ff1916600190811790915560188054919290916118f1908490613189565b90915550505b6013546001600160a01b03166000908152600f602052604090205460ff1661195a576013546001600160a01b03166000908152600f60205260408120805460ff191660019081179091556018805491929091611954908490613189565b90915550505b6011546001600160a01b03166000908152600f602052604090205460ff166119bd576011546001600160a01b03166000908152600f60205260408120805460ff1916600190811790915560188054919290916119b7908490613189565b90915550505b6119cb868686846000612017565b505050505050565b60008060006119e0612440565b90925090506119ef82826119f6565b9250505090565b6000610a488284613267565b6000546001600160a01b03163314610d1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a29565b6001600160a01b03811660009081526006602052604090205415611ab6576001600160a01b038116600090815260066020526040902054611a9c906109c6565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600d60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b6001600160a01b0382166000908152600e602052604090205481151560ff909116151503611bb25760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610a29565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60005b601054811015610c1057816001600160a01b031660108281548110611c0757611c07613289565b6000918252602090912001546001600160a01b031603611ceb5760108054611c3190600190613237565b81548110611c4157611c41613289565b600091825260209091200154601080546001600160a01b039092169183908110611c6d57611c6d613289565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600d90925220805460ff191690556010805480611cc557611cc561329f565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b600101611be0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d7857611d78613289565b6001600160a01b039283166020918202929092018101919091526023546040805163ef8ef56f60e01b81529051919093169263ef8ef56f9260048083019391928290030181865afa158015611dd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df591906132b5565b81600181518110611e0857611e08613289565b6001600160a01b039283166020918202929092010152602354611e2e9130911684611324565b60235460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e679085906000908690309042906004016132d2565b600060405180830381600087803b158015611e8157600080fd5b505af1925050508015611e92575060015b611ec6576040518281527fbd514d8fa890d9e0dc8ca1d247bdef1c89dc3233f85ba3fae9b924ed3b985b6a90602001610e12565b6040518281527f81288bed0f70689a2a90a5ba0deda5d9e31ed14e087b647d06b8fc9e1a10332990602001610e12565b602354611f0e9030906001600160a01b031684611324565b60235460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af193505050508015611f98575060408051601f3d908101601f19168201909252611f9591810190613345565b60015b611fd25760408051838152602081018390527fe72687bc1e34bd94dd58cc49d86c219950d5bb41c232f5b94ede6ae4bb4c74399101610e12565b505060408051848152602081018490527f38f8a0c92f4c5b0b6877f878cb4c0c8d348a47b76d716c8e78f425043df9515b925001610e12565b6000610a488284613237565b6001600160a01b0385166000908152600860205260408120805485929061203f908490613189565b9091555082905061206d57612068600060208190556021819055601f819055601e819055602255565b612112565b80156120925761206861271060205560006021819055601f819055601e819055602255565b6001600160a01b0385166000908152600e602052604090205460ff161580156120d457506001600160a01b0384166000908152600e602052604090205460ff16155b156120e1576120686125e2565b6001600160a01b0384166000908152600e602052604090205460ff161561210a5761206861269b565b612112612743565b6000602254601e54601f5460215460205461212d9190613189565b6121379190613189565b6121419190613189565b61214b9190613189565b905080156121ab57600061216b61271061216587856127eb565b906119f6565b9050612177858261200b565b6001600160a01b0387166000908152600960205260408120805490919061219f908490613189565b909155506121d9915050565b6001600160a01b038516600090815260096020526040812080548692906121d3908490613189565b90915550505b60006121e4856127f7565b90508015612229576121f581612814565b6011546040518281526001600160a01b039182169189169060008051602061338b8339815191529060200160405180910390a35b6000612234866128d3565b905080156122d857612245816128f0565b6013546040516328f582d360e11b8152600481018390526001600160a01b03909116906351eb05a690602401600060405180830381600087803b15801561228b57600080fd5b505af115801561229f573d6000803e3d6000fd5b50506013546040518481526001600160a01b039182169350908b16915060008051602061338b8339815191529060200160405180910390a35b6001600160a01b0388166000908152600d602052604090205460ff16801561231957506001600160a01b0387166000908152600d602052604090205460ff16155b156123305761232b88888884866129af565b612436565b6001600160a01b0388166000908152600d602052604090205460ff1615801561237157506001600160a01b0387166000908152600d602052604090205460ff165b156123835761232b8888888486612b9c565b6001600160a01b0388166000908152600d602052604090205460ff161580156123c557506001600160a01b0387166000908152600d602052604090205460ff16155b156123d75761232b8888888486612c70565b6001600160a01b0388166000908152600d602052604090205460ff16801561241757506001600160a01b0387166000908152600d602052604090205460ff165b156124295761232b8888888486612cdf565b6124368888888486612c70565b5050505050505050565b60145460009081906c04350edef012dc126788340000825b60105481101561259d5782600660006010848154811061247a5761247a613289565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806124e557508160076000601084815481106124be576124be613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612505575050601454936c04350edef012dc1267883400009350915050565b61254b600660006010848154811061251f5761251f613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061200b565b9250612593600760006010848154811061256757612567613289565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061200b565b9150600101612458565b506014546125b8906c04350edef012dc1267883400006119f6565b8210156125d9575050601454926c04350edef012dc12678834000092509050565b90939092509050565b601b6002815481106125f6576125f6613289565b9060005260206000200154602081905550601c60028154811061261b5761261b613289565b9060005260206000200154602181905550601a60028154811061264057612640613289565b9060005260206000200154601f81905550601960028154811061266557612665613289565b9060005260206000200154601e81905550601d60028154811061268a5761268a613289565b600091825260209091200154602255565b601b6001815481106126af576126af613289565b9060005260206000200154602081905550601c6001815481106126d4576126d4613289565b9060005260206000200154602181905550601a6001815481106126f9576126f9613289565b9060005260206000200154601f81905550601960018154811061271e5761271e613289565b9060005260206000200154601e81905550601d60018154811061268a5761268a613289565b601b60008154811061275757612757613289565b9060005260206000200154602081905550601c60008154811061277c5761277c613289565b9060005260206000200154602181905550601a6000815481106127a1576127a1613289565b9060005260206000200154601f8190555060196000815481106127c6576127c6613289565b9060005260206000200154601e81905550601d60008154811061268a5761268a613289565b6000610a488284613373565b600061099c612710612165602254856127eb90919063ffffffff16565b600061281e6119d3565b9050600061282c83836127eb565b6011546001600160a01b03166000908152600660205260409020549091506128549082612d7d565b601180546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600d909152205460ff1615610ca9576011546001600160a01b03166000908152600760205260409020546128b39084612d7d565b6011546001600160a01b0316600090815260076020526040902055505050565b600061099c612710612165602154856127eb90919063ffffffff16565b60006128fa6119d3565b9050600061290883836127eb565b6013546001600160a01b03166000908152600660205260409020549091506129309082612d7d565b601380546001600160a01b0390811660009081526006602090815260408083209590955592549091168152600d909152205460ff1615610ca9576013546001600160a01b031660009081526007602052604090205461298f9084612d7d565b6013546001600160a01b0316600090815260076020526040902055505050565b60008060008060008060006129c38a612d89565b96509650965096509650965096506129ee886129e88b8761200b90919063ffffffff16565b9061200b565b9350612a21612a056129fe6119d3565b8a906127eb565b6129e8612a1a612a136119d3565b8d906127eb565b899061200b565b6001600160a01b038d16600090815260076020526040902054909650612a47908b61200b565b6001600160a01b038d16600090815260076020908152604080832093909355600690522054612a76908861200b565b6001600160a01b03808e1660009081526006602052604080822093909355908d1681522054612aa59087612d7d565b6001600160a01b038c16600090815260066020526040902055612ac782612de4565b612ad081612de4565b612ada8584612e6c565b8160166000828254612aec9190613189565b925050819055508060176000828254612b059190613189565b9091555060009050612b178284612d7d565b1115612b5357306001600160a01b038d1660008051602061338b833981519152612b418486612d7d565b60405190815260200160405180910390a35b8a6001600160a01b03168c6001600160a01b031660008051602061338b83398151915286604051612b8691815260200190565b60405180910390a3505050505050505050505050565b6000806000806000806000612bb08a612d89565b9650965096509650965096509650612bd5886129e88b8761200b90919063ffffffff16565b9350612be5612a056129fe6119d3565b6001600160a01b038d16600090815260066020526040902054909650612c0b908861200b565b6001600160a01b03808e16600090815260066020908152604080832094909455918e16815260079091522054612c419085612d7d565b6001600160a01b038c16600090815260076020908152604080832093909355600690522054612aa59087612d7d565b6000806000806000806000612c848a612d89565b9650965096509650965096509650612ca9886129e88b8761200b90919063ffffffff16565b9350612cb9612a056129fe6119d3565b6001600160a01b038d16600090815260066020526040902054909650612a76908861200b565b6000806000806000806000612cf38a612d89565b9650965096509650965096509650612d18886129e88b8761200b90919063ffffffff16565b9350612d28612a056129fe6119d3565b6001600160a01b038d16600090815260076020526040902054909650612d4e908b61200b565b6001600160a01b038d16600090815260076020908152604080832093909355600690522054612c0b908861200b565b6000610a488284613189565b6000806000806000806000806000806000612da38c612e90565b93509350935093506000806000612dc48f878787612dbf6119d3565b612edf565b919f509d509b509599509397509195509350505050919395979092949650565b6000612dee6119d3565b90506000612dfc83836127eb565b30600090815260066020526040902054909150612e199082612d7d565b30600090815260066020908152604080832093909355600d9052205460ff1615610ca95730600090815260076020526040902054612e579084612d7d565b30600090815260076020526040902055505050565b601454612e79908361200b565b601455601554612e899082612d7d565b6015555050565b6000806000806000612ea186612f41565b90506000612eae87612f5e565b90506000612ebb88612f7b565b90506000612ecf826129e885818d8961200b565b9993985091965094509092505050565b6000808080612eee89866127eb565b90506000612efc89876127eb565b90506000612f0a89886127eb565b90506000612f1889896127eb565b90506000612f2c826129e88581898961200b565b949d949c50929a509298505050505050505050565b600061099c612710612165602054856127eb90919063ffffffff16565b600061099c612710612165601e54856127eb90919063ffffffff16565b600061099c612710612165601f54856127eb90919063ffffffff16565b60006020808352835180602085015260005b81811015612fc657858101830151858201604001528201612faa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461131157600080fd5b6000806040838503121561300f57600080fd5b823561301a81612fe7565b946020939093013593505050565b60008060006060848603121561303d57600080fd5b833561304881612fe7565b9250602084013561305881612fe7565b929592945050506040919091013590565b60006020828403121561307b57600080fd5b8135610a4881612fe7565b60006020828403121561309857600080fd5b5035919050565b801515811461131157600080fd5b600080604083850312156130c057600080fd5b82356130cb81612fe7565b915060208301356130db8161309f565b809150509250929050565b600080604083850312156130f957600080fd5b8235915060208301356130db81612fe7565b6000806040838503121561311e57600080fd5b823561312981612fe7565b915060208301356130db81612fe7565b600181811c9082168061314d57607f821691505b60208210810361316d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561099c5761099c613173565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526029908201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206040820152687468616e207a65726f60b81b606082015260800190565b6020808252601290820152711cd95b99195c881b9bdd08185b1b1bddd95960721b604082015260600190565b8181038181111561099c5761099c613173565b60006020828403121561325c57600080fd5b8151610a488161309f565b60008261328457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000602082840312156132c757600080fd5b8151610a4881612fe7565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156133245784516001600160a01b0316835293830193918301916001016132ff565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561335a57600080fd5b8351925060208401519150604084015190509250925092565b808202811582820484141761099c5761099c61317356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122090b16858e1d07e2cb67d82c3cac4948bef9a510b32be2eeb98cd525d69a403b164736f6c63430008190033