Contract 0x43c5ff0b7d62498795ff4ce1727fe9841f76255a 1

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9f4219a6181bed4abd5a67f3985cccae7e544550bd70b7b3046c65ea4b70b552Compound203783702022-09-28 9:18:4121 mins ago0x6c4178947036d1fde92f6796633d3be6843c2a48 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.06022290787 26.41
0xae4b5208c85abc5bb039301e0779d58819e8a4075d08202ad178054d3e288768Compound203769182022-09-28 8:29:001 hr 10 mins ago0x5c85361a473fa122997c54bcbd152a386cfd4bb8 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.029227273081 26.520462116
0x859c91fd47c2d24dbf9929180521ec13653192e3d11be28ba912408f8411c433Compound203750632022-09-28 7:24:402 hrs 15 mins ago0x5b7e76029aa45817f88694d00d4e69ac5915eae5 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.098689445 26.5
0x84a02fe2474f45b59a05c6e8373de256d1da1d4321537b8963febe1b014f3d2fCompound203747782022-09-28 7:15:012 hrs 24 mins ago0xa10a10f4d0aaf4189a87ea0a63f847809abe29e4 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.050755291 26.5
0xa2f84658ba52f0c8766457cf98e71d685d2f3601603bf0d1d291d23351f9fc05Compound203747522022-09-28 7:14:062 hrs 25 mins ago0xf10d5a929d13f0be9aa39d6b68847d5c64595abd IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.053572442465 26.825346
0x1464068788e06058da12788525bdda8fad8d1825e654e9963d7c27d62927e246Compound203746072022-09-28 7:09:112 hrs 30 mins ago0x8274004135b64df1d77958eada14cb259598f321 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.066748144275 27.425
0x08e9ad33680ab8e10b167f496964782a2e98e709ba92a06590a65dec54aa310eCompound203731762022-09-28 6:20:163 hrs 19 mins ago0x389c816accb05774623220e0c40085210ca4fd29 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0521919355 26.5
0x2a9c6af4cf4c355857e3e181463123100c0216fc18353bcc5532ca79271cce32Compound203697532022-09-28 4:22:095 hrs 17 mins ago0x902d777ce7d81894fcdd749fd80632399b093ef9 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.05122332525
0x5e2fa97871492ebb3e88ea1fee359aa9a215af66103e5e93763af80f353e8217Compound203666062022-09-28 2:34:377 hrs 5 mins ago0x17d9318b53d9a64819d2ae3bedc66e14853f5fbc IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.082164681 26.5
0xa1465ee48214a13788347221fcd84b16c05050e3c1f9831054761829bc21a889Compound203662182022-09-28 2:21:217 hrs 18 mins ago0x11c02771878bad3626e3bb76ec07a48fd13dc8e1 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.088711082 26.5
0x7b25b0f2a7320478e074e6516ca9d9e8f6698270bcff2098328f16f247ed57beCompound203652332022-09-28 1:47:387 hrs 52 mins ago0x5431598701b74cbb1a36ff57b4393f051b99869e IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0821708025 26.5
0x121b840c2c36ffc7ab39f201f33e4b939037652e4640df5d3314a2e879b16be9Compound203652082022-09-28 1:46:457 hrs 53 mins ago0x6f5c4cb6213267cc51ff9b9b3db607d2b5f2626e IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0784638235 26.5
0xf1f97a5755c307699ef3feafbaed14b863b6aaa47519fb65f01b30bc07661d88Compound203637302022-09-28 0:56:108 hrs 43 mins ago0x7a2f1d898242daec0d37b614d902bd2da054d94b IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0164642115 26.5
0x76a0557b04d5f7a8379b29f1c558ee56e738587851e7c23b3d947c48bd9743c0Compound203636132022-09-28 0:52:138 hrs 47 mins ago0x7a2f1d898242daec0d37b614d902bd2da054d94b IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.012766004 26.5
0x2960bf9d72e25896199796987912b38c23396e52166afadd27024a941d8101d8Compound203635502022-09-28 0:50:048 hrs 49 mins ago0x7a2f1d898242daec0d37b614d902bd2da054d94b IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.051356576 26.5
0x1aec59de0ddd68a9c4a7d1375951cfc36083a3b3656c746a123804babb59aef0Compound203633572022-09-28 0:43:228 hrs 56 mins ago0x24cbefabc71c17eae7ea70ead6adf0e6dc9ba3bd IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.08393312764 26.825346
0x5a8edabe9ac126c3a2e9b92ed383d01f0240d5b8beef39cf7187e3bd20f003ffCompound203610822022-09-27 23:24:1910 hrs 15 mins ago0xa351103f950bcd9a3dc8aaf5961fb4e94c542a5e IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.058375468599 26.628969897
0xada55615068652de283737750e7a8fab2b7e5f33034f9743ae9d2de681a56cdeCompound203594522022-09-27 22:27:5611 hrs 11 mins ago0xc926addf7133df6238164568485a184320d636a1 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.062035733139 26.33271111
0xb3238ee84149eaddfd402d8ce32c6a8cac843d6c03be32f1b544798877912ce0Compound203584122022-09-27 21:52:3111 hrs 47 mins ago0x54531376c1d15348a0eb6f6136a5b9f3d4206fb1 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.057524060737 26.71582524
0x8ee10900d5cddafb34485cc0c5fb903f6e1d3689b3ef1da92cef0fb707b2d813Compound203582822022-09-27 21:47:5511 hrs 51 mins ago0xe10985548e2b45724f2304428fb0b8f644c45206 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0459389425 26.5
0x81abda440234c41158457c58a304183ae20da8eba924f074d6bb01da56907280Compound203578312022-09-27 21:32:2712 hrs 7 mins ago0xf4584bfd7efd03c930a86ce989e547c431cefcd6 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.049395841 26.5
0x23a6e2f58fbbb632cb911eccb862d503d8e65febc0012f97763c5fa75f0fc7d6Compound203564942022-09-27 20:46:5912 hrs 52 mins ago0x5c85361a473fa122997c54bcbd152a386cfd4bb8 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0188577445 26.5
0x75f8d18fd5187ba53b1e6eacb6a36427b440ee3cc458beec3b41bd50781491f5Compound203560792022-09-27 20:32:4913 hrs 7 mins ago0x018650dae189c5083dcbec8ae1edcf8b83e08380 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.049612000348 26.615965689
0x3e2b91641c1f7aa0462afb2a6cc0d879b6456d055a6d58d167cf3557741834e2Compound203551582022-09-27 20:01:2713 hrs 38 mins ago0x32f6360204158ae7a6fa4829080bfd73c5235f2d IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.040689478 26.5
0x2d4a6e344aca646c49d100ed8f9f6d7b9d7f944a70c1ffb6412fd621149b57adCompound203541362022-09-27 19:26:4914 hrs 13 mins ago0x6f3607c227b2470db1daef4fcb35414facba5739 IN  0x43c5ff0b7d62498795ff4ce1727fe9841f76255a0 AVAX0.0593985045 26.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ManualCompound

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : ManualCompound.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "Ownable.sol";
import "SafeERC20.sol";
import "IERC20Metadata.sol";
import "Address.sol";

import "IMasterChefVTX.sol";
import "ISimpleHelper.sol";
import "IConvertor.sol";

contract ManualCompound is Ownable {
    using SafeERC20 for IERC20;

    address public masterVtx;

    struct Reward {
        address tokenAddress;
        address tokenHelper;
        address convertor;
        bool depositFor; // does the convertor has a depositFor function
    }

    Reward[] public rewards;
    mapping(address=>bool) isRewardSkippable;

    constructor(
        address _masterVtx
    ) {
        masterVtx = _masterVtx;
    }

    function _approveTokenIfNeeded(
        address token,
        address _to,
        uint256 _amount
    ) private {
        if (IERC20(token).allowance(address(this), _to) < _amount) {
            IERC20(token).approve(_to, type(uint256).max);
        }
    }

    function setSkipableRewardState(address _reward, bool _state) external onlyOwner {
        isRewardSkippable[_reward] = _state;
    }

    function setHelper(uint256 _index, address _helper) external onlyOwner {
        require(_index < rewards.length, "Invalid index");
        rewards[_index].tokenHelper = _helper;
    }

    function setConvertor(uint256 _index, address _convertor) external onlyOwner {
        require(_index < rewards.length, "Invalid index");
        rewards[_index].convertor = _convertor;
    }


    function addReward(address _tokenAddress, address _tokenHelper, address _convertor, bool _depositFor) external onlyOwner {
        rewards.push(Reward({
            tokenAddress : _tokenAddress,
            tokenHelper : _tokenHelper,
            convertor : _convertor,
            depositFor : _depositFor
        }));
    }

    function compoundAndSkipRewards(address[] calldata _lps, bool[] calldata _shouldCompoundReward) external {
        uint256 rewardTokensLength = rewards.length;
        uint256[] memory beforeBalances = new uint256[](rewardTokensLength);
        for (uint256 i; i< rewardTokensLength; i++) {
            beforeBalances[i] = IERC20(rewards[i].tokenAddress).balanceOf(msg.sender);
        }
        IMasterChefVTX(masterVtx).multiclaim(_lps, msg.sender);
        for (uint256 i; i< rewardTokensLength; i++) {
            address _tokenAddress = rewards[i].tokenAddress;
            uint256 contractBalance = IERC20(_tokenAddress).balanceOf(address(this));

            if (isRewardSkippable[_tokenAddress] && !_shouldCompoundReward[i]){
                if (contractBalance > 0){
                    IERC20(_tokenAddress).safeTransfer(msg.sender, contractBalance);
                }
            }
            else {
                uint256 afterBalance = IERC20(_tokenAddress).balanceOf(msg.sender);
                uint256 diffBalance = afterBalance - beforeBalances[i];
                if (diffBalance + contractBalance > 0) {
                    address _helperAddress = rewards[i].tokenHelper;
                    address _convertor = rewards[i].convertor;
                    if (diffBalance > 0) {
                        IERC20(_tokenAddress).safeTransferFrom(msg.sender, address(this), diffBalance);
                    }
                    diffBalance+=contractBalance;
                    if (_convertor != address(0)) {
                        _approveTokenIfNeeded(_tokenAddress, _convertor, diffBalance);
                        if (rewards[i].depositFor) {
                            IConvertor(_convertor).depositFor(diffBalance, address(this));
                        } else {
                            IConvertor(_convertor).deposit(diffBalance);
                        }
                    }
                    if (_helperAddress != address(0)) {
                        _approveTokenIfNeeded(_tokenAddress, _helperAddress, diffBalance);
                        ISimpleHelper(_helperAddress).depositFor(diffBalance, msg.sender);
                    }
                }
            }
        }
    }

    function compound(address[] calldata _lps) external {
        uint256 rewardTokensLength = rewards.length;
        uint256[] memory beforeBalances = new uint256[](rewardTokensLength);
        for (uint256 i; i< rewardTokensLength; i++) {
            beforeBalances[i] = IERC20(rewards[i].tokenAddress).balanceOf(msg.sender);
        }
        IMasterChefVTX(masterVtx).multiclaim(_lps, msg.sender);
        for (uint256 i; i< rewardTokensLength; i++) {
            address _tokenAddress = rewards[i].tokenAddress;
            address _helperAddress = rewards[i].tokenHelper;
            address _convertor = rewards[i].convertor;
            uint256 afterBalance = IERC20(_tokenAddress).balanceOf(msg.sender);
            uint256 diffBalance = afterBalance - beforeBalances[i];
            uint256 contractBalance = IERC20(_tokenAddress).balanceOf(address(this));


            if (diffBalance + contractBalance > 0) {
                if (diffBalance > 0) {
                    IERC20(_tokenAddress).safeTransferFrom(msg.sender, address(this), diffBalance);
                }
                diffBalance+=contractBalance;
                if (_convertor != address(0)) {
                    _approveTokenIfNeeded(_tokenAddress, _convertor, diffBalance);
                    if (rewards[i].depositFor) {
                        IConvertor(_convertor).depositFor(diffBalance, address(this));
                    } else {
                        IConvertor(_convertor).deposit(diffBalance);
                    }
                }
                if (_helperAddress != address(0)) {
                    _approveTokenIfNeeded(_tokenAddress, _helperAddress, diffBalance);
                    ISimpleHelper(_helperAddress).depositFor(diffBalance, msg.sender);
                }
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "IERC20.sol";
import "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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^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;
        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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 8 of 10 : IMasterChefVTX.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IMasterChefVTX {
    function poolLength() external view returns (uint256);

    function setPoolManagerStatus(address _address, bool _bool) external;

    function add(
        uint256 _allocPoint,
        address _lpToken,
        address _rewarder,
        address _helper
    ) external;

    function set(
        address _lp,
        uint256 _allocPoint,
        address _rewarder,
        address _locker,
        bool overwrite
    ) external;

    function createRewarder(address _lpToken, address mainRewardToken)
        external
        returns (address);

    // View function to see pending VTXs on frontend.
    function getPoolInfo(address token)
        external
        view
        returns (
            uint256 emission,
            uint256 allocpoint,
            uint256 sizeOfPool,
            uint256 totalPoint
        );

    function pendingTokens(
        address _lp,
        address _user,
        address token
    )
        external
        view
        returns (
            uint256 pendingVTX,
            address bonusTokenAddress,
            string memory bonusTokenSymbol,
            uint256 pendingBonusToken
        );

    function rewarderBonusTokenInfo(address _lp)
        external
        view
        returns (address bonusTokenAddress, string memory bonusTokenSymbol);

    function massUpdatePools() external;

    function updatePool(address _lp) external;

    function deposit(address _lp, uint256 _amount) external;

    function depositFor(
        address _lp,
        uint256 _amount,
        address sender
    ) external;

    function lock(
        address _lp,
        uint256 _amount,
        uint256 _index,
        bool force
    ) external;

    function unlock(
        address _lp,
        uint256 _amount,
        uint256 _index
    ) external;

    function multiUnlock(
        address _lp,
        uint256[] calldata _amount,
        uint256[] calldata _index
    ) external;

    function withdraw(address _lp, uint256 _amount) external;

    function withdrawFor(
        address _lp,
        uint256 _amount,
        address _sender
    ) external;

    function multiclaim(address[] memory _lps, address user_address) external;

    function emergencyWithdraw(address _lp, address sender) external;

    function updateEmissionRate(uint256 _vtxPerSec) external;

    function depositInfo(address _lp, address _user)
        external
        view
        returns (uint256 depositAmount);

    function setPoolHelper(
        address _lp,
        address _helper
    ) external;

     function authorizeLocker(address _locker) external;
     function lockFor(
        address _lp,
        uint256 _amount,
        uint256 _index,
        address _for,
        bool force
    ) external;
}

File 9 of 10 : ISimpleHelper.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface ISimpleHelper {
    function depositFor(uint256 _amount, address _for) external;
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IConvertor {
    function mainContract() external view returns (address);

    function totalSupply() external view returns (uint256);

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

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

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

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

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

    function depositFor(uint256 amount, address to) external;
    function deposit(uint256 _amount) external;

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    function depositWithoutTransferFor(uint256 _amount, address _for) external;

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 999
  },
  "libraries": {
    "ManualCompound.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_masterVtx","type":"address"}],"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"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_tokenHelper","type":"address"},{"internalType":"address","name":"_convertor","type":"address"},{"internalType":"bool","name":"_depositFor","type":"bool"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_lps","type":"address[]"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_lps","type":"address[]"},{"internalType":"bool[]","name":"_shouldCompoundReward","type":"bool[]"}],"name":"compoundAndSkipRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"masterVtx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"tokenHelper","type":"address"},{"internalType":"address","name":"convertor","type":"address"},{"internalType":"bool","name":"depositFor","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"address","name":"_convertor","type":"address"}],"name":"setConvertor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"address","name":"_helper","type":"address"}],"name":"setHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reward","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setSkipableRewardState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405162001c1938038062001c19833981016040819052610031916100af565b61003a3361005f565b600180546001600160a01b0319166001600160a01b03929092169190911790556100df565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c157600080fd5b81516001600160a01b03811681146100d857600080fd5b9392505050565b611b2a80620000ef6000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80638770b93d11610081578063f200df401161005b578063f200df4014610174578063f2fde38b14610187578063f301af421461019a57600080fd5b80638770b93d146101245780638da5cb5b14610137578063a296454f1461016157600080fd5b806340a6a589116100b257806340a6a589146100f65780636ebeb06314610109578063715018a61461011c57600080fd5b8063179184c8146100ce578063378eb167146100e3575b600080fd5b6100e16100dc36600461187d565b6101e2565b005b6100e16100f136600461183b565b61077f565b6100e1610104366004611955565b610cab565b6100e1610117366004611804565b610d98565b6100e1610e1d565b6100e16101323660046117ae565b610e83565b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b600154610144906001600160a01b031681565b6100e1610182366004611955565b610ffd565b6100e1610195366004611793565b6110e5565b6101ad6101a8366004611923565b6111c7565b60405161015894939291906001600160a01b039485168152928416602084015292166040820152901515606082015260800190565b60025460008167ffffffffffffffff81111561020057610200611ad0565b604051908082528060200260200182016040528015610229578160200160208202803683370190505b50905060005b82811015610302576002818154811061024a5761024a611aba565b60009182526020909120600390910201546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561029b57600080fd5b505afa1580156102af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d3919061193c565b8282815181106102e5576102e5611aba565b6020908102919091010152806102fa81611a89565b91505061022f565b5060015460405163017e548360e41b81526001600160a01b03909116906317e54830906103379089908990339060040161199d565b600060405180830381600087803b15801561035157600080fd5b505af1158015610365573d6000803e3d6000fd5b5050505060005b828110156107765760006002828154811061038957610389611aba565b60009182526020822060039190910201546040516370a0823160e01b81523060048201526001600160a01b03909116925082906370a082319060240160206040518083038186803b1580156103dd57600080fd5b505afa1580156103f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610415919061193c565b6001600160a01b03831660009081526003602052604090205490915060ff168015610464575086868481811061044d5761044d611aba565b905060200201602081019061046291906118e9565b155b15610488578015610483576104836001600160a01b0383163383611216565b610761565b6040516370a0823160e01b81523360048201526000906001600160a01b038416906370a082319060240160206040518083038186803b1580156104ca57600080fd5b505afa1580156104de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610502919061193c565b9050600085858151811061051857610518611aba565b60200260200101518261052b9190611a46565b905060006105398483611a2e565b111561075e5760006002868154811061055457610554611aba565b60009182526020822060016003909202010154600280546001600160a01b039092169350908890811061058957610589611aba565b60009182526020909120600260039092020101546001600160a01b0316905082156105c3576105c36001600160a01b0387163330866112c4565b6105cd8584611a2e565b92506001600160a01b038116156106e0576105e986828561131b565b600287815481106105fc576105fc611aba565b906000526020600020906003020160020160149054906101000a900460ff1615610685576040516336efd16f60e01b8152600481018490523060248201526001600160a01b038216906336efd16f90604401600060405180830381600087803b15801561066857600080fd5b505af115801561067c573d6000803e3d6000fd5b505050506106e0565b60405163b6b55f2560e01b8152600481018490526001600160a01b0382169063b6b55f2590602401600060405180830381600087803b1580156106c757600080fd5b505af11580156106db573d6000803e3d6000fd5b505050505b6001600160a01b0382161561075b576106fa86838561131b565b6040516336efd16f60e01b8152600481018490523360248201526001600160a01b038316906336efd16f90604401600060405180830381600087803b15801561074257600080fd5b505af1158015610756573d6000803e3d6000fd5b505050505b50505b50505b5050808061076e90611a89565b91505061036c565b50505050505050565b60025460008167ffffffffffffffff81111561079d5761079d611ad0565b6040519080825280602002602001820160405280156107c6578160200160208202803683370190505b50905060005b8281101561089f57600281815481106107e7576107e7611aba565b60009182526020909120600390910201546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561083857600080fd5b505afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610870919061193c565b82828151811061088257610882611aba565b60209081029190910101528061089781611a89565b9150506107cc565b5060015460405163017e548360e41b81526001600160a01b03909116906317e54830906108d49087908790339060040161199d565b600060405180830381600087803b1580156108ee57600080fd5b505af1158015610902573d6000803e3d6000fd5b5050505060005b82811015610ca45760006002828154811061092657610926611aba565b60009182526020822060039091020154600280546001600160a01b039092169350908490811061095857610958611aba565b60009182526020822060016003909202010154600280546001600160a01b039092169350908590811061098d5761098d611aba565b60009182526020822060039190910201600201546040516370a0823160e01b81523360048201526001600160a01b039182169350908516906370a082319060240160206040518083038186803b1580156109e657600080fd5b505afa1580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061193c565b90506000868681518110610a3457610a34611aba565b602002602001015182610a479190611a46565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038716906370a082319060240160206040518083038186803b158015610a8c57600080fd5b505afa158015610aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac4919061193c565b90506000610ad28284611a2e565b1115610c8b578115610af357610af36001600160a01b0387163330856112c4565b610afd8183611a2e565b91506001600160a01b03841615610c1057610b1986858461131b565b60028781548110610b2c57610b2c611aba565b906000526020600020906003020160020160149054906101000a900460ff1615610bb5576040516336efd16f60e01b8152600481018390523060248201526001600160a01b038516906336efd16f90604401600060405180830381600087803b158015610b9857600080fd5b505af1158015610bac573d6000803e3d6000fd5b50505050610c10565b60405163b6b55f2560e01b8152600481018390526001600160a01b0385169063b6b55f2590602401600060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050505b6001600160a01b03851615610c8b57610c2a86868461131b565b6040516336efd16f60e01b8152600481018390523360248201526001600160a01b038616906336efd16f90604401600060405180830381600087803b158015610c7257600080fd5b505af1158015610c86573d6000803e3d6000fd5b505050505b5050505050508080610c9c90611a89565b915050610909565b5050505050565b6000546001600160a01b03163314610d0a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6002548210610d4b5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610d01565b8060028381548110610d5f57610d5f611aba565b906000526020600020906003020160020160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b6000546001600160a01b03163314610df25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d01565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610e775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d01565b610e816000611458565b565b6000546001600160a01b03163314610edd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d01565b604080516080810182526001600160a01b039586168152938516602085019081529285169084019081529015156060840190815260028054600181018255600091909152935160039094027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace8101805495871673ffffffffffffffffffffffffffffffffffffffff1996871617905592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf840180549187169190951617909355517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0909101805492511515600160a01b027fffffffffffffffffffffff0000000000000000000000000000000000000000009093169190931617179055565b6000546001600160a01b031633146110575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d01565b60025482106110985760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610d01565b80600283815481106110ac576110ac611aba565b906000526020600020906003020160010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b6000546001600160a01b0316331461113f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d01565b6001600160a01b0381166111bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d01565b6111c481611458565b50565b600281815481106111d757600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b0391821693509181169190811690600160a01b900460ff1684565b6040516001600160a01b0383166024820152604481018290526112bf9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114b5565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526113159085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161125b565b50505050565b6040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03838116602483015282919085169063dd62ed3e9060440160206040518083038186803b15801561137e57600080fd5b505afa158015611392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b6919061193c565b10156112bf576040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600019602483015284169063095ea7b390604401602060405180830381600087803b15801561142057600080fd5b505af1158015611434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113159190611906565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061150a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661159a9092919063ffffffff16565b8051909150156112bf57808060200190518101906115289190611906565b6112bf5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610d01565b60606115a984846000856115b3565b90505b9392505050565b60608247101561162b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610d01565b843b6116795760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d01565b600080866001600160a01b031685876040516116959190611981565b60006040518083038185875af1925050503d80600081146116d2576040519150601f19603f3d011682016040523d82523d6000602084013e6116d7565b606091505b50915091506116e78282866116f2565b979650505050505050565b606083156117015750816115ac565b8251156117115782518084602001fd5b8160405162461bcd60e51b8152600401610d0191906119fb565b80356001600160a01b038116811461174257600080fd5b919050565b60008083601f84011261175957600080fd5b50813567ffffffffffffffff81111561177157600080fd5b6020830191508360208260051b850101111561178c57600080fd5b9250929050565b6000602082840312156117a557600080fd5b6115ac8261172b565b600080600080608085870312156117c457600080fd5b6117cd8561172b565b93506117db6020860161172b565b92506117e96040860161172b565b915060608501356117f981611ae6565b939692955090935050565b6000806040838503121561181757600080fd5b6118208361172b565b9150602083013561183081611ae6565b809150509250929050565b6000806020838503121561184e57600080fd5b823567ffffffffffffffff81111561186557600080fd5b61187185828601611747565b90969095509350505050565b6000806000806040858703121561189357600080fd5b843567ffffffffffffffff808211156118ab57600080fd5b6118b788838901611747565b909650945060208701359150808211156118d057600080fd5b506118dd87828801611747565b95989497509550505050565b6000602082840312156118fb57600080fd5b81356115ac81611ae6565b60006020828403121561191857600080fd5b81516115ac81611ae6565b60006020828403121561193557600080fd5b5035919050565b60006020828403121561194e57600080fd5b5051919050565b6000806040838503121561196857600080fd5b823591506119786020840161172b565b90509250929050565b60008251611993818460208701611a5d565b9190910192915050565b6040808252810183905260008460608301825b868110156119de576001600160a01b036119c98461172b565b168252602092830192909101906001016119b0565b5080925050506001600160a01b0383166020830152949350505050565b6020815260008251806020840152611a1a816040850160208701611a5d565b601f01601f19169190910160400192915050565b60008219821115611a4157611a41611aa4565b500190565b600082821015611a5857611a58611aa4565b500390565b60005b83811015611a78578181015183820152602001611a60565b838111156113155750506000910152565b6000600019821415611a9d57611a9d611aa4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146111c457600080fdfea2646970667358221220be038b17310ff11cb80beb854956268ae858bd0828003ca700cb1d46c08a16fe64736f6c63430008070033000000000000000000000000423d0fe33031aa4456a17b150804aa57fc157d97

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

000000000000000000000000423d0fe33031aa4456a17b150804aa57fc157d97

-----Decoded View---------------
Arg [0] : _masterVtx (address): 0x423d0fe33031aa4456a17b150804aa57fc157d97

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000423d0fe33031aa4456a17b150804aa57fc157d97


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