CRO Price: $0.09 (-1.43%)

Contract

0xddB545F6aA3654BF2D7bADBcEA216d2f20b9305c

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Recover102627632023-09-18 6:55:57508 days ago1695020157IN
Adamant Finance: ERC Fund
0 CRO0.266362694,662.23290936
Recover102627502023-09-18 6:54:43508 days ago1695020083IN
Adamant Finance: ERC Fund
0 CRO0.259374034,662.23350466
Recover94781632023-07-29 2:42:53560 days ago1690598573IN
Adamant Finance: ERC Fund
0 CRO0.82188374,696.47830301
Transfer Ownersh...94781602023-07-29 2:42:36560 days ago1690598556IN
Adamant Finance: ERC Fund
0 CRO0.821883714,696.47839637
Recover94781552023-07-29 2:42:07560 days ago1690598527IN
Adamant Finance: ERC Fund
0 CRO0.821883754,696.47862639
Notify Fee Distr...77449022023-04-06 19:14:07673 days ago1680808447IN
Adamant Finance: ERC Fund
0 CRO0.479982744,775.90023757
Notify Fee Distr...76688522023-04-01 19:51:12678 days ago1680378672IN
Adamant Finance: ERC Fund
0 CRO0.480334114,779.39637079
Notify Fee Distr...76291112023-03-30 5:30:44681 days ago1680154244IN
Adamant Finance: ERC Fund
0 CRO0.465477444,782.22066739
Recover76287532023-03-30 4:57:01681 days ago1680152221IN
Adamant Finance: ERC Fund
0 CRO0.26605024,782.23725201
Set Converter76287462023-03-30 4:56:21681 days ago1680152181IN
Adamant Finance: ERC Fund
0 CRO0.222354914,782.23757818
Notify Fee Distr...25341012022-04-28 17:48:441016 days ago1651168124IN
Adamant Finance: ERC Fund
0 CRO0.630345,000
Notify Fee Distr...23302682022-04-14 0:54:521031 days ago1649897692IN
Adamant Finance: ERC Fund
0 CRO0.630345,000
Notify Fee Distr...18624362022-03-12 3:19:211064 days ago1647055161IN
Adamant Finance: ERC Fund
0 CRO0.681615,000
Notify Fee Distr...17582832022-03-05 2:14:511071 days ago1646446491IN
Adamant Finance: ERC Fund
0 CRO0.617845,000
Notify Fee Distr...15652392022-02-20 2:14:231084 days ago1645323263IN
Adamant Finance: ERC Fund
0 CRO0.660165,000
Notify Fee Distr...14587392022-02-12 21:12:441091 days ago1644700364IN
Adamant Finance: ERC Fund
0 CRO0.6928255,000
Notify Fee Distr...13700502022-02-06 21:48:291097 days ago1644184109IN
Adamant Finance: ERC Fund
0 CRO0.672665,000
Notify Fee Distr...12526262022-01-30 0:43:101105 days ago1643503390IN
Adamant Finance: ERC Fund
0 CRO0.660165,000
Notify Fee Distr...11144192022-01-20 19:06:071114 days ago1642705567IN
Adamant Finance: ERC Fund
0 CRO0.660165,000
Notify Fee Distr...9354702022-01-08 19:55:311126 days ago1641671731IN
Adamant Finance: ERC Fund
0 CRO0.672665,000
Notify Fee Distr...7905832021-12-30 3:35:411136 days ago1640835341IN
Adamant Finance: ERC Fund
0 CRO0.6928255,000
Notify Fee Distr...6948452021-12-23 17:57:331142 days ago1640282253IN
Adamant Finance: ERC Fund
0 CRO0.6928255,000
Notify Fee Distr...6088922021-12-17 23:59:521148 days ago1639785592IN
Adamant Finance: ERC Fund
0 CRO0.660165,000
Notify Fee Distr...5014012021-12-10 19:02:581155 days ago1639162978IN
Adamant Finance: ERC Fund
0 CRO0.7053255,000
Notify Fee Distr...4124742021-12-04 20:54:591161 days ago1638651299IN
Adamant Finance: ERC Fund
0 CRO0.6928255,000
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERCFund

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2022-01-17
*/

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
// SPDX-License-Identifier: UNLICENSED


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


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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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


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


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

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

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

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

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

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

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

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}
interface IUniswapRouterV2 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

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

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

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

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

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

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

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

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);
}
struct RewardData {
    address token;
    uint256 amount;
}
struct LockedBalance {
    uint256 amount;
    uint256 unlockTime;
}

// Interface for EPS Staking contract - http://ellipsis.finance/
interface IMultiFeeDistribution {

    /* ========== VIEWS ========== */
    function totalSupply() external view returns (uint256);
    function lockedSupply() external view returns (uint256);

    function rewardPerToken(address _rewardsToken) external view returns (uint256);

    function getRewardForDuration(address _rewardsToken) external view returns (uint256);

    // Address and claimable amount of all reward tokens for the given account
    function claimableRewards(address account) external view returns (RewardData[] memory);

    // Total balance of an account, including unlocked, locked and earned tokens
    function totalBalance(address user) view external returns (uint256 amount);

    // Total withdrawable balance for an account to which no penalty is applied
    function unlockedBalance(address user) view external returns (uint256 amount);

    // Final balance received and penalty balance paid by user upon calling exit
    function withdrawableBalance(address user) view external returns (uint256 amount, uint256 penaltyAmount);

    // Information on the "earned" balances of a user
    // Earned balances may be withdrawn immediately for a 50% penalty
    function earnedBalances(address user) view external returns (uint256 total, LockedBalance[] memory earningsData);

    // Information on a user's locked balances
    function lockedBalances(address user) view external returns (uint256 total, uint256 unlockable, uint256 locked, LockedBalance[] memory lockData);

    /* ========== MUTATIVE FUNCTIONS ========== */

    // Mint new tokens
    // Minted tokens receive rewards normally but incur a 50% penalty when
    // withdrawn before lockDuration has passed.
    function mint(address user, uint256 amount) external;

    // Withdraw full unlocked balance and claim pending rewards
    function exit() external;

    // Withdraw all currently locked tokens where the unlock time has passed
    function withdrawExpiredLocks() external;

    // Claim all pending staking rewards (both BUSD and EPS)
    function getReward() external;

    // Stake tokens to receive rewards
    // Locked tokens cannot be withdrawn for lockDuration and are eligible to receive stakingReward rewards
    function stake(uint256 amount, bool lock) external;
    
    // Withdraw staked tokens
    // First withdraws unlocked tokens, then earned tokens. Withdrawing earned tokens
    // incurs a 50% penalty which is distributed based on locked balances.
    function withdraw(uint256 amount) external;
    
    /* ========== ADMIN CONFIGURATION ========== */

    // Used to let FeeDistribution know that _rewardsToken was added to it
    function notifyRewardAmount(address _rewardsToken, uint256 rewardAmount) external;
}


//Contract where the fees are sent to before they are converted and sent to the feeDistributor contract
contract ERCFund is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    uint256 public constant feeMAX = 3000;

    uint256 public fee = 3000;
    address public feeDistributor;
    bool public feeSharingEnabled = true;
    mapping(address => bool) public converters;

    constructor(address distributor) public {
        feeDistributor = distributor;
    }

    function notifyFeeDistribution(address token) public {
        uint256 balance = IERC20(token).balanceOf(address(this));

        IERC20(token).safeApprove(feeDistributor, 0);
        IERC20(token).safeApprove(feeDistributor, balance);
        IMultiFeeDistribution(feeDistributor).notifyRewardAmount(token, balance);
    }

    //Doesn't support Fee on Transfer tokens, convert those to something else first
    //Transfer token from sender, then transfers it to the fee distributor
    function depositToFeeDistributor(address token, uint256 amount) public {
        IERC20(token).safeTransferFrom(msg.sender, address(this), amount);

        IERC20(token).safeApprove(feeDistributor, 0);
        IERC20(token).safeApprove(feeDistributor, amount);
        IMultiFeeDistribution(feeDistributor).notifyRewardAmount(token, amount);
    }

    /* ========== VIEW FUNCTIONS ========== */

    function feeShareEnabled() external view returns (bool) {
        return feeSharingEnabled;
    }

    function getFee() external view returns (uint256) {
        return fee;
    }

    /* ========== SETTER FUNCTIONS ========== */

    function setFeeDistributor(address distributor) public onlyOwner {
        feeDistributor = distributor;
    }

    function setFeeSharingEnabled(bool enabled) public onlyOwner {
        feeSharingEnabled = enabled;
    }

    function setFee(uint256 _fee) public onlyOwner {
        require(_fee <= feeMAX);
        fee = _fee;
    }

    function setConverter(address _converter, bool allowed) public onlyOwner {
        converters[_converter] = allowed;
    }

    /* ========== EMERGENCY FUNCTIONS ========== */

    //Used by the fee converter
    function recover(address token) public {
        require(converters[msg.sender], "not allowed");

        uint256 _token = IERC20(token).balanceOf(address(this));
        if (_token > 0) {
            IERC20(token).safeTransfer(msg.sender, _token);
            emit Recovered(token, _token);
        }
    }

    // **** Events ****
    event Recovered(address indexed tokenWithdrew, uint256 _amount);
    event Notified(address indexed tokenDeposited);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"distributor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenDeposited","type":"address"}],"name":"Notified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenWithdrew","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Recovered","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"converters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositToFeeDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDistributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeMAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeShareEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSharingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"notifyFeeDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"recover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_converter","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setConverter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"distributor","type":"address"}],"name":"setFeeDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setFeeSharingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610bb86001556002805460ff60a01b1916600160a01b17905534801561002957600080fd5b50604051610fb0380380610fb0833981016040819052610048916100c5565b60006100526100c1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b0319166001600160a01b03929092169190911790556100f3565b3390565b6000602082840312156100d6578081fd5b81516001600160a01b03811681146100ec578182fd5b9392505050565b610eae806101026000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80638da5cb5b116100a2578063cd27d22f11610071578063cd27d22f146101e2578063ced72f87146101f7578063dbd1926a146101ff578063ddca3f4314610212578063f2fde38b1461021a5761010b565b80638da5cb5b146101ac5780639335c4f3146101b4578063b29cb135146101bc578063ccfc2e8d146101cf5761010b565b806340a05acb116100de57806340a05acb1461016957806369fe0e2d14610189578063715018a61461019c5780638ab3893b146101a45761010b565b80630cd865ec146101105780630d43e8ad146101255780631ef88321146101435780633f6c6c5814610156575b600080fd5b61012361011e366004610acc565b61022d565b005b61012d610346565b60405161013a9190610bcc565b60405180910390f35b610123610151366004610b1e565b610355565b610123610164366004610b48565b610407565b61017c610177366004610acc565b610464565b60405161013a9190610c37565b610123610197366004610b80565b610479565b6101236104cc565b61017c610555565b61012d610565565b61017c610574565b6101236101ca366004610acc565b610584565b6101236101dd366004610acc565b610621565b6101ea610682565b60405161013a9190610e32565b6101ea610688565b61012361020d366004610ae7565b61068e565b6101ea6106f8565b610123610228366004610acc565b6106fe565b3360009081526003602052604090205460ff166102655760405162461bcd60e51b815260040161025c90610d01565b60405180910390fd5b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610294903090600401610bcc565b60206040518083038186803b1580156102ac57600080fd5b505afa1580156102c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e49190610b98565b90508015610342576103006001600160a01b03831633836107be565b816001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28826040516103399190610e32565b60405180910390a25b5050565b6002546001600160a01b031681565b61036a6001600160a01b038316333084610819565b600254610385906001600160a01b0384811691166000610840565b60025461039f906001600160a01b03848116911683610840565b60025460405163b66503cf60e01b81526001600160a01b039091169063b66503cf906103d19085908590600401610c1e565b600060405180830381600087803b1580156103eb57600080fd5b505af11580156103ff573d6000803e3d6000fd5b505050505050565b61040f610903565b6001600160a01b0316610420610565565b6001600160a01b0316146104465760405162461bcd60e51b815260040161025c90610d26565b60028054911515600160a01b0260ff60a01b19909216919091179055565b60036020526000908152604090205460ff1681565b610481610903565b6001600160a01b0316610492610565565b6001600160a01b0316146104b85760405162461bcd60e51b815260040161025c90610d26565b610bb88111156104c757600080fd5b600155565b6104d4610903565b6001600160a01b03166104e5610565565b6001600160a01b03161461050b5760405162461bcd60e51b815260040161025c90610d26565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600254600160a01b900460ff1690565b6000546001600160a01b031690565b600254600160a01b900460ff1681565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906105b3903090600401610bcc565b60206040518083038186803b1580156105cb57600080fd5b505afa1580156105df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106039190610b98565b600254909150610385906001600160a01b0384811691166000610840565b610629610903565b6001600160a01b031661063a610565565b6001600160a01b0316146106605760405162461bcd60e51b815260040161025c90610d26565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610bb881565b60015490565b610696610903565b6001600160a01b03166106a7610565565b6001600160a01b0316146106cd5760405162461bcd60e51b815260040161025c90610d26565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60015481565b610706610903565b6001600160a01b0316610717610565565b6001600160a01b03161461073d5760405162461bcd60e51b815260040161025c90610d26565b6001600160a01b0381166107635760405162461bcd60e51b815260040161025c90610c75565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6108148363a9059cbb60e01b84846040516024016107dd929190610c1e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610907565b505050565b61083a846323b872dd60e01b8585856040516024016107dd93929190610bfa565b50505050565b8015806108c85750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906108769030908690600401610be0565b60206040518083038186803b15801561088e57600080fd5b505afa1580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c69190610b98565b155b6108e45760405162461bcd60e51b815260040161025c90610ddc565b6108148363095ea7b360e01b84846040516024016107dd929190610c1e565b3390565b606061095c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166109969092919063ffffffff16565b805190915015610814578080602001905181019061097a9190610b64565b6108145760405162461bcd60e51b815260040161025c90610d92565b60606109a584846000856109af565b90505b9392505050565b6060824710156109d15760405162461bcd60e51b815260040161025c90610cbb565b6109da85610a70565b6109f65760405162461bcd60e51b815260040161025c90610d5b565b60006060866001600160a01b03168587604051610a139190610bb0565b60006040518083038185875af1925050503d8060008114610a50576040519150601f19603f3d011682016040523d82523d6000602084013e610a55565b606091505b5091509150610a65828286610a76565b979650505050505050565b3b151590565b60608315610a855750816109a8565b825115610a955782518084602001fd5b8160405162461bcd60e51b815260040161025c9190610c42565b80356001600160a01b0381168114610ac657600080fd5b92915050565b600060208284031215610add578081fd5b6109a88383610aaf565b60008060408385031215610af9578081fd5b610b038484610aaf565b91506020830135610b1381610e67565b809150509250929050565b60008060408385031215610b30578182fd5b610b3a8484610aaf565b946020939093013593505050565b600060208284031215610b59578081fd5b81356109a881610e67565b600060208284031215610b75578081fd5b81516109a881610e67565b600060208284031215610b91578081fd5b5035919050565b600060208284031215610ba9578081fd5b5051919050565b60008251610bc2818460208701610e3b565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602082528251806020840152610c61816040850160208701610e3b565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b60005b83811015610e56578181015183820152602001610e3e565b8381111561083a5750506000910152565b8015158114610e7557600080fd5b5056fea2646970667358221220502a910f07a2d1f564e2661daeb0c8dcc75e0c9f803a6fc33ea86af8721b497664736f6c634300060c00330000000000000000000000003f04d6bd50a79c854ef42965471d34e389eb5cdd

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80638da5cb5b116100a2578063cd27d22f11610071578063cd27d22f146101e2578063ced72f87146101f7578063dbd1926a146101ff578063ddca3f4314610212578063f2fde38b1461021a5761010b565b80638da5cb5b146101ac5780639335c4f3146101b4578063b29cb135146101bc578063ccfc2e8d146101cf5761010b565b806340a05acb116100de57806340a05acb1461016957806369fe0e2d14610189578063715018a61461019c5780638ab3893b146101a45761010b565b80630cd865ec146101105780630d43e8ad146101255780631ef88321146101435780633f6c6c5814610156575b600080fd5b61012361011e366004610acc565b61022d565b005b61012d610346565b60405161013a9190610bcc565b60405180910390f35b610123610151366004610b1e565b610355565b610123610164366004610b48565b610407565b61017c610177366004610acc565b610464565b60405161013a9190610c37565b610123610197366004610b80565b610479565b6101236104cc565b61017c610555565b61012d610565565b61017c610574565b6101236101ca366004610acc565b610584565b6101236101dd366004610acc565b610621565b6101ea610682565b60405161013a9190610e32565b6101ea610688565b61012361020d366004610ae7565b61068e565b6101ea6106f8565b610123610228366004610acc565b6106fe565b3360009081526003602052604090205460ff166102655760405162461bcd60e51b815260040161025c90610d01565b60405180910390fd5b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610294903090600401610bcc565b60206040518083038186803b1580156102ac57600080fd5b505afa1580156102c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e49190610b98565b90508015610342576103006001600160a01b03831633836107be565b816001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28826040516103399190610e32565b60405180910390a25b5050565b6002546001600160a01b031681565b61036a6001600160a01b038316333084610819565b600254610385906001600160a01b0384811691166000610840565b60025461039f906001600160a01b03848116911683610840565b60025460405163b66503cf60e01b81526001600160a01b039091169063b66503cf906103d19085908590600401610c1e565b600060405180830381600087803b1580156103eb57600080fd5b505af11580156103ff573d6000803e3d6000fd5b505050505050565b61040f610903565b6001600160a01b0316610420610565565b6001600160a01b0316146104465760405162461bcd60e51b815260040161025c90610d26565b60028054911515600160a01b0260ff60a01b19909216919091179055565b60036020526000908152604090205460ff1681565b610481610903565b6001600160a01b0316610492610565565b6001600160a01b0316146104b85760405162461bcd60e51b815260040161025c90610d26565b610bb88111156104c757600080fd5b600155565b6104d4610903565b6001600160a01b03166104e5610565565b6001600160a01b03161461050b5760405162461bcd60e51b815260040161025c90610d26565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600254600160a01b900460ff1690565b6000546001600160a01b031690565b600254600160a01b900460ff1681565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906105b3903090600401610bcc565b60206040518083038186803b1580156105cb57600080fd5b505afa1580156105df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106039190610b98565b600254909150610385906001600160a01b0384811691166000610840565b610629610903565b6001600160a01b031661063a610565565b6001600160a01b0316146106605760405162461bcd60e51b815260040161025c90610d26565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610bb881565b60015490565b610696610903565b6001600160a01b03166106a7610565565b6001600160a01b0316146106cd5760405162461bcd60e51b815260040161025c90610d26565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60015481565b610706610903565b6001600160a01b0316610717610565565b6001600160a01b03161461073d5760405162461bcd60e51b815260040161025c90610d26565b6001600160a01b0381166107635760405162461bcd60e51b815260040161025c90610c75565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6108148363a9059cbb60e01b84846040516024016107dd929190610c1e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610907565b505050565b61083a846323b872dd60e01b8585856040516024016107dd93929190610bfa565b50505050565b8015806108c85750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906108769030908690600401610be0565b60206040518083038186803b15801561088e57600080fd5b505afa1580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c69190610b98565b155b6108e45760405162461bcd60e51b815260040161025c90610ddc565b6108148363095ea7b360e01b84846040516024016107dd929190610c1e565b3390565b606061095c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166109969092919063ffffffff16565b805190915015610814578080602001905181019061097a9190610b64565b6108145760405162461bcd60e51b815260040161025c90610d92565b60606109a584846000856109af565b90505b9392505050565b6060824710156109d15760405162461bcd60e51b815260040161025c90610cbb565b6109da85610a70565b6109f65760405162461bcd60e51b815260040161025c90610d5b565b60006060866001600160a01b03168587604051610a139190610bb0565b60006040518083038185875af1925050503d8060008114610a50576040519150601f19603f3d011682016040523d82523d6000602084013e610a55565b606091505b5091509150610a65828286610a76565b979650505050505050565b3b151590565b60608315610a855750816109a8565b825115610a955782518084602001fd5b8160405162461bcd60e51b815260040161025c9190610c42565b80356001600160a01b0381168114610ac657600080fd5b92915050565b600060208284031215610add578081fd5b6109a88383610aaf565b60008060408385031215610af9578081fd5b610b038484610aaf565b91506020830135610b1381610e67565b809150509250929050565b60008060408385031215610b30578182fd5b610b3a8484610aaf565b946020939093013593505050565b600060208284031215610b59578081fd5b81356109a881610e67565b600060208284031215610b75578081fd5b81516109a881610e67565b600060208284031215610b91578081fd5b5035919050565b600060208284031215610ba9578081fd5b5051919050565b60008251610bc2818460208701610e3b565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602082528251806020840152610c61816040850160208701610e3b565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b60005b83811015610e56578181015183820152602001610e3e565b8381111561083a5750506000910152565b8015158114610e7557600080fd5b5056fea2646970667358221220502a910f07a2d1f564e2661daeb0c8dcc75e0c9f803a6fc33ea86af8721b497664736f6c634300060c0033

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

0000000000000000000000003f04d6bd50a79c854ef42965471d34e389eb5cdd

-----Decoded View---------------
Arg [0] : distributor (address): 0x3f04D6bD50A79c854EF42965471D34E389eB5CDd

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003f04d6bd50a79c854ef42965471d34e389eb5cdd


Deployed Bytecode Sourcemap

32709:2603:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34844:315;;;;;;:::i;:::-;;:::i;:::-;;32890:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33613:354;;;;;;:::i;:::-;;:::i;34391:107::-;;;;;;:::i;:::-;;:::i;32969:42::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;34506:110::-;;;;;;:::i;:::-;;:::i;24338:148::-;;;:::i;34025:99::-;;;:::i;23687:87::-;;;:::i;32926:36::-;;;:::i;33115:329::-;;;;;;:::i;:::-;;:::i;34271:112::-;;;;;;:::i;:::-;;:::i;32812:37::-;;;:::i;:::-;;;;;;;:::i;34132:79::-;;;:::i;34624:124::-;;;;;;:::i;:::-;;:::i;32858:25::-;;;:::i;24641:244::-;;;;;;:::i;:::-;;:::i;34844:315::-;34913:10;34902:22;;;;:10;:22;;;;;;;;34894:46;;;;-1:-1:-1;;;34894:46:0;;;;;;;:::i;:::-;;;;;;;;;34970:38;;-1:-1:-1;;;34970:38:0;;34953:14;;-1:-1:-1;;;;;34970:23:0;;;;;:38;;35002:4;;34970:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34953:55;-1:-1:-1;35023:10:0;;35019:133;;35050:46;-1:-1:-1;;;;;35050:26:0;;35077:10;35089:6;35050:26;:46::i;:::-;35126:5;-1:-1:-1;;;;;35116:24:0;;35133:6;35116:24;;;;;;:::i;:::-;;;;;;;;35019:133;34844:315;;:::o;32890:29::-;;;-1:-1:-1;;;;;32890:29:0;;:::o;33613:354::-;33695:65;-1:-1:-1;;;;;33695:30:0;;33726:10;33746:4;33753:6;33695:30;:65::i;:::-;33799:14;;33773:44;;-1:-1:-1;;;;;33773:25:0;;;;33799:14;;33773:25;:44::i;:::-;33854:14;;33828:49;;-1:-1:-1;;;;;33828:25:0;;;;33854:14;33870:6;33828:25;:49::i;:::-;33910:14;;33888:71;;-1:-1:-1;;;33888:71:0;;-1:-1:-1;;;;;33910:14:0;;;;33888:56;;:71;;33945:5;;33952:6;;33888:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33613:354;;:::o;34391:107::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;34463:17:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;34463:27:0::1;-1:-1:-1::0;;;;34463:27:0;;::::1;::::0;;;::::1;::::0;;34391:107::o;32969:42::-;;;;;;;;;;;;;;;:::o;34506:110::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;32845:4:::1;34572;:14;;34564:23;;;::::0;::::1;;34598:3;:10:::0;34506:110::o;24338:148::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;24445:1:::1;24429:6:::0;;24408:40:::1;::::0;-1:-1:-1;;;;;24429:6:0;;::::1;::::0;24408:40:::1;::::0;24445:1;;24408:40:::1;24476:1;24459:19:::0;;-1:-1:-1;;;;;;24459:19:0::1;::::0;;24338:148::o;34025:99::-;34099:17;;-1:-1:-1;;;34099:17:0;;;;;34025:99::o;23687:87::-;23733:7;23760:6;-1:-1:-1;;;;;23760:6:0;23687:87;:::o;32926:36::-;;;-1:-1:-1;;;32926:36:0;;;;;:::o;33115:329::-;33197:38;;-1:-1:-1;;;33197:38:0;;33179:15;;-1:-1:-1;;;;;33197:23:0;;;;;:38;;33229:4;;33197:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33274:14;;33179:56;;-1:-1:-1;33248:44:0;;-1:-1:-1;;;;;33248:25:0;;;;33274:14;;33248:25;:44::i;34271:112::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;34347:14:::1;:28:::0;;-1:-1:-1;;;;;;34347:28:0::1;-1:-1:-1::0;;;;;34347:28:0;;;::::1;::::0;;;::::1;::::0;;34271:112::o;32812:37::-;32845:4;32812:37;:::o;34132:79::-;34200:3;;34132:79;:::o;34624:124::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34708:22:0;;;::::1;;::::0;;;:10:::1;:22;::::0;;;;:32;;-1:-1:-1;;34708:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;34624:124::o;32858:25::-;;;;:::o;24641:244::-;23918:12;:10;:12::i;:::-;-1:-1:-1;;;;;23907:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23907:23:0;;23899:68;;;;-1:-1:-1;;;23899:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24730:22:0;::::1;24722:73;;;;-1:-1:-1::0;;;24722:73:0::1;;;;;;;:::i;:::-;24832:6;::::0;;24811:38:::1;::::0;-1:-1:-1;;;;;24811:38:0;;::::1;::::0;24832:6;::::1;::::0;24811:38:::1;::::0;::::1;24860:6;:17:::0;;-1:-1:-1;;;;;;24860:17:0::1;-1:-1:-1::0;;;;;24860:17:0;;;::::1;::::0;;;::::1;::::0;;24641:244::o;18696:177::-;18779:86;18799:5;18829:23;;;18854:2;18858:5;18806:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;18806:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;18806:58:0;-1:-1:-1;;;;;;18806:58:0;;;;;;;;;;18779:19;:86::i;:::-;18696:177;;;:::o;18881:205::-;18982:96;19002:5;19032:27;;;19061:4;19067:2;19071:5;19009:68;;;;;;;;;;:::i;18982:96::-;18881:205;;;;:::o;19355:622::-;19725:10;;;19724:62;;-1:-1:-1;19741:39:0;;-1:-1:-1;;;19741:39:0;;-1:-1:-1;;;;;19741:15:0;;;;;:39;;19765:4;;19772:7;;19741:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;19724:62;19716:152;;;;-1:-1:-1;;;19716:152:0;;;;;;;:::i;:::-;19879:90;19899:5;19929:22;;;19953:7;19962:5;19906:62;;;;;;;;;:::i;22314:106::-;22402:10;22314:106;:::o;21001:761::-;21425:23;21451:69;21479:4;21451:69;;;;;;;;;;;;;;;;;21459:5;-1:-1:-1;;;;;21451:27:0;;;:69;;;;;:::i;:::-;21535:17;;21425:95;;-1:-1:-1;21535:21:0;21531:224;;21677:10;21666:30;;;;;;;;;;;;:::i;:::-;21658:85;;;;-1:-1:-1;;;21658:85:0;;;;;;;:::i;13792:195::-;13895:12;13927:52;13949:6;13957:4;13963:1;13966:12;13927:21;:52::i;:::-;13920:59;;13792:195;;;;;;:::o;14844:530::-;14971:12;15029:5;15004:21;:30;;14996:81;;;;-1:-1:-1;;;14996:81:0;;;;;;;:::i;:::-;15096:18;15107:6;15096:10;:18::i;:::-;15088:60;;;;-1:-1:-1;;;15088:60:0;;;;;;;:::i;:::-;15222:12;15236:23;15263:6;-1:-1:-1;;;;;15263:11:0;15283:5;15291:4;15263:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15221:75;;;;15314:52;15332:7;15341:10;15353:12;15314:17;:52::i;:::-;15307:59;14844:530;-1:-1:-1;;;;;;;14844:530:0:o;10874:422::-;11241:20;11280:8;;;10874:422::o;17384:742::-;17499:12;17528:7;17524:595;;;-1:-1:-1;17559:10:0;17552:17;;17524:595;17673:17;;:21;17669:439;;17936:10;17930:17;17997:15;17984:10;17980:2;17976:19;17969:44;17884:148;18079:12;18072:20;;-1:-1:-1;;;18072:20:0;;;;;;;;:::i;5:130:-1:-;72:20;;-1:-1;;;;;12517:54;;13103:35;;13093:2;;13152:1;;13142:12;13093:2;57:78;;;;:::o;686:241::-;;790:2;778:9;769:7;765:23;761:32;758:2;;;-1:-1;;796:12;758:2;858:53;903:7;879:22;858:53;:::i;934:360::-;;;1052:2;1040:9;1031:7;1027:23;1023:32;1020:2;;;-1:-1;;1058:12;1020:2;1120:53;1165:7;1141:22;1120:53;:::i;:::-;1110:63;;1210:2;1250:9;1246:22;206:20;231:30;255:5;231:30;:::i;:::-;1218:60;;;;1014:280;;;;;:::o;1301:366::-;;;1422:2;1410:9;1401:7;1397:23;1393:32;1390:2;;;-1:-1;;1428:12;1390:2;1490:53;1535:7;1511:22;1490:53;:::i;:::-;1480:63;1580:2;1619:22;;;;475:20;;-1:-1;;;1384:283::o;1674:235::-;;1775:2;1763:9;1754:7;1750:23;1746:32;1743:2;;;-1:-1;;1781:12;1743:2;219:6;206:20;231:30;255:5;231:30;:::i;1916:257::-;;2028:2;2016:9;2007:7;2003:23;1999:32;1996:2;;;-1:-1;;2034:12;1996:2;354:6;348:13;366:30;390:5;366:30;:::i;2180:241::-;;2284:2;2272:9;2263:7;2259:23;2255:32;2252:2;;;-1:-1;;2290:12;2252:2;-1:-1;475:20;;2246:175;-1:-1;2246:175::o;2428:263::-;;2543:2;2531:9;2522:7;2518:23;2514:32;2511:2;;;-1:-1;;2549:12;2511:2;-1:-1;623:13;;2505:186;-1:-1;2505:186::o;6321:271::-;;3089:5;11770:12;3200:52;3245:6;3240:3;3233:4;3226:5;3222:16;3200:52;:::i;:::-;3264:16;;;;;6455:137;-1:-1;;6455:137::o;6599:222::-;-1:-1;;;;;12517:54;;;;2769:37;;6726:2;6711:18;;6697:124::o;6828:333::-;-1:-1;;;;;12517:54;;;2769:37;;12517:54;;7147:2;7132:18;;2769:37;6983:2;6968:18;;6954:207::o;7168:444::-;-1:-1;;;;;12517:54;;;2769:37;;12517:54;;;;7515:2;7500:18;;2769:37;7598:2;7583:18;;6272:37;;;;7351:2;7336:18;;7322:290::o;7619:333::-;-1:-1;;;;;12517:54;;;;2769:37;;7938:2;7923:18;;6272:37;7774:2;7759:18;;7745:207::o;7959:210::-;12429:13;;12422:21;2883:34;;8080:2;8065:18;;8051:118::o;8176:310::-;;8323:2;8344:17;8337:47;3437:5;11770:12;12209:6;8323:2;8312:9;8308:18;12197:19;3531:52;3576:6;12237:14;8312:9;12237:14;8323:2;3557:5;3553:16;3531:52;:::i;:::-;13023:7;13007:14;-1:-1;;13003:28;3595:39;;;;12237:14;3595:39;;8294:192;-1:-1;;8294:192::o;8493:416::-;8693:2;8707:47;;;3871:2;8678:18;;;12197:19;3907:34;12237:14;;;3887:55;-1:-1;;;3962:12;;;3955:30;4004:12;;;8664:245::o;8916:416::-;9116:2;9130:47;;;4255:2;9101:18;;;12197:19;4291:34;12237:14;;;4271:55;-1:-1;;;4346:12;;;4339:30;4388:12;;;9087:245::o;9339:416::-;9539:2;9553:47;;;4639:2;9524:18;;;12197:19;-1:-1;;;12237:14;;;4655:34;4708:12;;;9510:245::o;9762:416::-;9962:2;9976:47;;;9947:18;;;12197:19;4995:34;12237:14;;;4975:55;5049:12;;;9933:245::o;10185:416::-;10385:2;10399:47;;;5300:2;10370:18;;;12197:19;5336:31;12237:14;;;5316:52;5387:12;;;10356:245::o;10608:416::-;10808:2;10822:47;;;5638:2;10793:18;;;12197:19;5674:34;12237:14;;;5654:55;-1:-1;;;5729:12;;;5722:34;5775:12;;;10779:245::o;11031:416::-;11231:2;11245:47;;;6026:2;11216:18;;;12197:19;6062:34;12237:14;;;6042:55;-1:-1;;;6117:12;;;6110:46;6175:12;;;11202:245::o;11454:222::-;6272:37;;;11581:2;11566:18;;11552:124::o;12663:268::-;12728:1;12735:101;12749:6;12746:1;12743:13;12735:101;;;12816:11;;;12810:18;12797:11;;;12790:39;12771:2;12764:10;12735:101;;;12851:6;12848:1;12845:13;12842:2;;;-1:-1;;12728:1;12898:16;;12891:27;12712:219::o;13168:111::-;13249:5;12429:13;12422:21;13227:5;13224:32;13214:2;;13270:1;;13260:12;13214:2;13208:71;:::o

Swarm Source

ipfs://502a910f07a2d1f564e2661daeb0c8dcc75e0c9f803a6fc33ea86af8721b4976

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.