ETH Price: $3,181.78 (-7.56%)
Gas: 2 Gwei

Contract

0x9c1bbB3478897F699E1AaC956C714fa761820F62
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Recover ERC20Tok...200203642024-06-04 18:51:1150 days ago1717527071IN
0x9c1bbB34...761820F62
0 ETH0.0008804513.82840354
Recover ERC20Tok...200203412024-06-04 18:46:3550 days ago1717526795IN
0x9c1bbB34...761820F62
0 ETH0.0009696415.22930468

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
187125222023-12-04 10:51:59233 days ago1701687119
0x9c1bbB34...761820F62
0.00085 ETH
187125222023-12-04 10:51:59233 days ago1701687119
0x9c1bbB34...761820F62
0.00085 ETH
185978012023-11-18 9:20:59249 days ago1700299259
0x9c1bbB34...761820F62
0.00085 ETH
185978012023-11-18 9:20:59249 days ago1700299259
0x9c1bbB34...761820F62
0.00085 ETH
185333382023-11-09 8:57:23258 days ago1699520243
0x9c1bbB34...761820F62
0.00085 ETH
185333382023-11-09 8:57:23258 days ago1699520243
0x9c1bbB34...761820F62
0.00085 ETH
185332922023-11-09 8:48:11258 days ago1699519691
0x9c1bbB34...761820F62
0.00085 ETH
185332922023-11-09 8:48:11258 days ago1699519691
0x9c1bbB34...761820F62
0.00085 ETH
184291822023-10-25 18:58:23273 days ago1698260303
0x9c1bbB34...761820F62
0.00085 ETH
184291822023-10-25 18:58:23273 days ago1698260303
0x9c1bbB34...761820F62
0.00085 ETH
184291252023-10-25 18:46:47273 days ago1698259607
0x9c1bbB34...761820F62
0.00085 ETH
184291252023-10-25 18:46:47273 days ago1698259607
0x9c1bbB34...761820F62
0.00085 ETH
183753892023-10-18 6:14:59280 days ago1697609699
0x9c1bbB34...761820F62
0.00085 ETH
183753892023-10-18 6:14:59280 days ago1697609699
0x9c1bbB34...761820F62
0.00085 ETH
183750542023-10-18 5:07:35281 days ago1697605655
0x9c1bbB34...761820F62
0.00085 ETH
183750542023-10-18 5:07:35281 days ago1697605655
0x9c1bbB34...761820F62
0.00085 ETH
183735712023-10-18 0:08:35281 days ago1697587715
0x9c1bbB34...761820F62
0.00085 ETH
183735712023-10-18 0:08:35281 days ago1697587715
0x9c1bbB34...761820F62
0.00085 ETH
182702352023-10-03 13:13:23295 days ago1696338803
0x9c1bbB34...761820F62
0.00085 ETH
182702352023-10-03 13:13:23295 days ago1696338803
0x9c1bbB34...761820F62
0.00085 ETH
182594192023-10-02 0:59:35297 days ago1696208375
0x9c1bbB34...761820F62
0.00085 ETH
182594192023-10-02 0:59:35297 days ago1696208375
0x9c1bbB34...761820F62
0.00085 ETH
182593122023-10-02 0:37:59297 days ago1696207079
0x9c1bbB34...761820F62
0.00085 ETH
182593122023-10-02 0:37:59297 days ago1696207079
0x9c1bbB34...761820F62
0.00085 ETH
182582272023-10-01 20:59:59297 days ago1696193999
0x9c1bbB34...761820F62
0.00085 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3BE7DD92...611bFCf0e
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SaitaChefProxy

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : SaitaChefProxy.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;

import "./interfaces/ISaitaFactory.sol";

contract SaitaChefProxy {
    
        bytes32 private constant proxyOwnerPosition = keccak256("com.saitama.chef.proxy.owner");
        bytes32 private constant factory = keccak256("com.saitama.chef.proxy.factory");

    constructor(address owner) {
        setProxyOwner(owner);

    }

    function setProxyOwner(address newProxyOwner) private  {
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, newProxyOwner)
        }
    }

    function setFactory(address _factory) public  {
        require(msg.sender == proxyOwner(), "ONLY_OWNER_CAN_CHANGE");
        bytes32 position = factory;
        assembly {
            sstore(position, _factory)
        }
    }

    function getFactory() public view returns (address _factory) {
        bytes32 position = factory;
        assembly {
            _factory := sload(position)
        }
    }

    function proxyOwner() public view returns (address owner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            owner := sload(position)
        }
    }


    function implementation() public view returns (address) {
        return ISaitaFactory(getFactory()).impl();
    }
    


    fallback() external payable {
        address _impl = implementation();

            assembly 
                {
                let ptr := mload(0x40)

                // (1) copy incoming call data
                calldatacopy(ptr, 0, calldatasize())

                // (2) forward call to logic contract
                let result := delegatecall(gas(), _impl, ptr, calldatasize(), 0, 0)
                let size := returndatasize()

                // (3) retrieve return data
                returndatacopy(ptr, 0, size)

                // (4) forward return data back to caller
                switch result
                case 0 { revert(ptr, size) }
                default { return(ptr, size) }
                }
    }

}

File 2 of 2 : ISaitaFactory.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

interface ISaitaFactory {
    function impl() external view returns(address);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"getFactory","outputs":[{"internalType":"address","name":"_factory","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_factory","type":"address"}],"name":"setFactory","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x60806040526004361061003f5760003560e01c8063025313a2146100725780635bb47808146100be5780635c60da1b146100de57806388cc58e4146100f3575b6000610049610127565b905060405136600082376000803683855af43d806000843e81801561006c578184f35b8184fd5b005b34801561007e57600080fd5b507fbc4f1571850c901c10568bf735d5b010f4b89a51313f7bcd3713e783e3175b56545b6040516001600160a01b03909116815260200160405180910390f35b3480156100ca57600080fd5b506100706100d9366004610271565b6101b7565b3480156100ea57600080fd5b506100a2610127565b3480156100ff57600080fd5b507f92eb0b371c9e0aed3ade2c94f9a87b1d43bc687d45f95be4292a107c0ff8dfc0546100a2565b60006101517f92eb0b371c9e0aed3ade2c94f9a87b1d43bc687d45f95be4292a107c0ff8dfc05490565b6001600160a01b0316638abf60776040518163ffffffff1660e01b8152600401602060405180830381865afa15801561018e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b29190610295565b905090565b7fbc4f1571850c901c10568bf735d5b010f4b89a51313f7bcd3713e783e3175b56546001600160a01b0316336001600160a01b0316146102355760405162461bcd60e51b81526020600482015260156024820152744f4e4c595f4f574e45525f43414e5f4348414e474560581b604482015260640160405180910390fd5b7f92eb0b371c9e0aed3ade2c94f9a87b1d43bc687d45f95be4292a107c0ff8dfc055565b6001600160a01b038116811461026e57600080fd5b50565b60006020828403121561028357600080fd5b813561028e81610259565b9392505050565b6000602082840312156102a757600080fd5b815161028e8161025956fea26469706673582212203bdbec81bad86275fa19dd631f52b2350f1fb289b1aef194041ae9747d64d6e464736f6c63430008120033

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.