ETH Price: $2,277.90 (+8.77%)

Contract

0x6bac785889A4127dB0e0CeFEE88E0a9F1Aaf3cC7
 

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
Swap Tokens For ...243687092026-02-02 10:54:4742 days ago1770029687IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000016080.16473226
Swap Exact Token...243178522026-01-26 8:36:4749 days ago1769416607IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000007120.06213353
Set Prices240377342025-12-18 6:35:1188 days ago1766039711IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000086982.02932892
Request Withdraw...230899622025-08-07 15:05:35221 days ago1754579135IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000611532
Claim Withdrawal...230898832025-08-07 14:49:47221 days ago1754578187IN
0x6bac7858...F1Aaf3cC7
0 ETH0.00067292
Request Withdraw...227992382025-06-28 0:05:35261 days ago1751069135IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000329251
Request Withdraw...227983452025-06-27 21:05:35261 days ago1751058335IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000329251
Request Withdraw...227956632025-06-27 12:05:35262 days ago1751025935IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000658472
Claim Withdrawal...227948452025-06-27 9:20:35262 days ago1751016035IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000633442
Request Withdraw...227867112025-06-26 6:05:35263 days ago1750917935IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000658472
Claim Withdrawal...227858922025-06-26 3:20:35263 days ago1750908035IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000633442
Request Withdraw...227831302025-06-25 18:05:35263 days ago1750874735IN
0x6bac7858...F1Aaf3cC7
0 ETH0.001185384
Claim Withdrawal...227823202025-06-25 15:23:11264 days ago1750864991IN
0x6bac7858...F1Aaf3cC7
0 ETH0.002106347
Request Withdraw...227634442025-06-23 0:06:11266 days ago1750637171IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000592692
Claim Withdrawal...227626222025-06-22 21:20:35266 days ago1750627235IN
0x6bac7858...F1Aaf3cC7
0 ETH0.001135224
Request Withdraw...227607622025-06-22 15:05:35267 days ago1750604735IN
0x6bac7858...F1Aaf3cC7
0 ETH0.0032597911
Claim Withdrawal...227599422025-06-22 12:20:35267 days ago1750594835IN
0x6bac7858...F1Aaf3cC7
0 ETH0.00030091
Request Withdraw...227580802025-06-22 6:05:35267 days ago1750572335IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000296341
Claim Withdrawal...227572622025-06-22 3:20:35267 days ago1750562435IN
0x6bac7858...F1Aaf3cC7
0 ETH0.00030091
Request Withdraw...227562972025-06-22 0:05:35267 days ago1750550735IN
0x6bac7858...F1Aaf3cC7
0 ETH0.001185384
Claim Withdrawal...227554772025-06-21 21:20:35267 days ago1750540835IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000579212
Request Withdraw...227554022025-06-21 21:05:35267 days ago1750539935IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000296321
Claim Withdrawal...227536912025-06-21 15:20:35268 days ago1750519235IN
0x6bac7858...F1Aaf3cC7
0 ETH0.00028381
Request Withdraw...227500402025-06-21 3:05:35268 days ago1750475135IN
0x6bac7858...F1Aaf3cC7
0 ETH0.000296341
Claim Withdrawal...227492182025-06-21 0:20:35268 days ago1750465235IN
0x6bac7858...F1Aaf3cC7
0 ETH0.00028961
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:
Proxy

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

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

import {Ownable} from "./Ownable.sol";

/**
 * @title Proxy
 * @dev Based on Origin Protocol InitializeGovernedUpgradeabilityProxy
 * https://github.com/OriginProtocol/origin-dollar/blob/master/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol
 * @author Origin Protocol Inc
 */
contract Proxy is Ownable {
    /**
     * @notice Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @notice Emitted when the implementation is upgraded.
     * @param implementation Address of the new implementation.
     */
    event Upgraded(address indexed implementation);

    /**
     * @notice Contract initializer with Owner enforcement
     * @param _logic Address of the initial implementation.
     * @param _initOwner Address of the initial Owner.
     * @param _data Data to send as msg.data to the implementation to initialize
     * the proxied contract.
     * It should include the signature and the parameters of the function to be
     * called, as described in
     * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
     * This parameter is optional, if no data is given the initialization call
     * to proxied contract will be skipped.
     */
    function initialize(address _logic, address _initOwner, bytes calldata _data) public onlyOwner {
        require(_implementation() == address(0));
        assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _upgradeTo(_logic);
        if (_data.length > 0) {
            (bool success,) = _logic.delegatecall(_data);
            require(success);
        }
        _setOwner(_initOwner);
    }

    /**
     * @notice The address of the proxy admin. This is also the contract owner.
     */
    function admin() external view returns (address) {
        return _owner();
    }

    /**
     * @notice The address of the implementation contract.
     */
    function implementation() external view returns (address) {
        return _implementation();
    }

    /**
     * @notice Upgrade the backing implementation of the proxy.
     * Only the admin can call this function.
     * @param newImplementation Address of the new implementation.
     */
    function upgradeTo(address newImplementation) external onlyOwner {
        _upgradeTo(newImplementation);
    }

    /**
     * @notice Upgrade the backing implementation of the proxy and call a function
     * on the new implementation.
     * This is useful to initialize the proxied contract.
     * @param newImplementation Address of the new implementation.
     * @param data Data to send as msg.data in the low level call.
     * It should include the signature and the parameters of the function to be called, as described in
     * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external onlyOwner {
        _upgradeTo(newImplementation);
        (bool success,) = newImplementation.delegatecall(data);
        require(success);
    }

    /**
     * @notice Fallback function.
     * Implemented entirely in `_delegate`.
     */
    fallback() external {
        _delegate(_implementation());
    }

    /**
     * @dev Delegates execution to an implementation contract.
     * This is a low level function that doesn't return to its internal call site.
     * It will return to the external caller whatever the implementation returns.
     * @param _impl Address to delegate.
     */
    function _delegate(address _impl) internal {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), _impl, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev Returns the current implementation.
     * @return impl Address of the current implementation
     */
    function _implementation() internal view returns (address impl) {
        bytes32 slot = IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     * @param newImplementation Address of the new implementation.
     */
    function _upgradeTo(address newImplementation) internal {
        require(newImplementation.code.length > 0, "Cannot set a proxy implementation to a non-contract address");
        bytes32 slot = IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
        emit Upgraded(newImplementation);
    }
}

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

contract Ownable {
    /// @notice The slot used to store the owner of the contract.
    /// This is also used as the proxy admin.
    /// keccak256(“eip1967.proxy.admin”) - 1 per EIP 1967
    bytes32 internal constant OWNER_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    event AdminChanged(address previousAdmin, address newAdmin);

    constructor() {
        assert(OWNER_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setOwner(msg.sender);
    }

    /// @notice The contract owner and proxy admin.
    function owner() external view returns (address) {
        return _owner();
    }

    /// @notice Set the owner and proxy admin of the contract.
    /// @param newOwner The address of the new owner.
    function setOwner(address newOwner) external onlyOwner {
        _setOwner(newOwner);
    }

    function _owner() internal view returns (address ownerOut) {
        bytes32 position = OWNER_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            ownerOut := sload(position)
        }
    }

    function _setOwner(address newOwner) internal {
        emit AdminChanged(_owner(), newOwner);
        bytes32 position = OWNER_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(position, newOwner)
        }
    }

    function _onlyOwner() internal view {
        require(msg.sender == _owner(), "ARM: Only owner can call this function.");
    }

    modifier onlyOwner() {
        _onlyOwner();
        _;
    }
}

Settings
{
  "remappings": [
    "contracts/=src/contracts/",
    "script/=script/",
    "test/=test/",
    "utils/=src/contracts/utils/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"_initOwner","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061003c60017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046100d1565b6000805160206107e983398151915214610058576100586100f8565b61006133610066565b61010e565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61009d6000805160206107e98339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a16000805160206107e983398151915255565b818103818111156100f257634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052600160045260246000fd5b6106cc8061011d6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80635c60da1b1161005b5780635c60da1b146100d65780638da5cb5b146100fa578063cf7a1d7714610102578063f851a440146100fa5761007d565b806313af40351461009d5780633659cfe6146100b05780634f1ef286146100c3575b61009b6100966000805160206106778339815191525490565b610115565b005b61009b6100ab3660046104ea565b610139565b61009b6100be3660046104ea565b61014d565b61009b6100d1366004610555565b61015e565b6100de6101df565b6040516001600160a01b03909116815260200160405180910390f35b6100de6101fc565b61009b6101103660046105a8565b610214565b3660008037600080366000845af43d6000803e808015610134573d6000f35b3d6000fd5b610141610312565b61014a81610399565b50565b610155610312565b61014a81610404565b610166610312565b61016f83610404565b6000836001600160a01b0316838360405161018b929190610609565b600060405180830381855af49150503d80600081146101c6576040519150601f19603f3d011682016040523d82523d6000602084013e6101cb565b606091505b50509050806101d957600080fd5b50505050565b60006101f76000805160206106778339815191525490565b905090565b60006101f76000805160206106578339815191525490565b61021c610312565b60006102346000805160206106778339815191525490565b6001600160a01b03161461024757600080fd5b61027260017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610619565b6000805160206106778339815191521461028e5761028e610640565b61029784610404565b8015610309576000846001600160a01b031683836040516102b9929190610609565b600060405180830381855af49150503d80600081146102f4576040519150601f19603f3d011682016040523d82523d6000602084013e6102f9565b606091505b505090508061030757600080fd5b505b6101d983610399565b600080516020610657833981519152546001600160a01b0316336001600160a01b0316146103975760405162461bcd60e51b815260206004820152602760248201527f41524d3a204f6e6c79206f776e65722063616e2063616c6c20746869732066756044820152663731ba34b7b71760c91b60648201526084015b60405180910390fd5b565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103d06000805160206106578339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a160008051602061065783398151915255565b6000816001600160a01b03163b116104845760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015260840161038e565b6000805160206106778339815191528181556040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b80356001600160a01b03811681146104e557600080fd5b919050565b6000602082840312156104fc57600080fd5b610505826104ce565b9392505050565b60008083601f84011261051e57600080fd5b50813567ffffffffffffffff81111561053657600080fd5b60208301915083602082850101111561054e57600080fd5b9250929050565b60008060006040848603121561056a57600080fd5b610573846104ce565b9250602084013567ffffffffffffffff81111561058f57600080fd5b61059b8682870161050c565b9497909650939450505050565b600080600080606085870312156105be57600080fd5b6105c7856104ce565b93506105d5602086016104ce565b9250604085013567ffffffffffffffff8111156105f157600080fd5b6105fd8782880161050c565b95989497509550505050565b8183823760009101908152919050565b8181038181111561063a57634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052600160045260246000fdfeb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122021901c0dc424fd57b0041bae0b7fdb850a54f1494c7e9e8012da5497a9c8cf9264736f6c63430008170033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80635c60da1b1161005b5780635c60da1b146100d65780638da5cb5b146100fa578063cf7a1d7714610102578063f851a440146100fa5761007d565b806313af40351461009d5780633659cfe6146100b05780634f1ef286146100c3575b61009b6100966000805160206106778339815191525490565b610115565b005b61009b6100ab3660046104ea565b610139565b61009b6100be3660046104ea565b61014d565b61009b6100d1366004610555565b61015e565b6100de6101df565b6040516001600160a01b03909116815260200160405180910390f35b6100de6101fc565b61009b6101103660046105a8565b610214565b3660008037600080366000845af43d6000803e808015610134573d6000f35b3d6000fd5b610141610312565b61014a81610399565b50565b610155610312565b61014a81610404565b610166610312565b61016f83610404565b6000836001600160a01b0316838360405161018b929190610609565b600060405180830381855af49150503d80600081146101c6576040519150601f19603f3d011682016040523d82523d6000602084013e6101cb565b606091505b50509050806101d957600080fd5b50505050565b60006101f76000805160206106778339815191525490565b905090565b60006101f76000805160206106578339815191525490565b61021c610312565b60006102346000805160206106778339815191525490565b6001600160a01b03161461024757600080fd5b61027260017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610619565b6000805160206106778339815191521461028e5761028e610640565b61029784610404565b8015610309576000846001600160a01b031683836040516102b9929190610609565b600060405180830381855af49150503d80600081146102f4576040519150601f19603f3d011682016040523d82523d6000602084013e6102f9565b606091505b505090508061030757600080fd5b505b6101d983610399565b600080516020610657833981519152546001600160a01b0316336001600160a01b0316146103975760405162461bcd60e51b815260206004820152602760248201527f41524d3a204f6e6c79206f776e65722063616e2063616c6c20746869732066756044820152663731ba34b7b71760c91b60648201526084015b60405180910390fd5b565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103d06000805160206106578339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a160008051602061065783398151915255565b6000816001600160a01b03163b116104845760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015260840161038e565b6000805160206106778339815191528181556040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b80356001600160a01b03811681146104e557600080fd5b919050565b6000602082840312156104fc57600080fd5b610505826104ce565b9392505050565b60008083601f84011261051e57600080fd5b50813567ffffffffffffffff81111561053657600080fd5b60208301915083602082850101111561054e57600080fd5b9250929050565b60008060006040848603121561056a57600080fd5b610573846104ce565b9250602084013567ffffffffffffffff81111561058f57600080fd5b61059b8682870161050c565b9497909650939450505050565b600080600080606085870312156105be57600080fd5b6105c7856104ce565b93506105d5602086016104ce565b9250604085013567ffffffffffffffff8111156105f157600080fd5b6105fd8782880161050c565b95989497509550505050565b8183823760009101908152919050565b8181038181111561063a57634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052600160045260246000fdfeb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca264697066735822122021901c0dc424fd57b0041bae0b7fdb850a54f1494c7e9e8012da5497a9c8cf9264736f6c63430008170033

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.