ETH Price: $3,285.70 (-0.80%)

Contract

0x71Ef2Cf61F925b6e00cbFd768F7b1B51628804EF
 
Transaction Hash
Method
Block
From
To
Stake127293692021-06-29 14:03:441299 days ago1624975424IN
0x71Ef2Cf6...1628804EF
0 ETH0.0027254835
Cancel Stake127278702021-06-29 8:19:121299 days ago1624954752IN
0x71Ef2Cf6...1628804EF
0 ETH0.0020720216.24
Cancel Stake127276952021-06-29 7:37:151299 days ago1624952235IN
0x71Ef2Cf6...1628804EF
0 ETH0.0021672115.375
Cancel Stake127274962021-06-29 6:52:531299 days ago1624949573IN
0x71Ef2Cf6...1628804EF
0 ETH0.0011538810
Stake127264392021-06-29 3:01:401300 days ago1624935700IN
0x71Ef2Cf6...1628804EF
0 ETH0.0021714620
Cancel Stake127216302021-06-28 9:09:061300 days ago1624871346IN
0x71Ef2Cf6...1628804EF
0 ETH0.0021689917.00000145
Cancel Stake127216062021-06-28 9:03:571300 days ago1624871037IN
0x71Ef2Cf6...1628804EF
0 ETH0.0009067923
Cancel Stake127215862021-06-28 8:57:281300 days ago1624870648IN
0x71Ef2Cf6...1628804EF
0 ETH0.0010216316
Cancel Stake127215282021-06-28 8:44:021300 days ago1624869842IN
0x71Ef2Cf6...1628804EF
0 ETH0.0014615730.74999999
Withdraw127215232021-06-28 8:41:261300 days ago1624869686IN
0x71Ef2Cf6...1628804EF
0 ETH0.0012425923
Withdraw127215152021-06-28 8:39:511300 days ago1624869591IN
0x71Ef2Cf6...1628804EF
0 ETH0.0010805220
Cancel Stake127214602021-06-28 8:25:571300 days ago1624868757IN
0x71Ef2Cf6...1628804EF
0 ETH0.0014685923
Cancel Stake127213582021-06-28 8:04:331300 days ago1624867473IN
0x71Ef2Cf6...1628804EF
0 ETH0.0012451119.5
Cancel Stake127212732021-06-28 7:44:461300 days ago1624866286IN
0x71Ef2Cf6...1628804EF
0 ETH0.0009577815
Cancel Stake127211592021-06-28 7:19:431300 days ago1624864783IN
0x71Ef2Cf6...1628804EF
0 ETH0.0012833327
Withdraw127211292021-06-28 7:12:501300 days ago1624864370IN
0x71Ef2Cf6...1628804EF
0 ETH0.00043228
Cancel Stake127210792021-06-28 7:00:571300 days ago1624863657IN
0x71Ef2Cf6...1628804EF
0 ETH0.0006385210
Cancel Stake127208572021-06-28 6:12:491301 days ago1624860769IN
0x71Ef2Cf6...1628804EF
0 ETH0.0007662212
Cancel Stake127207342021-06-28 5:42:571301 days ago1624858977IN
0x71Ef2Cf6...1628804EF
0 ETH0.000261794.1
Cancel Stake127207282021-06-28 5:41:521301 days ago1624858912IN
0x71Ef2Cf6...1628804EF
0 ETH0.0007023711
Cancel Stake127207272021-06-28 5:41:081301 days ago1624858868IN
0x71Ef2Cf6...1628804EF
0 ETH0.0010533916.49749999
Cancel Stake127205212021-06-28 4:57:041301 days ago1624856224IN
0x71Ef2Cf6...1628804EF
0 ETH0.0004753110
Withdraw127204492021-06-28 4:42:431301 days ago1624855363IN
0x71Ef2Cf6...1628804EF
0 ETH0.0005942811
Withdraw127204362021-06-28 4:40:491301 days ago1624855249IN
0x71Ef2Cf6...1628804EF
0 ETH0.0004279311
Stake127204202021-06-28 4:38:001301 days ago1624855080IN
0x71Ef2Cf6...1628804EF
0 ETH0.0009694210
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Zoo

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 9: Zoo.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

//
//
//                    ┌─┐       ┌─┐ + +
//                    ┌──┘ ┴───────┘ ┴──┐++
//                    │                 │
//                    │       ───       │++ + + +
//                    ███████───███████ │+
//                    │                 │+
//                    │       ─┴─       │
//                    │                 │
//                    └───┐         ┌───┘
//                    │         │
//                    │         │   + +
//                    │         │
//                    │         └──────────────┐
//                    │                        │
//                    │                        ├─┐
//                    │                        ┌─┘
//                    │                        │
//                    └─┐  ┐  ┌───────┬──┐  ┌──┘  + + + +
//                    │ ─┤ ─┤       │ ─┤ ─┤
//                    └──┴──┘       └──┴──┘  + + + +
//                    神兽保佑
//                    代码无BUG!

import "./SafeMath.sol";
import "./IBEP20.sol";
import "./SafeBEP20.sol";
import "./Ownable.sol";

import "./ZooToken.sol";

// MasterChef is the master of Lyptus. He can make Lyptus and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once LYPTUS is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract Zoo is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 stakeAmount;         // How many LP tokens the user has provided.
        uint256 balance;
        uint256 pledgeTime;
        bool isExist;
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 poolToken;           // Address of LP token contract.
        uint256 zooRewardRate;
        uint256 totalStakeAmount;
        uint256 openTime;
        bool isOpen;
    }

    struct KeyFlag {
        address key;
        bool isExist;
    }

    // The ZOO TOKEN!
    ZooToken public zoo;

    // Info of each pool.
    PoolInfo[] public poolInfo;

    mapping (uint256 => mapping (address => UserInfo)) public userInfo;

    event Stake(address indexed user, uint256 indexed pid, uint256 amount);
    event CancelStake(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(
        address _zooTokenAddress
    ) public {
        zoo = ZooToken(_zooTokenAddress);
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function addPool(address _poolAddress, uint256 _zooRewardRate, uint256 _openTime, bool _isOpen) public onlyOwner {
        IBEP20 _poolToken = IBEP20(_poolAddress);
        poolInfo.push(PoolInfo({
        poolToken: _poolToken,
        zooRewardRate: _zooRewardRate,
        totalStakeAmount: 0,
        openTime: _openTime,
        isOpen: _isOpen
        }));
    }

    function updatePool(uint256 _pid, uint256 _zooRewardRate, uint256 _openTime, bool _isOpen) public onlyOwner {
        poolInfo[_pid].zooRewardRate = _zooRewardRate;
        poolInfo[_pid].openTime = _openTime;
        poolInfo[_pid].isOpen = _isOpen;
    }


    function addUser(uint256 _pid, uint256 _amount) private {
        userInfo[_pid][msg.sender] = UserInfo(
            _amount,
            0,
            block.timestamp,
            true
        );
    }

    function stake(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        pool.poolToken.transferFrom(address(msg.sender), address(this), _amount);

        if(user.isExist == false){
            addUser(_pid, _amount);
        }else{
            user.stakeAmount = user.stakeAmount.add(_amount);
            uint256 profit = getUserProfit(_pid, false);

            if (profit > 0) {
                user.balance = user.balance.add(profit);
            }

            user.pledgeTime = block.timestamp;
        }
        
        pool.totalStakeAmount = pool.totalStakeAmount.add(_amount);

        emit Stake(msg.sender, _pid, _amount);
    }

    function cancelStake(uint256 _pid) public payable {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.isExist) {
            if (user.stakeAmount > 0) {
                uint256 stakeAmount = user.stakeAmount;
                uint256 profitAmount = getUserProfit(_pid, true);

                user.stakeAmount = 0;
                user.balance = 0;
                pool.totalStakeAmount = pool.totalStakeAmount.sub(stakeAmount);

                pool.poolToken.safeTransfer(address(msg.sender), stakeAmount);

                if (profitAmount > 0) {
                    safeZooTransfer(address(msg.sender), profitAmount);
                }

                emit CancelStake(msg.sender, _pid, msg.value);
            }
        }
    }

    function withdraw(uint256 _pid) public {
        uint256 profitAmount = getUserProfit(_pid, true);
        require(profitAmount > 0,"profit must gt 0");
        UserInfo storage user = userInfo[_pid][msg.sender];
        user.pledgeTime = block.timestamp;
        user.balance = 0;
        safeZooTransfer(address(msg.sender), profitAmount);
        emit Withdraw(msg.sender, _pid, profitAmount);
    }


    function getUserProfit(uint256 _pid, bool _withBalance) private view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 profit = 0;

        if (user.stakeAmount > 0) {
            uint256 totalStakeAmount = pool.totalStakeAmount;
            if (totalStakeAmount > 0) {
                uint256 time = block.timestamp;
                uint256 hour = time.sub(user.pledgeTime).div(3600);

                if (hour >= 1) {
                    uint256 rate = user.stakeAmount.mul(1e18).div(totalStakeAmount);
                    uint256 profitAmount = rate.mul(pool.zooRewardRate).mul(hour).div(1e18);
                    if (profitAmount > 0) {
                        profit = profit.add(profitAmount);
                    }
                }
            }
        }

        if (_withBalance) {
            profit = profit.add(user.balance);
        }

        return profit;
    }

    function getProfit(uint256 _pid) public view returns (uint256) {
        uint256 profit = getUserProfit(_pid, true);
        return profit;
    }

    function getPoolStake(uint256 _pid) public view returns (uint256) {
        PoolInfo memory pool = poolInfo[_pid];
        return pool.totalStakeAmount;
    }

    function getUserStake(uint256 _pid) public view returns (uint256){
        UserInfo storage user = userInfo[_pid][msg.sender];
        return user.stakeAmount;
    }

    function safeZooTransfer(address _to, uint256 _amount) internal {
        uint256 zooBalance = zoo.balanceOf(address(this));
        if (_amount > zooBalance) {
            zoo.transfer(_to, zooBalance);
        } else {
            zoo.transfer(_to, _amount);
        }
    }
}

File 2 of 9: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 9: BEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

import './Ownable.sol';
import './Context.sol';
import './IBEP20.sol';
import './SafeMath.sol';

/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol, uint256 totalSupply) public {
        _name = name;
        _symbol = symbol;
        _totalSupply = totalSupply;
        _decimals = 18;
         _balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public override view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

    /**
    * @dev Returns the number of decimals used to get its user representation.
    */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {BEP20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {BEP20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {BEP20-allowance}.
     */
    function allowance(address owner, address spender) public override view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {BEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom (address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount)
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue));
        return true;
    }


    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer (address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }


    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve (address owner, address spender, uint256 amount) internal {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount));
    }
}

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

pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 5 of 9: IBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.4;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address _owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 9: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

File 7 of 9: SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IBEP20.sol";
import "./SafeMath.sol";
import "./Address.sol";

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IBEP20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IBEP20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IBEP20 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),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IBEP20 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(IBEP20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value);
        _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(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}

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

pragma solidity 0.6.12;

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */

library SafeMath {
    /**
     * @dev Multiplies two unsigned integers, reverts on 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-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
     * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Adds two unsigned integers, reverts on overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);

        return c;
    }

    /**
     * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
     * reverts when dividing by zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

File 9 of 9: ZooToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

//
//
//                    ┌─┐       ┌─┐ + +
//                    ┌──┘ ┴───────┘ ┴──┐++
//                    │                 │
//                    │       ───       │++ + + +
//                    ███████───███████ │+
//                    │                 │+
//                    │       ─┴─       │
//                    │                 │
//                    └───┐         ┌───┘
//                    │         │
//                    │         │   + +
//                    │         │
//                    │         └──────────────┐
//                    │                        │
//                    │                        ├─┐
//                    │                        ┌─┘
//                    │                        │
//                    └─┐  ┐  ┌───────┬──┐  ┌──┘  + + + +
//                    │ ─┤ ─┤       │ ─┤ ─┤
//                    └──┴──┘       └──┴──┘  + + + +


import "./BEP20.sol";

contract ZooToken is BEP20('Zoo', 'ZOO', 100000000000000000000000000000) {


function getChainId() internal pure returns (uint) {
uint256 chainId;
assembly { chainId := chainid() }
return chainId;
}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_zooTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CancelStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"uint256","name":"_zooRewardRate","type":"uint256"},{"internalType":"uint256","name":"_openTime","type":"uint256"},{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"cancelStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getPoolStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getProfit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getUserStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"poolToken","type":"address"},{"internalType":"uint256","name":"zooRewardRate","type":"uint256"},{"internalType":"uint256","name":"totalStakeAmount","type":"uint256"},{"internalType":"uint256","name":"openTime","type":"uint256"},{"internalType":"bool","name":"isOpen","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_zooRewardRate","type":"uint256"},{"internalType":"uint256","name":"_openTime","type":"uint256"},{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"stakeAmount","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"pledgeTime","type":"uint256"},{"internalType":"bool","name":"isExist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zoo","outputs":[{"internalType":"contract ZooToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161148d38038061148d8339818101604052602081101561003357600080fd5b5051600061003f6100ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03929092169190911790556100b2565b3390565b6113cc806100c16000396000f3fe6080604052600436106100e85760003560e01c80637b6a87771161008a578063a9d48b4311610059578063a9d48b431461033c578063d8de948014610366578063de54d7b814610383578063f2fde38b146103ad576100e8565b80637b6a87771461026b5780638da5cb5b1461029c57806393f1a40b146102b1578063a91b2e9f14610312576100e8565b8063376582f7116100c6578063376582f7146101a15780634ac22193146101df578063715018a6146102265780637b0472f01461023b576100e8565b8063081e3eda146100ed5780631526fe27146101145780632e1a7d4d14610175575b600080fd5b3480156100f957600080fd5b506101026103e0565b60408051918252519081900360200190f35b34801561012057600080fd5b5061013e6004803603602081101561013757600080fd5b50356103e6565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b34801561018157600080fd5b5061019f6004803603602081101561019857600080fd5b5035610431565b005b3480156101ad57600080fd5b5061019f600480360360808110156101c457600080fd5b508035906020810135906040810135906060013515156104f5565b3480156101eb57600080fd5b5061019f6004803603608081101561020257600080fd5b506001600160a01b03813516906020810135906040810135906060013515156105c9565b34801561023257600080fd5b5061019f61074a565b34801561024757600080fd5b5061019f6004803603604081101561025e57600080fd5b50803590602001356107ec565b34801561027757600080fd5b50610280610956565b604080516001600160a01b039092168252519081900360200190f35b3480156102a857600080fd5b50610280610965565b3480156102bd57600080fd5b506102ea600480360360408110156102d457600080fd5b50803590602001356001600160a01b0316610974565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561031e57600080fd5b506101026004803603602081101561033557600080fd5b50356109a8565b34801561034857600080fd5b506101026004803603602081101561035f57600080fd5b50356109bd565b61019f6004803603602081101561037c57600080fd5b50356109da565b34801561038f57600080fd5b50610102600480360360208110156103a657600080fd5b5035610abc565b3480156103b957600080fd5b5061019f600480360360208110156103d057600080fd5b50356001600160a01b0316610b37565b60025490565b600281815481106103f357fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b600061043e826001610c2f565b905060008111610488576040805162461bcd60e51b815260206004820152601060248201526f070726f666974206d75737420677420360841b604482015290519081900360640190fd5b6000828152600360209081526040808320338085529252822042600282015560018101929092556104b99083610d3f565b604080518381529051849133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050565b6104fd610ecf565b6000546001600160a01b0390811691161461054d576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b826002858154811061055b57fe5b906000526020600020906005020160010181905550816002858154811061057e57fe5b90600052602060002090600502016003018190555080600285815481106105a157fe5b60009182526020909120600590910201600401805460ff191691151591909117905550505050565b6105d1610ecf565b6000546001600160a01b03908116911614610621576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b6040805160a0810182526001600160a01b039586168152602081019485526000918101828152606082019485529215156080820190815260028054600181018255935290517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590930292830180546001600160a01b031916919097161790955592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf840155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0830155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad182015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad2909101805460ff1916911515919091179055565b610752610ecf565b6000546001600160a01b039081169116146107a2576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000600283815481106107fb57fe5b60009182526020808320868452600382526040808520338087529084528186206005909502909201805482516323b872dd60e01b8152600481019490945230602485015260448401899052915190965093946001600160a01b0391909116936323b872dd936064808501949193918390030190829087803b15801561087f57600080fd5b505af1158015610893573d6000803e3d6000fd5b505050506040513d60208110156108a957600080fd5b5050600381015460ff166108c6576108c18484610ed3565b610905565b80546108d29084610f36565b815560006108e08582610c2f565b905080156108fd5760018201546108f79082610f36565b60018301555b504260028201555b60028201546109149084610f36565b6002830155604080518481529051859133917f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b69181900360200190a350505050565b6001546001600160a01b031681565b6000546001600160a01b031690565b6003602081815260009384526040808520909152918352912080546001820154600283015492909301549092919060ff1684565b6000806109b6836001610c2f565b9392505050565b600090815260036020908152604080832033845290915290205490565b6000600282815481106109e957fe5b600091825260208083208584526003808352604080862033875290935291909320908101546005909202909201925060ff1615610ab757805415610ab75780546000610a36856001610c2f565b600080855560018501556002850154909150610a529083610f48565b60028501558354610a6d906001600160a01b03163384610f5d565b8015610a7d57610a7d3382610d3f565b604080513481529051869133917fc7084c9d308e39fc30b43733228ed6920bc2af62030251ccccb5fcfe18c0aa819181900360200190a350505b505050565b6000610ac66112c6565b60028381548110610ad357fe5b60009182526020918290206040805160a081018252600590930290910180546001600160a01b0316835260018101549383019390935260028301549082018190526003830154606083015260049092015460ff161515608090910152915050919050565b610b3f610ecf565b6000546001600160a01b03908116911614610b8f576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b6001600160a01b038116610bd45760405162461bcd60e51b815260040180806020018281038252602681526020018061132b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060028481548110610c3f57fe5b60009182526020808320878452600382526040808520338652909252908320805460059093029091019350919015610d1b5760028301548015610d195760004290506000610ca6610e10610ca0876002015485610f4890919063ffffffff16565b90610faf565b905060018110610d16578454600090610ccd908590610ca090670de0b6b3a7640000610fd1565b90506000610cfe670de0b6b3a7640000610ca085610cf88c6001015487610fd190919063ffffffff16565b90610fd1565b90508015610d1357610d108682610f36565b95505b50505b50505b505b8415610d34576001820154610d31908290610f36565b90505b925050505b92915050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8a57600080fd5b505afa158015610d9e573d6000803e3d6000fd5b505050506040513d6020811015610db457600080fd5b5051905080821115610e48576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e1657600080fd5b505af1158015610e2a573d6000803e3d6000fd5b505050506040513d6020811015610e4057600080fd5b50610ab79050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e9e57600080fd5b505af1158015610eb2573d6000803e3d6000fd5b505050506040513d6020811015610ec857600080fd5b5050505050565b3390565b60408051608081018252918252600060208084018281524285850190815260016060870181815297855260038085528686203387529094529490932094518555519284019290925551600283015591519101805460ff1916911515919091179055565b6000828201838110156109b657600080fd5b600082821115610f5757600080fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ab7908490610ff8565b6000808211610fbd57600080fd5b6000828481610fc857fe5b04949350505050565b600082610fe057506000610d39565b82820282848281610fed57fe5b04146109b657600080fd5b606061104d826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110a99092919063ffffffff16565b805190915015610ab75780806020019051602081101561106c57600080fd5b5051610ab75760405162461bcd60e51b815260040180806020018281038252602a815260200180611301602a913960400191505060405180910390fd5b60606110b884846000856110c0565b949350505050565b6060824710156111015760405162461bcd60e51b81526004018080602001828103825260268152602001806113516026913960400191505060405180910390fd5b61110a8561121c565b61115b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061119a5780518252601f19909201916020918201910161117b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146111fc576040519150601f19603f3d011682016040523d82523d6000602084013e611201565b606091505b5091509150611211828286611222565b979650505050505050565b3b151590565b606083156112315750816109b6565b8251156112415782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561128b578181015183820152602001611273565b50505050905090810190601f1680156112b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060a0016040528060006001600160a01b03168152602001600081526020016000815260200160008152602001600015158152509056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220dbddd785c166ffa3f074134a65e0edf31fe07a307a1c57550dad25826078f1f664736f6c634300060c0033000000000000000000000000648236fa53cc984cc6aee01a299fb1981a6d93f0

Deployed Bytecode

0x6080604052600436106100e85760003560e01c80637b6a87771161008a578063a9d48b4311610059578063a9d48b431461033c578063d8de948014610366578063de54d7b814610383578063f2fde38b146103ad576100e8565b80637b6a87771461026b5780638da5cb5b1461029c57806393f1a40b146102b1578063a91b2e9f14610312576100e8565b8063376582f7116100c6578063376582f7146101a15780634ac22193146101df578063715018a6146102265780637b0472f01461023b576100e8565b8063081e3eda146100ed5780631526fe27146101145780632e1a7d4d14610175575b600080fd5b3480156100f957600080fd5b506101026103e0565b60408051918252519081900360200190f35b34801561012057600080fd5b5061013e6004803603602081101561013757600080fd5b50356103e6565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b34801561018157600080fd5b5061019f6004803603602081101561019857600080fd5b5035610431565b005b3480156101ad57600080fd5b5061019f600480360360808110156101c457600080fd5b508035906020810135906040810135906060013515156104f5565b3480156101eb57600080fd5b5061019f6004803603608081101561020257600080fd5b506001600160a01b03813516906020810135906040810135906060013515156105c9565b34801561023257600080fd5b5061019f61074a565b34801561024757600080fd5b5061019f6004803603604081101561025e57600080fd5b50803590602001356107ec565b34801561027757600080fd5b50610280610956565b604080516001600160a01b039092168252519081900360200190f35b3480156102a857600080fd5b50610280610965565b3480156102bd57600080fd5b506102ea600480360360408110156102d457600080fd5b50803590602001356001600160a01b0316610974565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561031e57600080fd5b506101026004803603602081101561033557600080fd5b50356109a8565b34801561034857600080fd5b506101026004803603602081101561035f57600080fd5b50356109bd565b61019f6004803603602081101561037c57600080fd5b50356109da565b34801561038f57600080fd5b50610102600480360360208110156103a657600080fd5b5035610abc565b3480156103b957600080fd5b5061019f600480360360208110156103d057600080fd5b50356001600160a01b0316610b37565b60025490565b600281815481106103f357fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b600061043e826001610c2f565b905060008111610488576040805162461bcd60e51b815260206004820152601060248201526f070726f666974206d75737420677420360841b604482015290519081900360640190fd5b6000828152600360209081526040808320338085529252822042600282015560018101929092556104b99083610d3f565b604080518381529051849133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050565b6104fd610ecf565b6000546001600160a01b0390811691161461054d576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b826002858154811061055b57fe5b906000526020600020906005020160010181905550816002858154811061057e57fe5b90600052602060002090600502016003018190555080600285815481106105a157fe5b60009182526020909120600590910201600401805460ff191691151591909117905550505050565b6105d1610ecf565b6000546001600160a01b03908116911614610621576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b6040805160a0810182526001600160a01b039586168152602081019485526000918101828152606082019485529215156080820190815260028054600181018255935290517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590930292830180546001600160a01b031916919097161790955592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf840155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0830155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad182015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad2909101805460ff1916911515919091179055565b610752610ecf565b6000546001600160a01b039081169116146107a2576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000600283815481106107fb57fe5b60009182526020808320868452600382526040808520338087529084528186206005909502909201805482516323b872dd60e01b8152600481019490945230602485015260448401899052915190965093946001600160a01b0391909116936323b872dd936064808501949193918390030190829087803b15801561087f57600080fd5b505af1158015610893573d6000803e3d6000fd5b505050506040513d60208110156108a957600080fd5b5050600381015460ff166108c6576108c18484610ed3565b610905565b80546108d29084610f36565b815560006108e08582610c2f565b905080156108fd5760018201546108f79082610f36565b60018301555b504260028201555b60028201546109149084610f36565b6002830155604080518481529051859133917f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b69181900360200190a350505050565b6001546001600160a01b031681565b6000546001600160a01b031690565b6003602081815260009384526040808520909152918352912080546001820154600283015492909301549092919060ff1684565b6000806109b6836001610c2f565b9392505050565b600090815260036020908152604080832033845290915290205490565b6000600282815481106109e957fe5b600091825260208083208584526003808352604080862033875290935291909320908101546005909202909201925060ff1615610ab757805415610ab75780546000610a36856001610c2f565b600080855560018501556002850154909150610a529083610f48565b60028501558354610a6d906001600160a01b03163384610f5d565b8015610a7d57610a7d3382610d3f565b604080513481529051869133917fc7084c9d308e39fc30b43733228ed6920bc2af62030251ccccb5fcfe18c0aa819181900360200190a350505b505050565b6000610ac66112c6565b60028381548110610ad357fe5b60009182526020918290206040805160a081018252600590930290910180546001600160a01b0316835260018101549383019390935260028301549082018190526003830154606083015260049092015460ff161515608090910152915050919050565b610b3f610ecf565b6000546001600160a01b03908116911614610b8f576040805162461bcd60e51b81526020600482018190526024820152600080516020611377833981519152604482015290519081900360640190fd5b6001600160a01b038116610bd45760405162461bcd60e51b815260040180806020018281038252602681526020018061132b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060028481548110610c3f57fe5b60009182526020808320878452600382526040808520338652909252908320805460059093029091019350919015610d1b5760028301548015610d195760004290506000610ca6610e10610ca0876002015485610f4890919063ffffffff16565b90610faf565b905060018110610d16578454600090610ccd908590610ca090670de0b6b3a7640000610fd1565b90506000610cfe670de0b6b3a7640000610ca085610cf88c6001015487610fd190919063ffffffff16565b90610fd1565b90508015610d1357610d108682610f36565b95505b50505b50505b505b8415610d34576001820154610d31908290610f36565b90505b925050505b92915050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8a57600080fd5b505afa158015610d9e573d6000803e3d6000fd5b505050506040513d6020811015610db457600080fd5b5051905080821115610e48576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e1657600080fd5b505af1158015610e2a573d6000803e3d6000fd5b505050506040513d6020811015610e4057600080fd5b50610ab79050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610e9e57600080fd5b505af1158015610eb2573d6000803e3d6000fd5b505050506040513d6020811015610ec857600080fd5b5050505050565b3390565b60408051608081018252918252600060208084018281524285850190815260016060870181815297855260038085528686203387529094529490932094518555519284019290925551600283015591519101805460ff1916911515919091179055565b6000828201838110156109b657600080fd5b600082821115610f5757600080fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ab7908490610ff8565b6000808211610fbd57600080fd5b6000828481610fc857fe5b04949350505050565b600082610fe057506000610d39565b82820282848281610fed57fe5b04146109b657600080fd5b606061104d826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110a99092919063ffffffff16565b805190915015610ab75780806020019051602081101561106c57600080fd5b5051610ab75760405162461bcd60e51b815260040180806020018281038252602a815260200180611301602a913960400191505060405180910390fd5b60606110b884846000856110c0565b949350505050565b6060824710156111015760405162461bcd60e51b81526004018080602001828103825260268152602001806113516026913960400191505060405180910390fd5b61110a8561121c565b61115b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061119a5780518252601f19909201916020918201910161117b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146111fc576040519150601f19603f3d011682016040523d82523d6000602084013e611201565b606091505b5091509150611211828286611222565b979650505050505050565b3b151590565b606083156112315750816109b6565b8251156112415782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561128b578181015183820152602001611273565b50505050905090810190601f1680156112b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060a0016040528060006001600160a01b03168152602001600081526020016000815260200160008152602001600015158152509056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220dbddd785c166ffa3f074134a65e0edf31fe07a307a1c57550dad25826078f1f664736f6c634300060c0033

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

000000000000000000000000648236fa53cc984cc6aee01a299fb1981a6d93f0

-----Decoded View---------------
Arg [0] : _zooTokenAddress (address): 0x648236fA53cC984cc6AeE01a299fB1981A6d93F0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000648236fa53cc984cc6aee01a299fb1981a6d93f0


Deployed Bytecode Sourcemap

1820:5965:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2966:93;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2508:26;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2508:26:7;;:::i;:::-;;;;-1:-1:-1;;;;;2508:26:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5631:402;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5631:402:7;;:::i;:::-;;3598:256;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3598:256:7;;;;;;;;;;;;;;;;;;;:::i;3224:368::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3224:368:7;;;;;;;;;;;;;;;;;;;;:::i;1701:145:4:-;;;;;;;;;;;;;:::i;4070:741:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4070:741:7;;;;;;;:::i;2456:19::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2456:19:7;;;;;;;;;;;;;;1078:77:4;;;;;;;;;;;;;:::i;2541:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2541:66:7;;;;;;-1:-1:-1;;;;;2541:66:7;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7021:145;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7021:145:7;;:::i;7336:165::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7336:165:7;;:::i;4817:808::-;;;;;;;;;;;;;;;;-1:-1:-1;4817:808:7;;:::i;7172:158::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7172:158:7;;:::i;1995:240:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1995:240:4;-1:-1:-1;;;;;1995:240:4;;:::i;2966:93:7:-;3037:8;:15;2966:93;:::o;2508:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2508:26:7;;;;-1:-1:-1;2508:26:7;;;;;;;:::o;5631:402::-;5680:20;5703:25;5717:4;5723;5703:13;:25::i;:::-;5680:48;;5761:1;5746:12;:16;5738:44;;;;;-1:-1:-1;;;5738:44:7;;;;;;;;;;;;-1:-1:-1;;;5738:44:7;;;;;;;;;;;;;;;5792:21;5816:14;;;:8;:14;;;;;;;;5831:10;5816:26;;;;;;;5870:15;5852;;;:33;5895:12;;;:16;;;;5921:50;;5958:12;5921:15;:50::i;:::-;5986:40;;;;;;;;6007:4;;5995:10;;5986:40;;;;;;;;;5631:402;;;:::o;3598:256::-;1292:12:4;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:4;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:4;;;;;;;;;;;;;;;3747:14:7::1;3716:8;3725:4;3716:14;;;;;;;;;;;;;;;;;;:28;;:45;;;;3797:9;3771:8;3780:4;3771:14;;;;;;;;;;;;;;;;;;:23;;:35;;;;3840:7;3816:8;3825:4;3816:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:21;;:31:::0;;-1:-1:-1;;3816:31:7::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;;;;3598:256:7:o;3224:368::-;1292:12:4;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:4;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:4;;;;;;;;;;;;;;;3411:173:7::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;3411:173:7;;::::1;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;3411:173:7;;;;;;;;;;;;;::::1;;::::0;;;;;;3397:8:::1;:188:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;3397:188:7::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3397:188:7::1;::::0;::::1;;::::0;;;::::1;::::0;;3224:368::o;1701:145:4:-;1292:12;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:4;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:4;;;;;;;;;;;;;;;1807:1:::1;1791:6:::0;;1770:40:::1;::::0;-1:-1:-1;;;;;1791:6:4;;::::1;::::0;1770:40:::1;::::0;1807:1;;1770:40:::1;1837:1;1820:19:::0;;-1:-1:-1;;;;;;1820:19:4::1;::::0;;1701:145::o;4070:741:7:-;4133:21;4157:8;4166:4;4157:14;;;;;;;;;;;;;;;;4205;;;:8;:14;;;;;;4220:10;4205:26;;;;;;;;;4157:14;;;;;;;4241;;:72;;-1:-1:-1;;;4241:72:7;;;;;;;;;4298:4;4241:72;;;;;;;;;;;;4157:14;;-1:-1:-1;4205:26:7;;-1:-1:-1;;;;;4241:14:7;;;;;:27;;:72;;;;;4157:14;;4241:72;;;;;;;;:14;:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4327:12:7;;;;;;4324:356;;4363:22;4371:4;4377:7;4363;:22::i;:::-;4324:356;;;4433:16;;:29;;4454:7;4433:20;:29::i;:::-;4414:48;;:16;4493:26;4507:4;4414:16;4493:13;:26::i;:::-;4476:43;-1:-1:-1;4538:10:7;;4534:88;;4583:12;;;;:24;;4600:6;4583:16;:24::i;:::-;4568:12;;;:39;4534:88;-1:-1:-1;4654:15:7;4636;;;:33;4324:356;4722:21;;;;:34;;4748:7;4722:25;:34::i;:::-;4698:21;;;:58;4772:32;;;;;;;;4790:4;;4778:10;;4772:32;;;;;;;;;4070:741;;;;:::o;2456:19::-;;;-1:-1:-1;;;;;2456:19:7;;:::o;1078:77:4:-;1116:7;1142:6;-1:-1:-1;;;;;1142:6:4;1078:77;:::o;2541:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7021:145::-;7075:7;7094:14;7111:25;7125:4;7131;7111:13;:25::i;:::-;7094:42;7021:145;-1:-1:-1;;;7021:145:7:o;7336:165::-;7393:7;7435:14;;;:8;:14;;;;;;;;7450:10;7435:26;;;;;;;7478:16;;7336:165::o;4817:808::-;4877:21;4901:8;4910:4;4901:14;;;;;;;;;;;;;;;;4949;;;:8;:14;;;;;;;4964:10;4949:26;;;;;;;;;4990:12;;;;4901:14;;;;;;;;-1:-1:-1;4990:12:7;;4986:633;;;5022:16;;:20;5018:591;;5084:16;;5062:19;5141:25;5155:4;5161;5141:13;:25::i;:::-;5204:1;5185:20;;;5223:12;;;:16;5281:21;;;;5118:48;;-1:-1:-1;5281:38:7;;5307:11;5281:25;:38::i;:::-;5257:21;;;:62;5338:14;;:61;;-1:-1:-1;;;;;5338:14:7;5374:10;5387:11;5338:27;:61::i;:::-;5422:16;;5418:113;;5462:50;5486:10;5499:12;5462:15;:50::i;:::-;5554:40;;;5584:9;5554:40;;;;5578:4;;5566:10;;5554:40;;;;;;;;;5018:591;;;4817:808;;;:::o;7172:158::-;7229:7;7248:20;;:::i;:::-;7271:8;7280:4;7271:14;;;;;;;;;;;;;;;;;7248:37;;;;;;;;7271:14;;;;;;;7248:37;;-1:-1:-1;;;;;7248:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7172:158:7;;;:::o;1995:240:4:-;1292:12;:10;:12::i;:::-;1282:6;;-1:-1:-1;;;;;1282:6:4;;;:22;;;1274:67;;;;;-1:-1:-1;;;1274:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1274:67:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;2083:22:4;::::1;2075:73;;;;-1:-1:-1::0;;;2075:73:4::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2184:6;::::0;;2163:38:::1;::::0;-1:-1:-1;;;;;2163:38:4;;::::1;::::0;2184:6;::::1;::::0;2163:38:::1;::::0;::::1;2211:6;:17:::0;;-1:-1:-1;;;;;;2211:17:4::1;-1:-1:-1::0;;;;;2211:17:4;;;::::1;::::0;;;::::1;::::0;;1995:240::o;6040:975:7:-;6118:7;6137:21;6161:8;6170:4;6161:14;;;;;;;;;;;;;;;;6209;;;:8;:14;;;;;;6224:10;6209:26;;;;;;;;6279:16;;6161:14;;;;;;;;-1:-1:-1;6209:26:7;6161:14;6279:20;6275:624;;6342:21;;;;6381:20;;6377:512;;6421:12;6436:15;6421:30;;6469:12;6484:35;6514:4;6484:25;6493:4;:15;;;6484:4;:8;;:25;;;;:::i;:::-;:29;;:35::i;:::-;6469:50;;6550:1;6542:4;:9;6538:337;;6590:16;;6575:12;;6590:48;;6621:16;;6590:26;;6611:4;6590:20;:26::i;:48::-;6575:63;;6660:20;6683:48;6726:4;6683:38;6716:4;6683:28;6692:4;:18;;;6683:4;:8;;:28;;;;:::i;:::-;:32;;:38::i;:48::-;6660:71;-1:-1:-1;6757:16:7;;6753:104;;6810:24;:6;6821:12;6810:10;:24::i;:::-;6801:33;;6753:104;6538:337;;;6377:512;;;6275:624;;6913:12;6909:76;;;6961:12;;;;6950:24;;:6;;:10;:24::i;:::-;6941:33;;6909:76;7002:6;-1:-1:-1;;;6040:975:7;;;;;:::o;7507:276::-;7602:3;;:28;;;-1:-1:-1;;;7602:28:7;;7624:4;7602:28;;;;;;7581:18;;-1:-1:-1;;;;;7602:3:7;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7602:28:7;;-1:-1:-1;7644:20:7;;;7640:137;;;7680:3;;:29;;;-1:-1:-1;;;7680:29:7;;-1:-1:-1;;;;;7680:29:7;;;;;;;;;;;;;;;:3;;;;;:12;;:29;;;;;;;;;;;;;;:3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7640:137:7;;-1:-1:-1;7640:137:7;;7740:3;;:26;;;-1:-1:-1;;;7740:26:7;;-1:-1:-1;;;;;7740:26:7;;;;;;;;;;;;;;;:3;;;;;:12;;:26;;;;;;;;;;;;;;:3;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7507:276:7;;;:::o;598:104:2:-;685:10;598:104;:::o;3861:203:7:-;3956:101;;;;;;;;;;;-1:-1:-1;3956:101:7;;;;;;;4014:15;3956:101;;;;;;4043:4;3956:101;;;;;;3927:14;;;:8;:14;;;;;;3942:10;3927:26;;;;;;;;;:130;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3927:130:7;;;;;;;;;;3861:203::o;1473:145:6:-;1531:7;1562:5;;;1585:6;;;;1577:15;;;;;1245:145;1303:7;1335:1;1330;:6;;1322:15;;;;;;-1:-1:-1;1359:5:6;;;1245:145::o;685:175:5:-;794:58;;;-1:-1:-1;;;;;794:58:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;794:58:5;-1:-1:-1;;;794:58:5;;;767:86;;787:5;;767:19;:86::i;816:296:6:-;874:7;971:1;967;:5;959:14;;;;;;983:9;999:1;995;:5;;;;;;;816:296;-1:-1:-1;;;;816:296:6:o;265:421::-;323:7;563:6;559:45;;-1:-1:-1;592:1:6;585:8;;559:45;626:5;;;630:1;626;:5;:1;649:5;;;;;:10;641:19;;;;;2903:751:5;3322:23;3348:69;3376:4;3348:69;;;;;;;;;;;;;;;;;3356:5;-1:-1:-1;;;;;3348:27:5;;;:69;;;;;:::i;:::-;3431:17;;3322:95;;-1:-1:-1;3431:21:5;3427:221;;3571:10;3560:30;;;;;;;;;;;;;;;-1:-1:-1;3560:30:5;3552:85;;;;-1:-1:-1;;;3552:85:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3581:193:0;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:0:o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;-1:-1:-1;;;4850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:0;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5022:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:0:o;726:413::-;1086:20;1124:8;;;726:413::o;6111:725::-;6226:12;6254:7;6250:580;;;-1:-1:-1;6284:10:0;6277:17;;6250:580;6395:17;;:21;6391:429;;6653:10;6647:17;6713:15;6700:10;6696:2;6692:19;6685:44;6602:145;6792:12;6785:20;;-1:-1:-1;;;6785:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://dbddd785c166ffa3f074134a65e0edf31fe07a307a1c57550dad25826078f1f6

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
[ Download: CSV Export  ]

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