S Price: $0.051938 (-10.93%)
Gas: 55 Gwei

Contract

0x5f9a5CD0B77155AC1814EF6Cd9D82dA53d05E386

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Exchange Opera T...597075612026-01-06 3:10:4426 days ago1767669044IN
Beets: Beets Migrator
0 S0.0037824550.0001
Exchange Opera T...593979222026-01-01 23:53:0830 days ago1767311588IN
Beets: Beets Migrator
0 S0.0033469155
Exchange Opera T...593552122026-01-01 8:25:1031 days ago1767255910IN
Beets: Beets Migrator
0 S0.0042386355
Exchange Opera T...593363202026-01-01 0:23:0431 days ago1767226984IN
Beets: Beets Migrator
0 S0.0029536550.0001
Exchange Opera T...593343832025-12-31 23:42:3431 days ago1767224554IN
Beets: Beets Migrator
0 S0.0038181550.0001
Exchange Opera T...593179722025-12-31 17:42:0031 days ago1767202920IN
Beets: Beets Migrator
0 S0.0041901755
Exchange Opera T...593140312025-12-31 16:32:5531 days ago1767198775IN
Beets: Beets Migrator
0 S0.0044516355.197
Exchange Opera T...592990872025-12-31 11:39:2631 days ago1767181166IN
Beets: Beets Migrator
0 S0.0040318550
Exchange Opera T...591967032025-12-29 20:05:3533 days ago1767038735IN
Beets: Beets Migrator
0 S0.0043825155
Exchange Opera T...591308312025-12-28 19:17:3934 days ago1766949459IN
Beets: Beets Migrator
0 S0.0037818550.00005
Exchange Opera T...587375422025-12-24 1:13:0239 days ago1766538782IN
Beets: Beets Migrator
0 S0.004030650
Exchange Opera T...579759922025-12-15 8:45:1247 days ago1765788312IN
Beets: Beets Migrator
0 S0.0038086550.0001
Exchange Opera T...573641002025-12-07 11:14:2855 days ago1765106068IN
Beets: Beets Migrator
0 S0.003853350
Exchange Opera T...566929452025-11-29 10:15:0563 days ago1764411305IN
Beets: Beets Migrator
0 S0.0038092550.0001
Exchange Opera T...562070412025-11-23 13:36:1169 days ago1763904971IN
Beets: Beets Migrator
0 S0.0037438550.0001
Exchange Opera T...560712072025-11-21 23:14:1271 days ago1763766852IN
Beets: Beets Migrator
0 S0.0037555550
Exchange Opera T...550908162025-11-13 9:06:4079 days ago1763024800IN
Beets: Beets Migrator
0 S0.0037460550.0001
Exchange Opera T...549407572025-11-12 2:10:3781 days ago1762913437IN
Beets: Beets Migrator
0 S0.0037472550.0001
Exchange Opera T...546266452025-11-09 21:33:3783 days ago1762724017IN
Beets: Beets Migrator
0 S0.0043668355
Exchange Opera T...546266072025-11-09 21:33:1483 days ago1762723994IN
Beets: Beets Migrator
0 S0.0035594355
Exchange Opera T...546254602025-11-09 21:22:2383 days ago1762723343IN
Beets: Beets Migrator
0 S0.0037466550.0001
Exchange Opera T...544337312025-11-08 20:00:0784 days ago1762632007IN
Beets: Beets Migrator
0 S0.0035594355
Exchange Opera T...544336852025-11-08 19:59:4684 days ago1762631986IN
Beets: Beets Migrator
0 S0.0035594355
Exchange Opera T...543182552025-11-08 6:45:3985 days ago1762584339IN
Beets: Beets Migrator
0 S0.0037472550.0001
Exchange Opera T...542335452025-11-07 21:25:5085 days ago1762550750IN
Beets: Beets Migrator
0 S0.0041643855
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597574362026-01-06 15:53:2425 days ago1767714804
0x5f9a5CD0...53d05E386
0 S
597075612026-01-06 3:10:4426 days ago1767669044
0x5f9a5CD0...53d05E386
0 S
597075612026-01-06 3:10:4426 days ago1767669044
0x5f9a5CD0...53d05E386
0 S
597075612026-01-06 3:10:4426 days ago1767669044
0x5f9a5CD0...53d05E386
0 S
597075612026-01-06 3:10:4426 days ago1767669044
0x5f9a5CD0...53d05E386
0 S
593979222026-01-01 23:53:0830 days ago1767311588
0x5f9a5CD0...53d05E386
0 S
593979222026-01-01 23:53:0830 days ago1767311588
0x5f9a5CD0...53d05E386
0 S
593979222026-01-01 23:53:0830 days ago1767311588
0x5f9a5CD0...53d05E386
0 S
593979222026-01-01 23:53:0830 days ago1767311588
0x5f9a5CD0...53d05E386
0 S
593552122026-01-01 8:25:1031 days ago1767255910
0x5f9a5CD0...53d05E386
0 S
593552122026-01-01 8:25:1031 days ago1767255910
0x5f9a5CD0...53d05E386
0 S
593552122026-01-01 8:25:1031 days ago1767255910
0x5f9a5CD0...53d05E386
0 S
593552122026-01-01 8:25:1031 days ago1767255910
0x5f9a5CD0...53d05E386
0 S
593363202026-01-01 0:23:0431 days ago1767226984
0x5f9a5CD0...53d05E386
0 S
593363202026-01-01 0:23:0431 days ago1767226984
0x5f9a5CD0...53d05E386
0 S
593363202026-01-01 0:23:0431 days ago1767226984
0x5f9a5CD0...53d05E386
0 S
593363202026-01-01 0:23:0431 days ago1767226984
0x5f9a5CD0...53d05E386
0 S
593343832025-12-31 23:42:3431 days ago1767224554
0x5f9a5CD0...53d05E386
0 S
593343832025-12-31 23:42:3431 days ago1767224554
0x5f9a5CD0...53d05E386
0 S
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SonicBeetsMigrator

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "openzeppelin-contracts/token/ERC20/IERC20.sol";
import {ReentrancyGuard} from "openzeppelin-contracts/utils/ReentrancyGuard.sol";

contract SonicBeetsMigrator is ReentrancyGuard {
    IERC20 public immutable OPERABEETS;
    IERC20 public immutable SONICBEETS;
    address public immutable TREASURY;

    bool public sonicToOperaEnabled = false;
    bool public operaToSonicEnabled = false;

    address public admin;

    error UserBalanceInsufficient();
    error MigratorBalanceInsufficient();
    error MigrationDisabled();
    error NotAdmin();

    constructor(IERC20 _OPERABEETS, IERC20 _SONICBEETS, address _TREASURY) {
        OPERABEETS = _OPERABEETS;
        SONICBEETS = _SONICBEETS;
        TREASURY = _TREASURY;
        admin = msg.sender;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, NotAdmin());
        _;
    }

    function exchangeOperaToSonic(uint256 amount) external nonReentrant {
        require(operaToSonicEnabled, MigrationDisabled());
        require(OPERABEETS.balanceOf(msg.sender) >= amount, UserBalanceInsufficient());
        require(SONICBEETS.balanceOf(address(this)) >= amount, MigratorBalanceInsufficient());
        OPERABEETS.transferFrom(msg.sender, address(this), amount);
        SONICBEETS.transfer(msg.sender, amount);
    }

    function exchangeSonicToOpera(uint256 amount) external nonReentrant {
        require(sonicToOperaEnabled, MigrationDisabled());
        require(SONICBEETS.balanceOf(msg.sender) >= amount, UserBalanceInsufficient());
        require(OPERABEETS.balanceOf(address(this)) >= amount, MigratorBalanceInsufficient());
        SONICBEETS.transferFrom(msg.sender, address(this), amount);
        OPERABEETS.transfer(msg.sender, amount);
    }

    function setAdmin(address _admin) external onlyAdmin {
        admin = _admin;
    }

    function enableOperaToSonic(bool _toggle) external onlyAdmin {
        operaToSonicEnabled = _toggle;
    }

    function enableSonicToOpera(bool _toggle) external onlyAdmin {
        sonicToOperaEnabled = _toggle;
    }

    function withdrawOperaBeets() external onlyAdmin {
        OPERABEETS.transfer(TREASURY, OPERABEETS.balanceOf(address(this)));
    }

    function withdrawSonicBeets() external onlyAdmin {
        SONICBEETS.transfer(TREASURY, SONICBEETS.balanceOf(address(this)));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @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 EIP-1153 (transient storage) is available on the chain you're deploying at,
 * consider using {ReentrancyGuardTransient} instead.
 *
 * 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;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    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
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "shanghai",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"_OPERABEETS","type":"address"},{"internalType":"contract IERC20","name":"_SONICBEETS","type":"address"},{"internalType":"address","name":"_TREASURY","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MigrationDisabled","type":"error"},{"inputs":[],"name":"MigratorBalanceInsufficient","type":"error"},{"inputs":[],"name":"NotAdmin","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"UserBalanceInsufficient","type":"error"},{"inputs":[],"name":"OPERABEETS","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SONICBEETS","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"enableOperaToSonic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"enableSonicToOpera","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"exchangeOperaToSonic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"exchangeSonicToOpera","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operaToSonicEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sonicToOperaEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawOperaBeets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawSonicBeets","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040526001805461ffff1916905534801561001a575f5ffd5b50604051610c58380380610c588339810160408190526100399161008c565b60015f8190556001600160a01b0393841660805291831660a05290911660c052805462010000600160b01b0319163362010000021790556100d6565b6001600160a01b0381168114610089575f5ffd5b50565b5f5f5f6060848603121561009e575f5ffd5b83516100a981610075565b60208501519093506100ba81610075565b60408501519092506100cb81610075565b809150509250925092565b60805160a05160c051610b056101535f395f818160d401528181610291015261077801525f81816101b7015281816104ff0152818161064001528181610747015281816107ea015261094301525f81816101900152818161026001528181610458015281816105b10152818161089101526109d20152610b055ff3fe608060405234801561000f575f5ffd5b50600436106100cb575f3560e01c8063827e5e6f11610088578063c935802611610063578063c9358026146101d9578063f820dfc7146101e1578063f851a440146101ee578063f9826bea14610207575f5ffd5b8063827e5e6f146101785780638833d4981461018b578063a7598ba1146101b2575f5ffd5b80632d2c5565146100cf57806337e309e814610113578063583d1d7f1461013557806369e5980a1461013f578063704b6c021461015257806374caa70614610165575b5f5ffd5b6100f67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b60015461012590610100900460ff1681565b604051901515815260200161010a565b61013d61021a565b005b61013d61014d366004610a3e565b61036b565b61013d610160366004610a60565b6103b6565b61013d610173366004610a86565b610411565b61013d610186366004610a3e565b6106bd565b6100f67f000000000000000000000000000000000000000000000000000000000000000081565b6100f67f000000000000000000000000000000000000000000000000000000000000000081565b61013d610701565b6001546101259060ff1681565b6001546100f6906201000090046001600160a01b031681565b61013d610215366004610a86565b6107a8565b6001546201000090046001600160a01b0316331461024b57604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a08231906024015b602060405180830381865afa1580156102d8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190610a9d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610344573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103689190610ab4565b50565b6001546201000090046001600160a01b0316331461039c57604051637bfa4b9f60e01b815260040160405180910390fd5b600180549115156101000261ff0019909216919091179055565b6001546201000090046001600160a01b031633146103e757604051637bfa4b9f60e01b815260040160405180910390fd5b600180546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610419610a09565b600154610100900460ff1661044157604051631e6a33fb60e01b815260040160405180910390fd5b6040516370a0823160e01b815233600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156104a5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c99190610a9d565b10156104e8576040516320c0be1160e01b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561054c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105709190610a9d565b101561058f57604051637e20dcdf60e11b815260040160405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303815f875af11580156105ff573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106239190610ab4565b5060405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044015b6020604051808303815f875af115801561068f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b39190610ab4565b5061036860015f55565b6001546201000090046001600160a01b031633146106ee57604051637bfa4b9f60e01b815260040160405180910390fd5b6001805460ff1916911515919091179055565b6001546201000090046001600160a01b0316331461073257604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a08231906024016102bd565b6107b0610a09565b60015460ff166107d357604051631e6a33fb60e01b815260040160405180910390fd5b6040516370a0823160e01b815233600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610837573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190610a9d565b101561087a576040516320c0be1160e01b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156108de573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109029190610a9d565b101561092157604051637e20dcdf60e11b815260040160405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303815f875af1158015610991573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b59190610ab4565b5060405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401610673565b60025f5403610a2b57604051633ee5aeb560e01b815260040160405180910390fd5b60025f55565b8015158114610368575f5ffd5b5f60208284031215610a4e575f5ffd5b8135610a5981610a31565b9392505050565b5f60208284031215610a70575f5ffd5b81356001600160a01b0381168114610a59575f5ffd5b5f60208284031215610a96575f5ffd5b5035919050565b5f60208284031215610aad575f5ffd5b5051919050565b5f60208284031215610ac4575f5ffd5b8151610a5981610a3156fea26469706673582212207059992ffadb82fa4da5b4094671465b1db9db97d39672af9cc49707b28cb86864736f6c634300081c00330000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267950000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f00000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c2

Deployed Bytecode

0x608060405234801561000f575f5ffd5b50600436106100cb575f3560e01c8063827e5e6f11610088578063c935802611610063578063c9358026146101d9578063f820dfc7146101e1578063f851a440146101ee578063f9826bea14610207575f5ffd5b8063827e5e6f146101785780638833d4981461018b578063a7598ba1146101b2575f5ffd5b80632d2c5565146100cf57806337e309e814610113578063583d1d7f1461013557806369e5980a1461013f578063704b6c021461015257806374caa70614610165575b5f5ffd5b6100f67f0000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c281565b6040516001600160a01b0390911681526020015b60405180910390f35b60015461012590610100900460ff1681565b604051901515815260200161010a565b61013d61021a565b005b61013d61014d366004610a3e565b61036b565b61013d610160366004610a60565b6103b6565b61013d610173366004610a86565b610411565b61013d610186366004610a3e565b6106bd565b6100f67f0000000000000000000000001e5fe95fb90ac0530f581c617272cd086462679581565b6100f67f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f081565b61013d610701565b6001546101259060ff1681565b6001546100f6906201000090046001600160a01b031681565b61013d610215366004610a86565b6107a8565b6001546201000090046001600160a01b0316331461024b57604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267956001600160a01b03169063a9059cbb907f0000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c29083906370a08231906024015b602060405180830381865afa1580156102d8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102fc9190610a9d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610344573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103689190610ab4565b50565b6001546201000090046001600160a01b0316331461039c57604051637bfa4b9f60e01b815260040160405180910390fd5b600180549115156101000261ff0019909216919091179055565b6001546201000090046001600160a01b031633146103e757604051637bfa4b9f60e01b815260040160405180910390fd5b600180546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610419610a09565b600154610100900460ff1661044157604051631e6a33fb60e01b815260040160405180910390fd5b6040516370a0823160e01b815233600482015281907f0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267956001600160a01b0316906370a0823190602401602060405180830381865afa1580156104a5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c99190610a9d565b10156104e8576040516320c0be1160e01b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281907f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f06001600160a01b0316906370a0823190602401602060405180830381865afa15801561054c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105709190610a9d565b101561058f57604051637e20dcdf60e11b815260040160405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267956001600160a01b0316906323b872dd906064016020604051808303815f875af11580156105ff573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106239190610ab4565b5060405163a9059cbb60e01b8152336004820152602481018290527f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f06001600160a01b03169063a9059cbb906044015b6020604051808303815f875af115801561068f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b39190610ab4565b5061036860015f55565b6001546201000090046001600160a01b031633146106ee57604051637bfa4b9f60e01b815260040160405180910390fd5b6001805460ff1916911515919091179055565b6001546201000090046001600160a01b0316331461073257604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f06001600160a01b03169063a9059cbb907f0000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c29083906370a08231906024016102bd565b6107b0610a09565b60015460ff166107d357604051631e6a33fb60e01b815260040160405180910390fd5b6040516370a0823160e01b815233600482015281907f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f06001600160a01b0316906370a0823190602401602060405180830381865afa158015610837573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085b9190610a9d565b101561087a576040516320c0be1160e01b815260040160405180910390fd5b6040516370a0823160e01b815230600482015281907f0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267956001600160a01b0316906370a0823190602401602060405180830381865afa1580156108de573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109029190610a9d565b101561092157604051637e20dcdf60e11b815260040160405180910390fd5b6040516323b872dd60e01b8152336004820152306024820152604481018290527f0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f06001600160a01b0316906323b872dd906064016020604051808303815f875af1158015610991573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b59190610ab4565b5060405163a9059cbb60e01b8152336004820152602481018290527f0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267956001600160a01b03169063a9059cbb90604401610673565b60025f5403610a2b57604051633ee5aeb560e01b815260040160405180910390fd5b60025f55565b8015158114610368575f5ffd5b5f60208284031215610a4e575f5ffd5b8135610a5981610a31565b9392505050565b5f60208284031215610a70575f5ffd5b81356001600160a01b0381168114610a59575f5ffd5b5f60208284031215610a96575f5ffd5b5035919050565b5f60208284031215610aad575f5ffd5b5051919050565b5f60208284031215610ac4575f5ffd5b8151610a5981610a3156fea26469706673582212207059992ffadb82fa4da5b4094671465b1db9db97d39672af9cc49707b28cb86864736f6c634300081c0033

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

0000000000000000000000001e5fe95fb90ac0530f581c617272cd08646267950000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f00000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c2

-----Decoded View---------------
Arg [0] : _OPERABEETS (address): 0x1E5fe95fB90ac0530F581C617272cd0864626795
Arg [1] : _SONICBEETS (address): 0x2D0E0814E62D80056181F5cd932274405966e4f0
Arg [2] : _TREASURY (address): 0x8a81173FC726eEDd1ad6036dB6197027C77865C2

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000001e5fe95fb90ac0530f581c617272cd0864626795
Arg [1] : 0000000000000000000000002d0e0814e62d80056181f5cd932274405966e4f0
Arg [2] : 0000000000000000000000008a81173fc726eedd1ad6036db6197027c77865c2


Block Transaction Gas Used Reward
view all blocks ##produced##

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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