ETH Price: $3,565.24 (+3.06%)
Gas: 44 Gwei

Contract

0x23157662a9Cb9Be32D4d9bD019d9BCBaA040a62b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Basix (BASX) (@$0.2427)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve183088292023-10-08 22:45:59171 days ago1696805159IN
Basix: BASX Token
0 ETH0.0002408410
Approve176092592023-07-02 22:20:59269 days ago1688336459IN
Basix: BASX Token
0 ETH0.0005941112.82973884
Transfer175755882023-06-28 4:58:11274 days ago1687928291IN
Basix: BASX Token
0 ETH0.0006359112.80467192
Approve170103112023-04-09 11:00:35354 days ago1681038035IN
Basix: BASX Token
0 ETH0.0005960824.75007287
Approve165900462023-02-09 8:36:11413 days ago1675931771IN
Basix: BASX Token
0 ETH0.0008174933.94340459
Approve165616062023-02-05 9:11:23417 days ago1675588283IN
Basix: BASX Token
0 ETH0.0005073321.06532094
Approve164706242023-01-23 16:12:59430 days ago1674490379IN
Basix: BASX Token
0 ETH0.0009612720.7581989
Approve164204012023-01-16 15:59:11437 days ago1673884751IN
Basix: BASX Token
0 ETH0.0009987921.54050456
Approve164196412023-01-16 13:26:59437 days ago1673875619IN
Basix: BASX Token
0 ETH0.000782716.88026608
Approve163741972023-01-10 5:04:47443 days ago1673327087IN
Basix: BASX Token
0 ETH0.0007758616.73273957
Approve162881552022-12-29 4:53:23455 days ago1672289603IN
Basix: BASX Token
0 ETH0.0003553114.75333158
Approve158886792022-11-03 9:43:23511 days ago1667468603IN
Basix: BASX Token
0 ETH0.0005514422.89692159
Approve158042972022-10-22 14:39:11523 days ago1666449551IN
Basix: BASX Token
0 ETH0.000428617.79628852
Approve156360022022-09-29 2:24:59546 days ago1664418299IN
Basix: BASX Token
0 ETH0.000446219.62337302
Approve156359932022-09-29 2:23:11546 days ago1664418191IN
Basix: BASX Token
0 ETH0.0005660612.20817765
Approve155717352022-09-20 2:31:59555 days ago1663641119IN
Basix: BASX Token
0 ETH0.00025575.51468549
Approve155559652022-09-17 21:26:47557 days ago1663450007IN
Basix: BASX Token
0 ETH0.000142385.91191746
Approve155119102022-09-11 0:53:51564 days ago1662857631IN
Basix: BASX Token
0 ETH0.000315946.81384183
Transfer153334232022-08-13 12:30:42593 days ago1660393842IN
Basix: BASX Token
0 ETH0.000645999.64467509
Approve153301232022-08-13 0:08:06593 days ago1660349286IN
Basix: BASX Token
0 ETH0.000616713.30024291
Approve153218232022-08-11 16:44:01595 days ago1660236241IN
Basix: BASX Token
0 ETH0.0007066426.69808568
Approve153218232022-08-11 16:44:01595 days ago1660236241IN
Basix: BASX Token
0 ETH0.0012252926.42540709
Approve153196862022-08-11 8:34:11595 days ago1660206851IN
Basix: BASX Token
0 ETH0.0008732118.83230223
Approve153083552022-08-09 13:50:17597 days ago1660053017IN
Basix: BASX Token
0 ETH0.0002991712.42217232
Approve152404822022-07-30 0:00:16607 days ago1659139216IN
Basix: BASX Token
0 ETH0.000353817.63047792
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BasixToken

Compiler Version
v0.6.5+commit.f956cc89

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-13
*/

/*
     ___    _____  ___    _  _    _ 
    (  _`\ (  _  )(  _`\ (_)( )  ( )
    | (_) )| (_) || (_(_)| |`\`\/'/'
    |  _ <'|  _  |`\__ \ | |  >  <  
    | (_) )| | | |( )_) || | /'/\`\ 
    (____/'(_) (_)`\____)(_)(_)  (_)
*/

// File: contracts/lib/SafeMathInt.sol

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity 0.6.5;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
}

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

// File: @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/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: contracts/lib/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.5;




/**
 * @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 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. 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override virtual 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 {
        _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: @openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/BasixToken.sol

/*
     ___    _____  ___    _  _    _ 
    (  _`\ (  _  )(  _`\ (_)( )  ( )
    | (_) )| (_) || (_(_)| |`\`\/'/'
    |  _ <'|  _  |`\__ \ | |  >  <  
    | (_) )| | | |( )_) || | /'/\`\ 
    (____/'(_) (_)`\____)(_)(_)  (_)
*/
pragma solidity 0.6.5;





/**
 * @title BasixToken ERC20 token
 * @dev This is part of an implementation of the BasixToken Ideal Money protocol.
 *      BasixToken is a normal ERC20 token, but its supply can be adjusted by splitting and
 *      combining tokens proportionally across all wallets.
 *
 *      BASIX balances are internally represented with a hidden denomination, 'grains'.
 *      We support splitting the currency in expansion and combining the currency on contraction by
 *      changing the exchange rate between the hidden 'grains' and the public 'fragments'.
 */
contract BasixToken is ERC20, Ownable {
    // PLEASE READ BEFORE CHANGING ANY ACCOUNTING OR MATH
    // Anytime there is division, there is a risk of numerical instability from rounding errors. In
    // order to minimize this risk, we adhere to the following guidelines:
    // 1) The conversion rate adopted is the number of grains that equals 1 fragment.
    //    The inverse rate must not be used--TOTAL_GRAINS is always the numerator and _totalSupply is
    //    always the denominator. (i.e. If you want to convert grains to fragments instead of
    //    multiplying by the inverse rate, you should divide by the normal rate)
    // 2) Grain balances converted into Fragments are always rounded down (truncated).
    //
    // We make the following guarantees:
    // - If address 'A' transfers x Fragments to address 'B'. A's resulting public balance will
    //   be decreased by precisely x Fragments, and B's public balance will be precisely
    //   increased by x Fragments.
    //
    // We do not guarantee that the sum of all balances equals the result of calling totalSupply().
    // This is because, for any conversion function 'f()' that has non-zero rounding error,
    // f(x0) + f(x1) + ... + f(xn) is not always equal to f(x0 + x1 + ... xn).
    using SafeMath for uint256;
    using SafeMathInt for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event LogMonetaryPolicyUpdated(address monetaryPolicy);

    // Used for authentication
    address public monetaryPolicy;

    modifier onlyMonetaryPolicy() {
        require(msg.sender == monetaryPolicy, "Required Monetarypolicy");
        _;
    }

    bool private rebasePausedDeprecated;
    bool private tokenPausedDeprecated;

    modifier validRecipient(address to) {
        require(to != address(0x0), "No valid address");
        require(to != address(this), "No valid address");
        _;
    }

    uint256 private constant DECIMALS = 18;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 2000000 * uint(10)**DECIMALS;
    uint256 private constant TRANSFER_FEE = 100; // 1%

    // TOTAL_GRAINS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _grainsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint256 private constant TOTAL_GRAINS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GRAINS + 1) - 1) / 2
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;
    uint256 private _grainsPerFragment;
    mapping(address => uint256) private _grainBalances;
    mapping(address => bool) _feeWhiteList;

    // This is denominated in Fragments, because the grains-fragments conversion might change before
    // it's fully paid.
    mapping (address => mapping (address => uint256)) private _allowedFragments;

    constructor (
        string memory name_,
        string memory symbol_,
        address owner_,
        address pool_
    ) 
      ERC20(name_, symbol_) public {

        rebasePausedDeprecated = false;
        tokenPausedDeprecated = false;

        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _grainsPerFragment = TOTAL_GRAINS.div(_totalSupply);

        uint256 poolVal = 200000 * (10 ** DECIMALS);
        uint256 poolGrains = poolVal.mul(_grainsPerFragment);

        _grainBalances[owner_] = TOTAL_GRAINS.sub(poolGrains);
        _grainBalances[pool_] = poolGrains;

        addToWhitelist(owner_);
        addToWhitelist(pool_);

        emit Transfer(address(0x0), owner_, _totalSupply.sub(poolVal));
        emit Transfer(address(0x0), pool_, poolVal);
    }
    
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function addToWhitelist(address wallet) onlyOwner() public {
        _feeWhiteList[wallet] = true;
    }

    function removeFromWhitelist(address wallet) onlyOwner() public {
        _feeWhiteList[wallet] = false;
    }

    /**
     * @param monetaryPolicy_ The address of the monetary policy contract to use for authentication.
     */
    function setMonetaryPolicy(address monetaryPolicy_)
        public
        onlyOwner
    {
        monetaryPolicy = monetaryPolicy_;
        emit LogMonetaryPolicyUpdated(monetaryPolicy_);
    }

    /**
     * @dev Notifies Fragments contract about a new rebase cycle.
     * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
     * @return The total number of fragments after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta)
        public
        onlyMonetaryPolicy
        returns (uint256)
    {
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

        if (supplyDelta < 0) {
            _totalSupply = _totalSupply.sub(uint256(supplyDelta.abs()));
        } else {
            _totalSupply = _totalSupply.add(uint256(supplyDelta));
        }

        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _grainsPerFragment = TOTAL_GRAINS.div(_totalSupply);

        // From this point forward, _grainsPerFragment is taken as the source of truth.
        // We recalculate a new _totalSupply to be in agreement with the _grainsPerFragment
        // conversion rate.
        // This means our applied supplyDelta can deviate from the requested supplyDelta,
        // but this deviation is guaranteed to be < (_totalSupply^2)/(TOTAL_GRAINS - _totalSupply).
        //
        // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this
        // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is
        // ever increased, it must be re-included.
        // _totalSupply = TOTAL_GRAINS.div(_grainsPerFragment)

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who) public view override returns (uint256) {
        return _grainBalances[who].div(_grainsPerFragment);
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value)
        public
        override
        validRecipient(to)
        returns (bool)
    {
            if (_feeWhiteList[to] || _feeWhiteList[msg.sender]) {
            uint256 grainValue = value.mul(_grainsPerFragment);

            _grainBalances[msg.sender] = _grainBalances[msg.sender].sub(grainValue);
            _grainBalances[to] = _grainBalances[to].add(grainValue);
            emit Transfer(msg.sender, to, value);
            return true;
        } else {
            uint256 grainValue = value.mul(_grainsPerFragment);
            uint256 grainFee = grainValue.div(10000).mul(TRANSFER_FEE);
            uint256 newGrainsValue = grainValue - grainFee;
            uint256 newValue = newGrainsValue.div(_grainsPerFragment);

            _burn(msg.sender, grainFee);

            _grainBalances[msg.sender] = _grainBalances[msg.sender].sub(newGrainsValue);
            _grainBalances[to] = _grainBalances[to].add(newGrainsValue);
            emit Transfer(msg.sender, to, newValue);
            return true;
        }
    }

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(address from, address to, uint256 value)
        public
        override
        validRecipient(to)
        returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        if (_feeWhiteList[from] || _feeWhiteList[to]) {
            uint256 grainValue = value.mul(_grainsPerFragment);

            _grainBalances[from] = _grainBalances[from].sub(grainValue);
            _grainBalances[to] = _grainBalances[to].add(grainValue);
            emit Transfer(from, to, value);

            return true;
        } else {
            uint256 grainValue = value.mul(_grainsPerFragment);
            uint256 grainFee = grainValue.div(10000).mul(TRANSFER_FEE);
            uint256 newGrainsValue = grainValue - grainFee;
            uint256 newValue = newGrainsValue.div(_grainsPerFragment);

            _burn(from, grainFee);

            _grainBalances[from] = _grainBalances[from].sub(newGrainsValue);
            _grainBalances[to] = _grainBalances[to].add(newGrainsValue);
            emit Transfer(from, to, newValue);

            return true;
        }
    }

    function _burn(address account, uint256 grainsAmount) internal override {
        require(account != address(0), "ERC20: burn from the zero address");

        _grainBalances[account] = _grainBalances[account].sub(grainsAmount, "ERC20: burn amount exceeds balance");
        
        uint256 amount = grainsAmount.div(_grainsPerFragment);
        
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
        public
        override
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        override
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        override
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"pool_","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":false,"internalType":"address","name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","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":"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":"monetaryPolicy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"int256","name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001dd438038062001dd4833981810160405260808110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604090815260208281015192909101518651929450925085918591620001c5916003918501906200066b565b508051620001db9060049060208401906200066b565b50506005805460ff19166012179055506000620002006001600160e01b03620003c816565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006805461ffff60a01b191690556a01a784379d99db420000006007819055620002999069085afffa6ff50bffffff1990620003cd602090811b6200130717901c565b6008819055692a5a058fc295ed00000090600090620002c690839062000420602090811b6200125417901c565b9050620002eb69085afffa6ff50bffffff19826200047e602090811b6200120b17901c565b6001600160a01b038086166000908152600960205260408082209390935590851681522081905562000326846001600160e01b03620004c816565b6200033a836001600160e01b03620004c816565b836001600160a01b031660006001600160a01b031660008051602062001db48339815191526200037b856007546200047e60201b6200120b1790919060201c565b60408051918252519081900360200190a36040805183815290516001600160a01b0385169160009160008051602062001db48339815191529181900360200190a35050505050506200070d565b335b90565b60006200041783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200056760201b60201c565b90505b92915050565b60008262000431575060006200041a565b828202828482816200043f57fe5b0414620004175760405162461bcd60e51b815260040180806020018281038252602181526020018062001d936021913960400191505060405180910390fd5b60006200041783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200060e60201b60201c565b620004db6001600160e01b03620003c816565b60055461010090046001600160a01b0390811691161462000543576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b60008183620005f75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620005bb578181015183820152602001620005a1565b50505050905090810190601f168015620005e95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200060457fe5b0495945050505050565b60008184841115620006635760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315620005bb578181015183820152602001620005a1565b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006ae57805160ff1916838001178555620006de565b82800160010185558215620006de579182015b82811115620006de578251825591602001919060010190620006c1565b50620006ec929150620006f0565b5090565b620003ca91905b80821115620006ec5760008155600101620006f7565b611676806200071d6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638ab1d681116100ad578063a457c2d711610071578063a457c2d714610350578063a9059cbb1461037c578063dd62ed3e146103a8578063e43252d7146103d6578063f2fde38b146103fc57610121565b80638ab1d681146102d05780638b5a6a08146102f65780638da5cb5b1461031c5780638e27d7d71461034057806395d89b411461034857610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806370a082311461027d578063715018a6146102a35780637a43e23f146102ad57610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e610422565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104b8565b604080519115158252519081900360200190f35b6101eb61051f565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b03813581169160208101359091169060400135610525565b61023b61083a565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610843565b6101eb6004803603602081101561029357600080fd5b50356001600160a01b03166108dc565b6102ab61090a565b005b6101eb600480360360408110156102c357600080fd5b50803590602001356109b7565b6102ab600480360360208110156102e657600080fd5b50356001600160a01b0316610b1d565b6102ab6004803603602081101561030c57600080fd5b50356001600160a01b0316610b9b565b610324610c4c565b604080516001600160a01b039092168252519081900360200190f35b610324610c60565b61012e610c6f565b6101cf6004803603604081101561036657600080fd5b506001600160a01b038135169060200135610cd0565b6101cf6004803603604081101561039257600080fd5b506001600160a01b038135169060200135610dbf565b6101eb600480360360408110156103be57600080fd5b506001600160a01b0381358116916020013516611056565b6102ab600480360360208110156103ec57600080fd5b50356001600160a01b0316611081565b6102ab6004803603602081101561041257600080fd5b50356001600160a01b0316611102565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b820191906000526020600020905b81548152906001019060200180831161049157829003601f168201915b5050505050905090565b336000818152600b602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60075490565b6000826001600160a01b038116610576576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0381163014156105c7576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0385166000908152600b602090815260408083203384529091529020546105fb908463ffffffff61120b16565b6001600160a01b0386166000818152600b60209081526040808320338452825280832094909455918152600a909152205460ff168061065257506001600160a01b0384166000908152600a602052604090205460ff165b1561071e57600061066e6008548561125490919063ffffffff16565b6001600160a01b03871660009081526009602052604090205490915061069a908263ffffffff61120b16565b6001600160a01b0380881660009081526009602052604080822093909355908716815220546106cf908263ffffffff6112ad16565b6001600160a01b0380871660008181526009602090815260409182902094909455805188815290519193928a169260008051602061160083398151915292918290030190a36001925050610832565b60006107356008548561125490919063ffffffff16565b9050600061075c60646107508461271063ffffffff61130716565b9063ffffffff61125416565b6008549091508183039060009061077a90839063ffffffff61130716565b90506107868984611349565b6001600160a01b0389166000908152600960205260409020546107af908363ffffffff61120b16565b6001600160a01b03808b1660009081526009602052604080822093909355908a16815220546107e4908363ffffffff6112ad16565b6001600160a01b03808a1660008181526009602090815260409182902094909455805185815290519193928d169260008051602061160083398151915292918290030190a360019550505050505b509392505050565b60055460ff1690565b336000908152600b602090815260408083206001600160a01b0386168452909152812054610877908363ffffffff6112ad16565b336000818152600b602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6008546001600160a01b0382166000908152600960205260408120549091610519919063ffffffff61130716565b61091261144e565b60055461010090046001600160a01b03908116911614610967576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6006546000906001600160a01b03163314610a19576040805162461bcd60e51b815260206004820152601760248201527f5265717569726564204d6f6e6574617279706f6c696379000000000000000000604482015290519081900360640190fd5b81610a5f57600754604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250600754610519565b6000821215610a8b57610a83610a7483611452565b6007549063ffffffff61120b16565b600755610aa2565b600754610a9e908363ffffffff6112ad16565b6007555b6007546001600160801b031015610abf576001600160801b036007555b600754610ad89069085afffa6ff50bffffff1990611307565b600855600754604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060075492915050565b610b2561144e565b60055461010090046001600160a01b03908116911614610b7a576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610ba361144e565b60055461010090046001600160a01b03908116911614610bf8576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b60055461010090046001600160a01b031690565b6006546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b336000908152600b602090815260408083206001600160a01b0386168452909152812054808310610d2457336000908152600b602090815260408083206001600160a01b0388168452909152812055610d59565b610d34818463ffffffff61120b16565b336000908152600b602090815260408083206001600160a01b03891684529091529020555b336000818152600b602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116610e10576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b038116301415610e61576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff1680610e975750336000908152600a602052604090205460ff165b15610f55576000610eb36008548561125490919063ffffffff16565b33600090815260096020526040902054909150610ed6908263ffffffff61120b16565b33600090815260096020526040808220929092556001600160a01b03871681522054610f08908263ffffffff6112ad16565b6001600160a01b0386166000818152600960209081526040918290209390935580518781529051919233926000805160206116008339815191529281900390910190a3600192505061104f565b6000610f6c6008548561125490919063ffffffff16565b90506000610f8760646107508461271063ffffffff61130716565b60085490915081830390600090610fa590839063ffffffff61130716565b9050610fb13384611349565b33600090815260096020526040902054610fd1908363ffffffff61120b16565b33600090815260096020526040808220929092556001600160a01b038a1681522054611003908363ffffffff6112ad16565b6001600160a01b0389166000818152600960209081526040918290209390935580518481529051919233926000805160206116008339815191529281900390910190a360019550505050505b5092915050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b61108961144e565b60055461010090046001600160a01b039081169116146110de576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b61110a61144e565b60055461010090046001600160a01b0390811691161461115f576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b0381166111a45760405162461bcd60e51b81526004018080602001828103825260268152602001806115996026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600061124d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061147a565b9392505050565b60008261126357506000610519565b8282028284828161127057fe5b041461124d5760405162461bcd60e51b81526004018080602001828103825260218152602001806115bf6021913960400191505060405180910390fd5b60008282018381101561124d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061124d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611511565b6001600160a01b03821661138e5760405162461bcd60e51b81526004018080602001828103825260218152602001806116206021913960400191505060405180910390fd5b6113d181604051806060016040528060228152602001611577602291396001600160a01b038516600090815260096020526040902054919063ffffffff61147a16565b6001600160a01b03831660009081526009602052604081209190915560085461140190839063ffffffff61130716565b600754909150611417908263ffffffff61120b16565b6007556040805182815290516000916001600160a01b038616916000805160206116008339815191529181900360200190a3505050565b3390565b6000600160ff1b82141561146557600080fd5b600082126114735781610519565b5060000390565b600081848411156115095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114ce5781810151838201526020016114b6565b50505050905090810190601f1680156114fb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115605760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114ce5781810151838201526020016114b6565b50600083858161156c57fe5b049594505050505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a26469706673582212209aabd8b928463557d3394ab36d30d7d61b01530f851c570b390365960d5c5aa064736f6c63430006050033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000076f4f8b4ae3520fdd687c7ce519b9ade5c86ce170000000000000000000000001846b51ea6ca58878bb6bfd3b0911098cee53b980000000000000000000000000000000000000000000000000000000000000005426173697800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044241535800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c80638ab1d681116100ad578063a457c2d711610071578063a457c2d714610350578063a9059cbb1461037c578063dd62ed3e146103a8578063e43252d7146103d6578063f2fde38b146103fc57610121565b80638ab1d681146102d05780638b5a6a08146102f65780638da5cb5b1461031c5780638e27d7d71461034057806395d89b411461034857610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806370a082311461027d578063715018a6146102a35780637a43e23f146102ad57610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e610422565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104b8565b604080519115158252519081900360200190f35b6101eb61051f565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b03813581169160208101359091169060400135610525565b61023b61083a565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610843565b6101eb6004803603602081101561029357600080fd5b50356001600160a01b03166108dc565b6102ab61090a565b005b6101eb600480360360408110156102c357600080fd5b50803590602001356109b7565b6102ab600480360360208110156102e657600080fd5b50356001600160a01b0316610b1d565b6102ab6004803603602081101561030c57600080fd5b50356001600160a01b0316610b9b565b610324610c4c565b604080516001600160a01b039092168252519081900360200190f35b610324610c60565b61012e610c6f565b6101cf6004803603604081101561036657600080fd5b506001600160a01b038135169060200135610cd0565b6101cf6004803603604081101561039257600080fd5b506001600160a01b038135169060200135610dbf565b6101eb600480360360408110156103be57600080fd5b506001600160a01b0381358116916020013516611056565b6102ab600480360360208110156103ec57600080fd5b50356001600160a01b0316611081565b6102ab6004803603602081101561041257600080fd5b50356001600160a01b0316611102565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b820191906000526020600020905b81548152906001019060200180831161049157829003601f168201915b5050505050905090565b336000818152600b602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60075490565b6000826001600160a01b038116610576576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0381163014156105c7576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0385166000908152600b602090815260408083203384529091529020546105fb908463ffffffff61120b16565b6001600160a01b0386166000818152600b60209081526040808320338452825280832094909455918152600a909152205460ff168061065257506001600160a01b0384166000908152600a602052604090205460ff165b1561071e57600061066e6008548561125490919063ffffffff16565b6001600160a01b03871660009081526009602052604090205490915061069a908263ffffffff61120b16565b6001600160a01b0380881660009081526009602052604080822093909355908716815220546106cf908263ffffffff6112ad16565b6001600160a01b0380871660008181526009602090815260409182902094909455805188815290519193928a169260008051602061160083398151915292918290030190a36001925050610832565b60006107356008548561125490919063ffffffff16565b9050600061075c60646107508461271063ffffffff61130716565b9063ffffffff61125416565b6008549091508183039060009061077a90839063ffffffff61130716565b90506107868984611349565b6001600160a01b0389166000908152600960205260409020546107af908363ffffffff61120b16565b6001600160a01b03808b1660009081526009602052604080822093909355908a16815220546107e4908363ffffffff6112ad16565b6001600160a01b03808a1660008181526009602090815260409182902094909455805185815290519193928d169260008051602061160083398151915292918290030190a360019550505050505b509392505050565b60055460ff1690565b336000908152600b602090815260408083206001600160a01b0386168452909152812054610877908363ffffffff6112ad16565b336000818152600b602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6008546001600160a01b0382166000908152600960205260408120549091610519919063ffffffff61130716565b61091261144e565b60055461010090046001600160a01b03908116911614610967576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6006546000906001600160a01b03163314610a19576040805162461bcd60e51b815260206004820152601760248201527f5265717569726564204d6f6e6574617279706f6c696379000000000000000000604482015290519081900360640190fd5b81610a5f57600754604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250600754610519565b6000821215610a8b57610a83610a7483611452565b6007549063ffffffff61120b16565b600755610aa2565b600754610a9e908363ffffffff6112ad16565b6007555b6007546001600160801b031015610abf576001600160801b036007555b600754610ad89069085afffa6ff50bffffff1990611307565b600855600754604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060075492915050565b610b2561144e565b60055461010090046001600160a01b03908116911614610b7a576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610ba361144e565b60055461010090046001600160a01b03908116911614610bf8576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b60055461010090046001600160a01b031690565b6006546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ae5780601f10610483576101008083540402835291602001916104ae565b336000908152600b602090815260408083206001600160a01b0386168452909152812054808310610d2457336000908152600b602090815260408083206001600160a01b0388168452909152812055610d59565b610d34818463ffffffff61120b16565b336000908152600b602090815260408083206001600160a01b03891684529091529020555b336000818152600b602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116610e10576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b038116301415610e61576040805162461bcd60e51b815260206004820152601060248201526f4e6f2076616c6964206164647265737360801b604482015290519081900360640190fd5b6001600160a01b0384166000908152600a602052604090205460ff1680610e975750336000908152600a602052604090205460ff165b15610f55576000610eb36008548561125490919063ffffffff16565b33600090815260096020526040902054909150610ed6908263ffffffff61120b16565b33600090815260096020526040808220929092556001600160a01b03871681522054610f08908263ffffffff6112ad16565b6001600160a01b0386166000818152600960209081526040918290209390935580518781529051919233926000805160206116008339815191529281900390910190a3600192505061104f565b6000610f6c6008548561125490919063ffffffff16565b90506000610f8760646107508461271063ffffffff61130716565b60085490915081830390600090610fa590839063ffffffff61130716565b9050610fb13384611349565b33600090815260096020526040902054610fd1908363ffffffff61120b16565b33600090815260096020526040808220929092556001600160a01b038a1681522054611003908363ffffffff6112ad16565b6001600160a01b0389166000818152600960209081526040918290209390935580518481529051919233926000805160206116008339815191529281900390910190a360019550505050505b5092915050565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205490565b61108961144e565b60055461010090046001600160a01b039081169116146110de576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b61110a61144e565b60055461010090046001600160a01b0390811691161461115f576040805162461bcd60e51b815260206004820181905260248201526000805160206115e0833981519152604482015290519081900360640190fd5b6001600160a01b0381166111a45760405162461bcd60e51b81526004018080602001828103825260268152602001806115996026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600061124d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061147a565b9392505050565b60008261126357506000610519565b8282028284828161127057fe5b041461124d5760405162461bcd60e51b81526004018080602001828103825260218152602001806115bf6021913960400191505060405180910390fd5b60008282018381101561124d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061124d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611511565b6001600160a01b03821661138e5760405162461bcd60e51b81526004018080602001828103825260218152602001806116206021913960400191505060405180910390fd5b6113d181604051806060016040528060228152602001611577602291396001600160a01b038516600090815260096020526040902054919063ffffffff61147a16565b6001600160a01b03831660009081526009602052604081209190915560085461140190839063ffffffff61130716565b600754909150611417908263ffffffff61120b16565b6007556040805182815290516000916001600160a01b038616916000805160206116008339815191529181900360200190a3505050565b3390565b6000600160ff1b82141561146557600080fd5b600082126114735781610519565b5060000390565b600081848411156115095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114ce5781810151838201526020016114b6565b50505050905090810190601f1680156114fb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115605760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114ce5781810151838201526020016114b6565b50600083858161156c57fe5b049594505050505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a26469706673582212209aabd8b928463557d3394ab36d30d7d61b01530f851c570b390365960d5c5aa064736f6c63430006050033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000076f4f8b4ae3520fdd687c7ce519b9ade5c86ce170000000000000000000000001846b51ea6ca58878bb6bfd3b0911098cee53b980000000000000000000000000000000000000000000000000000000000000005426173697800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044241535800000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Basix
Arg [1] : symbol_ (string): BASX
Arg [2] : owner_ (address): 0x76f4F8B4ae3520Fdd687C7CE519B9AdE5C86CE17
Arg [3] : pool_ (address): 0x1846B51eA6Ca58878bB6bFd3B0911098ceE53b98

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000076f4f8b4ae3520fdd687c7ce519b9ade5c86ce17
Arg [3] : 0000000000000000000000001846b51ea6ca58878bb6bfd3b0911098cee53b98
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4261736978000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4241535800000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

26702:12596:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;26702:12596:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;14649: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;14649:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37518:251;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;37518:251:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30540:100;;;:::i;:::-;;;;;;;;;;;;;;;;35237:1168;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;35237:1168:0;;;;;;;;;;;;;;;;;:::i;15576:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38142:361;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;38142:361:0;;;;;;;;:::i;33009:140::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;33009:140:0;-1:-1:-1;;;;;33009:140:0;;:::i;25274:148::-;;;:::i;:::-;;31470:1418;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31470:1418:0;;;;;;;:::i;30762:112::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30762:112:0;-1:-1:-1;;;;;30762:112:0;;:::i;31002:200::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31002:200:0;-1:-1:-1;;;;;31002:200:0;;:::i;24632:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;24632:79:0;;;;;;;;;;;;;;28224:29;;;:::i;14851:87::-;;;:::i;38765:530::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;38765:530:0;;;;;;;;:::i;33375:1101::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;33375:1101:0;;;;;;;;:::i;34783:192::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;34783:192:0;;;;;;;;;;:::i;30648:106::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30648:106:0;-1:-1:-1;;;;;30648:106:0;;:::i;25577:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25577:244:0;-1:-1:-1;;;;;25577:244:0;;:::i;14649:83::-;14719:5;14712:12;;;;;;;;-1:-1:-1;;14712:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14686:13;;14712:12;;14719:5;;14712:12;;14719:5;14712:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14649:83;:::o;37518:251::-;37659:10;37619:4;37641:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;37641:38:0;;;;;;;;;;;:46;;;37703:36;;;;;;;37619:4;;37641:38;;37659:10;;37703:36;;;;;;;;-1:-1:-1;37757:4:0;37518:251;;;;;:::o;30540:100::-;30620:12;;30540:100;:::o;35237:1168::-;35380:4;35358:2;-1:-1:-1;;;;;28535:18:0;;28527:47;;;;;-1:-1:-1;;;28527:47:0;;;;;;;;;;;;-1:-1:-1;;;28527:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28593:19:0;;28607:4;28593:19;;28585:48;;;;;-1:-1:-1;;;28585:48:0;;;;;;;;;;;;-1:-1:-1;;;28585:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;35440:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;35464:10:::1;35440:35:::0;;;;;;;;:46:::1;::::0;35480:5;35440:46:::1;:39;:46;:::i;:::-;-1:-1:-1::0;;;;;35402:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;35426:10:::1;35402:35:::0;;;;;;;:84;;;;35503:19;;;:13:::1;:19:::0;;;;;::::1;;::::0;:40:::1;;-1:-1:-1::0;;;;;;35526:17:0;::::1;;::::0;;;:13:::1;:17;::::0;;;;;::::1;;35503:40;35499:899;;;35560:18;35581:29;35591:18;;35581:5;:9;;:29;;;;:::i;:::-;-1:-1:-1::0;;;;;35650:20:0;::::1;;::::0;;;:14:::1;:20;::::0;;;;;35560:50;;-1:-1:-1;35650:36:0::1;::::0;35560:50;35650:36:::1;:24;:36;:::i;:::-;-1:-1:-1::0;;;;;35627:20:0;;::::1;;::::0;;;:14:::1;:20;::::0;;;;;:59;;;;35722:18;;::::1;::::0;;;;:34:::1;::::0;35745:10;35722:34:::1;:22;:34;:::i;:::-;-1:-1:-1::0;;;;;35701:18:0;;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:55;;;;35776:25;;;;;;;35701:18;;35776:25;;::::1;::::0;-1:-1:-1;;;;;;;;;;;35776:25:0;;;;;;;::::1;35825:4;35818:11;;;;;35499:899;35862:18;35883:29;35893:18;;35883:5;:9;;:29;;;;:::i;:::-;35862:50:::0;-1:-1:-1;35927:16:0::1;35946:39;28890:3;35946:21;35862:50:::0;35961:5:::1;35946:21;:14;:21;:::i;:::-;:25:::0;:39:::1;:25;:39;:::i;:::-;36099:18;::::0;35927:58;;-1:-1:-1;36025:21:0;;::::1;::::0;36000:22:::1;::::0;36080:38:::1;::::0;36025:21;;36080:38:::1;:18;:38;:::i;:::-;36061:57;;36135:21;36141:4;36147:8;36135:5;:21::i;:::-;-1:-1:-1::0;;;;;36196:20:0;::::1;;::::0;;;:14:::1;:20;::::0;;;;;:40:::1;::::0;36221:14;36196:40:::1;:24;:40;:::i;:::-;-1:-1:-1::0;;;;;36173:20:0;;::::1;;::::0;;;:14:::1;:20;::::0;;;;;:63;;;;36272:18;;::::1;::::0;;;;:38:::1;::::0;36295:14;36272:38:::1;:22;:38;:::i;:::-;-1:-1:-1::0;;;;;36251:18:0;;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:59;;;;36330:28;;;;;;;36251:18;;36330:28;;::::1;::::0;-1:-1:-1;;;;;;;;;;;36330:28:0;;;;;;;::::1;36382:4;36375:11;;;;;;35499:899;35237:1168:::0;;;;;;:::o;15576:83::-;15642:9;;;;15576:83;:::o;38142:361::-;38352:10;38258:4;38334:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;38334:38:0;;;;;;;;;;:54;;38377:10;38334:54;:42;:54;:::i;:::-;38298:10;38280:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;38280:38:0;;;;;;;;;;;;:108;;;38404:69;;;;;;38280:38;;38404:69;;;;;;;;;;;-1:-1:-1;38491:4:0;38142:361;;;;:::o;33009:140::-;33122:18;;-1:-1:-1;;;;;33098:19:0;;33071:7;33098:19;;;:14;:19;;;;;;33071:7;;33098:43;;:19;:43;:23;:43;:::i;25274:148::-;24854:12;:10;:12::i;:::-;24844:6;;;;;-1:-1:-1;;;;;24844:6:0;;;:22;;;24836:67;;;;;-1:-1:-1;;;24836:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24836:67:0;;;;;;;;;;;;;;;25365:6:::1;::::0;25344:40:::1;::::0;25381:1:::1;::::0;25365:6:::1;::::0;::::1;-1:-1:-1::0;;;;;25365:6:0::1;::::0;25344:40:::1;::::0;25381:1;;25344:40:::1;25395:6;:19:::0;;-1:-1:-1;;;;;;25395:19:0::1;::::0;;25274:148::o;31470:1418::-;28325:14;;31583:7;;-1:-1:-1;;;;;28325:14:0;28311:10;:28;28303:64;;;;;-1:-1:-1;;;28303:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31612:16;31608:118:::1;;31667:12;::::0;31650:30:::1;::::0;;;;;;31660:5;;31650:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;31702:12:0::1;::::0;31695:19:::1;;31608:118;31756:1;31742:11;:15;31738:193;;;31789:44;31814:17;:11;:15;:17::i;:::-;31789:12;::::0;;:44:::1;:16;:44;:::i;:::-;31774:12;:59:::0;31738:193:::1;;;31881:12;::::0;:38:::1;::::0;31906:11;31881:38:::1;:16;:38;:::i;:::-;31866:12;:53:::0;31738:193:::1;31947:12;::::0;-1:-1:-1;;;;;;31943:83:0::1;;;-1:-1:-1::0;;;;;31989:12:0::1;:25:::0;31943:83:::1;32076:12;::::0;32059:30:::1;::::0;-1:-1:-1;;29127:54:0;32059:16:::1;:30::i;:::-;32038:18;:51:::0;32837:12:::1;::::0;32820:30:::1;::::0;;;;;;32830:5;;32820:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;32868:12:0::1;::::0;31470:1418;;;;:::o;30762:112::-;24854:12;:10;:12::i;:::-;24844:6;;;;;-1:-1:-1;;;;;24844:6:0;;;:22;;;24836:67;;;;;-1:-1:-1;;;24836:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24836:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30837:21:0::1;30861:5;30837:21:::0;;;:13:::1;:21;::::0;;;;:29;;-1:-1:-1;;30837:29:0::1;::::0;;30762:112::o;31002:200::-;24854:12;:10;:12::i;:::-;24844:6;;;;;-1:-1:-1;;;;;24844:6:0;;;:22;;;24836:67;;;;;-1:-1:-1;;;24836:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24836:67:0;;;;;;;;;;;;;;;31105:14:::1;:32:::0;;-1:-1:-1;;;;;31105:32:0;::::1;-1:-1:-1::0;;;;;;31105:32:0;;::::1;::::0;::::1;::::0;;;31153:41:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;31002:200:::0;:::o;24632:79::-;24697:6;;;;;-1:-1:-1;;;;;24697:6:0;;24632:79::o;28224:29::-;;;-1:-1:-1;;;;;28224:29:0;;:::o;14851:87::-;14923:7;14916:14;;;;;;;;-1:-1:-1;;14916:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14890:13;;14916:14;;14923:7;;14916:14;;14923:7;14916:14;;;;;;;;;;;;;;;;;;;;;;;;38765:530;38945:10;38886:4;38927:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;38927:38:0;;;;;;;;;;38980:27;;;38976:205;;39042:10;39065:1;39024:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;39024:38:0;;;;;;;;;:42;38976:205;;;39140:29;:8;39153:15;39140:29;:12;:29;:::i;:::-;39117:10;39099:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;39099:38:0;;;;;;;;;:70;38976:205;39205:10;39226:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;39196:69:0;;39226:38;;;;;;;;;;;39196:69;;;;;;;;;39205:10;39196:69;;;;;;;;;;;-1:-1:-1;39283:4:0;;38765:530;-1:-1:-1;;;38765:530:0:o;33375:1101::-;33500:4;33478:2;-1:-1:-1;;;;;28535:18:0;;28527:47;;;;;-1:-1:-1;;;28527:47:0;;;;;;;;;;;;-1:-1:-1;;;28527:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28593:19:0;;28607:4;28593:19;;28585:48;;;;;-1:-1:-1;;;28585:48:0;;;;;;;;;;;;-1:-1:-1;;;28585:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33530:17:0;::::1;;::::0;;;:13:::1;:17;::::0;;;;;::::1;;::::0;:46:::1;;-1:-1:-1::0;33565:10:0::1;33551:25;::::0;;;:13:::1;:25;::::0;;;;;::::1;;33530:46;33526:943;;;33593:18;33614:29;33624:18;;33614:5;:9;;:29;;;;:::i;:::-;33704:10;33689:26;::::0;;;:14:::1;:26;::::0;;;;;33593:50;;-1:-1:-1;33689:42:0::1;::::0;33593:50;33689:42:::1;:30;:42;:::i;:::-;33675:10;33660:26;::::0;;;:14:::1;:26;::::0;;;;;:71;;;;-1:-1:-1;;;;;33767:18:0;::::1;::::0;;;;:34:::1;::::0;33790:10;33767:34:::1;:22;:34;:::i;:::-;-1:-1:-1::0;;;;;33746:18:0;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:55;;;;33821:31;;;;;;;33746:18;;33830:10:::1;::::0;-1:-1:-1;;;;;;;;;;;33821:31:0;;;;;;;;::::1;33874:4;33867:11;;;;;33526:943;33911:18;33932:29;33942:18;;33932:5;:9;;:29;;;;:::i;:::-;33911:50:::0;-1:-1:-1;33976:16:0::1;33995:39;28890:3;33995:21;33911:50:::0;34010:5:::1;33995:21;:14;:21;:::i;:39::-;34148:18;::::0;33976:58;;-1:-1:-1;34074:21:0;;::::1;::::0;34049:22:::1;::::0;34129:38:::1;::::0;34074:21;;34129:38:::1;:18;:38;:::i;:::-;34110:57;;34184:27;34190:10;34202:8;34184:5;:27::i;:::-;34272:10;34257:26;::::0;;;:14:::1;:26;::::0;;;;;:46:::1;::::0;34288:14;34257:46:::1;:30;:46;:::i;:::-;34243:10;34228:26;::::0;;;:14:::1;:26;::::0;;;;;:75;;;;-1:-1:-1;;;;;34339:18:0;::::1;::::0;;;;:38:::1;::::0;34362:14;34339:38:::1;:22;:38;:::i;:::-;-1:-1:-1::0;;;;;34318:18:0;::::1;;::::0;;;:14:::1;:18;::::0;;;;;;;;:59;;;;34397:34;;;;;;;34318:18;;34406:10:::1;::::0;-1:-1:-1;;;;;;;;;;;34397:34:0;;;;;;;;::::1;34453:4;34446:11;;;;;;33526:943;33375:1101:::0;;;;;:::o;34783:192::-;-1:-1:-1;;;;;34933:25:0;;;34901:7;34933:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;34783:192::o;30648:106::-;24854:12;:10;:12::i;:::-;24844:6;;;;;-1:-1:-1;;;;;24844:6:0;;;:22;;;24836:67;;;;;-1:-1:-1;;;24836:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24836:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30718:21:0::1;;::::0;;;:13:::1;:21;::::0;;;;:28;;-1:-1:-1;;30718:28:0::1;30742:4;30718:28;::::0;;30648:106::o;25577:244::-;24854:12;:10;:12::i;:::-;24844:6;;;;;-1:-1:-1;;;;;24844:6:0;;;:22;;;24836:67;;;;;-1:-1:-1;;;24836:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24836:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25666:22:0;::::1;25658:73;;;;-1:-1:-1::0;;;25658:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25768:6;::::0;25747:38:::1;::::0;-1:-1:-1;;;;;25747:38:0;;::::1;::::0;25768:6:::1;::::0;::::1;;::::0;25747:38:::1;::::0;;;::::1;25796:6;:17:::0;;-1:-1:-1;;;;;25796:17:0;;::::1;;;-1:-1:-1::0;;;;;;25796:17:0;;::::1;::::0;;;::::1;::::0;;25577:244::o;8485:136::-;8543:7;8570:43;8574:1;8577;8570:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8563:50;8485:136;-1:-1:-1;;;8485:136:0:o;9375:471::-;9433:7;9678:6;9674:47;;-1:-1:-1;9708:1:0;9701:8;;9674:47;9745:5;;;9749:1;9745;:5;:1;9769:5;;;;;:10;9761:56;;;;-1:-1:-1;;;9761:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8021:181;8079:7;8111:5;;;8135:6;;;;8127:46;;;;;-1:-1:-1;;;8127:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;10322:132;10380:7;10407:39;10411:1;10414;10407:39;;;;;;;;;;;;;;;;;:3;:39::i;36413:463::-;-1:-1:-1;;;;;36504:21:0;;36496:67;;;;-1:-1:-1;;;36496:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36602:79;36630:12;36602:79;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36602:23:0;;;;;;:14;:23;;;;;;;:79;;:27;:79;:::i;:::-;-1:-1:-1;;;;;36576:23:0;;;;;;:14;:23;;;;;:105;;;;36736:18;;36719:36;;:12;;:36;:16;:36;:::i;:::-;36791:12;;36702:53;;-1:-1:-1;36791:24:0;;36702:53;36791:24;:16;:24;:::i;:::-;36776:12;:39;36831:37;;;;;;;;36857:1;;-1:-1:-1;;;;;36831:37:0;;;-1:-1:-1;;;;;;;;;;;36831:37:0;;;;;;;;36413:463;;;:::o;3861:106::-;3949:10;3861:106;:::o;3060:129::-;3106:6;-1:-1:-1;;;3133:15:0;;;3125:24;;12:1:-1;9;2:12;3125:24:0;3171:1;3167;:5;:14;;3180:1;3167:14;;;-1:-1:-1;3175:2:0;;;3060:129::o;8924:192::-;9010:7;9046:12;9038:6;;;;9030:29;;;;-1:-1:-1;;;9030:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;9030:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9082:5:0;;;8924:192::o;10950:278::-;11036:7;11071:12;11064:5;11056:28;;;;-1:-1:-1;;;11056:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;11056:28:0;;11095:9;11111:1;11107;:5;;;;;;;10950:278;-1:-1:-1;;;;;10950:278:0:o

Swarm Source

ipfs://9aabd8b928463557d3394ab36d30d7d61b01530f851c570b390365960d5c5aa0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

The BASX token is a mix of Ampleforth economy policy and YFI with added features of NFTs.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.