ETH Price: $1,955.29 (-0.94%)
Gas: 0.03 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap BV2For BV3195808422024-04-04 7:14:23689 days ago1712214863IN
0x07b7703F...94B9b257F
0 ETH0.0027163417.64422268
Swap BV2For BV3192908642024-02-23 14:24:11730 days ago1708698251IN
0x07b7703F...94B9b257F
0 ETH0.0059533843.50647676
Swap BV2For BV3192908242024-02-23 14:16:11730 days ago1708697771IN
0x07b7703F...94B9b257F
0 ETH0.0063182341.04831207
Approve BV2192029122024-02-11 6:01:23742 days ago1707631283IN
0x07b7703F...94B9b257F
0 ETH0.0008120425.89357178
Swap BV2For BV3191581802024-02-04 23:22:47748 days ago1707088967IN
0x07b7703F...94B9b257F
0 ETH0.0005877512.80230085
Swap BV2For BV3190770782024-01-24 14:25:35760 days ago1706106335IN
0x07b7703F...94B9b257F
0 ETH0.002995119.18927714
Swap BV2For BV3190387022024-01-19 5:04:59765 days ago1705640699IN
0x07b7703F...94B9b257F
0 ETH0.0030828720.37062857
Swap BV2For BV3190350112024-01-18 16:43:23766 days ago1705596203IN
0x07b7703F...94B9b257F
0 ETH0.0070340746.54690067
Swap BV2For BV3190306462024-01-18 2:03:23766 days ago1705543403IN
0x07b7703F...94B9b257F
0 ETH0.0043282232.24648569
Swap BV2For BV3190303072024-01-18 0:55:23766 days ago1705539323IN
0x07b7703F...94B9b257F
0 ETH0.0017103535.4514679
Approve BV2190302972024-01-18 0:53:23766 days ago1705539203IN
0x07b7703F...94B9b257F
0 ETH0.001148736.62860226
Swap BV2For BV3190302202024-01-18 0:37:47766 days ago1705538267IN
0x07b7703F...94B9b257F
0 ETH0.0015956533.08212371
Swap BV2For BV3190299752024-01-17 23:48:35766 days ago1705535315IN
0x07b7703F...94B9b257F
0 ETH0.0095920763.3880891
Swap BV2For BV3190291562024-01-17 21:04:23767 days ago1705525463IN
0x07b7703F...94B9b257F
0 ETH0.0020672442.84899856
Swap BV2For BV3190291352024-01-17 20:59:59767 days ago1705525199IN
0x07b7703F...94B9b257F
0 ETH0.0008156737.0759737
Swap BV2For BV3190291352024-01-17 20:59:59767 days ago1705525199IN
0x07b7703F...94B9b257F
0 ETH0.0056328636.0759737
Swap BV2For BV3190284622024-01-17 18:43:47767 days ago1705517027IN
0x07b7703F...94B9b257F
0 ETH0.0050841132.56732489
Swap BV2For BV3190281982024-01-17 17:50:47767 days ago1705513847IN
0x07b7703F...94B9b257F
0 ETH0.0009946641.44425394
Swap BV2For BV3190281932024-01-17 17:49:47767 days ago1705513787IN
0x07b7703F...94B9b257F
0 ETH0.0009658841.99510469
Swap BV2For BV3190279592024-01-17 17:02:47767 days ago1705510967IN
0x07b7703F...94B9b257F
0 ETH0.0091729758.83207382
Swap BV2For BV3190279132024-01-17 16:52:47767 days ago1705510367IN
0x07b7703F...94B9b257F
0 ETH0.0088141256.46063306
Swap BV2For BV3190278942024-01-17 16:48:59767 days ago1705510139IN
0x07b7703F...94B9b257F
0 ETH0.0080490651.55985414
Swap BV2For BV3190270572024-01-17 13:58:47767 days ago1705499927IN
0x07b7703F...94B9b257F
0 ETH0.0043330231.17035027
Swap BV2For BV3190270542024-01-17 13:58:11767 days ago1705499891IN
0x07b7703F...94B9b257F
0 ETH0.0042469630.55126376
Swap BV2For BV3190270522024-01-17 13:57:47767 days ago1705499867IN
0x07b7703F...94B9b257F
0 ETH0.0042273830.45009651
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

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:
BV2toBV3Swap

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "../Utility/owner.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

interface IERC20 {
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address to, uint256 amount) external returns (bool);
    function decimals() external view returns (uint8);
}

contract BV2toBV3Swap is Owner, ReentrancyGuard {
    IERC20 public bv2Token;
    IERC20 public bv3Token;
    uint256 public totalBV2Swapped;
    uint256 public bv3Counter;

    function setBV2TokenAddress(address _bv2TokenAddress) external onlyOwner {
        bv2Token = IERC20(_bv2TokenAddress);
    }

    function setBV3TokenAddress(address _bv3TokenAddress) external onlyOwner {
        bv3Token = IERC20(_bv3TokenAddress);
    }

    function approveBV2() external {
        uint256 maxUint = type(uint256).max;
        bv2Token.approve(address(this), maxUint);
    }

    // Users must approve this contract to spend their BV2 tokens before calling this function
    function swapBV2ForBV3(uint256 _bv2Amount) external nonReentrant {
        require(bv2Token.decimals() == 10, "BV2 token does not have 10 decimals");
        require(bv3Token.decimals() == 18, "BV3 token does not have 18 decimals");

        uint256 bv3Amount = (_bv2Amount * (10 ** 8)) * 2; // Convert BV2 amount to BV3 amount

        require(bv2Token.transferFrom(msg.sender, address(this), _bv2Amount), "Failed to transfer BV2 tokens");
        require(bv3Token.transfer(msg.sender, bv3Amount), "Failed to transfer BV3 tokens");

        totalBV2Swapped += _bv2Amount;
    }

    // View function to see the total BV2 tokens swapped
    function getTotalBV2Swapped() external view returns (uint256) {
        return totalBV2Swapped;
    }

    // Function to allow the owner to withdraw BV3 tokens using transferFrom
    function withdrawBV3(uint256 _amount) external onlyOwner {
        require(bv3Token.transferFrom(address(this), msg.sender, _amount), "Failed to withdraw BV3 tokens");
        bv3Counter -= _amount;
    }

    // Function for the owner to send BV3 tokens using transferFrom and adjust the BV3 counter
    function sendBV3(address _from, uint256 _amount) external onlyOwner {
        require(bv3Token.transferFrom(_from, address(this), _amount), "Failed to send BV3 tokens");
        bv3Counter += _amount;
    }


    function getBV3Counter() external view returns (uint256) {
        return bv3Counter;
    }

    // Other functions and code...
}

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Owner {
    address public _owner;

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

    constructor() {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    modifier onlyOwner() {
        require(isOwner(), "You are not the owner");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "New owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }


    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }


    function getOwner() public view returns (address) {
        return _owner;
    }

}

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

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"approveBV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bv2Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bv3Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bv3Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBV3Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalBV2Swapped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendBV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bv2TokenAddress","type":"address"}],"name":"setBV2TokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bv3TokenAddress","type":"address"}],"name":"setBV3TokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bv2Amount","type":"uint256"}],"name":"swapBV2ForBV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBV2Swapped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawBV3","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36001808190555061164f806100e26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063664f695311610097578063b2bdfa7b11610066578063b2bdfa7b1461024f578063bd57dcac1461026d578063e3c79a3e1461028b578063f2fde38b146102a957610100565b8063664f6953146101d75780636ae2fba1146101f5578063893d20e8146102135780638f32d59b1461023157610100565b806338630f0a116100d357806338630f0a1461016357806341fc5ef91461017f5780635b7c02dc1461019d5780635e456fcc146101b957610100565b80630213e09c1461010557806315577aba14610121578063158ee7641461013d5780632b3e9be114610159575b600080fd5b61011f600480360381019061011a9190610e24565b6102c5565b005b61013b60048036038101906101369190610e87565b610350565b005b61015760048036038101906101529190610ec7565b610495565b005b6101616105d9565b005b61017d60048036038101906101789190610e24565b6106a2565b005b61018761072d565b6040516101949190610f03565b60405180910390f35b6101b760048036038101906101b29190610ec7565b610733565b005b6101c1610aec565b6040516101ce9190610f03565b60405180910390f35b6101df610af6565b6040516101ec9190610f03565b60405180910390f35b6101fd610b00565b60405161020a9190610f7d565b60405180910390f35b61021b610b26565b6040516102289190610fa7565b60405180910390f35b610239610b4f565b6040516102469190610fdd565b60405180910390f35b610257610ba6565b6040516102649190610fa7565b60405180910390f35b610275610bca565b6040516102829190610f7d565b60405180910390f35b610293610bf0565b6040516102a09190610f03565b60405180910390f35b6102c360048036038101906102be9190610e24565b610bf6565b005b6102cd610b4f565b61030c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030390611055565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610358610b4f565b610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038e90611055565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8330846040518463ffffffff1660e01b81526004016103f693929190611075565b6020604051808303816000875af1158015610415573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043991906110d8565b610478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046f90611151565b60405180910390fd5b806005600082825461048a91906111a0565b925050819055505050565b61049d610b4f565b6104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390611055565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161053b93929190611075565b6020604051808303816000875af115801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e91906110d8565b6105bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b490611220565b60405180910390fd5b80600560008282546105cf9190611240565b9250508190555050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b330836040518363ffffffff1660e01b815260040161065b929190611274565b6020604051808303816000875af115801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906110d8565b5050565b6106aa610b4f565b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090611055565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b61073b610d69565b600a600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ce91906112d6565b60ff1614610811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080890611375565b60405180910390fd5b6012600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a491906112d6565b60ff16146108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611407565b60405180910390fd5b600060026305f5e100836108fb9190611427565b6109059190611427565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161096693929190611075565b6020604051808303816000875af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a991906110d8565b6109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df906114b5565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a45929190611274565b6020604051808303816000875af1158015610a64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8891906110d8565b610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90611521565b60405180910390fd5b8160046000828254610ad991906111a0565b9250508190555050610ae9610db8565b50565b6000600554905090565b6000600454905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b610bfe610b4f565b610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3490611055565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca39061158d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260015403610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da5906115f9565b60405180910390fd5b6002600181905550565b60018081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610df182610dc6565b9050919050565b610e0181610de6565b8114610e0c57600080fd5b50565b600081359050610e1e81610df8565b92915050565b600060208284031215610e3a57610e39610dc1565b5b6000610e4884828501610e0f565b91505092915050565b6000819050919050565b610e6481610e51565b8114610e6f57600080fd5b50565b600081359050610e8181610e5b565b92915050565b60008060408385031215610e9e57610e9d610dc1565b5b6000610eac85828601610e0f565b9250506020610ebd85828601610e72565b9150509250929050565b600060208284031215610edd57610edc610dc1565b5b6000610eeb84828501610e72565b91505092915050565b610efd81610e51565b82525050565b6000602082019050610f186000830184610ef4565b92915050565b6000819050919050565b6000610f43610f3e610f3984610dc6565b610f1e565b610dc6565b9050919050565b6000610f5582610f28565b9050919050565b6000610f6782610f4a565b9050919050565b610f7781610f5c565b82525050565b6000602082019050610f926000830184610f6e565b92915050565b610fa181610de6565b82525050565b6000602082019050610fbc6000830184610f98565b92915050565b60008115159050919050565b610fd781610fc2565b82525050565b6000602082019050610ff26000830184610fce565b92915050565b600082825260208201905092915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b600061103f601583610ff8565b915061104a82611009565b602082019050919050565b6000602082019050818103600083015261106e81611032565b9050919050565b600060608201905061108a6000830186610f98565b6110976020830185610f98565b6110a46040830184610ef4565b949350505050565b6110b581610fc2565b81146110c057600080fd5b50565b6000815190506110d2816110ac565b92915050565b6000602082840312156110ee576110ed610dc1565b5b60006110fc848285016110c3565b91505092915050565b7f4661696c656420746f2073656e642042563320746f6b656e7300000000000000600082015250565b600061113b601983610ff8565b915061114682611105565b602082019050919050565b6000602082019050818103600083015261116a8161112e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111ab82610e51565b91506111b683610e51565b92508282019050808211156111ce576111cd611171565b5b92915050565b7f4661696c656420746f2077697468647261772042563320746f6b656e73000000600082015250565b600061120a601d83610ff8565b9150611215826111d4565b602082019050919050565b60006020820190508181036000830152611239816111fd565b9050919050565b600061124b82610e51565b915061125683610e51565b925082820390508181111561126e5761126d611171565b5b92915050565b60006040820190506112896000830185610f98565b6112966020830184610ef4565b9392505050565b600060ff82169050919050565b6112b38161129d565b81146112be57600080fd5b50565b6000815190506112d0816112aa565b92915050565b6000602082840312156112ec576112eb610dc1565b5b60006112fa848285016112c1565b91505092915050565b7f42563220746f6b656e20646f6573206e6f74206861766520313020646563696d60008201527f616c730000000000000000000000000000000000000000000000000000000000602082015250565b600061135f602383610ff8565b915061136a82611303565b604082019050919050565b6000602082019050818103600083015261138e81611352565b9050919050565b7f42563320746f6b656e20646f6573206e6f74206861766520313820646563696d60008201527f616c730000000000000000000000000000000000000000000000000000000000602082015250565b60006113f1602383610ff8565b91506113fc82611395565b604082019050919050565b60006020820190508181036000830152611420816113e4565b9050919050565b600061143282610e51565b915061143d83610e51565b925082820261144b81610e51565b9150828204841483151761146257611461611171565b5b5092915050565b7f4661696c656420746f207472616e736665722042563220746f6b656e73000000600082015250565b600061149f601d83610ff8565b91506114aa82611469565b602082019050919050565b600060208201905081810360008301526114ce81611492565b9050919050565b7f4661696c656420746f207472616e736665722042563320746f6b656e73000000600082015250565b600061150b601d83610ff8565b9150611516826114d5565b602082019050919050565b6000602082019050818103600083015261153a816114fe565b9050919050565b7f4e6577206f776e657220697320746865207a65726f2061646472657373000000600082015250565b6000611577601d83610ff8565b915061158282611541565b602082019050919050565b600060208201905081810360008301526115a68161156a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006115e3601f83610ff8565b91506115ee826115ad565b602082019050919050565b60006020820190508181036000830152611612816115d6565b905091905056fea2646970667358221220078b4fb33f0a0ddd848d16478c052ac77ec1567972a98e232ba6dd1ad23560ea64736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063664f695311610097578063b2bdfa7b11610066578063b2bdfa7b1461024f578063bd57dcac1461026d578063e3c79a3e1461028b578063f2fde38b146102a957610100565b8063664f6953146101d75780636ae2fba1146101f5578063893d20e8146102135780638f32d59b1461023157610100565b806338630f0a116100d357806338630f0a1461016357806341fc5ef91461017f5780635b7c02dc1461019d5780635e456fcc146101b957610100565b80630213e09c1461010557806315577aba14610121578063158ee7641461013d5780632b3e9be114610159575b600080fd5b61011f600480360381019061011a9190610e24565b6102c5565b005b61013b60048036038101906101369190610e87565b610350565b005b61015760048036038101906101529190610ec7565b610495565b005b6101616105d9565b005b61017d60048036038101906101789190610e24565b6106a2565b005b61018761072d565b6040516101949190610f03565b60405180910390f35b6101b760048036038101906101b29190610ec7565b610733565b005b6101c1610aec565b6040516101ce9190610f03565b60405180910390f35b6101df610af6565b6040516101ec9190610f03565b60405180910390f35b6101fd610b00565b60405161020a9190610f7d565b60405180910390f35b61021b610b26565b6040516102289190610fa7565b60405180910390f35b610239610b4f565b6040516102469190610fdd565b60405180910390f35b610257610ba6565b6040516102649190610fa7565b60405180910390f35b610275610bca565b6040516102829190610f7d565b60405180910390f35b610293610bf0565b6040516102a09190610f03565b60405180910390f35b6102c360048036038101906102be9190610e24565b610bf6565b005b6102cd610b4f565b61030c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030390611055565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610358610b4f565b610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038e90611055565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8330846040518463ffffffff1660e01b81526004016103f693929190611075565b6020604051808303816000875af1158015610415573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043991906110d8565b610478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046f90611151565b60405180910390fd5b806005600082825461048a91906111a0565b925050819055505050565b61049d610b4f565b6104dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d390611055565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b815260040161053b93929190611075565b6020604051808303816000875af115801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e91906110d8565b6105bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b490611220565b60405180910390fd5b80600560008282546105cf9190611240565b9250508190555050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b330836040518363ffffffff1660e01b815260040161065b929190611274565b6020604051808303816000875af115801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906110d8565b5050565b6106aa610b4f565b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090611055565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b61073b610d69565b600a600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ce91906112d6565b60ff1614610811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080890611375565b60405180910390fd5b6012600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a491906112d6565b60ff16146108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611407565b60405180910390fd5b600060026305f5e100836108fb9190611427565b6109059190611427565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161096693929190611075565b6020604051808303816000875af1158015610985573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a991906110d8565b6109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df906114b5565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a45929190611274565b6020604051808303816000875af1158015610a64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8891906110d8565b610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90611521565b60405180910390fd5b8160046000828254610ad991906111a0565b9250508190555050610ae9610db8565b50565b6000600554905090565b6000600454905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b610bfe610b4f565b610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3490611055565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca39061158d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260015403610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da5906115f9565b60405180910390fd5b6002600181905550565b60018081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610df182610dc6565b9050919050565b610e0181610de6565b8114610e0c57600080fd5b50565b600081359050610e1e81610df8565b92915050565b600060208284031215610e3a57610e39610dc1565b5b6000610e4884828501610e0f565b91505092915050565b6000819050919050565b610e6481610e51565b8114610e6f57600080fd5b50565b600081359050610e8181610e5b565b92915050565b60008060408385031215610e9e57610e9d610dc1565b5b6000610eac85828601610e0f565b9250506020610ebd85828601610e72565b9150509250929050565b600060208284031215610edd57610edc610dc1565b5b6000610eeb84828501610e72565b91505092915050565b610efd81610e51565b82525050565b6000602082019050610f186000830184610ef4565b92915050565b6000819050919050565b6000610f43610f3e610f3984610dc6565b610f1e565b610dc6565b9050919050565b6000610f5582610f28565b9050919050565b6000610f6782610f4a565b9050919050565b610f7781610f5c565b82525050565b6000602082019050610f926000830184610f6e565b92915050565b610fa181610de6565b82525050565b6000602082019050610fbc6000830184610f98565b92915050565b60008115159050919050565b610fd781610fc2565b82525050565b6000602082019050610ff26000830184610fce565b92915050565b600082825260208201905092915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b600061103f601583610ff8565b915061104a82611009565b602082019050919050565b6000602082019050818103600083015261106e81611032565b9050919050565b600060608201905061108a6000830186610f98565b6110976020830185610f98565b6110a46040830184610ef4565b949350505050565b6110b581610fc2565b81146110c057600080fd5b50565b6000815190506110d2816110ac565b92915050565b6000602082840312156110ee576110ed610dc1565b5b60006110fc848285016110c3565b91505092915050565b7f4661696c656420746f2073656e642042563320746f6b656e7300000000000000600082015250565b600061113b601983610ff8565b915061114682611105565b602082019050919050565b6000602082019050818103600083015261116a8161112e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111ab82610e51565b91506111b683610e51565b92508282019050808211156111ce576111cd611171565b5b92915050565b7f4661696c656420746f2077697468647261772042563320746f6b656e73000000600082015250565b600061120a601d83610ff8565b9150611215826111d4565b602082019050919050565b60006020820190508181036000830152611239816111fd565b9050919050565b600061124b82610e51565b915061125683610e51565b925082820390508181111561126e5761126d611171565b5b92915050565b60006040820190506112896000830185610f98565b6112966020830184610ef4565b9392505050565b600060ff82169050919050565b6112b38161129d565b81146112be57600080fd5b50565b6000815190506112d0816112aa565b92915050565b6000602082840312156112ec576112eb610dc1565b5b60006112fa848285016112c1565b91505092915050565b7f42563220746f6b656e20646f6573206e6f74206861766520313020646563696d60008201527f616c730000000000000000000000000000000000000000000000000000000000602082015250565b600061135f602383610ff8565b915061136a82611303565b604082019050919050565b6000602082019050818103600083015261138e81611352565b9050919050565b7f42563320746f6b656e20646f6573206e6f74206861766520313820646563696d60008201527f616c730000000000000000000000000000000000000000000000000000000000602082015250565b60006113f1602383610ff8565b91506113fc82611395565b604082019050919050565b60006020820190508181036000830152611420816113e4565b9050919050565b600061143282610e51565b915061143d83610e51565b925082820261144b81610e51565b9150828204841483151761146257611461611171565b5b5092915050565b7f4661696c656420746f207472616e736665722042563220746f6b656e73000000600082015250565b600061149f601d83610ff8565b91506114aa82611469565b602082019050919050565b600060208201905081810360008301526114ce81611492565b9050919050565b7f4661696c656420746f207472616e736665722042563320746f6b656e73000000600082015250565b600061150b601d83610ff8565b9150611516826114d5565b602082019050919050565b6000602082019050818103600083015261153a816114fe565b9050919050565b7f4e6577206f776e657220697320746865207a65726f2061646472657373000000600082015250565b6000611577601d83610ff8565b915061158282611541565b602082019050919050565b600060208201905081810360008301526115a68161156a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006115e3601f83610ff8565b91506115ee826115ad565b602082019050919050565b60006020820190508181036000830152611612816115d6565b905091905056fea2646970667358221220078b4fb33f0a0ddd848d16478c052ac77ec1567972a98e232ba6dd1ad23560ea64736f6c63430008120033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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