Contract 0x1DEBBC50322150EB44DE3b663d5faA89c12b07ff

 
Ad
Ad
Txn Hash Method
Block
From
To
Value
0x4a5161f772006e9980af2e3b4f122ce5b470d23196b567a3aa6a7f092e9a2322Transfer Ownersh...126363572021-06-15 2:30:457 days 18 hrs ago0x62f31e08e279f3091d9755a09914df97554eae0b IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00066260723
0x75b3743fa947595f78809606ad6c24b2c001ab9730b196e2c0b8ef4f762fded3Claim For125263482021-05-29 1:41:3524 days 19 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00177007308929.000001459
0xfbc18d5d3e8c9e7acf2af957f42f9e656093851d2fc4aa08948bf54ce24e7b60Claim For125263422021-05-29 1:41:0524 days 19 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00213629535
0x597cddfc1b8f499f1403ea9c054c14ece358f2d221adcff84daa635d5b401559Claim For125263412021-05-29 1:40:4124 days 19 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00213629535
0xe5ec43d5bd9487b958c9bc13a616046459d91fbcb94de36e4743e17d182abefdClaim For125263412021-05-29 1:40:4124 days 19 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00227041535
0xb97d832d10a5b7259159cbb19702113cde71eb27057c4a885e64390d4c673adbClaim For121704632021-04-04 2:38:2179 days 18 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.007811921109
0xf99d529d67966137c905b039ba3da486892fca276687e7210fac9ba946a5b18dClaim For121200782021-03-27 8:34:3687 days 12 hrs ago0x549c0421c69be943a2a60e76b19b4a801682cbd3 IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00789495103
0x9fec588934312474d047100f9071ac7c1cfbaff48d6304391465cc1cc7f6e421Claim For120665772021-03-19 2:50:1395 days 18 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.008590995135
0xf3937ff9f072cc78a479927745f9b1f3dbc26516c02967bc6a6cdb701e53a243Claim For120665772021-03-19 2:50:1395 days 18 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.011142803119
0x3258d2fa612f3d7ce91324dc031a996231b784906ce61a62fb6d80adaa2136aaClaim For120665702021-03-19 2:48:3795 days 18 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.011142803119
0x344f5b0193272e3b8b1346f88e77b5402e00906ac2517006d28fa84387e98eb3Claim For120665202021-03-19 2:39:0195 days 18 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.019092005145
0xbb4fadcf216e73b45466912776bb8eb8e93d51b2924ee378b7e513b4d8012670Increase Share120664642021-03-19 2:28:5895 days 18 hrs ago0x62f31e08e279f3091d9755a09914df97554eae0b IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.00678096136
0x274f42f089cc4b427ee3a7c316279fc810fd915158ee5805c485dac5c27f04efIncrease Share120664622021-03-19 2:28:0595 days 18 hrs ago0x62f31e08e279f3091d9755a09914df97554eae0b IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.006932208139
0xfd9aa743094745a30caaf11c8a25cc64bb3351ede3a75866e0a1fabb76767214Increase Share120664592021-03-19 2:27:0995 days 18 hrs ago0x62f31e08e279f3091d9755a09914df97554eae0b IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.006932208139
0x0e331ffa05c4d16e72d8fc1bfd92ee6fe95bb581c37a90e291626c6ade6af035Increase Share120664582021-03-19 2:27:0195 days 18 hrs ago0x62f31e08e279f3091d9755a09914df97554eae0b IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.009017208139
0x60963ca240c9c901853553c8e80ca96f511212bf7dc4d0de13cf6ed378cea1dbTransfer Ownersh...108128002020-09-07 6:10:06288 days 15 hrs agoARCx: Deployer IN  0x1debbc50322150eb44de3b663d5faa89c12b07ff0 Ether0.003348972108
0xaddd5d086184e35efd0e38e6bc289582613c328b5cf0c4670f769b151949f92f0x60806040108125792020-09-07 5:22:43288 days 15 hrs agoARCx: Deployer IN  Contract Creation0 Ether0.258879425175
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AddressAccrual

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-07
*/

/*

    /     |  __    / ____|
   /      | |__) | | |
  / /    |  _  /  | |
 / ____   | |    | |____
/_/    _ |_|  _  _____|

* ARC: staking/AddressAccrual.sol
*
* Latest source (may be newer): https://github.com/arcxgame/contracts/blob/master/contracts/staking/AddressAccrual.sol
*
* Contract Dependencies: 
*	- Accrual
*	- Context
*	- Ownable
* Libraries: 
*	- Address
*	- SafeERC20
*	- SafeMath
*
* MIT License
* ===========
*
* Copyright (c) 2020 ARC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

/* ===============================================
* Flattened with Solidifier by Coinage
* 
* https://solidifier.coina.ge
* ===============================================
*/


pragma solidity ^0.5.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view 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.
 *
 * 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(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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, 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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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


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

    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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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");
        }
    }
}


// SPDX-License-Identifier: MIT
// Modified from https://github.com/iearn-finance/audit/blob/master/contracts/yGov/YearnGovernanceBPT.sol


/**
 * @title Accrual is an abstract contract which allows users of some
 *        distribution to claim a portion of tokens based on their share.
 */
contract Accrual {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public accrualToken;

    uint256 public accruedIndex = 0; // previously accumulated index
    uint256 public accruedBalance = 0; // previous calculated balance

    mapping(address => uint256) public supplyIndex;

    constructor(
        address _accrualToken
    )
        public
    {
        accrualToken = IERC20(_accrualToken);
    }

    function getUserBalance(
        address owner
    )
        public
        view
        returns (uint256);

    function getTotalBalance()
        public
        view
        returns (uint256);

    function updateFees()
        public
    {
        if (getTotalBalance() == 0) {
            return;
        }

        uint256 contractBalance = accrualToken.balanceOf(address(this));

        if (contractBalance == 0) {
            return;
        }

        // Find the difference since the last balance stored in the contract
        uint256 difference = contractBalance.sub(accruedBalance);

        if (difference == 0) {
            return;
        }

        // Use the difference to calculate a ratio
        uint256 ratio = difference.mul(1e18).div(getTotalBalance());

        if (ratio == 0) {
            return;
        }

        // Update the index by adding the existing index to the ratio index
        accruedIndex = accruedIndex.add(ratio);

        // Update the accrued balance
        accruedBalance = contractBalance;
    }

    function claimFees()
        public
    {
        claimFor(msg.sender);
    }

    function claimFor(
        address recipient
    )
        public
    {
        updateFees();

        uint256 userBalance = getUserBalance(recipient);

        if (userBalance == 0) {
            supplyIndex[recipient] = accruedIndex;
            return;
        }

        // Store the existing user's index before updating it
        uint256 existingIndex = supplyIndex[recipient];

        // Update the user's index to the current one
        supplyIndex[recipient] = accruedIndex;

        // Calculate the difference between the current index and the old one
        // The difference here is what the user will be able to claim against
        uint256 delta = accruedIndex.sub(existingIndex);

        require(
            delta > 0,
            "TokenAccrual: no tokens available to claim"
        );

        // Get the user's current balance and multiply with their index delta
        uint256 share = userBalance.mul(delta).div(1e18);

        // Transfer the tokens to the user
        accrualToken.safeTransfer(recipient, share);

        // Update the accrued balance
        accruedBalance = accrualToken.balanceOf(address(this));
    }

}

// SPDX-License-Identifier: MIT


contract AddressAccrual is Ownable, Accrual {

    uint256 public _supply = 0;

    mapping(address => uint256) public balances;

    constructor(
        address _claimableToken
    )
        public
        Accrual(_claimableToken)
    {}

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

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

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

    function getUserBalance(
        address owner
    )
        public
        view
        returns (uint256)
    {
        return balanceOf(owner);
    }

    function increaseShare(
        address to,
        uint256 value
    )
        public
        onlyOwner
    {
        require(to != address(0), "Cannot add zero address");

        balances[to] = balances[to].add(value);
        _supply = _supply.add(value);
    }

    function decreaseShare(
        address from,
        uint256 value
    )
        public
        onlyOwner
    {
        require(from != address(0), "Cannot remove zero address");

        balances[from] = balances[from].sub(value);
        _supply = _supply.sub(value);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_claimableToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":true,"inputs":[],"name":"_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"accrualToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"accruedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"accruedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"claimFor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"decreaseShare","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getUserBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"increaseShare","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supplyIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"updateFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405260006002556000600355600060055534801561001f57600080fd5b50604051611a57380380611a578339818101604052602081101561004257600080fd5b810190808051906020019092919050505080600061006461014a60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050610152565b600033905090565b6118f6806101616000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638f32d59b116100ad578063ddeae03311610071578063ddeae033146103e0578063e380fcad14610424578063eaa557361461047c578063f2fde38b146104c6578063fc9fc6c71461050a57610121565b80638f32d59b1461032a5780639710bc5e1461034c578063993e00a81461039a578063bd2adf98146103b8578063d294f093146103d657610121565b806339d4d686116100f457806339d4d686146101d8578063477348921461022657806370a082311461027e578063715018a6146102d65780638da5cb5b146102e057610121565b806312b5834914610126578063159457901461014457806318160ddd1461016257806327e235e314610180575b600080fd5b61012e610514565b6040518082815260200191505060405180910390f35b61014c610523565b6040518082815260200191505060405180910390f35b61016a610529565b6040518082815260200191505060405180910390f35b6101c26004803603602081101561019657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610533565b6040518082815260200191505060405180910390f35b610224600480360360408110156101ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061054b565b005b6102686004803603602081101561023c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061071c565b6040518082815260200191505060405180910390f35b6102c06004803603602081101561029457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061072e565b6040518082815260200191505060405180910390f35b6102de610777565b005b6102e86108b0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103326108d9565b604051808215151515815260200191505060405180910390f35b6103986004803603604081101561036257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610937565b005b6103a2610b08565b6040518082815260200191505060405180910390f35b6103c0610b0e565b6040518082815260200191505060405180910390f35b6103de610b14565b005b610422600480360360208110156103f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b1f565b005b6104666004803603602081101561043a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610deb565b6040518082815260200191505060405180910390f35b610484610e03565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610508600480360360208110156104dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e29565b005b610512610eaf565b005b600061051e610529565b905090565b60055481565b6000600554905090565b60066020528060005260406000206000915090505481565b6105536108d9565b6105c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610668576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f43616e6e6f7420616464207a65726f206164647265737300000000000000000081525060200191505060405180910390fd5b6106ba81600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461104b90919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506107128160055461104b90919063ffffffff16565b6005819055505050565b60006107278261072e565b9050919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61077f6108d9565b6107f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661091b6110d3565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b61093f6108d9565b6109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f43616e6e6f742072656d6f7665207a65726f206164647265737300000000000081525060200191505060405180910390fd5b610aa681600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110db90919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610afe816005546110db90919063ffffffff16565b6005819055505050565b60025481565b60035481565b610b1d33610b1f565b565b610b27610eaf565b6000610b328261071c565b90506000811415610b8957600254600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050610de8565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600254600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000610c2a826002546110db90919063ffffffff16565b905060008111610c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611827602a913960400191505060405180910390fd5b6000610cb4670de0b6b3a7640000610ca6848761112590919063ffffffff16565b6111ab90919063ffffffff16565b9050610d038582600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166111f59092919063ffffffff16565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610da257600080fd5b505afa158015610db6573d6000803e3d6000fd5b505050506040513d6020811015610dcc57600080fd5b8101908080519060200190929190505050600381905550505050505b50565b60046020528060005260406000206000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e316108d9565b610ea3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610eac816112c6565b50565b6000610eb9610514565b1415610ec457611049565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b810190808051906020019092919050505090506000811415610fb15750611049565b6000610fc8600354836110db90919063ffffffff16565b90506000811415610fda575050611049565b6000611010610fe7610514565b611002670de0b6b3a76400008561112590919063ffffffff16565b6111ab90919063ffffffff16565b9050600081141561102357505050611049565b6110388160025461104b90919063ffffffff16565b600281905550826003819055505050505b565b6000808284019050838110156110c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600061111d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061140a565b905092915050565b60008083141561113857600090506111a5565b600082840290508284828161114957fe5b04146111a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806118776021913960400191505060405180910390fd5b809150505b92915050565b60006111ed83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114ca565b905092915050565b6112c1838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611590565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561134c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806118516026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008383111582906114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561147c578082015181840152602081019050611461565b50505050905090810190601f1680156114a95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290611576576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561153b578082015181840152602081019050611520565b50505050905090810190601f1680156115685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161158257fe5b049050809150509392505050565b6115af8273ffffffffffffffffffffffffffffffffffffffff166117db565b611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611670578051825260208201915060208101905060208303925061164d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146116d2576040519150601f19603f3d011682016040523d82523d6000602084013e6116d7565b606091505b50915091508161174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156117d55780806020019051602081101561176e57600080fd5b81019080805190602001909291905050506117d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611898602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561181d57506000801b8214155b9250505091905056fe546f6b656e4163637275616c3a206e6f20746f6b656e7320617661696c61626c6520746f20636c61696d4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820b82ba98fe1ca0c0a4e4dece243bb9b1aead33211e17d3216b3ffee98732658d064736f6c63430005100032000000000000000000000000ed30dd7e50edf3581ad970efc5d9379ce2614adb

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

000000000000000000000000ed30dd7e50edf3581ad970efc5d9379ce2614adb

-----Decoded View---------------
Arg [0] : _claimableToken (address): 0xed30dd7e50edf3581ad970efc5d9379ce2614adb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ed30dd7e50edf3581ad970efc5d9379ce2614adb


Deployed ByteCode Sourcemap

23443:1428:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23443:1428:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23992:128;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23496:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23701:118;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23531:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23531:43:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24295:276;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24295:276:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24128:159;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24128:159:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23827:157;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23827:157:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4562:140;;;:::i;:::-;;3751:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4117:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24579:287;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24579:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20687:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20757:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22119:81;;;:::i;:::-;;22208:1189;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22208:1189:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;20830:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20830:46:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20652:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4857:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4857:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21232:879;;;:::i;:::-;;23992:128;24067:7;24099:13;:11;:13::i;:::-;24092:20;;23992:128;:::o;23496:26::-;;;;:::o;23701:118::-;23772:7;23804;;23797:14;;23701:118;:::o;23531:43::-;;;;;;;;;;;;;;;;;:::o;24295:276::-;3963:9;:7;:9::i;:::-;3955:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24443:1;24429:16;;:2;:16;;;;24421:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24501:23;24518:5;24501:8;:12;24510:2;24501:12;;;;;;;;;;;;;;;;:16;;:23;;;;:::i;:::-;24486:8;:12;24495:2;24486:12;;;;;;;;;;;;;;;:38;;;;24545:18;24557:5;24545:7;;:11;;:18;;;;:::i;:::-;24535:7;:28;;;;24295:276;;:::o;24128:159::-;24231:7;24263:16;24273:5;24263:9;:16::i;:::-;24256:23;;24128:159;;;:::o;23827:157::-;23927:7;23959:8;:17;23968:7;23959:17;;;;;;;;;;;;;;;;23952:24;;23827:157;;;:::o;4562:140::-;3963:9;:7;:9::i;:::-;3955:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4661:1;4624:40;;4645:6;;;;;;;;;;;4624:40;;;;;;;;;;;;4692:1;4675:6;;:19;;;;;;;;;;;;;;;;;;4562:140::o;3751:79::-;3789:7;3816:6;;;;;;;;;;;3809:13;;3751:79;:::o;4117:94::-;4157:4;4197:6;;;;;;;;;;;4181:22;;:12;:10;:12::i;:::-;:22;;;4174:29;;4117:94;:::o;24579:287::-;3963:9;:7;:9::i;:::-;3955:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24731:1;24715:18;;:4;:18;;;;24707:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24794:25;24813:5;24794:8;:14;24803:4;24794:14;;;;;;;;;;;;;;;;:18;;:25;;;;:::i;:::-;24777:8;:14;24786:4;24777:14;;;;;;;;;;;;;;;:42;;;;24840:18;24852:5;24840:7;;:11;;:18;;;;:::i;:::-;24830:7;:28;;;;24579:287;;:::o;20687:31::-;;;;:::o;20757:33::-;;;;:::o;22119:81::-;22172:20;22181:10;22172:8;:20::i;:::-;22119:81::o;22208:1189::-;22293:12;:10;:12::i;:::-;22318:19;22340:25;22355:9;22340:14;:25::i;:::-;22318:47;;22397:1;22382:11;:16;22378:107;;;22440:12;;22415:11;:22;22427:9;22415:22;;;;;;;;;;;;;;;:37;;;;22467:7;;;22378:107;22560:21;22584:11;:22;22596:9;22584:22;;;;;;;;;;;;;;;;22560:46;;22699:12;;22674:11;:22;22686:9;22674:22;;;;;;;;;;;;;;;:37;;;;22882:13;22898:31;22915:13;22898:12;;:16;;:31;;;;:::i;:::-;22882:47;;22972:1;22964:5;:9;22942:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23135:13;23151:32;23178:4;23151:22;23167:5;23151:11;:15;;:22;;;;:::i;:::-;:26;;:32;;;;:::i;:::-;23135:48;;23240:43;23266:9;23277:5;23240:12;;;;;;;;;;;:25;;;;:43;;;;;:::i;:::-;23352:12;;;;;;;;;;;:22;;;23383:4;23352:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23352:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23352:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23352:37:0;;;;;;;;;;;;;;;;23335:14;:54;;;;22208:1189;;;;;;:::o;20830:46::-;;;;;;;;;;;;;;;;;:::o;20652:26::-;;;;;;;;;;;;;:::o;4857:109::-;3963:9;:7;:9::i;:::-;3955:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4930:28;4949:8;4930:18;:28::i;:::-;4857:109;:::o;21232:879::-;21311:1;21290:17;:15;:17::i;:::-;:22;21286:61;;;21329:7;;21286:61;21359:23;21385:12;;;;;;;;;;;:22;;;21416:4;21385:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21385:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21385:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21385:37:0;;;;;;;;;;;;;;;;21359:63;;21458:1;21439:15;:20;21435:59;;;21476:7;;;21435:59;21584:18;21605:35;21625:14;;21605:15;:19;;:35;;;;:::i;:::-;21584:56;;21671:1;21657:10;:15;21653:54;;;21689:7;;;;21653:54;21771:13;21787:43;21812:17;:15;:17::i;:::-;21787:20;21802:4;21787:10;:14;;:20;;;;:::i;:::-;:24;;:43;;;;:::i;:::-;21771:59;;21856:1;21847:5;:10;21843:49;;;21874:7;;;;;21843:49;21996:23;22013:5;21996:12;;:16;;:23;;;;:::i;:::-;21981:12;:38;;;;22088:15;22071:14;:32;;;;21232:879;;;;:::o;8938:181::-;8996:7;9016:9;9032:1;9028;:5;9016:17;;9057:1;9052;:6;;9044:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9110:1;9103:8;;;8938:181;;;;:::o;2540:98::-;2585:15;2620:10;2613:17;;2540:98;:::o;9394:136::-;9452:7;9479:43;9483:1;9486;9479:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;9472:50;;9394:136;;;;:::o;10310:471::-;10368:7;10618:1;10613;:6;10609:47;;;10643:1;10636:8;;;;10609:47;10668:9;10684:1;10680;:5;10668:17;;10713:1;10708;10704;:5;;;;;;:10;10696:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10772:1;10765:8;;;10310:471;;;;;:::o;11249:132::-;11307:7;11334:39;11338:1;11341;11334:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;11327:46;;11249:132;;;;:::o;17097:176::-;17180:85;17199:5;17229;:14;;;:23;;;;17254:2;17258:5;17206:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;17206:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;17206:58:0;17180:18;:85::i;:::-;17097:176;;;:::o;5072:229::-;5166:1;5146:22;;:8;:22;;;;5138:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5256:8;5227:38;;5248:6;;;;;;;;;;;5227:38;;;;;;;;;;;;5285:8;5276:6;;:17;;;;;;;;;;;;;;;;;;5072:229;:::o;9867:192::-;9953:7;9986:1;9981;:6;;9989:12;9973:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9973:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10013:9;10029:1;10025;:5;10013:17;;10050:1;10043:8;;;9867:192;;;;;:::o;11911:345::-;11997:7;12096:1;12092;:5;12099:12;12084:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;12084:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12123:9;12139:1;12135;:5;;;;;;12123:17;;12247:1;12240:8;;;11911:345;;;;;:::o;19136:1114::-;19740:27;19748:5;19740:25;;;:27::i;:::-;19732:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19877:12;19891:23;19926:5;19918:19;;19938:4;19918:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;19918:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;19876:67:0;;;;19962:7;19954:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20043:1;20023:10;:17;:21;20019:224;;;20165:10;20154:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20154:30:0;;;;;;;;;;;;;;;;20146:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20019:224;19136:1114;;;;:::o;14219:619::-;14279:4;14541:16;14568:19;14590:66;14568:88;;;;14759:7;14747:20;14735:32;;14799:11;14787:8;:23;;:42;;;;;14826:3;14814:15;;:8;:15;;14787:42;14779:51;;;;14219:619;;;:::o

Swarm Source

bzzr://b82ba98fe1ca0c0a4e4dece243bb9b1aead33211e17d3216b3ffee98732658d0
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.