Contract 0x563719a32ac21fcc047e1f13fce88c8931419737

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfd320445fb1d146825d5521aaa7cce103519af3660fb3f420bbf89a18cc88029Withdraw551524962023-01-24 14:33:3014 days 17 hrs ago0x9ff5da5db6362a57ea1360aacdf27a22881a433f IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00004926
0xcbf756ee2843556876430a3f33bb25bbc9b0f8dba45be46d3bf2d392a17a51c5Withdraw547825452023-01-22 19:59:2816 days 11 hrs ago0x15e635e0504c7cfa64bf05223aa80b5bdb8b34c7 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003971
0x8df5fb53191d64b85aab860469fe83d143c3b8aa1bcda36e1b5c464df1d21cb9Withdraw546385202023-01-22 3:48:1817 days 4 hrs ago0x260221922e8a4ea537346f5b4b47fadc3dad5ef4 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00004331
0x010fc877434b29e7cd18297316360124066a4ec30927de592a36785682c15355Withdraw542835672023-01-20 12:44:0518 days 19 hrs ago0x53d63286426a8051a707d5b7d17e28aaad10a411 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003692
0xa089ee621ffc608f36589e6733eaa922b201b30d46fcf77a4fbfb08c30697ab0Withdraw542100382023-01-20 2:57:4219 days 4 hrs ago0x771d1a7d23d30f9030bc607a559ce3e7496d8422 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003734
0x79e3a80ce511b0e9f47cd52af0b5de170b00231d9cc2f4faffda67e7638d0764Withdraw541888482023-01-19 23:31:5319 days 8 hrs ago0x106c8953c0f94cc090b7ff7dcba3742da50f2ad0 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.0000539
0x1dd68a878a44a371232ce3a3bd92314e921337e79b4fd98e9496dda39e8a1e75Withdraw541473312023-01-19 18:20:3619 days 13 hrs ago0xc95433447ed4964683400462ca0c6bc15240f7cf IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00007781
0x5beb936aea2ec1fedbcfe3a66498080fe2ebef52b1a02a3452834d47247116d3Withdraw541324992023-01-19 16:34:0419 days 15 hrs ago0x0ea685012648b832fdeeb531036f819ba908682a IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00006581
0x95875221137c953da7f94b818c6c986996021afd275821c6231f3e910002e045Withdraw541266242023-01-19 15:52:4019 days 15 hrs ago0x53a8bf04b0b952c62b3b969753212340d3a98e7b IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00005306
0x04b19735596a9041140ed278f72a6a696882c7aed420acd399b42d4edb98972dWithdraw540858812023-01-19 11:49:2219 days 20 hrs ago0x5e8ae444f84bed0249c307db42f28639927ea220 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.0000346
0x3dccf379b6f48b7470d755f1521e4c3a3020a2fcadc8c37668fd6e8bc0843742Withdraw540819772023-01-19 11:23:1319 days 20 hrs ago0xc8a44e444e7dac7744bf2fa35256f7300e9c04fb IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.0000347
0x16c418b44a91f52cf242ba39dc41dff1e0ead974c0242537835236cc016eeeb5Withdraw540744112023-01-19 10:34:1219 days 21 hrs ago0xfd96f75963fbaff02341e3cff43f48c1f3b13343 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00033849
0x9ffe53a1c2b42f3072fd1d55b4dc63750dc33aaf493d7de83960ecd05730e585Withdraw540690432023-01-19 9:59:4719 days 21 hrs ago0x187900dfa38f3a9c6a22a8dbe4d5b29006a3d457 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003443
0xf91f455c5e520729ece2419d9d207377d19cb656d8db87201d08eaa9c9f9e39bWithdraw540558642023-01-19 8:33:0019 days 23 hrs ago0x708de74ddea9c6052cf8b258a21b62a8274b1cce IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003663
0x6cf8f248b22abe4effb8dbd1246e006c22220042940f42f0e30e3962c152ea7bWithdraw540545202023-01-19 8:22:5019 days 23 hrs ago0xae69116e4aa49645f78c1fc9f28f677aede0d153 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003433
0xf95d64588d6d50b4b6d87f0e53fba1d9253d6b34ce5b55f93f45aa7ff29be1b0Withdraw540544372023-01-19 8:22:1919 days 23 hrs ago0xae69116e4aa49645f78c1fc9f28f677aede0d153 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003604
0xa868fb0cc41c910c509d38382735f951d6194d1c980c03b9c1e6148a8a2be9bcWithdraw540542722023-01-19 8:21:0619 days 23 hrs ago0xae69116e4aa49645f78c1fc9f28f677aede0d153 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00003336
0xcaf305f566e0e8d9881eeefd4ce0175b58132c669d0bceec2b192c14a2926083Withdraw540198882023-01-19 3:55:5620 days 3 hrs ago0xd4501b4eb8b1de35ce76f6f0ae328cba738b9332 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00004433
0xbec3e8163221220e21dfab1841945a86c404b838d6a70973ebaef87259554f7bWithdraw540065802023-01-19 2:04:0320 days 5 hrs ago0x67ff7ec57608464e6852bef8361d7a31608a4218 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00005101
0x16f9985aebf35ed4e085dfab885fe39e9abe0bae21d6046a2cad3561b38ddd35Withdraw540037772023-01-19 1:41:3420 days 6 hrs ago0x5b049c3bef543a181a720dcc6febc9afdab5d377 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00586769
0xde2f3b8ea6a04832d978bd1fb46efe6088b5ebbff57043d151cc50782a6ea2e2Withdraw540029852023-01-19 1:33:0420 days 6 hrs ago0xddbc6b68a1eccab73dd3f232ae85a73d7fa35b76 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00005514
0xd6947999f299646dcb16d2ca803f27e0c3b50829193555b16295c16012146aabWithdraw540019882023-01-19 1:22:0420 days 6 hrs ago0x9bc93a74b6747b805b21f2d9164518dcdb7df505 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00005346
0x79586b4bed314a0aea0f3605722fde3decc1a7d5a66240729d1122259dce0b18Withdraw539987942023-01-19 0:51:2020 days 6 hrs ago0x8fd05381267eef20d82536e93848e8a7801aacf8 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00004786
0xf718b12d1e0fbb340614c0d980f3983ac24fc83a373859cd885dc4050ce2bb54Withdraw539987462023-01-19 0:50:5420 days 7 hrs ago0x8fd05381267eef20d82536e93848e8a7801aacf8 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00004869
0xbc99f121f28f63d6728e81870a59d20d4d821d7bd1a9afc08cd3885ac4d27b7eWithdraw539976402023-01-19 0:40:2320 days 7 hrs ago0xc4234f42869c92c65bad9456ce6525c4a1607033 IN  0x563719a32ac21fcc047e1f13fce88c89314197370 ETH0.00005086
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xfd320445fb1d146825d5521aaa7cce103519af3660fb3f420bbf89a18cc88029551524962023-01-24 14:33:3014 days 17 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x8bc2cd9dab840231a0dab5b747b8a6085c4ea4590 ETH
0xfd320445fb1d146825d5521aaa7cce103519af3660fb3f420bbf89a18cc88029551524962023-01-24 14:33:3014 days 17 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xfd320445fb1d146825d5521aaa7cce103519af3660fb3f420bbf89a18cc88029551524962023-01-24 14:33:3014 days 17 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xfd320445fb1d146825d5521aaa7cce103519af3660fb3f420bbf89a18cc88029551524962023-01-24 14:33:3014 days 17 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x8bc2cd9dab840231a0dab5b747b8a6085c4ea4590 ETH
0xcbf756ee2843556876430a3f33bb25bbc9b0f8dba45be46d3bf2d392a17a51c5547825452023-01-22 19:59:2816 days 11 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0xcbf756ee2843556876430a3f33bb25bbc9b0f8dba45be46d3bf2d392a17a51c5547825452023-01-22 19:59:2816 days 11 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xcbf756ee2843556876430a3f33bb25bbc9b0f8dba45be46d3bf2d392a17a51c5547825452023-01-22 19:59:2816 days 11 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xcbf756ee2843556876430a3f33bb25bbc9b0f8dba45be46d3bf2d392a17a51c5547825452023-01-22 19:59:2816 days 11 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0x8df5fb53191d64b85aab860469fe83d143c3b8aa1bcda36e1b5c464df1d21cb9546385202023-01-22 3:48:1817 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x106ae154e4c24b6e11e70cfee7e075b14a1822440 ETH
0x8df5fb53191d64b85aab860469fe83d143c3b8aa1bcda36e1b5c464df1d21cb9546385202023-01-22 3:48:1817 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x8df5fb53191d64b85aab860469fe83d143c3b8aa1bcda36e1b5c464df1d21cb9546385202023-01-22 3:48:1817 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x8df5fb53191d64b85aab860469fe83d143c3b8aa1bcda36e1b5c464df1d21cb9546385202023-01-22 3:48:1817 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x106ae154e4c24b6e11e70cfee7e075b14a1822440 ETH
0x010fc877434b29e7cd18297316360124066a4ec30927de592a36785682c15355542835672023-01-20 12:44:0518 days 19 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0x010fc877434b29e7cd18297316360124066a4ec30927de592a36785682c15355542835672023-01-20 12:44:0518 days 19 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x010fc877434b29e7cd18297316360124066a4ec30927de592a36785682c15355542835672023-01-20 12:44:0518 days 19 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x010fc877434b29e7cd18297316360124066a4ec30927de592a36785682c15355542835672023-01-20 12:44:0518 days 19 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0xa089ee621ffc608f36589e6733eaa922b201b30d46fcf77a4fbfb08c30697ab0542100382023-01-20 2:57:4219 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x106ae154e4c24b6e11e70cfee7e075b14a1822440 ETH
0xa089ee621ffc608f36589e6733eaa922b201b30d46fcf77a4fbfb08c30697ab0542100382023-01-20 2:57:4219 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xa089ee621ffc608f36589e6733eaa922b201b30d46fcf77a4fbfb08c30697ab0542100382023-01-20 2:57:4219 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0xa089ee621ffc608f36589e6733eaa922b201b30d46fcf77a4fbfb08c30697ab0542100382023-01-20 2:57:4219 days 4 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x106ae154e4c24b6e11e70cfee7e075b14a1822440 ETH
0x79e3a80ce511b0e9f47cd52af0b5de170b00231d9cc2f4faffda67e7638d0764541888482023-01-19 23:31:5319 days 8 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0x79e3a80ce511b0e9f47cd52af0b5de170b00231d9cc2f4faffda67e7638d0764541888482023-01-19 23:31:5319 days 8 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x79e3a80ce511b0e9f47cd52af0b5de170b00231d9cc2f4faffda67e7638d0764541888482023-01-19 23:31:5319 days 8 hrs ago 0x563719a32ac21fcc047e1f13fce88c8931419737 0x9e24060c6eb2bd74b8902650de3285d22ff3c1060 ETH
0x79e3a80ce511b0e9f47cd52af0b5de170b00231d9cc2f4faffda67e7638d0764541888482023-01-19 23:31:5319 days 8 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x75a0a644ea1dcc8167069f824d3ca4dcf0849ece0 ETH
0x1dd68a878a44a371232ce3a3bd92314e921337e79b4fd98e9496dda39e8a1e75541473312023-01-19 18:20:3619 days 13 hrs ago 0x563719a32ac21fcc047e1f13fce88c89314197370x8bc2cd9dab840231a0dab5b747b8a6085c4ea4590 ETH
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
AFishGenesisRewardPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan on 2023-01-10
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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


// File @openzeppelin/contracts/math/[email protected]



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]



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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(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 @openzeppelin/contracts/token/ERC20/[email protected]



pragma solidity >=0.6.0 <0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. 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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File contracts/distribution/AFishGenesisRewardPool.sol



pragma solidity 0.6.12;



// Note that this pool has no minter key of AFISH (rewards).
// Instead, the governance will call AFISH distributeReward method and send reward to this pool at the beginning.
contract AFishGenesisRewardPool {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // governance
    address public operator;
    address public feeWallet;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 token; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. AFISH to distribute.
        uint256 lastRewardTime; // Last time that AFISH distribution occurs.
        uint256 accAFishPerShare; // Accumulated AFISH per share, times 1e18. See below.
        bool isStarted; // if lastRewardBlock has passed
        uint256 depositFee;
    }

    IERC20 public afish;

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

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    // The time when AFISH mining starts.
    uint256 public poolStartTime;

    // The time when AFISH mining ends.
    uint256 public poolEndTime;

    bool public initialized = false;

    uint256 public afishPerSecond;
    uint256 public runningTime = 2 days;
    uint256 public totalRewards;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event RewardPaid(address indexed user, uint256 amount);

    constructor() public {
        operator = msg.sender;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "Genesis: caller is not the operator");
        _;
    }

    modifier notInitialized() {
        require(!initialized, "Genesis: already initialized");
        _;
    }

    function initialize(address _afish, address _feeWallet, uint256 _poolStartTime, uint256 _totalRewards) public notInitialized {
        require(_afish != address(0), "Genesis: not valid afish address");
        require(_feeWallet != address(0), "Genesis: not valid fee wallet address");
        require(_poolStartTime > block.timestamp, "Genesis: start time in the past");
        require(_totalRewards > 0, "Genesis: no zero");

        afish = IERC20(_afish);
        feeWallet = _feeWallet;
        poolStartTime = _poolStartTime;
        poolEndTime = poolStartTime + runningTime;
        totalRewards = _totalRewards;

        afishPerSecond = totalRewards / runningTime;

        initialized = true;
    }

    function setFeeWallet( address _feeWallet) external onlyOperator{
        feeWallet = _feeWallet;
    }

    function checkPoolDuplicate(IERC20 _token) internal view {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            require(poolInfo[pid].token != _token, "Genesis: existing pool?");
        }
    }

    // Add a new token to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IERC20 _token,
        bool _withUpdate,
        uint256 _lastRewardTime,
        uint256 _depositFee
    ) public onlyOperator {
        checkPoolDuplicate(_token);
        if (_withUpdate) {
            massUpdatePools();
        }
        if (block.timestamp < poolStartTime) {
            // chef is sleeping
            if (_lastRewardTime == 0) {
                _lastRewardTime = poolStartTime;
            } else {
                if (_lastRewardTime < poolStartTime) {
                    _lastRewardTime = poolStartTime;
                }
            }
        } else {
            // chef is cooking
            if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) {
                _lastRewardTime = block.timestamp;
            }
        }
        bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp);
        poolInfo.push(PoolInfo({token: _token, allocPoint: _allocPoint, lastRewardTime: _lastRewardTime, accAFishPerShare: 0, isStarted: _isStarted, depositFee: _depositFee}));
        if (_isStarted) {
            totalAllocPoint = totalAllocPoint.add(_allocPoint);
        }
    }

    // Update the given pool's AFISH allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint256 _depositFee) public onlyOperator {
        massUpdatePools();
        PoolInfo storage pool = poolInfo[_pid];
        if (pool.isStarted) {
            totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint);
        }
        pool.allocPoint = _allocPoint;
        pool.depositFee = _depositFee;
    }

    // Return accumulate rewards over the given _from to _to block.
    function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) {
        if (_fromTime >= _toTime) return 0;
        if (_toTime >= poolEndTime) {
            if (_fromTime >= poolEndTime) return 0;
            if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(afishPerSecond);
            return poolEndTime.sub(_fromTime).mul(afishPerSecond);
        } else {
            if (_toTime <= poolStartTime) return 0;
            if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(afishPerSecond);
            return _toTime.sub(_fromTime).mul(afishPerSecond);
        }
    }

    // View function to see pending AFISH on frontend.
    function pendingAFISH(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accAFishPerShare = pool.accAFishPerShare;
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _afishReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            accAFishPerShare = accAFishPerShare.add(_afishReward.mul(1e18).div(tokenSupply));
        }
        return user.amount.mul(accAFishPerShare).div(1e18).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (tokenSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        if (!pool.isStarted) {
            pool.isStarted = true;
            totalAllocPoint = totalAllocPoint.add(pool.allocPoint);
        }
        if (totalAllocPoint > 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _afishReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            pool.accAFishPerShare = pool.accAFishPerShare.add(_afishReward.mul(1e18).div(tokenSupply));
        }
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit LP tokens.
    function deposit(uint256 _pid, uint256 _amount) public {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 _pending = user.amount.mul(pool.accAFishPerShare).div(1e18).sub(user.rewardDebt);
            if (_pending > 0) {
                safeAFishTransfer(_sender, _pending);
                emit RewardPaid(_sender, _pending);
            }
        }
        if (_amount > 0) {
            uint256 fee = _amount.mul(pool.depositFee).div(1000);
            _amount = _amount.sub(fee);
            pool.token.safeTransferFrom(_sender, feeWallet, fee);
            user.amount = user.amount.add(_amount);

            pool.token.safeTransferFrom(_sender, address(this), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accAFishPerShare).div(1e18);
        emit Deposit(_sender, _pid, _amount);
    }

    // Withdraw LP tokens.
    function withdraw(uint256 _pid, uint256 _amount) public {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 _pending = user.amount.mul(pool.accAFishPerShare).div(1e18).sub(user.rewardDebt);
        if (_pending > 0) {
            safeAFishTransfer(_sender, _pending);
            emit RewardPaid(_sender, _pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.token.safeTransfer(_sender, _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accAFishPerShare).div(1e18);
        emit Withdraw(_sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 _amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.token.safeTransfer(msg.sender, _amount);
        emit EmergencyWithdraw(msg.sender, _pid, _amount);
    }

    // Safe AFISH transfer function, just in case a rounding error causes pool to not have enough AFISHs.
    function safeAFishTransfer(address _to, uint256 _amount) internal {
        uint256 _afishBalance = afish.balanceOf(address(this));
        if (_afishBalance > 0) {
            if (_amount > _afishBalance) {
                afish.safeTransfer(_to, _afishBalance);
            } else {
                afish.safeTransfer(_to, _amount);
            }
        }
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 amount,
        address to
    ) external onlyOperator {
        if (block.timestamp < poolEndTime + 90 days) {
            // do not allow to drain core token (AFISH or lps) if less than 90 days after pool ends
            require(_token != afish, "afish");
            uint256 length = poolInfo.length;
            for (uint256 pid = 0; pid < length; ++pid) {
                PoolInfo storage pool = poolInfo[pid];
                require(_token != pool.token, "pool.token");
            }
        }
        _token.safeTransfer(to, amount);
    }
}

Contract ABI

[{"inputs":[],"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":"Deposit","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":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","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":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"afish","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"afishPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_afish","type":"address"},{"internalType":"address","name":"_feeWallet","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"},{"internalType":"uint256","name":"_totalRewards","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingAFISH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accAFishPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"},{"internalType":"uint256","name":"depositFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006005556008805460ff191690556202a300600a5534801561002657600080fd5b50600080546001600160a01b03191633179055611b63806100486000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063570ca735116100de57806393f1a40b11610097578063b3ab15fb11610071578063b3ab15fb1461041e578063e2bbb15814610444578063eb990c5914610467578063f25f4b56146104a357610173565b806393f1a40b146103c9578063943f013d1461040e5780639b3acf5e1461041657610173565b8063570ca735146103275780635f96dc111461034b57806362e006c714610353578063630b5ba1146103935780636e271dd51461039b57806390d49b9d146103a357610173565b80634007875911610130578063400787591461023d57806343b0e8df14610269578063441a3e701461029457806351eb05a6146102b75780635312ea8e146102d457806354575af4146102f157610173565b80630e15561a146101785780631526fe2714610192578063158ef93e146101ee57806317caf6f11461020a578063231f0c6a1461021257806334decb8914610235575b600080fd5b6101806104ab565b60408051918252519081900360200190f35b6101af600480360360208110156101a857600080fd5b50356104b1565b604080516001600160a01b03909716875260208701959095528585019390935260608501919091521515608084015260a0830152519081900360c00190f35b6101f6610504565b604080519115158252519081900360200190f35b61018061050d565b6101806004803603604081101561022857600080fd5b5080359060200135610513565b6101806105d8565b6101806004803603604081101561025357600080fd5b50803590602001356001600160a01b03166105de565b6102926004803603606081101561027f57600080fd5b508035906020810135906040013561074b565b005b610292600480360360408110156102aa57600080fd5b5080359060200135610803565b610292600480360360208110156102cd57600080fd5b50356109b4565b610292600480360360208110156102ea57600080fd5b5035610b12565b6102926004803603606081101561030757600080fd5b506001600160a01b03813581169160208101359160409091013516610bae565b61032f610cf5565b604080516001600160a01b039092168252519081900360200190f35b610180610d04565b610292600480360360a081101561036957600080fd5b508035906001600160a01b0360208201351690604081013515159060608101359060800135610d0a565b610292610f37565b610180610f5a565b610292600480360360208110156103b957600080fd5b50356001600160a01b0316610f60565b6103f5600480360360408110156103df57600080fd5b50803590602001356001600160a01b0316610fcb565b6040805192835260208301919091528051918290030190f35b610180610fef565b61032f610ff5565b6102926004803603602081101561043457600080fd5b50356001600160a01b0316611004565b6102926004803603604081101561045a57600080fd5b508035906020013561106f565b6102926004803603608081101561047d57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561122c565b61032f611422565b600b5481565b600381815481106104be57fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909260ff9091169086565b60085460ff1681565b60055481565b6000818310610524575060006105d2565b600754821061058c57600754831061053e575060006105d2565b60065483116105715761056a60095461056460065460075461143190919063ffffffff16565b9061148e565b90506105d2565b61056a6009546105648560075461143190919063ffffffff16565b600654821161059d575060006105d2565b60065483116105c15761056a6009546105646006548561143190919063ffffffff16565b60095461056a906105648486611431565b92915050565b60095481565b600080600384815481106105ee57fe5b60009182526020808320878452600480835260408086206001600160a01b038a811688529085528187206006969096029093016003810154815483516370a0823160e01b81523095810195909552925191985095969491909316926370a08231926024808201939291829003018186803b15801561066b57600080fd5b505afa15801561067f573d6000803e3d6000fd5b505050506040513d602081101561069557600080fd5b50516002850154909150421180156106ac57508015155b1561070f5760006106c1856002015442610513565b905060006106e86005546106e288600101548561148e90919063ffffffff16565b906114ee565b905061070a610703846106e284670de0b6b3a764000061148e565b8590611555565b935050505b610740836001015461073a670de0b6b3a76400006106e286886000015461148e90919063ffffffff16565b90611431565b979650505050505050565b6000546001600160a01b031633146107945760405162461bcd60e51b8152600401808060200182810382526023815260200180611a756023913960400191505060405180910390fd5b61079c610f37565b6000600384815481106107ab57fe5b60009182526020909120600690910201600481015490915060ff16156107f2576107ee836107e8836001015460055461143190919063ffffffff16565b90611555565b6005555b600181019290925560059091015550565b600033905060006003848154811061081757fe5b600091825260208083208784526004825260408085206001600160a01b03881686529092529220805460069092029092019250841115610893576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61089c856109b4565b60006108cd826001015461073a670de0b6b3a76400006106e28760030154876000015461148e90919063ffffffff16565b9050801561091f576108df84826115af565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b84156109495781546109319086611431565b82558254610949906001600160a01b03168587611665565b6003830154825461096791670de0b6b3a7640000916106e29161148e565b600183015560408051868152905187916001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b6000600382815481106109c357fe5b90600052602060002090600602019050806002015442116109e45750610b0f565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a2e57600080fd5b505afa158015610a42573d6000803e3d6000fd5b505050506040513d6020811015610a5857600080fd5b5051905080610a6e575042600290910155610b0f565b600482015460ff16610a9f5760048201805460ff19166001908117909155820154600554610a9b91611555565b6005555b60055415610b06576000610ab7836002015442610513565b90506000610ad86005546106e286600101548561148e90919063ffffffff16565b9050610afe610af3846106e284670de0b6b3a764000061148e565b600386015490611555565b600385015550505b50426002909101555b50565b600060038281548110610b2157fe5b600091825260208083208584526004825260408085203380875293528420805485825560018201959095556006909302018054909450919291610b71916001600160a01b03919091169083611665565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6000546001600160a01b03163314610bf75760405162461bcd60e51b8152600401808060200182810382526023815260200180611a756023913960400191505060405180910390fd5b6007546276a70001421015610cdc576002546001600160a01b0384811691161415610c51576040805162461bcd60e51b81526020600482015260056024820152640c2ccd2e6d60db1b604482015290519081900360640190fd5b60035460005b81811015610cd957600060038281548110610c6e57fe5b6000918252602090912060069091020180549091506001600160a01b0387811691161415610cd0576040805162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b604482015290519081900360640190fd5b50600101610c57565b50505b610cf06001600160a01b0384168284611665565b505050565b6000546001600160a01b031681565b60065481565b6000546001600160a01b03163314610d535760405162461bcd60e51b8152600401808060200182810382526023815260200180611a756023913960400191505060405180910390fd5b610d5c846116b7565b8215610d6a57610d6a610f37565b600654421015610d985781610d83576006549150610d93565b600654821015610d935760065491505b610dad565b811580610da457504282105b15610dad574291505b600060065483111580610dc05750428311155b6040805160c0810182526001600160a01b038881168252602082018a8152928201878152600060608401818152861580156080870190815260a087018b815260038054600181018255955296517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600690950294850180546001600160a01b031916919097161790955595517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c83015591517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f8201805460ff191691151591909117905590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f86090910155909150610f2f57600554610f2b9087611555565b6005555b505050505050565b60035460005b81811015610f5657610f4e816109b4565b600101610f3d565b5050565b60075481565b6000546001600160a01b03163314610fa95760405162461bcd60e51b8152600401808060200182810382526023815260200180611a756023913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60046020908152600092835260408084209091529082529020805460019091015482565b600a5481565b6002546001600160a01b031681565b6000546001600160a01b0316331461104d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611a756023913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b600033905060006003848154811061108357fe5b600091825260208083208784526004825260408085206001600160a01b03881686529092529220600690910290910191506110bd856109b4565b8054156111495760006110f5826001015461073a670de0b6b3a76400006106e28760030154876000015461148e90919063ffffffff16565b905080156111475761110784826115af565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b83156111c257600061116e6103e86106e285600501548861148e90919063ffffffff16565b905061117a8582611431565b600154845491965061119b916001600160a01b039081169187911684611751565b81546111a79086611555565b825582546111c0906001600160a01b0316853088611751565b505b600382015481546111e091670de0b6b3a7640000916106e29161148e565b600182015560408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b60085460ff1615611284576040805162461bcd60e51b815260206004820152601c60248201527f47656e657369733a20616c726561647920696e697469616c697a656400000000604482015290519081900360640190fd5b6001600160a01b0384166112df576040805162461bcd60e51b815260206004820181905260248201527f47656e657369733a206e6f742076616c69642061666973682061646472657373604482015290519081900360640190fd5b6001600160a01b0383166113245760405162461bcd60e51b8152600401808060200182810382526025815260200180611adf6025913960400191505060405180910390fd5b428211611378576040805162461bcd60e51b815260206004820152601f60248201527f47656e657369733a2073746172742074696d6520696e20746865207061737400604482015290519081900360640190fd5b600081116113c0576040805162461bcd60e51b815260206004820152601060248201526f47656e657369733a206e6f207a65726f60801b604482015290519081900360640190fd5b600280546001600160a01b038087166001600160a01b03199283161790925560018054928616929091169190911790556006829055600a54808301600755600b829055818161140b57fe5b0460095550506008805460ff191660011790555050565b6001546001600160a01b031681565b600082821115611488576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261149d575060006105d2565b828202828482816114aa57fe5b04146114e75760405162461bcd60e51b8152600401808060200182810382526021815260200180611abe6021913960400191505060405180910390fd5b9392505050565b6000808211611544576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161154d57fe5b049392505050565b6000828201838110156114e7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156115fa57600080fd5b505afa15801561160e573d6000803e3d6000fd5b505050506040513d602081101561162457600080fd5b505190508015610cf057808211156116525760025461164d906001600160a01b03168483611665565b610cf0565b600254610cf0906001600160a01b031684845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cf09084906117b1565b60035460005b81811015610cf057826001600160a01b0316600382815481106116dc57fe5b60009182526020909120600690910201546001600160a01b03161415611749576040805162461bcd60e51b815260206004820152601760248201527f47656e657369733a206578697374696e6720706f6f6c3f000000000000000000604482015290519081900360640190fd5b6001016116bd565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117ab9085906117b1565b50505050565b6060611806826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118629092919063ffffffff16565b805190915015610cf05780806020019051602081101561182557600080fd5b5051610cf05760405162461bcd60e51b815260040180806020018281038252602a815260200180611b04602a913960400191505060405180910390fd5b60606118718484600085611879565b949350505050565b6060824710156118ba5760405162461bcd60e51b8152600401808060200182810382526026815260200180611a986026913960400191505060405180910390fd5b6118c3856119ca565b611914576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119535780518252601f199092019160209182019101611934565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146119b5576040519150601f19603f3d011682016040523d82523d6000602084013e6119ba565b606091505b50915091506107408282866119d0565b3b151590565b606083156119df5750816114e7565b8251156119ef5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a39578181015183820152602001611a21565b50505050905090810190601f168015611a665780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe47656e657369733a2063616c6c6572206973206e6f7420746865206f70657261746f72416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7747656e657369733a206e6f742076616c6964206665652077616c6c657420616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220cfdedfc9483dbe06e8e3fa04e8946f9be4f4f17fc4d5a4af62d45b925d6598dc64736f6c634300060c0033

Deployed ByteCode Sourcemap

22316:11440:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23789:27;;;:::i;:::-;;;;;;;;;;;;;;;;23227:26;;;;;;;;;;;;;;;;-1:-1:-1;23227:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;23227:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23671:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;23472:34;;;:::i;27418:657::-;;;;;;;;;;;;;;;;-1:-1:-1;27418:657:0;;;;;;;:::i;23711:29::-;;;:::i;28139:779::-;;;;;;;;;;;;;;;;-1:-1:-1;28139:779:0;;;;;;-1:-1:-1;;;;;28139:779:0;;:::i;26959:382::-;;;;;;;;;;;;;;;;-1:-1:-1;26959:382:0;;;;;;;;;;;;:::i;:::-;;31246:813;;;;;;;;;;;;;;;;-1:-1:-1;31246:813:0;;;;;;;:::i;29257:912::-;;;;;;;;;;;;;;;;-1:-1:-1;29257:912:0;;:::i;32130:377::-;;;;;;;;;;;;;;;;-1:-1:-1;32130:377:0;;:::i;33112:641::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33112:641:0;;;;;;;;;;;;;;;;;:::i;22442:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22442:23:0;;;;;;;;;;;;;;23558:28;;;:::i;25633:1229::-;;;;;;;;;;;;;;;;-1:-1:-1;25633:1229:0;;;-1:-1:-1;;;;;25633:1229:0;;;;;;;;;;;;;;;;;;;;;;:::i;29001:180::-;;;:::i;23636:26::-;;;:::i;25189:105::-;;;;;;;;;;;;;;;;-1:-1:-1;25189:105:0;-1:-1:-1;;;;;25189:105:0;;:::i;23311:64::-;;;;;;;;;;;;;;;;-1:-1:-1;23311:64:0;;;;;;-1:-1:-1;;;;;23311:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23747:35;;;:::i;23172:19::-;;;:::i;33003:101::-;;;;;;;;;;;;;;;;-1:-1:-1;33003:101:0;-1:-1:-1;;;;;33003:101:0;;:::i;30204:1006::-;;;;;;;;;;;;;;;;-1:-1:-1;30204:1006:0;;;;;;;:::i;24456:725::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24456:725:0;;;;;;;;;;;;;;;;;;;;;;:::i;22472:24::-;;;:::i;23789:27::-;;;;:::o;23227:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23227:26:0;;;;-1:-1:-1;23227:26:0;;;;;;;;;;:::o;23671:31::-;;;;;;:::o;23472:34::-;;;;:::o;27418:657::-;27503:7;27540;27527:9;:20;27523:34;;-1:-1:-1;27556:1:0;27549:8;;27523:34;27583:11;;27572:7;:22;27568:500;;27628:11;;27615:9;:24;27611:38;;-1:-1:-1;27648:1:0;27641:8;;27611:38;27681:13;;27668:9;:26;27664:89;;27703:50;27738:14;;27703:30;27719:13;;27703:11;;:15;;:30;;;;:::i;:::-;:34;;:50::i;:::-;27696:57;;;;27664:89;27775:46;27806:14;;27775:26;27791:9;27775:11;;:15;;:26;;;;:::i;27568:500::-;27869:13;;27858:7;:24;27854:38;;-1:-1:-1;27891:1:0;27884:8;;27854:38;27924:13;;27911:9;:26;27907:85;;27946:46;27977:14;;27946:26;27958:13;;27946:7;:11;;:26;;;;:::i;27907:85::-;28041:14;;28014:42;;:22;:7;28026:9;28014:11;:22::i;27568:500::-;27418:657;;;;:::o;23711:29::-;;;;:::o;28139:779::-;28213:7;28233:21;28257:8;28266:4;28257:14;;;;;;;;;;;;;;;;28306;;;:8;:14;;;;;;;-1:-1:-1;;;;;28306:21:0;;;;;;;;;;;28257:14;;;;;;;;28365:21;;;;28419:10;;:35;;-1:-1:-1;;;28419:35:0;;28448:4;28419:35;;;;;;;;;28257:14;;-1:-1:-1;28306:21:0;;28257:14;28419:10;;;;;:20;;:35;;;;;28257:14;28419:35;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28419:35:0;28487:19;;;;28419:35;;-1:-1:-1;28469:15:0;:37;:57;;;;-1:-1:-1;28510:16:0;;;28469:57;28465:364;;;28543:24;28570:56;28589:4;:19;;;28610:15;28570:18;:56::i;:::-;28543:83;;28641:20;28664:58;28706:15;;28664:37;28685:4;:15;;;28664:16;:20;;:37;;;;:::i;:::-;:41;;:58::i;:::-;28641:81;-1:-1:-1;28756:61:0;28777:39;28804:11;28777:22;28641:81;28794:4;28777:16;:22::i;:39::-;28756:16;;:20;:61::i;:::-;28737:80;;28465:364;;;28846:64;28894:4;:15;;;28846:43;28884:4;28846:33;28862:16;28846:4;:11;;;:15;;:33;;;;:::i;:43::-;:47;;:64::i;:::-;28839:71;28139:779;-1:-1:-1;;;;;;;28139:779:0:o;26959:382::-;24248:8;;-1:-1:-1;;;;;24248:8:0;24260:10;24248:22;24240:70;;;;-1:-1:-1;;;24240:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27059:17:::1;:15;:17::i;:::-;27087:21;27111:8;27120:4;27111:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;27140;::::0;::::1;::::0;27111;;-1:-1:-1;27140:14:0::1;;27136:118;;;27189:53;27230:11;27189:36;27209:4;:15;;;27189;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;27171:15;:71:::0;27136:118:::1;27264:15;::::0;::::1;:29:::0;;;;27304:15:::1;::::0;;::::1;:29:::0;-1:-1:-1;26959:382:0:o;31246:813::-;31313:15;31331:10;31313:28;;31352:21;31376:8;31385:4;31376:14;;;;;;;;;;;;;;;;31425;;;:8;:14;;;;;;-1:-1:-1;;;;;31425:23:0;;;;;;;;;31467:11;;31376:14;;;;;;;;-1:-1:-1;31467:22:0;-1:-1:-1;31467:22:0;31459:53;;;;;-1:-1:-1;;;31459:53:0;;;;;;;;;;;;-1:-1:-1;;;31459:53:0;;;;;;;;;;;;;;;31523:16;31534:4;31523:10;:16::i;:::-;31550;31569:69;31622:4;:15;;;31569:48;31612:4;31569:38;31585:4;:21;;;31569:4;:11;;;:15;;:38;;;;:::i;:69::-;31550:88;-1:-1:-1;31653:12:0;;31649:130;;31682:36;31700:7;31709:8;31682:17;:36::i;:::-;31738:29;;;;;;;;-1:-1:-1;;;;;31738:29:0;;;;;;;;;;;;;31649:130;31793:11;;31789:138;;31835:11;;:24;;31851:7;31835:15;:24::i;:::-;31821:38;;31874:10;;:41;;-1:-1:-1;;;;;31874:10:0;31898:7;31907;31874:23;:41::i;:::-;31971:21;;;;31955:11;;:48;;31998:4;;31955:38;;:15;:38::i;:48::-;31937:15;;;:66;32019:32;;;;;;;;32037:4;;-1:-1:-1;;;;;32019:32:0;;;;;;;;;;;;31246:813;;;;;;:::o;29257:912::-;29309:21;29333:8;29342:4;29333:14;;;;;;;;;;;;;;;;;;29309:38;;29381:4;:19;;;29362:15;:38;29358:77;;29417:7;;;29358:77;29467:10;;:35;;;-1:-1:-1;;;29467:35:0;;29496:4;29467:35;;;;;;29445:19;;-1:-1:-1;;;;;29467:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29467:35:0;;-1:-1:-1;29517:16:0;29513:107;;-1:-1:-1;29572:15:0;29550:19;;;;:37;29602:7;;29513:107;29635:14;;;;;;29630:138;;29666:14;;;:21;;-1:-1:-1;;29666:21:0;29683:4;29666:21;;;;;;29740:15;;;29720;;:36;;:19;:36::i;:::-;29702:15;:54;29630:138;29782:15;;:19;29778:336;;29818:24;29845:56;29864:4;:19;;;29885:15;29845:18;:56::i;:::-;29818:83;;29916:20;29939:58;29981:15;;29939:37;29960:4;:15;;;29939:16;:20;;:37;;;;:::i;:58::-;29916:81;-1:-1:-1;30036:66:0;30062:39;30089:11;30062:22;29916:81;30079:4;30062:16;:22::i;:39::-;30036:21;;;;;:25;:66::i;:::-;30012:21;;;:90;-1:-1:-1;;29778:336:0;-1:-1:-1;30146:15:0;30124:19;;;;:37;29257:912;;:::o;32130:377::-;32189:21;32213:8;32222:4;32213:14;;;;;;;;;;;;;;;;32262;;;:8;:14;;;;;;32277:10;32262:26;;;;;;;32317:11;;32339:15;;;-1:-1:-1;32365:15:0;;:19;;;;32213:14;;;;;32395:10;;32213:14;;-1:-1:-1;32262:26:0;;32317:11;32395:44;;-1:-1:-1;;;;;32395:10:0;;;;;32317:11;32395:23;:44::i;:::-;32455;;;;;;;;32485:4;;32473:10;;32455:44;;;;;;;;;32130:377;;;;:::o;33112:641::-;24248:8;;-1:-1:-1;;;;;24248:8:0;24260:10;24248:22;24240:70;;;;-1:-1:-1;;;24240:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33282:11:::1;;33296:7;33282:21;33264:15;:39;33260:444;;;33439:5;::::0;-1:-1:-1;;;;;33429:15:0;;::::1;33439:5:::0;::::1;33429:15;;33421:33;;;::::0;;-1:-1:-1;;;33421:33:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33421:33:0;;;;;;;;;;;;;::::1;;33486:8;:15:::0;33469:14:::1;33516:177;33544:6;33538:3;:12;33516:177;;;33578:21;33602:8;33611:3;33602:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;33652:10:::0;;33602:13;;-1:-1:-1;;;;;;33642:20:0;;::::1;33652:10:::0;::::1;33642:20;;33634:43;;;::::0;;-1:-1:-1;;;33634:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33634:43:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;33552:5:0::1;;33516:177;;;;33260:444;;33714:31;-1:-1:-1::0;;;;;33714:19:0;::::1;33734:2:::0;33738:6;33714:19:::1;:31::i;:::-;33112:641:::0;;;:::o;22442:23::-;;;-1:-1:-1;;;;;22442:23:0;;:::o;23558:28::-;;;;:::o;25633:1229::-;24248:8;;-1:-1:-1;;;;;24248:8:0;24260:10;24248:22;24240:70;;;;-1:-1:-1;;;24240:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25829:26:::1;25848:6;25829:18;:26::i;:::-;25870:11;25866:61;;;25898:17;:15;:17::i;:::-;25959:13;;25941:15;:31;25937:534;;;26026:20:::0;26022:243:::1;;26085:13;;26067:31;;26022:243;;;26161:13;;26143:15;:31;26139:111;;;26217:13;;26199:31;;26139:111;25937:534;;;26333:20:::0;;;:57:::1;;;26375:15;26357;:33;26333:57;26329:131;;;26429:15;26411:33;;26329:131;26481:15;26519:13;;26500:15;:32;;26499:74;;;;26557:15;26538;:34;;26499:74;26598:152;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26598:152:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;26598:152:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;26584:8:::1;:167:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;26584:167:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26584:167:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;;;;;;;26598:152;;-1:-1:-1;26762:93:0::1;;26811:15;::::0;:32:::1;::::0;26831:11;26811:19:::1;:32::i;:::-;26793:15;:50:::0;26762:93:::1;24321:1;25633:1229:::0;;;;;:::o;29001:180::-;29063:8;:15;29046:14;29089:85;29117:6;29111:3;:12;29089:85;;;29147:15;29158:3;29147:10;:15::i;:::-;29125:5;;29089:85;;;;29001:180;:::o;23636:26::-;;;;:::o;25189:105::-;24248:8;;-1:-1:-1;;;;;24248:8:0;24260:10;24248:22;24240:70;;;;-1:-1:-1;;;24240:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25264:9:::1;:22:::0;;-1:-1:-1;;;;;;25264:22:0::1;-1:-1:-1::0;;;;;25264:22:0;;;::::1;::::0;;;::::1;::::0;;25189:105::o;23311:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23747:35::-;;;;:::o;23172:19::-;;;-1:-1:-1;;;;;23172:19:0;;:::o;33003:101::-;24248:8;;-1:-1:-1;;;;;24248:8:0;24260:10;24248:22;24240:70;;;;-1:-1:-1;;;24240:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33076:8:::1;:20:::0;;-1:-1:-1;;;;;;33076:20:0::1;-1:-1:-1::0;;;;;33076:20:0;;;::::1;::::0;;;::::1;::::0;;33003:101::o;30204:1006::-;30270:15;30288:10;30270:28;;30309:21;30333:8;30342:4;30333:14;;;;;;;;;;;;;;;;30382;;;:8;:14;;;;;;-1:-1:-1;;;;;30382:23:0;;;;;;;;;30333:14;;;;;;;;-1:-1:-1;30416:16:0;30391:4;30416:10;:16::i;:::-;30447:11;;:15;30443:292;;30479:16;30498:69;30551:4;:15;;;30498:48;30541:4;30498:38;30514:4;:21;;;30498:4;:11;;;:15;;:38;;;;:::i;:69::-;30479:88;-1:-1:-1;30586:12:0;;30582:142;;30619:36;30637:7;30646:8;30619:17;:36::i;:::-;30679:29;;;;;;;;-1:-1:-1;;;;;30679:29:0;;;;;;;;;;;;;30582:142;30443:292;;30749:11;;30745:334;;30777:11;30791:38;30824:4;30791:28;30803:4;:15;;;30791:7;:11;;:28;;;;:::i;:38::-;30777:52;-1:-1:-1;30854:16:0;:7;30777:52;30854:11;:16::i;:::-;30922:9;;30885:10;;30844:26;;-1:-1:-1;30885:52:0;;-1:-1:-1;;;;;30885:10:0;;;;30913:7;;30922:9;30933:3;30885:27;:52::i;:::-;30966:11;;:24;;30982:7;30966:15;:24::i;:::-;30952:38;;31007:10;;:60;;-1:-1:-1;;;;;31007:10:0;31035:7;31052:4;31059:7;31007:27;:60::i;:::-;30745:334;;31123:21;;;;31107:11;;:48;;31150:4;;31107:38;;:15;:38::i;:48::-;31089:15;;;:66;31171:31;;;;;;;;31188:4;;-1:-1:-1;;;;;31171:31:0;;;;;;;;;;;;30204:1006;;;;;:::o;24456:725::-;24384:11;;;;24383:12;24375:53;;;;;-1:-1:-1;;;24375:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24600:20:0;::::1;24592:65;;;::::0;;-1:-1:-1;;;24592:65:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;24676:24:0;::::1;24668:74;;;;-1:-1:-1::0;;;24668:74:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24778:15;24761:14;:32;24753:76;;;::::0;;-1:-1:-1;;;24753:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;24864:1;24848:13;:17;24840:46;;;::::0;;-1:-1:-1;;;24840:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24840:46:0;;;;;;;;;;;;;::::1;;24899:5;:22:::0;;-1:-1:-1;;;;;24899:22:0;;::::1;-1:-1:-1::0;;;;;;24899:22:0;;::::1;;::::0;;;;24932;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;24965:13:::1;:30:::0;;;25036:11:::1;::::0;25020:27;;::::1;25006:11;:41:::0;25058:12:::1;:28:::0;;;25073:13;25036:11;25116:26:::1;;;;;25099:14;:43:::0;-1:-1:-1;;25155:11:0::1;:18:::0;;-1:-1:-1;;25155:18:0::1;25169:4;25155:18;::::0;;-1:-1:-1;;24456:725:0:o;22472:24::-;;;-1:-1:-1;;;;;22472:24:0;;:::o;6050:158::-;6108:7;6141:1;6136;:6;;6128:49;;;;;-1:-1:-1;;;6128:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6195:5:0;;;6050:158::o;6467:220::-;6525:7;6549:6;6545:20;;-1:-1:-1;6564:1:0;6557:8;;6545:20;6588:5;;;6592:1;6588;:5;:1;6612:5;;;;;:10;6604:56;;;;-1:-1:-1;;;6604:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6678:1;6467:220;-1:-1:-1;;;6467:220:0:o;7165:153::-;7223:7;7255:1;7251;:5;7243:44;;;;;-1:-1:-1;;;7243:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7309:1;7305;:5;;;;;;;7165:153;-1:-1:-1;;;7165:153:0:o;5588:179::-;5646:7;5678:5;;;5702:6;;;;5694:46;;;;;-1:-1:-1;;;5694:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;32622:373;32723:5;;:30;;;-1:-1:-1;;;32723:30:0;;32747:4;32723:30;;;;;;32699:21;;-1:-1:-1;;;;;32723:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32723:30:0;;-1:-1:-1;32768:17:0;;32764:224;;32816:13;32806:7;:23;32802:175;;;32850:5;;:38;;-1:-1:-1;;;;;32850:5:0;32869:3;32874:13;32850:18;:38::i;:::-;32802:175;;;32929:5;;:32;;-1:-1:-1;;;;;32929:5:0;32948:3;32953:7;18968:177;19078:58;;;-1:-1:-1;;;;;19078:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19078:58:0;-1:-1:-1;;;19078:58:0;;;19051:86;;19071:5;;19051:19;:86::i;25302:253::-;25387:8;:15;25370:14;25413:135;25441:6;25435:3;:12;25413:135;;;25502:6;-1:-1:-1;;;;;25479:29:0;:8;25488:3;25479:13;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;25479:19:0;:29;;25471:65;;;;;-1:-1:-1;;;25471:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25449:5;;25413:135;;19153:205;19281:68;;;-1:-1:-1;;;;;19281:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19281:68:0;-1:-1:-1;;;19281:68:0;;;19254:96;;19274:5;;19254:19;:96::i;:::-;19153:205;;;;:::o;21273:761::-;21697:23;21723:69;21751:4;21723:69;;;;;;;;;;;;;;;;;21731:5;-1:-1:-1;;;;;21723:27:0;;;:69;;;;;:::i;:::-;21807:17;;21697:95;;-1:-1:-1;21807:21:0;21803:224;;21949:10;21938:30;;;;;;;;;;;;;;;-1:-1:-1;21938:30:0;21930:85;;;;-1:-1:-1;;;21930:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13955:195;14058:12;14090:52;14112:6;14120:4;14126:1;14129:12;14090:21;:52::i;:::-;14083:59;13955:195;-1:-1:-1;;;;13955:195:0:o;15007:530::-;15134:12;15192:5;15167:21;:30;;15159:81;;;;-1:-1:-1;;;15159:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15259:18;15270:6;15259:10;:18::i;:::-;15251:60;;;;;-1:-1:-1;;;15251:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15385:12;15399:23;15426:6;-1:-1:-1;;;;;15426:11:0;15446:5;15454:4;15426:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15426:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15384:75;;;;15477:52;15495:7;15504:10;15516:12;15477:17;:52::i;11037:422::-;11404:20;11443:8;;;11037:422::o;17547:742::-;17662:12;17691:7;17687:595;;;-1:-1:-1;17722:10:0;17715:17;;17687:595;17836:17;;:21;17832:439;;18099:10;18093:17;18160:15;18147:10;18143:2;18139:19;18132:44;18047:148;18242:12;18235:20;;-1:-1:-1;;;18235:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Metadata Hash

cfdedfc9483dbe06e8e3fa04e8946f9be4f4f17fc4d5a4af62d45b925d6598dc
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.