MOVR Price: $21.56 (-2.50%)
Gas: 3 GWei

Contract

0x3bfd113ad0329a7994a681236323fb16E16790e3

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve64204132024-03-26 22:52:1939 hrs ago1711493539IN
Lido: wstKSM Token
0 MOVR0.000092143.125
Approve64203972024-03-26 22:48:5439 hrs ago1711493334IN
Lido: wstKSM Token
0 MOVR0.000144533.125
Unwrap63324832024-03-13 20:46:4814 days ago1710362808IN
Lido: wstKSM Token
0 MOVR0.000373252.75
Unwrap62991472024-03-08 21:14:1219 days ago1709932452IN
Lido: wstKSM Token
0 MOVR0.000451923.333
Approve62862822024-03-06 22:41:4821 days ago1709764908IN
Lido: wstKSM Token
0 MOVR0.00014463.125
Unwrap62571922024-03-02 13:43:4826 days ago1709387028IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62559662024-03-02 9:22:1226 days ago1709371332IN
Lido: wstKSM Token
0 MOVR0.000450863.4
Approve62559432024-03-02 9:16:1226 days ago1709370972IN
Lido: wstKSM Token
0 MOVR0.000158393.4
Approve62542442024-03-02 3:09:5426 days ago1709348994IN
Lido: wstKSM Token
0 MOVR0.00007873.2385
Unwrap62309332024-02-27 16:03:1829 days ago1709049798IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62309142024-02-27 15:59:1829 days ago1709049558IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62309132024-02-27 15:59:0629 days ago1709049546IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62309112024-02-27 15:58:4229 days ago1709049522IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62309062024-02-27 15:57:4229 days ago1709049462IN
Lido: wstKSM Token
0 MOVR0.00042363.12097965
Unwrap62309012024-02-27 15:56:4229 days ago1709049402IN
Lido: wstKSM Token
0 MOVR0.000431453.178845
Unwrap62308952024-02-27 15:55:1829 days ago1709049318IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62308912024-02-27 15:54:3029 days ago1709049270IN
Lido: wstKSM Token
0 MOVR0.000431453.178845
Unwrap62308792024-02-27 15:51:1229 days ago1709049072IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap62308542024-02-27 15:46:0029 days ago1709048760IN
Lido: wstKSM Token
0 MOVR0.000439553.2385
Unwrap61332932024-02-12 12:33:1845 days ago1707741198IN
Lido: wstKSM Token
0 MOVR0.000373252.75
Approve60802772024-02-04 15:57:3052 days ago1707062250IN
Lido: wstKSM Token
0 MOVR0.000089433.4
Approve60802622024-02-04 15:54:1852 days ago1707062058IN
Lido: wstKSM Token
0 MOVR0.000089433.4
Approve60802482024-02-04 15:51:1852 days ago1707061878IN
Lido: wstKSM Token
0 MOVR0.000082633.4
Approve60698542024-02-03 3:04:1854 days ago1706929458IN
Lido: wstKSM Token
0 MOVR0.000144573.125
Unwrap60493722024-01-30 23:32:4857 days ago1706657568IN
Lido: wstKSM Token
0 MOVR0.000373252.75
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:
WstKSM

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : wstKSM.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "ERC20.sol";
import "IERC20.sol";
import "ILido.sol";

contract WstKSM is ERC20 {
    // LIDO contract
    ILido public LIDO;

    // vKSM precompile
    IERC20 public VKSM;

    /**
     * @param _lido address of the StKSM token to wrap
     */
    constructor(ILido _lido, IERC20 _vKSM) ERC20("Wrapped liquid staked KSM", "wstKSM") {
        LIDO = _lido;
        VKSM = _vKSM;
    }

    /**
    * @notice Stub fallback for native token, always reverting
    */
    fallback() external {
        revert("WSTKSM: FORBIDDEN");
    }

    /**
     * @return the number of decimals for getting user representation of a token amount.
     */
    function decimals() public view override returns (uint8) {
        return 12;
    }

    /**
     * @notice Stake vKSM to stKSM and wrap stKSM to wstKSM
     * @param _vKSMAmount amount of vKSM
     * @return Amount of wstKSM for a given vKSM amount
     */
    function submit(uint256 _vKSMAmount) external returns (uint256) {
        require(_vKSMAmount > 0, "WSTKSM: ZERO_VKSM");
        VKSM.transferFrom(msg.sender, address(this), _vKSMAmount);
        if (VKSM.allowance(address(this), address(LIDO)) < _vKSMAmount) {
            VKSM.approve(address(LIDO), type(uint256).max);
        }
        uint256 shares = LIDO.deposit(_vKSMAmount);
        require(shares > 0, "WSTKSM: ZERO_SHARES");
        _mint(msg.sender, shares);
        return shares;
    }

    /**
     * @notice Wrap stKSM to wstKSM
     * @param _stKSMAmount amount of stKSM
     * @return Amount of wstKSM for a given stKSM amount
     */
    function wrap(uint256 _stKSMAmount) external returns (uint256) {
        require(_stKSMAmount > 0, "WSTKSM: ZERO_STKSM");
        uint256 wstKSMAmount = LIDO.getSharesByPooledKSM(_stKSMAmount);
        require(wstKSMAmount > 0, "WSTKSM: MINT_ZERO_AMOUNT");
        _mint(msg.sender, wstKSMAmount);
        require(LIDO.transferFrom(msg.sender, address(this), _stKSMAmount), "WSTKSM: TRANSFER_FROM_REVERT");
        return wstKSMAmount;
    }

    /**
     * @notice Unwrap wstKSM to stKSM
     * @param _wstKSMAmount amount of wstKSM
     * @return Amount of stKSM for a given wstKSM amount
     */
    function unwrap(uint256 _wstKSMAmount) external returns (uint256) {
        require(_wstKSMAmount > 0, "WSTKSM: ZERO_WSTKSM");
        uint256 stKSMAmount = LIDO.getPooledKSMByShares(_wstKSMAmount);
        require(stKSMAmount > 0, "WSTKSM: BURN_ZERO_AMOUNT");
        _burn(msg.sender, _wstKSMAmount);
        require(LIDO.transfer(msg.sender, stKSMAmount), "WSTKSM: TRANSFER_REVERT");
        return stKSMAmount;
    }

    /**
     * @notice Get amount of wstKSM for a given amount of stKSM
     * @param _stKSMAmount amount of stKSM
     * @return Amount of wstKSM for a given stKSM amount
     */
    function getWstKSMByStKSM(uint256 _stKSMAmount) external view returns (uint256) {
        return LIDO.getSharesByPooledKSM(_stKSMAmount);
    }

    /**
     * @notice Get amount of stKSM for a given amount of wstKSM
     * @param _wstKSMAmount amount of wstKSM
     * @return Amount of stKSM for a given wstKSM amount
     */
    function getStKSMByWstKSM(uint256 _wstKSMAmount) external view returns (uint256) {
        return LIDO.getPooledKSMByShares(_wstKSMAmount);
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "IERC20Metadata.sol";
import "Context.sol";

/**
 * @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, 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 defaut 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:
     *
     * - `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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

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

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += 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 += amount;
        _balances[account] += 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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= 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 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 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 4 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";

/**
 * @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 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 6 of 7 : ILido.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "Types.sol";

interface ILido {
    function MAX_ALLOWABLE_DIFFERENCE() external view returns(uint128);

    function developers() external view returns(address);

    function deposit(uint256 amount) external returns (uint256);
    
    function distributeRewards(uint256 totalRewards, uint256 ledgerBalance) external;

    function distributeLosses(uint256 totalLosses, uint256 ledgerBalance) external;

    function getStashAccounts() external view returns (bytes32[] memory);

    function getLedgerAddresses() external view returns (address[] memory);

    function ledgerStake(address ledger) external view returns (uint256);

    function ledgerShares(address ledger) external view returns (uint256);

    function avaliableForStake() external view returns (uint256);

    function transferFromLedger(uint256 amount) external;

    function transferToLedger(uint256 amount) external;

    function flushStakes() external;

    function findLedger(bytes32 stash) external view returns (address);

    function AUTH_MANAGER() external returns(address);

    function ORACLE_MASTER() external view returns (address);

    function getPooledKSMByShares(uint256 sharesAmount) external view returns (uint256);

    function getSharesByPooledKSM(uint256 amount) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

File 7 of 7 : Types.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface Types {
    struct Fee{
        uint16 total;
        uint16 operators;
        uint16 developers;
        uint16 treasury;
    }

    struct Stash {
        bytes32 stashAccount;
        uint64  eraId;
    }

    enum LedgerStatus {
        // bonded but not participate in staking
        Idle,
        // participate as nominator
        Nominator,
        // participate as validator
        Validator,
        // not bonded not participate in staking
        None
    }

    struct UnlockingChunk {
        uint128 balance;
        uint64 era;
    }

    struct OracleData {
        bytes32 stashAccount;
        bytes32 controllerAccount;
        LedgerStatus stakeStatus;
        // active part of stash balance
        uint128 activeBalance;
        // locked for stake stash balance.
        uint128 totalBalance;
        // totalBalance = activeBalance + sum(unlocked.balance)
        UnlockingChunk[] unlocking;
        uint32[] claimedRewards;
        // stash account balance. It includes locked (totalBalance) balance assigned
        // to a controller.
        uint128 stashBalance;
        // slashing spans for ledger
        uint32 slashingSpans;
    }

    struct RelaySpec {
        uint16 maxValidatorsPerLedger;
        uint128 minNominatorBalance;
        uint128 ledgerMinimumActiveBalance;
        uint256 maxUnlockingChunks;
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "wstKSM.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ILido","name":"_lido","type":"address"},{"internalType":"contract IERC20","name":"_vKSM","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"LIDO","outputs":[{"internalType":"contract ILido","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VKSM","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":[],"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":"_wstKSMAmount","type":"uint256"}],"name":"getStKSMByWstKSM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stKSMAmount","type":"uint256"}],"name":"getWstKSMByStKSM","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":"uint256","name":"_vKSMAmount","type":"uint256"}],"name":"submit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_wstKSMAmount","type":"uint256"}],"name":"unwrap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stKSMAmount","type":"uint256"}],"name":"wrap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200163b3803806200163b8339810160408190526200003491620001a5565b604080518082018252601981527f57726170706564206c6971756964207374616b6564204b534d000000000000006020808301918252835180850190945260068452657773744b534d60d01b9084015281519192916200009791600391620000e6565b508051620000ad906004906020840190620000e6565b5050600580546001600160a01b039485166001600160a01b03199182161790915560068054939094169216919091179091555062000221565b828054620000f490620001e4565b90600052602060002090601f01602090048101928262000118576000855562000163565b82601f106200013357805160ff191683800117855562000163565b8280016001018555821562000163579182015b828111156200016357825182559160200191906001019062000146565b506200017192915062000175565b5090565b5b8082111562000171576000815560010162000176565b6001600160a01b0381168114620001a257600080fd5b50565b60008060408385031215620001b957600080fd5b8251620001c6816200018c565b6020840151909250620001d9816200018c565b809150509250929050565b600181811c90821680620001f957607f821691505b602082108114156200021b57634e487b7160e01b600052602260045260246000fd5b50919050565b61140a80620002316000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806395d89b41116100a2578063dd62ed3e11610071578063dd62ed3e14610287578063de0e9a3e146102c0578063ea598cb0146102d3578063ea99c2a6146102e6578063f44c7db9146102f957610116565b806395d89b4114610246578063a457c2d71461024e578063a88578d614610261578063a9059cbb1461027457610116565b80632dc51741116100e95780632dc51741146101bd578063313ce567146101e857806339509351146101f757806370a082311461020a5780638b21f1701461023357610116565b806306fdde0314610157578063095ea7b31461017557806318160ddd1461019857806323b872dd146101aa575b60405162461bcd60e51b81526020600482015260116024820152702ba9aa25a9a69d102327a92124a22222a760791b60448201526064015b60405180910390fd5b61015f61030c565b60405161016c91906111d4565b60405180910390f35b610188610183366004611245565b61039e565b604051901515815260200161016c565b6002545b60405190815260200161016c565b6101886101b836600461126f565b6103b4565b6006546101d0906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b604051600c815260200161016c565b610188610205366004611245565b610465565b61019c6102183660046112ab565b6001600160a01b031660009081526020819052604090205490565b6005546101d0906001600160a01b031681565b61015f61049c565b61018861025c366004611245565b6104ab565b61019c61026f3660046112cd565b610546565b610188610282366004611245565b6105ca565b61019c6102953660046112e6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61019c6102ce3660046112cd565b6105d7565b61019c6102e13660046112cd565b6107c7565b61019c6102f43660046112cd565b6109bc565b61019c6103073660046112cd565b610c77565b60606003805461031b90611319565b80601f016020809104026020016040519081016040528092919081815260200182805461034790611319565b80156103945780601f1061036957610100808354040283529160200191610394565b820191906000526020600020905b81548152906001019060200180831161037757829003601f168201915b5050505050905090565b60006103ab338484610ca9565b50600192915050565b60006103c1848484610dce565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104465760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161014e565b61045a8533610455868561136a565b610ca9565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103ab918590610455908690611381565b60606004805461031b90611319565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561052d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161014e565b61053c3385610455868561136a565b5060019392505050565b60055460405163598903f960e11b8152600481018390526000916001600160a01b03169063b31207f2906024015b60206040518083038186803b15801561058c57600080fd5b505afa1580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c49190611399565b92915050565b60006103ab338484610dce565b600080821161061e5760405162461bcd60e51b81526020600482015260136024820152725753544b534d3a205a45524f5f5753544b534d60681b604482015260640161014e565b6005546040516363ca402d60e01b8152600481018490526000916001600160a01b0316906363ca402d9060240160206040518083038186803b15801561066357600080fd5b505afa158015610677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069b9190611399565b9050600081116106ed5760405162461bcd60e51b815260206004820152601860248201527f5753544b534d3a204255524e5f5a45524f5f414d4f554e540000000000000000604482015260640161014e565b6106f73384610fa6565b60055460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561074357600080fd5b505af1158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906113b2565b6105c45760405162461bcd60e51b815260206004820152601760248201527f5753544b534d3a205452414e534645525f524556455254000000000000000000604482015260640161014e565b600080821161080d5760405162461bcd60e51b81526020600482015260126024820152715753544b534d3a205a45524f5f53544b534d60701b604482015260640161014e565b60055460405163598903f960e11b8152600481018490526000916001600160a01b03169063b31207f29060240160206040518083038186803b15801561085257600080fd5b505afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611399565b9050600081116108dc5760405162461bcd60e51b815260206004820152601860248201527f5753544b534d3a204d494e545f5a45524f5f414d4f554e540000000000000000604482015260640161014e565b6108e633826110f5565b6005546040516323b872dd60e01b8152336004820152306024820152604481018590526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561093857600080fd5b505af115801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906113b2565b6105c45760405162461bcd60e51b815260206004820152601c60248201527f5753544b534d3a205452414e534645525f46524f4d5f52455645525400000000604482015260640161014e565b6000808211610a015760405162461bcd60e51b81526020600482015260116024820152705753544b534d3a205a45524f5f564b534d60781b604482015260640161014e565b6006546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd90606401602060405180830381600087803b158015610a5357600080fd5b505af1158015610a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8b91906113b2565b50600654600554604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201528492919091169063dd62ed3e9060440160206040518083038186803b158015610add57600080fd5b505afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190611399565b1015610ba65760065460055460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b158015610b6c57600080fd5b505af1158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba491906113b2565b505b60055460405163b6b55f2560e01b8152600481018490526000916001600160a01b03169063b6b55f2590602401602060405180830381600087803b158015610bed57600080fd5b505af1158015610c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c259190611399565b905060008111610c6d5760405162461bcd60e51b81526020600482015260136024820152725753544b534d3a205a45524f5f53484152455360681b604482015260640161014e565b6105c433826110f5565b6005546040516363ca402d60e01b8152600481018390526000916001600160a01b0316906363ca402d90602401610574565b6001600160a01b038316610d0b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161014e565b6001600160a01b038216610d6c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161014e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161014e565b6001600160a01b038216610e945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161014e565b6001600160a01b03831660009081526020819052604090205481811015610f0c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161014e565b610f16828261136a565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610f4c908490611381565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f9891815260200190565b60405180910390a350505050565b6001600160a01b0382166110065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161014e565b6001600160a01b0382166000908152602081905260409020548181101561107a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161014e565b611084828261136a565b6001600160a01b038416600090815260208190526040812091909155600280548492906110b290849061136a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610dc1565b6001600160a01b03821661114b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161014e565b806002600082825461115d9190611381565b90915550506001600160a01b0382166000908152602081905260408120805483929061118a908490611381565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611201578581018301518582016040015282016111e5565b81811115611213576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461124057600080fd5b919050565b6000806040838503121561125857600080fd5b61126183611229565b946020939093013593505050565b60008060006060848603121561128457600080fd5b61128d84611229565b925061129b60208501611229565b9150604084013590509250925092565b6000602082840312156112bd57600080fd5b6112c682611229565b9392505050565b6000602082840312156112df57600080fd5b5035919050565b600080604083850312156112f957600080fd5b61130283611229565b915061131060208401611229565b90509250929050565b600181811c9082168061132d57607f821691505b6020821081141561134e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561137c5761137c611354565b500390565b6000821982111561139457611394611354565b500190565b6000602082840312156113ab57600080fd5b5051919050565b6000602082840312156113c457600080fd5b815180151581146112c657600080fdfea2646970667358221220552e7e30eaf51579d01063889f88a3406165a9d1886da2a1fe8d957e7f0af31964736f6c63430008090033000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c000000000000000000000000ffffffff1fcacbd218edc0eba20fc2308c778080

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806395d89b41116100a2578063dd62ed3e11610071578063dd62ed3e14610287578063de0e9a3e146102c0578063ea598cb0146102d3578063ea99c2a6146102e6578063f44c7db9146102f957610116565b806395d89b4114610246578063a457c2d71461024e578063a88578d614610261578063a9059cbb1461027457610116565b80632dc51741116100e95780632dc51741146101bd578063313ce567146101e857806339509351146101f757806370a082311461020a5780638b21f1701461023357610116565b806306fdde0314610157578063095ea7b31461017557806318160ddd1461019857806323b872dd146101aa575b60405162461bcd60e51b81526020600482015260116024820152702ba9aa25a9a69d102327a92124a22222a760791b60448201526064015b60405180910390fd5b61015f61030c565b60405161016c91906111d4565b60405180910390f35b610188610183366004611245565b61039e565b604051901515815260200161016c565b6002545b60405190815260200161016c565b6101886101b836600461126f565b6103b4565b6006546101d0906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b604051600c815260200161016c565b610188610205366004611245565b610465565b61019c6102183660046112ab565b6001600160a01b031660009081526020819052604090205490565b6005546101d0906001600160a01b031681565b61015f61049c565b61018861025c366004611245565b6104ab565b61019c61026f3660046112cd565b610546565b610188610282366004611245565b6105ca565b61019c6102953660046112e6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61019c6102ce3660046112cd565b6105d7565b61019c6102e13660046112cd565b6107c7565b61019c6102f43660046112cd565b6109bc565b61019c6103073660046112cd565b610c77565b60606003805461031b90611319565b80601f016020809104026020016040519081016040528092919081815260200182805461034790611319565b80156103945780601f1061036957610100808354040283529160200191610394565b820191906000526020600020905b81548152906001019060200180831161037757829003601f168201915b5050505050905090565b60006103ab338484610ca9565b50600192915050565b60006103c1848484610dce565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104465760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161014e565b61045a8533610455868561136a565b610ca9565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103ab918590610455908690611381565b60606004805461031b90611319565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561052d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161014e565b61053c3385610455868561136a565b5060019392505050565b60055460405163598903f960e11b8152600481018390526000916001600160a01b03169063b31207f2906024015b60206040518083038186803b15801561058c57600080fd5b505afa1580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c49190611399565b92915050565b60006103ab338484610dce565b600080821161061e5760405162461bcd60e51b81526020600482015260136024820152725753544b534d3a205a45524f5f5753544b534d60681b604482015260640161014e565b6005546040516363ca402d60e01b8152600481018490526000916001600160a01b0316906363ca402d9060240160206040518083038186803b15801561066357600080fd5b505afa158015610677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069b9190611399565b9050600081116106ed5760405162461bcd60e51b815260206004820152601860248201527f5753544b534d3a204255524e5f5a45524f5f414d4f554e540000000000000000604482015260640161014e565b6106f73384610fa6565b60055460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561074357600080fd5b505af1158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b91906113b2565b6105c45760405162461bcd60e51b815260206004820152601760248201527f5753544b534d3a205452414e534645525f524556455254000000000000000000604482015260640161014e565b600080821161080d5760405162461bcd60e51b81526020600482015260126024820152715753544b534d3a205a45524f5f53544b534d60701b604482015260640161014e565b60055460405163598903f960e11b8152600481018490526000916001600160a01b03169063b31207f29060240160206040518083038186803b15801561085257600080fd5b505afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611399565b9050600081116108dc5760405162461bcd60e51b815260206004820152601860248201527f5753544b534d3a204d494e545f5a45524f5f414d4f554e540000000000000000604482015260640161014e565b6108e633826110f5565b6005546040516323b872dd60e01b8152336004820152306024820152604481018590526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561093857600080fd5b505af115801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906113b2565b6105c45760405162461bcd60e51b815260206004820152601c60248201527f5753544b534d3a205452414e534645525f46524f4d5f52455645525400000000604482015260640161014e565b6000808211610a015760405162461bcd60e51b81526020600482015260116024820152705753544b534d3a205a45524f5f564b534d60781b604482015260640161014e565b6006546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd90606401602060405180830381600087803b158015610a5357600080fd5b505af1158015610a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8b91906113b2565b50600654600554604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201528492919091169063dd62ed3e9060440160206040518083038186803b158015610add57600080fd5b505afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190611399565b1015610ba65760065460055460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b158015610b6c57600080fd5b505af1158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba491906113b2565b505b60055460405163b6b55f2560e01b8152600481018490526000916001600160a01b03169063b6b55f2590602401602060405180830381600087803b158015610bed57600080fd5b505af1158015610c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c259190611399565b905060008111610c6d5760405162461bcd60e51b81526020600482015260136024820152725753544b534d3a205a45524f5f53484152455360681b604482015260640161014e565b6105c433826110f5565b6005546040516363ca402d60e01b8152600481018390526000916001600160a01b0316906363ca402d90602401610574565b6001600160a01b038316610d0b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161014e565b6001600160a01b038216610d6c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161014e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161014e565b6001600160a01b038216610e945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161014e565b6001600160a01b03831660009081526020819052604090205481811015610f0c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161014e565b610f16828261136a565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610f4c908490611381565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f9891815260200190565b60405180910390a350505050565b6001600160a01b0382166110065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161014e565b6001600160a01b0382166000908152602081905260409020548181101561107a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161014e565b611084828261136a565b6001600160a01b038416600090815260208190526040812091909155600280548492906110b290849061136a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610dc1565b6001600160a01b03821661114b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161014e565b806002600082825461115d9190611381565b90915550506001600160a01b0382166000908152602081905260408120805483929061118a908490611381565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611201578581018301518582016040015282016111e5565b81811115611213576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461124057600080fd5b919050565b6000806040838503121561125857600080fd5b61126183611229565b946020939093013593505050565b60008060006060848603121561128457600080fd5b61128d84611229565b925061129b60208501611229565b9150604084013590509250925092565b6000602082840312156112bd57600080fd5b6112c682611229565b9392505050565b6000602082840312156112df57600080fd5b5035919050565b600080604083850312156112f957600080fd5b61130283611229565b915061131060208401611229565b90509250929050565b600181811c9082168061132d57607f821691505b6020821081141561134e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561137c5761137c611354565b500390565b6000821982111561139457611394611354565b500190565b6000602082840312156113ab57600080fd5b5051919050565b6000602082840312156113c457600080fd5b815180151581146112c657600080fdfea2646970667358221220552e7e30eaf51579d01063889f88a3406165a9d1886da2a1fe8d957e7f0af31964736f6c63430008090033

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

000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c000000000000000000000000ffffffff1fcacbd218edc0eba20fc2308c778080

-----Decoded View---------------
Arg [0] : _lido (address): 0xFfc7780C34B450d917d557E728f033033CB4fA8C
Arg [1] : _vKSM (address): 0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffc7780c34b450d917d557e728f033033cb4fa8c
Arg [1] : 000000000000000000000000ffffffff1fcacbd218edc0eba20fc2308c778080


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Lido for Kusama is a liquid staking solution for KSM backed by industry-leading staking providers.

Validator Index Block Amount
View All Withdrawals

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

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