ETH Price: $3,645.87 (+1.85%)

Token

Wrapped stLINK (wstLINK)
 

Overview

Max Total Supply

385,060.435136742740476812 wstLINK

Holders

54 (0.00%)

Market

Price

$20.95 @ 0.005746 ETH (+2.47%)

Onchain Market Cap

$8,067,016.12

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 wstLINK

Value
$0.00
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Stake.link is a liquid staking protocol built on top of Chainlink Economics 2.0. Our mission is to increase network security and participation.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedSDToken

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-11
*/

// Sources flattened with hardhat v2.11.2 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: GPL-3.0
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}


// File contracts/core/interfaces/IERC677.sol


pragma solidity 0.8.15;

interface IERC677 is IERC20 {
    function transferAndCall(
        address _to,
        uint256 _value,
        bytes calldata _data
    ) external returns (bool success);
}


// File contracts/core/interfaces/IStakingRewardsPool.sol


pragma solidity 0.8.15;

interface IStakingRewardsPool is IERC677 {
    /**
     * @notice returns an account's share balance
     * @param _account account to return balance for
     * @return account's share balance
     **/
    function sharesOf(address _account) external view returns (uint256);

    /**
     * @notice returns the amount of shares that corresponds to a staked amount
     * @param _amount staked amount
     * @return amount of shares
     **/
    function getSharesByStake(uint256 _amount) external view returns (uint256);

    /**
     * @notice returns the amount of stake that corresponds to an amount of shares
     * @param _amount shares amount
     * @return amount of stake
     **/
    function getStakeByShares(uint256 _amount) external view returns (uint256);

    function totalShares() external view returns (uint256);
}


// File contracts/core/interfaces/IERC677Receiver.sol


pragma solidity 0.8.15;

interface IERC677Receiver {
    function onTokenTransfer(
        address _sender,
        uint256 _value,
        bytes calldata _data
    ) external;
}


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^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 Contracts guidelines: functions revert
 * instead 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 this function is
     * overridden;
     *
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` 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 += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


// File contracts/core/tokens/base/ERC677.sol


pragma solidity 0.8.15;

contract ERC677 is ERC20 {
    constructor(
        string memory _tokenName,
        string memory _tokenSymbol,
        uint256 _totalSupply
    ) ERC20(_tokenName, _tokenSymbol) {
        _mint(msg.sender, _totalSupply * (10**uint256(decimals())));
    }

    function transferAndCall(
        address _to,
        uint256 _value,
        bytes memory _data
    ) public returns (bool) {
        super.transfer(_to, _value);
        if (isContract(_to)) {
            contractFallback(msg.sender, _to, _value, _data);
        }
        return true;
    }

    function transferAndCallFrom(
        address _sender,
        address _to,
        uint256 _value,
        bytes memory _data
    ) internal returns (bool) {
        _transfer(_sender, _to, _value);
        if (isContract(_to)) {
            contractFallback(_sender, _to, _value, _data);
        }
        return true;
    }

    function contractFallback(
        address _sender,
        address _to,
        uint256 _value,
        bytes memory _data
    ) internal {
        IERC677Receiver receiver = IERC677Receiver(_to);
        receiver.onTokenTransfer(_sender, _value, _data);
    }

    function isContract(address _addr) internal view returns (bool hasCode) {
        uint256 length;
        assembly {
            length := extcodesize(_addr)
        }
        return length > 0;
    }
}


// File contracts/core/tokens/WrappedSDToken.sol


pragma solidity 0.8.15;


/**
 * @title Wrapped Staking Derivative Token
 * @notice Wraps rebasing derivative tokens with a normal ERC20 token
 */
contract WrappedSDToken is ERC677 {
    IStakingRewardsPool public immutable sdToken;

    constructor(
        address _stakingRewardsPool,
        string memory _name,
        string memory _symbol
    ) ERC677(_name, _symbol, 0) {
        sdToken = IStakingRewardsPool(_stakingRewardsPool);
    }

    /**
     * @notice ERC677 implementation that proxies wrapping
     * @param _sender of the token transfer
     * @param _value of the token transfer
     **/
    function onTokenTransfer(
        address _sender,
        uint256 _value,
        bytes calldata
    ) external {
        require(msg.sender == address(sdToken), "Sender must be staking derivative token");
        _wrap(_sender, _value);
    }

    /**
     * @notice wraps tokens
     * @param _amount amount of unwrapped tokens to wrap
     */
    function wrap(uint256 _amount) external {
        sdToken.transferFrom(msg.sender, address(this), _amount);
        _wrap(msg.sender, _amount);
    }

    /**
     * @notice unwraps tokens
     * @param _amount amount of wrapped tokens to unwrap
     */
    function unwrap(uint256 _amount) external {
        require(_amount > 0, "Amount must be > 0");
        uint256 unwrappedAmount = sdToken.getStakeByShares(_amount);
        _burn(msg.sender, _amount);
        sdToken.transfer(msg.sender, unwrappedAmount);
    }

    /**
     * @notice Returns amount of wrapped tokens for an amount of unwrapped tokens
     * @param _amount amount of unwrapped tokens
     * @return amount of wrapped tokens
     */
    function getWrappedByUnderlying(uint256 _amount) external view returns (uint256) {
        return sdToken.getSharesByStake(_amount);
    }

    /**
     * @notice Returns amount of unwrapped tokens for an amount of wrapped tokens
     * @param _amount amount of wrapped tokens
     * @return amount of unwrapped tokens
     */
    function getUnderlyingByWrapped(uint256 _amount) external view returns (uint256) {
        return sdToken.getStakeByShares(_amount);
    }

    /**
     * @notice wraps tokens
     * @param _account account to wrap tokens for
     * @param _amount amount of unwrapped tokens to wrap
     */
    function _wrap(address _account, uint256 _amount) private {
        require(_amount > 0, "Amount must be > 0");
        uint256 wrappedAmount = sdToken.getSharesByStake(_amount);
        _mint(_account, wrappedAmount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingRewardsPool","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getUnderlyingByWrapped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getWrappedByUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sdToken","outputs":[{"internalType":"contract IStakingRewardsPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"transferAndCall","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620018e0380380620018e083398101604081905262000034916200026a565b818160008282600362000048838262000382565b50600462000057828262000382565b50505062000091336200006f620000ab60201b60201c565b6200007f9060ff16600a62000563565b6200008b908462000578565b620000b0565b5050506001600160a01b0390921660805250620005b59050565b601290565b6001600160a01b0382166200010b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200011f91906200059a565b90915550506001600160a01b038216600090815260208190526040812080548392906200014e9084906200059a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001c557600080fd5b81516001600160401b0380821115620001e257620001e26200019d565b604051601f8301601f19908116603f011681019082821181831017156200020d576200020d6200019d565b816040528381526020925086838588010111156200022a57600080fd5b600091505b838210156200024e57858201830151818301840152908201906200022f565b83821115620002605760008385830101525b9695505050505050565b6000806000606084860312156200028057600080fd5b83516001600160a01b03811681146200029857600080fd5b60208501519093506001600160401b0380821115620002b657600080fd5b620002c487838801620001b3565b93506040860151915080821115620002db57600080fd5b50620002ea86828701620001b3565b9150509250925092565b600181811c908216806200030957607f821691505b6020821081036200032a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019857600081815260208120601f850160051c81016020861015620003595750805b601f850160051c820191505b818110156200037a5782815560010162000365565b505050505050565b81516001600160401b038111156200039e576200039e6200019d565b620003b681620003af8454620002f4565b8462000330565b602080601f831160018114620003ee5760008415620003d55750858301515b600019600386901b1c1916600185901b1785556200037a565b600085815260208120601f198616915b828110156200041f57888601518255948401946001909101908401620003fe565b50858210156200043e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004a55781600019048211156200048957620004896200044e565b808516156200049757918102915b93841c939080029062000469565b509250929050565b600082620004be575060016200055d565b81620004cd575060006200055d565b8160018114620004e65760028114620004f15762000511565b60019150506200055d565b60ff8411156200050557620005056200044e565b50506001821b6200055d565b5060208310610133831016604e8410600b841016171562000536575081810a6200055d565b62000542838362000464565b80600019048211156200055957620005596200044e565b0290505b92915050565b6000620005718383620004ad565b9392505050565b60008160001904831182151516156200059557620005956200044e565b500290565b60008219821115620005b057620005b06200044e565b500190565b6080516112de62000602600039600081816101e40152818161046a0152818161051e015281816105b1015281816106710152818161070c015281816107a80152610c5a01526112de6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806395d89b41116100a2578063b085136711610071578063b085136714610261578063da9a6cf814610274578063dd62ed3e14610287578063de0e9a3e1461029a578063ea598cb0146102ad57600080fd5b806395d89b411461021e578063a457c2d714610226578063a4c0ed3614610239578063a9059cbb1461024e57600080fd5b8063313ce567116100e9578063313ce5671461018157806339509351146101905780634000aea0146101a357806370a08231146101b6578063776c23fb146101df57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102c0565b6040516101309190610f53565b60405180910390f35b61014c610147366004610f89565b610352565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610fb3565b61036a565b60405160128152602001610130565b61014c61019e366004610f89565b61038e565b61014c6101b1366004611005565b6103b0565b6101606101c43660046110d0565b6001600160a01b031660009081526020819052604090205490565b6102067f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610130565b6101236103d0565b61014c610234366004610f89565b6103df565b61024c6102473660046110eb565b61045f565b005b61014c61025c366004610f89565b6104f7565b61016061026f366004611172565b610505565b610160610282366004611172565b610598565b61016061029536600461118b565b6105e8565b61024c6102a8366004611172565b610613565b61024c6102bb366004611172565b610786565b6060600380546102cf906111be565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb906111be565b80156103485780601f1061031d57610100808354040283529160200191610348565b820191906000526020600020905b81548152906001019060200180831161032b57829003601f168201915b5050505050905090565b60003361036081858561082b565b5060019392505050565b60003361037885828561094f565b6103838585856109c3565b506001949350505050565b6000336103608185856103a183836105e8565b6103ab919061120e565b61082b565b60006103bc84846104f7565b50833b156103605761036033858585610b91565b6060600480546102cf906111be565b600033816103ed82866105e8565b9050838110156104525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610383828686840361082b565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104e75760405162461bcd60e51b815260206004820152602760248201527f53656e646572206d757374206265207374616b696e672064657269766174697660448201526632903a37b5b2b760c91b6064820152608401610449565b6104f18484610bfc565b50505050565b6000336103608185856109c3565b60405163119c137760e31b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638ce09bb8906024015b602060405180830381865afa15801561056e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105929190611226565b92915050565b604051631ae6f20560e31b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d737902890602401610551565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600081116106585760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610449565b604051631ae6f20560e31b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d737902890602401602060405180830381865afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e49190611226565b90506106f03383610cd9565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af115801561075d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610781919061123f565b505050565b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d919061123f565b506108283382610bfc565b50565b6001600160a01b03831661088d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610449565b6001600160a01b0382166108ee5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610449565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061095b84846105e8565b905060001981146104f157818110156109b65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610449565b6104f1848484840361082b565b6001600160a01b038316610a275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610449565b6001600160a01b038216610a895760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610449565b6001600160a01b03831660009081526020819052604090205481811015610b015760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610449565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b3890849061120e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8491815260200190565b60405180910390a36104f1565b604051635260769b60e11b815283906001600160a01b0382169063a4c0ed3690610bc390889087908790600401611261565b600060405180830381600087803b158015610bdd57600080fd5b505af1158015610bf1573d6000803e3d6000fd5b505050505050505050565b60008111610c415760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610449565b60405163119c137760e31b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638ce09bb890602401602060405180830381865afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd9190611226565b90506107818382610e27565b6001600160a01b038216610d395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610449565b6001600160a01b03821660009081526020819052604090205481811015610dad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610449565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610ddc908490611291565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038216610e7d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610449565b8060026000828254610e8f919061120e565b90915550506001600160a01b03821660009081526020819052604081208054839290610ebc90849061120e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000815180845260005b81811015610f2c57602081850181015186830182015201610f10565b81811115610f3e576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610f666020830184610f06565b9392505050565b80356001600160a01b0381168114610f8457600080fd5b919050565b60008060408385031215610f9c57600080fd5b610fa583610f6d565b946020939093013593505050565b600080600060608486031215610fc857600080fd5b610fd184610f6d565b9250610fdf60208501610f6d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561101a57600080fd5b61102384610f6d565b925060208401359150604084013567ffffffffffffffff8082111561104757600080fd5b818601915086601f83011261105b57600080fd5b81358181111561106d5761106d610fef565b604051601f8201601f19908116603f0116810190838211818310171561109557611095610fef565b816040528281528960208487010111156110ae57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000602082840312156110e257600080fd5b610f6682610f6d565b6000806000806060858703121561110157600080fd5b61110a85610f6d565b935060208501359250604085013567ffffffffffffffff8082111561112e57600080fd5b818701915087601f83011261114257600080fd5b81358181111561115157600080fd5b88602082850101111561116357600080fd5b95989497505060200194505050565b60006020828403121561118457600080fd5b5035919050565b6000806040838503121561119e57600080fd5b6111a783610f6d565b91506111b560208401610f6d565b90509250929050565b600181811c908216806111d257607f821691505b6020821081036111f257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611221576112216111f8565b500190565b60006020828403121561123857600080fd5b5051919050565b60006020828403121561125157600080fd5b81518015158114610f6657600080fd5b60018060a01b03841681528260208201526060604082015260006112886060830184610f06565b95945050505050565b6000828210156112a3576112a36111f8565b50039056fea2646970667358221220c791294124434694be3b6e025c17945a85eb6e2b324ae28381095f416fb83eef64736f6c634300080f0033000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000e577261707065642073744c494e4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077773744c494e4b00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806395d89b41116100a2578063b085136711610071578063b085136714610261578063da9a6cf814610274578063dd62ed3e14610287578063de0e9a3e1461029a578063ea598cb0146102ad57600080fd5b806395d89b411461021e578063a457c2d714610226578063a4c0ed3614610239578063a9059cbb1461024e57600080fd5b8063313ce567116100e9578063313ce5671461018157806339509351146101905780634000aea0146101a357806370a08231146101b6578063776c23fb146101df57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102c0565b6040516101309190610f53565b60405180910390f35b61014c610147366004610f89565b610352565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610fb3565b61036a565b60405160128152602001610130565b61014c61019e366004610f89565b61038e565b61014c6101b1366004611005565b6103b0565b6101606101c43660046110d0565b6001600160a01b031660009081526020819052604090205490565b6102067f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd581565b6040516001600160a01b039091168152602001610130565b6101236103d0565b61014c610234366004610f89565b6103df565b61024c6102473660046110eb565b61045f565b005b61014c61025c366004610f89565b6104f7565b61016061026f366004611172565b610505565b610160610282366004611172565b610598565b61016061029536600461118b565b6105e8565b61024c6102a8366004611172565b610613565b61024c6102bb366004611172565b610786565b6060600380546102cf906111be565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb906111be565b80156103485780601f1061031d57610100808354040283529160200191610348565b820191906000526020600020905b81548152906001019060200180831161032b57829003601f168201915b5050505050905090565b60003361036081858561082b565b5060019392505050565b60003361037885828561094f565b6103838585856109c3565b506001949350505050565b6000336103608185856103a183836105e8565b6103ab919061120e565b61082b565b60006103bc84846104f7565b50833b156103605761036033858585610b91565b6060600480546102cf906111be565b600033816103ed82866105e8565b9050838110156104525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610383828686840361082b565b336001600160a01b037f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd516146104e75760405162461bcd60e51b815260206004820152602760248201527f53656e646572206d757374206265207374616b696e672064657269766174697660448201526632903a37b5b2b760c91b6064820152608401610449565b6104f18484610bfc565b50505050565b6000336103608185856109c3565b60405163119c137760e31b8152600481018290526000907f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b031690638ce09bb8906024015b602060405180830381865afa15801561056e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105929190611226565b92915050565b604051631ae6f20560e31b8152600481018290526000907f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b03169063d737902890602401610551565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600081116106585760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610449565b604051631ae6f20560e31b8152600481018290526000907f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b03169063d737902890602401602060405180830381865afa1580156106c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e49190611226565b90506106f03383610cd9565b60405163a9059cbb60e01b8152336004820152602481018290527f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b03169063a9059cbb906044016020604051808303816000875af115801561075d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610781919061123f565b505050565b6040516323b872dd60e01b8152336004820152306024820152604481018290527f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b0316906323b872dd906064016020604051808303816000875af11580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d919061123f565b506108283382610bfc565b50565b6001600160a01b03831661088d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610449565b6001600160a01b0382166108ee5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610449565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061095b84846105e8565b905060001981146104f157818110156109b65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610449565b6104f1848484840361082b565b6001600160a01b038316610a275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610449565b6001600160a01b038216610a895760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610449565b6001600160a01b03831660009081526020819052604090205481811015610b015760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610449565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b3890849061120e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8491815260200190565b60405180910390a36104f1565b604051635260769b60e11b815283906001600160a01b0382169063a4c0ed3690610bc390889087908790600401611261565b600060405180830381600087803b158015610bdd57600080fd5b505af1158015610bf1573d6000803e3d6000fd5b505050505050505050565b60008111610c415760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610449565b60405163119c137760e31b8152600481018290526000907f000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd56001600160a01b031690638ce09bb890602401602060405180830381865afa158015610ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd9190611226565b90506107818382610e27565b6001600160a01b038216610d395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610449565b6001600160a01b03821660009081526020819052604090205481811015610dad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610449565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610ddc908490611291565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038216610e7d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610449565b8060026000828254610e8f919061120e565b90915550506001600160a01b03821660009081526020819052604081208054839290610ebc90849061120e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000815180845260005b81811015610f2c57602081850181015186830182015201610f10565b81811115610f3e576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610f666020830184610f06565b9392505050565b80356001600160a01b0381168114610f8457600080fd5b919050565b60008060408385031215610f9c57600080fd5b610fa583610f6d565b946020939093013593505050565b600080600060608486031215610fc857600080fd5b610fd184610f6d565b9250610fdf60208501610f6d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561101a57600080fd5b61102384610f6d565b925060208401359150604084013567ffffffffffffffff8082111561104757600080fd5b818601915086601f83011261105b57600080fd5b81358181111561106d5761106d610fef565b604051601f8201601f19908116603f0116810190838211818310171561109557611095610fef565b816040528281528960208487010111156110ae57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000602082840312156110e257600080fd5b610f6682610f6d565b6000806000806060858703121561110157600080fd5b61110a85610f6d565b935060208501359250604085013567ffffffffffffffff8082111561112e57600080fd5b818701915087601f83011261114257600080fd5b81358181111561115157600080fd5b88602082850101111561116357600080fd5b95989497505060200194505050565b60006020828403121561118457600080fd5b5035919050565b6000806040838503121561119e57600080fd5b6111a783610f6d565b91506111b560208401610f6d565b90509250929050565b600181811c908216806111d257607f821691505b6020821081036111f257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611221576112216111f8565b500190565b60006020828403121561123857600080fd5b5051919050565b60006020828403121561125157600080fd5b81518015158114610f6657600080fd5b60018060a01b03841681528260208201526060604082015260006112886060830184610f06565b95945050505050565b6000828210156112a3576112a36111f8565b50039056fea2646970667358221220c791294124434694be3b6e025c17945a85eb6e2b324ae28381095f416fb83eef64736f6c634300080f0033

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

000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000e577261707065642073744c494e4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000077773744c494e4b00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _stakingRewardsPool (address): 0xb8b295df2cd735b15BE5Eb419517Aa626fc43cD5
Arg [1] : _name (string): Wrapped stLINK
Arg [2] : _symbol (string): wstLINK

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000b8b295df2cd735b15be5eb419517aa626fc43cd5
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [4] : 577261707065642073744c494e4b000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 7773744c494e4b00000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

20739:2456:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8244:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10595:201;;;;;;:::i;:::-;;:::i;:::-;;;1318:14:1;;1311:22;1293:41;;1281:2;1266:18;10595:201:0;1153:187:1;9364:108:0;9452:12;;9364:108;;;1491:25:1;;;1479:2;1464:18;9364:108:0;1345:177:1;11376:295:0;;;;;;:::i;:::-;;:::i;9206:93::-;;;9289:2;2002:36:1;;1990:2;1975:18;9206:93:0;1860:184:1;12080:238:0;;;;;;:::i;:::-;;:::i;19382:304::-;;;;;;:::i;:::-;;:::i;9535:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;9636:18:0;9609:7;9636:18;;;;;;;;;;;;9535:127;20780:44;;;;;;;;-1:-1:-1;;;;;3631:32:1;;;3613:51;;3601:2;3586:18;20780:44:0;3440:230:1;8463:104:0;;;:::i;12821:436::-;;;;;;:::i;:::-;;:::i;21223:251::-;;;;;;:::i;:::-;;:::i;:::-;;9868:193;;;;;;:::i;:::-;;:::i;22320:140::-;;;;;;:::i;:::-;;:::i;22660:::-;;;;;;:::i;:::-;;:::i;10124:151::-;;;;;;:::i;:::-;;:::i;21854:266::-;;;;;;:::i;:::-;;:::i;21587:152::-;;;;;;:::i;:::-;;:::i;8244:100::-;8298:13;8331:5;8324:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8244:100;:::o;10595:201::-;10678:4;5217:10;10734:32;5217:10;10750:7;10759:6;10734:8;:32::i;:::-;-1:-1:-1;10784:4:0;;10595:201;-1:-1:-1;;;10595:201:0:o;11376:295::-;11507:4;5217:10;11565:38;11581:4;5217:10;11596:6;11565:15;:38::i;:::-;11614:27;11624:4;11630:2;11634:6;11614:9;:27::i;:::-;-1:-1:-1;11659:4:0;;11376:295;-1:-1:-1;;;;11376:295:0:o;12080:238::-;12168:4;5217:10;12224:64;5217:10;12240:7;12277:10;12249:25;5217:10;12240:7;12249:9;:25::i;:::-;:38;;;;:::i;:::-;12224:8;:64::i;19382:304::-;19506:4;19523:27;19538:3;19543:6;19523:14;:27::i;:::-;-1:-1:-1;20458:18:0;;20504:10;19561:96;;19597:48;19614:10;19626:3;19631:6;19639:5;19597:16;:48::i;8463:104::-;8519:13;8552:7;8545:14;;;;;:::i;12821:436::-;12914:4;5217:10;12914:4;12997:25;5217:10;13014:7;12997:9;:25::i;:::-;12970:52;;13061:15;13041:16;:35;;13033:85;;;;-1:-1:-1;;;13033:85:0;;5715:2:1;13033:85:0;;;5697:21:1;5754:2;5734:18;;;5727:30;5793:34;5773:18;;;5766:62;-1:-1:-1;;;5844:18:1;;;5837:35;5889:19;;13033:85:0;;;;;;;;;13154:60;13163:5;13170:7;13198:15;13179:16;:34;13154:8;:60::i;21223:251::-;21359:10;-1:-1:-1;;;;;21381:7:0;21359:30;;21351:82;;;;-1:-1:-1;;;21351:82:0;;6121:2:1;21351:82:0;;;6103:21:1;6160:2;6140:18;;;6133:30;6199:34;6179:18;;;6172:62;-1:-1:-1;;;6250:18:1;;;6243:37;6297:19;;21351:82:0;5919:403:1;21351:82:0;21444:22;21450:7;21459:6;21444:5;:22::i;:::-;21223:251;;;;:::o;9868:193::-;9947:4;5217:10;10003:28;5217:10;10020:2;10024:6;10003:9;:28::i;22320:140::-;22419:33;;-1:-1:-1;;;22419:33:0;;;;;1491:25:1;;;22392:7:0;;22419;-1:-1:-1;;;;;22419:24:0;;;;1464:18:1;;22419:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22412:40;22320:140;-1:-1:-1;;22320:140:0:o;22660:::-;22759:33;;-1:-1:-1;;;22759:33:0;;;;;1491:25:1;;;22732:7:0;;22759;-1:-1:-1;;;;;22759:24:0;;;;1464:18:1;;22759:33:0;1345:177:1;10124:151:0;-1:-1:-1;;;;;10240:18:0;;;10213:7;10240:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10124:151::o;21854:266::-;21925:1;21915:7;:11;21907:42;;;;-1:-1:-1;;;21907:42:0;;6718:2:1;21907:42:0;;;6700:21:1;6757:2;6737:18;;;6730:30;-1:-1:-1;;;6776:18:1;;;6769:48;6834:18;;21907:42:0;6516:342:1;21907:42:0;21986:33;;-1:-1:-1;;;21986:33:0;;;;;1491:25:1;;;21960:23:0;;21986:7;-1:-1:-1;;;;;21986:24:0;;;;1464:18:1;;21986:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21960:59;;22030:26;22036:10;22048:7;22030:5;:26::i;:::-;22067:45;;-1:-1:-1;;;22067:45:0;;22084:10;22067:45;;;7037:51:1;7104:18;;;7097:34;;;22067:7:0;-1:-1:-1;;;;;22067:16:0;;;;7010:18:1;;22067:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21896:224;21854:266;:::o;21587:152::-;21638:56;;-1:-1:-1;;;21638:56:0;;21659:10;21638:56;;;7664:34:1;21679:4:0;7714:18:1;;;7707:43;7766:18;;;7759:34;;;21638:7:0;-1:-1:-1;;;;;21638:20:0;;;;7599:18:1;;21638:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21705:26;21711:10;21723:7;21705:5;:26::i;:::-;21587:152;:::o;16446:380::-;-1:-1:-1;;;;;16582:19:0;;16574:68;;;;-1:-1:-1;;;16574:68:0;;8006:2:1;16574:68:0;;;7988:21:1;8045:2;8025:18;;;8018:30;8084:34;8064:18;;;8057:62;-1:-1:-1;;;8135:18:1;;;8128:34;8179:19;;16574:68:0;7804:400:1;16574:68:0;-1:-1:-1;;;;;16661:21:0;;16653:68;;;;-1:-1:-1;;;16653:68:0;;8411:2:1;16653:68:0;;;8393:21:1;8450:2;8430:18;;;8423:30;8489:34;8469:18;;;8462:62;-1:-1:-1;;;8540:18:1;;;8533:32;8582:19;;16653:68:0;8209:398:1;16653:68:0;-1:-1:-1;;;;;16734:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;16786:32;;1491:25:1;;;16786:32:0;;1464:18:1;16786:32:0;;;;;;;16446:380;;;:::o;17117:453::-;17252:24;17279:25;17289:5;17296:7;17279:9;:25::i;:::-;17252:52;;-1:-1:-1;;17319:16:0;:37;17315:248;;17401:6;17381:16;:26;;17373:68;;;;-1:-1:-1;;;17373:68:0;;8814:2:1;17373:68:0;;;8796:21:1;8853:2;8833:18;;;8826:30;8892:31;8872:18;;;8865:59;8941:18;;17373:68:0;8612:353:1;17373:68:0;17485:51;17494:5;17501:7;17529:6;17510:16;:25;17485:8;:51::i;13727:671::-;-1:-1:-1;;;;;13858:18:0;;13850:68;;;;-1:-1:-1;;;13850:68:0;;9172:2:1;13850:68:0;;;9154:21:1;9211:2;9191:18;;;9184:30;9250:34;9230:18;;;9223:62;-1:-1:-1;;;9301:18:1;;;9294:35;9346:19;;13850:68:0;8970:401:1;13850:68:0;-1:-1:-1;;;;;13937:16:0;;13929:64;;;;-1:-1:-1;;;13929:64:0;;9578:2:1;13929:64:0;;;9560:21:1;9617:2;9597:18;;;9590:30;9656:34;9636:18;;;9629:62;-1:-1:-1;;;9707:18:1;;;9700:33;9750:19;;13929:64:0;9376:399:1;13929:64:0;-1:-1:-1;;;;;14079:15:0;;14057:19;14079:15;;;;;;;;;;;14113:21;;;;14105:72;;;;-1:-1:-1;;;14105:72:0;;9982:2:1;14105:72:0;;;9964:21:1;10021:2;10001:18;;;9994:30;10060:34;10040:18;;;10033:62;-1:-1:-1;;;10111:18:1;;;10104:36;10157:19;;14105:72:0;9780:402:1;14105:72:0;-1:-1:-1;;;;;14213:15:0;;;:9;:15;;;;;;;;;;;14231:20;;;14213:38;;14273:13;;;;;;;;:23;;14245:6;;14213:9;14273:23;;14245:6;;14273:23;:::i;:::-;;;;;;;;14329:2;-1:-1:-1;;;;;14314:26:0;14323:4;-1:-1:-1;;;;;14314:26:0;;14333:6;14314:26;;;;1491:25:1;;1479:2;1464:18;;1345:177;14314:26:0;;;;;;;;14353:37;21854:266;20039:269;20252:48;;-1:-1:-1;;;20252:48:0;;20237:3;;-1:-1:-1;;;;;20252:24:0;;;;;:48;;20277:7;;20286:6;;20294:5;;20252:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20183:125;20039:269;;;;:::o;22964:228::-;23051:1;23041:7;:11;23033:42;;;;-1:-1:-1;;;23033:42:0;;6718:2:1;23033:42:0;;;6700:21:1;6757:2;6737:18;;;6730:30;-1:-1:-1;;;6776:18:1;;;6769:48;6834:18;;23033:42:0;6516:342:1;23033:42:0;23110:33;;-1:-1:-1;;;23110:33:0;;;;;1491:25:1;;;23086:21:0;;23110:7;-1:-1:-1;;;;;23110:24:0;;;;1464:18:1;;23110:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23086:57;;23154:30;23160:8;23170:13;23154:5;:30::i;15417:591::-;-1:-1:-1;;;;;15501:21:0;;15493:67;;;;-1:-1:-1;;;15493:67:0;;10780:2:1;15493:67:0;;;10762:21:1;10819:2;10799:18;;;10792:30;10858:34;10838:18;;;10831:62;-1:-1:-1;;;10909:18:1;;;10902:31;10950:19;;15493:67:0;10578:397:1;15493:67:0;-1:-1:-1;;;;;15660:18:0;;15635:22;15660:18;;;;;;;;;;;15697:24;;;;15689:71;;;;-1:-1:-1;;;15689:71:0;;11182:2:1;15689:71:0;;;11164:21:1;11221:2;11201:18;;;11194:30;11260:34;11240:18;;;11233:62;-1:-1:-1;;;11311:18:1;;;11304:32;11353:19;;15689:71:0;10980:398:1;15689:71:0;-1:-1:-1;;;;;15796:18:0;;:9;:18;;;;;;;;;;15817:23;;;15796:44;;15862:12;:22;;15834:6;;15796:9;15862:22;;15834:6;;15862:22;:::i;:::-;;;;-1:-1:-1;;15902:37:0;;1491:25:1;;;15928:1:0;;-1:-1:-1;;;;;15902:37:0;;;;;1479:2:1;1464:18;15902:37:0;;;;;;;22067:45;21896:224;21854:266;:::o;14685:399::-;-1:-1:-1;;;;;14769:21:0;;14761:65;;;;-1:-1:-1;;;14761:65:0;;11715:2:1;14761:65:0;;;11697:21:1;11754:2;11734:18;;;11727:30;11793:33;11773:18;;;11766:61;11844:18;;14761:65:0;11513:355:1;14761:65:0;14917:6;14901:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;14934:18:0;;:9;:18;;;;;;;;;;:28;;14956:6;;14934:9;:28;;14956:6;;14934:28;:::i;:::-;;;;-1:-1:-1;;14978:37:0;;1491:25:1;;;-1:-1:-1;;;;;14978:37:0;;;14995:1;;14978:37;;1479:2:1;1464:18;14978:37:0;;;;;;;14685:399;;:::o;14:472:1:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;336:6;333:1;330:13;327:87;;;402:1;395:4;386:6;381:3;377:16;373:27;366:38;327:87;-1:-1:-1;468:2:1;447:15;-1:-1:-1;;443:29:1;434:39;;;;475:4;430:50;;14:472;-1:-1:-1;;14:472:1:o;491:220::-;640:2;629:9;622:21;603:4;660:45;701:2;690:9;686:18;678:6;660:45;:::i;:::-;652:53;491:220;-1:-1:-1;;;491:220:1:o;716:173::-;784:20;;-1:-1:-1;;;;;833:31:1;;823:42;;813:70;;879:1;876;869:12;813:70;716:173;;;:::o;894:254::-;962:6;970;1023:2;1011:9;1002:7;998:23;994:32;991:52;;;1039:1;1036;1029:12;991:52;1062:29;1081:9;1062:29;:::i;:::-;1052:39;1138:2;1123:18;;;;1110:32;;-1:-1:-1;;;894:254:1:o;1527:328::-;1604:6;1612;1620;1673:2;1661:9;1652:7;1648:23;1644:32;1641:52;;;1689:1;1686;1679:12;1641:52;1712:29;1731:9;1712:29;:::i;:::-;1702:39;;1760:38;1794:2;1783:9;1779:18;1760:38;:::i;:::-;1750:48;;1845:2;1834:9;1830:18;1817:32;1807:42;;1527:328;;;;;:::o;2049:127::-;2110:10;2105:3;2101:20;2098:1;2091:31;2141:4;2138:1;2131:15;2165:4;2162:1;2155:15;2181:1063;2267:6;2275;2283;2336:2;2324:9;2315:7;2311:23;2307:32;2304:52;;;2352:1;2349;2342:12;2304:52;2375:29;2394:9;2375:29;:::i;:::-;2365:39;;2451:2;2440:9;2436:18;2423:32;2413:42;;2506:2;2495:9;2491:18;2478:32;2529:18;2570:2;2562:6;2559:14;2556:34;;;2586:1;2583;2576:12;2556:34;2624:6;2613:9;2609:22;2599:32;;2669:7;2662:4;2658:2;2654:13;2650:27;2640:55;;2691:1;2688;2681:12;2640:55;2727:2;2714:16;2749:2;2745;2742:10;2739:36;;;2755:18;;:::i;:::-;2830:2;2824:9;2798:2;2884:13;;-1:-1:-1;;2880:22:1;;;2904:2;2876:31;2872:40;2860:53;;;2928:18;;;2948:22;;;2925:46;2922:72;;;2974:18;;:::i;:::-;3014:10;3010:2;3003:22;3049:2;3041:6;3034:18;3089:7;3084:2;3079;3075;3071:11;3067:20;3064:33;3061:53;;;3110:1;3107;3100:12;3061:53;3166:2;3161;3157;3153:11;3148:2;3140:6;3136:15;3123:46;3211:1;3206:2;3201;3193:6;3189:15;3185:24;3178:35;3232:6;3222:16;;;;;;;2181:1063;;;;;:::o;3249:186::-;3308:6;3361:2;3349:9;3340:7;3336:23;3332:32;3329:52;;;3377:1;3374;3367:12;3329:52;3400:29;3419:9;3400:29;:::i;3675:733::-;3763:6;3771;3779;3787;3840:2;3828:9;3819:7;3815:23;3811:32;3808:52;;;3856:1;3853;3846:12;3808:52;3879:29;3898:9;3879:29;:::i;:::-;3869:39;;3955:2;3944:9;3940:18;3927:32;3917:42;;4010:2;3999:9;3995:18;3982:32;4033:18;4074:2;4066:6;4063:14;4060:34;;;4090:1;4087;4080:12;4060:34;4128:6;4117:9;4113:22;4103:32;;4173:7;4166:4;4162:2;4158:13;4154:27;4144:55;;4195:1;4192;4185:12;4144:55;4235:2;4222:16;4261:2;4253:6;4250:14;4247:34;;;4277:1;4274;4267:12;4247:34;4322:7;4317:2;4308:6;4304:2;4300:15;4296:24;4293:37;4290:57;;;4343:1;4340;4333:12;4290:57;3675:733;;;;-1:-1:-1;;4374:2:1;4366:11;;-1:-1:-1;;;3675:733:1:o;4413:180::-;4472:6;4525:2;4513:9;4504:7;4500:23;4496:32;4493:52;;;4541:1;4538;4531:12;4493:52;-1:-1:-1;4564:23:1;;4413:180;-1:-1:-1;4413:180:1:o;4598:260::-;4666:6;4674;4727:2;4715:9;4706:7;4702:23;4698:32;4695:52;;;4743:1;4740;4733:12;4695:52;4766:29;4785:9;4766:29;:::i;:::-;4756:39;;4814:38;4848:2;4837:9;4833:18;4814:38;:::i;:::-;4804:48;;4598:260;;;;;:::o;4863:380::-;4942:1;4938:12;;;;4985;;;5006:61;;5060:4;5052:6;5048:17;5038:27;;5006:61;5113:2;5105:6;5102:14;5082:18;5079:38;5076:161;;5159:10;5154:3;5150:20;5147:1;5140:31;5194:4;5191:1;5184:15;5222:4;5219:1;5212:15;5076:161;;4863:380;;;:::o;5248:127::-;5309:10;5304:3;5300:20;5297:1;5290:31;5340:4;5337:1;5330:15;5364:4;5361:1;5354:15;5380:128;5420:3;5451:1;5447:6;5444:1;5441:13;5438:39;;;5457:18;;:::i;:::-;-1:-1:-1;5493:9:1;;5380:128::o;6327:184::-;6397:6;6450:2;6438:9;6429:7;6425:23;6421:32;6418:52;;;6466:1;6463;6456:12;6418:52;-1:-1:-1;6489:16:1;;6327:184;-1:-1:-1;6327:184:1:o;7142:277::-;7209:6;7262:2;7250:9;7241:7;7237:23;7233:32;7230:52;;;7278:1;7275;7268:12;7230:52;7310:9;7304:16;7363:5;7356:13;7349:21;7342:5;7339:32;7329:60;;7385:1;7382;7375:12;10187:386;10419:1;10415;10410:3;10406:11;10402:19;10394:6;10390:32;10379:9;10372:51;10459:6;10454:2;10443:9;10439:18;10432:34;10502:2;10497;10486:9;10482:18;10475:30;10353:4;10522:45;10563:2;10552:9;10548:18;10540:6;10522:45;:::i;:::-;10514:53;10187:386;-1:-1:-1;;;;;10187:386:1:o;11383:125::-;11423:4;11451:1;11448;11445:8;11442:34;;;11456:18;;:::i;:::-;-1:-1:-1;11493:9:1;;11383:125::o

Swarm Source

ipfs://c791294124434694be3b6e025c17945a85eb6e2b324ae28381095f416fb83eef
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.