POL Price: $0.702531 (-0.47%)
 

Overview

Max Total Supply

89,830.186559856019284628 IoKSP

Holders

108

Market

Price

$0.00 @ 0.000000 POL

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1.895617778290782149 IoKSP

Value
$0.00
0x6d2aac889349feb6a61e9bf8bfeab558791f1e79
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

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

Contract Name:
SinglePool

Compiler Version
v0.5.6+commit.b259423e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at polygonscan.com on 2022-06-16
*/

// This License is not an Open Source license. Copyright 2022. Ozys Co. Ltd. All rights reserved.
pragma solidity 0.5.6;

interface ISinglePoolFactory {
    function singlePoolImpl() external view returns (address);
}

contract SinglePool {

    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    event OwnerChanged(address previousOwner, address newOwner);
    event Upgraded(address implementation);

    modifier onlyOwner {
        require(msg.sender == _owner());
        _;
    }
    
    constructor(address _owner, bytes memory _data) public {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setOwner(_owner);
        
        address impl = ISinglePoolFactory(msg.sender).singlePoolImpl();
        if (_data.length > 0) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success,) = impl.delegatecall(_data);
            require(success);
        }
    }


    function Owner() external view onlyOwner returns (address) {
        return _owner();
    }

    function _owner() internal view returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    function _setOwner(address newOwner) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newOwner)
        }
    }

    function changeOwner(address newOwner) external onlyOwner {
        require(newOwner != address(0), "Proxy: new Owner is the zero address");
        emit OwnerChanged(_owner(), newOwner);
        _setOwner(newOwner);
    }

    function () payable external { 
        address impl = ISinglePoolFactory(_owner()).singlePoolImpl();
        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

[{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"Owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_data","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}]

608060405234801561001057600080fd5b5060405161051a38038061051a8339810180604052604081101561003357600080fd5b81516020830180519193928301929164010000000081111561005457600080fd5b8201602081018481111561006757600080fd5b815164010000000081118282018710171561008157600080fd5b5050604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190209093506000805160206104fa8339815191526000199091011491506100d8905057fe5b6100e78261021160201b60201c565b6000336001600160a01b031663e238297a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561012257600080fd5b505afa158015610136573d6000803e3d6000fd5b505050506040513d602081101561014c57600080fd5b5051825190915015610209576000816001600160a01b0316836040518082805190602001908083835b602083106101945780518252601f199092019160209182019101610175565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101f4576040519150601f19603f3d011682016040523d82523d6000602084013e6101f9565b606091505b505090508061020757600080fd5b505b505050610223565b6000805160206104fa83398151915255565b6102c8806102326000396000f3fe6080604052600436106100295760003560e01c8063a6f9dae1146100d1578063b4a99a4e14610106575b6000610033610137565b6001600160a01b031663e238297a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561006b57600080fd5b505afa15801561007f573d6000803e3d6000fd5b505050506040513d602081101561009557600080fd5b505190506001600160a01b0381166100ac57600080fd5b60405136600082376000803683855af43d806000843e8180156100cd578184f35b8184fd5b3480156100dd57600080fd5b50610104600480360360208110156100f457600080fd5b50356001600160a01b031661015c565b005b34801561011257600080fd5b5061011b610220565b604080516001600160a01b039092168252519081900360200190f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610164610137565b6001600160a01b0316336001600160a01b03161461018157600080fd5b6001600160a01b0381166101c957604051600160e51b62461bcd0281526004018080602001828103825260248152602001806102796024913960400191505060405180910390fd5b7fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c6101f2610137565b604080516001600160a01b03928316815291841660208301528051918290030190a161021d81610254565b50565b600061022a610137565b6001600160a01b0316336001600160a01b03161461024757600080fd5b61024f610137565b905090565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035556fe50726f78793a206e6577204f776e657220697320746865207a65726f2061646472657373a165627a7a7230582052e3108d48da0d8fe0f5b7b5c0b0f8b762ef5f4226b12411545631cda64f70c80029b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103000000000000000000000000504722a6eabb3d1573bada9abd585ae177d52e7a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064ed897be5000000000000000000000000504722a6eabb3d1573bada9abd585ae177d52e7a0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000001f42fed9cfff2177131f9823654d69b4573b69dc00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100295760003560e01c8063a6f9dae1146100d1578063b4a99a4e14610106575b6000610033610137565b6001600160a01b031663e238297a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561006b57600080fd5b505afa15801561007f573d6000803e3d6000fd5b505050506040513d602081101561009557600080fd5b505190506001600160a01b0381166100ac57600080fd5b60405136600082376000803683855af43d806000843e8180156100cd578184f35b8184fd5b3480156100dd57600080fd5b50610104600480360360208110156100f457600080fd5b50356001600160a01b031661015c565b005b34801561011257600080fd5b5061011b610220565b604080516001600160a01b039092168252519081900360200190f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610164610137565b6001600160a01b0316336001600160a01b03161461018157600080fd5b6001600160a01b0381166101c957604051600160e51b62461bcd0281526004018080602001828103825260248152602001806102796024913960400191505060405180910390fd5b7fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c6101f2610137565b604080516001600160a01b03928316815291841660208301528051918290030190a161021d81610254565b50565b600061022a610137565b6001600160a01b0316336001600160a01b03161461024757600080fd5b61024f610137565b905090565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035556fe50726f78793a206e6577204f776e657220697320746865207a65726f2061646472657373a165627a7a7230582052e3108d48da0d8fe0f5b7b5c0b0f8b762ef5f4226b12411545631cda64f70c80029

Deployed Bytecode Sourcemap

226:2261:0:-;;;;;;;;;;;;;;;;;;;;;;;1991:12;2025:8;:6;:8::i;:::-;-1:-1:-1;;;;;2006:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2006:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2006:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2006:45:0;;-1:-1:-1;;;;;;2070:18:0;;2062:27;;;;;;2141:4;2135:11;2181:12;2178:1;2173:3;2160:34;2268:1;2265;2251:12;2246:3;2240:4;2235:3;2222:48;2296:14;2347:4;2344:1;2339:3;2324:28;2375:6;2395:28;;;;2459:4;2454:3;2447:17;2395:28;2416:4;2411:3;2404:17;1716:226;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1716:226:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1716:226:0;-1:-1:-1;;;;;1716:226:0;;:::i;:::-;;1164:93;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1164:93:0;;;:::i;:::-;;;;-1:-1:-1;;;;;1164:93:0;;;;;;;;;;;;;;1265:219;415:66;1455:11;;1433:44::o;1716:226::-;655:8;:6;:8::i;:::-;-1:-1:-1;;;;;641:22:0;:10;-1:-1:-1;;;;;641:22:0;;633:31;;;;;;-1:-1:-1;;;;;1793:22:0;;1785:71;;;;-1:-1:-1;;;;;1785:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1872:32;1885:8;:6;:8::i;:::-;1872:32;;;-1:-1:-1;;;;;1872:32:0;;;;;;;;;;;;;;;;;;;;;1915:19;1925:8;1915:9;:19::i;:::-;1716:226;:::o;1164:93::-;1214:7;655:8;:6;:8::i;:::-;-1:-1:-1;;;;;641:22:0;:10;-1:-1:-1;;;;;641:22:0;;633:31;;;;;;1241:8;:6;:8::i;:::-;1234:15;;1164:93;:::o;1492:216::-;415:66;1668:22;1653:48::o

Swarm Source

bzzr://52e3108d48da0d8fe0f5b7b5c0b0f8b762ef5f4226b12411545631cda64f70c8
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.