ETH Price: $2,421.75 (+2.94%)

Contract

0x2Ba7529009487d4752C78Ca4dCF0B7C14ae0fcDf
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve194869702024-03-22 1:43:23176 days ago1711071803IN
0x2Ba75290...14ae0fcDf
0 ETH0.0010320422.22026225
Transfer194623622024-03-18 14:46:59179 days ago1710773219IN
0x2Ba75290...14ae0fcDf
0 ETH0.0015207243.96694723
Transfer194271592024-03-13 15:52:23184 days ago1710345143IN
0x2Ba75290...14ae0fcDf
0 ETH0.0033469364.7676661
Approve175176392023-06-20 1:27:35452 days ago1687224455IN
0x2Ba75290...14ae0fcDf
0 ETH0.0003713315.33031269
Approve168951312023-03-24 4:57:35540 days ago1679633855IN
0x2Ba75290...14ae0fcDf
0 ETH0.0003160313.04723401
Approve165042262023-01-28 8:49:35595 days ago1674895775IN
0x2Ba75290...14ae0fcDf
0 ETH0.0003454514.26188546
Approve157244342022-10-11 11:00:47704 days ago1665486047IN
0x2Ba75290...14ae0fcDf
0 ETH0.000498820.59320359
Approve155222982022-09-12 18:07:33732 days ago1663006053IN
0x2Ba75290...14ae0fcDf
0 ETH0.0003161713.05320766
Approve154592922022-09-02 12:57:25742 days ago1662123445IN
0x2Ba75290...14ae0fcDf
0 ETH0.000217758.98979068
Approve145575112022-04-10 10:47:02888 days ago1649587622IN
0x2Ba75290...14ae0fcDf
0 ETH0.0011006423.66676231
Approve143721222022-03-12 13:08:31916 days ago1647090511IN
0x2Ba75290...14ae0fcDf
0 ETH0.0019120141.1133007
Approve139238402022-01-02 4:20:19986 days ago1641097219IN
0x2Ba75290...14ae0fcDf
0 ETH0.003281270.55440851
Approve139125332021-12-31 10:12:57988 days ago1640945577IN
0x2Ba75290...14ae0fcDf
0 ETH0.0032446169.76764099
Approve138858052021-12-27 7:06:17992 days ago1640588777IN
0x2Ba75290...14ae0fcDf
0 ETH0.0021008845.17452474
Approve138349232021-12-19 10:06:061000 days ago1639908366IN
0x2Ba75290...14ae0fcDf
0 ETH0.0014353230.86325538
Transfer138092822021-12-15 10:49:311004 days ago1639565371IN
0x2Ba75290...14ae0fcDf
0 ETH0.0018555762.26776762
Approve137833632021-12-11 10:38:161008 days ago1639219096IN
0x2Ba75290...14ae0fcDf
0 ETH0.0018894240.62745452
Approve137826382021-12-11 7:59:581008 days ago1639209598IN
0x2Ba75290...14ae0fcDf
0 ETH0.0023348150.204695
Approve137826012021-12-11 7:52:371008 days ago1639209157IN
0x2Ba75290...14ae0fcDf
0 ETH0.0026385656.73611695
Approve137825922021-12-11 7:50:581008 days ago1639209058IN
0x2Ba75290...14ae0fcDf
0 ETH0.0024982353.71846669
Approve137769152021-12-10 10:43:191009 days ago1639132999IN
0x2Ba75290...14ae0fcDf
0 ETH0.0020175343.3821661
Approve137768942021-12-10 10:38:451009 days ago1639132725IN
0x2Ba75290...14ae0fcDf
0 ETH0.0044032194.68057563
Approve137768932021-12-10 10:38:151009 days ago1639132695IN
0x2Ba75290...14ae0fcDf
0 ETH0.0023245449.98381303
Approve137695152021-12-09 6:33:541010 days ago1639031634IN
0x2Ba75290...14ae0fcDf
0 ETH0.0030027264.56641545
Approve137516922021-12-06 10:11:071013 days ago1638785467IN
0x2Ba75290...14ae0fcDf
0 ETH0.0038536682.86388137
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:
SLM

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-20
*/

// 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/access/Ownable.sol



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 virtual 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: @openzeppelin/contracts/token/ERC20/IERC20.sol



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



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: @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol



pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts/SLM.sol

pragma solidity >=0.6.0;


contract SLM is Ownable,ERC20Burnable {
    using SafeMath for uint256;

    mapping(address => bool) public _minter;
    
    constructor() public ERC20("SLM", "SLM") {}

    function mint(address _account, uint256 _amount) external onlyMinter {
        _mint(_account,_amount);
    }

    function setMinter(address _addr,bool _bool) public onlyOwner {
       _minter[_addr] = _bool;
    }

    modifier onlyMinter() {
        require(_minter[msg.sender], "is not the minter");
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":"","type":"address"}],"name":"_minter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_bool","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405180604001604052806003815260200162534c4d60e81b81525060405180604001604052806003815260200162534c4d60e81b81525060006200005c620000e760201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000bb906004906020850190620000eb565b508051620000d1906005906020840190620000eb565b50506006805460ff191660121790555062000187565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012e57805160ff19168380011785556200015e565b828001600101855582156200015e579182015b828111156200015e57825182559160200191906001019062000141565b506200016c92915062000170565b5090565b5b808211156200016c576000815560010162000171565b6111c580620001976000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610374578063a9059cbb146103a0578063cf456ae7146103cc578063dd62ed3e146103fa578063f2fde38b1461042857610121565b8063715018a6146102ee57806379cc6790146102f65780638093f3eb146103225780638da5cb5b1461034857806395d89b411461036c57610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806340c10f191461027d57806342966c68146102ab57806370a08231146102c857610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e61044e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104e4565b604080519115158252519081900360200190f35b6101eb610501565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b03813581169160208101359091169060400135610507565b61023b61058e565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610597565b6102a96004803603604081101561029357600080fd5b506001600160a01b0381351690602001356105e5565b005b6102a9600480360360208110156102c157600080fd5b503561064b565b6101eb600480360360208110156102de57600080fd5b50356001600160a01b031661065f565b6102a961067a565b6102a96004803603604081101561030c57600080fd5b506001600160a01b038135169060200135610738565b6101cf6004803603602081101561033857600080fd5b50356001600160a01b0316610792565b6103506107a7565b604080516001600160a01b039092168252519081900360200190f35b61012e6107b6565b6101cf6004803603604081101561038a57600080fd5b506001600160a01b038135169060200135610817565b6101cf600480360360408110156103b657600080fd5b506001600160a01b03813516906020013561087f565b6102a9600480360360408110156103e257600080fd5b506001600160a01b0381351690602001351515610893565b6101eb6004803603604081101561041057600080fd5b506001600160a01b0381358116916020013516610932565b6102a96004803603602081101561043e57600080fd5b50356001600160a01b031661095d565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104da5780601f106104af576101008083540402835291602001916104da565b820191906000526020600020905b8154815290600101906020018083116104bd57829003601f168201915b5050505050905090565b60006104f86104f1610a71565b8484610a75565b50600192915050565b60035490565b6000610514848484610b61565b61058484610520610a71565b61057f856040518060600160405280602881526020016110b5602891396001600160a01b038a1660009081526002602052604081209061055e610a71565b6001600160a01b031681526020810191909152604001600020549190610cbe565b610a75565b5060019392505050565b60065460ff1690565b60006104f86105a4610a71565b8461057f85600260006105b5610a71565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610d55565b3360009081526007602052604090205460ff1661063d576040805162461bcd60e51b815260206004820152601160248201527034b9903737ba103a34329036b4b73a32b960791b604482015290519081900360640190fd5b6106478282610db6565b5050565b61065c610656610a71565b82610ea8565b50565b6001600160a01b031660009081526001602052604090205490565b610682610a71565b6001600160a01b03166106936107a7565b6001600160a01b0316146106ee576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061076f826040518060600160405280602481526020016110dd6024913961076886610763610a71565b610932565b9190610cbe565b90506107838361077d610a71565b83610a75565b61078d8383610ea8565b505050565b60076020526000908152604090205460ff1681565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104da5780601f106104af576101008083540402835291602001916104da565b60006104f8610824610a71565b8461057f8560405180606001604052806025815260200161116b602591396002600061084e610a71565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cbe565b60006104f861088c610a71565b8484610b61565b61089b610a71565b6001600160a01b03166108ac6107a7565b6001600160a01b031614610907576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610965610a71565b6001600160a01b03166109766107a7565b6001600160a01b0316146109d1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a165760405162461bcd60e51b81526004018080602001828103825260268152602001806110476026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610aba5760405162461bcd60e51b81526004018080602001828103825260248152602001806111476024913960400191505060405180910390fd5b6001600160a01b038216610aff5760405162461bcd60e51b815260040180806020018281038252602281526020018061106d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610ba65760405162461bcd60e51b81526004018080602001828103825260258152602001806111226025913960400191505060405180910390fd5b6001600160a01b038216610beb5760405162461bcd60e51b81526004018080602001828103825260238152602001806110026023913960400191505060405180910390fd5b610bf683838361078d565b610c338160405180606001604052806026815260200161108f602691396001600160a01b0386166000908152600160205260409020549190610cbe565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c629082610d55565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d4d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d12578181015183820152602001610cfa565b50505050905090810190601f168015610d3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610daf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610e11576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e1d6000838361078d565b600354610e2a9082610d55565b6003556001600160a01b038216600090815260016020526040902054610e509082610d55565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610eed5760405162461bcd60e51b81526004018080602001828103825260218152602001806111016021913960400191505060405180910390fd5b610ef98260008361078d565b610f3681604051806060016040528060228152602001611025602291396001600160a01b0385166000908152600160205260409020549190610cbe565b6001600160a01b038316600090815260016020526040902055600354610f5c9082610fa4565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600082821115610ffb576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c1b0da2b49c9c7758a471ab598c364166524e7ba579bbdb1d3f112f547d3ea2764736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610374578063a9059cbb146103a0578063cf456ae7146103cc578063dd62ed3e146103fa578063f2fde38b1461042857610121565b8063715018a6146102ee57806379cc6790146102f65780638093f3eb146103225780638da5cb5b1461034857806395d89b411461036c57610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806340c10f191461027d57806342966c68146102ab57806370a08231146102c857610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e61044e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104e4565b604080519115158252519081900360200190f35b6101eb610501565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b03813581169160208101359091169060400135610507565b61023b61058e565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610597565b6102a96004803603604081101561029357600080fd5b506001600160a01b0381351690602001356105e5565b005b6102a9600480360360208110156102c157600080fd5b503561064b565b6101eb600480360360208110156102de57600080fd5b50356001600160a01b031661065f565b6102a961067a565b6102a96004803603604081101561030c57600080fd5b506001600160a01b038135169060200135610738565b6101cf6004803603602081101561033857600080fd5b50356001600160a01b0316610792565b6103506107a7565b604080516001600160a01b039092168252519081900360200190f35b61012e6107b6565b6101cf6004803603604081101561038a57600080fd5b506001600160a01b038135169060200135610817565b6101cf600480360360408110156103b657600080fd5b506001600160a01b03813516906020013561087f565b6102a9600480360360408110156103e257600080fd5b506001600160a01b0381351690602001351515610893565b6101eb6004803603604081101561041057600080fd5b506001600160a01b0381358116916020013516610932565b6102a96004803603602081101561043e57600080fd5b50356001600160a01b031661095d565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104da5780601f106104af576101008083540402835291602001916104da565b820191906000526020600020905b8154815290600101906020018083116104bd57829003601f168201915b5050505050905090565b60006104f86104f1610a71565b8484610a75565b50600192915050565b60035490565b6000610514848484610b61565b61058484610520610a71565b61057f856040518060600160405280602881526020016110b5602891396001600160a01b038a1660009081526002602052604081209061055e610a71565b6001600160a01b031681526020810191909152604001600020549190610cbe565b610a75565b5060019392505050565b60065460ff1690565b60006104f86105a4610a71565b8461057f85600260006105b5610a71565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610d55565b3360009081526007602052604090205460ff1661063d576040805162461bcd60e51b815260206004820152601160248201527034b9903737ba103a34329036b4b73a32b960791b604482015290519081900360640190fd5b6106478282610db6565b5050565b61065c610656610a71565b82610ea8565b50565b6001600160a01b031660009081526001602052604090205490565b610682610a71565b6001600160a01b03166106936107a7565b6001600160a01b0316146106ee576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061076f826040518060600160405280602481526020016110dd6024913961076886610763610a71565b610932565b9190610cbe565b90506107838361077d610a71565b83610a75565b61078d8383610ea8565b505050565b60076020526000908152604090205460ff1681565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104da5780601f106104af576101008083540402835291602001916104da565b60006104f8610824610a71565b8461057f8560405180606001604052806025815260200161116b602591396002600061084e610a71565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610cbe565b60006104f861088c610a71565b8484610b61565b61089b610a71565b6001600160a01b03166108ac6107a7565b6001600160a01b031614610907576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610965610a71565b6001600160a01b03166109766107a7565b6001600160a01b0316146109d1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a165760405162461bcd60e51b81526004018080602001828103825260268152602001806110476026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610aba5760405162461bcd60e51b81526004018080602001828103825260248152602001806111476024913960400191505060405180910390fd5b6001600160a01b038216610aff5760405162461bcd60e51b815260040180806020018281038252602281526020018061106d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610ba65760405162461bcd60e51b81526004018080602001828103825260258152602001806111226025913960400191505060405180910390fd5b6001600160a01b038216610beb5760405162461bcd60e51b81526004018080602001828103825260238152602001806110026023913960400191505060405180910390fd5b610bf683838361078d565b610c338160405180606001604052806026815260200161108f602691396001600160a01b0386166000908152600160205260409020549190610cbe565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610c629082610d55565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d4d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d12578181015183820152602001610cfa565b50505050905090810190601f168015610d3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610daf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610e11576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e1d6000838361078d565b600354610e2a9082610d55565b6003556001600160a01b038216600090815260016020526040902054610e509082610d55565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610eed5760405162461bcd60e51b81526004018080602001828103825260218152602001806111016021913960400191505060405180910390fd5b610ef98260008361078d565b610f3681604051806060016040528060228152602001611025602291396001600160a01b0385166000908152600160205260409020549190610cbe565b6001600160a01b038316600090815260016020526040902055600354610f5c9082610fa4565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600082821115610ffb576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c1b0da2b49c9c7758a471ab598c364166524e7ba579bbdb1d3f112f547d3ea2764736f6c634300060c0033

Deployed Bytecode Sourcemap

25917:517:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15749:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17895:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17895:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;16848:108;;;:::i;:::-;;;;;;;;;;;;;;;;18546:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18546:321:0;;;;;;;;;;;;;;;;;:::i;16692:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19276:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19276:218:0;;;;;;;;:::i;26100:111::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26100:111:0;;;;;;;;:::i;:::-;;25145:91;;;;;;;;;;;;;;;;-1:-1:-1;25145:91:0;;:::i;17019:127::-;;;;;;;;;;;;;;;;-1:-1:-1;17019:127:0;-1:-1:-1;;;;;17019:127:0;;:::i;2752:148::-;;;:::i;25555:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25555:295:0;;;;;;;;:::i;25997:39::-;;;;;;;;;;;;;;;;-1:-1:-1;25997:39:0;-1:-1:-1;;;;;25997:39:0;;:::i;2101:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2101:87:0;;;;;;;;;;;;;;15959:95;;;:::i;19997:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19997:269:0;;;;;;;;:::i;17359:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17359:175:0;;;;;;;;:::i;26219:102::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26219:102:0;;;;;;;;;;:::i;17597:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17597:151:0;;;;;;;;;;:::i;3055:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3055:244:0;-1:-1:-1;;;;;3055:244:0;;:::i;15749:91::-;15827:5;15820:12;;;;;;;;-1:-1:-1;;15820:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15794:13;;15820:12;;15827:5;;15820:12;;15827:5;15820:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15749:91;:::o;17895:169::-;17978:4;17995:39;18004:12;:10;:12::i;:::-;18018:7;18027:6;17995:8;:39::i;:::-;-1:-1:-1;18052:4:0;17895:169;;;;:::o;16848:108::-;16936:12;;16848:108;:::o;18546:321::-;18652:4;18669:36;18679:6;18687:9;18698:6;18669:9;:36::i;:::-;18716:121;18725:6;18733:12;:10;:12::i;:::-;18747:89;18785:6;18747:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18747:19:0;;;;;;:11;:19;;;;;;18767:12;:10;:12::i;:::-;-1:-1:-1;;;;;18747:33:0;;;;;;;;;;;;-1:-1:-1;18747:33:0;;;:89;:37;:89::i;:::-;18716:8;:121::i;:::-;-1:-1:-1;18855:4:0;18546:321;;;;;:::o;16692:91::-;16766:9;;;;16692:91;:::o;19276:218::-;19364:4;19381:83;19390:12;:10;:12::i;:::-;19404:7;19413:50;19452:10;19413:11;:25;19425:12;:10;:12::i;:::-;-1:-1:-1;;;;;19413:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19413:25:0;;;:34;;;;;;;;;;;:38;:50::i;26100:111::-;26378:10;26370:19;;;;:7;:19;;;;;;;;26362:49;;;;;-1:-1:-1;;;26362:49:0;;;;;;;;;;;;-1:-1:-1;;;26362:49:0;;;;;;;;;;;;;;;26180:23:::1;26186:8;26195:7;26180:5;:23::i;:::-;26100:111:::0;;:::o;25145:91::-;25201:27;25207:12;:10;:12::i;:::-;25221:6;25201:5;:27::i;:::-;25145:91;:::o;17019:127::-;-1:-1:-1;;;;;17120:18:0;17093:7;17120:18;;;:9;:18;;;;;;;17019:127::o;2752:148::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2859:1:::1;2843:6:::0;;2822:40:::1;::::0;-1:-1:-1;;;;;2843:6:0;;::::1;::::0;2822:40:::1;::::0;2859:1;;2822:40:::1;2890:1;2873:19:::0;;-1:-1:-1;;;;;;2873:19:0::1;::::0;;2752:148::o;25555:295::-;25632:26;25661:84;25698:6;25661:84;;;;;;;;;;;;;;;;;:32;25671:7;25680:12;:10;:12::i;:::-;25661:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;25632:113;;25758:51;25767:7;25776:12;:10;:12::i;:::-;25790:18;25758:8;:51::i;:::-;25820:22;25826:7;25835:6;25820:5;:22::i;:::-;25555:295;;;:::o;25997:39::-;;;;;;;;;;;;;;;:::o;2101:87::-;2147:7;2174:6;-1:-1:-1;;;;;2174:6:0;2101:87;:::o;15959:95::-;16039:7;16032:14;;;;;;;;-1:-1:-1;;16032:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16006:13;;16032:14;;16039:7;;16032:14;;16039:7;16032:14;;;;;;;;;;;;;;;;;;;;;;;;19997:269;20090:4;20107:129;20116:12;:10;:12::i;:::-;20130:7;20139:96;20178:15;20139:96;;;;;;;;;;;;;;;;;:11;:25;20151:12;:10;:12::i;:::-;-1:-1:-1;;;;;20139:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20139:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;17359:175::-;17445:4;17462:42;17472:12;:10;:12::i;:::-;17486:9;17497:6;17462:9;:42::i;26219:102::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26291:14:0;;;::::1;;::::0;;;:7:::1;:14;::::0;;;;:22;;-1:-1:-1;;26291:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;26219:102::o;17597:151::-;-1:-1:-1;;;;;17713:18:0;;;17686:7;17713:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;17597:151::o;3055:244::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3144:22:0;::::1;3136:73;;;;-1:-1:-1::0;;;3136:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3246:6;::::0;;3225:38:::1;::::0;-1:-1:-1;;;;;3225:38:0;;::::1;::::0;3246:6;::::1;::::0;3225:38:::1;::::0;::::1;3274:6;:17:::0;;-1:-1:-1;;;;;;3274:17:0::1;-1:-1:-1::0;;;;;3274:17:0;;;::::1;::::0;;;::::1;::::0;;3055:244::o;636:106::-;724:10;636:106;:::o;23144:346::-;-1:-1:-1;;;;;23246:19:0;;23238:68;;;;-1:-1:-1;;;23238:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23325:21:0;;23317:68;;;;-1:-1:-1;;;23317:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23398:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;23450:32;;;;;;;;;;;;;;;;;23144:346;;;:::o;20756:539::-;-1:-1:-1;;;;;20862:20:0;;20854:70;;;;-1:-1:-1;;;20854:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20943:23:0;;20935:71;;;;-1:-1:-1;;;20935:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21019:47;21040:6;21048:9;21059:6;21019:20;:47::i;:::-;21099:71;21121:6;21099:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21099:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;21079:17:0;;;;;;;:9;:17;;;;;;:91;;;;21204:20;;;;;;;:32;;21229:6;21204:24;:32::i;:::-;-1:-1:-1;;;;;21181:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;21252:35;;;;;;;21181:20;;21252:35;;;;;;;;;;;;;20756:539;;;:::o;11741:166::-;11827:7;11863:12;11855:6;;;;11847:29;;;;-1:-1:-1;;;11847:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11894:5:0;;;11741:166::o;8914:179::-;8972:7;9004:5;;;9028:6;;;;9020:46;;;;;-1:-1:-1;;;9020:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9084:1;8914:179;-1:-1:-1;;;8914:179:0:o;21577:378::-;-1:-1:-1;;;;;21661:21:0;;21653:65;;;;;-1:-1:-1;;;21653:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21731:49;21760:1;21764:7;21773:6;21731:20;:49::i;:::-;21808:12;;:24;;21825:6;21808:16;:24::i;:::-;21793:12;:39;-1:-1:-1;;;;;21864:18:0;;;;;;:9;:18;;;;;;:30;;21887:6;21864:22;:30::i;:::-;-1:-1:-1;;;;;21843:18:0;;;;;;:9;:18;;;;;;;;:51;;;;21910:37;;;;;;;21843:18;;;;21910:37;;;;;;;;;;21577:378;;:::o;22288:418::-;-1:-1:-1;;;;;22372:21:0;;22364:67;;;;-1:-1:-1;;;22364:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22444:49;22465:7;22482:1;22486:6;22444:20;:49::i;:::-;22527:68;22550:6;22527:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22527:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;22506:18:0;;;;;;:9;:18;;;;;:89;22621:12;;:24;;22638:6;22621:16;:24::i;:::-;22606:12;:39;22661:37;;;;;;;;22687:1;;-1:-1:-1;;;;;22661:37:0;;;;;;;;;;;;22288:418;;:::o;9376:158::-;9434:7;9467:1;9462;:6;;9454:49;;;;;-1:-1:-1;;;9454:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9521:5:0;;;9376:158::o

Swarm Source

ipfs://c1b0da2b49c9c7758a471ab598c364166524e7ba579bbdb1d3f112f547d3ea27

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.