ETH Price: $3,006.01 (-8.45%)

Contract

0x3F030E19d3Aef11fBa76620e4E939291d0b55a24
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

10 Token Transfers found.

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LifestoryRewardStaking

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-05-22
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: contracts/LifestoryRewardStaking.sol


pragma solidity ^0.8.0;





interface ILifestoryRewardStaking {
    function sendRewards(address to, uint256 amount) external;
}

contract LifestoryRewardStaking is ILifestoryRewardStaking, Ownable {
    // LifeCoin contract
    IERC20 private immutable lifeCoinContract;

    // LifestoryPlanetStaking address
    address private immutable lifestoryPlanetStakingAddress;

    // token collection is blocked
    bool private tokenCollectionBlocked = false;
    
    /**
     * @dev constructor of LifestoryRewardStaking
     * @param _lifeCoinAddress address of ERC20 contract of LIFC (LifeCoin)
     * @param _lifestoryPlanetStakingAddress address of staking planets contract
     */
    constructor(address _lifeCoinAddress, address _lifestoryPlanetStakingAddress) {
        lifeCoinContract = IERC20(_lifeCoinAddress);
        lifestoryPlanetStakingAddress = _lifestoryPlanetStakingAddress;
    }


    /**
     * @dev function to send rewards to stakers
     * @dev only staking contract can call this function
     * @param amount amount (in eth) to send
     */
    function sendRewards(address to, uint256 amount) override public {
        require(
            msg.sender == lifestoryPlanetStakingAddress,
            "LifestoryRewardStaking: only planet staking contract can send rewards"
        );

        lifeCoinContract.transfer(to, amount * 10**18);
    }

    
    /**
     * @dev onlyOwner function to collect unused tokens
     * @param _amountInWei amount (in wei) to collect
     */
    function collectToken(
        uint256 _amountInWei
    ) public onlyOwner {
        require(
            !tokenCollectionBlocked,
            "LifestoryRewardStaking: token collect blocked"
        );

        lifeCoinContract.transfer(msg.sender, _amountInWei);
    }

    /**
     * @dev onlyOwner function to disable collectToken function
     * @dev no turning back !
     */
    function blockTokenCollection() public onlyOwner {
      tokenCollectionBlocked = true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lifeCoinAddress","type":"address"},{"internalType":"address","name":"_lifestoryPlanetStakingAddress","type":"address"}],"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"},{"inputs":[],"name":"blockTokenCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountInWei","type":"uint256"}],"name":"collectToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526000805460ff60a01b1916905534801561001d57600080fd5b506040516107df3803806107df83398101604081905261003c916100cf565b61004533610063565b6001600160601b0319606092831b8116608052911b1660a052610102565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100ca57600080fd5b919050565b600080604083850312156100e257600080fd5b6100eb836100b3565b91506100f9602084016100b3565b90509250929050565b60805160601c60a05160601c6106ab61013460003960006101000152600081816101c8015261036901526106ab6000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063e35c3e2811610050578063e35c3e28146100b3578063f2fde38b146100c6578063f7cbb8a9146100d957600080fd5b8063715018a6146100775780638da5cb5b14610081578063c8773af2146100a0575b600080fd5b61007f6100e1565b005b600054604080516001600160a01b039092168252519081900360200190f35b61007f6100ae3660046105ca565b6100f5565b61007f6100c1366004610616565b61029b565b61007f6100d43660046105a8565b6103f1565b61007f610481565b6100e96104ca565b6100f36000610524565b565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101be5760405162461bcd60e51b815260206004820152604560248201527f4c69666573746f72795265776172645374616b696e673a206f6e6c7920706c6160448201527f6e6574207374616b696e6720636f6e74726163742063616e2073656e6420726560648201527f7761726473000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663a9059cbb8361020084670de0b6b3a764000061062f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561025e57600080fd5b505af1158015610272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029691906105f4565b505050565b6102a36104ca565b60005474010000000000000000000000000000000000000000900460ff16156103345760405162461bcd60e51b815260206004820152602d60248201527f4c69666573746f72795265776172645374616b696e673a20746f6b656e20636f60448201527f6c6c65637420626c6f636b65640000000000000000000000000000000000000060648201526084016101b5565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156103b557600080fd5b505af11580156103c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ed91906105f4565b5050565b6103f96104ca565b6001600160a01b0381166104755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101b5565b61047e81610524565b50565b6104896104ca565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000546001600160a01b031633146100f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101b5565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146105a357600080fd5b919050565b6000602082840312156105ba57600080fd5b6105c38261058c565b9392505050565b600080604083850312156105dd57600080fd5b6105e68361058c565b946020939093013593505050565b60006020828403121561060657600080fd5b815180151581146105c357600080fd5b60006020828403121561062857600080fd5b5035919050565b6000816000190483118215151615610670577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50029056fea26469706673582212202fcd7a3fd380e87c33a3febcbab7fa24fb56ba69aef9e629fb174528260d511c64736f6c6343000807003300000000000000000000000003d36e88640ef26f269d2042750abae34d7cde28000000000000000000000000882850e85eb765b28a725e818f04c2078191e4cb

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100725760003560e01c8063e35c3e2811610050578063e35c3e28146100b3578063f2fde38b146100c6578063f7cbb8a9146100d957600080fd5b8063715018a6146100775780638da5cb5b14610081578063c8773af2146100a0575b600080fd5b61007f6100e1565b005b600054604080516001600160a01b039092168252519081900360200190f35b61007f6100ae3660046105ca565b6100f5565b61007f6100c1366004610616565b61029b565b61007f6100d43660046105a8565b6103f1565b61007f610481565b6100e96104ca565b6100f36000610524565b565b336001600160a01b037f000000000000000000000000882850e85eb765b28a725e818f04c2078191e4cb16146101be5760405162461bcd60e51b815260206004820152604560248201527f4c69666573746f72795265776172645374616b696e673a206f6e6c7920706c6160448201527f6e6574207374616b696e6720636f6e74726163742063616e2073656e6420726560648201527f7761726473000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6001600160a01b037f00000000000000000000000003d36e88640ef26f269d2042750abae34d7cde281663a9059cbb8361020084670de0b6b3a764000061062f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561025e57600080fd5b505af1158015610272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029691906105f4565b505050565b6102a36104ca565b60005474010000000000000000000000000000000000000000900460ff16156103345760405162461bcd60e51b815260206004820152602d60248201527f4c69666573746f72795265776172645374616b696e673a20746f6b656e20636f60448201527f6c6c65637420626c6f636b65640000000000000000000000000000000000000060648201526084016101b5565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290527f00000000000000000000000003d36e88640ef26f269d2042750abae34d7cde286001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156103b557600080fd5b505af11580156103c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ed91906105f4565b5050565b6103f96104ca565b6001600160a01b0381166104755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101b5565b61047e81610524565b50565b6104896104ca565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000546001600160a01b031633146100f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101b5565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146105a357600080fd5b919050565b6000602082840312156105ba57600080fd5b6105c38261058c565b9392505050565b600080604083850312156105dd57600080fd5b6105e68361058c565b946020939093013593505050565b60006020828403121561060657600080fd5b815180151581146105c357600080fd5b60006020828403121561062857600080fd5b5035919050565b6000816000190483118215151615610670577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50029056fea26469706673582212202fcd7a3fd380e87c33a3febcbab7fa24fb56ba69aef9e629fb174528260d511c64736f6c63430008070033

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

00000000000000000000000003d36e88640ef26f269d2042750abae34d7cde28000000000000000000000000882850e85eb765b28a725e818f04c2078191e4cb

-----Decoded View---------------
Arg [0] : _lifeCoinAddress (address): 0x03D36E88640ef26F269D2042750aBae34d7cDe28
Arg [1] : _lifestoryPlanetStakingAddress (address): 0x882850E85EB765b28A725e818f04c2078191E4cB

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000003d36e88640ef26f269d2042750abae34d7cde28
Arg [1] : 000000000000000000000000882850e85eb765b28a725e818f04c2078191e4cb


Deployed Bytecode Sourcemap

13738:1915:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2809:103;;;:::i;:::-;;2161:87;2207:7;2234:6;2161:87;;;-1:-1:-1;;;;;2234:6:0;;;1278:74:1;;2161:87:0;;;;;1266:2:1;2161:87:0;;;14706:305;;;;;;:::i;:::-;;:::i;15155:278::-;;;;;;:::i;:::-;;:::i;3067:201::-;;;;;;:::i;:::-;;:::i;15555:95::-;;;:::i;2809:103::-;2047:13;:11;:13::i;:::-;2874:30:::1;2901:1;2874:18;:30::i;:::-;2809:103::o:0;14706:305::-;14804:10;-1:-1:-1;;;;;14818:29:0;14804:43;;14782:162;;;;-1:-1:-1;;;14782:162:0;;2274:2:1;14782:162:0;;;2256:21:1;2313:2;2293:18;;;2286:30;2352:34;2332:18;;;2325:62;2423:34;2403:18;;;2396:62;2495:7;2474:19;;;2467:36;2520:19;;14782:162:0;;;;;;;;;-1:-1:-1;;;;;14957:16:0;:25;;14983:2;14987:15;:6;14996;14987:15;:::i;:::-;14957:46;;;;;;;;;;-1:-1:-1;;;;;1555:55:1;;;14957:46:0;;;1537:74:1;1627:18;;;1620:34;1510:18;;14957:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14706:305;;:::o;15155:278::-;2047:13;:11;:13::i;:::-;15266:22:::1;::::0;;;::::1;;;15265:23;15243:118;;;::::0;-1:-1:-1;;;15243:118:0;;3113:2:1;15243:118:0::1;::::0;::::1;3095:21:1::0;3152:2;3132:18;;;3125:30;3191:34;3171:18;;;3164:62;3262:15;3242:18;;;3235:43;3295:19;;15243:118:0::1;2911:409:1::0;15243:118:0::1;15374:51;::::0;;;;15400:10:::1;15374:51;::::0;::::1;1537:74:1::0;1627:18;;;1620:34;;;15374:16:0::1;-1:-1:-1::0;;;;;15374:25:0::1;::::0;::::1;::::0;1510:18:1;;15374:51:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15155:278:::0;:::o;3067:201::-;2047:13;:11;:13::i;:::-;-1:-1:-1;;;;;3156:22:0;::::1;3148:73;;;::::0;-1:-1:-1;;;3148:73:0;;1867:2:1;3148:73:0::1;::::0;::::1;1849:21:1::0;1906:2;1886:18;;;1879:30;1945:34;1925:18;;;1918:62;2016:8;1996:18;;;1989:36;2042:19;;3148:73:0::1;1665:402:1::0;3148:73:0::1;3232:28;3251:8;3232:18;:28::i;:::-;3067:201:::0;:::o;15555:95::-;2047:13;:11;:13::i;:::-;15613:22:::1;:29:::0;;;::::1;::::0;::::1;::::0;;15555:95::o;2326:132::-;2207:7;2234:6;-1:-1:-1;;;;;2234:6:0;792:10;2390:23;2382:68;;;;-1:-1:-1;;;2382:68:0;;2752:2:1;2382:68:0;;;2734:21:1;;;2771:18;;;2764:30;2830:34;2810:18;;;2803:62;2882:18;;2382:68:0;2550:356:1;3428:191:0;3502:16;3521:6;;-1:-1:-1;;;;;3538:17:0;;;;;;;;;;3571:40;;3521:6;;;;;;;3571:40;;3502:16;3571:40;3491:128;3428:191;:::o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:1:o;406:254::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;574:29;593:9;574:29;:::i;:::-;564:39;650:2;635:18;;;;622:32;;-1:-1:-1;;;406:254:1:o;665:277::-;732:6;785:2;773:9;764:7;760:23;756:32;753:52;;;801:1;798;791:12;753:52;833:9;827:16;886:5;879:13;872:21;865:5;862:32;852:60;;908:1;905;898:12;947:180;1006:6;1059:2;1047:9;1038:7;1034:23;1030:32;1027:52;;;1075:1;1072;1065:12;1027:52;-1:-1:-1;1098:23:1;;947:180;-1:-1:-1;947:180:1:o;3325:322::-;3365:7;3431:1;3427;3423:6;3419:14;3416:1;3413:21;3408:1;3401:9;3394:17;3390:45;3387:225;;;3468:77;3465:1;3458:88;3569:4;3566:1;3559:15;3597:4;3594:1;3587:15;3387:225;-1:-1:-1;3632:9:1;;3325:322::o

Swarm Source

ipfs://2fcd7a3fd380e87c33a3febcbab7fa24fb56ba69aef9e629fb174528260d511c

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
Loading...
Loading

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.