Contract 0x37619cc85325afea778830e184cb60a3abc9210b

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc650efdc276e1434639d2ce0548e70c55a159944a3b9e0b83c6954d19a2bc16cDeposit38834422023-03-23 21:38:4215 hrs 30 mins ago0x41de06358b3c3af22de9863c80ea575aa013917c IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.0002344035
0xe58012a904c44e0a69c3255c7fed4145a8ca33800cc6d92f1b19e73cf03001b5Deposit38828092023-03-23 19:28:4817 hrs 40 mins ago0x10eb4e9657c1502a2f6c593f0ca6910f4c585bc8 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.0002343675
0xeddb79461e8e2a547c01555d0289420eebc1c3ea1666c9d3e9eb466c00afc573Withdraw38821502023-03-23 17:12:2419 hrs 57 mins ago0x53e7861cd6a894143f0815b3d002c60bc8007146 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.0001707765
0xd41ca36b3c52fe958d098a50c76d27309cc7f9570c502b6dfa61774731567c63Transfer38682622023-03-21 18:04:242 days 19 hrs ago0xa431ed6491bec3bbd33e892303944d178532691d IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000129393
0xc324579f35f6f4f8cd8d21d9a446a9545dbf834a7cd042e9d642a57bbe3658aeDeposit38565212023-03-20 2:11:304 days 10 hrs ago0xa2046e7c96dfde7823c16645e642e5c96f6901f9 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0x441e122054b7943f75972ea1b4e697559b77b22e0ed08a72a1fadcfa837b58bcDeposit38560512023-03-20 0:36:124 days 12 hrs ago0xae161f482c07abd4b927de03eaac39a8a7581c98 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156269
0x26a29638b12b068c39414409136cba19c564fd6645814897cb1a4cbf68d5e2e4Deposit38556052023-03-19 23:05:124 days 14 hrs ago0x97e7d075167fe10167a835b8623d55dbb2824ab3 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.00015902985
0x312bf9b03dee36003d43db9197bb3d58b9da2448202e10d032db2eb250263cadDeposit38547482023-03-19 20:10:364 days 16 hrs ago0xa00654efb77c7861f42b32de3590e9a51a5aff64 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000139157
0x0688b2cbeb45e64d42b4cfba628048aa2c1a4022c801eaf2725ee1745af250e6Deposit38547332023-03-19 20:07:364 days 17 hrs ago0x41de06358b3c3af22de9863c80ea575aa013917c IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156269
0xc6d00a6f389e358032c3d9d6abf7afd0553f3171b9ba88dcd932fdce32348cebWithdraw38546152023-03-19 19:43:424 days 17 hrs ago0xdd149fba704cbc68fab61b995d6d1ab719607e31 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000113839
0x42374e7f6994e9ee064498b655719da49083d2b44c53e84a5d90aed66860d6a5Approve38545952023-03-19 19:39:424 days 17 hrs ago0xdd149fba704cbc68fab61b995d6d1ab719607e31 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.0001165075
0x265631befbf8a9f40e1523f97711d0f6fa48cc6a492b1acfadb421adda338469Deposit38512912023-03-19 8:29:245 days 4 hrs ago0xdf0de66523e75f294a6d9e6ee84154005841db6b IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000151469
0xaa727c600819eda9a285492d81d9aa960d83c4af89d919b357ee0a4f991cc117Deposit38448862023-03-18 10:43:306 days 2 hrs ago0xb12b3ce8aedde5d3323c89234385e070d8738110 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000139157
0x65fdd3b4d704b1a5125ef90a85c48a4b562e374f8b14138d7d07d7cfc726cd24Deposit38372642023-03-17 8:54:547 days 4 hrs ago0xae161f482c07abd4b927de03eaac39a8a7581c98 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0xc9791fa03747084731df73a86e2476be2d2d46d2b9f341e49448fb0e5bc738d5Deposit38370722023-03-17 8:16:007 days 4 hrs ago0xfc2f3c2b6872d6ad347e78f096026274326ab081 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0x156ccdd56ef2b1c5c3c4515ef37af1b544821f5abd1066e1f0e37d4a7d474c3eDeposit38333982023-03-16 19:51:547 days 17 hrs ago0xa00654efb77c7861f42b32de3590e9a51a5aff64 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0x367f19f8b9073ee7b9cef845bdff0ce01f706dc7ecf870b110c0508e016c2becDeposit38330632023-03-16 18:43:307 days 18 hrs ago0xc3d3a34d4be662359bffb83ddf1ceb3eb6911298 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000151469
0x6ee8e8ad55e626fee829f7608674cf58ecc235b2d9c49c1c9ee771705844fca9Deposit38267952023-03-15 21:30:188 days 15 hrs ago0xa00654efb77c7861f42b32de3590e9a51a5aff64 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0x4b84dc550a4f737edd1043c7da735f036bd78284f67c72662b84d02c9cb69dfbDeposit38261212023-03-15 19:13:308 days 17 hrs ago0x666ecd7a787b5d6dfffafc97bab26db60a8e81a0 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0xf3f88b992e5425857b4f994a6c8a2d7617ca547bf6b90b7118d61dc3b8011c0eDeposit38249282023-03-15 15:11:488 days 21 hrs ago0x666ecd7a787b5d6dfffafc97bab26db60a8e81a0 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0xc6a5f8208faab8a03c14d13e8c9afaaf42474f3af0c8522f520266ea338b076dDeposit38208382023-03-15 1:16:429 days 11 hrs ago0x62b764030bf1f015bfb842b70a5b175054416bb0 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000156257
0xe07497098808ae898a5a915b05eeb12a335d899a8e4e17f2ed60b4efefc1745aWithdraw38202762023-03-14 23:22:489 days 13 hrs ago0x70981296c3358984f725bc5309aa82010e9b1726 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000113827
0x4371b415dfa62f584796d08405a534869c06c1782ec23daedc70aa7c07183135Deposit38197502023-03-14 21:35:309 days 15 hrs ago0xa00654efb77c7861f42b32de3590e9a51a5aff64 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000139157
0x45d4fc3beeaae79fe2e0e76bf45474881cc9edb2a1d9a1362ae097150f055eddWithdraw38175052023-03-14 13:59:129 days 23 hrs ago0x81635515ed94bc742563b8cdc0b9eed5dc295248 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.000113839
0x9456954a095d088f32f05daef670144af697438a6bfad3187b344fea87004509Approve38174942023-03-14 13:57:009 days 23 hrs ago0x81635515ed94bc742563b8cdc0b9eed5dc295248 IN  0x37619cc85325afea778830e184cb60a3abc9210b0 MOVR0.0001165075
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FinnBar

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonriver.moonscan.io on 2021-11-04
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol



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: @openzeppelin/contracts/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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity >=0.6.0 <0.8.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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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 virtual returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override 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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override 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 virtual 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 {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual 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 virtual 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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _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 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 virtual {
        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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts/FinnBar.sol



pragma solidity 0.6.12;




// FinnBar is the coolest bar in town. You deposit some FINN, and withdraw with more! The longer you stay, the more FINN you get.
//
// This contract handles swapping to and from TOM, HuckleberrySwap's staking token.
contract FinnBar is ERC20("TOM Token", "TOM") {
    using SafeMath for uint256;
    IERC20 public finn;

    event Deposit(address indexed user, uint256 inputAmount, uint256 lockedAmount, uint256 mintedAmount);
    event Withdraw(address indexed user, uint256 releasedAmount, uint256 burnedAmount);

    // Define the FINN token contract
    constructor(IERC20 _finn) public {
        finn = _finn;
    }

    // deposit to the bar. Pay some FINNs. Earn some shares.
    // Locks FINN and mints TOM
    function deposit(uint256 _amount) public {
        // Gets the amount of FINN locked in the contract
        uint256 totalFinn = finn.balanceOf(address(this));
        // Gets the amount of TOM in existence
        uint256 totalShares = totalSupply();

        // Lock the FINN in the contract
        finn.transferFrom(msg.sender, address(this), _amount);
        uint256 finalDepositAmount = finn.balanceOf(address(this)).sub(totalFinn);

        // If no TOM exists, mint it 1:1 to the amount put in
        if (totalShares == 0 || totalFinn == 0) {
            _mint(msg.sender, finalDepositAmount);
            emit Deposit(msg.sender, _amount, finalDepositAmount, finalDepositAmount);
        }
        // Calculate and mint the amount of TOM the FINN is worth. The ratio will change overtime, as TOM is burned/minted and FINN deposited + gained from fees / withdrawn.
        else {
            uint256 what = finalDepositAmount.mul(totalShares).div(totalFinn);
            _mint(msg.sender, what);
            emit Deposit(msg.sender, _amount, finalDepositAmount, what);
        }
    }

    // Withdraw the bar. Claim back your FINNs.
    // Unlocks the staked + gained FINN and burns TOM
    function withdraw(uint256 _share) public {
        // Gets the amount of TOM in existence
        uint256 totalShares = totalSupply();
        // Calculates the amount of FINN the TOM is worth
        uint256 what = _share.mul(finn.balanceOf(address(this))).div(totalShares);
        _burn(msg.sender, _share);
        finn.transfer(msg.sender, what);

        emit Withdraw(msg.sender, what, _share);
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_finn","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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"inputAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lockedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintedAmount","type":"uint256"}],"name":"Deposit","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"releasedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"name":"Withdraw","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":[],"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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finn","outputs":[{"internalType":"contract IERC20","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"uint256","name":"_share","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001f3938038062001f39833981810160405260208110156200003757600080fd5b81019080805190602001909291905050506040518060400160405280600981526020017f544f4d20546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f544f4d00000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000cc9291906200014c565b508060049080519060200190620000e59291906200014c565b506012600560006101000a81548160ff021916908360ff160217905550505080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620001f2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018f57805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001bf578251825591602001919060010190620001a2565b5b509050620001cf9190620001d3565b5090565b5b80821115620001ee576000816000905550600101620001d4565b5090565b611d3780620002026000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063395093511161008c578063a457c2d711610066578063a457c2d71461043a578063a9059cbb1461049e578063b6b55f2514610502578063dd62ed3e14610530576100ea565b806339509351146102fb57806370a082311461035f57806395d89b41146103b7576100ea565b806323b872dd116100c857806323b872dd146101f45780632e1a7d4d14610278578063313ce567146102a657806333cc3b17146102c7576100ea565b806306fdde03146100ef578063095ea7b31461017257806318160ddd146101d6575b600080fd5b6100f76105a8565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013757808201518184015260208101905061011c565b50505050905090810190601f1680156101645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101be6004803603604081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061064a565b60405180821515815260200191505060405180910390f35b6101de610668565b6040518082815260200191505060405180910390f35b6102606004803603606081101561020a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610672565b60405180821515815260200191505060405180910390f35b6102a46004803603602081101561028e57600080fd5b810190808035906020019092919050505061074b565b005b6102ae610977565b604051808260ff16815260200191505060405180910390f35b6102cf61098e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103476004803603604081101561031157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109b4565b60405180821515815260200191505060405180910390f35b6103a16004803603602081101561037557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a67565b6040518082815260200191505060405180910390f35b6103bf610aaf565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103ff5780820151818401526020810190506103e4565b50505050905090810190601f16801561042c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104866004803603604081101561045057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b51565b60405180821515815260200191505060405180910390f35b6104ea600480360360408110156104b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c1e565b60405180821515815260200191505060405180910390f35b61052e6004803603602081101561051857600080fd5b8101908080359060200190929190505050610c3c565b005b6105926004803603604081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ff1565b6040518082815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b600061065e610657611078565b8484611080565b6001905092915050565b6000600254905090565b600061067f848484611277565b6107408461068b611078565b61073b85604051806060016040528060288152602001611c4b60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106f1611078565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115389092919063ffffffff16565b611080565b600190509392505050565b6000610755610668565b9050600061084182610833600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156107e957600080fd5b505afa1580156107fd573d6000803e3d6000fd5b505050506040513d602081101561081357600080fd5b8101908080519060200190929190505050866115f290919063ffffffff16565b61167890919063ffffffff16565b905061084d3384611701565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156108e057600080fd5b505af11580156108f4573d6000803e3d6000fd5b505050506040513d602081101561090a57600080fd5b8101908080519060200190929190505050503373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688285604051808381526020018281526020019250505060405180910390a2505050565b6000600560009054906101000a900460ff16905090565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610a5d6109c1611078565b84610a5885600160006109d2611078565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c590919063ffffffff16565b611080565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b475780601f10610b1c57610100808354040283529160200191610b47565b820191906000526020600020905b815481529060010190602001808311610b2a57829003601f168201915b5050505050905090565b6000610c14610b5e611078565b84610c0f85604051806060016040528060258152602001611cdd6025913960016000610b88611078565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115389092919063ffffffff16565b611080565b6001905092915050565b6000610c32610c2b611078565b8484611277565b6001905092915050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cc757600080fd5b505afa158015610cdb573d6000803e3d6000fd5b505050506040513d6020811015610cf157600080fd5b810190808051906020019092919050505090506000610d0e610668565b9050600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610dc157600080fd5b505af1158015610dd5573d6000803e3d6000fd5b505050506040513d6020811015610deb57600080fd5b8101908080519060200190929190505050506000610ed583600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610e8c57600080fd5b505afa158015610ea0573d6000803e3d6000fd5b505050506040513d6020811015610eb657600080fd5b810190808051906020019092919050505061194d90919063ffffffff16565b90506000821480610ee65750600083145b15610f5857610ef533826119d0565b3373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e85838460405180848152602001838152602001828152602001935050505060405180910390a2610feb565b6000610f7f84610f7185856115f290919063ffffffff16565b61167890919063ffffffff16565b9050610f8b33826119d0565b3373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e86848460405180848152602001838152602001828152602001935050505060405180910390a2505b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611106576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611cb96024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561118c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611be26022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112fd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611c946025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611383576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611b9d6023913960400191505060405180910390fd5b61138e838383611b97565b6113f981604051806060016040528060268152602001611c04602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115389092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061148c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c590919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115aa57808201518184015260208101905061158f565b50505050905090810190601f1680156115d75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b6000808314156116055760009050611672565b600082840290508284828161161657fe5b041461166d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611c2a6021913960400191505060405180910390fd5b809150505b92915050565b60008082116116ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816116f857fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611787576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611c736021913960400191505060405180910390fd5b61179382600083611b97565b6117fe81604051806060016040528060228152602001611bc0602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115389092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118558160025461194d90919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600080828401905083811015611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000828211156119c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b611a7f60008383611b97565b611a94816002546118c590919063ffffffff16565b600281905550611aeb816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c590919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220cda77574e201f2bc7b880e03580e6af13d877369a041a6e6502198673b50514964736f6c634300060c00330000000000000000000000009a92b5ebf1f6f6f7d93696fcd44e5cf75035a756

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

0000000000000000000000009a92b5ebf1f6f6f7d93696fcd44e5cf75035a756

-----Decoded View---------------
Arg [0] : _finn (address): 0x9a92b5ebf1f6f6f7d93696fcd44e5cf75035a756

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009a92b5ebf1f6f6f7d93696fcd44e5cf75035a756


Deployed ByteCode Sourcemap

22628:2163:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13464:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15610:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14563:108;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16261:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;24372:416;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14407:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22714:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;16991:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14734:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13674:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17712:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;15074:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23145:1115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15312:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13464:91;13509:13;13542:5;13535:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13464:91;:::o;15610:169::-;15693:4;15710:39;15719:12;:10;:12::i;:::-;15733:7;15742:6;15710:8;:39::i;:::-;15767:4;15760:11;;15610:169;;;;:::o;14563:108::-;14624:7;14651:12;;14644:19;;14563:108;:::o;16261:321::-;16367:4;16384:36;16394:6;16402:9;16413:6;16384:9;:36::i;:::-;16431:121;16440:6;16448:12;:10;:12::i;:::-;16462:89;16500:6;16462:89;;;;;;;;;;;;;;;;;:11;:19;16474:6;16462:19;;;;;;;;;;;;;;;:33;16482:12;:10;:12::i;:::-;16462:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;16431:8;:121::i;:::-;16570:4;16563:11;;16261:321;;;;;:::o;24372:416::-;24472:19;24494:13;:11;:13::i;:::-;24472:35;;24577:12;24592:58;24638:11;24592:41;24603:4;;;;;;;;;;;:14;;;24626:4;24603:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24592:6;:10;;:41;;;;:::i;:::-;:45;;:58;;;;:::i;:::-;24577:73;;24661:25;24667:10;24679:6;24661:5;:25::i;:::-;24697:4;;;;;;;;;;;:13;;;24711:10;24723:4;24697:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24755:10;24746:34;;;24767:4;24773:6;24746:34;;;;;;;;;;;;;;;;;;;;;;;;24372:416;;;:::o;14407:91::-;14456:5;14481:9;;;;;;;;;;;14474:16;;14407:91;:::o;22714:18::-;;;;;;;;;;;;;:::o;16991:218::-;17079:4;17096:83;17105:12;:10;:12::i;:::-;17119:7;17128:50;17167:10;17128:11;:25;17140:12;:10;:12::i;:::-;17128:25;;;;;;;;;;;;;;;:34;17154:7;17128:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;17096:8;:83::i;:::-;17197:4;17190:11;;16991:218;;;;:::o;14734:127::-;14808:7;14835:9;:18;14845:7;14835:18;;;;;;;;;;;;;;;;14828:25;;14734:127;;;:::o;13674:95::-;13721:13;13754:7;13747:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13674:95;:::o;17712:269::-;17805:4;17822:129;17831:12;:10;:12::i;:::-;17845:7;17854:96;17893:15;17854:96;;;;;;;;;;;;;;;;;:11;:25;17866:12;:10;:12::i;:::-;17854:25;;;;;;;;;;;;;;;:34;17880:7;17854:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;17822:8;:129::i;:::-;17969:4;17962:11;;17712:269;;;;:::o;15074:175::-;15160:4;15177:42;15187:12;:10;:12::i;:::-;15201:9;15212:6;15177:9;:42::i;:::-;15237:4;15230:11;;15074:175;;;;:::o;23145:1115::-;23256:17;23276:4;;;;;;;;;;;:14;;;23299:4;23276:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23256:49;;23364:19;23386:13;:11;:13::i;:::-;23364:35;;23454:4;;;;;;;;;;;:17;;;23472:10;23492:4;23499:7;23454:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23518:26;23547:44;23581:9;23547:4;;;;;;;;;;;:14;;;23570:4;23547:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:33;;:44;;;;:::i;:::-;23518:73;;23686:1;23671:11;:16;:34;;;;23704:1;23691:9;:14;23671:34;23667:586;;;23722:37;23728:10;23740:18;23722:5;:37::i;:::-;23787:10;23779:68;;;23799:7;23808:18;23828;23779:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23667:586;;;24064:12;24079:50;24119:9;24079:35;24102:11;24079:18;:22;;:35;;;;:::i;:::-;:39;;:50;;;;:::i;:::-;24064:65;;24144:23;24150:10;24162:4;24144:5;:23::i;:::-;24195:10;24187:54;;;24207:7;24216:18;24236:4;24187:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23667:586;;23145:1115;;;;:::o;15312:151::-;15401:7;15428:11;:18;15440:5;15428:18;;;;;;;;;;;;;;;:27;15447:7;15428:27;;;;;;;;;;;;;;;;15421:34;;15312:151;;;;:::o;3478:106::-;3531:15;3566:10;3559:17;;3478:106;:::o;20859:346::-;20978:1;20961:19;;:5;:19;;;;20953:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21059:1;21040:21;;:7;:21;;;;21032:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21143:6;21113:11;:18;21125:5;21113:18;;;;;;;;;;;;;;;:27;21132:7;21113:27;;;;;;;;;;;;;;;:36;;;;21181:7;21165:32;;21174:5;21165:32;;;21190:6;21165:32;;;;;;;;;;;;;;;;;;20859:346;;;:::o;18471:539::-;18595:1;18577:20;;:6;:20;;;;18569:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18679:1;18658:23;;:9;:23;;;;18650:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18734:47;18755:6;18763:9;18774:6;18734:20;:47::i;:::-;18814:71;18836:6;18814:71;;;;;;;;;;;;;;;;;:9;:17;18824:6;18814:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;18794:9;:17;18804:6;18794:17;;;;;;;;;;;;;;;:91;;;;18919:32;18944:6;18919:9;:20;18929:9;18919:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;18896:9;:20;18906:9;18896:20;;;;;;;;;;;;;;;:55;;;;18984:9;18967:35;;18976:6;18967:35;;;18995:6;18967:35;;;;;;;;;;;;;;;;;;18471:539;;;:::o;9456:166::-;9542:7;9575:1;9570;:6;;9578:12;9562:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9613:1;9609;:5;9602:12;;9456:166;;;;;:::o;7508:220::-;7566:7;7595:1;7590;:6;7586:20;;;7605:1;7598:8;;;;7586:20;7617:9;7633:1;7629;:5;7617:17;;7662:1;7657;7653;:5;;;;;;:10;7645:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7719:1;7712:8;;;7508:220;;;;;:::o;8206:153::-;8264:7;8296:1;8292;:5;8284:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8350:1;8346;:5;;;;;;8339:12;;8206:153;;;;:::o;20003:418::-;20106:1;20087:21;;:7;:21;;;;20079:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20159:49;20180:7;20197:1;20201:6;20159:20;:49::i;:::-;20242:68;20265:6;20242:68;;;;;;;;;;;;;;;;;:9;:18;20252:7;20242:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;20221:9;:18;20231:7;20221:18;;;;;;;;;;;;;;;:89;;;;20336:24;20353:6;20336:12;;:16;;:24;;;;:::i;:::-;20321:12;:39;;;;20402:1;20376:37;;20385:7;20376:37;;;20406:6;20376:37;;;;;;;;;;;;;;;;;;20003:418;;:::o;6629:179::-;6687:7;6707:9;6723:1;6719;:5;6707:17;;6748:1;6743;:6;;6735:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6799:1;6792:8;;;6629:179;;;;:::o;7091:158::-;7149:7;7182:1;7177;:6;;7169:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7240:1;7236;:5;7229:12;;7091:158;;;;:::o;19292:378::-;19395:1;19376:21;;:7;:21;;;;19368:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19446:49;19475:1;19479:7;19488:6;19446:20;:49::i;:::-;19523:24;19540:6;19523:12;;:16;;:24;;;;:::i;:::-;19508:12;:39;;;;19579:30;19602:6;19579:9;:18;19589:7;19579:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;19558:9;:18;19568:7;19558:18;;;;;;;;;;;;;;;:51;;;;19646:7;19625:37;;19642:1;19625:37;;;19655:6;19625:37;;;;;;;;;;;;;;;;;;19292:378;;:::o;22238:92::-;;;;:::o

Swarm Source

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