Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18712522 | 233 days ago | 0.00085 ETH | ||||
18712522 | 233 days ago | 0.00085 ETH | ||||
18597801 | 249 days ago | 0.00085 ETH | ||||
18597801 | 249 days ago | 0.00085 ETH | ||||
18533338 | 258 days ago | 0.00085 ETH | ||||
18533338 | 258 days ago | 0.00085 ETH | ||||
18533292 | 258 days ago | 0.00085 ETH | ||||
18533292 | 258 days ago | 0.00085 ETH | ||||
18429182 | 273 days ago | 0.00085 ETH | ||||
18429182 | 273 days ago | 0.00085 ETH | ||||
18429125 | 273 days ago | 0.00085 ETH | ||||
18429125 | 273 days ago | 0.00085 ETH | ||||
18375389 | 280 days ago | 0.00085 ETH | ||||
18375389 | 280 days ago | 0.00085 ETH | ||||
18375054 | 281 days ago | 0.00085 ETH | ||||
18375054 | 281 days ago | 0.00085 ETH | ||||
18373571 | 281 days ago | 0.00085 ETH | ||||
18373571 | 281 days ago | 0.00085 ETH | ||||
18270235 | 295 days ago | 0.00085 ETH | ||||
18270235 | 295 days ago | 0.00085 ETH | ||||
18259419 | 297 days ago | 0.00085 ETH | ||||
18259419 | 297 days ago | 0.00085 ETH | ||||
18259312 | 297 days ago | 0.00085 ETH | ||||
18259312 | 297 days ago | 0.00085 ETH | ||||
18258227 | 297 days ago | 0.00085 ETH |
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
Contract Source Code (Solidity Standard Json-Input format)
// 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) } } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface ISaitaFactory { function impl() external view returns(address); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.