Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||||
---|---|---|---|---|---|---|---|---|---|
There are no matching entriesUpdate your filters to view other transactions |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
StraightSaleProxy
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-02-28 */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract Upgradeable is Ownable { address public implementation; constructor() Ownable(msg.sender) {} function replaceImplementation(address impl_) public onlyOwner { implementation = impl_; } } contract Proxy is Upgradeable { constructor(address impl_) { replaceImplementation(impl_); } fallback() external payable { assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), sload(implementation.slot), 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } } contract StraightSaleProxy is Proxy { constructor(address impl_) Proxy(impl_) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"impl_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"impl_","type":"address"}],"name":"replaceImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561000f575f80fd5b506040516103c13803806103c183398101604081905261002e91610116565b80338061005557604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61005e8161006f565b50610068816100be565b5050610143565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100c66100e8565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b031633146101145760405163118cdaa760e01b815233600482015260240161004c565b565b5f60208284031215610126575f80fd5b81516001600160a01b038116811461013c575f80fd5b9392505050565b610271806101505f395ff3fe608060405260043610610049575f3560e01c80635c60da1b1461006b578063715018a6146100a65780638da5cb5b146100ba578063d69efdc5146100d6578063f2fde38b146100f5575b365f80375f80365f6001545af43d5f803e808015610065573d5ff35b3d5ffd5b005b348015610076575f80fd5b5060015461008a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100b1575f80fd5b50610069610114565b3480156100c5575f80fd5b505f546001600160a01b031661008a565b3480156100e1575f80fd5b506100696100f036600461020e565b610127565b348015610100575f80fd5b5061006961010f36600461020e565b610151565b61011c610193565b6101255f6101bf565b565b61012f610193565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610159610193565b6001600160a01b03811661018757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610190816101bf565b50565b5f546001600160a01b031633146101255760405163118cdaa760e01b815233600482015260240161017e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121561021e575f80fd5b81356001600160a01b0381168114610234575f80fd5b939250505056fea2646970667358221220841abe9a184b29e24ca0a6aac7abceec2b8db3807587dcf8a2b8dfdf9b2a11e864736f6c634300081700330000000000000000000000008a90659307f6f7db15f91d0a8e1a4ca9f24dfa8d
Deployed Bytecode
0x608060405260043610610049575f3560e01c80635c60da1b1461006b578063715018a6146100a65780638da5cb5b146100ba578063d69efdc5146100d6578063f2fde38b146100f5575b365f80375f80365f6001545af43d5f803e808015610065573d5ff35b3d5ffd5b005b348015610076575f80fd5b5060015461008a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100b1575f80fd5b50610069610114565b3480156100c5575f80fd5b505f546001600160a01b031661008a565b3480156100e1575f80fd5b506100696100f036600461020e565b610127565b348015610100575f80fd5b5061006961010f36600461020e565b610151565b61011c610193565b6101255f6101bf565b565b61012f610193565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610159610193565b6001600160a01b03811661018757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610190816101bf565b50565b5f546001600160a01b031633146101255760405163118cdaa760e01b815233600482015260240161017e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121561021e575f80fd5b81356001600160a01b0381168114610234575f80fd5b939250505056fea2646970667358221220841abe9a184b29e24ca0a6aac7abceec2b8db3807587dcf8a2b8dfdf9b2a11e864736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008a90659307f6f7db15f91d0a8e1a4ca9f24dfa8d
-----Decoded View---------------
Arg [0] : impl_ (address): 0x8A90659307f6F7DB15f91D0A8E1a4cA9F24DFA8D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008a90659307f6f7db15f91d0a8e1a4ca9f24dfa8d
Deployed Bytecode Sourcemap
4709:88:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4385:14;4382:1;4379;4366:34;4498:1;4495;4479:14;4476:1;4454:19;4448:26;4441:5;4428:72;4535:16;4532:1;4529;4514:38;4573:6;4593:38;;;;4665:16;4662:1;4655:27;4593:38;4612:16;4609:1;4602:27;4566:118;;3989:29;;;;;;;;;;-1:-1:-1;3989:29:0;;;;-1:-1:-1;;;;;3989:29:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;3989:29:0;;;;;;;3114:103;;;;;;;;;;;;;:::i;2439:87::-;;;;;;;;;;-1:-1:-1;2485:7:0;2512:6;-1:-1:-1;;;;;2512:6:0;2439:87;;4071:104;;;;;;;;;;-1:-1:-1;4071:104:0;;;;;:::i;:::-;;:::i;3372:220::-;;;;;;;;;;-1:-1:-1;3372:220:0;;;;;:::i;:::-;;:::i;3114:103::-;2325:13;:11;:13::i;:::-;3179:30:::1;3206:1;3179:18;:30::i;:::-;3114:103::o:0;4071:104::-;2325:13;:11;:13::i;:::-;4145:14:::1;:22:::0;;-1:-1:-1;;;;;;4145:22:0::1;-1:-1:-1::0;;;;;4145:22:0;;;::::1;::::0;;;::::1;::::0;;4071:104::o;3372:220::-;2325:13;:11;:13::i;:::-;-1:-1:-1;;;;;3457:22:0;::::1;3453:93;;3503:31;::::0;-1:-1:-1;;;3503:31:0;;3531:1:::1;3503:31;::::0;::::1;160:51:1::0;133:18;;3503:31:0::1;;;;;;;;3453:93;3556:28;3575:8;3556:18;:28::i;:::-;3372:220:::0;:::o;2604:166::-;2485:7;2512:6;-1:-1:-1;;;;;2512:6:0;687:10;2664:23;2660:103;;2711:40;;-1:-1:-1;;;2711:40:0;;687:10;2711:40;;;160:51:1;133:18;;2711:40:0;14:203:1;3752:191:0;3826:16;3845:6;;-1:-1:-1;;;;;3862:17:0;;;-1:-1:-1;;;;;;3862:17:0;;;;;;3895:40;;3845:6;;;;;;;3895:40;;3826:16;3895:40;3815:128;3752:191;:::o;222:286:1:-;281:6;334:2;322:9;313:7;309:23;305:32;302:52;;;350:1;347;340:12;302:52;376:23;;-1:-1:-1;;;;;428:31:1;;418:42;;408:70;;474:1;471;464:12;408:70;497:5;222:286;-1:-1:-1;;;222:286:1:o
Swarm Source
ipfs://841abe9a184b29e24ca0a6aac7abceec2b8db3807587dcf8a2b8dfdf9b2a11e8
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.