Token Ratify

Overview ERC20

Price
$0.00 @ 0.000000 AVAX
Fully Diluted Market Cap
Total Supply:
1,000,000,000 RTFY

Holders:
902 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Ratify strives to provide a safer cryptocurrency ecosystem through Pythia, a proprietary Machine Learning-based Risk Assessment Tool. By performing analysis for up to 7 different blockchain's contracts in real time, Ratify outputs useful insights as well as offering Security Audits in an instant.


Update? Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RAT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Ratify.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./RatifyDividendToken.sol";
import 'hardhat/console.sol';
import '@traderjoe-xyz/core/contracts/traderjoe/interfaces/IJoeRouter02.sol';
import '@traderjoe-xyz/core/contracts/traderjoe/interfaces/IJoePair.sol';
import '@traderjoe-xyz/core/contracts/traderjoe/interfaces/IJoeFactory.sol';

contract RAT is ERC20, Ownable {
	using SafeMath for uint256;
	uint256 internal constant magnitude = 2**128;
    IERC20 USDC;

	IJoeRouter02 public joeRouter;
    IJoePair public joePair;

	bool private removeFee;
	bool private tradingEnabled;

	RatifyDividendToken public dividendTracker;
	address private airDropper = 0x632e1207a652D73C3149fF2229518878AE5e461A;
	uint256 public rewardFee = 6;
	uint256 public developmentFee = 6;
	uint256 public totalFee = 12;

	uint256 public discountedFee = 10; // discounted when bought through this contract

	// exlcude from fees and max transaction amount
	mapping(address => bool) private _isExcludedFromFees;

	// store addresses that a automatic market maker pairs. Any transfer *to* these addresses
	// could be subject to a maximum transfer amount
	mapping(address => bool) public automatedMarketMakerPairs;

	event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);
	event UpdateJoeRouter(address indexed newAddress, address indexed oldAddress);
	event ExcludeFromFees(address indexed account, bool isExcluded);
	event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
	event SendDividends(uint256 amount);

	constructor(address usdc) ERC20("Ratify", "RTFY") {
		USDC = IERC20(usdc);
		_mint(owner(), 1_000_000_000 * (10**18));
	}

	receive() external payable {}

	function deployTracker() external onlyOwner {
		IJoeRouter02 _joeRouter = IJoeRouter02(0x60aE616a2155Ee3d9A68541Ba4544862310933d4);
		address _joePair = IJoeFactory(_joeRouter.factory()).createPair(address(this), address(USDC));

		joeRouter = _joeRouter;
		joePair = IJoePair(_joePair);

		_setAutomatedMarketMakerPair(_joePair, true);

		require(address(dividendTracker) == address(0), "Already deployed");
		dividendTracker = new RatifyDividendToken("Ratify Dividend", "dRTFY", address(this), address(USDC));
		dividendTracker.excludeFromDividends(address(dividendTracker));
		dividendTracker.excludeFromDividends(address(this));
		dividendTracker.excludeFromDividends(owner());
		dividendTracker.excludeFromDividends(address(joeRouter));
		dividendTracker.excludeFromDividends(address(joePair));
		dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD);
		dividendTracker.transferOwnership(msg.sender);

		// exclude from paying fees or having max transaction amount
		excludeFromFees(address(this), true);
		excludeFromFees(owner(), true);
		excludeFromFees(address(dividendTracker), true);
		excludeFromFees(airDropper, true);
	}

	function setDevelopmentFee(uint256 _developmentFee) external onlyOwner {
		developmentFee = _developmentFee;
		setTotalFee();
	}

	function setRewardFee(uint256 _rewardFee) external onlyOwner {
		rewardFee = _rewardFee;
		setTotalFee();
	}

	function setTotalFee() internal {
		totalFee = rewardFee + developmentFee;
	}

	function enableTrading() external onlyOwner {
		tradingEnabled = true;
	}

	function updateDividendTracker(address newAddress) public onlyOwner {
		require(newAddress != address(dividendTracker), "RTFY: The dividend tracker already has that address");

		RatifyDividendToken newDividendTracker = RatifyDividendToken(payable(newAddress));
		emit UpdateDividendTracker(newAddress, address(newDividendTracker));
		dividendTracker = newDividendTracker;
	}

	function updateJoeRouter(address newAddress) public onlyOwner {
		require(newAddress != address(joeRouter), "RTFY: The router already has that address");
		emit UpdateJoeRouter(newAddress, address(joeRouter));
		joeRouter = IJoeRouter02(newAddress);
	}

	function excludeFromFees(address account, bool excluded) public onlyOwner {
		require(_isExcludedFromFees[account] != excluded, "RTFY: Account is already the value of 'excluded'");
		_isExcludedFromFees[account] = excluded;

		emit ExcludeFromFees(account, excluded);
	}

	function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
		require(pair != address(joePair), "RTFY: The Joe pair cannot be removed from automatedMarketMakerPairs");

		_setAutomatedMarketMakerPair(pair, value);
	}

	function _setAutomatedMarketMakerPair(address pair, bool value) private {
		require(automatedMarketMakerPairs[pair] != value, "RTFY: Automated market maker pair is already set to that value");
		automatedMarketMakerPairs[pair] = value;
		emit SetAutomatedMarketMakerPair(pair, value);
	}

	function isExcludedFromFees(address account) public view returns (bool) {
		return _isExcludedFromFees[account];
	}

	function reinvestDividends(address account, uint256 usdAmount, uint256 minTokens) external {
		require(msg.sender == address(dividendTracker), "RTFY: Only callable by dividend tracker");
		USDC.transferFrom(address(dividendTracker), address(this), usdAmount);
		removeFee = true;
		_swapUSDCforTokens(usdAmount, minTokens, account);
		removeFee = false;
	}

	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");
		if (!tradingEnabled) {
			require(from == owner() || from == airDropper, "RTFY: Cannot transfer before trading enabled");
		}

		if (amount == 0) {
			super._transfer(from, to, 0);
			return;
		}

		if (!removeFee && from != airDropper) {allocateDividends(from, to, amount);}
		if (from == airDropper) {allocateAirdropDividends(to, amount);}

		bool isExcluded = _isExcludedFromFees[from] || _isExcludedFromFees[to];
		if (!isExcluded) {		
			if (!removeFee && automatedMarketMakerPairs[to]) {
				removeFee = true;
				swapAndDistribute();
				removeFee = false;
			}
			if (!removeFee) {
				uint256 fees = amount.mul(totalFee).div(100);
				amount = amount.sub(fees);
				super._transfer(from, address(this), fees);
			}
		}
		super._transfer(from, to, amount);
	}

	function allocateDividends(address from, address to, uint256 amount) internal {
		if (to != address(dividendTracker) && from != address(dividendTracker)) {
			// Allow dividend tracker contract to update balances for staking
			
			if (automatedMarketMakerPairs[from]) {
				// mint dividends on a buy
				(uint256 reserve0, uint256 reserve1,) = joePair.getReserves();
				(uint256 rtfyBalance, uint256 usdcBalance) = address(this) < address(USDC) ? (reserve0, reserve1) : (reserve1, reserve0);

				uint256 amountIn = joeRouter.getAmountIn(amount, usdcBalance, rtfyBalance);
				try dividendTracker.setBalance(payable(to), dividendTracker.balanceOf(to).add(amountIn)) {} catch {}
			} else {
				// subtract dividends relative to the amount transferred
				uint256 combinedBalance = balanceOf(from).add(dividendTracker.stakeOf(from));
				uint256 perc = amount.mul(magnitude).div(combinedBalance);
				uint256 sub = dividendTracker.balanceOf(from).mul(perc).div(magnitude);
				try dividendTracker.setBalance(payable(from), dividendTracker.balanceOf(from).sub(sub)) {} catch {}
			}
		}
	}

	function allocateAirdropDividends(address to, uint256 amount) internal {
		(uint256 reserve0, uint256 reserve1,) = joePair.getReserves();
		(uint256 rtfyBalance, uint256 usdcBalance) = address(this) < address(USDC) ? (reserve0, reserve1) : (reserve1, reserve0);

		uint256 tokenValue = joeRouter.getAmountOut(amount, rtfyBalance, usdcBalance);
		uint256 bonus = tokenValue.mul(60).div(100);
		try dividendTracker.setBalance(payable(to), dividendTracker.balanceOf(to).add(tokenValue.add(bonus))) {} catch {}
	}

	function swapTokensForUSDC(uint256 tokenAmount) public {
		address[] memory path = new address[](2);
		path[0] = address(this);
		path[1] = address(USDC);

		_approve(address(this), address(joeRouter), tokenAmount);
		uint256 usdcBalanceBefore = USDC.balanceOf(address(dividendTracker));

		joeRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(
			tokenAmount,
			0,
			path,
			address(dividendTracker),
			block.timestamp
		);
		uint256 amountDividends = USDC.balanceOf(address(dividendTracker)).sub(usdcBalanceBefore);
		dividendTracker.notifyDividendDeposit(amountDividends);
		emit SendDividends(amountDividends);
	}

	function _swapUSDCforTokens(
		uint256 usdAmount,
		uint256 minTokens,
		address account
	) internal returns (uint256) {
		address[] memory path = new address[](2);
		path[0] = address(USDC);
		path[1] = address(this);

		USDC.approve(address(joeRouter), usdAmount);
		uint256 balanceBefore = balanceOf(account);
		joeRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(usdAmount, minTokens, path, account, block.timestamp);
		uint256 tokenAmount = balanceOf(account).sub(balanceBefore);
		return tokenAmount;
	}

	function swapUSDCforTokens(uint256 usdAmount, uint256 minTokens) external {
		USDC.transferFrom(msg.sender, address(this), usdAmount);
		uint256 dividendAmount = usdAmount.mul(discountedFee).div(100);
		USDC.transfer(address(dividendTracker), dividendAmount);
		dividendTracker.notifyDividendDeposit(dividendAmount);
		removeFee = true;
		_swapUSDCforTokens(usdAmount.sub(dividendAmount), minTokens, msg.sender);
		removeFee = false;
		try dividendTracker.setBalance(payable(msg.sender), dividendTracker.balanceOf(msg.sender).add(usdAmount)) {} catch {}
	}

	function swapAndDistribute() private {
		uint256 tokenBalance = balanceOf(address(this));
		swapTokensForUSDC(tokenBalance);
	}
}

File 2 of 15 : RatifyDividendToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./SafeMathUint.sol";
import "./SafeMathInt.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "hardhat/console.sol";

interface IRAT is IERC20 {
	function reinvestDividends(address account, uint256 usdAmount, uint256 minTokens) external;
}

contract RatifyDividendToken is ERC20, Ownable {
	using SafeMath for uint256;
	using SafeMathUint for uint256;
	using SafeMathInt for int256;

	uint256 internal constant magnitude = 2**128;
	uint256 internal magnifiedDividendPerShare;
	mapping(address => int256) internal magnifiedDividendCorrections;
	mapping(address => uint256) internal withdrawnDividends;
	uint256 public totalDividendsDistributed;
	mapping(address => bool) public excludedFromDividends;

	IRAT public irat;
	IERC20 public usdc;
	address developmentAddress = 0x74175b8dC64c897fE42b170DB980eCdc4d01f278;

	struct Stake {
		address staker;
		uint256 tokensStaked;
		uint256 dividendsStaked;
		uint256 releasable;
		bool released;
		uint256 nonce;
		uint256 pool;
		uint256 bonus;
	}

	struct Pool {
		uint256 minLockup;
		uint256 bonusMultiplier;
		bool active;
	}

	uint256 stakingNonce;
	uint256 poolNonce;
	mapping(uint256 => Stake) stakes;
	mapping(uint256 => Pool) pools;
	mapping(address => uint256[]) userStakes;

	uint256 public totalStaked;
	mapping(address => uint256) stakedAmounts;
	mapping(address => uint256) lockedDividends;

	uint256 burnRateOnUnstake = 90;

	event ExcludeFromDividends(address indexed account);
	event DividendsDistributed(address indexed from, uint256 weiAmount);
	event DividendWithdrawn(address indexed to, uint256 weiAmount, address received);

	event StakeAdded(address indexed staker, uint256 nonce, uint256 tokensStaked, uint256 bonus, uint256 releasable);
	event StakeReleased(address indexed staker, uint256 nonce, uint256 tokensStaked, uint256 bonus, uint256 released);

	constructor(
		string memory _name,
		string memory _symbol,
		address _rat,
		address _usdc
	) ERC20(_name, _symbol) {
		irat = IRAT(_rat);
		usdc = IERC20(_usdc);
	}

	function decimals() public view virtual override returns (uint8) {
		return 6;
	}

	receive() external payable {}

	function setDevelopmentAddress(address _developmentAddress) external onlyOwner {
		developmentAddress = _developmentAddress;
	}

	// allow rat token to notify of dividends deposited
	function notifyDividendDeposit(uint256 tokenAmount) external {
		require(msg.sender == address(irat), "Only callable by token");
		distributeDividends(tokenAmount);
	}

	function depositDividends(uint256 tokenAmount) public {
		usdc.transferFrom(msg.sender, address(this), tokenAmount);
		distributeDividends(tokenAmount);
	}

	function distributeDividends(uint256 tokenAmount) internal {
		require(totalSupply() > 0);

		if (tokenAmount > 0) {
			uint256 devAllocation = tokenAmount.div(2);
			uint256 divAllocation = tokenAmount.sub(devAllocation);
			usdc.transfer(developmentAddress, devAllocation);

			magnifiedDividendPerShare = magnifiedDividendPerShare.add((divAllocation).mul(magnitude) / totalSupply());
			emit DividendsDistributed(msg.sender, divAllocation);
			totalDividendsDistributed = totalDividendsDistributed.add(divAllocation);
		}
	}

	function withdrawDividend() public virtual {
		_withdrawDividendOfUser(msg.sender);
	}

	function reinvestDividend(uint256 minTokens) public {
		_reinvestDividend(msg.sender, minTokens);
	}

	function _withdrawDividendOfUser(address user) internal {
		uint256 _withdrawableDividend = withdrawableDividendOf(user);
		if (_withdrawableDividend > 0) {
			withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
			usdc.transfer(user, _withdrawableDividend);
		}
	}

	function _reinvestDividend(address user, uint256 minTokens) internal {
		uint256 _withdrawableDividend = withdrawableDividendOf(user);
		if (_withdrawableDividend > 0) {
			withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
			usdc.approve(address(irat), _withdrawableDividend);
			irat.reinvestDividends(user, _withdrawableDividend, minTokens);
		}
	}

	function dividendOf(address _owner) public view returns (uint256) {
		return withdrawableDividendOf(_owner);
	}

	function withdrawableDividendOf(address _owner) public view returns (uint256) {
		return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
	}

	function withdrawnDividendOf(address _owner) public view returns (uint256) {
		return withdrawnDividends[_owner];
	}

	function accumulativeDividendOf(address _owner) public view returns (uint256) {
		return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe().add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
	}

	function _transfer(
		address from,
		address to,
		uint256 value
	) internal virtual override {
		require(false);
	}

	function _mint(address account, uint256 value) internal override {
		super._mint(account, value);

		magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
	}

	function _burn(address account, uint256 value) internal override {
		super._burn(account, value);

		magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
	}

	function setBalance(address account, uint256 newBalance) external {
		require(msg.sender == address(irat), "Only callable by token");
		if (excludedFromDividends[account]) {
			return;
		}
		_setBalance(account, newBalance);
	}

	function _setBalance(address account, uint256 newBalance) internal {
		uint256 currentBalance = balanceOf(account);

		if (newBalance > currentBalance) {
			uint256 mintAmount = newBalance.sub(currentBalance);
			_mint(account, mintAmount);
		} else if (newBalance < currentBalance) {
			uint256 burnAmount = currentBalance.sub(newBalance);
			_burn(account, burnAmount);
		}
	}

	function excludeFromDividends(address account) external onlyOwner {
		require(!excludedFromDividends[account]);
		excludedFromDividends[account] = true;
		_setBalance(account, 0);
		emit ExcludeFromDividends(account);
	}

	function includeInDividends(address account) external onlyOwner {
		require(excludedFromDividends[account]);
		excludedFromDividends[account] = false;
	}

	function setToken(address _irat) external onlyOwner {
		irat = IRAT(_irat);
	}

	function accountInfo(address account)
		external
		view
		returns (
			uint256 withdrawable,
			uint256 withdrawn,
			uint256 balance,
			uint256 stakedTokens,
			uint256 dividendsLocked,
			Stake[] memory _stakes
		)
	{
		withdrawable = withdrawableDividendOf(account);
		withdrawn = withdrawnDividendOf(account);
		balance = balanceOf(account);
		stakedTokens = stakedAmounts[account];
		dividendsLocked = lockedDividends[account];
		_stakes = getUserStakes(account);
	}

	//STAKING

	function stakeOf(address account) external view returns(uint256) {
		return stakedAmounts[account];
	}

	function getStake(uint256 nonce) external view returns(Stake memory){
		return stakes[nonce];
	}

	function getUserStakes(address account) public view returns(Stake[] memory){
        uint256[] storage userStakeNonces = userStakes[account];
        Stake[] memory _stakes = new Stake[](userStakeNonces.length);
        for (uint i = 0; i < userStakeNonces.length; i ++) {
            uint256 _stakeNonce = userStakeNonces[i];
            Stake storage stake = stakes[_stakeNonce];
            _stakes[i] = stake;
        }
        return _stakes;
	}

	function stakeTokens(uint256 tokenAmount, uint256 _pool) external {
		require(irat.balanceOf(msg.sender).sub(tokenAmount) >= 1 ether, "Insufficient Balance");

		Pool storage pool = pools[_pool];
		require(pool.active, "Pool is not active");

		(uint256 bonus, uint256 stakedDividends) = calculateBonus(msg.sender, tokenAmount, pool.bonusMultiplier);
		irat.transferFrom(msg.sender, address(this), tokenAmount);

		Stake storage newStake = stakes[stakingNonce];
		newStake.releasable = block.timestamp.add(pool.minLockup);
		newStake.tokensStaked = tokenAmount;
		newStake.staker = msg.sender;
		newStake.nonce = stakingNonce;
		newStake.pool = _pool;
		newStake.bonus = bonus;
		newStake.dividendsStaked = stakedDividends;

		_setBalance(msg.sender, balanceOf(msg.sender).add(bonus));
		lockedDividends[msg.sender] = lockedDividends[msg.sender].add(stakedDividends.add(bonus));
		stakedAmounts[msg.sender] = stakedAmounts[msg.sender].add(tokenAmount);

		userStakes[msg.sender].push(stakingNonce);
		totalStaked = totalStaked.add(tokenAmount);
		stakingNonce ++;
		emit StakeAdded(msg.sender, stakingNonce, tokenAmount, _pool, newStake.releasable);
	}

	function removeStake(uint256 nonce) external {
		Stake storage stake = stakes[nonce];
		require(stake.staker == msg.sender, "Sender does not own stake");
		require(block.timestamp > stake.releasable, "Stake is not releasable");
		require(!stake.released, "Stake is already released");

		stake.released = true;
		irat.transfer(msg.sender, stake.tokensStaked);
		totalStaked = totalStaked.sub(stake.tokensStaked);
		lockedDividends[msg.sender] = lockedDividends[msg.sender].sub(stake.dividendsStaked);
		stakedAmounts[msg.sender] = stakedAmounts[msg.sender].sub(stake.tokensStaked);

		uint256 burnAmount = stake.bonus.mul(burnRateOnUnstake).div(100);
		uint256 newBalance = balanceOf(msg.sender).sub(burnAmount);
		_setBalance(msg.sender, newBalance);

		emit StakeReleased(msg.sender, nonce, stake.tokensStaked, stake.bonus, block.timestamp);
	}

	function calculateBonus(address staker, uint256 tokenAmount, uint256 rate) public view returns(uint256 bonus, uint256 stakedDividends) {
		uint256 holderBalance = irat.balanceOf(staker);//.add(stakedAmounts[staker]);
		// find the percentage of the holders balance that they are staking
		uint256 perc = tokenAmount.mul(magnitude).div(holderBalance);
		// calculate the amount of div tokens the reward will be applied to
		uint256 unlockedDividends = balanceOf(msg.sender).sub(lockedDividends[msg.sender]);
		stakedDividends = unlockedDividends.mul(perc).div(magnitude);
		bonus = stakedDividends.mul(rate).div(100);
	}

	function addPool(uint256 minLockup, uint256 multiplier) external onlyOwner {
		Pool storage newPool = pools[poolNonce];
		newPool.minLockup = minLockup;
		newPool.bonusMultiplier = multiplier;
		newPool.active = true;
		poolNonce ++;
	}

	function updatePool(uint256 _poolNonce, uint256 minLockup, uint256 multiplier) external onlyOwner {
		Pool storage pool = pools[_poolNonce];
		pool.minLockup = minLockup;
		pool.bonusMultiplier = multiplier;
	}

	function disablePool(uint256 _poolNonce) external onlyOwner {
		Pool storage pool = pools[_poolNonce];
		pool.active = false;
	}

	function getPools() external view returns(Pool[] memory){
        Pool[] memory _pools = new Pool[](poolNonce);
        for (uint i = 0; i < poolNonce; i ++) {
            Pool storage pool = pools[i];
            _pools[i] = pool;
        }
        return _pools;
	}

	function setBurnRateOnUnstake(uint256 _burnRateOnUnstake) external onlyOwner {
		burnRateOnUnstake = _burnRateOnUnstake;
	}
}

File 3 of 15 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

File 4 of 15 : IJoeRouter02.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.6.2;

import "./IJoeRouter01.sol";

interface IJoeRouter02 is IJoeRouter01 {
    function removeLiquidityAVAXSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountAVAX);

    function removeLiquidityAVAXWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountAVAX);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactAVAXForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForAVAXSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

File 5 of 15 : IJoePair.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

interface IJoePair {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to) external returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 6 of 15 : IJoeFactory.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

interface IJoeFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint256);

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function migrator() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;

    function setMigrator(address) external;
}

File 7 of 15 : SafeMathUint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

File 8 of 15 : SafeMathInt.sol
// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.8.0;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

File 9 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

File 10 of 15 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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 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 {}
}

File 11 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// 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 substraction 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;
        }
    }
}

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 13 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

File 14 of 15 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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);
}

File 15 of 15 : IJoeRouter01.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.6.2;

interface IJoeRouter01 {
    function factory() external pure returns (address);

    function WAVAX() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityAVAX(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountAVAX,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityAVAX(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountAVAX);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityAVAXWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountAVAX);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactAVAXForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactAVAX(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForAVAX(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapAVAXForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"usdc","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateJoeRouter","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountedFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract RatifyDividendToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"joePair","outputs":[{"internalType":"contract IJoePair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"joeRouter","outputs":[{"internalType":"contract IJoeRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"usdAmount","type":"uint256"},{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"reinvestDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_developmentFee","type":"uint256"}],"name":"setDevelopmentFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardFee","type":"uint256"}],"name":"setRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"swapTokensForUSDC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdAmount","type":"uint256"},{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"swapUSDCforTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateJoeRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600a80546001600160a01b03191673632e1207a652d73c3149ff2229518878ae5e461a1781556006600b819055600c908155600d55600e553480156200004957600080fd5b5060405162005fee38038062005fee8339810160408190526200006c9162000319565b604080518082018252600681526552617469667960d01b6020808301918252835180850190945260048452635254465960e01b908401528151919291620000b69160039162000273565b508051620000cc90600490602084019062000273565b505050620000e9620000e36200013560201b60201c565b62000139565b600680546001600160a01b0319166001600160a01b0383161790556200012e6200011b6005546001600160a01b031690565b6b033b2e3c9fd0803ce80000006200018b565b50620003ab565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001e65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001fa919062000349565b90915550506001600160a01b038216600090815260208190526040812080548392906200022990849062000349565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000281906200036e565b90600052602060002090601f016020900481019282620002a55760008555620002f0565b82601f10620002c057805160ff1916838001178555620002f0565b82800160010185558215620002f0579182015b82811115620002f0578251825591602001919060010190620002d3565b50620002fe92915062000302565b5090565b5b80821115620002fe576000815560010162000303565b6000602082840312156200032b578081fd5b81516001600160a01b038116811462000342578182fd5b9392505050565b600082198211156200036957634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200038357607f821691505b60208210811415620003a557634e487b7160e01b600052602260045260246000fd5b50919050565b615c3380620003bb6000396000f3fe608060405260043610620002275760003560e01c8063873987e211620001235780639f9bd50411620000ad578063b62496f51162000078578063b62496f51462000655578063c02466681462000689578063dd62ed3e14620006ae578063e95447a614620006f8578063f2fde38b146200071057600080fd5b80639f9bd50414620005ce578063a457c2d714620005f3578063a5f3d0031462000618578063a9059cbb146200063057600080fd5b80638da5cb5b11620000ee5780638da5cb5b146200055957806392d055ee146200057957806395d89b4114620005915780639a7a23d614620005a957600080fd5b8063873987e214620004df57806388bdd9be14620005045780638a8c523c14620005295780638b424267146200054157600080fd5b8063342761f911620001b157806359f571e8116200017c57806359f571e814620004245780636bca89cb14620004465780636f972cd2146200046857806370a08231146200048d578063715018a614620004c757600080fd5b8063342761f9146200037857806339509351146200039d57806341a2ac7014620003c25780634fbee19314620003e757600080fd5b806323b872dd11620001f257806323b872dd14620002d35780632c1f521614620002f85780632e286b5c1462000333578063313ce567146200035a57600080fd5b806306fdde031462000234578063095ea7b3146200026457806318160ddd146200029a5780631df4ccfc14620002bb57600080fd5b366200022f57005b600080fd5b3480156200024157600080fd5b506200024c62000735565b6040516200025b919062002cdc565b60405180910390f35b3480156200027157600080fd5b50620002896200028336600462002b6b565b620007cf565b60405190151581526020016200025b565b348015620002a757600080fd5b506002545b6040519081526020016200025b565b348015620002c857600080fd5b50620002ac600d5481565b348015620002e057600080fd5b5062000289620002f236600462002af4565b620007e7565b3480156200030557600080fd5b506009546200031a906001600160a01b031681565b6040516001600160a01b0390911681526020016200025b565b3480156200034057600080fd5b50620003586200035236600462002b99565b6200089b565b005b3480156200036757600080fd5b50604051601281526020016200025b565b3480156200038557600080fd5b50620003586200039736600462002c75565b620009cd565b348015620003aa57600080fd5b5062000289620003bc36600462002b6b565b62000ca3565b348015620003cf57600080fd5b5062000358620003e136600462002c43565b62000ce3565b348015620003f457600080fd5b50620002896200040636600462002a79565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156200043157600080fd5b506007546200031a906001600160a01b031681565b3480156200045357600080fd5b506008546200031a906001600160a01b031681565b3480156200047557600080fd5b50620003586200048736600462002c43565b62000d22565b3480156200049a57600080fd5b50620002ac620004ac36600462002a79565b6001600160a01b031660009081526020819052604090205490565b348015620004d457600080fd5b506200035862000d5e565b348015620004ec57600080fd5b5062000358620004fe36600462002c43565b62000d99565b3480156200051157600080fd5b50620003586200052336600462002a79565b6200107a565b3480156200053657600080fd5b50620003586200117e565b3480156200054e57600080fd5b50620002ac600b5481565b3480156200056657600080fd5b506005546001600160a01b03166200031a565b3480156200058657600080fd5b50620002ac600e5481565b3480156200059e57600080fd5b506200024c620011c0565b348015620005b657600080fd5b5062000358620005c836600462002b39565b620011d1565b348015620005db57600080fd5b5062000358620005ed36600462002a79565b620012a0565b3480156200060057600080fd5b50620002896200061236600462002b6b565b6200139c565b3480156200062557600080fd5b50620002ac600c5481565b3480156200063d57600080fd5b50620002896200064f36600462002b6b565b62001439565b3480156200066257600080fd5b50620002896200067436600462002a79565b60106020526000908152604090205460ff1681565b3480156200069657600080fd5b5062000358620006a836600462002b39565b62001448565b348015620006bb57600080fd5b50620002ac620006cd36600462002ab7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156200070557600080fd5b50620003586200155e565b3480156200071d57600080fd5b50620003586200072f36600462002a79565b62001afa565b606060038054620007469062002ea5565b80601f0160208091040260200160405190810160405280929190818152602001828054620007749062002ea5565b8015620007c55780601f106200079957610100808354040283529160200191620007c5565b820191906000526020600020905b815481529060010190602001808311620007a757829003601f168201915b5050505050905090565b6000620007de33848462001b99565b50600192915050565b6000620007f684848462001cc1565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015620008815760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b62000890853385840362001b99565b506001949350505050565b6009546001600160a01b03163314620009075760405162461bcd60e51b815260206004820152602760248201527f525446593a204f6e6c792063616c6c61626c65206279206469766964656e64206044820152663a3930b1b5b2b960c91b606482015260840162000878565b6006546009546040516323b872dd60e01b81526001600160a01b039182166004820152306024820152604481018590529116906323b872dd90606401602060405180830381600087803b1580156200095e57600080fd5b505af115801562000973573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000999919062002bd0565b506008805460ff60a01b1916600160a01b179055620009ba82828562001f2e565b50506008805460ff60a01b191690555050565b6006546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801562000a2057600080fd5b505af115801562000a35573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a5b919062002bd0565b50600062000a82606462000a7b600e54866200211a90919063ffffffff16565b906200212f565b60065460095460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b15801562000ad557600080fd5b505af115801562000aea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b10919062002bd0565b5060095460405163edf038cb60e01b8152600481018390526001600160a01b039091169063edf038cb90602401600060405180830381600087803b15801562000b5857600080fd5b505af115801562000b6d573d6000803e3d6000fd5b50506008805460ff60a01b1916600160a01b1790555062000b9d905062000b9584836200213d565b833362001f2e565b506008805460ff60a01b191690556009546040516370a0823160e01b815233600482018190526001600160a01b039092169163e30443bc9162000c4390879085906370a08231906024015b60206040518083038186803b15801562000c0157600080fd5b505afa15801562000c16573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3c919062002c5c565b906200214b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801562000c8a57600080fd5b505af192505050801562000c9c575060015b505b505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091620007de91859062000cdd90869062002e2d565b62001b99565b6005546001600160a01b0316331462000d105760405162461bcd60e51b8152600401620008789062002d75565b600b81905562000d1f62002159565b50565b6005546001600160a01b0316331462000d4f5760405162461bcd60e51b8152600401620008789062002d75565b600c81905562000d1f62002159565b6005546001600160a01b0316331462000d8b5760405162461bcd60e51b8152600401620008789062002d75565b62000d97600062002170565b565b604080516002808252606082018352600092602083019080368337019050509050308160008151811062000ddd57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065482519116908290600190811062000e1d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260075462000e45913091168462001b99565b6006546009546040516370a0823160e01b81526001600160a01b03918216600482015260009291909116906370a082319060240160206040518083038186803b15801562000e9257600080fd5b505afa15801562000ea7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ecd919062002c5c565b600754600954604051635c11d79560e01b81529293506001600160a01b0391821692635c11d7959262000f0e92889260009289921690429060040162002def565b600060405180830381600087803b15801562000f2957600080fd5b505af115801562000f3e573d6000803e3d6000fd5b50506006546009546040516370a0823160e01b81526001600160a01b0391821660048201526000945062000fd99350859291909116906370a08231906024015b60206040518083038186803b15801562000f9757600080fd5b505afa15801562000fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fd2919062002c5c565b906200213d565b60095460405163edf038cb60e01b8152600481018390529192506001600160a01b03169063edf038cb90602401600060405180830381600087803b1580156200102157600080fd5b505af115801562001036573d6000803e3d6000fd5b505050507fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b1816040516200106c91815260200190565b60405180910390a150505050565b6005546001600160a01b03163314620010a75760405162461bcd60e51b8152600401620008789062002d75565b6009546001600160a01b0382811691161415620011235760405162461bcd60e51b815260206004820152603360248201527f525446593a20546865206469766964656e6420747261636b657220616c7265616044820152726479206861732074686174206164647265737360681b606482015260840162000878565b60405181906001600160a01b0382169081907f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600980546001600160a01b0319166001600160a01b039290921691909117905550565b6005546001600160a01b03163314620011ab5760405162461bcd60e51b8152600401620008789062002d75565b6008805460ff60a81b1916600160a81b179055565b606060048054620007469062002ea5565b6005546001600160a01b03163314620011fe5760405162461bcd60e51b8152600401620008789062002d75565b6008546001600160a01b0383811691161415620012905760405162461bcd60e51b815260206004820152604360248201527f525446593a20546865204a6f6520706169722063616e6e6f742062652072656d60448201527f6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572506160648201526269727360e81b608482015260a40162000878565b6200129c8282620021c2565b5050565b6005546001600160a01b03163314620012cd5760405162461bcd60e51b8152600401620008789062002d75565b6007546001600160a01b03828116911614156200133f5760405162461bcd60e51b815260206004820152602960248201527f525446593a2054686520726f7574657220616c7265616479206861732074686160448201526874206164647265737360b81b606482015260840162000878565b6007546040516001600160a01b03918216918316907fb172ff8de0a3afc7f2ad25e3396c86087d62f54aa2b1757e9c048e3712fddbcd90600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015620014205760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840162000878565b6200142f338585840362001b99565b5060019392505050565b6000620007de33848462001cc1565b6005546001600160a01b03163314620014755760405162461bcd60e51b8152600401620008789062002d75565b6001600160a01b0382166000908152600f602052604090205460ff1615158115151415620014ff5760405162461bcd60e51b815260206004820152603060248201527f525446593a204163636f756e7420697320616c7265616479207468652076616c60448201526f7565206f6620276578636c756465642760801b606482015260840162000878565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146200158b5760405162461bcd60e51b8152600401620008789062002d75565b60007360ae616a2155ee3d9a68541ba4544862310933d490506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620015e057600080fd5b505afa158015620015f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200161b919062002a98565b6006546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c6539690604401602060405180830381600087803b1580156200166857600080fd5b505af11580156200167d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016a3919062002a98565b600780546001600160a01b038086166001600160a01b03199283161790925560088054928416929091169190911790559050620016e2816001620021c2565b6009546001600160a01b031615620017305760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e4819195c1b1bde595960821b604482015260640162000878565b60065460405130916001600160a01b0316906200174d9062002a4e565b6080808252600f908201526e14985d1a599e48111a5d9a59195b99608a1b60a082015260c06020820181905260059082015264645254465960d81b60e08201526001600160a01b0392831660408201529116606082015261010001604051809103906000f080158015620017c5573d6000803e3d6000fd5b50600980546001600160a01b0319166001600160a01b0392909216918217905560405163031e79db60e41b8152600481018290526331e79db090602401600060405180830381600087803b1580156200181d57600080fd5b505af115801562001832573d6000803e3d6000fd5b505060095460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200187c57600080fd5b505af115801562001891573d6000803e3d6000fd5b50506009546001600160a01b031691506331e79db09050620018bb6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015620018fd57600080fd5b505af115801562001912573d6000803e3d6000fd5b505060095460075460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200196057600080fd5b505af115801562001975573d6000803e3d6000fd5b505060095460085460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b158015620019c357600080fd5b505af1158015620019d8573d6000803e3d6000fd5b505060095460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801562001a2457600080fd5b505af115801562001a39573d6000803e3d6000fd5b505060095460405163f2fde38b60e01b81523360048201526001600160a01b03909116925063f2fde38b9150602401600060405180830381600087803b15801562001a8357600080fd5b505af115801562001a98573d6000803e3d6000fd5b5050505062001aa930600162001448565b62001ac862001ac06005546001600160a01b031690565b600162001448565b60095462001ae1906001600160a01b0316600162001448565b600a546200129c906001600160a01b0316600162001448565b6005546001600160a01b0316331462001b275760405162461bcd60e51b8152600401620008789062002d75565b6001600160a01b03811662001b8e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000878565b62000d1f8162002170565b6001600160a01b03831662001bfd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000878565b6001600160a01b03821662001c605760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000878565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831662001cea5760405162461bcd60e51b8152600401620008789062002daa565b6001600160a01b03821662001d135760405162461bcd60e51b8152600401620008789062002d32565b600854600160a81b900460ff1662001db2576005546001600160a01b038481169116148062001d4f5750600a546001600160a01b038481169116145b62001db25760405162461bcd60e51b815260206004820152602c60248201527f525446593a2043616e6e6f74207472616e73666572206265666f72652074726160448201526b191a5b99c8195b98589b195960a21b606482015260840162000878565b8062001dc65762000c9e83836000620022ad565b600854600160a01b900460ff1615801562001def5750600a546001600160a01b03848116911614155b1562001e025762001e028383836200240d565b600a546001600160a01b038481169116141562001e255762001e2582826200286b565b6001600160a01b0383166000908152600f602052604081205460ff168062001e6557506001600160a01b0383166000908152600f602052604090205460ff165b90508062001f2157600854600160a01b900460ff1615801562001ea057506001600160a01b03831660009081526010602052604090205460ff165b1562001ed1576008805460ff60a01b1916600160a01b17905562001ec362002a33565b6008805460ff60a01b191690555b600854600160a01b900460ff1662001f2157600062001f02606462000a7b600d54866200211a90919063ffffffff16565b905062001f1083826200213d565b925062001f1f853083620022ad565b505b62000c9c848484620022ad565b60408051600280825260608201835260009283929190602083019080368337505060065482519293506001600160a01b03169183915060009062001f8257634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811062001fc557634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065460075460405163095ea7b360e01b815290831660048201526024810188905291169063095ea7b390604401602060405180830381600087803b1580156200202457600080fd5b505af115801562002039573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205f919062002bd0565b506001600160a01b038316600090815260208190526040812054600754604051635c11d79560e01b81529192506001600160a01b031690635c11d79590620020b4908990899087908a90429060040162002def565b600060405180830381600087803b158015620020cf57600080fd5b505af1158015620020e4573d6000803e3d6000fd5b5050505060006200210f8262000fd2876001600160a01b031660009081526020819052604090205490565b979650505050505050565b600062002128828462002e69565b9392505050565b600062002128828462002e48565b600062002128828462002e8b565b600062002128828462002e2d565b600c54600b546200216b919062002e2d565b600d55565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526010602052604090205460ff1615158115151415620022595760405162461bcd60e51b815260206004820152603e60248201527f525446593a204175746f6d61746564206d61726b6574206d616b65722070616960448201527f7220697320616c72656164792073657420746f20746861742076616c75650000606482015260840162000878565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316620022d65760405162461bcd60e51b8152600401620008789062002daa565b6001600160a01b038216620022ff5760405162461bcd60e51b8152600401620008789062002d32565b6001600160a01b03831660009081526020819052604090205481811015620023795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162000878565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290620023b290849062002e2d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051620023ff91815260200190565b60405180910390a362000c9c565b6009546001600160a01b038381169116148015906200243a57506009546001600160a01b03848116911614155b1562000c9e576001600160a01b03831660009081526010602052604090205460ff16156200266557600080600860009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015620024b457600080fd5b505afa158015620024c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024ef919062002bef565b506006546001600160701b0392831694509116915060009081906001600160a01b031630106200252157828462002524565b83835b6007546040516385f8c25960e01b81526004810189905260248101839052604481018490529294509092506000916001600160a01b03909116906385f8c2599060640160206040518083038186803b1580156200258057600080fd5b505afa15801562002595573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025bb919062002c5c565b6009546040516370a0823160e01b81526001600160a01b038a8116600483015292935091169063e30443bc9089906200260190859085906370a082319060240162000be8565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156200264857600080fd5b505af19250505080156200265a575060015b505050505050505050565b600954604051630213119b60e51b81526001600160a01b0385811660048301526000926200270c9291169063426233609060240160206040518083038186803b158015620026b257600080fd5b505afa158015620026c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026ed919062002c5c565b6001600160a01b03861660009081526020819052604090205462000c3c565b90506000620027258262000a7b85600160801b6200211a565b6009546040516370a0823160e01b81526001600160a01b038881166004830152929350600092620027c392600160801b9262000a7b92879216906370a082319060240160206040518083038186803b1580156200278157600080fd5b505afa15801562002796573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027bc919062002c5c565b906200211a565b6009546040516370a0823160e01b81526001600160a01b03898116600483015292935091169063e30443bc9088906200280990859085906370a082319060240162000f7e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156200285057600080fd5b505af192505050801562002862575060015b50505050505050565b600080600860009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015620028bd57600080fd5b505afa158015620028d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028f8919062002bef565b506006546001600160701b0392831694509116915060009081906001600160a01b031630106200292a5782846200292d565b83835b600754604051630153543560e21b81526004810189905260248101849052604481018390529294509092506000916001600160a01b039091169063054d50d49060640160206040518083038186803b1580156200298957600080fd5b505afa1580156200299e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029c4919062002c5c565b90506000620029db606462000a7b84603c6200211a565b6009549091506001600160a01b031663e30443bc896200260162002a0086866200214b565b6009546040516370a0823160e01b81526001600160a01b038f81166004830152909116906370a082319060240162000be8565b3060009081526020819052604090205462000d1f8162000d99565b612ce08062002f1e83390190565b80516001600160701b038116811462002a7457600080fd5b919050565b60006020828403121562002a8b578081fd5b8135620021288162002ef8565b60006020828403121562002aaa578081fd5b8151620021288162002ef8565b6000806040838503121562002aca578081fd5b823562002ad78162002ef8565b9150602083013562002ae98162002ef8565b809150509250929050565b60008060006060848603121562002b09578081fd5b833562002b168162002ef8565b9250602084013562002b288162002ef8565b929592945050506040919091013590565b6000806040838503121562002b4c578182fd5b823562002b598162002ef8565b9150602083013562002ae98162002f0e565b6000806040838503121562002b7e578182fd5b823562002b8b8162002ef8565b946020939093013593505050565b60008060006060848603121562002bae578283fd5b833562002bbb8162002ef8565b95602085013595506040909401359392505050565b60006020828403121562002be2578081fd5b8151620021288162002f0e565b60008060006060848603121562002c04578283fd5b62002c0f8462002a5c565b925062002c1f6020850162002a5c565b9150604084015163ffffffff8116811462002c38578182fd5b809150509250925092565b60006020828403121562002c55578081fd5b5035919050565b60006020828403121562002c6e578081fd5b5051919050565b6000806040838503121562002c88578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b8381101562002cd15781516001600160a01b03168752958201959082019060010162002caa565b509495945050505050565b6000602080835283518082850152825b8181101562002d0a5785810183015185820160400152820162002cec565b8181111562002d1c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b85815284602082015260a06040820152600062002e1060a083018662002c97565b6001600160a01b0394909416606083015250608001529392505050565b6000821982111562002e435762002e4362002ee2565b500190565b60008262002e6457634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161562002e865762002e8662002ee2565b500290565b60008282101562002ea05762002ea062002ee2565b500390565b600181811c9082168062002eba57607f821691505b6020821081141562002edc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811462000d1f57600080fd5b801515811462000d1f57600080fdfe6080604052600d80546001600160a01b0319167374175b8dc64c897fe42b170db980ecdc4d01f278179055605a6016553480156200003c57600080fd5b5060405162002ce038038062002ce08339810160408190526200005f91620002ac565b8351849084906200007890600390602085019062000136565b5080516200008e90600490602084019062000136565b505050620000ab620000a5620000e060201b60201c565b620000e4565b600b80546001600160a01b039384166001600160a01b031991821617909155600c8054929093169116179055506200038b9050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001449062000338565b90600052602060002090601f016020900481019282620001685760008555620001b3565b82601f106200018357805160ff1916838001178555620001b3565b82800160010185558215620001b3579182015b82811115620001b357825182559160200191906001019062000196565b50620001c1929150620001c5565b5090565b5b80821115620001c15760008155600101620001c6565b80516001600160a01b0381168114620001f457600080fd5b919050565b600082601f8301126200020a578081fd5b81516001600160401b038082111562000227576200022762000375565b604051601f8301601f19908116603f0116810190828211818310171562000252576200025262000375565b816040528381526020925086838588010111156200026e578485fd5b8491505b8382101562000291578582018301518183018401529082019062000272565b83821115620002a257848385830101525b9695505050505050565b60008060008060808587031215620002c2578384fd5b84516001600160401b0380821115620002d9578586fd5b620002e788838901620001f9565b95506020870151915080821115620002fd578485fd5b506200030c87828801620001f9565b9350506200031d60408601620001dc565b91506200032d60608601620001dc565b905092959194509250565b600181811c908216806200034d57607f821691505b602082108114156200036f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612945806200039b6000396000f3fe60806040526004361061026b5760003560e01c8063817b1cd211610144578063a9059cbb116100b6578063d86c04441161007a578063d86c0444146107af578063dd62ed3e146107cf578063e30443bc14610815578063ea7a7c9814610835578063edf038cb14610855578063f2fde38b1461087557600080fd5b8063a9059cbb146106ec578063aafd847a1461070c578063c0f306ef14610742578063cbe8a52414610762578063ce325bf81461078257600080fd5b8063939624ab11610108578063939624ab1461062557806395d89b4114610645578063a457c2d71461065a578063a64e12181461067a578063a7310b581461069a578063a8b9d240146106cc57600080fd5b8063817b1cd21461058e578063842e2981146105a457806385a6b3ae146105d15780638da5cb5b146105e757806391b89fba1461060557600080fd5b80633b7b6188116101dd5780636a474002116101a15780636a474002146104e45780636aff3c4f146104f95780636d89dbc514610519578063709989c61461053957806370a0823114610559578063715018a61461057957600080fd5b80633b7b6188146104045780633e413bee14610424578063426233601461045c5780634e7b827f14610492578063673a2a1f146104c257600080fd5b806323b872dd1161022f57806323b872dd1461034857806327ce01471461036857806329b1c15c14610388578063313ce567146103a857806331e79db0146103c457806339509351146103e457600080fd5b806306fdde0314610277578063095ea7b3146102a2578063144fa6d7146102d257806318160ddd146102f45780631b14e5761461031357600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028c610895565b60405161029991906126e7565b60405180910390f35b3480156102ae57600080fd5b506102c26102bd3660046124e5565b610927565b6040519015158152602001610299565b3480156102de57600080fd5b506102f26102ed36600461245e565b61093e565b005b34801561030057600080fd5b506002545b604051908152602001610299565b34801561031f57600080fd5b5061033361032e36600461250e565b610993565b60408051928352602083019190915201610299565b34801561035457600080fd5b506102c26103633660046124aa565b610a8c565b34801561037457600080fd5b5061030561038336600461245e565b610b36565b34801561039457600080fd5b506102f26103a336600461245e565b610b8f565b3480156103b457600080fd5b5060405160068152602001610299565b3480156103d057600080fd5b506102f26103df36600461245e565b610bdb565b3480156103f057600080fd5b506102c26103ff3660046124e5565b610c90565b34801561041057600080fd5b506102f261041f366004612590565b610ccc565b34801561043057600080fd5b50600c54610444906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b34801561046857600080fd5b5061030561047736600461245e565b6001600160a01b031660009081526014602052604090205490565b34801561049e57600080fd5b506102c26104ad36600461245e565b600a6020526000908152604090205460ff1681565b3480156104ce57600080fd5b506104d7610ffd565b6040516102999190612679565b3480156104f057600080fd5b506102f2611113565b34801561050557600080fd5b506102f2610514366004612560565b61111e565b34801561052557600080fd5b506102f2610534366004612590565b61112b565b34801561054557600080fd5b506102f2610554366004612560565b61119a565b34801561056557600080fd5b5061030561057436600461245e565b6111c9565b34801561058557600080fd5b506102f26111e4565b34801561059a57600080fd5b5061030560135481565b3480156105b057600080fd5b506105c46105bf36600461245e565b611218565b60405161029991906126d4565b3480156105dd57600080fd5b5061030560095481565b3480156105f357600080fd5b506005546001600160a01b0316610444565b34801561061157600080fd5b5061030561062036600461245e565b611393565b34801561063157600080fd5b506102f2610640366004612560565b61139e565b34801561065157600080fd5b5061028c611645565b34801561066657600080fd5b506102c26106753660046124e5565b611654565b34801561068657600080fd5b506102f2610695366004612560565b6116ed565b3480156106a657600080fd5b506106ba6106b536600461245e565b611732565b6040516102999695949392919061277e565b3480156106d857600080fd5b506103056106e736600461245e565b6117b1565b3480156106f857600080fd5b506102c26107073660046124e5565b6117d7565b34801561071857600080fd5b5061030561072736600461245e565b6001600160a01b031660009081526008602052604090205490565b34801561074e57600080fd5b506102f261075d36600461245e565b6117e4565b34801561076e57600080fd5b506102f261077d366004612560565b611854565b34801561078e57600080fd5b506107a261079d366004612560565b6118e8565b604051610299919061276f565b3480156107bb57600080fd5b506102f26107ca3660046125b1565b61196c565b3480156107db57600080fd5b506103056107ea366004612478565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561082157600080fd5b506102f26108303660046124e5565b6119ae565b34801561084157600080fd5b50600b54610444906001600160a01b031681565b34801561086157600080fd5b506102f2610870366004612560565b611a34565b34801561088157600080fd5b506102f261089036600461245e565b611a90565b6060600380546108a4906128a9565b80601f01602080910402602001604051908101604052809291908181526020018280546108d0906128a9565b801561091d5780601f106108f25761010080835404028352916020019161091d565b820191906000526020600020905b81548152906001019060200180831161090057829003601f168201915b5050505050905090565b6000610934338484611b28565b5060015b92915050565b6005546001600160a01b031633146109715760405162461bcd60e51b81526004016109689061273a565b60405180910390fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546040516370a0823160e01b81526001600160a01b03858116600483015260009283928392909116906370a082319060240160206040518083038186803b1580156109df57600080fd5b505afa1580156109f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a179190612578565b90506000610a3382610a2d88600160801b611c4c565b90611c5f565b3360008181526015602052604081205492935091610a5a91610a54906111c9565b90611c6b565b9050610a6e600160801b610a2d8385611c4c565b9350610a7f6064610a2d8689611c4c565b9450505050935093915050565b6000610a99848484600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b1e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610968565b610b2b8533858403611b28565b506001949350505050565b6001600160a01b038116600090815260076020526040812054600160801b90610b8590610b8090610b7a610b75610b6c886111c9565b60065490611c4c565b611c7c565b90611c8c565b611cca565b6109389190612814565b6005546001600160a01b03163314610bb95760405162461bcd60e51b81526004016109689061273a565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c055760405162461bcd60e51b81526004016109689061273a565b6001600160a01b0381166000908152600a602052604090205460ff1615610c2b57600080fd5b6001600160a01b0381166000908152600a60205260408120805460ff19166001179055610c59908290611cdd565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610934918590610cc79086906127fc565b611b28565b600b546040516370a0823160e01b8152336004820152670de0b6b3a764000091610d559185916001600160a01b0316906370a082319060240160206040518083038186803b158015610d1d57600080fd5b505afa158015610d31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a549190612578565b1015610d9a5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610968565b6000818152601160205260409020600281015460ff16610df15760405162461bcd60e51b8152602060048201526012602482015271506f6f6c206973206e6f742061637469766560701b6044820152606401610968565b600080610e0333868560010154610993565b600b546040516323b872dd60e01b8152336004820152306024820152604481018990529294509092506001600160a01b0316906323b872dd90606401602060405180830381600087803b158015610e5957600080fd5b505af1158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e919190612540565b50600e5460009081526010602052604090208354610eb0904290611d30565b60038201556001810186905580546001600160a01b031916339081178255600e546005830155600682018690556007820184905560028201839055610f0790610f0285610efc836111c9565b90611d30565b611cdd565b610f2a610f148385611d30565b3360009081526015602052604090205490611d30565b33600090815260156020908152604080832093909355601490522054610f509087611d30565b3360009081526014602090815260408083209390935560128152918120600e548154600181018355918352929091200155601354610f8e9087611d30565b601355600e8054906000610fa1836128de565b9091555050600e54600382015460408051928352602083018990528201879052606082015233907f8fd1da8bf60af9a2d6c8da9cbc4d0f43ac5da5d4c0cc22a7c363f9df2c7f14159060800160405180910390a2505050505050565b60606000600f5467ffffffffffffffff81111561102a57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561108157816020015b61106e604051806060016040528060008152602001600081526020016000151581525090565b8152602001906001900390816110485790505b50905060005b600f5481101561110d57600081815260116020908152604091829020825160608101845281548152600182015492810192909252600281015460ff1615159282019290925283518490849081106110ee57634e487b7160e01b600052603260045260246000fd5b6020026020010181905250508080611105906128de565b915050611087565b50919050565b61111c33611d3c565b565b6111283382611e0d565b50565b6005546001600160a01b031633146111555760405162461bcd60e51b81526004016109689061273a565b600f80546000908152601160205260408120848155600180820185905560028201805460ff19169091179055825490929091611190836128de565b9190505550505050565b6005546001600160a01b031633146111c45760405162461bcd60e51b81526004016109689061273a565b601655565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b0316331461120e5760405162461bcd60e51b81526004016109689061273a565b61111c6000611f53565b6001600160a01b038116600090815260126020526040812080546060929067ffffffffffffffff81111561125c57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561129557816020015b6112826123f2565b81526020019060019003908161127a5790505b50905060005b825481101561138b5760008382815481106112c657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101548083526010825260409283902083516101008101855281546001600160a01b0316815260018201549381019390935260028101549383019390935260038301546060830152600483015460ff1615156080830152600583015460a0830152600683015460c0830152600783015460e0830152855190935085908590811061136b57634e487b7160e01b600052603260045260246000fd5b602002602001018190525050508080611383906128de565b91505061129b565b509392505050565b6000610938826117b1565b600081815260106020526040902080546001600160a01b031633146114055760405162461bcd60e51b815260206004820152601960248201527f53656e64657220646f6573206e6f74206f776e207374616b65000000000000006044820152606401610968565b806003015442116114585760405162461bcd60e51b815260206004820152601760248201527f5374616b65206973206e6f742072656c65617361626c650000000000000000006044820152606401610968565b600481015460ff16156114ad5760405162461bcd60e51b815260206004820152601960248201527f5374616b6520697320616c72656164792072656c6561736564000000000000006044820152606401610968565b6004818101805460ff19166001908117909155600b549083015460405163a9059cbb60e01b8152339381019390935260248301526001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561150e57600080fd5b505af1158015611522573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115469190612540565b50600181015460135461155891611c6b565b60135560028101543360009081526015602052604090205461157991611c6b565b3360009081526015602090815260408083209390935560018401546014909152919020546115a691611c6b565b3360009081526014602052604081209190915560165460078301546115d191606491610a2d91611c4c565b905060006115e282610a54336111c9565b90506115ee3382611cdd565b6001830154600784015460408051878152602081019390935282015242606082015233907faa2be6aa3a98bc7556019a4e6c6e14e7352a24fb3cf83033d604c32b911ee4f49060800160405180910390a250505050565b6060600480546108a4906128a9565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156116d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610968565b6116e33385858403611b28565b5060019392505050565b6005546001600160a01b031633146117175760405162461bcd60e51b81526004016109689061273a565b6000908152601160205260409020600201805460ff19169055565b60008060008060006060611745876117b1565b9550611766876001600160a01b031660009081526008602052604090205490565b9450611771876111c9565b6001600160a01b038816600090815260146020908152604080832054601590925290912054919550935091506117a687611218565b905091939550919395565b6001600160a01b03811660009081526008602052604081205461093890610a5484610b36565b6000610934338484600080fd5b6005546001600160a01b0316331461180e5760405162461bcd60e51b81526004016109689061273a565b6001600160a01b0381166000908152600a602052604090205460ff1661183357600080fd5b6001600160a01b03166000908152600a60205260409020805460ff19169055565b600c546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd90606401602060405180830381600087803b1580156118a657600080fd5b505af11580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190612540565b5061112881611fa5565b6118f06123f2565b5060009081526010602090815260409182902082516101008101845281546001600160a01b0316815260018201549281019290925260028101549282019290925260038201546060820152600482015460ff1615156080820152600582015460a0820152600682015460c082015260079091015460e082015290565b6005546001600160a01b031633146119965760405162461bcd60e51b81526004016109689061273a565b60009283526011602052604090922090815560010155565b600b546001600160a01b03163314611a015760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c903a37b5b2b760511b6044820152606401610968565b6001600160a01b0382166000908152600a602052604090205460ff1615611a26575050565b611a308282611cdd565b5050565b600b546001600160a01b03163314611a875760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c903a37b5b2b760511b6044820152606401610968565b61112881611fa5565b6005546001600160a01b03163314611aba5760405162461bcd60e51b81526004016109689061273a565b6001600160a01b038116611b1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610968565b61112881611f53565b6001600160a01b038316611b8a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610968565b6001600160a01b038216611beb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610968565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611c588284612834565b9392505050565b6000611c588284612814565b6000611c588284612892565b505050565b6000818181121561093857600080fd5b600080611c9983856127bb565b905060008312158015611cac5750838112155b80611cc15750600083128015611cc157508381125b611c5857600080fd5b600080821215611cd957600080fd5b5090565b6000611ce8836111c9565b905080821115611d10576000611cfe8383611c6b565b9050611d0a84826120e0565b50505050565b80821015611c77576000611d248284611c6b565b9050611d0a8482612144565b6000611c5882846127fc565b6000611d47826117b1565b90508015611a30576001600160a01b038216600090815260086020526040902054611d729082611d30565b6001600160a01b038381166000818152600860205260409081902093909355600c54925163a9059cbb60e01b815260048101919091526024810184905291169063a9059cbb90604401602060405180830381600087803b158015611dd557600080fd5b505af1158015611de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c779190612540565b6000611e18836117b1565b90508015611c77576001600160a01b038316600090815260086020526040902054611e439082611d30565b6001600160a01b038481166000908152600860205260409081902092909255600c54600b54925163095ea7b360e01b8152928216600484015260248301849052169063095ea7b390604401602060405180830381600087803b158015611ea857600080fd5b505af1158015611ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee09190612540565b50600b54604051630b8a1ad760e21b81526001600160a01b038581166004830152602482018490526044820185905290911690632e286b5c90606401600060405180830381600087803b158015611f3657600080fd5b505af1158015611f4a573d6000803e3d6000fd5b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611fb060025490565b11611fba57600080fd5b8015611128576000611fcd826002611c5f565b90506000611fdb8383611c6b565b600c54600d5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101869052929350169063a9059cbb90604401602060405180830381600087803b15801561202d57600080fd5b505af1158015612041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120659190612540565b5061209361207260025490565b61208083600160801b611c4c565b61208a9190612814565b60065490611d30565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546120d89082611d30565b600955505050565b6120ea8282612188565b612124612105610b7583600654611c4c90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490612267565b6001600160a01b0390921660009081526007602052604090209190915550565b61214e82826122a4565b612124612169610b7583600654611c4c90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490611c8c565b6001600160a01b0382166121de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610968565b80600260008282546121f091906127fc565b90915550506001600160a01b0382166000908152602081905260408120805483929061221d9084906127fc565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000806122748385612853565b9050600083121580156122875750838113155b80611cc15750600083128015611cc15750838113611c5857600080fd5b6001600160a01b0382166123045760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610968565b6001600160a01b038216600090815260208190526040902054818110156123785760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610968565b6001600160a01b03831660009081526020819052604081208383039055600280548492906123a7908490612892565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60405180610100016040528060006001600160a01b031681526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081525090565b80356001600160a01b038116811461245957600080fd5b919050565b60006020828403121561246f578081fd5b611c5882612442565b6000806040838503121561248a578081fd5b61249383612442565b91506124a160208401612442565b90509250929050565b6000806000606084860312156124be578081fd5b6124c784612442565b92506124d560208501612442565b9150604084013590509250925092565b600080604083850312156124f7578182fd5b61250083612442565b946020939093013593505050565b600080600060608486031215612522578283fd5b61252b84612442565b95602085013595506040909401359392505050565b600060208284031215612551578081fd5b81518015158114611c58578182fd5b600060208284031215612571578081fd5b5035919050565b600060208284031215612589578081fd5b5051919050565b600080604083850312156125a2578182fd5b50508035926020909101359150565b6000806000606084860312156125c5578283fd5b505081359360208301359350604090920135919050565b6000815180845260208085019450808401835b8381101561261657612602878351612621565b6101009690960195908201906001016125ef565b509495945050505050565b60018060a01b03815116825260208101516020830152604081015160408301526060810151606083015260808101511515608083015260a081015160a083015260c081015160c083015260e081015160e08301525050565b602080825282518282018190526000919060409081850190868401855b828110156126c757815180518552868101518786015285015115158585015260609093019290850190600101612696565b5091979650505050505050565b602081526000611c5860208301846125dc565b6000602080835283518082850152825b81811015612713578581018301518582016040015282016126f7565b818111156127245783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b61010081016109388284612621565b86815285602082015284604082015283606082015282608082015260c060a082015260006127af60c08301846125dc565b98975050505050505050565b600080821280156001600160ff1b03849003851316156127dd576127dd6128f9565b600160ff1b83900384128116156127f6576127f66128f9565b50500190565b6000821982111561280f5761280f6128f9565b500190565b60008261282f57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561284e5761284e6128f9565b500290565b60008083128015600160ff1b850184121615612871576128716128f9565b6001600160ff1b038401831381161561288c5761288c6128f9565b50500390565b6000828210156128a4576128a46128f9565b500390565b600181811c908216806128bd57607f821691505b6020821081141561110d57634e487b7160e01b600052602260045260246000fd5b60006000198214156128f2576128f26128f9565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d836e1309055e57d251d13ed2b7e4ac2836fd0470f1450e05b97cb006015252a64736f6c63430008040033a264697066735822122011415d4178841af6b3432f7363ec3a49d4d96532bd10107511a2e072930ac78b64736f6c63430008040033000000000000000000000000b97ef9ef8734c71904d8002f8b6bc66dd9c48a6e

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000b97ef9ef8734c71904d8002f8b6bc66dd9c48a6e

-----Decoded View---------------
Arg [0] : usdc (address): 0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b97ef9ef8734c71904d8002f8b6bc66dd9c48a6e


Loading