ETH Price: $2,372.92 (-0.77%)

Token

Fusang Corp (FSC)
 

Overview

Max Total Supply

0 FSC

Holders

0

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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

OVERVIEW

Asia's digital stock exchange.

# 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 0x0Bd148b3...C4A0bD714
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Proxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-07-12
*/

pragma solidity ^0.5.0;

contract Proxy {
    address public owner;
    address public target;

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

    constructor() public {
        owner = msg.sender;
    }

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

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

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

    function() external payable {
        address _impl = target;
        require(_impl != address(0));

        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":[],"payable":false,"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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_target","type":"address"}],"name":"setTarget","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"target","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610251806100326000396000f3fe60806040526004361061003f5760003560e01c806313af40351461007a578063776d1a01146100af5780638da5cb5b146100e2578063d4b8399214610113575b6001546001600160a01b03168061005557600080fd5b60405136600082376000803683855af43d806000843e818015610076578184f35b8184fd5b34801561008657600080fd5b506100ad6004803603602081101561009d57600080fd5b50356001600160a01b0316610128565b005b3480156100bb57600080fd5b506100ad600480360360208110156100d257600080fd5b50356001600160a01b0316610193565b3480156100ee57600080fd5b506100f76101fe565b604080516001600160a01b039092168252519081900360200190f35b34801561011f57600080fd5b506100f761020d565b6000546001600160a01b0316331461013f57600080fd5b600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe543d3a077035cec99b732bad2c4cf1c0fdee02ddf561ae543106ccc31cf35a39181900360200190a150565b6000546001600160a01b031633146101aa57600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517ff1b1e874978309afba903baec19abf568b0337fcedc05dde58cfea25ec25b94d9181900360200190a150565b6000546001600160a01b031681565b6001546001600160a01b03168156fea265627a7a72315820339d9e50785b8f706bcf14c9575725adec03411a389e54e3bc85e9f164147bb864736f6c63430005110032

Deployed Bytecode

0x60806040526004361061003f5760003560e01c806313af40351461007a578063776d1a01146100af5780638da5cb5b146100e2578063d4b8399214610113575b6001546001600160a01b03168061005557600080fd5b60405136600082376000803683855af43d806000843e818015610076578184f35b8184fd5b34801561008657600080fd5b506100ad6004803603602081101561009d57600080fd5b50356001600160a01b0316610128565b005b3480156100bb57600080fd5b506100ad600480360360208110156100d257600080fd5b50356001600160a01b0316610193565b3480156100ee57600080fd5b506100f76101fe565b604080516001600160a01b039092168252519081900360200190f35b34801561011f57600080fd5b506100f761020d565b6000546001600160a01b0316331461013f57600080fd5b600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe543d3a077035cec99b732bad2c4cf1c0fdee02ddf561ae543106ccc31cf35a39181900360200190a150565b6000546001600160a01b031633146101aa57600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517ff1b1e874978309afba903baec19abf568b0337fcedc05dde58cfea25ec25b94d9181900360200190a150565b6000546001600160a01b031681565b6001546001600160a01b03168156fea265627a7a72315820339d9e50785b8f706bcf14c9575725adec03411a389e54e3bc85e9f164147bb864736f6c63430005110032

Deployed Bytecode Sourcemap

27:1257:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;754:6;;-1:-1:-1;;;;;754:6:0;779:19;771:28;;;;;;853:4;847:11;893:12;890:1;885:3;872:34;981:1;978;964:12;959:3;952:5;947:3;934:49;1009:14;1060:4;1057:1;1052:3;1037:28;1088:6;1112:66;;;;1239:4;1234:3;1227:17;1112:66;1154:4;1149:3;1142:17;566:125;;8:9:-1;5:2;;;30:1;27;20:12;5:2;566:125:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;566:125:0;-1:-1:-1;;;;;566:125:0;;:::i;:::-;;431:127;;8:9:-1;5:2;;;30:1;27;20:12;5:2;431:127:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;431:127:0;-1:-1:-1;;;;;431:127:0;;:::i;49:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49:20:0;;;:::i;:::-;;;;-1:-1:-1;;;;;49:20:0;;;;;;;;;;;;;;76:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;76:21:0;;;:::i;566:125::-;397:5;;-1:-1:-1;;;;;397:5:0;383:10;:19;375:28;;;;;;628:5;:14;;-1:-1:-1;;;;;628:14:0;;-1:-1:-1;;;;;;628:14:0;;;;;;;;658:25;;;;;;;;;;;;;;;;566:125;:::o;431:127::-;397:5;;-1:-1:-1;;;;;397:5:0;383:10;:19;375:28;;;;;;495:6;:16;;-1:-1:-1;;;;;495:16:0;;-1:-1:-1;;;;;;495:16:0;;;;;;;;527:23;;;;;;;;;;;;;;;;431:127;:::o;49:20::-;;;-1:-1:-1;;;;;49:20:0;;:::o;76:21::-;;;-1:-1:-1;;;;;76:21:0;;:::o

Swarm Source

bzzr://339d9e50785b8f706bcf14c9575725adec03411a389e54e3bc85e9f164147bb8
Loading...
Loading
Loading...
Loading
[ 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.