Contract 0x1188772c9810CfECAc6c35fFdE41A710983b01Ec 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x32e70d13b257152d016f6d8a17ec761e18462d471de5179685c84a9d93ca653dConvert Tokens338510892022-10-02 20:38:233 days 17 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.006905315971 30.062979045
0x49cd9d0416940db351a98ab7b709714c884d090085d6204110b90ec4ce8a7076Convert Child Fa...338510832022-10-02 20:38:113 days 17 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.015014894758 30.062979045
0x0b4d6145f2d94de59e0ce63bb49a014a39c09ebbb38425e8d0b32cb1150c9118Convert Tokens337174242022-09-29 15:08:406 days 22 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.00959865793 46.192920573
0xfac52826b6bdba176487aa8f1b552401f0e2240d5da232dfb6db1e8f0063be5aConvert Child Fa...337174122022-09-29 15:08:166 days 22 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.025420986038 50.89816365
0x7f200cca727372d132a8b79134d40bb30149e111dc62e8490ab3e99d004e680eConvert Tokens330031312022-09-12 7:33:5824 days 6 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.006293850002 30.000000014
0xab7bde28b621bc1bad79c9dea54c7f5cb21d9ade096ea4568a0c10a2959938bbConvert Child Fa...330031252022-09-12 7:33:4624 days 6 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.014983440007 30.000000015
0x101fe28e7417ad83efbbb2b3ea9544e35fbdf6cf177d181af6d4b015c8d344c0Convert Tokens326255972022-09-03 5:05:1133 days 8 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.006377850003 30.000000015
0x2bee6fb75db1f2cc60aae3cdfdc93cf280b3d6a12679cd7fef7b81fc5c43db55Convert Child Fa...326255892022-09-03 5:04:5533 days 8 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.014983440007 30.000000015
0x2c827c10418329fde7929486864ec186e8b5487484e3d8b0a531bc49783c29c8Convert Tokens323765772022-08-27 12:18:1740 days 1 hr ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.007012079048 30.527782707
0x2add4461af1bf97698ed9344f1da07d85a145001cbb5059119f950416eacc3f3Convert Child Fa...323765722022-08-27 12:18:0340 days 1 hr ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.015698443398 31.431587269
0x08044352e517fe4745bcb4e5a8969d7f6562f9f74e3a6bfefb22ad6b8e98a024Convert Tokens322066522022-08-22 22:02:1044 days 15 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.007272825207 35.000000999
0x4afa34c3b3fe4e1156995cb5dce06b96dbd0522050214582a6d235103879d1a9Convert Child Fa...322066482022-08-22 22:02:0244 days 15 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.024218705692 35.000001001
0x849d0f55f6a8b3fb8ba72c071ee9754e8277697ef36bdf26f705a85b0781f568Add Child Farm T...322057842022-08-22 21:30:1244 days 16 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.005641341378 33.188656051
0x1eab3f9b4ecebdb00c3086bc759a79727974244029b2a0fc008324627f105114Convert Tokens322052012022-08-22 21:08:0044 days 16 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.008077599587 38.502345565
0x373b70b75c19ec2609e3072e42c8407f4a1381038e2175394b51f15d0cf4887dConvert Child Fa...322051892022-08-22 21:07:3644 days 16 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.023006268043 38.502345565
0x3d81506db381140856190d6ed77a180f9f9ff5fe86ed2648a90d3e919bd56849Convert Child Fa...317322962022-08-10 12:52:4657 days 1 hr ago0x4274a49fbeb724d75b8ba7bfc55fc8495a15ad1e IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.109491077137 213.096016118
0xd5b30a0136aa537898769d59822b27fee27ed4cbd77d738d903301bccc81a557Convert Tokens315278512022-08-04 23:27:2362 days 14 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.006313075358 30.091638783
0xd95506df1ae3376041198ee073ed97469ae92cf0a0c3269ee99395701fd353c1Convert Child Fa...315278392022-08-04 23:26:5962 days 14 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.02075754344 30.091638783
0x7e0b16e47e5e7c2f9b7ee9e2a5eb3159c496d352a29a051378337a925a4e251bConvert Tokens313922962022-08-01 11:51:3466 days 2 hrs ago0x10855704d1dde09d90c0d1afee4e1e6626e45bb7 IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.006377850006 30.00000003
0x52a76914cc5765de35fde8cc3d8ea06b1e5bf7e48e5042f02ad69b745ade4105Convert Child Fa...313922872022-08-01 11:51:1666 days 2 hrs ago0x10855704d1dde09d90c0d1afee4e1e6626e45bb7 IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.023705550027 30.000000035
0x452540afee05834e046158582455ec762d06e20193f771f18a0777a6905be290Convert Tokens312288202022-07-28 8:04:3370 days 5 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.0114847550
0x12629771740232f38b0fccf45a34943524c3e0fa5f4416d25d03c28c7227fcb0Convert Child Fa...312288182022-07-28 8:04:2570 days 5 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.0395092550
0xcabfdbc7a516d2c43fa8b35e5ab21d66d25cd90e82683ef979e00f21efd85ee8Convert Tokens311896812022-07-27 8:12:2771 days 5 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.0103897550
0x43eb29b88fb9777650a2e0afcdeb282e7f7c2186a71e398bc33804eed7edad91Convert Child Fa...311896772022-07-27 8:12:1971 days 5 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.0395092550
0xe7efb90f9a84b574da790d1345a6b2e1b0993b38f09deb4682c1721190d73cb2Convert Tokens311488972022-07-26 6:49:3572 days 7 hrs ago0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a IN  0x1188772c9810cfecac6c35ffde41a710983b01ec0 MATIC0.0106297550
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniversalConverter

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : UniversalConverter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;

import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "interfaces/IUniswapV2Factory.sol";
import "interfaces/IUniswapV2Router.sol";
import "interfaces/IUniswapV2Pair.sol";
import "hardhat/console.sol";

contract UniversalConverter is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeMath for uint16;
    using SafeERC20 for IERC20;
    using Address for address;

    struct TokenInfo {
        IERC20 token; // Address of the token contract.
        address[] pathToYGN;
        IUniswapV2Router router;
    }

    struct ChildFarmTokenInfo {
        IERC20 childFarmToken; // Address of the child token contract.
        address[] pathToCommonToken;
        IUniswapV2Router router;
    }

    struct LPTokenInfo {
        IERC20 lpToken; // Address of the LP token contract.
    }

    // The YGN TOKEN!
    IERC20 public ygn;

    address public fYGNBurner;
    uint16 public burnerAllocation;

    address public ygnStaker;
    uint16 public stakersAllocation;

    address public platformAddr;
    uint16 public platformFeesAllocation;

    address public treasury;
    uint16 public treasuryAllocation;

    TokenInfo[] public tokenInfo;
    mapping(IERC20 => uint256) public tokenIndexes;

    ChildFarmTokenInfo[] public childFarmTokenInfo;
    mapping(IERC20 => uint256) public childFarmTokenIndexes;

    LPTokenInfo[] public lpTokenInfo;
    mapping(IERC20 => uint256) public lpTokenIndexes;

    uint256 private constant DEADLINE =
        0xf000000000000000000000000000000000000000000000000000000000000000;

    event YGNConverted(
        uint256 burnerAllocated,
        uint256 stakersAllocated,
        uint256 platformFees,
        uint256 treasuryAllocated
    );

    modifier ensureNonZeroAddress(address addressToCheck) {
        require(addressToCheck != address(0), "No zero address");
        _;
    }

    modifier ensureValidRouter(IUniswapV2Router router) {
        require(address(router) != address(0), "No zero address");
        require(
            address(IUniswapV2Factory(router.factory())) != address(0),
            "Invalid Factory address"
        );
        _;
    }

    modifier validateToken(IERC20 token) {
        require(
            tokenIndexes[token] < tokenInfo.length && tokenIndexes[token] > 0,
            "Token does not exist"
        );
        _;
    }

    modifier validateChildFarmToken(IERC20 childFarmToken) {
        require(
            childFarmTokenIndexes[childFarmToken] < childFarmTokenInfo.length &&
                childFarmTokenIndexes[childFarmToken] > 0,
            "Child Farm Token does not exist"
        );
        _;
    }

    modifier validateLPToken(IERC20 lpToken) {
        require(
            lpTokenIndexes[lpToken] < lpTokenInfo.length && lpTokenIndexes[lpToken] > 0,
            "LP Token does not exist"
        );
        _;
    }

    constructor(
        IERC20 _ygn,
        address _fYGNBurner,
        uint16 _burnerAllocation,
        address _ygnStaker,
        uint16 _stakersAllocation,
        address _platformAddr,
        uint16 _platformFeesAllocation,
        address _treasury,
        uint16 _treasuryAllocation
    ) {
        ygn = _ygn;
        fYGNBurner = _fYGNBurner;
        ygnStaker = _ygnStaker;
        platformAddr = _platformAddr;
        treasury = _treasury;
        setAllocation(
            _burnerAllocation,
            _stakersAllocation,
            _platformFeesAllocation,
            _treasuryAllocation
        );
        //Filling filler tokens
        address[] memory path = new address[](2);
        tokenInfo.push(
            TokenInfo({
                token: IERC20(address(0)),
                pathToYGN: path,
                router: IUniswapV2Router(address(0))
            })
        );
        childFarmTokenInfo.push(
            ChildFarmTokenInfo({
                childFarmToken: IERC20(address(0)),
                pathToCommonToken: path,
                router: IUniswapV2Router(address(0))
            })
        );
        lpTokenInfo.push(LPTokenInfo({lpToken: IERC20(address(0))}));
    }

    //Only Owner Functions

    // Set the allocation to handle accumulated swap fees
    function setAllocation(
        uint16 _burnerAllocation,
        uint16 _stakersAllocation,
        uint16 _platformFeesAllocation,
        uint16 _treasuryAllocation
    ) public onlyOwner {
        require(
            _burnerAllocation +
                _stakersAllocation +
                _platformFeesAllocation +
                _treasuryAllocation ==
                1000,
            "invalid allocations"
        );
        burnerAllocation = _burnerAllocation;
        stakersAllocation = _stakersAllocation;
        platformFeesAllocation = _platformFeesAllocation;
        treasuryAllocation = _treasuryAllocation;
    }

    // Can be used by the owner to update the fYGN burner
    function updatefYGNBurner(address _fYGNBurner)
        external
        onlyOwner
        ensureNonZeroAddress(_fYGNBurner)
    {
        fYGNBurner = _fYGNBurner;
    }

    // Can be used by the owner to update the address for the YGNStaker
    function updateYGNStaker(address _ygnStaker)
        external
        onlyOwner
        ensureNonZeroAddress(_ygnStaker)
    {
        ygnStaker = _ygnStaker;
    }

    // Can be used by the owner to update the platformAddress
    function updatePlatformAddress(address _platformAddr)
        external
        onlyOwner
        ensureNonZeroAddress(_platformAddr)
    {
        platformAddr = _platformAddr;
    }

    // Can be used by the owner to update the address for the treasury
    function updateTreasury(address _treasury) external onlyOwner ensureNonZeroAddress(_treasury) {
        treasury = _treasury;
    }

    /**
     * @notice Update YGN address
     * @param _ygn YGN token address
     */
    function updateYGN(IERC20 _ygn) external onlyOwner ensureNonZeroAddress(address(_ygn)) {
        ygn = _ygn;
    }

    function addTokenDetails(
        IERC20 _token,
        address[] calldata _pathToYGN,
        IUniswapV2Router _router
    ) external onlyOwner ensureNonZeroAddress(address(_token)) ensureValidRouter(_router) {
        require(tokenIndexes[_token] == 0, "Token Already Added");
        require(address(_token) != address(ygn), "Token Address should not be YGN");
        require(_pathToYGN.length >= 2, "Path to YGN is incorrrect/empty");
        require(_pathToYGN[_pathToYGN.length - 1] == address(ygn), "Path should convert to YGN");

        tokenIndexes[_token] = tokenInfo.length;
        tokenInfo.push(TokenInfo({token: _token, pathToYGN: _pathToYGN, router: _router}));
    }

    function updateTokenPathToYGN(IERC20 _token, address[] calldata _pathToYGN)
        external
        onlyOwner
        ensureNonZeroAddress(address(_token))
        validateToken(_token)
    {
        require(_pathToYGN.length >= 2, "Path to YGN is incorrrect/empty");
        require(_pathToYGN[_pathToYGN.length - 1] == address(ygn), "Path should convert to YGN");

        TokenInfo storage tokenDetails = tokenInfo[tokenIndexes[_token]];
        tokenDetails.pathToYGN = _pathToYGN;
    }

    function updateTokenRouter(IERC20 _token, IUniswapV2Router _router)
        external
        onlyOwner
        ensureNonZeroAddress(address(_token))
        ensureValidRouter(_router)
        validateToken(_token)
    {
        TokenInfo storage tokenDetails = tokenInfo[tokenIndexes[_token]];
        tokenDetails.router = _router;
    }

    function addChildFarmTokenDetails(
        IERC20 _childFarmToken,
        address[] calldata _pathToCommonToken,
        IUniswapV2Router _router
    ) external onlyOwner ensureNonZeroAddress(address(_childFarmToken)) ensureValidRouter(_router) {
        require(childFarmTokenIndexes[_childFarmToken] == 0, "Child Farm Token Already Added");
        require(address(_childFarmToken) != address(ygn), "Token Address should not be YGN");
        require(_pathToCommonToken.length >= 2, "Path to common token is incorrrect/empty");

        childFarmTokenIndexes[_childFarmToken] = childFarmTokenInfo.length;
        childFarmTokenInfo.push(
            ChildFarmTokenInfo({
                childFarmToken: _childFarmToken,
                pathToCommonToken: _pathToCommonToken,
                router: _router
            })
        );
    }

    function updateChildFarmTokenPathToCommonToken(
        IERC20 _childFarmToken,
        address[] calldata _pathToCommonToken
    )
        external
        onlyOwner
        ensureNonZeroAddress(address(_childFarmToken))
        validateChildFarmToken(_childFarmToken)
    {
        require(_pathToCommonToken.length >= 2, "Path to common token is incorrrect/empty");

        ChildFarmTokenInfo storage childFarmTokenDetails = childFarmTokenInfo[
            childFarmTokenIndexes[_childFarmToken]
        ];
        childFarmTokenDetails.pathToCommonToken = _pathToCommonToken;
    }

    function updateChildFarmTokenRouter(IERC20 _childFarmToken, IUniswapV2Router _router)
        external
        onlyOwner
        ensureNonZeroAddress(address(_childFarmToken))
        ensureValidRouter(_router)
        validateChildFarmToken(_childFarmToken)
    {
        ChildFarmTokenInfo storage childFarmTokenDetails = childFarmTokenInfo[
            childFarmTokenIndexes[_childFarmToken]
        ];
        childFarmTokenDetails.router = _router;
    }

    function addLPTokenDetails(IERC20 _lpToken)
        external
        onlyOwner
        ensureNonZeroAddress(address(_lpToken))
    {
        require(address(_lpToken) != address(ygn), "Token Address should not be YGN");
        require(lpTokenIndexes[_lpToken] == 0, "LP Token Already Added");

        lpTokenIndexes[_lpToken] = lpTokenInfo.length;
        lpTokenInfo.push(LPTokenInfo({lpToken: _lpToken}));
    }

    function rescueFunds(address token) external onlyOwner nonReentrant {
        uint256 balance = IERC20(token).balanceOf(address(this));
        require(balance > 0, "Insufficient token balance");
        IERC20(token).safeTransfer(owner(), balance);
    }

    //View Functions

    function totalTokens() external view returns (uint256) {
        return tokenInfo.length;
    }

    function totalChildFarmTokens() external view returns (uint256) {
        return childFarmTokenInfo.length;
    }

    function totalLPTokens() external view returns (uint256) {
        return lpTokenInfo.length;
    }

    //Public Functions

    function convertToken(IERC20 _token)
        external
        nonReentrant
        ensureNonZeroAddress(address(_token))
        validateToken(_token)
    {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");
        TokenInfo storage tokenDetails = tokenInfo[tokenIndexes[_token]];
        address[] memory pathToYGN = tokenDetails.pathToYGN;
        if (tokenDetails.token.balanceOf(address(this)) > 0) {
            require(
                pathToYGN[pathToYGN.length - 1] == address(ygn),
                "Token should only be swapped to YGN"
            );
            _swapToken(address(tokenDetails.token), pathToYGN, tokenDetails.router);
            _allocateYGN();
        }
    }

    /**
    @notice convertToYGN is used to convert tokens received by the converter contract to YGN.
    It uses the Router to convert the ERC20 tokens to YGN. The YGN accumulated is used to allocate to different contracts as per their allocation share.
    */
    function convertTokens() external nonReentrant {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");
        for (uint256 i = 1; i < tokenInfo.length; i++) {
            TokenInfo storage tokenDetails = tokenInfo[i];
            address[] memory pathToYGN = tokenDetails.pathToYGN;
            if (tokenDetails.token.balanceOf(address(this)) > 0) {
                require(
                    pathToYGN[pathToYGN.length - 1] == address(ygn),
                    "Token should only be swapped to YGN"
                );
                _swapToken(address(tokenDetails.token), pathToYGN, tokenDetails.router);
            }
        }
        _allocateYGN();
    }

    /**
    @notice convertChildToken is used to convert child tokens received by the converter contract to the token provided in the path.
    */
    function convertChildFarmToken(IERC20 _childFarmToken)
        public
        nonReentrant
        ensureNonZeroAddress(address(_childFarmToken))
        validateChildFarmToken(_childFarmToken)
    {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");

        ChildFarmTokenInfo storage childFarmTokenDetails = childFarmTokenInfo[
            childFarmTokenIndexes[_childFarmToken]
        ];
        if (childFarmTokenDetails.childFarmToken.balanceOf(address(this)) > 0) {
            _swapToken(
                address(childFarmTokenDetails.childFarmToken),
                childFarmTokenDetails.pathToCommonToken,
                childFarmTokenDetails.router
            );
        }
    }

    /**
    @notice convertChildToken is used to convert child tokens received by the converter contract to the token provided in the path.
    */
    function convertChildFarmTokens() external nonReentrant {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");

        for (uint256 i = 1; i < childFarmTokenInfo.length; i++) {
            ChildFarmTokenInfo storage childFarmTokenDetails = childFarmTokenInfo[i];
            if (childFarmTokenDetails.childFarmToken.balanceOf(address(this)) > 0) {
                _swapToken(
                    address(childFarmTokenDetails.childFarmToken),
                    childFarmTokenDetails.pathToCommonToken,
                    childFarmTokenDetails.router
                );
            }
        }
    }

    function convertLPToken(IERC20 _lpToken)
        public
        nonReentrant
        ensureNonZeroAddress(address(_lpToken))
        validateLPToken(_lpToken)
    {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");
        LPTokenInfo storage lpTokenDetails = lpTokenInfo[lpTokenIndexes[_lpToken]];
        if (lpTokenDetails.lpToken.balanceOf(address(this)) > 0) {
            IUniswapV2Pair pair = IUniswapV2Pair(address(lpTokenDetails.lpToken));
            require(address(pair) != address(0), "Invalid pair");
            _safeTransfer(address(pair), address(pair), pair.balanceOf(address(this)));
            pair.burn(address(this));
        }
    }

    function convertLPTokens() external nonReentrant {
        // At least we try to make front-running harder to do.
        require(msg.sender == tx.origin, "do not convert from contract");

        for (uint256 i = 1; i < lpTokenInfo.length; i++) {
            LPTokenInfo storage lpTokenDetails = lpTokenInfo[i];
            if (lpTokenDetails.lpToken.balanceOf(address(this)) > 0) {
                IUniswapV2Pair pair = IUniswapV2Pair(address(lpTokenDetails.lpToken));
                require(address(pair) != address(0), "Invalid pair");
                _safeTransfer(address(pair), address(pair), pair.balanceOf(address(this)));
                pair.burn(address(this));
            }
        }
    }

    //Internal Functions

    /**
    @notice This function is used to swap ERC20 <> ERC20
    @param token The token address to swap from.
    @param path The path to take for the token swap
    @param router The router contract to be used for the token swap
    */
    function _swapToken(
        address token,
        address[] memory path,
        IUniswapV2Router router
    ) internal {
        uint256 tokenBalance = IERC20(token).balanceOf(address(this));
        require(tokenBalance > 0, "Contract should have token balance greater than 0");
        IERC20(token).safeApprove(address(router), 0);
        IERC20(token).safeApprove(address(router), tokenBalance);

        uint256 swappedAmount = router.swapExactTokensForTokens(
            tokenBalance,
            1,
            path,
            address(this),
            DEADLINE
        )[path.length - 1];

        require(swappedAmount > 0, "Error in Swapping Tokens");
    }

    /*
    Internal method used by the converter to allocate swapped/converted YGN 
    to different contracts as per their allocation share.
    */
    function _allocateYGN() internal {
        uint256 totalYGNAccumulated = IERC20(ygn).balanceOf(address(this));
        if (totalYGNAccumulated > 0) {
            ygn.safeTransfer(fYGNBurner, totalYGNAccumulated.mul(burnerAllocation).div(1000));
            ygn.safeTransfer(ygnStaker, totalYGNAccumulated.mul(stakersAllocation).div(1000));
            ygn.safeTransfer(
                platformAddr,
                totalYGNAccumulated.mul(platformFeesAllocation).div(1000)
            );
            ygn.safeTransfer(treasury, totalYGNAccumulated.mul(treasuryAllocation).div(1000));
            emit YGNConverted(
                totalYGNAccumulated.mul(burnerAllocation).div(1000),
                totalYGNAccumulated.mul(stakersAllocation).div(1000),
                totalYGNAccumulated.mul(platformFeesAllocation).div(1000),
                totalYGNAccumulated.mul(treasuryAllocation).div(1000)
            );
        }
    }

    // Wrapper for safeTransfer
    function _safeTransfer(
        address token,
        address to,
        uint256 amount
    ) internal {
        IERC20(token).safeTransfer(to, amount);
    }
}

File 2 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 12 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 6 of 12 : IUniswapV2Router.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

interface IUniswapV2Router {
    function factory() external view returns (address);

    function WETH() external view returns (address);

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

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

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

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

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

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : IUniswapV2Pair.sol
//SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;

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

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

    event 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 8 of 12 : 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 9 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 10 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 11 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_ygn","type":"address"},{"internalType":"address","name":"_fYGNBurner","type":"address"},{"internalType":"uint16","name":"_burnerAllocation","type":"uint16"},{"internalType":"address","name":"_ygnStaker","type":"address"},{"internalType":"uint16","name":"_stakersAllocation","type":"uint16"},{"internalType":"address","name":"_platformAddr","type":"address"},{"internalType":"uint16","name":"_platformFeesAllocation","type":"uint16"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint16","name":"_treasuryAllocation","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"burnerAllocated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakersAllocated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"platformFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryAllocated","type":"uint256"}],"name":"YGNConverted","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"_childFarmToken","type":"address"},{"internalType":"address[]","name":"_pathToCommonToken","type":"address[]"},{"internalType":"contract IUniswapV2Router","name":"_router","type":"address"}],"name":"addChildFarmTokenDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"addLPTokenDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address[]","name":"_pathToYGN","type":"address[]"},{"internalType":"contract IUniswapV2Router","name":"_router","type":"address"}],"name":"addTokenDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnerAllocation","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"childFarmTokenIndexes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"childFarmTokenInfo","outputs":[{"internalType":"contract IERC20","name":"childFarmToken","type":"address"},{"internalType":"contract IUniswapV2Router","name":"router","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_childFarmToken","type":"address"}],"name":"convertChildFarmToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"convertChildFarmTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"convertLPToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"convertLPTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"convertToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"convertTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fYGNBurner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"lpTokenIndexes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lpTokenInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformFeesAllocation","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnerAllocation","type":"uint16"},{"internalType":"uint16","name":"_stakersAllocation","type":"uint16"},{"internalType":"uint16","name":"_platformFeesAllocation","type":"uint16"},{"internalType":"uint16","name":"_treasuryAllocation","type":"uint16"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakersAllocation","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"tokenIndexes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"contract IUniswapV2Router","name":"router","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalChildFarmTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLPTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryAllocation","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_childFarmToken","type":"address"},{"internalType":"address[]","name":"_pathToCommonToken","type":"address[]"}],"name":"updateChildFarmTokenPathToCommonToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_childFarmToken","type":"address"},{"internalType":"contract IUniswapV2Router","name":"_router","type":"address"}],"name":"updateChildFarmTokenRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_platformAddr","type":"address"}],"name":"updatePlatformAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address[]","name":"_pathToYGN","type":"address[]"}],"name":"updateTokenPathToYGN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IUniswapV2Router","name":"_router","type":"address"}],"name":"updateTokenRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"updateTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_ygn","type":"address"}],"name":"updateYGN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ygnStaker","type":"address"}],"name":"updateYGNStaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fYGNBurner","type":"address"}],"name":"updatefYGNBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ygn","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ygnStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620046633803806200466383398181016040526101208110156200003857600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e08801516101009098015196979596949593949293919290919060006200008062000346565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03199081166001600160a01b038c8116919091179092556003805482168b84161790556004805482168984161790556005805482168784161790556006805490911691841691909117905562000132878685846200034a565b60408051600280825260608201835260009260208301908036833750506040805160608101825260008082526020808301868152938301829052600780546001810182559252825160039092027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180546001600160a01b039094166001600160a01b0319909416939093178355935180519697509295919450620001fd937fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c689019201906200048b565b50604091820151600290910180546001600160a01b039283166001600160a01b031991821617909155825160608101845260008082526020808301878152958301829052600980546001810182559252825160039092027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af810180549390961692909416919091178455935180519194620002be937f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b001929101906200048b565b50604091820151600290910180546001600160a01b039283166001600160a01b0319918216179091558251602081019093526000808452600b8054600181018255915292517f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db99093018054939092169216919091179055506200050c98505050505050505050565b3390565b6200035462000346565b6001600160a01b0316620003676200047c565b6001600160a01b031614620003c3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8082848601010161ffff166103e81462000424576040805162461bcd60e51b815260206004820152601360248201527f696e76616c696420616c6c6f636174696f6e7300000000000000000000000000604482015290519081900360640190fd5b6003805461ffff958616600160a01b90810261ffff60a01b1992831617909255600480549587168302958216959095179094556005805493861682029385169390931790925560068054919094169091029116179055565b6000546001600160a01b031690565b828054828255906000526020600020908101928215620004e3579160200282015b82811115620004e357825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620004ac565b50620004f1929150620004f5565b5090565b5b80821115620004f15760008155600101620004f6565b614147806200051c6000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80637f51bb1f11610146578063c84f877d116100c3578063e3b682ea11610087578063e3b682ea146107b0578063e53b2017146107de578063e641a36d14610804578063ef6283d91461080c578063f2fde38b14610814578063f66f780b1461083a57610253565b8063c84f877d14610687578063cc33c87514610705578063dda458c814610722578063df71ad75146107a0578063e3214e24146107a857610253565b80638f9f193f1161010a5780638f9f193f14610555578063916e8a571461057b5780639b288b25146105a1578063a6bac301146105c7578063a903e8f21461060057610253565b80637f51bb1f146104fa5780638c8e2478146105205780638ca65a97146105285780638da5cb5b146105455780638e212f4c1461054d57610253565b80634a142314116101d457806352633c0c1161019857806352633c0c146104965780635baafa91146104bc57806361d027b3146104e2578063715018a6146104ea5780637e1c0c09146104f257610253565b80634a142314146104315780634f3147ba146104395780634f71da62146104585780634f937dfc1461046057806351cb5d511461048e57610253565b80632576c6eb1161021b5780632576c6eb146103325780632d4c80961461033a57806345ddc7141461035e578063467d5ccb146103e557806346e54efd1461040b57610253565b806303a510b01461025857806304bc3b1c146102a45780631415877a146102dc5780631d1f3dbb146103045780631d6b54841461030c575b600080fd5b6102756004803603602081101561026e57600080fd5b5035610860565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b6102ca600480360360208110156102ba57600080fd5b50356001600160a01b0316610899565b60408051918252519081900360200190f35b610302600480360360208110156102f257600080fd5b50356001600160a01b03166108ab565b005b610302610a91565b6102ca6004803603602081101561032257600080fd5b50356001600160a01b0316610c54565b610302610c66565b610342610edf565b604080516001600160a01b039092168252519081900360200190f35b6103026004803603606081101561037457600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561039e57600080fd5b8201836020820111156103b057600080fd5b803590602001918460208302840111600160201b831117156103d157600080fd5b9193509150356001600160a01b0316610eee565b610302600480360360208110156103fb57600080fd5b50356001600160a01b03166112a8565b6103026004803603602081101561042157600080fd5b50356001600160a01b031661154c565b61034261161b565b61044161162a565b6040805161ffff9092168252519081900360200190f35b61044161163b565b6103026004803603604081101561047657600080fd5b506001600160a01b038135811691602001351661164c565b6103426118fc565b6102ca600480360360208110156104ac57600080fd5b50356001600160a01b031661190b565b610302600480360360208110156104d257600080fd5b50356001600160a01b031661191d565b610342611c4e565b610302611c5d565b6102ca611d09565b6103026004803603602081101561051057600080fd5b50356001600160a01b0316611d0f565b610302611dde565b6103426004803603602081101561053e57600080fd5b503561201c565b610342612046565b6102ca612055565b6103026004803603602081101561056b57600080fd5b50356001600160a01b031661205b565b6103026004803603602081101561059157600080fd5b50356001600160a01b031661212a565b610302600480360360208110156105b757600080fd5b50356001600160a01b0316612442565b610302600480360360808110156105dd57600080fd5b5061ffff8135811691602081013582169160408201358116916060013516612511565b6103026004803603606081101561061657600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561064057600080fd5b82018360208201111561065257600080fd5b803590602001918460208302840111600160201b8311171561067357600080fd5b9193509150356001600160a01b0316612621565b6103026004803603604081101561069d57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156106c757600080fd5b8201836020820111156106d957600080fd5b803590602001918460208302840111600160201b831117156106fa57600080fd5b509092509050612a3c565b6102756004803603602081101561071b57600080fd5b5035612c0c565b6103026004803603604081101561073857600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561076257600080fd5b82018360208201111561077457600080fd5b803590602001918460208302840111600160201b8311171561079557600080fd5b509092509050612c1c565b610441612e57565b610342612e68565b610302600480360360408110156107c657600080fd5b506001600160a01b0381358116916020013516612e77565b610302600480360360208110156107f457600080fd5b50356001600160a01b03166130e5565b610441613280565b6102ca613291565b6103026004803603602081101561082a57600080fd5b50356001600160a01b0316613297565b6103026004803603602081101561085057600080fd5b50356001600160a01b0316613399565b6009818154811061087057600080fd5b6000918252602090912060039091020180546002909101546001600160a01b0391821692501682565b60086020526000908152604090205481565b6108b3613468565b6001600160a01b03166108c4612046565b6001600160a01b03161461090d576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b038116610957576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b6002546001600160a01b03838116911614156109ba576040805162461bcd60e51b815260206004820152601f60248201527f546f6b656e20416464726573732073686f756c64206e6f742062652059474e00604482015290519081900360640190fd5b6001600160a01b0382166000908152600c602052604090205415610a1e576040805162461bcd60e51b8152602060048201526016602482015275131408151bdad95b88105b1c9958591e48105919195960521b604482015290519081900360640190fd5b50600b80546001600160a01b039283166000818152600c60209081526040808320859055805191820190529182526001830184559290925290517f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990910180546001600160a01b03191691909216179055565b60026001541415610ad7576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155333214610b1e576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b60015b600954811015610c4d57600060098281548110610b3a57fe5b6000918252602080832060039092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b158015610b9357600080fd5b505afa158015610ba7573d6000803e3d6000fd5b505050506040513d6020811015610bbd57600080fd5b50511115610c4457805460018201805460408051602080840282018101909252828152610c44946001600160a01b03169390929091830182828015610c2b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c0d575b5050505060028501546001600160a01b0316905061346c565b50600101610b21565b5060018055565b600a6020526000908152604090205481565b60026001541415610cac576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155333214610cf3576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b60015b600b54811015610c4d576000600b8281548110610d0f57fe5b600091825260208083209091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b158015610d6357600080fd5b505afa158015610d77573d6000803e3d6000fd5b505050506040513d6020811015610d8d57600080fd5b50511115610ed65780546001600160a01b031680610de1576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b610e648182836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e3357600080fd5b505afa158015610e47573d6000803e3d6000fd5b505050506040513d6020811015610e5d57600080fd5b505161373e565b6040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015610ea857600080fd5b505af1158015610ebc573d6000803e3d6000fd5b505050506040513d6040811015610ed257600080fd5b5050505b50600101610cf6565b6005546001600160a01b031681565b610ef6613468565b6001600160a01b0316610f07612046565b6001600160a01b031614610f50576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b836001600160a01b038116610f9a576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b816001600160a01b038116610fe4576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b60006001600160a01b0316816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561102857600080fd5b505afa15801561103c573d6000803e3d6000fd5b505050506040513d602081101561105257600080fd5b50516001600160a01b031614156110aa576040805162461bcd60e51b8152602060048201526017602482015276496e76616c696420466163746f7279206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0386166000908152600a602052604090205415611115576040805162461bcd60e51b815260206004820152601e60248201527f4368696c64204661726d20546f6b656e20416c72656164792041646465640000604482015290519081900360640190fd5b6002546001600160a01b0387811691161415611178576040805162461bcd60e51b815260206004820152601f60248201527f546f6b656e20416464726573732073686f756c64206e6f742062652059474e00604482015290519081900360640190fd5b60028410156111b85760405162461bcd60e51b81526004018080602001828103825260288152602001806140b46028913960400191505060405180910390fd5b600980546001600160a01b0388166000818152600a602090815260409182902093909355805160608101825291825280518884028181018501909252888152919283810192918a918a91829185019084908082843760009201829052509385525050506001600160a01b0387811660209384015284546001808201875595835291839020845160039093020180546001600160a01b031916929091169190911781558282015180519394919361127693928501929190910190613e7b565b5060409190910151600290910180546001600160a01b0319166001600160a01b03909216919091179055505050505050565b600260015414156112ee576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155806001600160a01b03811661133d576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b6009546001600160a01b0383166000908152600a6020526040902054839111801561137f57506001600160a01b0381166000908152600a602052604090205415155b6113d0576040805162461bcd60e51b815260206004820152601f60248201527f4368696c64204661726d20546f6b656e20646f6573206e6f7420657869737400604482015290519081900360640190fd5b333214611412576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152600a602052604081205460098054909190811061143a57fe5b6000918252602080832060039092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b15801561149357600080fd5b505afa1580156114a7573d6000803e3d6000fd5b505050506040513d60208110156114bd57600080fd5b5051111561154257805460018201805460408051602080840282018101909252828152611542946001600160a01b03169390929091830182828015610c2b576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311610c0d575050505060028501546001600160a01b0316905061346c565b5050600180555050565b611554613468565b6001600160a01b0316611565612046565b6001600160a01b0316146115ae576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b0381166115f8576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b50600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b600654600160a01b900461ffff1681565b600354600160a01b900461ffff1681565b611654613468565b6001600160a01b0316611665612046565b6001600160a01b0316146116ae576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b816001600160a01b0381166116f8576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b816001600160a01b038116611742576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b60006001600160a01b0316816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561178657600080fd5b505afa15801561179a573d6000803e3d6000fd5b505050506040513d60208110156117b057600080fd5b50516001600160a01b03161415611808576040805162461bcd60e51b8152602060048201526017602482015276496e76616c696420466163746f7279206164647265737360481b604482015290519081900360640190fd5b6009546001600160a01b0385166000908152600a6020526040902054859111801561184a57506001600160a01b0381166000908152600a602052604090205415155b61189b576040805162461bcd60e51b815260206004820152601f60248201527f4368696c64204661726d20546f6b656e20646f6573206e6f7420657869737400604482015290519081900360640190fd5b6001600160a01b0385166000908152600a60205260408120546009805490919081106118c357fe5b6000918252602090912060039091020160020180546001600160a01b0319166001600160a01b0396909616959095179094555050505050565b6002546001600160a01b031681565b600c6020526000908152604090205481565b60026001541415611963576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155806001600160a01b0381166119b2576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b600b546001600160a01b0383166000908152600c602052604090205483911180156119f457506001600160a01b0381166000908152600c602052604090205415155b611a45576040805162461bcd60e51b815260206004820152601760248201527f4c5020546f6b656e20646f6573206e6f74206578697374000000000000000000604482015290519081900360640190fd5b333214611a87576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152600c6020526040812054600b80549091908110611aaf57fe5b600091825260208083209091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116926370a0823192602480840193829003018186803b158015611b0357600080fd5b505afa158015611b17573d6000803e3d6000fd5b505050506040513d6020811015611b2d57600080fd5b505111156115425780546001600160a01b031680611b81576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b611bd38182836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e3357600080fd5b6040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015611c1757600080fd5b505af1158015611c2b573d6000803e3d6000fd5b505050506040513d6040811015611c4157600080fd5b5050505050600180555050565b6006546001600160a01b031681565b611c65613468565b6001600160a01b0316611c76612046565b6001600160a01b031614611cbf576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60075490565b611d17613468565b6001600160a01b0316611d28612046565b6001600160a01b031614611d71576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b038116611dbb576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b60026001541415611e24576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155333214611e6b576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b60015b60075481101561200d57600060078281548110611e8757fe5b90600052602060002090600302019050600081600101805480602002602001604051908101604052809291908181526020018280548015611ef157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611ed3575b50508554604080516370a0823160e01b815230600482015290519596506000956001600160a01b0390921694506370a0823193506024808201935060209291829003018186803b158015611f4457600080fd5b505afa158015611f58573d6000803e3d6000fd5b505050506040513d6020811015611f6e57600080fd5b505111156120035760025481516001600160a01b039091169082906000198101908110611f9757fe5b60200260200101516001600160a01b031614611fe45760405162461bcd60e51b81526004018080602001828103825260238152602001806140276023913960400191505060405180910390fd5b81546002830154612003916001600160a01b039081169184911661346c565b5050600101611e6e565b50612016613757565b60018055565b600b818154811061202c57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031690565b60095490565b612063613468565b6001600160a01b0316612074612046565b6001600160a01b0316146120bd576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b038116612107576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b60026001541415612170576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155806001600160a01b0381166121bf576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b6007546001600160a01b038316600090815260086020526040902054839111801561220157506001600160a01b03811660009081526008602052604090205415155b612249576040805162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b604482015290519081900360640190fd5b33321461228b576040805162461bcd60e51b815260206004820152601c602482015260008051602061406a833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152600860205260408120546007805490919081106122b357fe5b9060005260206000209060030201905060008160010180548060200260200160405190810160405280929190818152602001828054801561231d57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116122ff575b50508554604080516370a0823160e01b815230600482015290519596506000956001600160a01b0390921694506370a0823193506024808201935060209291829003018186803b15801561237057600080fd5b505afa158015612384573d6000803e3d6000fd5b505050506040513d602081101561239a57600080fd5b505111156124375760025481516001600160a01b0390911690829060001981019081106123c357fe5b60200260200101516001600160a01b0316146124105760405162461bcd60e51b81526004018080602001828103825260238152602001806140276023913960400191505060405180910390fd5b8154600283015461242f916001600160a01b039081169184911661346c565b612437613757565b505060018055505050565b61244a613468565b6001600160a01b031661245b612046565b6001600160a01b0316146124a4576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b0381166124ee576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b50600380546001600160a01b0319166001600160a01b0392909216919091179055565b612519613468565b6001600160a01b031661252a612046565b6001600160a01b031614612573576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b8082848601010161ffff166103e8146125c9576040805162461bcd60e51b8152602060048201526013602482015272696e76616c696420616c6c6f636174696f6e7360681b604482015290519081900360640190fd5b6003805461ffff958616600160a01b90810261ffff60a01b1992831617909255600480549587168302958216959095179094556005805493861682029385169390931790925560068054919094169091029116179055565b612629613468565b6001600160a01b031661263a612046565b6001600160a01b031614612683576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b836001600160a01b0381166126cd576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b816001600160a01b038116612717576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b60006001600160a01b0316816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561275b57600080fd5b505afa15801561276f573d6000803e3d6000fd5b505050506040513d602081101561278557600080fd5b50516001600160a01b031614156127dd576040805162461bcd60e51b8152602060048201526017602482015276496e76616c696420466163746f7279206164647265737360481b604482015290519081900360640190fd5b6001600160a01b0386166000908152600860205260409020541561283e576040805162461bcd60e51b8152602060048201526013602482015272151bdad95b88105b1c9958591e481059191959606a1b604482015290519081900360640190fd5b6002546001600160a01b03878116911614156128a1576040805162461bcd60e51b815260206004820152601f60248201527f546f6b656e20416464726573732073686f756c64206e6f742062652059474e00604482015290519081900360640190fd5b60028410156128f7576040805162461bcd60e51b815260206004820152601f60248201527f5061746820746f2059474e20697320696e636f7272726563742f656d70747900604482015290519081900360640190fd5b6002546001600160a01b03168585600019810181811061291357fe5b905060200201356001600160a01b03166001600160a01b03161461297e576040805162461bcd60e51b815260206004820152601a60248201527f506174682073686f756c6420636f6e7665727420746f2059474e000000000000604482015290519081900360640190fd5b600780546001600160a01b03881660008181526008602090815260409182902093909355805160608101825291825280518884028181018501909252888152919283810192918a918a91829185019084908082843760009201829052509385525050506001600160a01b0387811660209384015284546001808201875595835291839020845160039093020180546001600160a01b031916929091169190911781558282015180519394919361127693928501929190910190613e7b565b612a44613468565b6001600160a01b0316612a55612046565b6001600160a01b031614612a9e576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b826001600160a01b038116612ae8576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b6009546001600160a01b0385166000908152600a60205260409020548591118015612b2a57506001600160a01b0381166000908152600a602052604090205415155b612b7b576040805162461bcd60e51b815260206004820152601f60248201527f4368696c64204661726d20546f6b656e20646f6573206e6f7420657869737400604482015290519081900360640190fd5b6002831015612bbb5760405162461bcd60e51b81526004018080602001828103825260288152602001806140b46028913960400191505060405180910390fd5b6001600160a01b0385166000908152600a6020526040812054600980549091908110612be357fe5b600091825260209091206003909102019050612c03600182018686613ee0565b50505050505050565b6007818154811061087057600080fd5b612c24613468565b6001600160a01b0316612c35612046565b6001600160a01b031614612c7e576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b826001600160a01b038116612cc8576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b6007546001600160a01b0385166000908152600860205260409020548591118015612d0a57506001600160a01b03811660009081526008602052604090205415155b612d52576040805162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b604482015290519081900360640190fd5b6002831015612da8576040805162461bcd60e51b815260206004820152601f60248201527f5061746820746f2059474e20697320696e636f7272726563742f656d70747900604482015290519081900360640190fd5b6002546001600160a01b031684846000198101818110612dc457fe5b905060200201356001600160a01b03166001600160a01b031614612e2f576040805162461bcd60e51b815260206004820152601a60248201527f506174682073686f756c6420636f6e7665727420746f2059474e000000000000604482015290519081900360640190fd5b6001600160a01b038516600090815260086020526040812054600780549091908110612be357fe5b600454600160a01b900461ffff1681565b6003546001600160a01b031681565b612e7f613468565b6001600160a01b0316612e90612046565b6001600160a01b031614612ed9576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b816001600160a01b038116612f23576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b816001600160a01b038116612f6d576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b60006001600160a01b0316816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015612fb157600080fd5b505afa158015612fc5573d6000803e3d6000fd5b505050506040513d6020811015612fdb57600080fd5b50516001600160a01b03161415613033576040805162461bcd60e51b8152602060048201526017602482015276496e76616c696420466163746f7279206164647265737360481b604482015290519081900360640190fd5b6007546001600160a01b038516600090815260086020526040902054859111801561307557506001600160a01b03811660009081526008602052604090205415155b6130bd576040805162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b604482015290519081900360640190fd5b6001600160a01b0385166000908152600860205260408120546007805490919081106118c357fe5b6130ed613468565b6001600160a01b03166130fe612046565b6001600160a01b031614613147576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b6002600154141561318d576040805162461bcd60e51b815260206004820152601f6024820152600080516020613f49833981519152604482015290519081900360640190fd5b6002600155604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b1580156131dc57600080fd5b505afa1580156131f0573d6000803e3d6000fd5b505050506040513d602081101561320657600080fd5b505190508061325c576040805162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015290519081900360640190fd5b613278613267612046565b6001600160a01b038416908361397e565b505060018055565b600554600160a01b900461ffff1681565b600b5490565b61329f613468565b6001600160a01b03166132b0612046565b6001600160a01b0316146132f9576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b6001600160a01b03811661333e5760405162461bcd60e51b8152600401808060200182810382526026815260200180613f696026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6133a1613468565b6001600160a01b03166133b2612046565b6001600160a01b0316146133fb576040805162461bcd60e51b8152602060048201819052602482015260008051602061404a833981519152604482015290519081900360640190fd5b806001600160a01b038116613445576040805162461bcd60e51b815260206004820152600f6024820152600080516020613f8f833981519152604482015290519081900360640190fd5b50600280546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156134bb57600080fd5b505afa1580156134cf573d6000803e3d6000fd5b505050506040513d60208110156134e557600080fd5b50519050806135255760405162461bcd60e51b8152600401808060200182810382526031815260200180613fd56031913960400191505060405180910390fd5b61353a6001600160a01b0385168360006139d0565b61354e6001600160a01b03851683836139d0565b6000826001600160a01b03166338ed17398360018730600f60fc1b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156135d95781810151838201526020016135c1565b505050509050019650505050505050600060405180830381600087803b15801561360257600080fd5b505af1158015613616573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561363f57600080fd5b8101908080516040519392919084600160201b82111561365e57600080fd5b90830190602082018581111561367357600080fd5b82518660208202830111600160201b8211171561368f57600080fd5b82525081516020918201928201910280838360005b838110156136bc5781810151838201526020016136a4565b505050509050016040525050506001855103815181106136d857fe5b6020026020010151905060008111613737576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e205377617070696e6720546f6b656e730000000000000000604482015290519081900360640190fd5b5050505050565b6137526001600160a01b038416838361397e565b505050565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156137a257600080fd5b505afa1580156137b6573d6000803e3d6000fd5b505050506040513d60208110156137cc57600080fd5b50519050801561397b5760035461381f906001600160a01b0381169061380c906103e890613806908690600160a01b900461ffff16613ae3565b90613b45565b6002546001600160a01b0316919061397e565b60045461384f906001600160a01b0381169061380c906103e890613806908690600160a01b900461ffff16613ae3565b60055461387f906001600160a01b0381169061380c906103e890613806908690600160a01b900461ffff16613ae3565b6006546138af906001600160a01b0381169061380c906103e890613806908690600160a01b900461ffff16613ae3565b6003547f3f5b11ed1d4569125319f533e377e3a1eb3da9a6a42a49fa4a07b8959bb4db98906138f2906103e890613806908590600160a01b900461ffff16613ae3565b600454613913906103e890613806908690600160a01b900461ffff16613ae3565b600554613934906103e890613806908790600160a01b900461ffff16613ae3565b600654613955906103e890613806908890600160a01b900461ffff16613ae3565b604080519485526020850193909352838301919091526060830152519081900360800190a15b50565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052613752908490613bac565b801580613a56575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015613a2857600080fd5b505afa158015613a3c573d6000803e3d6000fd5b505050506040513d6020811015613a5257600080fd5b5051155b613a915760405162461bcd60e51b81526004018080602001828103825260368152602001806140dc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052613752908490613bac565b600082613af257506000613b3f565b82820282848281613aff57fe5b0414613b3c5760405162461bcd60e51b81526004018080602001828103825260218152602001806140066021913960400191505060405180910390fd5b90505b92915050565b6000808211613b9b576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613ba457fe5b049392505050565b6000613c01826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613c5d9092919063ffffffff16565b80519091501561375257808060200190516020811015613c2057600080fd5b50516137525760405162461bcd60e51b815260040180806020018281038252602a81526020018061408a602a913960400191505060405180910390fd5b6060613c6c8484600085613c76565b90505b9392505050565b606082471015613cb75760405162461bcd60e51b8152600401808060200182810382526026815260200180613faf6026913960400191505060405180910390fd5b613cc085613dd1565b613d11576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310613d4f5780518252601f199092019160209182019101613d30565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613db1576040519150601f19603f3d011682016040523d82523d6000602084013e613db6565b606091505b5091509150613dc6828286613dd7565b979650505050505050565b3b151590565b60608315613de6575081613c6f565b825115613df65782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613e40578181015183820152602001613e28565b50505050905090810190601f168015613e6d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215613ed0579160200282015b82811115613ed057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613e9b565b50613edc929150613f33565b5090565b828054828255906000526020600020908101928215613ed0579160200282015b82811115613ed05781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613f00565b5b80821115613edc5760008155600101613f3456fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734e6f207a65726f20616464726573730000000000000000000000000000000000416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c436f6e74726163742073686f756c64206861766520746f6b656e2062616c616e63652067726561746572207468616e2030536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77546f6b656e2073686f756c64206f6e6c79206265207377617070656420746f2059474e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572646f206e6f7420636f6e766572742066726f6d20636f6e7472616374000000005361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645061746820746f20636f6d6d6f6e20746f6b656e20697320696e636f7272726563742f656d7074795361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ee70b4350d62f9e7ddb40dd372eea908de4c7b79f49c11a1a4931cc2cdc0902a64736f6c63430007060033000000000000000000000000a33aaa07853038943ef2c32cde73a094cf993ee0000000000000000000000000b24d1498ad20c5ee95142c05fd14f564bb61a37900000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000940920386550c8bfdd5f0dc685c23a6148e8cd380000000000000000000000000000000000000000000000000000000000000064000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a0000000000000000000000000000000000000000000000000000000000000032

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

000000000000000000000000a33aaa07853038943ef2c32cde73a094cf993ee0000000000000000000000000b24d1498ad20c5ee95142c05fd14f564bb61a37900000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000940920386550c8bfdd5f0dc685c23a6148e8cd380000000000000000000000000000000000000000000000000000000000000064000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a0000000000000000000000000000000000000000000000000000000000000032

-----Decoded View---------------
Arg [0] : _ygn (address): 0xa33aaa07853038943ef2c32cde73a094cf993ee0
Arg [1] : _fYGNBurner (address): 0xb24d1498ad20c5ee95142c05fd14f564bb61a379
Arg [2] : _burnerAllocation (uint16): 750
Arg [3] : _ygnStaker (address): 0x940920386550c8bfdd5f0dc685c23a6148e8cd38
Arg [4] : _stakersAllocation (uint16): 100
Arg [5] : _platformAddr (address): 0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a
Arg [6] : _platformFeesAllocation (uint16): 100
Arg [7] : _treasury (address): 0x820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a
Arg [8] : _treasuryAllocation (uint16): 50

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000a33aaa07853038943ef2c32cde73a094cf993ee0
Arg [1] : 000000000000000000000000b24d1498ad20c5ee95142c05fd14f564bb61a379
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002ee
Arg [3] : 000000000000000000000000940920386550c8bfdd5f0dc685c23a6148e8cd38
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [5] : 000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 000000000000000000000000820de2eb0ee8007ee237e02ace3bf2b9cd0ddf1a
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000032


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.