ETH Price: $3,901.85 (-0.06%)
Gas: 49 Gwei

Token

Saratoga STG (SSTG)
 

Overview

Max Total Supply

100 SSTG

Holders

1

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

 

 

 


# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

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

Contract Name:
Proxy

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2024-03-04
*/

pragma solidity ^0.8.13;

//SPDX-License-Identifier: UNLICENSED
contract Proxy {
    address public owner;
    address public target;

    event ProxyTargetSet(address target);
    event ProxyOwnerChanged(address owner);

    constructor() {
        owner = msg.sender;
    }

    /**
   * @dev Throws if called by any account other than the owner.
   */
    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    function setTarget(address _target) public onlyOwner {
        target = _target;
        emit ProxyTargetSet(_target);
    }

    function setOwner(address _owner) public onlyOwner {
        owner = _owner;
        emit ProxyOwnerChanged(_owner);
    }

    fallback() external {
        address _impl = target;
        require(_impl != address(0), "Target not set");

        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, 0, calldatasize())
            let result := delegatecall(gas(), _impl, ptr, calldatasize(), 0, 0)
            let size := returndatasize()
            returndatacopy(ptr, 0, size)

            switch result
                case 0 {
                    revert(ptr, size)
                }
                default {
                    return(ptr, size)
                }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"ProxyOwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"target","type":"address"}],"name":"ProxyTargetSet","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"}],"name":"setTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"target","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916331790556102bf806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806313af4035146100c2578063776d1a01146100d55780638da5cb5b146100e8578063d4b8399214610117575b6001546001600160a01b03168061009b5760405162461bcd60e51b815260206004820152600e60248201526d15185c99d95d081b9bdd081cd95d60921b60448201526064015b60405180910390fd5b60405136600082376000803683855af43d806000843e8180156100bc578184f35b8184fd5b005b6100c06100d0366004610259565b61012a565b6100c06100e3366004610259565b6101c5565b6000546100fb906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6001546100fb906001600160a01b031681565b6000546001600160a01b031633146101705760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610092565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527fe543d3a077035cec99b732bad2c4cf1c0fdee02ddf561ae543106ccc31cf35a3906020015b60405180910390a150565b6000546001600160a01b0316331461020b5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610092565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527ff1b1e874978309afba903baec19abf568b0337fcedc05dde58cfea25ec25b94d906020016101ba565b60006020828403121561026b57600080fd5b81356001600160a01b038116811461028257600080fd5b939250505056fea26469706673582212208571e44d10b28fe06365e4ff3378d5931e12d387c20bf8a1073cb2eea9fe514864736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806313af4035146100c2578063776d1a01146100d55780638da5cb5b146100e8578063d4b8399214610117575b6001546001600160a01b03168061009b5760405162461bcd60e51b815260206004820152600e60248201526d15185c99d95d081b9bdd081cd95d60921b60448201526064015b60405180910390fd5b60405136600082376000803683855af43d806000843e8180156100bc578184f35b8184fd5b005b6100c06100d0366004610259565b61012a565b6100c06100e3366004610259565b6101c5565b6000546100fb906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6001546100fb906001600160a01b031681565b6000546001600160a01b031633146101705760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610092565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527fe543d3a077035cec99b732bad2c4cf1c0fdee02ddf561ae543106ccc31cf35a3906020015b60405180910390a150565b6000546001600160a01b0316331461020b5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610092565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527ff1b1e874978309afba903baec19abf568b0337fcedc05dde58cfea25ec25b94d906020016101ba565b60006020828403121561026b57600080fd5b81356001600160a01b038116811461028257600080fd5b939250505056fea26469706673582212208571e44d10b28fe06365e4ff3378d5931e12d387c20bf8a1073cb2eea9fe514864736f6c634300080d0033

Deployed Bytecode Sourcemap

67:1281:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;792:6;;-1:-1:-1;;;;;792:6:0;;809:46;;;;-1:-1:-1;;;809:46:0;;216:2:1;809:46:0;;;198:21:1;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:44;328:18;;809:46:0;;;;;;;;;909:4;903:11;949:14;946:1;941:3;928:36;1043:1;1040;1024:14;1019:3;1012:5;1005;992:53;1071:16;1124:4;1121:1;1116:3;1101:28;1152:6;1176:66;;;;1303:4;1298:3;1291:17;1176:66;1218:4;1213:3;1206:17;1145:182;;612:125;;;;;;:::i;:::-;;:::i;477:127::-;;;;;;:::i;:::-;;:::i;89:20::-;;;;;-1:-1:-1;;;;;89:20:0;;;;;;-1:-1:-1;;;;;812:32:1;;;794:51;;782:2;767:18;89:20:0;;;;;;;116:21;;;;;-1:-1:-1;;;;;116:21:0;;;612:125;430:5;;-1:-1:-1;;;;;430:5:0;416:10;:19;408:41;;;;-1:-1:-1;;;408:41:0;;1058:2:1;408:41:0;;;1040:21:1;1097:1;1077:18;;;1070:29;-1:-1:-1;;;1115:18:1;;;1108:39;1164:18;;408:41:0;856:332:1;408:41:0;674:5:::1;:14:::0;;-1:-1:-1;;;;;;674:14:0::1;-1:-1:-1::0;;;;;674:14:0;::::1;::::0;;::::1;::::0;;;704:25:::1;::::0;794:51:1;;;704:25:0::1;::::0;782:2:1;767:18;704:25:0::1;;;;;;;;612:125:::0;:::o;477:127::-;430:5;;-1:-1:-1;;;;;430:5:0;416:10;:19;408:41;;;;-1:-1:-1;;;408:41:0;;1058:2:1;408:41:0;;;1040:21:1;1097:1;1077:18;;;1070:29;-1:-1:-1;;;1115:18:1;;;1108:39;1164:18;;408:41:0;856:332:1;408:41:0;541:6:::1;:16:::0;;-1:-1:-1;;;;;;541:16:0::1;-1:-1:-1::0;;;;;541:16:0;::::1;::::0;;::::1;::::0;;;573:23:::1;::::0;794:51:1;;;573:23:0::1;::::0;782:2:1;767:18;573:23:0::1;648:203:1::0;357:286;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;511:23;;-1:-1:-1;;;;;563:31:1;;553:42;;543:70;;609:1;606;599:12;543:70;632:5;357:286;-1:-1:-1;;;357:286:1:o

Swarm Source

ipfs://8571e44d10b28fe06365e4ff3378d5931e12d387c20bf8a1073cb2eea9fe5148
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.