Contract 0xa24fbfe379ecb914c205be4d9214592f64194059 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfe13cb3ac9353c6681b1b611daa640b0c1608aec45ca5c9c5069020edfbeb94aWithdraw110221882021-09-18 12:50:2111 hrs 36 mins ago0x446e77d66f802a13f9b100177df1d8c112709fed IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00039213
0xdf0d29a78eaf99b854a1a80ab5580f56273a26aa3c5ad11c28f47e79f5d0c69dDeposit110219532021-09-18 12:38:3611 hrs 48 mins ago0x446e77d66f802a13f9b100177df1d8c112709fed IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000307305
0xc705778c50105a2439382b8a6eeea105831bfc2a219c6ef51bd5d2ed21d5bcf9Deposit110207462021-09-18 11:38:0412 hrs 48 mins ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357445
0x0ddb5ec045dfe41ea8bfd9a793e488e20ccbe6fcb7923f966a6cb4d31ce03226Deposit110108442021-09-18 3:21:3621 hrs 5 mins ago0x364002dd2aa948ddc647a18711fd1a05087df200 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357445
0x69787a22f73e45b46a48e90ffa4d8979af9593e2a031d9f3f6fb737733f85521Deposit110005932021-09-17 18:48:491 day 5 hrs ago0xa639a1fbaa31088cf8ccc53056ff8764dfbc36c1 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0xef85d53617c83f0b77ff60f35639bb10e34806115791cfb7062f074cbb742256Withdraw109908522021-09-17 10:41:021 day 13 hrs ago0x20f3c88d39c03262efddaee16768e7a334ff2a3d IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00039213
0x27afcfe8fe15a7be04be95ed25141378e768cda4210c7d28289349c02da69ac4Deposit109907992021-09-17 10:38:231 day 13 hrs ago0x20f3c88d39c03262efddaee16768e7a334ff2a3d IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357385
0xb28af51fae4c3602425a6cb3201eef4098429f5d3fb77b07db8e7547883e7775Deposit109771912021-09-16 23:17:212 days 1 hr ago0xda0f0ccdff2180ece3e790cd705f94c94f53c57f IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0xa66d2b03a7d91fb5a43f6a69d451c71ee5e3e3b010229172d3381b66f816e70aDeposit109726302021-09-16 19:29:172 days 4 hrs ago0x9196520653ab77df919422d027f17790fc4fdf9c IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0x71ca8544cbcb71f9de664ad4a156c8abb63f268057c15806cef54780a2df24faDeposit109606812021-09-16 9:29:312 days 14 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000307305
0x280580f327a8443879d3a35c4fd1c88923a862bbbe4cdb6a0a1b544766b410d6Withdraw109581692021-09-16 7:23:112 days 17 hrs ago0xd2a1335e0d24b991ab2da796226246d4671b8a40 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00039201
0x7fd1b2d72396a81b7a123ade196f1b3751cc42482ab7fdf578b11b97476a9d39Withdraw109525702021-09-16 2:43:052 days 21 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00031713
0x14a045b704660b6ac5a9a1fc01be7e7075b960805666c74b70257a558bfcf360Deposit109468012021-09-15 21:54:383 days 2 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000382305
0x20530a90bbf04b33388de28e0587fe9697a65ab91f40b9fe8dd0956ae1b2f6afWithdraw109448552021-09-15 20:17:203 days 4 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00031713
0xa4efecdcff2eeadfb350d3d3be3ad3a5cc3e3a7b5b689f81b0007fba00b10b72Deposit109373542021-09-15 14:02:163 days 10 hrs ago0x551bdda337a6e84592cfc370f4e363e086a2056f IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357385
0x42a5524d000fc6cc08067e84860f23af9a04ee140425da6b1aeb0ef8ca6af868Deposit109316092021-09-15 9:13:433 days 15 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000307305
0x32cfad28f2917e8ab25fbcc52048621427cf4ed93fe5f9c872e4f6f8c7eb7051Withdraw109225302021-09-15 1:34:413 days 22 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00031713
0xba7d674926b24dd7f108a0cd4cde9185f0c43d3921f97999dbdb6d031a10af53Deposit109180732021-09-14 21:51:294 days 2 hrs ago0xa72eb8f2810ba90d4a82563512505ca786a65655 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357445
0xaccd2b95beeffe20231f1b262fec01abceb7e1b5ca8104bee652f3ced3ac466eDeposit109172462021-09-14 21:10:084 days 3 hrs ago0xb7f63b2ea0fe87a9839aea73c97fcbe3a2b22522 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0x8e9bb7ded8c3af8a580d9732acd72d981707cccba43fe908aea183d5c8395699Withdraw109158812021-09-14 20:01:534 days 4 hrs ago0x86b277ec95575f935939bd6798bdcf5f61c24a13 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.00039207
0xd90936701d690a389bab5bcbf1904797517a78d22182fa90ca07fe42f842cda0Deposit109158442021-09-14 20:00:024 days 4 hrs ago0x86b277ec95575f935939bd6798bdcf5f61c24a13 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0x86b658d12edf6d57f6e2a15fd9861746bd2f33d52a8f9e5af95d0316a064ad74Deposit109122092021-09-14 16:57:544 days 7 hrs ago0x5fe5ed88c28bca6673ff1baf6fa1c3e5b7cccf78 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0xab286f39813bcf587c04c80554435a0de3c617ba2897f6fe1ccdfec3f4c0b9c6Deposit109082212021-09-14 13:36:594 days 10 hrs ago0x551bdda337a6e84592cfc370f4e363e086a2056f IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000357325
0x3eb1e97a6e8635a9dd75e5210c31c75ecc393cc542553ea948aa7fd4a789398fDeposit109081862021-09-14 13:35:144 days 10 hrs ago0x551bdda337a6e84592cfc370f4e363e086a2056f IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000270575
0x68e53d178709db702a035c92da526931bb2402b46ae0137b5cd9076605059414Deposit109051552021-09-14 11:03:164 days 13 hrs ago0x8045ab68c4b8f8a65d240c9065b14884bf47b612 IN  0xa24fbfe379ecb914c205be4d9214592f641940590 BNB0.000345575
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe1a13ca3d36793f2e1c475c814b6b792ac9f93131249664f7bf238e6cb5518b654712532021-03-07 11:55:36195 days 12 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0xe1a13ca3d36793f2e1c475c814b6b792ac9f93131249664f7bf238e6cb5518b654712532021-03-07 11:55:36195 days 12 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0xe1a13ca3d36793f2e1c475c814b6b792ac9f93131249664f7bf238e6cb5518b654712532021-03-07 11:55:36195 days 12 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x05642d5007c28b42451c53417443f460832972ce740cb26baf18e647a198381854694622021-03-07 10:26:03195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x7c89b4a993f29e836786a97370b3e6617aff88d58eff58e8b12700cf5ae6049954689572021-03-07 10:00:48195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x7b45935ad90ee05a376b44bd5fe12c8e7e4525b33aa3ed052ceef3a108a5778d54689412021-03-07 10:00:00195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x7b45935ad90ee05a376b44bd5fe12c8e7e4525b33aa3ed052ceef3a108a5778d54689412021-03-07 10:00:00195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x0aa0d1453718f578a9faf999cd0b12833a13eb25b261e6557696f5e5963eafe154686492021-03-07 9:45:24195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x0aa0d1453718f578a9faf999cd0b12833a13eb25b261e6557696f5e5963eafe154686492021-03-07 9:45:24195 days 14 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x68bc421641df96646295f0a2942bf17a99c2daeb33cb2f22a19f4b031fafccb054680292021-03-07 9:14:24195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x68bc421641df96646295f0a2942bf17a99c2daeb33cb2f22a19f4b031fafccb054680292021-03-07 9:14:24195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x9d65db4c85fdcabe992c030fd3c370171088d7d5f0c3d8a94bce08fdf6713dfe54677172021-03-07 8:58:48195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x9d65db4c85fdcabe992c030fd3c370171088d7d5f0c3d8a94bce08fdf6713dfe54677172021-03-07 8:58:48195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x9169830c859381ab66dad7e2000998530c5eefc40997f1f0d2b1d97ea731a0f354677152021-03-07 8:58:42195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x9169830c859381ab66dad7e2000998530c5eefc40997f1f0d2b1d97ea731a0f354677152021-03-07 8:58:42195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x7865c8a56482c3c875f186dbc468e5234b1ff2b27a93533e8ed6d30cea136c1c54673162021-03-07 8:38:45195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x7865c8a56482c3c875f186dbc468e5234b1ff2b27a93533e8ed6d30cea136c1c54673162021-03-07 8:38:45195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0x7865c8a56482c3c875f186dbc468e5234b1ff2b27a93533e8ed6d30cea136c1c54673162021-03-07 8:38:45195 days 15 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0xf0978a5bdce350f8a50a2ba05b70d8d07170982d496726a95cef137fb146ca8d54668692021-03-07 8:16:24195 days 16 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0xf0978a5bdce350f8a50a2ba05b70d8d07170982d496726a95cef137fb146ca8d54668692021-03-07 8:16:24195 days 16 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0xf0978a5bdce350f8a50a2ba05b70d8d07170982d496726a95cef137fb146ca8d54668692021-03-07 8:16:24195 days 16 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x08e27f1dbef226ed799e53867e2f5a7ab8ef757676422cff3aa065905b1cc0e254668632021-03-07 8:16:06195 days 16 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x5df80804805b2b81ecf15925a6a1936b646aa9164cf700579afbea82f06f150854668132021-03-07 8:13:36195 days 16 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 0x97a6707bea974156c8442e966c3864c88ad6372d0 BNB
0x6fa7824978eba9ec271f00e6f916f8f2908540fb134763b22fc50740c7fddc2654638492021-03-07 5:45:14195 days 18 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
0xf02f2fef827df3f42fd48a75be82301f8eb82af09b71bca2581fe2732791153c54635202021-03-07 5:28:47195 days 18 hrs ago 0xa24fbfe379ecb914c205be4d9214592f64194059 Alpaca: ALPA Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x44f522d26325f6B782944b2382F90fBD01AC4E17

Contract Name:
WoolReward

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2020-12-01
*/

// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

// pragma solidity ^0.6.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);
}


// Dependency file: @openzeppelin/contracts/GSN/Context.sol


// pragma solidity ^0.6.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;
    }
}


// Dependency file: @openzeppelin/contracts/access/Ownable.sol


// pragma solidity ^0.6.0;

// import "@openzeppelin/contracts/GSN/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.
 */
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;
    }
}


// Dependency file: @openzeppelin/contracts/math/SafeMath.sol


// pragma solidity ^0.6.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, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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


// Dependency file: @openzeppelin/contracts/utils/Address.sol


// pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}


// Dependency file: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


// pragma solidity ^0.6.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/math/SafeMath.sol";
// import "@openzeppelin/contracts/utils/Address.sol";

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


// Dependency file: contracts/interfaces/IWoolController.sol


// pragma solidity 0.6.12;

interface IWoolController {
    /**
     * @dev mint and distribute ALPA to caller
     * NOTE: caller must be approved user
     */
    function mint(address _to, uint256 _amount) external;

    /**
     * @dev burn `_amount` from `_from`
     * NOTE: caller must be approved user
     */
    function burn(address _from, uint256 _amount) external;
}


// Root file: contracts/WoolReward/WoolReward.sol


pragma solidity =0.6.12;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/math/SafeMath.sol";
// import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

// import "contracts/interfaces/IWoolController.sol";

// WoolReward
contract WoolReward is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    IERC20 public alpa;

    // Wool controller
    IWoolController public woolController;

    // wool per alpa per block in inverse.
    uint256 public woolPerAlpaPerBlockInverse = 57600;

    // max ALPA token stake-in amount
    uint256 public maxALPAStakeInAMount = 10000e18;

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

    /* ========== STRUCT ========== */

    // Info of each user.
    struct UserInfo {
        // How many ALPA tokens the user has provided.
        uint256 amount;
        // last reward block
        uint256 lastRewardBlock;
    }

    /* ========== CONSTRUCTOR ========== */

    /**
     * Define the ALPA token contract
     */

    constructor(IERC20 _alpa, IWoolController _woolController) public {
        alpa = _alpa;
        woolController = _woolController;
    }

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

    function pendingWool(address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_user];
        uint256 pending = user
            .amount
            .mul(_getMultiplier(user.lastRewardBlock, block.number))
            .div(woolPerAlpaPerBlockInverse);
        return pending;
    }

    function deposit(uint256 _amount) public {
        address sender = _msgSender();

        UserInfo storage user = userInfo[sender];
        require(
            user.amount + _amount <= maxALPAStakeInAMount,
            "WoolReward: max amount exceeded"
        );

        if (user.amount > 0 && block.number > user.lastRewardBlock) {
            uint256 pending = user
                .amount
                .mul(_getMultiplier(user.lastRewardBlock, block.number))
                .div(woolPerAlpaPerBlockInverse);
            if (pending > 0) {
                woolController.mint(sender, pending);
            }
        }

        if (_amount > 0) {
            user.amount = user.amount.add(_amount);
            alpa.safeTransferFrom(address(msg.sender), address(this), _amount);
        }
        user.lastRewardBlock = block.number;
    }

    function withdraw(uint256 _amount) public {
        address sender = _msgSender();

        UserInfo storage user = userInfo[sender];

        if (block.number > user.lastRewardBlock) {
            uint256 pending = user
                .amount
                .mul(_getMultiplier(user.lastRewardBlock, block.number))
                .div(woolPerAlpaPerBlockInverse);

            if (pending > 0) {
                woolController.mint(sender, pending);
            }
        }

        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            _safeAlpaTransfer(sender, _amount);
        }
        user.lastRewardBlock = block.number;
    }

    function emergencyWithdraw() public {
        address sender = _msgSender();

        UserInfo storage user = userInfo[sender];
        require(user.amount > 0, "WoolReward: insufficient balance");

        uint256 amount = user.amount;
        delete userInfo[sender];
        _safeAlpaTransfer(sender, amount);
    }

    /* ========== PRIVATE FUNCTIONS ========== */

    // Return reward multiplier over the given _from to _to block.
    function _getMultiplier(uint256 _from, uint256 _to)
        private
        pure
        returns (uint256)
    {
        return _to.sub(_from);
    }

    // Safe alpa transfer function, just in case if rounding error causes pool to not have enough ALPAs.
    function _safeAlpaTransfer(address _to, uint256 _amount) private {
        uint256 alpaBal = alpa.balanceOf(address(this));
        if (_amount > alpaBal) {
            alpa.transfer(_to, alpaBal);
        } else {
            alpa.transfer(_to, _amount);
        }
    }

    /* ========== OWNER ONLY ========== */
    /**
     * @dev Allow owner to change woolPerAlpaPerBlockInverse
     */
    function setWoolPerAlpaPerBlockInverse(uint256 _value) public onlyOwner {
        woolPerAlpaPerBlockInverse = _value;
    }

    /**
     * @dev Allow owner to change maxALPAStakeInAMount
     */
    function setMaxALPAStakeInAMount(uint256 _value) public onlyOwner {
        maxALPAStakeInAMount = _value;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_alpa","type":"address"},{"internalType":"contract IWoolController","name":"_woolController","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"alpa","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxALPAStakeInAMount","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":"address","name":"_user","type":"address"}],"name":"pendingWool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxALPAStakeInAMount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setWoolPerAlpaPerBlockInverse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"woolController","outputs":[{"internalType":"contract IWoolController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"woolPerAlpaPerBlockInverse","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405261e10060035569021e19e0c9bab240000060045534801561002457600080fd5b5060405161104a38038061104a8339818101604052604081101561004757600080fd5b508051602090910151600061005a6100d5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039384166001600160a01b031991821617909155600280549290931691161790556100d9565b3390565b610f62806100e86000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806391fd054e1161008c578063db2e21bc11610066578063db2e21bc146101fa578063ec0aea5514610202578063f2fde38b14610228578063fd82b32d1461024e576100ea565b806391fd054e146101b8578063b6b55f25146101c0578063c5bdf7df146101dd576100ea565b80632e1a7d4d116100c85780632e1a7d4d1461016757806359d6dd9d14610184578063715018a6146101a85780638da5cb5b146101b0576100ea565b806301772e26146100ef5780631959a0021461010e5780632173ab171461014d575b600080fd5b61010c6004803603602081101561010557600080fd5b5035610256565b005b6101346004803603602081101561012457600080fd5b50356001600160a01b03166102b3565b6040805192835260208301919091528051918290030190f35b6101556102cc565b60408051918252519081900360200190f35b61010c6004803603602081101561017d57600080fd5b50356102d2565b61018c6103cc565b604080516001600160a01b039092168252519081900360200190f35b61010c6103db565b61018c61047d565b61018c61048c565b61010c600480360360208110156101d657600080fd5b503561049b565b61010c600480360360208110156101f357600080fd5b50356105f1565b61010c61064e565b6101556004803603602081101561021857600080fd5b50356001600160a01b03166106f7565b61010c6004803603602081101561023e57600080fd5b50356001600160a01b0316610733565b61015561082b565b61025e610831565b6000546001600160a01b039081169116146102ae576040805162461bcd60e51b81526020600482018190526024820152600080516020610ee3833981519152604482015290519081900360640190fd5b600455565b6005602052600090815260409020805460019091015482565b60045481565b60006102dc610831565b6001600160a01b03811660009081526005602052604090206001810154919250904311156103a357600061032b60035461032561031d856001015443610835565b85549061084a565b906108a3565b905080156103a157600254604080516340c10f1960e01b81526001600160a01b03868116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b15801561038857600080fd5b505af115801561039c573d6000803e3d6000fd5b505050505b505b82156103c15780546103b590846108e5565b81556103c18284610927565b436001909101555050565b6001546001600160a01b031681565b6103e3610831565b6000546001600160a01b03908116911614610433576040805162461bcd60e51b81526020600482018190526024820152600080516020610ee3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6002546001600160a01b031681565b60006104a5610831565b6001600160a01b0381166000908152600560205260409020600454815492935090918401111561051c576040805162461bcd60e51b815260206004820152601f60248201527f576f6f6c5265776172643a206d617820616d6f756e7420657863656564656400604482015290519081900360640190fd5b80541580159061052f5750806001015443115b156105c557600061054d60035461032561031d856001015443610835565b905080156105c357600254604080516340c10f1960e01b81526001600160a01b03868116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b1580156105aa57600080fd5b505af11580156105be573d6000803e3d6000fd5b505050505b505b82156103c15780546105d79084610ab7565b81556001546103c1906001600160a01b0316333086610b11565b6105f9610831565b6000546001600160a01b03908116911614610649576040805162461bcd60e51b81526020600482018190526024820152600080516020610ee3833981519152604482015290519081900360640190fd5b600355565b6000610658610831565b6001600160a01b03811660009081526005602052604090208054919250906106c7576040805162461bcd60e51b815260206004820181905260248201527f576f6f6c5265776172643a20696e73756666696369656e742062616c616e6365604482015290519081900360640190fd5b80546001600160a01b0383166000908152600560205260408120818155600101556106f28382610927565b505050565b6001600160a01b03811660009081526005602052604081206003546001820154839161072b916103259061031d9043610835565b949350505050565b61073b610831565b6000546001600160a01b0390811691161461078b576040805162461bcd60e51b81526020600482018190526024820152600080516020610ee3833981519152604482015290519081900360640190fd5b6001600160a01b0381166107d05760405162461bcd60e51b8152600401808060200182810382526026815260200180610e9c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60035481565b3390565b600061084182846108e5565b90505b92915050565b60008261085957506000610844565b8282028284828161086657fe5b04146108415760405162461bcd60e51b8152600401808060200182810382526021815260200180610ec26021913960400191505060405180910390fd5b600061084183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b71565b600061084183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c13565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561097257600080fd5b505afa158015610986573d6000803e3d6000fd5b505050506040513d602081101561099c57600080fd5b5051905080821115610a30576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156109fe57600080fd5b505af1158015610a12573d6000803e3d6000fd5b505050506040513d6020811015610a2857600080fd5b506106f29050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610a8657600080fd5b505af1158015610a9a573d6000803e3d6000fd5b505050506040513d6020811015610ab057600080fd5b5050505050565b600082820183811015610841576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610b6b908590610c6d565b50505050565b60008183610bfd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bc2578181015183820152602001610baa565b50505050905090810190601f168015610bef5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610c0957fe5b0495945050505050565b60008184841115610c655760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610bc2578181015183820152602001610baa565b505050900390565b6060610cc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d1e9092919063ffffffff16565b8051909150156106f257808060200190516020811015610ce157600080fd5b50516106f25760405162461bcd60e51b815260040180806020018281038252602a815260200180610f03602a913960400191505060405180910390fd5b606061072b84846000856060610d3385610e95565b610d84576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610dc35780518252601f199092019160209182019101610da4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610e25576040519150601f19603f3d011682016040523d82523d6000602084013e610e2a565b606091505b50915091508115610e3e57915061072b9050565b805115610e4e5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610bc2578181015183820152602001610baa565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c62240e547a4fd5d8e74fa80550440ae3607ad67f0dc3a8852949ea05d3c512364736f6c634300060c0033000000000000000000000000ffb4db6ec3f0c30cbd34cc7165711de2e1a0a6dc0000000000000000000000003ccf592f43b373931c82ee3b42160a170b48f298

Deployed ByteCode Sourcemap

22445:4479:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26807:114;;;;;;;;;;;;;;;;-1:-1:-1;26807:114:0;;:::i;:::-;;22944:44;;;;;;;;;;;;;;;;-1:-1:-1;22944:44:0;-1:-1:-1;;;;;22944:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22840:46;;;:::i;:::-;;;;;;;;;;;;;;;;24769:687;;;;;;;;;;;;;;;;-1:-1:-1;24769:687:0;;:::i;22602:18::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22602:18:0;;;;;;;;;;;;;;5649:148;;;:::i;5007:79::-;;;:::i;22653:37::-;;;:::i;23889:872::-;;;;;;;;;;;;;;;;-1:-1:-1;23889:872:0;;:::i;26599:126::-;;;;;;;;;;;;;;;;-1:-1:-1;26599:126:0;;:::i;25464:327::-;;;:::i;23560:321::-;;;;;;;;;;;;;;;;-1:-1:-1;23560:321:0;-1:-1:-1;;;;;23560:321:0;;:::i;5952:244::-;;;;;;;;;;;;;;;;-1:-1:-1;5952:244:0;-1:-1:-1;;;;;5952:244:0;;:::i;22743:49::-;;;:::i;26807:114::-;5229:12;:10;:12::i;:::-;5219:6;;-1:-1:-1;;;;;5219:6:0;;;:22;;;5211:67;;;;;-1:-1:-1;;;5211:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5211:67:0;;;;;;;;;;;;;;;26884:20:::1;:29:::0;26807:114::o;22944:44::-;;;;;;;;;;;;;;;;;;;:::o;22840:46::-;;;;:::o;24769:687::-;24822:14;24839:12;:10;:12::i;:::-;-1:-1:-1;;;;;24888:16:0;;24864:21;24888:16;;;:8;:16;;;;;24936:20;;;;24822:29;;-1:-1:-1;24888:16:0;24921:12;:35;24917:343;;;24973:15;24991:153;25117:26;;24991:103;25043:50;25058:4;:20;;;25080:12;25043:14;:50::i;:::-;24991:29;;;:51;:103::i;:::-;:125;;:153::i;:::-;24973:171;-1:-1:-1;25165:11:0;;25161:88;;25197:14;;:36;;;-1:-1:-1;;;25197:36:0;;-1:-1:-1;;;;;25197:36:0;;;;;;;;;;;;;;;:14;;;;;:19;;:36;;;;;:14;;:36;;;;;;;:14;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25161:88;24917:343;;25276:11;;25272:131;;25318:11;;:24;;25334:7;25318:15;:24::i;:::-;25304:38;;25357:34;25375:6;25383:7;25357:17;:34::i;:::-;25436:12;25413:20;;;;:35;-1:-1:-1;;24769:687:0:o;22602:18::-;;;-1:-1:-1;;;;;22602:18:0;;:::o;5649:148::-;5229:12;:10;:12::i;:::-;5219:6;;-1:-1:-1;;;;;5219:6:0;;;:22;;;5211:67;;;;;-1:-1:-1;;;5211:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5211:67:0;;;;;;;;;;;;;;;5756:1:::1;5740:6:::0;;5719:40:::1;::::0;-1:-1:-1;;;;;5740:6:0;;::::1;::::0;5719:40:::1;::::0;5756:1;;5719:40:::1;5787:1;5770:19:::0;;-1:-1:-1;;;;;;5770:19:0::1;::::0;;5649:148::o;5007:79::-;5045:7;5072:6;-1:-1:-1;;;;;5072:6:0;5007:79;:::o;22653:37::-;;;-1:-1:-1;;;;;22653:37:0;;:::o;23889:872::-;23941:14;23958:12;:10;:12::i;:::-;-1:-1:-1;;;;;24007:16:0;;23983:21;24007:16;;;:8;:16;;;;;24081:20;;24056:11;;23941:29;;-1:-1:-1;24007:16:0;;24056:21;;:45;;24034:126;;;;;-1:-1:-1;;;24034:126:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24177:11;;:15;;;;:54;;;24211:4;:20;;;24196:12;:35;24177:54;24173:360;;;24248:15;24266:153;24392:26;;24266:103;24318:50;24333:4;:20;;;24355:12;24318:14;:50::i;24266:153::-;24248:171;-1:-1:-1;24438:11:0;;24434:88;;24470:14;;:36;;;-1:-1:-1;;;24470:36:0;;-1:-1:-1;;;;;24470:36:0;;;;;;;;;;;;;;;:14;;;;;:19;;:36;;;;;:14;;:36;;;;;;;:14;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24434:88;24173:360;;24549:11;;24545:163;;24591:11;;:24;;24607:7;24591:15;:24::i;:::-;24577:38;;24630:4;;:66;;-1:-1:-1;;;;;24630:4:0;24660:10;24681:4;24688:7;24630:21;:66::i;26599:126::-;5229:12;:10;:12::i;:::-;5219:6;;-1:-1:-1;;;;;5219:6:0;;;:22;;;5211:67;;;;;-1:-1:-1;;;5211:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5211:67:0;;;;;;;;;;;;;;;26682:26:::1;:35:::0;26599:126::o;25464:327::-;25511:14;25528:12;:10;:12::i;:::-;-1:-1:-1;;;;;25577:16:0;;25553:21;25577:16;;;:8;:16;;;;;25612:11;;25511:29;;-1:-1:-1;25577:16:0;25604:60;;;;;-1:-1:-1;;;25604:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25694:11;;-1:-1:-1;;;;;25723:16:0;;25677:14;25723:16;;;:8;:16;;;;;25716:23;;;;;;25750:33;25732:6;25694:11;25750:17;:33::i;:::-;25464:327;;;:::o;23560:321::-;-1:-1:-1;;;;;23663:15:0;;23619:7;23663:15;;;:8;:15;;;;;23821:26;;23766:20;;;;23619:7;;23707:141;;:95;;23751:50;;23788:12;23751:14;:50::i;23707:141::-;23689:159;23560:321;-1:-1:-1;;;;23560:321:0:o;5952:244::-;5229:12;:10;:12::i;:::-;5219:6;;-1:-1:-1;;;;;5219:6:0;;;:22;;;5211:67;;;;;-1:-1:-1;;;5211:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5211:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;6041:22:0;::::1;6033:73;;;;-1:-1:-1::0;;;6033:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6143:6;::::0;;6122:38:::1;::::0;-1:-1:-1;;;;;6122:38:0;;::::1;::::0;6143:6;::::1;::::0;6122:38:::1;::::0;::::1;6171:6;:17:::0;;-1:-1:-1;;;;;;6171:17:0::1;-1:-1:-1::0;;;;;6171:17:0;;;::::1;::::0;;;::::1;::::0;;5952:244::o;22743:49::-;;;;:::o;3491:106::-;3579:10;3491:106;:::o;25920:155::-;26021:7;26053:14;:3;26061:5;26053:7;:14::i;:::-;26046:21;;25920:155;;;;;:::o;8496:471::-;8554:7;8799:6;8795:47;;-1:-1:-1;8829:1:0;8822:8;;8795:47;8866:5;;;8870:1;8866;:5;:1;8890:5;;;;;:10;8882:56;;;;-1:-1:-1;;;8882:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9443:132;9501:7;9528:39;9532:1;9535;9528:39;;;;;;;;;;;;;;;;;:3;:39::i;7606:136::-;7664:7;7691:43;7695:1;7698;7691:43;;;;;;;;;;;;;;;;;:3;:43::i;26189:278::-;26283:4;;:29;;;-1:-1:-1;;;26283:29:0;;26306:4;26283:29;;;;;;26265:15;;-1:-1:-1;;;;;26283:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26283:29:0;;-1:-1:-1;26327:17:0;;;26323:137;;;26361:4;;:27;;;-1:-1:-1;;;26361:27:0;;-1:-1:-1;;;;;26361:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26323:137:0;;-1:-1:-1;26323:137:0;;26421:4;;:27;;;-1:-1:-1;;;26421:27:0;;-1:-1:-1;;;;;26421:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26189:278:0;;;:::o;7142:181::-;7200:7;7232:5;;;7256:6;;;;7248:46;;;;;-1:-1:-1;;;7248:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18695:205;18823:68;;;-1:-1:-1;;;;;18823:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18823:68:0;-1:-1:-1;;;18823:68:0;;;18796:96;;18816:5;;18796:19;:96::i;:::-;18695:205;;;;:::o;10071:278::-;10157:7;10192:12;10185:5;10177:28;;;;-1:-1:-1;;;10177:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10216:9;10232:1;10228;:5;;;;;;;10071:278;-1:-1:-1;;;;;10071:278:0:o;8045:192::-;8131:7;8167:12;8159:6;;;;8151:29;;;;-1:-1:-1;;;8151:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8203:5:0;;;8045:192::o;20815:761::-;21239:23;21265:69;21293:4;21265:69;;;;;;;;;;;;;;;;;21273:5;-1:-1:-1;;;;;21265:27:0;;;:69;;;;;:::i;:::-;21349:17;;21239:95;;-1:-1:-1;21349:21:0;21345:224;;21491:10;21480:30;;;;;;;;;;;;;;;-1:-1:-1;21480:30:0;21472:85;;;;-1:-1:-1;;;21472:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15306:196;15409:12;15441:53;15464:6;15472:4;15478:1;15481:12;16813;16846:18;16857:6;16846:10;:18::i;:::-;16838:60;;;;;-1:-1:-1;;;16838:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16972:12;16986:23;17013:6;-1:-1:-1;;;;;17013:11:0;17033:8;17044:4;17013:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17013:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16971:78;;;;17064:7;17060:595;;;17095:10;-1:-1:-1;17088:17:0;;-1:-1:-1;17088:17:0;17060:595;17209:17;;:21;17205:439;;17472:10;17466:17;17533:15;17520:10;17516:2;17512:19;17505:44;17420:148;17608:20;;-1:-1:-1;;;17608:20:0;;;;;;;;;;;;;;;;;17615:12;;17608:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12385:422;12752:20;12791:8;;;12385:422::o

Swarm Source

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