Contract 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83 5

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe681bac37ebf89b560e5994ca009ea6f217a7f475a74679be0220ada6d969605Withdraw243804762021-12-08 19:06:243 mins ago0xffd3ed4c00128143466c5ae011f33ee3b1059c86 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.029182
0x36368d0685830ea807b18bcb96717f80b1f4a496d9b107551a55822ba996ecfeApprove243804712021-12-08 19:06:203 mins ago0xd0811d085661e8dc2085c7d58df444aef0d4d6e2 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.00882779844
0xfd8f37b04183b7a78c8b80caff9f2e6542a5feb6675ef0717edaabd650e341eaWithdraw243804242021-12-08 19:05:434 mins ago0x7c17751ae1d8a65cc51752894b54bd2b7f073651 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.015850910229
0x42026e1eb87d1ab0f82794498e1c5d00aa6cc846e7563dcc4db8448be3b4e16fWithdraw243804112021-12-08 19:05:334 mins ago0x64cfcd46b47b1050285e43d684c58ae357811971 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.005808059119
0xe8d4f43eac3f8ee51fe494a1351762b734ac9c758e1d2a0af30a88035e9e7f19Withdraw243803552021-12-08 19:04:465 mins ago0x588d988d2c01b5ac3e00044f5ca4afd97e6ca9c3 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006552891733
0x742278ff68a944435504b0c6c6237f9ac0af55ba2498ee803a953055c8d37774Withdraw243803182021-12-08 19:04:115 mins ago0xe13a47718b9bfd9f74008068787827af3e5931b5 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006631481099
0x21ffe6808cecc563094c11a297ef3ff1c0778733113cf06411941274544edcafWithdraw243803112021-12-08 19:04:035 mins ago0x3e3eda557cac9af962a7465bcba1765cfe0ae3d8 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.00658751944
0x9644462feab6f92a9e5af6db42a1d0c03bd8e2e79b4727b5b9be4a4a05b796c7Withdraw243802792021-12-08 19:03:376 mins ago0x97f16b00d436fcd49d5911e68002f1cd4d5e47c5 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006646019875
0x5e89adb42f23a194373bfd2f666728420ce9e13c4ebadd41fb9d10c92da1b652Transfer243802182021-12-08 19:02:397 mins ago0x0b2ead855d031ca55e554fadeeb1842937dfdc37 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.008207817488
0x558f3148df49590ba8d23a1f1fdd6aac668f818d22927edb05066f9e99020f27Withdraw243801452021-12-08 19:01:428 mins ago0xf28ba27c0146db6babe6f539976df05563249fd0 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006678039784
0x37a6973235becdfaf655dcaed45f21ff98ddd489674e0acc81695f59d833e232Deposit243801202021-12-08 19:01:238 mins ago0x7c17751ae1d8a65cc51752894b54bd2b7f073651 IN  Fantom Finance: Wrapped Fantom Token29,767.240261541552086 FTM0.010540809911
0xbd3d6cc129a6299a7142f8df7fe72a652637867b8450d21534b774d4f3b5697eDeposit243801042021-12-08 19:01:098 mins ago0x0b2ead855d031ca55e554fadeeb1842937dfdc37 IN  Fantom Finance: Wrapped Fantom Token50.0567774383839 FTM0.011302036151
0x3219c13b6b250aaa778ed6b7d5b4f31dd945bb4f96317ed0683d742fed8c6a82Approve243800202021-12-08 18:59:2110 mins ago0xe13a47718b9bfd9f74008068787827af3e5931b5 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.008006582482
0xb2566a0089bf6423703ef43fa81ca17310bf0e26f91fc55abebcb7997cfcc277Withdraw243799932021-12-08 18:58:4111 mins ago0x7c17751ae1d8a65cc51752894b54bd2b7f073651 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.010056733479
0x8edcefbeff20b8f52debcb3902a34643b65f288c3b2e027f6319f95323171cf2Withdraw243799912021-12-08 18:58:3811 mins ago0xde331a06d8fc4b9c0caef093546d7dafd53752ed IN  Fantom Finance: Wrapped Fantom Token0 FTM0.015732000998
0x0a4791658504ccc35b15bad30d530b51ca230019be309769044982c8a2bd4eeeWithdraw243798702021-12-08 18:55:3314 mins ago0x668dc5fda13b1185a471b79d634331d2d6efb7a2 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.003655313119
0x1a245b4aac300a0e6c9473b54a87a0f4246ce4f4023a34f8b3e6663f6bdcc833Withdraw243797612021-12-08 18:53:5815 mins ago0xea8df6509bce844eb58f44a858c97b87dc911e99 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.004442612234
0xdf260002ed78091e47540d42c8526ae2fe6d99713a0824f3dcda0fd5a41a9be1Deposit243797492021-12-08 18:53:4316 mins ago0x4efbb4d6c0d3d91eb1f9116c47773c88b34f74fa IN  Fantom Finance: Wrapped Fantom Token200 FTM0.007852727097
0xa64e6e96a15dc8210a8e27f0d2d584a4a362ff8991456c7cf1142d4af5dc48b7Approve243797202021-12-08 18:53:2116 mins ago0x4ff3aa332fd6b1ee6023fe71d67f595e5b515ea7 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.00696927
0xd85febb147ce2f5806293e949732f7df04ea648b6ca35cea152f8db97be1715dIncrease Allowan...243796662021-12-08 18:52:3717 mins ago0x65ab12e68c2a83c26f150157e87c939ac1aee984 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.003805821026
0x03a538dd0ef3ba10a8126331b28ba395ab0a0bee9039ed9e39c4a1061ae89f77Withdraw243796172021-12-08 18:51:5417 mins ago0x7c17751ae1d8a65cc51752894b54bd2b7f073651 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.010671701533
0x53af822b62f9b05a0dc3199b39564243db0d8e72735f5da6dcb5c19c38b79cc1Withdraw243796162021-12-08 18:51:5218 mins ago0xf5b3f77e3678ef78b9825f1660b5512094d724a3 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006689835436
0x1cd5f076d0c55d3188242f5ff581b22e716a94b6130e53bc75b81d8341535c77Approve243795052021-12-08 18:49:5619 mins ago0x00f4bc1b884ed04d6d08c08f60e5dd4147c2019f IN  Fantom Finance: Wrapped Fantom Token0 FTM0.006079031
0xb70b5e23893a0b6a48e64ad014f3e148d5e6619f582aba67a004a0aea74da4cbWithdraw243793192021-12-08 18:47:2522 mins ago0x7c17751ae1d8a65cc51752894b54bd2b7f073651 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.009859073527
0xe7010eefce448df21be391c63f1100bacd0cd7c4e089d131b26d87a757dd6233Withdraw243792512021-12-08 18:46:2523 mins ago0x2d60d533fbbcc53034aa59f4be234270f9f5c031 IN  Fantom Finance: Wrapped Fantom Token0 FTM0.003897818145
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xddce32557adb7215b25f0e26744b6089729ae50a5174daf95514053b7cb4d2e824380725- SpookySwap: Router Fantom Finance: Wrapped Fantom Token63.4484260218393 FTM
0x1044067da86ad4b933d310917f36246a7b8d79817de69f895234b8073470611a24380724- Fantom Finance: Wrapped Fantom Token SpookySwap: Router1,334.96891089053492305 FTM
0x60f4d3593c0a419366d82db9dd35ded38f80cd3527cd3a14f3c0375834a04c3824380723- PaintSwap: Router Fantom Finance: Wrapped Fantom Token0.264139171319138587 FTM
0xb536dd0f6527b876e55673e72292899f680566b1d45f05c82bebf8659886917124380722- SpookySwap: Router Fantom Finance: Wrapped Fantom Token15.63485003313541187 FTM
0x49ca40fe3474592d34ca79d4b41afea29fcd76a4b7bcf05472813cf405f97f5424380721- SpookySwap: Router Fantom Finance: Wrapped Fantom Token93.504478992751402238 FTM
0xf932147bd0c61b08fc5a3ce128c4ed79787d7460a526d8f46b43f71eeb41352b24380718- SpookySwap: Router Fantom Finance: Wrapped Fantom Token2,500 FTM
0xc09408bf33f694a6ff8e536e4326ea8a3d0920802b05d70a1b032350270edbd124380714- SpookySwap: Router Fantom Finance: Wrapped Fantom Token11.027020222782706364 FTM
0x1e7bdd6a87a89830331d1354109bfb66c53e1c95e8060b87d261f8e1d3cf46b724380713- SpookySwap: Router Fantom Finance: Wrapped Fantom Token315.865112011560816309 FTM
0xae836ebb18dc992a803864bdb8e5fe75d7eba07c7d59d98d8c0a68ab63d9a4b324380712- Fantom Finance: Wrapped Fantom Token0xff96fd2c04b9f52cdca9ee2d99653ea268a3704b32.529577832273075675 FTM
0x433da973714ec4959eab32f6021004a308f48056c3d6f3822ebdf639b44e331024380710- SpookySwap: Router Fantom Finance: Wrapped Fantom Token4.588277086926043818 FTM
0xd08bff05b1be83c6d88f71886d38743b111cfc0c7f5ec4eec0fed8cc74aebc2c24380705- Fantom Finance: Wrapped Fantom Token SpookySwap: Router17.677028304384996133 FTM
0xefc75360b31bbc9adfa53b63fe12218ee5ff923b045c7b22e037f87c16d1d94d24380703- SpookySwap: Router Fantom Finance: Wrapped Fantom Token190 FTM
0x8083d03f8e63f409f69b25c03d1ea0ac9d35cbac7b32a9bfa90e78f17e9cc04724380703- SpookySwap: Router Fantom Finance: Wrapped Fantom Token7 FTM
0x36e52ff2daa5c43949322adff84bb710ff1774870f22e9554569f939d82870a924380699- 0xc84b260978237cc57122bc91ac256487d890b94e Fantom Finance: Wrapped Fantom Token930 FTM
0x9a301a5c12b6894fb2ef5b07b6803aa74bfec1a7e4996f340be396a8a78ec98a24380695- Fantom Finance: Wrapped Fantom Token 0x045312c737a6b7a115906be0ad0ef53a6aa381060.902707442281662974 FTM
0x0782b39be8f441a840534a76f34d9c865063812fbd6a0e3bb2d719afbd072c6f24380692- SpookySwap: Router Fantom Finance: Wrapped Fantom Token23.383774593888631609 FTM
0x611d16ec1d14ea42206ab792c824d667255bef49e4b1114e7a4aa47028e5723224380691- SpookySwap: Router Fantom Finance: Wrapped Fantom Token45.513297522626964874 FTM
0xe5ed79b24b092faf1354111a3b1e30debf082cde1422df69e8f1ce4418c386c224380690- PaintSwap: Router Fantom Finance: Wrapped Fantom Token0.264138786377545166 FTM
0x694b6523fd8d30c7d64ac1505541fb3325c5d0de979e503560a1c69198bed03c24380689- PaintSwap: Router Fantom Finance: Wrapped Fantom Token0.264138401436792812 FTM
0x1528f175ff184e8770d3cb256f246d8bf4ecf0ac3c71502a5a72adc8490592f524380689- SpiritSwap: Router Fantom Finance: Wrapped Fantom Token8.465970844685566896 FTM
0x3bdbb9cb13bad1dc85556557bf7e28972056d0e84803cd3d78e8c72185749ac224380688- SpookySwap: Router Fantom Finance: Wrapped Fantom Token128.0544115763746 FTM
0xea7922bf0322408c70dc311ff066b5453658d6e1ec454042e8f68313e74a03ce24380683- Fantom Finance: Wrapped Fantom Token SpookySwap: Router62.482493697997193512 FTM
0xeb11202d2bae4f5344864c60063bbe9984fb288a1dc897c90ab9b464b5dd46ff24380681- Fantom Finance: Wrapped Fantom Token SpookySwap: Router2,556.154541250944383742 FTM
0x3ff83a188abd877232019b4a2de4dcf5980c68f40666662f6b66173a129d07e124380672- SpookySwap: Router Fantom Finance: Wrapped Fantom Token136.696629692337889804 FTM
0x141f772f4d83916f15291cf6b50c37948262b097a7423378976bfcb1ecc2f3fc24380672- Fantom Finance: Wrapped Fantom Token SpookySwap: Router488.93485534197480525 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedFtm

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 5000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-02-19
*/

pragma solidity ^0.5.0;

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

contract PauserRole is Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    constructor () internal {
        _addPauser(_msgSender());
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }
}

contract Pausable is Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by a pauser (`account`).
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev See {IERC20-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 returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {IERC20-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 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 {IERC20-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 {IERC20-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"));
    }
}

contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

contract ERC20Pausable is ERC20, Pausable {
    function transfer(address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transfer(to, value);
    }

    function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

    function approve(address spender, uint256 value) public whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

    function increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) {
        return super.increaseAllowance(spender, addedValue);
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) {
        return super.decreaseAllowance(spender, subtractedValue);
    }
}

contract WrappedFtm is ERC20, ERC20Detailed, ERC20Pausable {
    // Error Code: No error.
    uint256 public constant ERR_NO_ERROR = 0x0;

    // Error Code: Non-zero value expected to perform the function.
    uint256 public constant ERR_INVALID_ZERO_VALUE = 0x01;

    // create instance of the wFTM token
    constructor () public ERC20Detailed("Wrapped Fantom", "WFTM", 18) {
    }

    // deposit wraps received FTM tokens as wFTM in 1:1 ratio by minting
    // the received amount of FTMs in wFTM on the sender's address.
    function deposit() public whenNotPaused payable returns (uint256) {
        // there has to be some value to be converted
        if (msg.value == 0) {
            return ERR_INVALID_ZERO_VALUE;
        }

        // we already received FTMs, mint the appropriate amount of wFTM
        _mint(msg.sender, msg.value);

        // all went well here
        return ERR_NO_ERROR;
    }

    // withdraw unwraps FTM tokens by burning specified amount
    // of wFTM from the caller address and sending the same amount
    // of FTMs back in exchange.
    function withdraw(uint256 amount) public whenNotPaused returns (uint256) {
        // there has to be some value to be converted
        if (amount == 0) {
            return ERR_INVALID_ZERO_VALUE;
        }

        // burn wFTM from the sender first to prevent re-entrance issue
        _burn(msg.sender, amount);

        // if wFTM were burned, transfer native tokens back to the sender
        msg.sender.transfer(amount);

        // all went well here
        return ERR_NO_ERROR;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":true,"inputs":[],"name":"ERR_INVALID_ZERO_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ERR_NO_ERROR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600e81526d577261707065642046616e746f6d60901b6020808301918252835180850190945260048452635746544d60e01b90840152815191929160129162000068916003919062000210565b5081516200007e90600490602085019062000210565b506005805460ff191660ff9290921691909117905550620000b39050620000a4620000c3565b6001600160e01b03620000c816565b6007805460ff19169055620002b2565b335b90565b620000e38160066200011a60201b620018de1790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6200012f82826001600160e01b03620001a716565b1562000182576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216620001f05760405162461bcd60e51b815260040180806020018281038252602281526020018062001e526022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025357805160ff191683800117855562000283565b8280016001018555821562000283579182015b828111156200028357825182559160200191906001019062000266565b506200029192915062000295565b5090565b620000c591905b808211156200029157600081556001016200029c565b611b9080620002c26000396000f3fe60806040526004361061016a5760003560e01c80635c975abb116100cb5780638456cb591161007f578063a9059cbb11610059578063a9059cbb14610500578063d0e30db014610546578063dd62ed3e1461054e5761016a565b80638456cb591461049057806395d89b41146104a5578063a457c2d7146104ba5761016a565b80636ef8d66d116100b05780636ef8d66d146103fb57806370a082311461041057806382dc1ec4146104505761016a565b80635c975abb146103d15780636d7497b3146103e65761016a565b8063313ce56711610122578063395093511161010757806339509351146103345780633f4ba83a1461037a57806346fbf68e146103915761016a565b8063313ce567146102f457806335052d6e1461031f5761016a565b806318160ddd1161015357806318160ddd1461025357806323b872dd1461027a5780632e1a7d4d146102ca5761016a565b806306fdde031461016f578063095ea7b3146101f9575b600080fd5b34801561017b57600080fd5b50610184610596565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101be5781810151838201526020016101a6565b50505050905090810190601f1680156101eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020557600080fd5b5061023f6004803603604081101561021c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561064b565b604080519115158252519081900360200190f35b34801561025f57600080fd5b506102686106d1565b60408051918252519081900360200190f35b34801561028657600080fd5b5061023f6004803603606081101561029d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356106d7565b3480156102d657600080fd5b50610268600480360360208110156102ed57600080fd5b503561075f565b34801561030057600080fd5b50610309610823565b6040805160ff9092168252519081900360200190f35b34801561032b57600080fd5b5061026861082c565b34801561034057600080fd5b5061023f6004803603604081101561035757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610831565b34801561038657600080fd5b5061038f6108b0565b005b34801561039d57600080fd5b5061023f600480360360208110156103b457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a01565b3480156103dd57600080fd5b5061023f610a1a565b3480156103f257600080fd5b50610268610a23565b34801561040757600080fd5b5061038f610a28565b34801561041c57600080fd5b506102686004803603602081101561043357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a3a565b34801561045c57600080fd5b5061038f6004803603602081101561047357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a62565b34801561049c57600080fd5b5061038f610ace565b3480156104b157600080fd5b50610184610bf4565b3480156104c657600080fd5b5061023f600480360360408110156104dd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c73565b34801561050c57600080fd5b5061023f6004803603604081101561052357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610cf2565b610268610d71565b34801561055a57600080fd5b506102686004803603604081101561057157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610e03565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b505050505090505b90565b60075460009060ff16156106c057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6106ca8383610e3b565b9392505050565b60025490565b60075460009060ff161561074c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b610757848484610e58565b949350505050565b60075460009060ff16156107d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b816107e15750600161081e565b6107eb3383610eff565b604051339083156108fc029084906000818181858888f19350505050158015610818573d6000803e3d6000fd5b50600090505b919050565b60055460ff1690565b600081565b60075460009060ff16156108a657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6106ca8383611049565b6108c06108bb6110aa565b610a01565b610915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806119ea6030913960400191505060405180910390fd5b60075460ff1661098657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6109d76110aa565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b6000610a1460068363ffffffff6110ae16565b92915050565b60075460ff1690565b600181565b610a38610a336110aa565b611149565b565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610a6d6108bb6110aa565b610ac2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806119ea6030913960400191505060405180910390fd5b610acb8161119e565b50565b610ad96108bb6110aa565b610b2e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806119ea6030913960400191505060405180910390fd5b60075460ff1615610ba057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109d76110aa565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106405780601f1061061557610100808354040283529160200191610640565b60075460009060ff1615610ce857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6106ca83836111f3565b60075460009060ff1615610d6757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6106ca838361126e565b60075460009060ff1615610de657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b34610df357506001610648565b610dfd3334611282565b50600090565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000610e4f610e486110aa565b84846113b3565b50600192915050565b6000610e658484846114fa565b610ef584610e716110aa565b610ef085604051806060016040528060288152602001611a836028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610ebc6110aa565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff6116cb16565b6113b3565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff8216610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611acd6021913960400191505060405180910390fd5b610fbb816040518060600160405280602281526020016119c86022913973ffffffffffffffffffffffffffffffffffffffff8516600090815260208190526040902054919063ffffffff6116cb16565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902055600254610ff4908263ffffffff61177c16565b60025560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610e4f6110566110aa565b84610ef085600160006110676110aa565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6117be16565b3390565b600073ffffffffffffffffffffffffffffffffffffffff821661111c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611aab6022913960400191505060405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b61115a60068263ffffffff61183216565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6111af60068263ffffffff6118de16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000610e4f6112006110aa565b84610ef085604051806060016040528060258152602001611b37602591396001600061122a6110aa565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6116cb16565b6000610e4f61127b6110aa565b84846114fa565b73ffffffffffffffffffffffffffffffffffffffff821661130457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254611317908263ffffffff6117be16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054611350908263ffffffff6117be16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff831661141f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611b136024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661148b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611a1a6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611566576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611aee6025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166115d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806119a56023913960400191505060405180910390fd5b61162281604051806060016040528060268152602001611a3c6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff6116cb16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054611664908263ffffffff6117be16565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611774576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611739578181015183820152602001611721565b50505050905090810190601f1680156117665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60006106ca83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116cb565b6000828201838110156106ca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61183c82826110ae565b611891576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611a626021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6118e882826110ae565b1561195457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158205aa4bd727a32addbd7562837838048136c5d3570e72e58054c8b7b09443fe6ca64736f6c63430005110032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373

Deployed ByteCode Sourcemap

20962:1623:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19150:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19150:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;19150:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20449:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20449:140:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20449:140:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;11873:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11873:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;20281:160;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20281:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20281:160:0;;;;;;;;;;;;;;;;;;:::i;22074:508::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22074:508:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22074:508:0;;:::i;20002:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20002:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21058:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21058:42:0;;;:::i;20597:170::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20597:170:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20597:170:0;;;;;;;;;:::i;3952:120::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3952:120:0;;;:::i;:::-;;1970:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1970:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1970:109:0;;;;:::i;3159:78::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3159:78:0;;;:::i;21178:53::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21178:53:0;;;:::i;2187:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2187:79:0;;;:::i;12027:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12027:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12027:110:0;;;;:::i;2087:92::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2087:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2087:92:0;;;;:::i;3739:118::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3739:118:0;;;:::i;19352:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19352:87:0;;;:::i;20775:180::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20775:180:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20775:180:0;;;;;;;;;:::i;20141:132::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20141:132:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20141:132:0;;;;;;;;;:::i;21507:393::-;;;:::i;12571:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12571:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12571:134:0;;;;;;;;;;;:::i;19150:83::-;19220:5;19213:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19187:13;;19213:12;;19220:5;;19213:12;;19220:5;19213:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19150:83;;:::o;20449:140::-;3396:7;;20528:4;;3396:7;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20552:29;20566:7;20575:5;20552:13;:29::i;:::-;20545:36;20449:140;-1:-1:-1;;;20449:140:0:o;11873:91::-;11944:12;;11873:91;:::o;20281:160::-;3396:7;;20374:4;;3396:7;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20398:35;20417:4;20423:2;20427:5;20398:18;:35::i;:::-;20391:42;20281:160;-1:-1:-1;;;;20281:160:0:o;22074:508::-;3396:7;;22138;;3396;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22217:11;22213:73;;-1:-1:-1;21227:4:0;22245:29;;22213:73;22371:25;22377:10;22389:6;22371:5;:25::i;:::-;22484:27;;:10;;:27;;;;;22504:6;;22484:27;;;;22504:6;22484:10;:27;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22484:27:0;21097:3;22555:19;;3435:1;22074:508;;;:::o;20002:83::-;20068:9;;;;20002:83;:::o;21058:42::-;21097:3;21058:42;:::o;20597:170::-;3396:7;;20691:4;;3396:7;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20715:44;20739:7;20748:10;20715:23;:44::i;3952:120::-;1867:22;1876:12;:10;:12::i;:::-;1867:8;:22::i;:::-;1859:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3595:7;;;;3587:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4011:7;:15;;;;;;4042:22;4051:12;:10;:12::i;:::-;4042:22;;;;;;;;;;;;;;;;;;3952:120::o;1970:109::-;2026:4;2050:21;:8;2063:7;2050:21;:12;:21;:::i;:::-;2043:28;1970:109;-1:-1:-1;;1970:109:0:o;3159:78::-;3222:7;;;;3159:78;:::o;21178:53::-;21227:4;21178:53;:::o;2187:79::-;2231:27;2245:12;:10;:12::i;:::-;2231:13;:27::i;:::-;2187:79::o;12027:110::-;12111:18;;12084:7;12111:18;;;;;;;;;;;;12027:110::o;2087:92::-;1867:22;1876:12;:10;:12::i;1867:22::-;1859:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:19;2163:7;2152:10;:19::i;:::-;2087:92;:::o;3739:118::-;1867:22;1876:12;:10;:12::i;1867:22::-;1859:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3396:7;;;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3799:7;:14;;;;3809:4;3799:14;;;3829:20;3836:12;:10;:12::i;19352:87::-;19424:7;19417:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19391:13;;19417:14;;19424:7;;19417:14;;19424:7;19417:14;;;;;;;;;;;;;;;;;;;;;;;;20775:180;3396:7;;20874:4;;3396:7;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20898:49;20922:7;20931:15;20898:23;:49::i;20141:132::-;3396:7;;20216:4;;3396:7;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20240:25;20255:2;20259:5;20240:14;:25::i;21507:393::-;3396:7;;21564;;3396;;3395:8;3387:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21643:9;21639:76;;-1:-1:-1;21227:4:0;21674:29;;21639:76;21801:28;21807:10;21819:9;21801:5;:28::i;:::-;-1:-1:-1;21097:3:0;21507:393;:::o;12571:134::-;12670:18;;;;12643:7;12670:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;12571:134::o;12852:152::-;12918:4;12935:39;12944:12;:10;:12::i;:::-;12958:7;12967:6;12935:8;:39::i;:::-;-1:-1:-1;12992:4:0;12852:152;;;;:::o;13476:304::-;13565:4;13582:36;13592:6;13600:9;13611:6;13582:9;:36::i;:::-;13629:121;13638:6;13646:12;:10;:12::i;:::-;13660:89;13698:6;13660:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;13680:12;:10;:12::i;:::-;13660:33;;;;;;;;;;;;;-1:-1:-1;13660:33:0;;;:89;;:37;:89;:::i;:::-;13629:8;:121::i;:::-;-1:-1:-1;13768:4:0;13476:304;;;;;:::o;17045:348::-;17121:21;;;17113:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17214:68;17237:6;17214:68;;;;;;;;;;;;;;;;;:18;;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;17193:18;;;:9;:18;;;;;;;;;;:89;17308:12;;:24;;17325:6;17308:24;:16;:24;:::i;:::-;17293:12;:39;17348:37;;;;;;;;17374:1;;17348:37;;;;;;;;;;;;;17045:348;;:::o;14189:210::-;14269:4;14286:83;14295:12;:10;:12::i;:::-;14309:7;14318:50;14357:10;14318:11;:25;14330:12;:10;:12::i;:::-;14318:25;;;;;;;;;;;;;;;;;;-1:-1:-1;14318:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;296:98::-;376:10;296:98;:::o;1330:203::-;1402:4;1427:21;;;1419:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1505:20:0;;:11;:20;;;;;;;;;;;;;;;1330:203::o;2404:130::-;2464:24;:8;2480:7;2464:24;:15;:24;:::i;:::-;2504:22;;;;;;;;;;;2404:130;:::o;2274:122::-;2331:21;:8;2344:7;2331:21;:12;:21;:::i;:::-;2368:20;;;;;;;;;;;2274:122;:::o;14902:261::-;14987:4;15004:129;15013:12;:10;:12::i;:::-;15027:7;15036:96;15075:15;15036:96;;;;;;;;;;;;;;;;;:11;:25;15048:12;:10;:12::i;:::-;15036:25;;;;;;;;;;;;;;;;;;-1:-1:-1;15036:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;12350:158::-;12419:4;12436:42;12446:12;:10;:12::i;:::-;12460:9;12471:6;12436:9;:42::i;16405:308::-;16481:21;;;16473:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16566:12;;:24;;16583:6;16566:24;:16;:24;:::i;:::-;16551:12;:39;16622:18;;;:9;:18;;;;;;;;;;;:30;;16645:6;16622:30;:22;:30;:::i;:::-;16601:18;;;:9;:18;;;;;;;;;;;:51;;;;16668:37;;;;;;;16601:18;;:9;;16668:37;;;;;;;;;;16405:308;;:::o;17833:338::-;17927:19;;;17919:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18006:21;;;17998:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18079:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18131:32;;;;;;;;;;;;;;;;;17833:338;;;:::o;15653:471::-;15751:20;;;15743:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15832:23;;;15824:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15928;15950:6;15928:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;15908:17;;;;:9;:17;;;;;;;;;;;:91;;;;16033:20;;;;;;;:32;;16058:6;16033:32;:24;:32;:::i;:::-;16010:20;;;;:9;:20;;;;;;;;;;;;:55;;;;16081:35;;;;;;;16010:20;;16081:35;;;;;;;;;;;;;15653:471;;;:::o;5263:192::-;5349:7;5385:12;5377:6;;;;5369:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5369:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5421:5:0;;;5263:192::o;4790:136::-;4848:7;4875:43;4879:1;4882;4875:43;;;;;;;;;;;;;;;;;:3;:43::i;4334:181::-;4392:7;4424:5;;;4448:6;;;;4440:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1052:183;1132:18;1136:4;1142:7;1132:3;:18::i;:::-;1124:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1199:20;;1222:5;1199:20;;;;;;;;;;;:28;;;;;;1052:183::o;794:178::-;872:18;876:4;882:7;872:3;:18::i;:::-;871:19;863:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;937:20;;:11;:20;;;;;;;;;;;:27;;;;960:4;937:27;;;794:178::o

Swarm Source

bzzr://5aa4bd727a32addbd7562837838048136c5d3570e72e58054c8b7b09443fe6ca
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.