ETH Price: $3,410.94 (+1.57%)
Gas: 7 Gwei

Contract

0x0cb91BCDD1759dB6B939DF4Da8fd6038298974b0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Execute Batch195666352024-04-02 7:29:11104 days ago1712042951IN
0x0cb91BCD...8298974b0
0 ETH0.0143652752.3970381
Execute Batch195666322024-04-02 7:28:35104 days ago1712042915IN
0x0cb91BCD...8298974b0
2.52980362 ETH0.0121463751.08242685
Execute Batch195664952024-04-02 7:00:47105 days ago1712041247IN
0x0cb91BCD...8298974b0
2.52980362 ETH0.0046980418.43239488
Execute Batch195557342024-03-31 18:45:59106 days ago1711910759IN
0x0cb91BCD...8298974b0
2.52980362 ETH0.0055365221.72206706
Execute Batch195389402024-03-29 10:02:59108 days ago1711706579IN
0x0cb91BCD...8298974b0
2.52980362 ETH0.0059220323.23458705
Execute194536872024-03-17 9:30:23120 days ago1710667823IN
0x0cb91BCD...8298974b0
0 ETH0.0098715526.33201861
Execute Batch194530142024-03-17 7:14:47121 days ago1710659687IN
0x0cb91BCD...8298974b0
0 ETH0.027292327.84298781
Execute194528692024-03-17 6:45:47121 days ago1710657947IN
0x0cb91BCD...8298974b0
0 ETH0.0021946931.32721412
Execute194528562024-03-17 6:43:11121 days ago1710657791IN
0x0cb91BCD...8298974b0
0 ETH0.0032452827.4185167
Execute194445892024-03-16 2:46:47122 days ago1710557207IN
0x0cb91BCD...8298974b0
0 ETH0.0024000134.26396259
Execute194445852024-03-16 2:45:47122 days ago1710557147IN
0x0cb91BCD...8298974b0
0 ETH0.0037768933.40759248
Execute194371372024-03-15 1:39:23123 days ago1710466763IN
0x0cb91BCD...8298974b0
0 ETH0.0098299241.88238672
Execute194368952024-03-15 0:50:23123 days ago1710463823IN
0x0cb91BCD...8298974b0
0 ETH0.0086770148.00162184
Execute Batch193782522024-03-06 19:34:23131 days ago1709753663IN
0x0cb91BCD...8298974b0
0 ETH0.0438341993.08006675
Execute Batch192282272024-02-14 19:17:47152 days ago1707938267IN
0x0cb91BCD...8298974b0
0 ETH0.0210353727.11092987

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
195666322024-04-02 7:28:35104 days ago1712042915
0x0cb91BCD...8298974b0
2.52980362 ETH
195664952024-04-02 7:00:47105 days ago1712041247
0x0cb91BCD...8298974b0
2.52980362 ETH
195557342024-03-31 18:45:59106 days ago1711910759
0x0cb91BCD...8298974b0
2.52980362 ETH
195389402024-03-29 10:02:59108 days ago1711706579
0x0cb91BCD...8298974b0
2.52980362 ETH
192282212024-02-14 19:16:35152 days ago1707938195  Contract Creation0 ETH
Loading...
Loading

Minimal Proxy Contract for 0x95a286ca0347b3c8daf06dad1c4233c95f06c894

Contract Name:
CoreRouter

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : CoreRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

/// @title Cyan Wallet Core Router - A Cyan wallet's core router.
/// @author Bulgantamir Gankhuyag - <[email protected]>
/// @author Naranbayar Uuganbayar - <[email protected]>
contract CoreRouter {
    address payable private immutable _this;
    address private _admin;
    address private _core;

    event SetRouterAdmin(address admin);
    event SetCore(address core);

    modifier onlyAdmin() {
        require(_admin == msg.sender, "Caller is not an admin.");
        _;
    }

    constructor(address core) {
        require(core != address(0x0), "Invalid core address.");

        _admin = msg.sender;
        _core = core;
        _this = payable(address(this));
    }

    /// @notice Changes the admin of the router.
    /// @param admin Address of the new admin.
    function setRouterAdmin(address admin) external onlyAdmin {
        require(admin != address(0x0), "Invalid admin address.");

        _admin = admin;
        emit SetRouterAdmin(admin);
    }

    /// @notice Returns an admin address of the router.
    /// @return Address of the current admin.
    function getRouterAdmin() external view returns (address) {
        return _admin;
    }

    /// @notice Changes the address of the core contract.
    ///     Note: Changing the core address will affect to all wallets.
    /// @param core Address of the new core contract.
    function setCore(address core) external onlyAdmin {
        require(core != address(0x0), "Invalid core address.");

        _core = core;
        emit SetCore(core);
    }

    /// @notice Returns the address of the core contract.
    /// @return Address of the current core contract.
    function getCore() external view returns (address) {
        return _core;
    }

    /// @notice Delegates all transcations to the core contract.
    fallback() external payable {
        address core = CoreRouter(_this).getCore();
        assembly {
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), core, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) {
                revert(0, returndatasize())
            }
            return(0, returndatasize())
        }
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"core","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"core","type":"address"}],"name":"SetCore","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"}],"name":"SetRouterAdmin","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"getCore","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRouterAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"setCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"setRouterAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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