Contract 0xbf44c03185bffdcfeed21feaa0d47061ac4a2469

Contract Overview

Balance:
0 BTT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xacfee011cf80c47f91b6de997b838ba301bbc77388b8903b5ed8b9f6f9c6511a0x60806040219297862023-05-11 0:58:1827 days 20 hrs ago0x997ebeee6e89de030880cad6d604465549277cc9 IN  Create: SingleStakeManager0 BTT11,972.745
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SingleStakeManager

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at testnet.bttcscan.com on 2023-05-11
*/

// SPDX-License-Identifier: BUSL-1.1
//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>
// - Elijah <[email protected]>
// - Snake <[email protected]>

// File: contracts/interfaces/ISingleStakeManager.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;

interface ISingleStakeManager {
    event FarmFactorySet(address _factoryAddress);
    event RewardsReceived(address _farm);

    function setFarmFactory(address _factoryAddress) external;

    function startEmission(
        address _singleStakeAddress,
        uint256[] memory _rewards,
        uint256 _duration
    ) external;

    function stopEmission(address _singleStakeAddress) external;

    function recoverLeftoverReward(
        address _singleStakeAddress,
        address _tokenAddress
    ) external;

    function addRewardToken(
        address _singleStakeAddress,
        address _tokenAddress
    ) external;

    function recoverERC20(
        address _singleStakeAddress,
        address _tokenAddress,
        uint256 _amount
    ) external;

    function setFees(
        address _singleStakeAddress,
        uint16 _depositFeeBps,
        uint16[] memory _withdrawalFeesBps,
        uint32[] memory _withdrawalFeeSchedule
    ) external;

    function recoverFees(address _singleStakeAddress) external;

    function multiClaim(address[] memory _farms) external;
}

// File: contracts/interfaces/ISingleStakeFactory.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;

interface ISingleStakeFactory {
    event ContractCreated(address _newContract);
    event ManagerSet(address _farmManager);
    event FeeSet(uint256 _newFee);
    event FeesRecovered(uint256 _balanceRecovered);

    function getSingleStake(
        address _creator,
        address _stakingToken
    ) external view returns (address);

    function allFarms(uint _index) external view returns (address);

    function farmManager() external view returns (address);

    function getCreator(address _farmAddress) external view returns (address);

    function fee() external view returns (uint256);

    function maxFee() external view returns (uint256);

    function createNewSingleStake(
        address _stakingTokenAddress,
        address[] memory _rewardTokenAddresses,
        uint256 _rewardsDuration,
        uint16 _depositFeeBps,
        uint16[] memory _withdrawalFeesBps,
        uint32[] memory _withdrawalFeeSchedule
    ) external;

    function allFarmsLength() external view returns (uint);

    function setManager(address _managerAddress) external;

    function setFee(uint256 _newFee) external;

    function withdrawFees() external;

    function overrideOwnership(address _farmAddress) external;
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/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/interfaces/IStaking.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;


interface IStaking {
    /* ========== STATE VARIABLES ========== */
    function stakingToken() external returns (IERC20);

    function totalSupply() external returns (uint256);

    function balances(address _account) external returns (uint256);

    /* ========== MUTATIVE FUNCTIONS ========== */
    function stake(uint256 _amount) external;

    function withdraw(uint256 _amount) external;

    function exit() external;

    function recoverERC20(
        address _tokenAddress,
        address _recipient,
        uint256 _amount
    ) external;

    /* ========== EVENTS ========== */

    // Emitted on staking
    event Staked(address indexed account, uint256 amount);

    // Emitted on withdrawal (including exit)
    event Withdrawn(address indexed account, uint256 amount);

    // Emitted on token recovery
    event Recovered(
        address indexed token,
        address indexed recipient,
        uint256 amount
    );
}

// File: contracts/interfaces/IStakingFee.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;


interface IStakingFee is IStaking {
    /* ========== STATE VARIABLES ========== */
    function feesUnit() external returns (uint256);

    function maxFee() external returns (uint256);

    function withdrawalFeeSchedule(uint256) external returns (uint256);

    function withdrawalFeesBps(uint256) external returns (uint256);

    function depositFeeBps() external returns (uint256);

    function collectedFees() external returns (uint256);

    function userLastStakedTime(address _user) external view returns (uint32);

    /* ========== VIEWS ========== */

    function depositFee(uint256 _depositAmount) external view returns (uint256);

    function withdrawalFee(
        address _account,
        uint256 _withdrawalAmount
    ) external view returns (uint256);

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

    function recoverFees(address _recipient) external;

    function setFees(
        uint16 _depositFeeBps,
        uint16[] memory _withdrawalFeesBps,
        uint32[] memory _withdrawalFeeSchedule
    ) external;

    /* ========== EVENTS ========== */

    // Emitted when fees are (re)configured
    event FeesSet(
        uint16 _depositFeeBps,
        uint16[] _withdrawalFeesBps,
        uint32[] _feeSchedule
    );

    // Emitted when a deposit fee is collected
    event DepositFeesCollected(address indexed _user, uint256 _amount);

    // Emitted when a withdrawal fee is collected
    event WithdrawalFeesCollected(address indexed _user, uint256 _amount);

    // Emitted when fees are recovered by governance
    event FeesRecovered(uint256 _amount);
}

// File: contracts/interfaces/IStakingRewards.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;


interface IStakingRewards is IStakingFee {
    /* ========== STATE VARIABLES ========== */

    function rewardTokens(uint256) external view returns (IERC20);

    function rewardTokenAddresses(
        address _rewardAddress
    ) external view returns (bool);

    function periodFinish() external view returns (uint256);

    function rewardsDuration() external view returns (uint256);

    function lastUpdateTime() external view returns (uint256);

    function rewardRates(
        address _rewardAddress
    ) external view returns (uint256);

    function rewardPerTokenStored(
        address _rewardAddress
    ) external view returns (uint256);

    // wallet address => token address => amount
    function userRewardPerTokenPaid(
        address _walletAddress,
        address _tokenAddress
    ) external view returns (uint256);

    function rewards(
        address _walletAddress,
        address _tokenAddress
    ) external view returns (uint256);

    /* ========== VIEWS ========== */

    function lastTimeRewardApplicable() external view returns (uint256);

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

    function earned(
        address _tokenAddress,
        address _account
    ) external view returns (uint256);

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

    function getReward(address _tokenAddress, address _recipient) external;

    function getRewards(address _recipient) external;

    // Must send reward before calling this!
    function startEmission(
        uint256[] memory _rewards,
        uint256 _duration
    ) external;

    function stopEmission(address _refundAddress) external;

    function recoverLeftoverReward(
        address _tokenAddress,
        address _recipient
    ) external;

    function addRewardToken(address _tokenAddress) external;

    function rewardTokenIndex(
        address _tokenAddress
    ) external view returns (int8);

    /* ========== EVENTS ========== */

    // Emitted when a reward is paid to an account
    event RewardPaid(
        address indexed _token,
        address indexed _account,
        uint256 _reward
    );

    // Emitted when a leftover reward is recovered
    event LeftoverRewardRecovered(address indexed _recipient, uint256 _amount);

    // Emitted when rewards emission is started
    event RewardsEmissionStarted(uint256[] _rewards, uint256 _duration);

    // Emitted when rewards emission ends
    event RewardsEmissionEnded();
}

// File: contracts/interfaces/ISingleStakingRewards.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>

pragma solidity >=0.8.0;


interface ISingleStakingRewards is IStakingRewards {
    event CompoundedReward(uint256 oldBalance, uint256 newBalance);

    function compoundSingleStakingRewards() external;
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/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: contracts/SingleStakeManager.sol


//
// Copyright (c) 2023 ElkLabs
// License terms: https://github.com/elkfinance/faas/blob/main/LICENSE
//
// Authors:
// - Seth <[email protected]>
// - Baal <[email protected]>
// - Elijah <[email protected]>
// - Snake <[email protected]>

pragma solidity >=0.8.0;





/**
 * This contract serves as the main point of contact between any SingleStakingRewards creators and their farm contract.
 * It contains any function in SingleStakingRewards that would normally be restricted to the owner and allows access to its functionality long as the caller is the known owner in the SingleStakeFactory contract.
 */
contract SingleStakeManager is ISingleStakeManager, Ownable {

    /* ========== STATE VARIABLES ========== */

    /// @notice Staking factory interface
    ISingleStakeFactory public stakeFactory;
    
    /* ========== CONSTRUCTOR ========== */

    /**
     * @param _factoryAddress The address of the SingleStakeFactory contract.
     */
    constructor(address _factoryAddress) {
        stakeFactory = ISingleStakeFactory(_factoryAddress);
    }

    /**
     * @notice Utility function for use by Elk in order to change the SingleStakingFactory if needed.
     * @param _factoryAddress The address of the SingleStakeFactory contract.
     */
    function setFarmFactory(address _factoryAddress) external onlyOwner {
        require(
            _factoryAddress != address(0),
            "factoryAddress is the zero address"
        );
        stakeFactory = ISingleStakeFactory(_factoryAddress);
        emit FarmFactorySet(_factoryAddress);
    }

    /* ========== MODIFIERS ========== */

    /**
     * @notice The check used by each function that interacts with the SingleStakingRewards contract. It reads from the owners stored in SingleStakingFactory to determine if the caller is the known owner of the SingleStakingRewards contract it is trying to interact with.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     */
    modifier checkOwnership(address _singleStakeAddress) {
        ISingleStakingRewards rewardsContract = ISingleStakingRewards(
            _singleStakeAddress
        );
        address lpTokenAddress = address(rewardsContract.stakingToken());
        require(
            stakeFactory.getSingleStake(msg.sender, lpTokenAddress) ==
                _singleStakeAddress,
            "caller is not owner"
        );
        _;
    }

    /* ========== Farm Functions ========== */

    /**
     * @dev Any reward tokens must be sent to the SingleStakingRewards contract before this function is called.
     * @notice Starts the farm emission for the given SingleStakingRewards contract address.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     * @param _rewards The amount of rewards per rewards token.
     * @param _duration The duration of the farm emissions.
     */
    function startEmission(
        address _singleStakeAddress,
        uint256[] memory _rewards,
        uint256 _duration
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).startEmission(
            _rewards,
            _duration
        );
    }

    /**
     * @notice Stops the given farm's emissions and refunds any leftover reward token(s) to the msg.sender.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     */
    function stopEmission(
        address _singleStakeAddress
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).stopEmission(msg.sender);
    }

    /**
     * @notice Recovers the given leftover reward token to the msg.sender.
     * @notice Cannot be called while the farm is active or if there are any LP tokens staked in the contract.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     * @param _tokenAddress The address of the token to recover.
     */
    function recoverLeftoverReward(
        address _singleStakeAddress,
        address _tokenAddress
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).recoverLeftoverReward(
            _tokenAddress,
            msg.sender
        );
    }

    /**
     * @notice Utility function that allows the farm owner to add a new reward token to the contract.
     * @dev Cannot be called while the farm is active.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     * @param _tokenAddress The address of the token to add.
     */
    function addRewardToken(
        address _singleStakeAddress,
        address _tokenAddress
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).addRewardToken(
            _tokenAddress
        );
    }

    /**
     * @notice Recovers an ERC20 token to the owners wallet. The token cannot be the staking token or any of the rewards tokens for the farm.
     * @dev Ensures any unnecessary tokens are not lost if sent to the farm contract.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     * @param _tokenAddress The address of the token to recover.
     * @param _amount The amount of the token to recover.
     */
    function recoverERC20(
        address _singleStakeAddress,
        address _tokenAddress,
        uint256 _amount
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).recoverERC20(
            _tokenAddress,
            msg.sender,
            _amount
        );
    }

    /* ========== FEES ========== */

    /**
     * @notice Allows the farm owner to set the withdrawal and deposit fees to be used in the farm.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     * @param _depositFeeBps The deposit fee in basis points.
     * @param _withdrawalFeesBps The withdrawal fee in basis points.
     * @param _withdrawalFeeSchedule The schedule for the withdrawal fee to be applied.
     */
    function setFees(
        address _singleStakeAddress,
        uint16 _depositFeeBps,
        uint16[] memory _withdrawalFeesBps,
        uint32[] memory _withdrawalFeeSchedule
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).setFees(
            _depositFeeBps,
            _withdrawalFeesBps,
            _withdrawalFeeSchedule
        );
    }

    /**
     * @notice Withdraw fees collected from deposits/withdrawals in the SingleStakingRewards contract to msg.sender.
     * @param _singleStakeAddress The address of the SingleStakingRewards contract.
     */
    function recoverFees(
        address _singleStakeAddress
    ) external checkOwnership(_singleStakeAddress) {
        ISingleStakingRewards(_singleStakeAddress).recoverFees(msg.sender);
    }

    /* ========== FARMER FUNCTIONS ========== */

    /**
     * @notice Function for farm users to claim rewards from multiple farms at once.
     * @param _farms The addresses of the SingleStakingRewards contracts.
     */
    function multiClaim(address[] memory _farms) external {
        require(_farms.length < 30, "Too many contracts, use less than 30");

        for (uint i = 0; i < _farms.length; i++) {
            address farmAddress = address(_farms[i]);
            ISingleStakingRewards(farmAddress).getRewards(msg.sender);

            emit RewardsReceived(_farms[i]);
        }
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factoryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_factoryAddress","type":"address"}],"name":"FarmFactorySet","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":false,"internalType":"address","name":"_farm","type":"address"}],"name":"RewardsReceived","type":"event"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"addRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_farms","type":"address[]"}],"name":"multiClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"}],"name":"recoverFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"recoverLeftoverReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_factoryAddress","type":"address"}],"name":"setFarmFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"},{"internalType":"uint16","name":"_depositFeeBps","type":"uint16"},{"internalType":"uint16[]","name":"_withdrawalFeesBps","type":"uint16[]"},{"internalType":"uint32[]","name":"_withdrawalFeeSchedule","type":"uint32[]"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeFactory","outputs":[{"internalType":"contract ISingleStakeFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"},{"internalType":"uint256[]","name":"_rewards","type":"uint256[]"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"startEmission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_singleStakeAddress","type":"address"}],"name":"stopEmission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161173238038061173283398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b611646806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806387e7ed3a1161008c578063c74cd01411610066578063c74cd0141461019c578063dd196f18146101af578063f2d17639146101c2578063f2fde38b146101d557600080fd5b806387e7ed3a1461014d5780638da5cb5b146101605780638f0905b91461018957600080fd5b80636da9c58e116100bd5780636da9c58e1461011f5780636e041d0014610132578063715018a61461014557600080fd5b80631171bda9146100e457806323cb2390146100f95780633acd0be31461010c575b600080fd5b6100f76100f236600461110f565b6101e8565b005b6100f7610107366004611150565b6103aa565b6100f761011a3660046111f4565b610559565b6100f761012d3660046112a7565b6106d3565b6100f76101403660046112a7565b61087f565b6100f7610964565b6100f761015b3660046112a7565b610978565b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6100f761019736600461135b565b610af0565b6100f76101aa366004611440565b610ca7565b60015461016d906001600160a01b031681565b6100f76101d0366004611150565b610e33565b6100f76101e33660046112a7565b610fb3565b8260008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610230573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025491906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa1580156102ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cf91906114da565b6001600160a01b0316146103205760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b60448201526064015b60405180910390fd5b6040517f1171bda90000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015233602483015260448201869052871690631171bda9906064015b600060405180830381600087803b15801561038a57600080fd5b505af115801561039e573d6000803e3d6000fd5b50505050505050505050565b8160008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af11580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041691906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa15801561046d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049191906114da565b6001600160a01b0316146104dd5760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517f1c03e6cc0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152861690631c03e6cc906024015b600060405180830381600087803b15801561053a57600080fd5b505af115801561054e573d6000803e3d6000fd5b505050505050505050565b8260008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af11580156105a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c591906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064091906114da565b6001600160a01b03161461068c5760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517f2e9f06020000000000000000000000000000000000000000000000000000000081526001600160a01b03871690632e9f06029061037090889088906004016114f7565b8060008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af115801561071b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073f91906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba91906114da565b6001600160a01b0316146108065760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517f6da9c58e0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03851690636da9c58e906024015b600060405180830381600087803b15801561086157600080fd5b505af1158015610875573d6000803e3d6000fd5b5050505050505050565b610887611043565b6001600160a01b0381166109035760405162461bcd60e51b815260206004820152602260248201527f666163746f72794164647265737320697320746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610317565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556040519081527f081d08ac089fbd8e494de9c8ecf6c4be22ad1b100ae31a788d48bec39334a0709060200160405180910390a150565b61096c611043565b610976600061109d565b565b8060008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af11580156109c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e491906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906114da565b6001600160a01b031614610aab5760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517f87e7ed3a0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b038516906387e7ed3a90602401610847565b8360008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c91906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd791906114da565b6001600160a01b031614610c235760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517f69d1bdea0000000000000000000000000000000000000000000000000000000081526001600160a01b038816906369d1bdea90610c6c9089908990899060040161153f565b600060405180830381600087803b158015610c8657600080fd5b505af1158015610c9a573d6000803e3d6000fd5b5050505050505050505050565b601e815110610d1d5760405162461bcd60e51b8152602060048201526024808201527f546f6f206d616e7920636f6e7472616374732c20757365206c6573732074686160448201527f6e203330000000000000000000000000000000000000000000000000000000006064820152608401610317565b60005b8151811015610e2f576000828281518110610d3d57610d3d6115d3565b60209081029190910101516040517f79ee54f70000000000000000000000000000000000000000000000000000000081523360048201529091506001600160a01b038216906379ee54f790602401600060405180830381600087803b158015610da557600080fd5b505af1158015610db9573d6000803e3d6000fd5b505050507fab3d721de7558ed8926b5577897ff28185aad98b1dfaffc0ec27d021dbb235e5838381518110610df057610df06115d3565b6020026020010151604051610e1491906001600160a01b0391909116815260200190565b60405180910390a15080610e27816115e9565b915050610d20565b5050565b8160008190506000816001600160a01b03166372f702f36040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9f91906114da565b600154604051637756b8af60e11b81523360048201526001600160a01b038084166024830152929350858316929091169063eead715e90604401602060405180830381865afa158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a91906114da565b6001600160a01b031614610f665760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610317565b6040517ff2d176390000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015233602483015286169063f2d1763990604401610520565b610fbb611043565b6001600160a01b0381166110375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610317565b6110408161109d565b50565b6000546001600160a01b031633146109765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610317565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461104057600080fd5b60008060006060848603121561112457600080fd5b833561112f816110fa565b9250602084013561113f816110fa565b929592945050506040919091013590565b6000806040838503121561116357600080fd5b823561116e816110fa565b9150602083013561117e816110fa565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156111c8576111c8611189565b604052919050565b600067ffffffffffffffff8211156111ea576111ea611189565b5060051b60200190565b60008060006060848603121561120957600080fd5b8335611214816110fa565b925060208481013567ffffffffffffffff81111561123157600080fd5b8501601f8101871361124257600080fd5b8035611255611250826111d0565b61119f565b81815260059190911b8201830190838101908983111561127457600080fd5b928401925b8284101561129257833582529284019290840190611279565b96999698505050506040949094013593505050565b6000602082840312156112b957600080fd5b81356112c4816110fa565b9392505050565b803561ffff811681146112dd57600080fd5b919050565b600082601f8301126112f357600080fd5b81356020611303611250836111d0565b82815260059290921b8401810191818101908684111561132257600080fd5b8286015b8481101561135057803563ffffffff811681146113435760008081fd5b8352918301918301611326565b509695505050505050565b6000806000806080858703121561137157600080fd5b843561137c816110fa565b9350602061138b8682016112cb565b9350604086013567ffffffffffffffff808211156113a857600080fd5b818801915088601f8301126113bc57600080fd5b81356113ca611250826111d0565b81815260059190911b8301840190848101908b8311156113e957600080fd5b938501935b8285101561140e576113ff856112cb565b825293850193908501906113ee565b96505050606088013592508083111561142657600080fd5b5050611434878288016112e2565b91505092959194509250565b6000602080838503121561145357600080fd5b823567ffffffffffffffff81111561146a57600080fd5b8301601f8101851361147b57600080fd5b8035611489611250826111d0565b81815260059190911b820183019083810190878311156114a857600080fd5b928401925b828410156114cf5783356114c0816110fa565b825292840192908401906114ad565b979650505050505050565b6000602082840312156114ec57600080fd5b81516112c4816110fa565b604080825283519082018190526000906020906060840190828701845b8281101561153057815184529284019290840190600101611514565b50505092019290925292915050565b60006060820161ffff80871684526020606081860152828751808552608087019150828901945060005b81811015611587578551851683529483019491830191600101611569565b5050858103604087015286518082529082019350915080860160005b838110156115c557815163ffffffff16855293820193908201906001016115a3565b509298975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161160957634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212203cae2bf1c51d666ee4765f5166601803040bd98f689bc7a9dc399a77d2f649dd64736f6c63430008130033000000000000000000000000426cd528badfcd75c496b4260f784ce0fda28b2a

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

000000000000000000000000426cd528badfcd75c496b4260f784ce0fda28b2a

-----Decoded View---------------
Arg [0] : _factoryAddress (address): 0x426cd528badfcd75c496b4260f784ce0fda28b2a

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000426cd528badfcd75c496b4260f784ce0fda28b2a


Deployed ByteCode Sourcemap

17043:7061:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21841:330;;;;;;:::i;:::-;;:::i;:::-;;21114:261;;;;;;:::i;:::-;;:::i;19389:310::-;;;;;;:::i;:::-;;:::i;19919:198::-;;;;;;:::i;:::-;;:::i;17717:309::-;;;;;;:::i;:::-;;:::i;15547:103::-;;;:::i;23286:196::-;;;;;;:::i;:::-;;:::i;14899:87::-;14945:7;14972:6;-1:-1:-1;;;;;14972:6:0;14899:87;;;-1:-1:-1;;;;;3199:55:1;;;3181:74;;3169:2;3154:18;14899:87:0;;;;;;;22645:412;;;;;;:::i;:::-;;:::i;23721:380::-;;;;;;:::i;:::-;;:::i;17206:39::-;;;;;-1:-1:-1;;;;;17206:39:0;;;20482:300;;;;;;:::i;:::-;;:::i;15805:201::-;;;;;;:::i;:::-;;:::i;21841:330::-;21990:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;;;;;;;;;22022:141:::1;::::0;;;;-1:-1:-1;;;;;8340:15:1;;;22022:141:0::1;::::0;::::1;8322:34:1::0;22120:10:0::1;8372:18:1::0;;;8365:43;8424:18;;;8417:34;;;22022:55:0;::::1;::::0;::::1;::::0;8234:18:1;;22022:141:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;18508:387:::0;;21841:330;;;;:::o;21114:261::-;21239:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;21271:96:::1;::::0;;;;-1:-1:-1;;;;;3199:55:1;;;21271:96:0::1;::::0;::::1;3181:74:1::0;21271:57:0;::::1;::::0;::::1;::::0;3154:18:1;;21271:96:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;18508:387:::0;;21114:261;;;:::o;19389:310::-;19545:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;19577:114:::1;::::0;;;;-1:-1:-1;;;;;19577:56:0;::::1;::::0;::::1;::::0;:114:::1;::::0;19648:8;;19671:9;;19577:114:::1;;;:::i;19919:198::-:0;20010:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;20042:67:::1;::::0;;;;20098:10:::1;20042:67;::::0;::::1;3181:74:1::0;-1:-1:-1;;;;;20042:55:0;::::1;::::0;::::1;::::0;3154:18:1;;20042:67:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;18508:387:::0;;19919:198;;:::o;17717:309::-;14785:13;:11;:13::i;:::-;-1:-1:-1;;;;;17818:29:0;::::1;17796:113;;;::::0;-1:-1:-1;;;17796:113:0;;9374:2:1;17796:113:0::1;::::0;::::1;9356:21:1::0;9413:2;9393:18;;;9386:30;9452:34;9432:18;;;9425:62;9523:4;9503:18;;;9496:32;9545:19;;17796:113:0::1;9172:398:1::0;17796:113:0::1;17920:12;:51:::0;;-1:-1:-1;;17920:51:0::1;-1:-1:-1::0;;;;;17920:51:0;::::1;::::0;;::::1;::::0;;;17987:31:::1;::::0;3181:74:1;;;17987:31:0::1;::::0;3169:2:1;3154:18;17987:31:0::1;;;;;;;17717:309:::0;:::o;15547:103::-;14785:13;:11;:13::i;:::-;15612:30:::1;15639:1;15612:18;:30::i;:::-;15547:103::o:0;23286:196::-;23376:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;23408:66:::1;::::0;;;;23463:10:::1;23408:66;::::0;::::1;3181:74:1::0;-1:-1:-1;;;;;23408:54:0;::::1;::::0;::::1;::::0;3154:18:1;;23408:66:0::1;3035:226:1::0;22645:412:0;22857:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;22889:160:::1;::::0;;;;-1:-1:-1;;;;;22889:50:0;::::1;::::0;::::1;::::0;:160:::1;::::0;22954:14;;22983:18;;23016:22;;22889:160:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;18508:387:::0;;22645:412;;;;;:::o;23721:380::-;23810:2;23794:6;:13;:18;23786:67;;;;-1:-1:-1;;;23786:67:0;;11058:2:1;23786:67:0;;;11040:21:1;11097:2;11077:18;;;11070:30;11136:34;11116:18;;;11109:62;11207:6;11187:18;;;11180:34;11231:19;;23786:67:0;10856:400:1;23786:67:0;23871:6;23866:228;23887:6;:13;23883:1;:17;23866:228;;;23922:19;23952:6;23959:1;23952:9;;;;;;;;:::i;:::-;;;;;;;;;;;23977:57;;;;;24023:10;23977:57;;;3181:74:1;23952:9:0;;-1:-1:-1;;;;;;23977:45:0;;;;;3154:18:1;;23977:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24056:26;24072:6;24079:1;24072:9;;;;;;;;:::i;:::-;;;;;;;24056:26;;;;;-1:-1:-1;;;;;3199:55:1;;;;3181:74;;3169:2;3154:18;;3035:226;24056:26:0;;;;;;;;-1:-1:-1;23902:3:0;;;;:::i;:::-;;;;23866:228;;;;23721:380;:::o;20482:300::-;20614:19;18519:37;18595:19;18519:106;;18636:22;18669:15;-1:-1:-1;;;;;18669:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18733:12;;:55;;-1:-1:-1;;;18733:55:0;;18761:10;18733:55;;;7358:34:1;-1:-1:-1;;;;;7428:15:1;;;7408:18;;;7401:43;18636:64:0;;-1:-1:-1;18733:95:0;;;;:12;;;;:27;;7270:18:1;;18733:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;18733:95:0;;18711:164;;;;-1:-1:-1;;;18711:164:0;;7913:2:1;18711:164:0;;;7895:21:1;7952:2;7932:18;;;7925:30;-1:-1:-1;;;7971:18:1;;;7964:49;8030:18;;18711:164:0;7711:343:1;18711:164:0;20646:128:::1;::::0;;;;-1:-1:-1;;;;;7376:15:1;;;20646:128:0::1;::::0;::::1;7358:34:1::0;20753:10:0::1;7408:18:1::0;;;7401:43;20646:64:0;::::1;::::0;::::1;::::0;7270:18:1;;20646:128:0::1;7123:327:1::0;15805:201:0;14785:13;:11;:13::i;:::-;-1:-1:-1;;;;;15894:22:0;::::1;15886:73;;;::::0;-1:-1:-1;;;15886:73:0;;11946:2:1;15886:73:0::1;::::0;::::1;11928:21:1::0;11985:2;11965:18;;;11958:30;12024:34;12004:18;;;11997:62;12095:8;12075:18;;;12068:36;12121:19;;15886:73:0::1;11744:402:1::0;15886:73:0::1;15970:28;15989:8;15970:18;:28::i;:::-;15805:201:::0;:::o;15064:132::-;14945:7;14972:6;-1:-1:-1;;;;;14972:6:0;13477:10;15128:23;15120:68;;;;-1:-1:-1;;;15120:68:0;;12353:2:1;15120:68:0;;;12335:21:1;;;12372:18;;;12365:30;12431:34;12411:18;;;12404:62;12483:18;;15120:68:0;12151:356:1;16166:191:0;16240:16;16259:6;;-1:-1:-1;;;;;16276:17:0;;;-1:-1:-1;;16276:17:0;;;;;;16309:40;;16259:6;;;;;;;16309:40;;16240:16;16309:40;16229:128;16166:191;:::o;14:154:1:-;-1:-1:-1;;;;;93:5:1;89:54;82:5;79:65;69:93;;158:1;155;148:12;173:456;250:6;258;266;319:2;307:9;298:7;294:23;290:32;287:52;;;335:1;332;325:12;287:52;374:9;361:23;393:31;418:5;393:31;:::i;:::-;443:5;-1:-1:-1;500:2:1;485:18;;472:32;513:33;472:32;513:33;:::i;:::-;173:456;;565:7;;-1:-1:-1;;;619:2:1;604:18;;;;591:32;;173:456::o;634:388::-;702:6;710;763:2;751:9;742:7;738:23;734:32;731:52;;;779:1;776;769:12;731:52;818:9;805:23;837:31;862:5;837:31;:::i;:::-;887:5;-1:-1:-1;944:2:1;929:18;;916:32;957:33;916:32;957:33;:::i;:::-;1009:7;999:17;;;634:388;;;;;:::o;1027:184::-;-1:-1:-1;;;1076:1:1;1069:88;1176:4;1173:1;1166:15;1200:4;1197:1;1190:15;1216:275;1287:2;1281:9;1352:2;1333:13;;-1:-1:-1;;1329:27:1;1317:40;;1387:18;1372:34;;1408:22;;;1369:62;1366:88;;;1434:18;;:::i;:::-;1470:2;1463:22;1216:275;;-1:-1:-1;1216:275:1:o;1496:183::-;1556:4;1589:18;1581:6;1578:30;1575:56;;;1611:18;;:::i;:::-;-1:-1:-1;1656:1:1;1652:14;1668:4;1648:25;;1496:183::o;1684:1094::-;1786:6;1794;1802;1855:2;1843:9;1834:7;1830:23;1826:32;1823:52;;;1871:1;1868;1861:12;1823:52;1910:9;1897:23;1929:31;1954:5;1929:31;:::i;:::-;1979:5;-1:-1:-1;2003:2:1;2041:18;;;2028:32;2083:18;2072:30;;2069:50;;;2115:1;2112;2105:12;2069:50;2138:22;;2191:4;2183:13;;2179:27;-1:-1:-1;2169:55:1;;2220:1;2217;2210:12;2169:55;2256:2;2243:16;2279:60;2295:43;2335:2;2295:43;:::i;:::-;2279:60;:::i;:::-;2373:15;;;2455:1;2451:10;;;;2443:19;;2439:28;;;2404:12;;;;2479:19;;;2476:39;;;2511:1;2508;2501:12;2476:39;2535:11;;;;2555:142;2571:6;2566:3;2563:15;2555:142;;;2637:17;;2625:30;;2588:12;;;;2675;;;;2555:142;;;1684:1094;;2716:5;;-1:-1:-1;;;;2768:2:1;2753:18;;;;2740:32;;-1:-1:-1;;;1684:1094:1:o;2783:247::-;2842:6;2895:2;2883:9;2874:7;2870:23;2866:32;2863:52;;;2911:1;2908;2901:12;2863:52;2950:9;2937:23;2969:31;2994:5;2969:31;:::i;:::-;3019:5;2783:247;-1:-1:-1;;;2783:247:1:o;3266:159::-;3333:20;;3393:6;3382:18;;3372:29;;3362:57;;3415:1;3412;3405:12;3362:57;3266:159;;;:::o;3430:836::-;3483:5;3536:3;3529:4;3521:6;3517:17;3513:27;3503:55;;3554:1;3551;3544:12;3503:55;3590:6;3577:20;3616:4;3640:60;3656:43;3696:2;3656:43;:::i;3640:60::-;3734:15;;;3820:1;3816:10;;;;3804:23;;3800:32;;;3765:12;;;;3844:15;;;3841:35;;;3872:1;3869;3862:12;3841:35;3908:2;3900:6;3896:15;3920:317;3936:6;3931:3;3928:15;3920:317;;;4016:3;4003:17;4064:10;4057:5;4053:22;4046:5;4043:33;4033:131;;4118:1;4147:2;4143;4136:14;4033:131;4177:18;;4215:12;;;;3953;;3920:317;;;-1:-1:-1;4255:5:1;3430:836;-1:-1:-1;;;;;;3430:836:1:o;4271:1348::-;4404:6;4412;4420;4428;4481:3;4469:9;4460:7;4456:23;4452:33;4449:53;;;4498:1;4495;4488:12;4449:53;4537:9;4524:23;4556:31;4581:5;4556:31;:::i;:::-;4606:5;-1:-1:-1;4630:2:1;4651:37;4669:18;;;4651:37;:::i;:::-;4641:47;;4739:2;4728:9;4724:18;4711:32;4762:18;4803:2;4795:6;4792:14;4789:34;;;4819:1;4816;4809:12;4789:34;4857:6;4846:9;4842:22;4832:32;;4902:7;4895:4;4891:2;4887:13;4883:27;4873:55;;4924:1;4921;4914:12;4873:55;4960:2;4947:16;4983:60;4999:43;5039:2;4999:43;:::i;4983:60::-;5077:15;;;5159:1;5155:10;;;;5147:19;;5143:28;;;5108:12;;;;5183:19;;;5180:39;;;5215:1;5212;5205:12;5180:39;5239:11;;;;5259:147;5275:6;5270:3;5267:15;5259:147;;;5341:22;5359:3;5341:22;:::i;:::-;5329:35;;5292:12;;;;5384;;;;5259:147;;;5425:5;-1:-1:-1;;;5483:2:1;5468:18;;5455:32;;-1:-1:-1;5499:16:1;;;5496:36;;;5528:1;5525;5518:12;5496:36;;;5551:62;5605:7;5594:8;5583:9;5579:24;5551:62;:::i;:::-;5541:72;;;4271:1348;;;;;;;:::o;5624:966::-;5708:6;5739:2;5782;5770:9;5761:7;5757:23;5753:32;5750:52;;;5798:1;5795;5788:12;5750:52;5838:9;5825:23;5871:18;5863:6;5860:30;5857:50;;;5903:1;5900;5893:12;5857:50;5926:22;;5979:4;5971:13;;5967:27;-1:-1:-1;5957:55:1;;6008:1;6005;5998:12;5957:55;6044:2;6031:16;6067:60;6083:43;6123:2;6083:43;:::i;6067:60::-;6161:15;;;6243:1;6239:10;;;;6231:19;;6227:28;;;6192:12;;;;6267:19;;;6264:39;;;6299:1;6296;6289:12;6264:39;6323:11;;;;6343:217;6359:6;6354:3;6351:15;6343:217;;;6439:3;6426:17;6456:31;6481:5;6456:31;:::i;:::-;6500:18;;6376:12;;;;6538;;;;6343:217;;;6579:5;5624:966;-1:-1:-1;;;;;;;5624:966:1:o;6853:265::-;6937:6;6990:2;6978:9;6969:7;6965:23;6961:32;6958:52;;;7006:1;7003;6996:12;6958:52;7038:9;7032:16;7057:31;7082:5;7057:31;:::i;8462:705::-;8680:2;8692:21;;;8762:13;;8665:18;;;8784:22;;;8632:4;;8859;;8837:2;8822:18;;;8886:15;;;8632:4;8929:169;8943:6;8940:1;8937:13;8929:169;;;9004:13;;8992:26;;9038:12;;;;9073:15;;;;8965:1;8958:9;8929:169;;;-1:-1:-1;;;9134:18:1;;9127:34;;;;9115:3;8462:705;-1:-1:-1;;8462:705:1:o;9575:1276::-;9817:4;9865:2;9854:9;9850:18;9887:6;9932:2;9924:6;9920:15;9909:9;9902:34;9955:2;9993;9988;9977:9;9973:18;9966:30;10016:6;10051;10045:13;10082:6;10074;10067:22;10120:3;10109:9;10105:19;10098:26;;10159:2;10151:6;10147:15;10133:29;;10180:1;10190:178;10204:6;10201:1;10198:13;10190:178;;;10269:13;;10265:22;;10253:35;;10343:15;;;;10308:12;;;;10226:1;10219:9;10190:178;;;-1:-1:-1;;10404:19:1;;;10399:2;10384:18;;10377:47;10474:13;;10496:21;;;10535:12;;;;-1:-1:-1;10474:13:1;-1:-1:-1;10572:15:1;;;10607:1;10617:206;10633:8;10628:3;10625:17;10617:206;;;10706:15;;10723:10;10702:32;10688:47;;10757:14;;;;10796:17;;;;10661:1;10652:11;10617:206;;;-1:-1:-1;10840:5:1;;9575:1276;-1:-1:-1;;;;;;;;9575:1276:1:o;11261:184::-;-1:-1:-1;;;11310:1:1;11303:88;11410:4;11407:1;11400:15;11434:4;11431:1;11424:15;11450:289;11489:3;11510:17;;;11507:197;;-1:-1:-1;;;11557:1:1;11550:88;11661:4;11658:1;11651:15;11689:4;11686:1;11679:15;11507:197;-1:-1:-1;11731:1:1;11720:13;;11450:289::o

Swarm Source

ipfs://3cae2bf1c51d666ee4765f5166601803040bd98f689bc7a9dc399a77d2f649dd
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading