Contract 0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1e7ad2a91460bda1f85cc1d84c7a85495882b34eb2d5eefa9d556d07fba8a1adWithdraw Tokens483607932022-10-04 1:34:141 day 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.00221362
0xd13c5ca353b20155fa7f273e9645eb67fb5c167d4fa6c84877cc0b657abed29bWithdraw Tokens483607882022-10-04 1:34:061 day 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.00221242
0x83ecf86ca63333a670dd404edc6997574f2aa13ae877a6e0ed914a057dda97f0Withdraw Tokens483607822022-10-04 1:33:551 day 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.00235336
0x66e7f9b7f3e8257ed32e4d7a878de611dd577d736943b319b087e8a6bc3526b7Withdraw Tokens461027872022-09-01 1:41:3534 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000616299978
0x3b07068272484a584e8d0d41e2e676a57399822d81f7b0598853ccee0c2d778dWithdraw Tokens461027802022-09-01 1:41:2734 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000615965883
0xd8c2b64dacb035350d998212cb8b8530c3118bb95d8fa96fdeb77282477bf791Withdraw Tokens461027722022-09-01 1:41:1934 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000655138553
0xbb922edeb3abca65c27cdb949bba44527a5b8e18817af6c8937c38b528eb8716Withdraw Tokens442358892022-08-04 23:02:2461 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000793555028
0x200d570ec2a23fb2dffcb25fa2db5ea8f19ffe733fac8d57a9e15d46a0d24be3Withdraw Tokens442358832022-08-04 23:02:1561 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000760158388
0x0db173f0659965b047081f9de7fe6d750f2cfcb175b56ed58e1d3b35fd8407b7Withdraw Tokens442358752022-08-04 23:02:0761 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000893174596
0x2b3292c848624482dd840d3816ea27a6a4df5caf8351de695661a654f3c59661Withdraw Tokens418032102022-07-02 1:21:4195 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000349073658
0x9a46571ad16a156d0fdca5734d8867d090a13e51fc61bad227cd7d144afbcc01Withdraw Tokens418032032022-07-02 1:21:3295 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000349254086
0x46945a5e58ee127d11c307779f4cc264ac0bbae20451791da5deea2a6b33718fWithdraw Tokens418031972022-07-02 1:21:2395 days 4 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.000372025409
0x16d863299aa5b8d7cbd6dc401b1d862f8430ffbf7ef1cefcd7ce8050d48013eaWithdraw Tokens399521032022-06-07 0:25:05120 days 5 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.002879407664
0x9d778213f0707b411523a0974d58c0a89343e9f313820fd8bff524dc16f4ba5aWithdraw Tokens399520422022-06-07 0:23:07120 days 5 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.002877846742
0x44f5bf75a3a06d6daa0d5c4acebe1fbfe1e98adb057d284913211645327ca3c2Withdraw Tokens399520282022-06-07 0:22:38120 days 5 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.003061177086
0x865f1c4b0e290540da5324048914c7fe74645f98c6d4464b04264f5f7919b319Withdraw Tokens381386022022-05-13 7:03:50144 days 22 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.220300636442
0xd6fc53b2dd65a345f4cd5a1f84791f4c92805cae8e9eb9ba0da1f914b312128fWithdraw Tokens349138402022-03-31 22:53:49187 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.017341292216
0xca02c0b52312b8abd15a2284d6c829abdd113033f62ec35986ccbd2c4cf5464bWithdraw Tokens349136652022-03-31 22:50:48187 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.020832284974
0x73fd98426050f85af69dc6727997801205d132b5f5720a2b567813bb89af34f0Withdraw Tokens297284102022-02-01 23:45:43245 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.01853290873
0xe48e01a42aa113a37fe4e8bbed0dbc2110d4206dd705b2a320b9e2a47881942bWithdraw Tokens297283522022-02-01 23:44:57245 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.021042308484
0xbf266c76e0affe4dc66b3cc3d65dad43f011b11798aeb5c3f5750901c1adec26Withdraw Tokens271257242022-01-06 4:05:22272 days 1 hr ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.043508917098
0xe33c133fc808526813864d4ba39e50e679c647207bf7bd224433443ff136a3cdWithdraw Tokens266367522022-01-01 3:41:40277 days 2 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.014129005107
0xbe2a2a86d3fa4265895a2135c3b4d70de5b40cdcf234dc13c086c416e9d069d8Withdraw Tokens241016502021-12-05 22:49:24303 days 6 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.020779220991
0xf543e28d72fdd1058dfb9b4ed444f12fe5168f6f40ce87f0cd3a9751f81d48f8Withdraw Tokens212160182021-11-06 5:30:20333 days 15 mins ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.016607989745
0xb9d04067e77f6ecb4bcd7f7a9ddd047213a8a577d92195835e5b6644358a2fcaWithdraw Tokens203934452021-10-28 22:27:04341 days 7 hrs ago0x85df0b925e0af60a399a8b81ba5b69ead3461de6 IN  0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b0 FTM0.021561048393
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xea5f182457bd741f0c00075cf9a89806748ca2916b8efe4cb1de9ac0be81a26053614482021-05-05 23:15:01517 days 6 hrs ago 0x85df0b925e0af60a399a8b81ba5b69ead3461de6  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReaperTreasury

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-05-25
*/

// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity ^0.6.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity ^0.6.0;

/**
 * @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.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

pragma solidity ^0.6.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);
}

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

pragma solidity ^0.6.2;

/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

pragma solidity ^0.6.0;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.12;

contract ReaperTreasury is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint;

    address public accountant;

    struct Withdrawal {
      uint amount;
      address token;
      uint time;
      bool reviewed;
    }

    uint counter = 0;

    mapping(uint => Withdrawal) public withdrawals;

    function viewWithdrawal(uint index) public view returns (uint, address, uint, bool) {
      Withdrawal memory receipt = withdrawals[index];
      return(receipt.amount, receipt.token, receipt.time, receipt.reviewed);
    }

    function markReviewed(uint index) public returns (bool) {
      require(msg.sender == accountant, "not authorized");
      withdrawals[index].reviewed = true;
      return true;
    }

    function withdrawTokens(address _token, address _to, uint256 _amount) external onlyOwner {
      withdrawals[counter] = Withdrawal(_amount, _token, block.timestamp, false);
      counter++;
      IERC20(_token).safeTransfer(_to, _amount);
    }

    function withdrawFTM(address payable _to, uint256 _amount) external onlyOwner {
      withdrawals[counter] = Withdrawal(_amount, address(0), block.timestamp, false);
      counter++;
      _to.transfer(_amount);
    }

    function setAccountant(address _addr) public onlyOwner returns (bool) {
      accountant = _addr;
      return true;
    }

    receive () external payable {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"accountant","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"markReviewed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"address","name":"_addr","type":"address"}],"name":"setAccountant","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"viewWithdrawal","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFTM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawals","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"bool","name":"reviewed","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600060025534801561001557600080fd5b5060006100266100c960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100d1565b600033905090565b611390806100e06000396000f3fe6080604052600436106100955760003560e01c8063715018a611610059578063715018a6146102bc5780638da5cb5b146102d3578063cdbf865614610314578063d4068acd14610365578063f2fde38b146103c05761009c565b806344edcb48146100a157806348ea71271461011d5780634fb3ccc5146101845780635cc07076146101c55780635e35359e146102415761009c565b3661009c57005b600080fd5b3480156100ad57600080fd5b506100da600480360360208110156100c457600080fd5b8101908080359060200190929190505050610411565b604051808581526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001821515815260200194505050505060405180910390f35b34801561012957600080fd5b5061016c6004803603602081101561014057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104e8565b60405180821515815260200191505060405180910390f35b34801561019057600080fd5b506101996105fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101d157600080fd5b506101fe600480360360208110156101e857600080fd5b8101908080359060200190929190505050610622565b604051808581526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001821515815260200194505050505060405180910390f35b34801561024d57600080fd5b506102ba6004803603606081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061067f565b005b3480156102c857600080fd5b506102d1610856565b005b3480156102df57600080fd5b506102e86109dc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032057600080fd5b5061034d6004803603602081101561033757600080fd5b8101908080359060200190929190505050610a05565b60405180821515815260200191505060405180910390f35b34801561037157600080fd5b506103be6004803603604081101561038857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b02565b005b3480156103cc57600080fd5b5061040f600480360360208110156103e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf5565b005b60008060008061041f6112ca565b60036000878152602001908152602001600020604051806080016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600282015481526020016003820160009054906101000a900460ff161515151581525050905080600001518160200151826040015183606001519450945094509450509193509193565b60006104f2610f00565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60036020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030160009054906101000a900460ff16905084565b610687610f00565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610747576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60405180608001604052808281526020018473ffffffffffffffffffffffffffffffffffffffff168152602001428152602001600015158152506003600060025481526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555090505060026000815480929190600101919050555061085182828573ffffffffffffffffffffffffffffffffffffffff16610f089092919063ffffffff16565b505050565b61085e610f00565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461091e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b60016003600084815260200190815260200160002060030160006101000a81548160ff02191690831515021790555060019050919050565b610b0a610f00565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6040518060800160405280828152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001428152602001600015158152506003600060025481526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050506002600081548092919060010191905055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610cf0573d6000803e3d6000fd5b505050565b610cfd610f00565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dbd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061130b6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b610fa58363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610faa565b505050565b606061100c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166110999092919063ffffffff16565b90506000815111156110945780806020019051602081101561102d57600080fd5b8101908080519060200190929190505050611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611331602a913960400191505060405180910390fd5b5b505050565b60606110a884846000856110b1565b90509392505050565b60606110bc856112b7565b61112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061117e578051825260208201915060208101905060208303925061115b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146111e0576040519150601f19603f3d011682016040523d82523d6000602084013e6111e5565b606091505b509150915081156111fa5780925050506112af565b60008151111561120d5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611274578082015181840152602081019050611259565b50505050905090810190601f1680156112a15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b604051806080016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600015158152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212209517c864407ca017f30e5b2f05d8f13a3b06350e1ca192fd4d7d335cf2b99d5264736f6c634300060c0033

Deployed ByteCode Sourcemap

31944:1416:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32281:225;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33194:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32051:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32226:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32709:248;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2712:148;;;;;;;;;;;;;:::i;:::-;;2070:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32514:187;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32965:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3015:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32281:225;32338:4;32344:7;32353:4;32359;32374:25;;:::i;:::-;32402:11;:18;32414:5;32402:18;;;;;;;;;;;32374:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32436:7;:14;;;32452:7;:13;;;32467:7;:12;;;32481:7;:16;;;32429:69;;;;;;;;;32281:225;;;;;:::o;33194:125::-;33258:4;2292:12;:10;:12::i;:::-;2282:22;;:6;;;;;;;;;;:22;;;2274:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33286:5:::1;33273:10;;:18;;;;;;;;;;;;;;;;;;33307:4;33300:11;;33194:125:::0;;;:::o;32051:25::-;;;;;;;;;;;;;:::o;32226:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32709:248::-;2292:12;:10;:12::i;:::-;2282:22;;:6;;;;;;;;;;:22;;;2274:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32830:51:::1;;;;;;;;32841:7;32830:51;;;;32850:6;32830:51;;;;;;32858:15;32830:51;;;;32875:5;32830:51;;;;::::0;32807:11:::1;:20;32819:7;;32807:20;;;;;;;;;;;:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32890:7;;:9;;;;;;;;;;;;;32908:41;32936:3;32941:7;32915:6;32908:27;;;;:41;;;;;:::i;:::-;32709:248:::0;;;:::o;2712:148::-;2292:12;:10;:12::i;:::-;2282:22;;:6;;;;;;;;;;:22;;;2274:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2819:1:::1;2782:40;;2803:6;::::0;::::1;;;;;;;;2782:40;;;;;;;;;;;;2850:1;2833:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2712:148::o:0;2070:79::-;2108:7;2135:6;;;;;;;;;;;2128:13;;2070:79;:::o;32514:187::-;32564:4;32601:10;;;;;;;;;;;32587:24;;:10;:24;;;32579:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32669:4;32639:11;:18;32651:5;32639:18;;;;;;;;;;;:27;;;:34;;;;;;;;;;;;;;;;;;32689:4;32682:11;;32514:187;;;:::o;32965:221::-;2292:12;:10;:12::i;:::-;2282:22;;:6;;;;;;;;;;:22;;;2274:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33075:55:::1;;;;;;;;33086:7;33075:55;;;;33103:1;33075:55;;;;;;33107:15;33075:55;;;;33124:5;33075:55;;;;::::0;33052:11:::1;:20;33064:7;;33052:20;;;;;;;;;;;:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33139:7;;:9;;;;;;;;;;;;;33157:3;:12;;:21;33170:7;33157:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;32965:221:::0;;:::o;3015:244::-;2292:12;:10;:12::i;:::-;2282:22;;:6;;;;;;;;;;:22;;;2274:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3124:1:::1;3104:22;;:8;:22;;;;3096:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3214:8;3185:38;;3206:6;::::0;::::1;;;;;;;;3185:38;;;;;;;;;;;;3243:8;3234:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3015:244:::0;:::o;624:106::-;677:15;712:10;705:17;;624:106;:::o;28843:177::-;28926:86;28946:5;28976:23;;;29001:2;29005:5;28953:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28926:19;:86::i;:::-;28843:177;;;:::o;31148:761::-;31572:23;31598:69;31626:4;31598:69;;;;;;;;;;;;;;;;;31606:5;31598:27;;;;:69;;;;;:::i;:::-;31572:95;;31702:1;31682:10;:17;:21;31678:224;;;31824:10;31813:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31805:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31678:224;31148:761;;;:::o;14959:196::-;15062:12;15094:53;15117:6;15125:4;15131:1;15134:12;15094:22;:53::i;:::-;15087:60;;14959:196;;;;;:::o;16336:979::-;16466:12;16499:18;16510:6;16499:10;:18::i;:::-;16491:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16625:12;16639:23;16666:6;:11;;16686:8;16697:4;16666:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16624:78;;;;16717:7;16713:595;;;16748:10;16741:17;;;;;;16713:595;16882:1;16862:10;:17;:21;16858:439;;;17125:10;17119:17;17186:15;17173:10;17169:2;17165:19;17158:44;17073:148;17268:12;17261:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16336:979;;;;;;;:::o;12041:422::-;12101:4;12309:12;12420:7;12408:20;12400:28;;12454:1;12447:4;:8;12440:15;;;12041:422;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://9517c864407ca017f30e5b2f05d8f13a3b06350e1ca192fd4d7d335cf2b99d52
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.