APE Price: $0.65 (-5.81%)

Contract

0xef5E476F9Cfcc75Ec6344e3fe10Bd2aF1e82c1aa

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Execute Batch89074842025-01-28 13:02:119 days ago1738069331IN
0xef5E476F...F1e82c1aa
14.2165631 APE0.00518525.42069
Execute Batch89074762025-01-28 13:01:539 days ago1738069313IN
0xef5E476F...F1e82c1aa
14.21656378 APE0.0054290725.42069
Execute Batch89074462025-01-28 13:00:399 days ago1738069239IN
0xef5E476F...F1e82c1aa
14.21656446 APE0.0054287425.42069
Execute89074412025-01-28 13:00:229 days ago1738069222IN
0xef5E476F...F1e82c1aa
0 APE0.0020948125.42069
Execute Batch87078662025-01-24 4:40:5613 days ago1737693656IN
0xef5E476F...F1e82c1aa
15.5339193 APE0.0058634625.42069
Execute Batch85883562025-01-21 20:22:4015 days ago1737490960IN
0xef5E476F...F1e82c1aa
20.884499 APE0.0174159925.42069

Latest 8 internal transactions

Parent Transaction Hash Block From To
89074842025-01-28 13:02:119 days ago1738069331
0xef5E476F...F1e82c1aa
14.2165631 APE
89074762025-01-28 13:01:539 days ago1738069313
0xef5E476F...F1e82c1aa
14.21656378 APE
89074462025-01-28 13:00:399 days ago1738069239
0xef5E476F...F1e82c1aa
14.21656446 APE
87078662025-01-24 4:40:5613 days ago1737693656
0xef5E476F...F1e82c1aa
15.5339193 APE
85883562025-01-21 20:22:4015 days ago1737490960
0xef5E476F...F1e82c1aa
6.9615 APE
85883562025-01-21 20:22:4015 days ago1737490960
0xef5E476F...F1e82c1aa
6.96149966 APE
85883562025-01-21 20:22:4015 days ago1737490960
0xef5E476F...F1e82c1aa
6.96149933 APE
85777002025-01-21 15:10:4416 days ago1737472244  Contract Creation0 APE

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.");
        _;
    }

    /// @notice Prevents non delegatecall into the modified method
    modifier onlyDelegateCall() {
        require(address(this) != _this, "Cannot be called directly.");
        _;
    }

    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) {
        if (_this == address(this)) {
            return _core;
        } else {
            return CoreRouter(_this).getCore();
        }
    }

    /// @notice Delegates all transcations to the core contract.
    fallback() external payable onlyDelegateCall {
        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
[ 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.