Contract 0xB9bBe9355828A1aD0e2d605480f969c6903Ad9e4

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb7035d6af580ab7714a0a32d785b95fd46f9741755d70c8d1bfe026c0d4726cdApprove582168442023-03-23 17:11:524 hrs 3 mins ago0x992624f65851fbc9bc613cad94f132ee34a7a1e4 IN  WigoSwap: xWIGO Token0 FTM0.002953065952
0xf19335dcd497f8a526c668c16dde6b16a12b33fb30ad8911897787e53da27947Approve579702682023-03-20 8:02:473 days 13 hrs ago0xe0c2b758d41501c50e67a8664ebbfe2c55f947ac IN  WigoSwap: xWIGO Token0 FTM0.002444609232
0x5dea5b6a44eb3ad1cb00e0e18efabaf0b2874837bfeb93fa040dcc4c3425d620Approve579702462023-03-20 8:02:253 days 13 hrs ago0xe0c2b758d41501c50e67a8664ebbfe2c55f947ac IN  WigoSwap: xWIGO Token0 FTM0.001170960693
0x363b6e1b13149570c4016013e42f3acab4389c426ba7510c0899ec37d2f99ed7Approve579700562023-03-20 7:58:003 days 13 hrs ago0xe0c2b758d41501c50e67a8664ebbfe2c55f947ac IN  WigoSwap: xWIGO Token0 FTM0.001409011415
0xa68e7b1f8b9f02d07ce36cab1978e66e605d39a2de66decb361c39a1f4d9c8e8Approve579427822023-03-19 22:01:193 days 23 hrs ago0xe0c2b758d41501c50e67a8664ebbfe2c55f947ac IN  WigoSwap: xWIGO Token0 FTM0.002754153534
0xc176f3da2947620361dca11b69036e5c5538802e0a27412a90915683af1466f6Approve578704552023-03-18 19:38:175 days 1 hr ago0x21f07c0826454badcf1641b6ed1e774f8dc63477 IN  WigoSwap: xWIGO Token0 FTM0.005651584509
0x1d98818c5ec034aff3205e3645e2975501a411dba1b71fd7aeb335b9007190e4Approve578585322023-03-18 15:44:305 days 5 hrs ago0xa7363f65d27777a78f3551d4a444a465ec3be146 IN  WigoSwap: xWIGO Token0 FTM0.011879317528
0xfa96cdee0229613e649218d09b21df5be77c302a20a8a0e7b0da0cd9237a3bf2Approve575321602023-03-13 20:33:2710 days 41 mins ago0x21f07c0826454badcf1641b6ed1e774f8dc63477 IN  WigoSwap: xWIGO Token0 FTM0.003040551482
0x4c3c3f0ec553b287e0c4c39daae52409d6c1b2695a04394f125ac88f6604e557Approve575320942023-03-13 20:31:5110 days 43 mins ago0x21f07c0826454badcf1641b6ed1e774f8dc63477 IN  WigoSwap: xWIGO Token0 FTM0.005394658445
0x003f00358a773909dad2d3863619e661dbd5410d8f6151043fea29acc10f3f7cApprove574682752023-03-12 21:27:2910 days 23 hrs ago0x70b7451264385e1638eb9681be4e1c9f44bad671 IN  WigoSwap: xWIGO Token0 FTM0.005405580095
0xf6e900a2a347550accbb14c377f589f94d8fb6d52eccbe90fdd0258e3cb7252cApprove574597392023-03-12 18:36:0711 days 2 hrs ago0xffea576ad0d83859fb58b2b99303691bf58e385b IN  WigoSwap: xWIGO Token0 FTM0.002056596596
0x577cc4dacc26ce128347759db6e35751d4efd6d6f64bfe421809055c8495593eApprove573835482023-03-11 10:53:0612 days 10 hrs ago0xda8eb632c50d92de3bef55c21a2c1feecb10eb83 IN  WigoSwap: xWIGO Token0 FTM0.1666027423
0x85d362d4e7d81fdc519c551d4bac99b0c24b93aa084f91edff5afbba5abff101Approve573451612023-03-10 22:26:0912 days 22 hrs ago0x46400dd2b00a336e2ad1291a45bc944cec3e6c6f IN  WigoSwap: xWIGO Token0 FTM0.006305191996
0x0d6557a52ae86a5d237d7158d7571b5c3b3d905f1f4a59be31274503f791a839Approve573249702023-03-10 15:30:1913 days 5 hrs ago0x5e7ec131fb274a796f81e0da00ef6e4848920ba5 IN  WigoSwap: xWIGO Token0 FTM0.008517560595
0x3b018f3366e8f2e121bec788ad5137dfc0f76792997bba98cd5ef456cd4a214fApprove573040512023-03-10 8:37:0813 days 12 hrs ago0xdae211a1189fdb7e557db307ed8ea4b645f3b2b2 IN  WigoSwap: xWIGO Token0 FTM0.003059885738
0xa109bd956c6fe9252aa8864b39cbfafa323ea549aa5092419a470f47611d7989Approve572886772023-03-10 3:04:5513 days 18 hrs ago0x8576d54912ddcd656a0a225eaff5264b528dcdf5 IN  WigoSwap: xWIGO Token0 FTM0.008541340077
0x56ed7da00ed850242a207c5a145697b1d7aaa8197e16798d1d22d47ab8f9a23eApprove572606072023-03-09 17:15:1514 days 4 hrs ago0x68ee4b79850f6b172e07115badfd07f90bfcdae7 IN  WigoSwap: xWIGO Token0 FTM0.002152119269
0x156c1893257b51d1e813749a0d592c4623ee5f50e3f469a4e9f807bbcbb9f463Approve571714462023-03-08 8:02:5215 days 13 hrs ago0xffea576ad0d83859fb58b2b99303691bf58e385b IN  WigoSwap: xWIGO Token0 FTM0.001581366574
0xb30389896f4657c81142c6e4d59b04b7d07405a995658f7ae72b85447496e9edApprove571412132023-03-07 20:01:2816 days 1 hr ago0x7cc9c6a241688a90845b712fcd328ace4b0508c6 IN  WigoSwap: xWIGO Token0 FTM0.003128121409
0x6506ba69b50a2c3b959d942e8214e908ccb6f27b558ff536adc0240eb8e935b7Transfer571389822023-03-07 19:16:3716 days 1 hr ago0xdb861061aaa60528b84f24ca44a883e958a6e194 IN  WigoSwap: xWIGO Token0 FTM0.003672726734
0xfe3bc97eb39a2f604c0ac86d6c320dcfc6d59d49b601e6813be057ebe3b1f3e1Approve570823492023-03-06 20:11:3617 days 1 hr ago0xdb861061aaa60528b84f24ca44a883e958a6e194 IN  WigoSwap: xWIGO Token0 FTM0.001274697662
0x397f6ac2b0f96253132cc2e8f7a60f46d6165d17375dfb29cafd80ee8724049eTransfer570822932023-03-06 20:10:2817 days 1 hr ago0xd9f9e43e5aca5b2e6b27145c6cf0a04eaf6a3649 IN  WigoSwap: xWIGO Token0 FTM0.001341146459
0xae4e2fc1c6c94fbb5f87f63bc0fa15bf44f2b95e959e2c976a102f574155dae2Approve569993782023-03-05 12:51:2318 days 8 hrs ago0xc9a266ea3dba436ef2b2b2a836ffe5bd1e272260 IN  WigoSwap: xWIGO Token0 FTM0.002473123873
0x1e9fec4682245509fc42926569c331754e02bec11e8da12b9490a6bdc60ac5e5Approve569993632023-03-05 12:50:3818 days 8 hrs ago0xc9a266ea3dba436ef2b2b2a836ffe5bd1e272260 IN  WigoSwap: xWIGO Token0 FTM0.003753107608
0xe6afe66a7f1f907d731b00d18b4cd896f7451ad8745361daec27f6b2b7c99efcApprove569508942023-03-04 20:13:0319 days 1 hr ago0x8ff70479adad2124316e8688ff5b4b8f0a3d0f31 IN  WigoSwap: xWIGO Token0 FTM0.002051146758
[ Download CSV Export 

OVERVIEW

WigoSwap is a DeFi platform that utilizes the Fantom network to offer an Automated Market Maker (AMM) alongside yield farming and NFT marketplace.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x7e19a9074b1f9abcb1f6ba5dd0a01ea3aef42fcc1808b9794d0599007fc79d99289122802022-01-24 12:53:53423 days 8 hrs ago WigoSwap: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WigoBank

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at FtmScan.com on 2022-01-24
*/

// File contracts/OpenZeppelin/GSN/Context.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File contracts/OpenZeppelin/access/Ownable.sol

pragma solidity >=0.4.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File contracts/OpenZeppelin/token/ERC20/IERC20.sol

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File contracts/OpenZeppelin/math/SafeMath.sol

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

// File contracts/OpenZeppelin/utils/Address.sol

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File contracts/OpenZeppelin/token/ERC20/ERC20.sol

pragma solidity >=0.4.0;

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public view override returns (uint8) {
        return _decimals;
    }

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

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

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

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

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

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

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

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

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

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

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

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

// File contracts/WigoToken.sol

pragma solidity 0.6.12;

// WigoToken
contract WigoToken is ERC20("WigoSwap Token", "WIGO") {
    uint256 private constant MAX_SUPPLY = 2000000000e18;
    uint256 public _totalMinted = 0;
    uint256 public _totalBurned = 0;
    address public treasuryAddr;

    event Mint(address indexed sender, address indexed to, uint256 amount);
    event Burn(address indexed sender, address indexed from, uint256 amount);

    constructor(address _treasuryAddr) public {
        treasuryAddr = _treasuryAddr;

        // Mints 160,000,000 WIGO (8%) for Airdrop, IDO and Seed Funders.
        _mint(treasuryAddr, 160000000e18);
        _totalMinted = _totalMinted.add(160000000e18);
        emit Mint(msg.sender, treasuryAddr, 160000000e18);
    }

    function maxSupply() public pure returns (uint256) {
        return MAX_SUPPLY;
    }

    function totalMinted() public view returns (uint256) {
        return _totalMinted;
    }

    function totalBurned() public view returns (uint256) {
        return _totalBurned;
    }

    /// @notice Must only be called by the owner (MasterFarmer).
    function mint(address _to, uint256 _amount) public onlyOwner {
        require(
            totalSupply().add(_amount) <= MAX_SUPPLY,
            "ERC20: minting more than maxSupply"
        );
        _mint(_to, _amount);
        _totalMinted = _totalMinted.add(_amount);
        emit Mint(msg.sender, _to, _amount);
    }

    /// @notice Burns only from treasury address. Must only be called by MasterFarmer.
    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _totalBurned = _totalBurned.add(_amount);
        emit Burn(msg.sender, _from, _amount);
    }
}

// File contracts/WigoBank.sol

pragma solidity 0.6.12;

// WigoBank
contract WigoBank is ERC20("WigoBank Token", "xWIGO") {
    // The WIGO TOKEN!
    WigoToken public wigo;

    event Mint(address indexed sender, address indexed to, uint256 amount);
    event Burn(address indexed sender, address indexed from, uint256 amount);

    constructor(WigoToken _wigo) public {
        wigo = _wigo;
    }

    /// @notice Must only be called by the owner (MasterFarmer).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        emit Mint(msg.sender, _to, _amount);
    }

    /// @notice Must only be called by the owner (MasterFarmer).
    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        emit Burn(msg.sender, _from, _amount);
    }

    // Safe wigo transfer function, just in case if rounding error causes pool to not have enough WIGOs.
    function safeWigoTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 wigoBal = wigo.balanceOf(address(this));
        if (_amount > wigoBal) {
            wigo.transfer(_to, wigoBal);
        } else {
            wigo.transfer(_to, _amount);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract WigoToken","name":"_wigo","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"safeWigoTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wigo","outputs":[{"internalType":"contract WigoToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620019f3380380620019f3833981810160405260208110156200003757600080fd5b5051604080518082018252600e81526d2bb4b3b7a130b735902a37b5b2b760911b60208281019190915282518084019093526005835264785749474f60d81b908301529060006200008762000136565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000e69060049060208501906200013a565b508051620000fc9060059060208401906200013a565b5050600680546001600160a01b0390931661010002610100600160a81b031960ff19909416601217939093169290921790915550620001d6565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017d57805160ff1916838001178555620001ad565b82800160010185558215620001ad579182015b82811115620001ad57825182559160200191906001019062000190565b50620001bb929150620001bf565b5090565b5b80821115620001bb5760008155600101620001c0565b61180d80620001e66000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806370a08231116100cd5780639dc29fac11610081578063a9059cbb11610066578063a9059cbb1461043e578063dd62ed3e14610477578063f2fde38b146104b257610151565b80639dc29fac146103cc578063a457c2d71461040557610151565b8063893d20e8116100b2578063893d20e8146103b45780638da5cb5b146103bc57806395d89b41146103c457610151565b806370a0823114610379578063715018a6146103ac57610151565b806328ec1e2911610124578063395093511161010957806339509351146102d657806340c10f191461030f57806353e856001461034857610151565b806328ec1e291461027d578063313ce567146102b857610151565b806306fdde0314610156578063095ea7b3146101d357806318160ddd1461022057806323b872dd1461023a575b600080fd5b61015e6104e5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610198578181015183820152602001610180565b50505050905090810190601f1680156101c55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020c600480360360408110156101e957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610599565b604080519115158252519081900360200190f35b6102286105b6565b60408051918252519081900360200190f35b61020c6004803603606081101561025057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356105bc565b6102b66004803603604081101561029357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561065d565b005b6102c0610902565b6040805160ff9092168252519081900360200190f35b61020c600480360360408110156102ec57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561090b565b6102b66004803603604081101561032557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610966565b610350610a52565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102286004803603602081101561038f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a73565b6102b6610a9b565b610350610b9b565b610350610baa565b61015e610bc6565b6102b6600480360360408110156103e257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c45565b61020c6004803603604081101561041b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610d31565b61020c6004803603604081101561045457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610da6565b6102286004803603604081101561048d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610dba565b6102b6600480360360208110156104c857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610df2565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058f5780601f106105645761010080835404028352916020019161058f565b820191906000526020600020905b81548152906001019060200180831161057257829003601f168201915b5050505050905090565b60006105ad6105a6610e8f565b8484610e93565b50600192915050565b60035490565b60006105c9848484610fda565b610653846105d5610e8f565b61064e856040518060600160405280602881526020016117216028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260026020526040812090610620610e8f565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205491906111a1565b610e93565b5060019392505050565b610665610e8f565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146106ee57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600654604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092610100900473ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561076457600080fd5b505afa158015610778573d6000803e3d6000fd5b505050506040513d602081101561078e57600080fd5b505190508082111561084e57600654604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526024820185905291516101009093049091169163a9059cbb916044808201926020929091908290030181600087803b15801561081c57600080fd5b505af1158015610830573d6000803e3d6000fd5b505050506040513d602081101561084657600080fd5b506108fd9050565b600654604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526024820186905291516101009093049091169163a9059cbb916044808201926020929091908290030181600087803b1580156108d057600080fd5b505af11580156108e4573d6000803e3d6000fd5b505050506040513d60208110156108fa57600080fd5b50505b505050565b60065460ff1690565b60006105ad610918610e8f565b8461064e8560026000610929610e8f565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611252565b61096e610e8f565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146109f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a0182826112cd565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff84169133917fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f89181900360200190a35050565b600654610100900473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b610aa3610e8f565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610b2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000610ba5610baa565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058f5780601f106105645761010080835404028352916020019161058f565b610c4d610e8f565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610cd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610ce082826113f4565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff84169133917fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b94539181900360200190a35050565b60006105ad610d3e610e8f565b8461064e856040518060600160405280602581526020016117b36025913960026000610d68610e8f565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d168152925290205491906111a1565b60006105ad610db3610e8f565b8484610fda565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b610dfa610e8f565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610e8357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e8c81611532565b50565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610eff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061178f6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806116d96022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061176a6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166110b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061166e6023913960400191505060405180910390fd5b6110fc816040518060600160405280602681526020016116fb6026913973ffffffffffffffffffffffffffffffffffffffff861660009081526001602052604090205491906111a1565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546111389082611252565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561124a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561120f5781810151838201526020016111f7565b50505050905090810190601f16801561123c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156112c657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff821661134f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461135c9082611252565b60035573ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205461138f9082611252565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8216611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806117496021913960400191505060405180910390fd5b6114aa816040518060600160405280602281526020016116916022913973ffffffffffffffffffffffffffffffffffffffff851660009081526001602052604090205491906111a1565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020556003546114dd908261162b565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b73ffffffffffffffffffffffffffffffffffffffff811661159e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806116b36026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006112c683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111a156fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220021c1263c6999d29bdd9a3a4079990cd5b668081618ddc4b1b8eba376c2b65ba64736f6c634300060c0033000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6

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

000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6

-----Decoded View---------------
Arg [0] : _wigo (address): 0xe992beab6659bff447893641a378fbbf031c5bd6

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6


Deployed ByteCode Sourcemap

32068:1187:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22280:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23840:193;;;;;;;;;;;;;;;;-1:-1:-1;23840:193:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;22756:100;;;:::i;:::-;;;;;;;;;;;;;;;;24504:446;;;;;;;;;;;;;;;;-1:-1:-1;24504:446:0;;;;;;;;;;;;;;;;;;:::i;32966:286::-;;;;;;;;;;;;;;;;-1:-1:-1;32966:286:0;;;;;;;;;:::i;:::-;;22439:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25358:283;;;;;;;;;;;;;;;;-1:-1:-1;25358:283:0;;;;;;;;;:::i;32482:145::-;;;;;;;;;;;;;;;;-1:-1:-1;32482:145:0;;;;;;;;;:::i;32153:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22918:119;;;;;;;;;;;;;;;;-1:-1:-1;22918:119:0;;;;:::i;2770:140::-;;;:::i;22123:94::-;;;:::i;2128:79::-;;;:::i;22596:96::-;;;:::i;32701:151::-;;;;;;;;;;;;;;;;-1:-1:-1;32701:151:0;;;;;;;;;:::i;26143:383::-;;;;;;;;;;;;;;;;-1:-1:-1;26143:383:0;;;;;;;;;:::i;23249:199::-;;;;;;;;;;;;;;;;-1:-1:-1;23249:199:0;;;;;;;;;:::i;23510:184::-;;;;;;;;;;;;;;;;-1:-1:-1;23510:184:0;;;;;;;;;;;:::i;3065:109::-;;;;;;;;;;;;;;;;-1:-1:-1;3065:109:0;;;;:::i;22280:92::-;22359:5;22352:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22326:13;;22352:12;;22359:5;;22352:12;;22359:5;22352:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22280:92;:::o;23840:193::-;23942:4;23964:39;23973:12;:10;:12::i;:::-;23987:7;23996:6;23964:8;:39::i;:::-;-1:-1:-1;24021:4:0;23840:193;;;;:::o;22756:100::-;22836:12;;22756:100;:::o;24504:446::-;24636:4;24653:36;24663:6;24671:9;24682:6;24653:9;:36::i;:::-;24700:220;24723:6;24744:12;:10;:12::i;:::-;24771:138;24827:6;24771:138;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;24791:12;:10;:12::i;:::-;24771:33;;;;;;;;;;;;;-1:-1:-1;24771:33:0;;;:138;:37;:138::i;:::-;24700:8;:220::i;:::-;-1:-1:-1;24938:4:0;24504:446;;;;;:::o;32966:286::-;2350:12;:10;:12::i;:::-;2340:6;;:22;:6;;;:22;;;2332:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33068:4:::1;::::0;:29:::1;::::0;;;;;33091:4:::1;33068:29;::::0;::::1;::::0;;;-1:-1:-1;;33068:4:0::1;::::0;::::1;;;::::0;:14:::1;::::0;:29;;;;;::::1;::::0;;;;;;;;:4;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33068:29:0;;-1:-1:-1;33112:17:0;;::::1;33108:137;;;33146:4;::::0;:27:::1;::::0;;;;;:4:::1;:27:::0;;::::1;;::::0;::::1;::::0;;;;;;;;;:4:::1;::::0;;::::1;::::0;;::::1;::::0;:13:::1;::::0;:27;;;;;::::1;::::0;;;;;;;;;-1:-1:-1;33146:4:0;:27;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33108:137:0::1;::::0;-1:-1:-1;33108:137:0::1;;33206:4;::::0;:27:::1;::::0;;;;;:4:::1;:27:::0;;::::1;;::::0;::::1;::::0;;;;;;;;;:4:::1;::::0;;::::1;::::0;;::::1;::::0;:13:::1;::::0;:27;;;;;::::1;::::0;;;;;;;;;-1:-1:-1;33206:4:0;:27;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;33108:137:0::1;2410:1;32966:286:::0;;:::o;22439:92::-;22514:9;;;;22439:92;:::o;25358:283::-;25456:4;25478:133;25501:12;:10;:12::i;:::-;25528:7;25550:50;25589:10;25550:11;:25;25562:12;:10;:12::i;:::-;25550:25;;;;;;;;;;;;;;;;;;-1:-1:-1;25550:25:0;;;:34;;;;;;;;;;;:38;:50::i;32482:145::-;2350:12;:10;:12::i;:::-;2340:6;;:22;:6;;;:22;;;2332:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32554:19:::1;32560:3;32565:7;32554:5;:19::i;:::-;32589:30;::::0;;;;;;;::::1;::::0;::::1;::::0;32594:10:::1;::::0;32589:30:::1;::::0;;;;::::1;::::0;;::::1;32482:145:::0;;:::o;32153:21::-;;;;;;;;;:::o;22918:119::-;23011:18;;22984:7;23011:18;;;:9;:18;;;;;;;22918:119::o;2770:140::-;2350:12;:10;:12::i;:::-;2340:6;;:22;:6;;;:22;;;2332:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2869:1:::1;2853:6:::0;;2832:40:::1;::::0;::::1;2853:6:::0;;::::1;::::0;2832:40:::1;::::0;2869:1;;2832:40:::1;2900:1;2883:19:::0;;;::::1;::::0;;2770:140::o;22123:94::-;22175:7;22202;:5;:7::i;:::-;22195:14;;22123:94;:::o;2128:79::-;2166:7;2193:6;;;2128:79;:::o;22596:96::-;22677:7;22670:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22644:13;;22670:14;;22677:7;;22670:14;;22677:7;22670:14;;;;;;;;;;;;;;;;;;;;;;;;32701:151;2350:12;:10;:12::i;:::-;2340:6;;:22;:6;;;:22;;;2332:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32775:21:::1;32781:5;32788:7;32775:5;:21::i;:::-;32812:32;::::0;;;;;;;::::1;::::0;::::1;::::0;32817:10:::1;::::0;32812:32:::1;::::0;;;;::::1;::::0;;::::1;32701:151:::0;;:::o;26143:383::-;26246:4;26268:228;26291:12;:10;:12::i;:::-;26318:7;26340:145;26397:15;26340:145;;;;;;;;;;;;;;;;;:11;:25;26352:12;:10;:12::i;:::-;26340:25;;;;;;;;;;;;;;;;;;-1:-1:-1;26340:25:0;;;:34;;;;;;;;;;;:145;:38;:145::i;23249:199::-;23354:4;23376:42;23386:12;:10;:12::i;:::-;23400:9;23411:6;23376:9;:42::i;23510:184::-;23659:18;;;;23627:7;23659:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23510:184::o;3065:109::-;2350:12;:10;:12::i;:::-;2340:6;;:22;:6;;;:22;;;2332:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3138:28:::1;3157:8;3138:18;:28::i;:::-;3065:109:::0;:::o;661:106::-;749:10;661:106;:::o;29304:372::-;29432:19;;;29424:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29511:21;;;29503:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29584:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29636:32;;;;;;;;;;;;;;;;;29304:372;;;:::o;27016:542::-;27148:20;;;27140:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27229:23;;;27221:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27325:108;27361:6;27325:108;;;;;;;;;;;;;;;;;:17;;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;27305:17;;;;;;;;:9;:17;;;;;;:128;;;;27467:20;;;;;;;:32;;27492:6;27467:24;:32::i;:::-;27444:20;;;;;;;;:9;:20;;;;;;;;;:55;;;;27515:35;;;;;;;27444:20;;27515:35;;;;;;;;;;;;;27016:542;;;:::o;8696:226::-;8816:7;8852:12;8844:6;;;;8836:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8888:5:0;;;8696:226::o;7793:181::-;7851:7;7883:5;;;7907:6;;;;7899:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7965:1;7793:181;-1:-1:-1;;;7793:181:0:o;27839:308::-;27915:21;;;27907:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28000:12;;:24;;28017:6;28000:16;:24::i;:::-;27985:12;:39;28056:18;;;;;;;:9;:18;;;;;;:30;;28079:6;28056:22;:30::i;:::-;28035:18;;;;;;;:9;:18;;;;;;;;:51;;;;28102:37;;;;;;;28035:18;;;;28102:37;;;;;;;;;;27839:308;;:::o;28479:385::-;28555:21;;;28547:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28648:105;28685:6;28648:105;;;;;;;;;;;;;;;;;:18;;;;;;;:9;:18;;;;;;;:105;:22;:105::i;:::-;28627:18;;;;;;;:9;:18;;;;;:126;28779:12;;:24;;28796:6;28779:16;:24::i;:::-;28764:12;:39;28819:37;;;;;;;;28845:1;;28819:37;;;;;;;;;;;;;28479:385;;:::o;3280:266::-;3368:22;;;3346:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3493:6;;;3472:38;;;;;;;3493:6;;;3472:38;;;3521:6;:17;;;;;;;;;;;;;;;3280:266::o;8257:136::-;8315:7;8342:43;8346:1;8349;8342:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

ipfs://021c1263c6999d29bdd9a3a4079990cd5b668081618ddc4b1b8eba376c2b65ba
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.