ETH Price: $3,392.96 (-1.26%)
Gas: 2 Gwei

Contract

0xA0446D8804611944F1B527eCD37d7dcbE442caba
 
Transaction Hash
Method
Block
From
To
Value
0xb76e7c5eb0bf3718d3612d5ef5eb29425a9357847c94ec50190ecb650a2633d3 Stake(pending)2024-06-23 4:30:226 days ago1719117022IN
1inch: st1INCH v1 Token
0 ETH(Pending)(Pending)
0x6854e826caf7ea0f83dc0d270e607d9770d1e9da974c1bc88738497a55b69795 Stake(pending)2024-06-23 4:12:396 days ago1719115959IN
1inch: st1INCH v1 Token
0 ETH(Pending)(Pending)
Unstake201909782024-06-28 15:07:3521 hrs ago1719587255IN
1inch: st1INCH v1 Token
0 ETH0.0023808310.9243855
Unstake201874232024-06-28 3:13:2333 hrs ago1719544403IN
1inch: st1INCH v1 Token
0 ETH0.000931484.77075189
Unstake201814442024-06-27 7:10:352 days ago1719472235IN
1inch: st1INCH v1 Token
0 ETH0.000844694.20581723
Unstake201773142024-06-26 17:20:112 days ago1719422411IN
1inch: st1INCH v1 Token
0 ETH0.0028952618.86758861
Unstake201672192024-06-25 7:31:114 days ago1719300671IN
1inch: st1INCH v1 Token
0 ETH0.000561083.14992329
Unstake201655522024-06-25 1:55:354 days ago1719280535IN
1inch: st1INCH v1 Token
0 ETH0.000392692.55904704
Unstake201649742024-06-24 23:59:354 days ago1719273575IN
1inch: st1INCH v1 Token
0 ETH0.000584652.99456167
Unstake201625762024-06-24 15:56:114 days ago1719244571IN
1inch: st1INCH v1 Token
0 ETH0.00108656.1
Unstake201551432024-06-23 14:59:595 days ago1719154799IN
1inch: st1INCH v1 Token
0 ETH0.000776714.35991233
Unstake201520132024-06-23 4:28:116 days ago1719116891IN
1inch: st1INCH v1 Token
0 ETH0.00035632
Unstake201474622024-06-22 13:11:596 days ago1719061919IN
1inch: st1INCH v1 Token
0 ETH0.000561473.1517144
Unstake201470132024-06-22 11:41:357 days ago1719056495IN
1inch: st1INCH v1 Token
0 ETH0.000504562.83263871
Unstake201412392024-06-21 16:17:477 days ago1718986667IN
1inch: st1INCH v1 Token
0 ETH0.00181398.38368663
Unstake201407972024-06-21 14:48:597 days ago1718981339IN
1inch: st1INCH v1 Token
0 ETH0.001853719.49568787
Unstake201327622024-06-20 11:52:599 days ago1718884379IN
1inch: st1INCH v1 Token
0 ETH0.0023523112.04831899
Unstake201259462024-06-19 13:00:359 days ago1718802035IN
1inch: st1INCH v1 Token
0 ETH0.001446758.21310283
Unstake201248532024-06-19 9:20:3510 days ago1718788835IN
1inch: st1INCH v1 Token
0 ETH0.00076563.92115814
Unstake201215742024-06-18 22:19:1110 days ago1718749151IN
1inch: st1INCH v1 Token
0 ETH0.001485276.81472868
Unstake201181342024-06-18 10:45:5911 days ago1718707559IN
1inch: st1INCH v1 Token
0 ETH0.0009354.2902129
Unstake201152652024-06-18 1:05:3511 days ago1718672735IN
1inch: st1INCH v1 Token
0 ETH0.001051525.44123685
Unstake201125632024-06-17 16:00:5911 days ago1718640059IN
1inch: st1INCH v1 Token
0 ETH0.0032669416.73312082
Unstake201094032024-06-17 5:24:3512 days ago1718601875IN
1inch: st1INCH v1 Token
0 ETH0.000517182.64895637
Unstake200952392024-06-15 5:53:5914 days ago1718430839IN
1inch: st1INCH v1 Token
0 ETH0.000697093.91298597
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GovernanceMothership

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 8 : GovernanceMothership.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "../interfaces/IGovernanceModule.sol";
import "../utils/BalanceAccounting.sol";


contract GovernanceMothership is Ownable, BalanceAccounting {
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.AddressSet;

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

    IERC20 public immutable inchToken;

    EnumerableSet.AddressSet private _modules;

    constructor(IERC20 _inchToken) public {
        inchToken = _inchToken;
    }

    function name() external pure returns(string memory) {
        return "1INCH Token (Staked)";
    }

    function symbol() external pure returns(string memory) {
        return "st1INCH";
    }

    function decimals() external pure returns(uint8) {
        return 18;
    }

    function stake(uint256 amount) external {
        require(amount > 0, "Empty stake is not allowed");

        inchToken.transferFrom(msg.sender, address(this), amount);
        _mint(msg.sender, amount);
        _notifyFor(msg.sender, balanceOf(msg.sender));
        emit Transfer(address(0), msg.sender, amount);
    }

    function unstake(uint256 amount) external {
        require(amount > 0, "Empty unstake is not allowed");

        _burn(msg.sender, amount);
        _notifyFor(msg.sender, balanceOf(msg.sender));
        inchToken.transfer(msg.sender, amount);
        emit Transfer(msg.sender, address(0), amount);
    }

    function notify() external {
        _notifyFor(msg.sender, balanceOf(msg.sender));
    }

    function notifyFor(address account) external {
        _notifyFor(account, balanceOf(account));
    }

    function batchNotifyFor(address[] memory accounts) external {
        uint256 modulesLength = _modules.length();
        uint256[] memory balances = new uint256[](accounts.length);
        for (uint256 j = 0; j < accounts.length; ++j) {
            balances[j] = balanceOf(accounts[j]);
        }
        for (uint256 i = 0; i < modulesLength; ++i) {
            IGovernanceModule(_modules.at(i)).notifyStakesChanged(accounts, balances);
        }
    }

    function addModule(address module) external onlyOwner {
        require(_modules.add(module), "Module already registered");
        emit AddModule(module);
    }

    function removeModule(address module) external onlyOwner {
        require(_modules.remove(module), "Module was not registered");
        emit RemoveModule(module);
    }

    function _notifyFor(address account, uint256 balance) private {
        bytes32[] memory cached = _modules._inner._values;
        for (uint256 i = 0; i < cached.length; ++i) {
            IGovernanceModule(address(uint256(cached[i]))).notifyStakeChanged(account, balance);
        }
    }
}

File 2 of 8 : IGovernanceModule.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;


interface IGovernanceModule {
    function notifyStakeChanged(address account, uint256 newBalance) external;
    function notifyStakesChanged(address[] calldata accounts, uint256[] calldata newBalances) external;
}

File 3 of 8 : BalanceAccounting.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "@openzeppelin/contracts/math/SafeMath.sol";


contract BalanceAccounting {
    using SafeMath for uint256;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function _mint(address account, uint256 amount) internal virtual {
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        _balances[account] = _balances[account].sub(amount, "Burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
    }

    function _set(address account, uint256 amount) internal virtual returns(uint256 oldAmount) {
        oldAmount = _balances[account];
        if (oldAmount != amount) {
            _balances[account] = amount;
            _totalSupply = _totalSupply.add(amount).sub(oldAmount);
        }
    }
}

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

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 5 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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;
    }
}

File 6 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

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

File 7 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

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

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

pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_inchToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"module","type":"address"}],"name":"AddModule","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":"module","type":"address"}],"name":"RemoveModule","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"module","type":"address"}],"name":"addModule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"batchNotifyFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"inchToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"notify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"notifyFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"module","type":"address"}],"name":"removeModule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5060405161148a38038061148a8339818101604052602081101561003357600080fd5b5051600061003f61009e565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b0319166080526100a2565b3390565b60805160601c6113c16100c96000398061060b5280610ba05280610c6952506113c16000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a063246111610066578063a06324611461035e578063a694fc3a14610391578063ec954594146103ae578063f2fde38b146103b657610100565b8063715018a614610315578063899f58981461031d5780638da5cb5b1461032557806395d89b411461035657610100565b80632e17de78116100d35780632e17de7814610204578063313ce567146102215780635cf1cd2b1461023f57806370a08231146102e257610100565b806306fdde0314610105578063132b4fc81461018257806318160ddd146101b75780631ed86f19146101d1575b600080fd5b61010d6103e9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b56004803603602081101561019857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610420565b005b6101bf610435565b60408051918252519081900360200190f35b6101b5600480360360208110156101e757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661043b565b6101b56004803603602081101561021a57600080fd5b5035610552565b6102296106ba565b6040805160ff9092168252519081900360200190f35b6101b56004803603602081101561025557600080fd5b81019060208101813564010000000081111561027057600080fd5b82018360208201111561028257600080fd5b803590602001918460208302840111640100000000831117156102a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106bf945050505050565b6101bf600480360360208110156102f857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610871565b6101b5610899565b6101b561097f565b61032d61098e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61010d6109aa565b6101b56004803603602081101561037457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166109e1565b6101b5600480360360208110156103a757600080fd5b5035610af8565b61032d610c67565b6101b5600480360360208110156103cc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c8b565b60408051808201909152601481527f31494e434820546f6b656e20285374616b656429000000000000000000000000602082015290565b6104328161042d83610871565b610de1565b50565b60015490565b610443610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146104b2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6104bd600382610eef565b61050e576040805162461bcd60e51b815260206004820152601960248201527f4d6f64756c6520616c7265616479207265676973746572656400000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f0e8ab0265c955b9584b70d255e316c63717f1fb52ba0acfff63bca74ca2e8fad90600090a250565b600081116105a7576040805162461bcd60e51b815260206004820152601c60248201527f456d70747920756e7374616b65206973206e6f7420616c6c6f77656400000000604482015290519081900360640190fd5b6105b13382610f1a565b6105be3361042d33610871565b604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101839052905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b15801561065357600080fd5b505af1158015610667573d6000803e3d6000fd5b505050506040513d602081101561067d57600080fd5b505060408051828152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b601290565b60006106cb6003610fbc565b90506060825167ffffffffffffffff811180156106e757600080fd5b50604051908082528060200260200182016040528015610711578160200160208202803683370190505b50905060005b835181101561075b5761073c84828151811061072f57fe5b6020026020010151610871565b82828151811061074857fe5b6020908102919091010152600101610717565b5060005b8281101561086b57610772600382610fc7565b73ffffffffffffffffffffffffffffffffffffffff1663ad33334885846040518363ffffffff1660e01b8152600401808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156107e25781810151838201526020016107ca565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610821578181015183820152602001610809565b50505050905001945050505050600060405180830381600087803b15801561084857600080fd5b505af115801561085c573d6000803e3d6000fd5b5050505080600101905061075f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6108a1610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610910576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b61098c3361042d33610871565b565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60408051808201909152600781527f737431494e434800000000000000000000000000000000000000000000000000602082015290565b6109e9610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a58576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a63600382610fd3565b610ab4576040805162461bcd60e51b815260206004820152601960248201527f4d6f64756c6520776173206e6f74207265676973746572656400000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f75f4e5771d2cdd015405ae76feb37f5792736e71ff18f8a9dd690772a48111a390600090a250565b60008111610b4d576040805162461bcd60e51b815260206004820152601a60248201527f456d707479207374616b65206973206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b158015610be857600080fd5b505af1158015610bfc573d6000803e3d6000fd5b505050506040513d6020811015610c1257600080fd5b50610c1f90503382610ff5565b610c2c3361042d33610871565b60408051828152905133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b7f000000000000000000000000000000000000000000000000000000000000000081565b610c93610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610d02576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d545760405162461bcd60e51b81526004018080602001828103825260268152602001806113666026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600380546040805160208084028201810190925282815260609390929091830182828015610e2e57602002820191906000526020600020905b815481526020019060010190808311610e1a575b5050505050905060005b815181101561086b57818181518110610e4d57fe5b602002602001015160001c73ffffffffffffffffffffffffffffffffffffffff166327a2743385856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b50505050806001019050610e38565b3390565b6000610f118373ffffffffffffffffffffffffffffffffffffffff8416611062565b90505b92915050565b604080518082018252601b81527f4275726e20616d6f756e7420657863656564732062616c616e6365000000000060208083019190915273ffffffffffffffffffffffffffffffffffffffff8516600090815260029091529190912054610f829183906110ac565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902055600154610fb59082611143565b6001555050565b6000610f1482611185565b6000610f118383611189565b6000610f118373ffffffffffffffffffffffffffffffffffffffff84166111ed565b60015461100290826112d1565b60015573ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090205461103590826112d1565b73ffffffffffffffffffffffffffffffffffffffff90921660009081526002602052604090209190915550565b600061106e838361132b565b6110a457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f14565b506000610f14565b6000818484111561113b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111005781810151838201526020016110e8565b50505050905090810190601f16801561112d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610f1183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110ac565b5490565b815460009082106111cb5760405162461bcd60e51b81526004018080602001828103825260228152602001806113446022913960400191505060405180910390fd5b8260000182815481106111da57fe5b9060005260206000200154905092915050565b600081815260018301602052604081205480156112c75783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808301919081019060009087908390811061123e57fe5b906000526020600020015490508087600001848154811061125b57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061128b57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f14565b6000915050610f14565b600082820183811015610f11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000908152600191909101602052604090205415159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220bdfeb4e03b504f7531f4808d969f07286e64513308c3bafde4dd3db25152b08464736f6c634300060c0033000000000000000000000000111111111117dc0aa78b770fa6a738034120c302

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a063246111610066578063a06324611461035e578063a694fc3a14610391578063ec954594146103ae578063f2fde38b146103b657610100565b8063715018a614610315578063899f58981461031d5780638da5cb5b1461032557806395d89b411461035657610100565b80632e17de78116100d35780632e17de7814610204578063313ce567146102215780635cf1cd2b1461023f57806370a08231146102e257610100565b806306fdde0314610105578063132b4fc81461018257806318160ddd146101b75780631ed86f19146101d1575b600080fd5b61010d6103e9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b56004803603602081101561019857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610420565b005b6101bf610435565b60408051918252519081900360200190f35b6101b5600480360360208110156101e757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661043b565b6101b56004803603602081101561021a57600080fd5b5035610552565b6102296106ba565b6040805160ff9092168252519081900360200190f35b6101b56004803603602081101561025557600080fd5b81019060208101813564010000000081111561027057600080fd5b82018360208201111561028257600080fd5b803590602001918460208302840111640100000000831117156102a457600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106bf945050505050565b6101bf600480360360208110156102f857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610871565b6101b5610899565b6101b561097f565b61032d61098e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61010d6109aa565b6101b56004803603602081101561037457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166109e1565b6101b5600480360360208110156103a757600080fd5b5035610af8565b61032d610c67565b6101b5600480360360208110156103cc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c8b565b60408051808201909152601481527f31494e434820546f6b656e20285374616b656429000000000000000000000000602082015290565b6104328161042d83610871565b610de1565b50565b60015490565b610443610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146104b2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6104bd600382610eef565b61050e576040805162461bcd60e51b815260206004820152601960248201527f4d6f64756c6520616c7265616479207265676973746572656400000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f0e8ab0265c955b9584b70d255e316c63717f1fb52ba0acfff63bca74ca2e8fad90600090a250565b600081116105a7576040805162461bcd60e51b815260206004820152601c60248201527f456d70747920756e7374616b65206973206e6f7420616c6c6f77656400000000604482015290519081900360640190fd5b6105b13382610f1a565b6105be3361042d33610871565b604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101839052905173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000111111111117dc0aa78b770fa6a738034120c302169163a9059cbb9160448083019260209291908290030181600087803b15801561065357600080fd5b505af1158015610667573d6000803e3d6000fd5b505050506040513d602081101561067d57600080fd5b505060408051828152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b601290565b60006106cb6003610fbc565b90506060825167ffffffffffffffff811180156106e757600080fd5b50604051908082528060200260200182016040528015610711578160200160208202803683370190505b50905060005b835181101561075b5761073c84828151811061072f57fe5b6020026020010151610871565b82828151811061074857fe5b6020908102919091010152600101610717565b5060005b8281101561086b57610772600382610fc7565b73ffffffffffffffffffffffffffffffffffffffff1663ad33334885846040518363ffffffff1660e01b8152600401808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156107e25781810151838201526020016107ca565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610821578181015183820152602001610809565b50505050905001945050505050600060405180830381600087803b15801561084857600080fd5b505af115801561085c573d6000803e3d6000fd5b5050505080600101905061075f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6108a1610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610910576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b61098c3361042d33610871565b565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60408051808201909152600781527f737431494e434800000000000000000000000000000000000000000000000000602082015290565b6109e9610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a58576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a63600382610fd3565b610ab4576040805162461bcd60e51b815260206004820152601960248201527f4d6f64756c6520776173206e6f74207265676973746572656400000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f75f4e5771d2cdd015405ae76feb37f5792736e71ff18f8a9dd690772a48111a390600090a250565b60008111610b4d576040805162461bcd60e51b815260206004820152601a60248201527f456d707479207374616b65206973206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000111111111117dc0aa78b770fa6a738034120c30216916323b872dd9160648083019260209291908290030181600087803b158015610be857600080fd5b505af1158015610bfc573d6000803e3d6000fd5b505050506040513d6020811015610c1257600080fd5b50610c1f90503382610ff5565b610c2c3361042d33610871565b60408051828152905133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350565b7f000000000000000000000000111111111117dc0aa78b770fa6a738034120c30281565b610c93610eeb565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610d02576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d545760405162461bcd60e51b81526004018080602001828103825260268152602001806113666026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600380546040805160208084028201810190925282815260609390929091830182828015610e2e57602002820191906000526020600020905b815481526020019060010190808311610e1a575b5050505050905060005b815181101561086b57818181518110610e4d57fe5b602002602001015160001c73ffffffffffffffffffffffffffffffffffffffff166327a2743385856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b50505050806001019050610e38565b3390565b6000610f118373ffffffffffffffffffffffffffffffffffffffff8416611062565b90505b92915050565b604080518082018252601b81527f4275726e20616d6f756e7420657863656564732062616c616e6365000000000060208083019190915273ffffffffffffffffffffffffffffffffffffffff8516600090815260029091529190912054610f829183906110ac565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902055600154610fb59082611143565b6001555050565b6000610f1482611185565b6000610f118383611189565b6000610f118373ffffffffffffffffffffffffffffffffffffffff84166111ed565b60015461100290826112d1565b60015573ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090205461103590826112d1565b73ffffffffffffffffffffffffffffffffffffffff90921660009081526002602052604090209190915550565b600061106e838361132b565b6110a457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f14565b506000610f14565b6000818484111561113b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111005781810151838201526020016110e8565b50505050905090810190601f16801561112d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610f1183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110ac565b5490565b815460009082106111cb5760405162461bcd60e51b81526004018080602001828103825260228152602001806113446022913960400191505060405180910390fd5b8260000182815481106111da57fe5b9060005260206000200154905092915050565b600081815260018301602052604081205480156112c75783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808301919081019060009087908390811061123e57fe5b906000526020600020015490508087600001848154811061125b57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061128b57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f14565b6000915050610f14565b600082820183811015610f11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000908152600191909101602052604090205415159056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220bdfeb4e03b504f7531f4808d969f07286e64513308c3bafde4dd3db25152b08464736f6c634300060c0033

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

000000000000000000000000111111111117dc0aa78b770fa6a738034120c302

-----Decoded View---------------
Arg [0] : _inchToken (address): 0x111111111117dC0aa78b770fA6A738034120C302

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000111111111117dc0aa78b770fa6a738034120c302


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Chain Token Portfolio % Price Amount Value
ETH97.23%$0.3914746,052,848.3609$2,369,532.76
ETH<0.01%$0.002685,403.3$14.48
ARB1.16%$0.33767784,076.8571$28,390.82
ARB0.42%$0.60670916,891.2026$10,248.04
ARB0.39%$89.9105.5989$9,493.34
ARB0.33%$5.091,590.3741$8,095
ARB0.19%$3.531,327.9925$4,687.81
ARB0.08%$3,263.550.6234$2,034.44
ARB0.04%<$0.0000013,323,145,410,453.02$996.94
ARB0.02%$879.280.5402$474.98
ARB0.02%$1.01463.1434$466.39
ARB0.01%$60,8550.00576424$350.78
ARB0.01%$3,392.450.1008$342.05
ARB<0.01%$0.361381596.6599$215.62
ARB<0.01%<$0.000001452,465,203,627.17$135.74
ARB<0.01%$2.546.9589$117.4
ARB<0.01%$0.0184415,399.9515$99.58
ARB<0.01%$196.6313$96.63
ARB<0.01%$0.99311973.9293$73.42
ARB<0.01%$0.9986965.1154$65.03
ARB<0.01%$0.00111956,657.2807$63.38
ARB<0.01%$0.0212322,649.8551$56.26
ARB<0.01%$3,959.580.013$51.41
ARB<0.01%$61,0440.00083775$51.14
ARB<0.01%$0.101403496.5308$50.35
ARB<0.01%$2.2819.4574$44.36
ARB<0.01%$0.0310421,328.0287$41.23
ARB<0.01%$0.125727319.2009$40.13
ARB<0.01%$0.85532341.1691$35.21
ARB<0.01%$0.67716649.3609$33.43
ARB<0.01%$0.0000065,520,754.1384$30.42
ARB<0.01%$3,397.270.00822508$27.94
ARB<0.01%$0.99696327.8366$27.75
ARB<0.01%$0.0124272,080.9834$25.86
ARB<0.01%<$0.000001236,720,007,479.023$23.67
ARB<0.01%$122.9183$22.94
ARB<0.01%<$0.00000153,532,355.0532$22.8
ARB<0.01%$0.003975,568.2717$22.1
ARB<0.01%<$0.000001107,567,082,157.591$21.51
ARB<0.01%$0.00046246,553.4635$21.49
ARB<0.01%$0.99973920.6376$20.63
ARB<0.01%<$0.000001128,242,693.0261$20.12
ARB<0.01%$0.012441,508.9863$18.77
ARB<0.01%$0.139941119.3063$16.7
ARB<0.01%$0.039737409.8969$16.29
ARB<0.01%$16.340.9854$16.1
ARB<0.01%$165.080.0928$15.31
ARB<0.01%$0.0030155,006.2357$15.09
ARB<0.01%$0.030967469.9388$14.55
ARB<0.01%$3,383.20.00414674$14.03
ARB<0.01%$0.021981633.4076$13.92
ARB<0.01%$3.383.745$12.66
ARB<0.01%$0.99774912.0528$12.03
ARB<0.01%$0.003233,184.2071$10.28
ARB<0.01%$1.188.6277$10.18
ARB<0.01%$0.0026763,208.1531$8.59
ARB<0.01%$6.571.2176$8
ARB<0.01%<$0.00000139,515,558,980.6733$7.9
ARB<0.01%$1.375.5288$7.57
ARB<0.01%$0.035695205.3039$7.33
ARB<0.01%$0.0026672,624.3779$7
ARB<0.01%$0.37809917.135$6.48
ARB<0.01%$0.21024729.0361$6.1
ARB<0.01%$0.003011,862.8329$5.61
ARB<0.01%<$0.00000119,786,495.6278$5.45
ARB<0.01%$0.017713306.1803$5.42
ARB<0.01%$0.9326065.6764$5.29
ARB<0.01%$0.15204434.3128$5.22
ARB<0.01%$0.000023218,718.1382$5.02
ARB<0.01%$0.0007316,775.3067$4.95
ARB<0.01%$0.017342281.8049$4.89
ARB<0.01%$0.023183209.53$4.86
ARB<0.01%$0.33855613.8276$4.68
ARB<0.01%$0.9998884.6663$4.67
ARB<0.01%$0.0006756,692.3235$4.51
ARB<0.01%$0.00006961,592.0428$4.24
ARB<0.01%$0.000035120,148.4643$4.18
ARB<0.01%$0.011453342.023$3.92
ARB<0.01%$0.05122870.5263$3.61
ARB<0.01%$0.016133213.7807$3.45
ARB<0.01%$3,770.770.00090347$3.41
ARB<0.01%$0.0943435.9083$3.39
ARB<0.01%$0.01626185.2339$3.01
ARB<0.01%$0.00010625,670.7946$2.71
ARB<0.01%$0.5553854.7721$2.65
ARB<0.01%$0.372067.0078$2.61
ARB<0.01%$0.2604339.8294$2.56
ARB<0.01%$0.000006456,699.9208$2.52
ARB<0.01%$3.170.7854$2.49
ARB<0.01%$1.112.0217$2.24
ARB<0.01%$0.02101102.8802$2.16
ARB<0.01%$0.11624917.9295$2.08
ARB<0.01%$0.12369116.7523$2.07
ARB<0.01%<$0.00000110,298,362,026.9097$2.06
ARB<0.01%$0.12205816.7593$2.05
ARB<0.01%<$0.00000114,004,016.1825$1.95
ARB<0.01%$0.00002870,254.226$1.94
ARB<0.01%$1,782.350.00105568$1.88
ARB<0.01%$23.680.0773$1.83
ARB<0.01%$0.0000021,036,922.6918$1.82
ARB<0.01%$0.12853713.6929$1.76
ARB<0.01%$0.014959112.7771$1.69
ARB<0.01%$0.005607281.0453$1.58
ARB<0.01%$0.006333218.5888$1.38
ARB<0.01%$0.03830435.6122$1.36
ARB<0.01%$0.2021126.636$1.34
ARB<0.01%$3,291.860.00039621$1.3
ARB<0.01%$0.000611,905.5275$1.16
ARB<0.01%$2.30.4663$1.07
ARB<0.01%$0.949981.1241$1.07
ARB<0.01%<$0.00000151,683,408.1556$1.01
ARB<0.01%$0.00448215.2859$0.9643
ARB<0.01%$0.02901931.5361$0.9151
ARB<0.01%$0.05940314.504$0.8615
ARB<0.01%$0.001149745.9117$0.8571
ARB<0.01%$63.640.0132$0.8407
ARB<0.01%$3,694.850.0002121$0.7836
ARB<0.01%$0.03281822.0354$0.7231
ARB<0.01%$0.516751.3425$0.6937
ARB<0.01%$3.040.2183$0.6636
ARB<0.01%<$0.0000013,047,571,347.163$0.6095
ARB<0.01%$0.000692820.1681$0.5675
ARB<0.01%$0.00001537,801.5504$0.5575
ARB<0.01%$0.2152362.4176$0.5203
ARB<0.01%$0.0001712,979.2211$0.5105
ARB<0.01%$0.2339991.9905$0.4657
ARB<0.01%$0.000002281,382.0196$0.453
ARB<0.01%$0.999720.4472$0.447
ARB<0.01%<$0.0000011,267,089.1515$0.4457
ARB<0.01%$0.0003971,108.6552$0.4406
ARB<0.01%$0.002465175.2914$0.4321
ARB<0.01%$10.4305$0.4304
ARB<0.01%$0.002198195.7992$0.4303
ARB<0.01%$0.001266338.7125$0.4287
ARB<0.01%$0.00001724,348.5159$0.4041
ARB<0.01%$0.000002223,058.9007$0.4037
ARB<0.01%$0.0716115.6173$0.4022
ARB<0.01%$0.001589244.2494$0.3882
ARB<0.01%$0.01582724.3746$0.3857
ARB<0.01%$0.00002117,977.1637$0.3762
ARB<0.01%$0.00793343.9263$0.3484
ARB<0.01%$19.810.0171$0.3381
ARB<0.01%$0.00612754.2809$0.3325
ARB<0.01%$1.140.2891$0.3295
ARB<0.01%$0.000001510,000$0.3281
ARB<0.01%$0.000635515.2547$0.3273
ARB<0.01%$12.610.025$0.3149
ARB<0.01%$0.000651461.2182$0.3004
ARB<0.01%$0.000074,079.5362$0.2872
ARB<0.01%$0.4608770.5335$0.2458
ARB<0.01%$0.0001161,964.2999$0.2278
ARB<0.01%$0.01722612.5954$0.2169
ARB<0.01%$0.0001651,263.4797$0.2086
ARB<0.01%$0.0310186.4416$0.1998
ARB<0.01%$0.00204986.0221$0.1762
ARB<0.01%$0.015910.6624$0.1695
ARB<0.01%$0.7967830.171$0.1362
ARB<0.01%$0.000958137.5865$0.1318
ARB<0.01%$0.0190626.8467$0.1305
ARB<0.01%$0.7112920.1784$0.1268
ARB<0.01%$49.710.00235138$0.1168
ARB<0.01%$1.970.055$0.1084
ARB<0.01%$0.00826112.6357$0.1043
ARB<0.01%$0.0202734.9423$0.1001
BASE<0.01%<$0.00000126,642,664$0.5062
OP<0.01%$0.9999080.1201$0.1201
Loading...
Loading
[ 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.