ETH Price: $2,615.49 (+3.08%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve224955892025-05-16 12:18:5930 days ago1747397939IN
0x59063FBE...f5d2018e1
0 ETH0.000160375.49132525
Wrap224955842025-05-16 12:17:5930 days ago1747397879IN
0x59063FBE...f5d2018e1
0 ETH0.000321795.50791583
Approve224955382025-05-16 12:08:3530 days ago1747397315IN
0x59063FBE...f5d2018e1
0 ETH0.000137962.97942382
Wrap224955312025-05-16 12:07:1130 days ago1747397231IN
0x59063FBE...f5d2018e1
0 ETH0.000188762.49976155
Approve223456712025-04-25 11:14:3551 days ago1745579675IN
0x59063FBE...f5d2018e1
0 ETH0.000057121.23392914
Wrap223456682025-04-25 11:13:5951 days ago1745579639IN
0x59063FBE...f5d2018e1
0 ETH0.000092031.30123981
Unwrap222909292025-04-17 19:53:2359 days ago1744919603IN
0x59063FBE...f5d2018e1
0 ETH0.000045550.7
Approve222628582025-04-13 21:51:3563 days ago1744581095IN
0x59063FBE...f5d2018e1
0 ETH0.000015080.5165286
Approve222628352025-04-13 21:46:5963 days ago1744580819IN
0x59063FBE...f5d2018e1
0 ETH0.000025440.54991246
Wrap222628212025-04-13 21:44:1163 days ago1744580651IN
0x59063FBE...f5d2018e1
0 ETH0.000043960.66693624
Approve222254482025-04-08 16:42:1168 days ago1744130531IN
0x59063FBE...f5d2018e1
0 ETH0.000094773.58925596
Wrap222254442025-04-08 16:41:2368 days ago1744130483IN
0x59063FBE...f5d2018e1
0 ETH0.000383343.65353134
Unwrap222254262025-04-08 16:37:4768 days ago1744130267IN
0x59063FBE...f5d2018e1
0 ETH0.000102512.42764711
Approve222190682025-04-07 19:20:1169 days ago1744053611IN
0x59063FBE...f5d2018e1
0 ETH0.000059492.2531041
Wrap222190662025-04-07 19:19:4769 days ago1744053587IN
0x59063FBE...f5d2018e1
0 ETH0.000238952.277377
Unwrap222190562025-04-07 19:17:4769 days ago1744053467IN
0x59063FBE...f5d2018e1
0 ETH0.000095482.2612218
Approve222190482025-04-07 19:16:1169 days ago1744053371IN
0x59063FBE...f5d2018e1
0 ETH0.000055242.09227231
Wrap222190462025-04-07 19:15:4769 days ago1744053347IN
0x59063FBE...f5d2018e1
0 ETH0.000199581.90213183
Unwrap222190152025-04-07 19:09:3569 days ago1744052975IN
0x59063FBE...f5d2018e1
0 ETH0.000100532.38064919
Approve222190062025-04-07 19:07:4769 days ago1744052867IN
0x59063FBE...f5d2018e1
0 ETH0.000055432.09939806
Wrap222190042025-04-07 19:07:2369 days ago1744052843IN
0x59063FBE...f5d2018e1
0 ETH0.000205121.95492655
Unwrap222189962025-04-07 19:05:4769 days ago1744052747IN
0x59063FBE...f5d2018e1
0 ETH0.000088452.09478834
Approve222188962025-04-07 18:45:3569 days ago1744051535IN
0x59063FBE...f5d2018e1
0 ETH0.000085542.92898546
Wrap222188932025-04-07 18:44:5969 days ago1744051499IN
0x59063FBE...f5d2018e1
0 ETH0.000322553.07418141
Unwrap222188332025-04-07 18:32:4769 days ago1744050767IN
0x59063FBE...f5d2018e1
0 ETH0.00012372.92953553
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x60c06040221117422025-03-23 19:40:4784 days ago1742758847  Contract Creation0 ETH

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BimaWrappedCollateral

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract BimaWrappedCollateral is ERC20 {
    ERC20 public immutable underlyingCollateral;

    uint256 private immutable DECIMAL_DIFF;

    constructor(ERC20 _underlyingCollateral, string memory _name, string memory _symbol) ERC20(_name, _symbol) {
        underlyingCollateral = ERC20(_underlyingCollateral);

        DECIMAL_DIFF = 18 - underlyingCollateral.decimals();
    }

    function wrap(uint256 _underlyingAmount) external returns (uint256 _wrappedAmount) {
        underlyingCollateral.transferFrom(msg.sender, address(this), _underlyingAmount);

        _wrappedAmount = previewWrappedAmount(_underlyingAmount);

        _mint(msg.sender, _wrappedAmount);
    }

    function unwrap(uint256 _wrappedAmount) external returns (uint256 _underlyingAmount) {
        _burn(msg.sender, _wrappedAmount);

        _underlyingAmount = previewUnwrappedAmount(_wrappedAmount);

        underlyingCollateral.transfer(msg.sender, _underlyingAmount);
    }

    function previewWrappedAmount(uint256 _underlyingAmount) public view returns (uint256 _wrappedAmount) {
        _wrappedAmount = _underlyingAmount * 10 ** DECIMAL_DIFF;
    }

    function previewUnwrappedAmount(uint256 _wrappedAmount) public view returns (uint256 _underlyingAmount) {
        _underlyingAmount = _wrappedAmount / (10 ** DECIMAL_DIFF);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract ERC20","name":"_underlyingCollateral","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":"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":"_wrappedAmount","type":"uint256"}],"name":"previewUnwrappedAmount","outputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"previewWrappedAmount","outputs":[{"internalType":"uint256","name":"_wrappedAmount","type":"uint256"}],"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":"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":[],"name":"underlyingCollateral","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wrappedAmount","type":"uint256"}],"name":"unwrap","outputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"wrap","outputs":[{"internalType":"uint256","name":"_wrappedAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001270380380620012708339810160408190526200003491620001a9565b81816003620000448382620002c2565b506004620000538282620002c2565b5050506001600160a01b03831660808190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015620000a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c791906200038e565b620000d4906012620003ba565b60ff1660a05250620003e8915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200010c57600080fd5b81516001600160401b0380821115620001295762000129620000e4565b604051601f8301601f19908116603f01168101908282118183101715620001545762000154620000e4565b816040528381526020925086838588010111156200017157600080fd5b600091505b8382101562000195578582018301518183018401529082019062000176565b600093810190920192909252949350505050565b600080600060608486031215620001bf57600080fd5b83516001600160a01b0381168114620001d757600080fd5b60208501519093506001600160401b0380821115620001f557600080fd5b6200020387838801620000fa565b935060408601519150808211156200021a57600080fd5b506200022986828701620000fa565b9150509250925092565b600181811c908216806200024857607f821691505b6020821081036200026957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002bd57600081815260208120601f850160051c81016020861015620002985750805b601f850160051c820191505b81811015620002b957828155600101620002a4565b5050505b505050565b81516001600160401b03811115620002de57620002de620000e4565b620002f681620002ef845462000233565b846200026f565b602080601f8311600181146200032e5760008415620003155750858301515b600019600386901b1c1916600185901b178555620002b9565b600085815260208120601f198616915b828110156200035f578886015182559484019460019091019084016200033e565b50858210156200037e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620003a157600080fd5b815160ff81168114620003b357600080fd5b9392505050565b60ff8281168282160390811115620003e257634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a051610e4d620004236000396000818161041401526105da01526000818161010a015281816104a301526105430152610e4d6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806395d89b4111610097578063dd62ed3e11610066578063dd62ed3e14610232578063de0e9a3e14610245578063ea598cb014610258578063fb60c5551461026b57600080fd5b806395d89b41146101f1578063a457c2d7146101f9578063a9059cbb1461020c578063ad141ac71461021f57600080fd5b806323b872dd116100d357806323b872dd14610193578063313ce567146101a657806339509351146101b557806370a08231146101c857600080fd5b806306aa60ba1461010557806306fdde0314610149578063095ea7b31461015e57806318160ddd14610181575b600080fd5b61012c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61015161027e565b6040516101409190610b36565b61017161016c366004610b9b565b610310565b6040519015158152602001610140565b6002545b604051908152602001610140565b6101716101a1366004610bc5565b61032a565b60405160128152602001610140565b6101716101c3366004610b9b565b61034e565b6101856101d6366004610c01565b6001600160a01b031660009081526020819052604090205490565b610151610370565b610171610207366004610b9b565b61037f565b61017161021a366004610b9b565b6103ff565b61018561022d366004610c23565b61040d565b610185610240366004610c3c565b610444565b610185610253366004610c23565b61046f565b610185610266366004610c23565b61051e565b610185610279366004610c23565b6105d3565b60606003805461028d90610c6f565b80601f01602080910402602001604051908101604052809291908181526020018280546102b990610c6f565b80156103065780601f106102db57610100808354040283529160200191610306565b820191906000526020600020905b8154815290600101906020018083116102e957829003601f168201915b5050505050905090565b60003361031e81858561060a565b60019150505b92915050565b60003361033885828561072f565b6103438585856107a9565b506001949350505050565b60003361031e8185856103618383610444565b61036b9190610cb9565b61060a565b60606004805461028d90610c6f565b6000338161038d8286610444565b9050838110156103f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610343828686840361060a565b60003361031e8185856107a9565b600061043a7f0000000000000000000000000000000000000000000000000000000000000000600a610db0565b6103249083610dbc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061047b338361094d565b6104848261040d565b60405163a9059cbb60e01b8152336004820152602481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af11580156104f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105189190610dde565b50919050565b6040516323b872dd60e01b8152336004820152306024820152604481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610594573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b89190610dde565b506105c2826105d3565b90506105ce3382610a77565b919050565b60006106007f0000000000000000000000000000000000000000000000000000000000000000600a610db0565b6103249083610e00565b6001600160a01b03831661066c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e9565b6001600160a01b0382166106cd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061073b8484610444565b905060001981146107a357818110156107965760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103e9565b6107a3848484840361060a565b50505050565b6001600160a01b03831661080d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e9565b6001600160a01b03821661086f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e9565b6001600160a01b038316600090815260208190526040902054818110156108e75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103e9565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107a3565b6001600160a01b0382166109ad5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103e9565b6001600160a01b03821660009081526020819052604090205481811015610a215760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103e9565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610722565b6001600160a01b038216610acd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103e9565b8060026000828254610adf9190610cb9565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610b6357858101830151858201604001528201610b47565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146105ce57600080fd5b60008060408385031215610bae57600080fd5b610bb783610b84565b946020939093013593505050565b600080600060608486031215610bda57600080fd5b610be384610b84565b9250610bf160208501610b84565b9150604084013590509250925092565b600060208284031215610c1357600080fd5b610c1c82610b84565b9392505050565b600060208284031215610c3557600080fd5b5035919050565b60008060408385031215610c4f57600080fd5b610c5883610b84565b9150610c6660208401610b84565b90509250929050565b600181811c90821680610c8357607f821691505b60208210810361051857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561032457610324610ca3565b600181815b80851115610d07578160001904821115610ced57610ced610ca3565b80851615610cfa57918102915b93841c9390800290610cd1565b509250929050565b600082610d1e57506001610324565b81610d2b57506000610324565b8160018114610d415760028114610d4b57610d67565b6001915050610324565b60ff841115610d5c57610d5c610ca3565b50506001821b610324565b5060208310610133831016604e8410600b8410161715610d8a575081810a610324565b610d948383610ccc565b8060001904821115610da857610da8610ca3565b029392505050565b6000610c1c8383610d0f565b600082610dd957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610df057600080fd5b81518015158114610c1c57600080fd5b808202811582820484141761032457610324610ca356fea2646970667358221220c5b1a34d67451a242e0bfa29b1faa2444c9a3ad8023decfbcaa765bc25b2ca1064736f6c634300081400330000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001142696d6120577261707065642057425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000762772d5742544300000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806395d89b4111610097578063dd62ed3e11610066578063dd62ed3e14610232578063de0e9a3e14610245578063ea598cb014610258578063fb60c5551461026b57600080fd5b806395d89b41146101f1578063a457c2d7146101f9578063a9059cbb1461020c578063ad141ac71461021f57600080fd5b806323b872dd116100d357806323b872dd14610193578063313ce567146101a657806339509351146101b557806370a08231146101c857600080fd5b806306aa60ba1461010557806306fdde0314610149578063095ea7b31461015e57806318160ddd14610181575b600080fd5b61012c7f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981565b6040516001600160a01b0390911681526020015b60405180910390f35b61015161027e565b6040516101409190610b36565b61017161016c366004610b9b565b610310565b6040519015158152602001610140565b6002545b604051908152602001610140565b6101716101a1366004610bc5565b61032a565b60405160128152602001610140565b6101716101c3366004610b9b565b61034e565b6101856101d6366004610c01565b6001600160a01b031660009081526020819052604090205490565b610151610370565b610171610207366004610b9b565b61037f565b61017161021a366004610b9b565b6103ff565b61018561022d366004610c23565b61040d565b610185610240366004610c3c565b610444565b610185610253366004610c23565b61046f565b610185610266366004610c23565b61051e565b610185610279366004610c23565b6105d3565b60606003805461028d90610c6f565b80601f01602080910402602001604051908101604052809291908181526020018280546102b990610c6f565b80156103065780601f106102db57610100808354040283529160200191610306565b820191906000526020600020905b8154815290600101906020018083116102e957829003601f168201915b5050505050905090565b60003361031e81858561060a565b60019150505b92915050565b60003361033885828561072f565b6103438585856107a9565b506001949350505050565b60003361031e8185856103618383610444565b61036b9190610cb9565b61060a565b60606004805461028d90610c6f565b6000338161038d8286610444565b9050838110156103f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610343828686840361060a565b60003361031e8185856107a9565b600061043a7f000000000000000000000000000000000000000000000000000000000000000a600a610db0565b6103249083610dbc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061047b338361094d565b6104848261040d565b60405163a9059cbb60e01b8152336004820152602481018290529091507f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5996001600160a01b03169063a9059cbb906044016020604051808303816000875af11580156104f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105189190610dde565b50919050565b6040516323b872dd60e01b8152336004820152306024820152604481018290526000907f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5996001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610594573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b89190610dde565b506105c2826105d3565b90506105ce3382610a77565b919050565b60006106007f000000000000000000000000000000000000000000000000000000000000000a600a610db0565b6103249083610e00565b6001600160a01b03831661066c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e9565b6001600160a01b0382166106cd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061073b8484610444565b905060001981146107a357818110156107965760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103e9565b6107a3848484840361060a565b50505050565b6001600160a01b03831661080d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e9565b6001600160a01b03821661086f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e9565b6001600160a01b038316600090815260208190526040902054818110156108e75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103e9565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107a3565b6001600160a01b0382166109ad5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103e9565b6001600160a01b03821660009081526020819052604090205481811015610a215760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103e9565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610722565b6001600160a01b038216610acd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103e9565b8060026000828254610adf9190610cb9565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610b6357858101830151858201604001528201610b47565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146105ce57600080fd5b60008060408385031215610bae57600080fd5b610bb783610b84565b946020939093013593505050565b600080600060608486031215610bda57600080fd5b610be384610b84565b9250610bf160208501610b84565b9150604084013590509250925092565b600060208284031215610c1357600080fd5b610c1c82610b84565b9392505050565b600060208284031215610c3557600080fd5b5035919050565b60008060408385031215610c4f57600080fd5b610c5883610b84565b9150610c6660208401610b84565b90509250929050565b600181811c90821680610c8357607f821691505b60208210810361051857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561032457610324610ca3565b600181815b80851115610d07578160001904821115610ced57610ced610ca3565b80851615610cfa57918102915b93841c9390800290610cd1565b509250929050565b600082610d1e57506001610324565b81610d2b57506000610324565b8160018114610d415760028114610d4b57610d67565b6001915050610324565b60ff841115610d5c57610d5c610ca3565b50506001821b610324565b5060208310610133831016604e8410600b8410161715610d8a575081810a610324565b610d948383610ccc565b8060001904821115610da857610da8610ca3565b029392505050565b6000610c1c8383610d0f565b600082610dd957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610df057600080fd5b81518015158114610c1c57600080fd5b808202811582820484141761032457610324610ca356fea2646970667358221220c5b1a34d67451a242e0bfa29b1faa2444c9a3ad8023decfbcaa765bc25b2ca1064736f6c63430008140033

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

0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001142696d6120577261707065642057425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000762772d5742544300000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _underlyingCollateral (address): 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
Arg [1] : _name (string): Bima Wrapped WBTC
Arg [2] : _symbol (string): bw-WBTC

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [4] : 42696d6120577261707065642057425443000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 62772d5742544300000000000000000000000000000000000000000000000000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.