Contract 0xAdaF18d79f316005542da4eCb1624B59c4e6e398

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xec4c32cc478beea7b3330e9e978a0da54fb82811a8a240d864eb8b0a319367dfQueue Transactio...67586152021-11-10 8:28:46188 days 9 mins ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014089525
0x3d394b37a01d7c33c507e4c6fac2295f5929d741b8443bd199aeac9e9e2a88cdExecute Transact...58794242021-10-20 15:32:19208 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.000995625 25
0x446571813907c870a61c0c67f5fd31921137f8447a6dc19c1e9fd94300cc524eExecute Transact...58483042021-10-19 21:47:40209 days 10 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.001242878 26
0x430b606866823d396bdeb819e994141f96ef76b24e0fdce867147788782f6688Queue Transactio...58482572021-10-19 21:46:02209 days 10 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.001494766 26
0x851f203a1eb7375a7cb1ccb20388f70b7851f3f3ca183896f5ebeee12be60a73Queue Transactio...58241192021-10-19 7:49:01210 days 49 mins ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.001465932 26
0xc924aed422b67ca9832935c87c67f082504374a155f50bb5e67a7b8f827f7c9fExecute Transact...54614852021-10-10 14:45:18218 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.07156105 25
0xb84d237c6958f3cf425ec12b47a623838424863d390068efc0e9bfaa74a3efdcExecute Transact...54401172021-10-10 2:37:56219 days 6 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0716378 25
0x98d3c945c8f03ec40b43a4c60c1c38d699c4cd1af6619b4d43ff087b6f67d010Execute Transact...54185212021-10-09 14:25:39219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.07164225 25
0x99f8b9c6ed0b53906a66bed1f3a9d36fb52cad2a406fbb99f3981a3757527fddExecute Transact...54184942021-10-09 14:24:42219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.07063025 25
0x7463f9dea730d64b429efb336cc476377dad668e17229a08590ae1ee6cae7e35Execute Transact...54184712021-10-09 14:23:50219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.07062965 25
0x594f58f9aebb7875a7f312729fb6fa0eea0937faddb24bdc8d82d2e93290d1a8Execute Transact...54184312021-10-09 14:22:30219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.07164255 25
0xe465d3df89ab8e1cdeb828120dd267ad43425f810d5f27b08864b4bbeb998b43Queue Transactio...54183802021-10-09 14:20:48219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014608 25
0xc127d7256827c8cc6551a72cb10761ecc0ccce6406ca87d413405b96785dc520Queue Transactio...54183202021-10-09 14:18:47219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014602 25
0x01795accdc5748c7441494f02fff8ea5868bcd196e8538ff61759f3068c3d4aaExecute Transact...54181262021-10-09 14:12:13219 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0719927 25
0x6a9cd143f7ec61118d0d50b6c70a720acac558ec7a4f5bce956e8360ebb9c580Queue Transactio...53629212021-10-08 6:57:31221 days 1 hr ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014608 25
0xb49b434eca6b39e7fbffcf5cac08b5a2ee8cc6b021f1bf3a96e2669262d8256cQueue Transactio...53629002021-10-08 6:56:49221 days 1 hr ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014611 25
0xaddedbed203a098aeebe3f67e8c6834a77f567617bd80cb6723188ba797539d5Queue Transactio...53628812021-10-08 6:56:11221 days 1 hr ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014611 25
0x5a7f65ba9ed2063b2bded4a113039e38b14573a410ca631e97ac62155dbb3742Queue Transactio...53628012021-10-08 6:53:23221 days 1 hr ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014611 25
0xf969a9b8550bf934dc24ce15a05e3c1d8ee518e50a51400dd6208c0838c549e2Queue Transactio...53626962021-10-08 6:49:53221 days 1 hr ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.0014611 25
0xb7b8d232fcaffa3229400516a49b213195bb967fca762679dcc6185ec45d6bcaExecute Transact...52067922021-10-04 14:31:34224 days 18 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.071253 25
0x31d81efa60bdf1e1c15f1675314ab0484a4dfad211392f55ea86072ed94e3d06Queue Transactio...51686112021-10-03 16:46:14225 days 15 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.00146035 25
0xc31890483c06bb794610ea89f7844be1924b07588d76195cc8f091c87991f8f3Execute Transact...49979602021-09-29 15:09:43229 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.072793225 25
0xc93a4feeb142936a5f60e72b15cebc00683341388ddad82126e143a9b2c129d9Execute Transact...49979522021-09-29 15:09:26229 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.072468275 25
0xeb20f9ee23d91a0796fa9f2f5531ab5368905e041a53c48d5fa46ce8031fcdc6Queue Transactio...49563432021-09-28 15:05:16230 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.001437275 25
0x9f1e383b3151558e9f37d6e94650cf3f818e36a076573152cad53cb1b6fab20dQueue Transactio...49562612021-09-28 15:02:30230 days 17 hrs ago0x9c92d74ae777fa12715f0033ba027ecb86bbff6a IN  0xadaf18d79f316005542da4ecb1624b59c4e6e3980 AVAX0.001437275 25
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CustomMasterChefJoeV2Timelock

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at snowtrace.io on 2021-11-06
*/

// File: @openzeppelin/contracts/math/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: contracts/timelock/CustomMasterChefJoeV2Timelock.sol


// COPIED FROM https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/GovernorAlpha.sol
// Copyright 2020 Compound Labs, Inc.
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
// 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Ctrl+f for XXX to see all the modifications.

// XXX: pragma solidity ^0.5.16;
pragma solidity 0.6.12;

// XXX: import "./SafeMath.sol";


contract CustomMasterChefJoeV2Timelock {
    using SafeMath for uint256;

    event NewAdmin(address indexed newAdmin);
    event NewPendingAdmin(address indexed newPendingAdmin);
    event NewDelay(uint256 indexed newDelay);
    event CancelTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );
    event ExecuteTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );
    event QueueTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );

    uint256 public constant GRACE_PERIOD = 14 days;
    uint256 public constant MINIMUM_DELAY = 12 hours;
    uint256 public constant MAXIMUM_DELAY = 30 days;

    string private constant SET_DEV_PERCENT_SIG = "setDevPercent(uint256)";
    string private constant SET_TREASURY_PERCENT_SIG = "setTreasuryPercent(uint256)";
    string private constant SET_INVESTOR_PERCENT_SIG = "setInvestorPercent(uint256)";
    string private constant UPDATE_EMISSION_RATE_SIG = "updateEmissionRate(uint256)";

    address public admin;
    address public pendingAdmin;
    uint256 public delay;
    uint256 public devPercentLimit;
    uint256 public investorPercentLimit;
    uint256 public treasuryPercentLimit;
    uint256 public joePerSecLimit;
    bool public admin_initialized;

    mapping(bytes32 => bool) public queuedTransactions;

    modifier withinLimits(string memory signature, bytes memory data) {
      if (keccak256(bytes(signature)) == keccak256(bytes(SET_DEV_PERCENT_SIG))) {
        uint256 devPercent = abi.decode(data, (uint256));
        require(devPercent <= devPercentLimit,
                "CustomMasterChefJoeV2Timelock::withinLimits: devPercent must not exceed limit.");
      } else if (keccak256(bytes(signature)) == keccak256(bytes(SET_TREASURY_PERCENT_SIG))) {
        uint256 treasuryPercent = abi.decode(data, (uint256));
        require(treasuryPercent <= treasuryPercentLimit,
                "CustomMasterChefJoeV2Timelock::withinLimits: treasuryPercent must not exceed limit.");
      } else if (keccak256(bytes(signature)) == keccak256(bytes(SET_INVESTOR_PERCENT_SIG))) {
        uint256 investorPercent = abi.decode(data, (uint256));
        require(investorPercent <= investorPercentLimit,
                "CustomMasterChefJoeV2Timelock::withinLimits: investorPercent must not exceed limit.");
      } else if (keccak256(bytes(signature)) ==
                 keccak256(bytes(UPDATE_EMISSION_RATE_SIG))) {
        uint256 joePerSec = abi.decode(data, (uint256));
        require(joePerSec <= joePerSecLimit, "CustomMasterChefJoeV2Timelock::withinLimits: joePerSec must not exceed limit.");
      }
      _;
    }

    constructor(address admin_, uint256 delay_, uint256 devPercentLimit_,
                uint256 treasuryPercentLimit_, uint256 investorPercentLimit_,
                uint256 joePerSecLimit_) public {
        require(
            delay_ >= MINIMUM_DELAY,
            "CustomMasterChefJoeV2Timelock::constructor: Delay must exceed minimum delay."
        );
        require(
            delay_ <= MAXIMUM_DELAY,
            "CustomMasterChefJoeV2Timelock::constructor: Delay must not exceed maximum delay."
        );

        admin = admin_;
        delay = delay_;
        admin_initialized = false;
        devPercentLimit = devPercentLimit_;
        treasuryPercentLimit = treasuryPercentLimit_;
        investorPercentLimit = investorPercentLimit_;
        joePerSecLimit = joePerSecLimit_;
    }

    // XXX: function() external payable { }
    receive() external payable {}

    function setDelay(uint256 delay_) public {
        require(
            msg.sender == address(this),
            "CustomMasterChefJoeV2Timelock::setDelay: Call must come from CustomMasterChefJoeV2Timelock."
        );
        require(
            delay_ >= MINIMUM_DELAY,
            "CustomMasterChefJoeV2Timelock::setDelay: Delay must exceed minimum delay."
        );
        require(
            delay_ <= MAXIMUM_DELAY,
            "CustomMasterChefJoeV2Timelock::setDelay: Delay must not exceed maximum delay."
        );
        delay = delay_;

        emit NewDelay(delay);
    }

    function acceptAdmin() public {
        require(
            msg.sender == pendingAdmin,
            "CustomMasterChefJoeV2Timelock::acceptAdmin: Call must come from pendingAdmin."
        );
        admin = msg.sender;
        pendingAdmin = address(0);

        emit NewAdmin(admin);
    }

    function setPendingAdmin(address pendingAdmin_) public {
        // allows one time setting of admin for deployment purposes
        if (admin_initialized) {
            require(
                msg.sender == address(this),
                "CustomMasterChefJoeV2Timelock::setPendingAdmin: Call must come from CustomMasterChefJoeV2Timelock."
            );
        } else {
            require(
                msg.sender == admin,
                "CustomMasterChefJoeV2Timelock::setPendingAdmin: First call must come from admin."
            );
            admin_initialized = true;
        }
        pendingAdmin = pendingAdmin_;

        emit NewPendingAdmin(pendingAdmin);
    }

    function queueTransaction(
        address target,
        uint256 value,
        string memory signature,
        bytes memory data,
        uint256 eta
    ) public withinLimits(signature, data) returns (bytes32) {
        require(
            msg.sender == admin,
            "CustomMasterChefJoeV2Timelock::queueTransaction: Call must come from admin."
        );
        require(
            eta >= getBlockTimestamp().add(delay),
            "CustomMasterChefJoeV2Timelock::queueTransaction: Estimated execution block must satisfy delay."
        );

        bytes32 txHash = keccak256(
            abi.encode(target, value, signature, data, eta)
        );
        queuedTransactions[txHash] = true;

        emit QueueTransaction(txHash, target, value, signature, data, eta);
        return txHash;
    }

    function cancelTransaction(
        address target,
        uint256 value,
        string memory signature,
        bytes memory data,
        uint256 eta
    ) public {
        require(
            msg.sender == admin,
            "CustomMasterChefJoeV2Timelock::cancelTransaction: Call must come from admin."
        );

        bytes32 txHash = keccak256(
            abi.encode(target, value, signature, data, eta)
        );
        queuedTransactions[txHash] = false;

        emit CancelTransaction(txHash, target, value, signature, data, eta);
    }

    function executeTransaction(
        address target,
        uint256 value,
        string memory signature,
        bytes memory data,
        uint256 eta
    ) public payable returns (bytes memory) {
        require(
            msg.sender == admin,
            "CustomMasterChefJoeV2Timelock::executeTransaction: Call must come from admin."
        );

        bytes32 txHash = keccak256(
            abi.encode(target, value, signature, data, eta)
        );
        require(
            queuedTransactions[txHash],
            "CustomMasterChefJoeV2Timelock::executeTransaction: Transaction hasn't been queued."
        );
        require(
            getBlockTimestamp() >= eta,
            "CustomMasterChefJoeV2Timelock::executeTransaction: Transaction hasn't surpassed time lock."
        );
        require(
            getBlockTimestamp() <= eta.add(GRACE_PERIOD),
            "CustomMasterChefJoeV2Timelock::executeTransaction: Transaction is stale."
        );

        queuedTransactions[txHash] = false;

        bytes memory callData;

        callData = abi.encodePacked(
            bytes4(keccak256(bytes(signature))),
            data
        );

        // solium-disable-next-line security/no-call-value
        (bool success, bytes memory returnData) = target.call.value(value)(
            callData
        );
        require(
            success,
            "CustomMasterChefJoeV2Timelock::executeTransaction: Transaction execution reverted."
        );

        emit ExecuteTransaction(txHash, target, value, signature, data, eta);

        return returnData;
    }

    function getBlockTimestamp() internal view returns (uint256) {
        // solium-disable-next-line security/no-block-members
        return block.timestamp;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin_","type":"address"},{"internalType":"uint256","name":"delay_","type":"uint256"},{"internalType":"uint256","name":"devPercentLimit_","type":"uint256"},{"internalType":"uint256","name":"treasuryPercentLimit_","type":"uint256"},{"internalType":"uint256","name":"investorPercentLimit_","type":"uint256"},{"internalType":"uint256","name":"joePerSecLimit_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"CancelTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"ExecuteTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"NewDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"QueueTransaction","type":"event"},{"inputs":[],"name":"GRACE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin_initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"cancelTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devPercentLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"investorPercentLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"joePerSecLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"queueTransaction","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"queuedTransactions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"delay_","type":"uint256"}],"name":"setDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingAdmin_","type":"address"}],"name":"setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryPercentLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051611fe5380380611fe5833981810160405260c081101561003357600080fd5b508051602082015160408301516060840151608085015160a090950151939492939192909161a8c08510156100995760405162461bcd60e51b815260040180806020018281038252604c815260200180611f49604c913960600191505060405180910390fd5b62278d008511156100db5760405162461bcd60e51b8152600401808060200182810382526050815260200180611f956050913960600191505060405180910390fd5b600080546001600160a01b039097166001600160a01b0319909716969096179095556002939093556007805460ff19169055600391909155600555600455600655611e1e8061012b6000396000f3fe60806040526004361061010d5760003560e01c80636fc1f57e11610095578063b1b43ae511610064578063b1b43ae51461069c578063c1a287e2146106b1578063e177246e146106c6578063f2b06537146106f0578063f851a4401461071a57610114565b80636fc1f57e146106345780637d645fab1461065d5780639cb6269514610672578063af7183e51461068757610114565b80633a66f901116100dc5780633a66f9011461033d5780634dd18bf51461048a578063591fcdfe146104bd57806363da8c0c1461060a5780636a42b8f81461061f57610114565b80630825f38f146101195780630e18b681146102ce5780631e0244ac146102e5578063267822471461030c57610114565b3661011457005b600080fd5b610259600480360360a081101561012f57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561015e57600080fd5b82018360208201111561017057600080fd5b803590602001918460018302840111600160201b8311171561019157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156101e357600080fd5b8201836020820111156101f557600080fd5b803590602001918460018302840111600160201b8311171561021657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061072f915050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029357818101518382015260200161027b565b50505050905090810190601f1680156102c05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102da57600080fd5b506102e3610c23565b005b3480156102f157600080fd5b506102fa610cbf565b60408051918252519081900360200190f35b34801561031857600080fd5b50610321610cc5565b604080516001600160a01b039092168252519081900360200190f35b34801561034957600080fd5b506102fa600480360360a081101561036057600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561038f57600080fd5b8201836020820111156103a157600080fd5b803590602001918460018302840111600160201b831117156103c257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561041457600080fd5b82018360208201111561042657600080fd5b803590602001918460018302840111600160201b8311171561044757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610cd4915050565b34801561049657600080fd5b506102e3600480360360208110156104ad57600080fd5b50356001600160a01b03166112db565b3480156104c957600080fd5b506102e3600480360360a08110156104e057600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561050f57600080fd5b82018360208201111561052157600080fd5b803590602001918460018302840111600160201b8311171561054257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561059457600080fd5b8201836020820111156105a657600080fd5b803590602001918460018302840111600160201b831117156105c757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506113d0915050565b34801561061657600080fd5b506102fa61167d565b34801561062b57600080fd5b506102fa611683565b34801561064057600080fd5b50610649611689565b604080519115158252519081900360200190f35b34801561066957600080fd5b506102fa611692565b34801561067e57600080fd5b506102fa611699565b34801561069357600080fd5b506102fa61169f565b3480156106a857600080fd5b506102fa6116a5565b3480156106bd57600080fd5b506102fa6116ab565b3480156106d257600080fd5b506102e3600480360360208110156106e957600080fd5b50356116b2565b3480156106fc57600080fd5b506106496004803603602081101561071357600080fd5b50356117a6565b34801561072657600080fd5b506103216117bb565b6000546060906001600160a01b0316331461077b5760405162461bcd60e51b815260040180806020018281038252604d815260200180611cfa604d913960600191505060405180910390fd5b6000868686868660405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156107e15781810151838201526020016107c9565b50505050905090810190601f16801561080e5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610841578181015183820152602001610829565b50505050905090810190601f16801561086e5780820380516001836020036101000a031916815260200191505b5060408051601f1981840301815291815281516020928301206000818152600890935291205490995060ff1697506108df96505050505050505760405162461bcd60e51b8152600401808060200182810382526052815260200180611d476052913960600191505060405180910390fd5b826108e86117ca565b10156109255760405162461bcd60e51b815260040180806020018281038252605a815260200180611830605a913960600191505060405180910390fd5b61093283621275006117ce565b61093a6117ca565b11156109775760405162461bcd60e51b81526004018080602001828103825260488152602001806119356048913960600191505060405180910390fd5b600081815260086020908152604091829020805460ff1916905586518782012091516001600160e01b03198316818301908152875160609493899360240191908401908083835b602083106109dd5780518252601f1990920191602091820191016109be565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905060006060896001600160a01b031689846040518082805190602001908083835b60208310610a535780518252601f199092019160209182019101610a34565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610ab5576040519150601f19603f3d011682016040523d82523d6000602084013e610aba565b606091505b509150915081610afb5760405162461bcd60e51b8152600401808060200182810382526052815260200180611a1c6052913960600191505060405180910390fd5b896001600160a01b0316847fa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e78b8b8b8b604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610b78578181015183820152602001610b60565b50505050905090810190601f168015610ba55780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610bd8578181015183820152602001610bc0565b50505050905090810190601f168015610c055780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39998505050505050505050565b6001546001600160a01b03163314610c6c5760405162461bcd60e51b815260040180806020018281038252604d81526020018061188a604d913960600191505060405180910390fd5b60008054336001600160a01b031991821617808355600180549092169091556040516001600160a01b03909116917f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c91a2565b60065481565b6001546001600160a01b031681565b60408051808201909152601681527573657444657650657263656e742875696e743235362960501b602091820152835190840120600090849084907f6eaddad2b4e0939c3df608ceffb2d63903eb63686c02f7d429d43a5f325fead51415610d99576000818060200190516020811015610d4d57600080fd5b5051600354909150811115610d935760405162461bcd60e51b815260040180806020018281038252604e815260200180611b51604e913960600191505060405180910390fd5b50610fd8565b60408051808201909152601b81527f736574547265617375727950657263656e742875696e743235362900000000006020918201528251908301207f89a2bc253c3144e59a2188a3aef8fd7db15a6218ad542cf966f3edce1b8997311415610e58576000818060200190516020811015610e1257600080fd5b5051600554909150811115610d935760405162461bcd60e51b815260040180806020018281038252605381526020018061197d6053913960600191505060405180910390fd5b60408051808201909152601b81527f736574496e766573746f7250657263656e742875696e743235362900000000006020918201528251908301207f876d3c9c3c7a70c9a938c69133884f02133eb7d3decbdb7bd39566d28c97d5f41415610f17576000818060200190516020811015610ed157600080fd5b5051600454909150811115610d935760405162461bcd60e51b8152600401808060200182810382526053815260200180611c4c6053913960600191505060405180910390fd5b60408051808201909152601b81527f757064617465456d697373696f6e526174652875696e743235362900000000006020918201528251908301207f0ba84cd2f0535c9a481170fa535603a94aca2116d737c6cac42f0b7670813ce11415610fd8576000818060200190516020811015610f9057600080fd5b5051600654909150811115610fd65760405162461bcd60e51b815260040180806020018281038252604d815260200180611b04604d913960600191505060405180910390fd5b505b6000546001600160a01b031633146110215760405162461bcd60e51b815260040180806020018281038252604b815260200180611b9f604b913960600191505060405180910390fd5b61103560025461102f6117ca565b906117ce565b8410156110735760405162461bcd60e51b815260040180806020018281038252605e8152602001806118d7605e913960600191505060405180910390fd5b6000888888888860405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156110d95781810151838201526020016110c1565b50505050905090810190601f1680156111065780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611139578181015183820152602001611121565b50505050905090810190601f1680156111665780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060016008600083815260200190815260200160002060006101000a81548160ff021916908315150217905550886001600160a01b0316817f76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f8a8a8a8a604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611231578181015183820152602001611219565b50505050905090810190601f16801561125e5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015611291578181015183820152602001611279565b50505050905090810190601f1680156112be5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a398975050505050505050565b60075460ff1615611329573330146113245760405162461bcd60e51b8152600401808060200182810382526062815260200180611bea6062913960800191505060405180910390fd5b611380565b6000546001600160a01b031633146113725760405162461bcd60e51b8152600401808060200182810382526050815260200180611d996050913960600191505060405180910390fd5b6007805460ff191660011790555b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a75690600090a250565b6000546001600160a01b031633146114195760405162461bcd60e51b815260040180806020018281038252604c8152602001806119d0604c913960600191505060405180910390fd5b6000858585858560405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561147f578181015183820152602001611467565b50505050905090810190601f1680156114ac5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156114df5781810151838201526020016114c7565b50505050905090810190601f16801561150c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060006008600083815260200190815260200160002060006101000a81548160ff021916908315150217905550856001600160a01b0316817f2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf8787878787604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156115d75781810151838201526020016115bf565b50505050905090810190601f1680156116045780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561163757818101518382015260200161161f565b50505050905090810190601f1680156116645780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60055481565b60025481565b60075460ff1681565b62278d0081565b60045481565b60035481565b61a8c081565b6212750081565b3330146116f05760405162461bcd60e51b815260040180806020018281038252605b815260200180611c9f605b913960600191505060405180910390fd5b61a8c08110156117315760405162461bcd60e51b8152600401808060200182810382526049815260200180611a6e6049913960600191505060405180910390fd5b62278d008111156117735760405162461bcd60e51b815260040180806020018281038252604d815260200180611ab7604d913960600191505060405180910390fd5b600281905560405181907f948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c90600090a250565b60086020526000908152604090205460ff1681565b6000546001600160a01b031681565b4290565b600082820183811015611828576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774207375727061737365642074696d65206c6f636b2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a61636365707441646d696e3a2043616c6c206d75737420636f6d652066726f6d2070656e64696e6741646d696e2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a71756575655472616e73616374696f6e3a20457374696d6174656420657865637574696f6e20626c6f636b206d75737420736174697366792064656c61792e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206973207374616c652e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a77697468696e4c696d6974733a20747265617375727950657263656e74206d757374206e6f7420657863656564206c696d69742e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a63616e63656c5472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a73657444656c61793a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a77697468696e4c696d6974733a206a6f65506572536563206d757374206e6f7420657863656564206c696d69742e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a77697468696e4c696d6974733a2064657650657263656e74206d757374206e6f7420657863656564206c696d69742e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a71756575655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a73657450656e64696e6741646d696e3a2043616c6c206d75737420636f6d652066726f6d20437573746f6d4d6173746572436865664a6f65563254696d656c6f636b2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a77697468696e4c696d6974733a20696e766573746f7250657263656e74206d757374206e6f7420657863656564206c696d69742e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a73657444656c61793a2043616c6c206d75737420636f6d652066726f6d20437573746f6d4d6173746572436865664a6f65563254696d656c6f636b2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a657865637574655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774206265656e207175657565642e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a73657450656e64696e6741646d696e3a2046697273742063616c6c206d75737420636f6d652066726f6d2061646d696e2ea26469706673582212206a36801c8f3f290a3ad4e26745b1b611b3318ccc2016bdf3851ac38df44cea8564736f6c634300060c0033437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a636f6e7374727563746f723a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e437573746f6d4d6173746572436865664a6f65563254696d656c6f636b3a3a636f6e7374727563746f723a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e0000000000000000000000005d3e4c0fe11e0ae4c32f0ff74b4544c49538ac61000000000000000000000000000000000000000000000000000000000000a8c000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000022b1c8c1227a00000

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

0000000000000000000000005d3e4c0fe11e0ae4c32f0ff74b4544c49538ac61000000000000000000000000000000000000000000000000000000000000a8c000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000022b1c8c1227a00000

-----Decoded View---------------
Arg [0] : admin_ (address): 0x5d3e4c0fe11e0ae4c32f0ff74b4544c49538ac61
Arg [1] : delay_ (uint256): 43200
Arg [2] : devPercentLimit_ (uint256): 200
Arg [3] : treasuryPercentLimit_ (uint256): 200
Arg [4] : investorPercentLimit_ (uint256): 100
Arg [5] : joePerSecLimit_ (uint256): 40000000000000000000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005d3e4c0fe11e0ae4c32f0ff74b4544c49538ac61
Arg [1] : 000000000000000000000000000000000000000000000000000000000000a8c0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [5] : 0000000000000000000000000000000000000000000000022b1c8c1227a00000


Deployed ByteCode Sourcemap

9320:8784:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16287:1641;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16287:1641:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16287:1641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16287:1641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16287:1641:0;;;;;;;;-1:-1:-1;16287:1641:0;;-1:-1:-1;;;;;16287:1641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16287:1641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16287:1641:0;;-1:-1:-1;;16287:1641:0;;;-1:-1:-1;16287:1641:0;;-1:-1:-1;;16287:1641:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13847:300;;;;;;;;;;;;;:::i;:::-;;10862:29;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;10680:27;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;10680:27:0;;;;;;;;;;;;;;14861:835;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14861:835:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14861:835:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14861:835:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14861:835:0;;;;;;;;-1:-1:-1;14861:835:0;;-1:-1:-1;;;;;14861:835:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14861:835:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14861:835:0;;-1:-1:-1;;14861:835:0;;;-1:-1:-1;14861:835:0;;-1:-1:-1;;14861:835:0:i;14155:698::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14155:698:0;-1:-1:-1;;;;;14155:698:0;;:::i;15704:575::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15704:575:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15704:575:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15704:575:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15704:575:0;;;;;;;;-1:-1:-1;15704:575:0;;-1:-1:-1;;;;;15704:575:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15704:575:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15704:575:0;;-1:-1:-1;;15704:575:0;;;-1:-1:-1;15704:575:0;;-1:-1:-1;;15704:575:0:i;10820:35::-;;;;;;;;;;;;;:::i;10714:20::-;;;;;;;;;;;;;:::i;10898:29::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;10257:47;;;;;;;;;;;;;:::i;10778:35::-;;;;;;;;;;;;;:::i;10741:30::-;;;;;;;;;;;;;:::i;10202:48::-;;;;;;;;;;;;;:::i;10149:46::-;;;;;;;;;;;;;:::i;13235:604::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13235:604:0;;:::i;10936:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10936:50:0;;:::i;10653:20::-;;;;;;;;;;;;;:::i;16287:1641::-;16540:5;;16479:12;;-1:-1:-1;;;;;16540:5:0;16526:10;:19;16504:146;;;;-1:-1:-1;;;16504:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16663:14;16715:6;16723:5;16730:9;16741:4;16747:3;16704:47;;;;;;-1:-1:-1;;;;;16704:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16704:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16704:47:0;;;-1:-1:-1;;16704:47:0;;;;;;;;;16680:82;;16704:47;16680:82;;;;16795:26;;;;:18;:26;;;;;;16680:82;;-1:-1:-1;16795:26:0;;;-1:-1:-1;16773:158:0;;-1:-1:-1;;;;;;;16773:158:0;;;-1:-1:-1;;;16773:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16987:3;16964:19;:17;:19::i;:::-;:26;;16942:166;;;;-1:-1:-1;;;16942:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17164:21;:3;10188:7;17164;:21::i;:::-;17141:19;:17;:19::i;:::-;:44;;17119:166;;;;-1:-1:-1;;;17119:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17327:5;17298:26;;;:18;:26;;;;;;;;;:34;;-1:-1:-1;;17298:34:0;;;17428:27;;;;;;17390:96;;-1:-1:-1;;;;;;17390:96:0;;;;;;;;;;17345:21;;17428:27;17471:4;;17390:96;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17390:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17379:107;;17560:12;17574:23;17601:6;-1:-1:-1;;;;;17601:11:0;17619:5;17640:8;17601:58;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17601:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17559:100;;;;17692:7;17670:139;;;;-1:-1:-1;;;17670:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17854:6;-1:-1:-1;;;;;17827:63:0;17846:6;17827:63;17862:5;17869:9;17880:4;17886:3;17827:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17827:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17910:10;16287:1641;-1:-1:-1;;;;;;;;;16287:1641:0:o;13847:300::-;13924:12;;-1:-1:-1;;;;;13924:12:0;13910:10;:26;13888:153;;;;-1:-1:-1;;;13888:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14052:5;:18;;14060:10;-1:-1:-1;;;;;;14052:18:0;;;;;;;-1:-1:-1;14081:25:0;;;;;;;;14124:15;;-1:-1:-1;;;;;14133:5:0;;;;14124:15;;;13847:300::o;10862:29::-;;;;:::o;10680:27::-;;;-1:-1:-1;;;;;10680:27:0;;:::o;14861:835::-;11121:19;;;;;;;;;;;;-1:-1:-1;;;11121:19:0;;;;;11074:27;;;;;;15073:7;;15047:9;;15058:4;;11105:37;11074:68;11070:1234;;;11155:18;11187:4;11176:27;;;;;;;;;;;;;;;-1:-1:-1;11176:27:0;11236:15;;11176:27;;-1:-1:-1;11222:29:0;;;11214:137;;;;-1:-1:-1;;;11214:137:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11070:1234;;;;11418:24;;;;;;;;;;;;;;;;;;11371:27;;;;;;11402:42;11371:73;11367:937;;;11457:23;11494:4;11483:27;;;;;;;;;;;;;;;-1:-1:-1;11483:27:0;11548:20;;11483:27;;-1:-1:-1;11529:39:0;;;11521:152;;;;-1:-1:-1;;;11521:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11367:937;11740:24;;;;;;;;;;;;;;;;;;11693:27;;;;;;11724:42;11693:73;11689:615;;;11779:23;11816:4;11805:27;;;;;;;;;;;;;;;-1:-1:-1;11805:27:0;11870:20;;11805:27;;-1:-1:-1;11851:39:0;;;11843:152;;;;-1:-1:-1;;;11843:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11689:615;12080:24;;;;;;;;;;;;;;;;;;12015:27;;;;;;12064:42;12015:91;12011:293;;;12119:17;12150:4;12139:27;;;;;;;;;;;;;;;-1:-1:-1;12139:27:0;12198:14;;12139:27;;-1:-1:-1;12185:27:0;;;12177:117;;;;-1:-1:-1;;;12177:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12011:293;;15129:5:::1;::::0;-1:-1:-1;;;;;15129:5:0::1;15115:10;:19;15093:144;;;;-1:-1:-1::0;;;15093:144:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15277:30;15301:5;;15277:19;:17;:19::i;:::-;:23:::0;::::1;:30::i;:::-;15270:3;:37;;15248:181;;;;-1:-1:-1::0;;;15248:181:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15442:14;15494:6;15502:5;15509:9;15520:4;15526:3;15483:47;;;;;;-1:-1:-1::0;;;;;15483:47:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;15483:47:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15459:82;;;;;;15442:99;;15581:4;15552:18;:26;15571:6;15552:26;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;15628:6;-1:-1:-1::0;;;;;15603:61:0::1;15620:6;15603:61;15636:5;15643:9;15654:4;15660:3;15603:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;15603:61:0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15682:6:::0;14861:835;-1:-1:-1;;;;;;;;14861:835:0:o;14155:698::-;14294:17;;;;14290:470;;;14354:10;14376:4;14354:27;14328:187;;;;-1:-1:-1;;;14328:187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14290:470;;;14588:5;;-1:-1:-1;;;;;14588:5:0;14574:10;:19;14548:161;;;;-1:-1:-1;;;14548:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14724:17;:24;;-1:-1:-1;;14724:24:0;14744:4;14724:24;;;14290:470;14770:12;:28;;-1:-1:-1;;;;;;14770:28:0;-1:-1:-1;;;;;14770:28:0;;;;;;;;;;;14816:29;;14832:12;;;14816:29;;-1:-1:-1;;14816:29:0;14155:698;:::o;15704:575::-;15925:5;;-1:-1:-1;;;;;15925:5:0;15911:10;:19;15889:145;;;;-1:-1:-1;;;15889:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16047:14;16099:6;16107:5;16114:9;16125:4;16131:3;16088:47;;;;;;-1:-1:-1;;;;;16088:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16088:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16064:82;;;;;;16047:99;;16186:5;16157:18;:26;16176:6;16157:26;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;16235:6;-1:-1:-1;;;;;16209:62:0;16227:6;16209:62;16243:5;16250:9;16261:4;16267:3;16209:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16209:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15704:575;;;;;;:::o;10820:35::-;;;;:::o;10714:20::-;;;;:::o;10898:29::-;;;;;;:::o;10257:47::-;10297:7;10257:47;:::o;10778:35::-;;;;:::o;10741:30::-;;;;:::o;10202:48::-;10242:8;10202:48;:::o;10149:46::-;10188:7;10149:46;:::o;13235:604::-;13309:10;13331:4;13309:27;13287:168;;;;-1:-1:-1;;;13287:168:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10242:8;13488:6;:23;;13466:146;;;;-1:-1:-1;;;13466:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10297:7;13645:6;:23;;13623:150;;;;-1:-1:-1;;;13623:150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13784:5;:14;;;13816:15;;13792:6;;13816:15;;;;;13235:604;:::o;10936:50::-;;;;;;;;;;;;;;;:::o;10653:20::-;;;-1:-1:-1;;;;;10653:20:0;;:::o;17936:165::-;18078:15;17936:165;:::o;2828:179::-;2886:7;2918:5;;;2942:6;;;;2934:46;;;;;-1:-1:-1;;;2934:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2998:1;2828:179;-1:-1:-1;;;2828:179:0:o

Swarm Source

ipfs://6a36801c8f3f290a3ad4e26745b1b611b3318ccc2016bdf3851ac38df44cea85
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.