ETH Price: $3,082.80 (-1.23%)

Token

PoolStake (PSK)
 

Overview

Max Total Supply

10,000,000 PSK

Holders

518 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$296.12

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000502175771525 PSK

Value
$0.00 ( ~0 Eth) [0.0000%]
0x3f35f4569cd0db7c3aa29cfa1732482f2a1a29f9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

PoolStake PSK are the staking asset used in Peet DeFi staking pools. Users can stake PSK in return for any other crypto asset with Peets mutlichain dapps.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PoolStake

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-25
*/

pragma solidity 0.5.7;

contract PoolStake {
    
    mapping (address => uint256) public balanceOf;

    string public name = "PoolStake";
    string public symbol = "PSK";
    uint8 public decimals = 18;
    uint256 public totalSupply = 10000000 * (uint256(10) ** decimals);

    event Transfer(address indexed from, address indexed to, uint256 value);

    constructor() public {

        balanceOf[msg.sender] = totalSupply;
        emit Transfer(address(0), msg.sender, totalSupply);
    }

    function transfer(address to, uint256 value) public returns (bool success) {
        require(balanceOf[msg.sender] >= value);

        balanceOf[msg.sender] -= value;  
        balanceOf[to] += value;          
        emit Transfer(msg.sender, to, value);
        return true;
    }

    event Approval(address indexed owner, address indexed spender, uint256 value);

    mapping(address => mapping(address => uint256)) public allowance;

    function approve(address spender, uint256 value)
        public
        returns (bool success)
    {
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value)
        public
        returns (bool success)
    {
        require(value <= balanceOf[from]);
        require(value <= allowance[from][msg.sender]);

        balanceOf[from] -= value;
        balanceOf[to] += value;
        allowance[from][msg.sender] -= value;
        emit Transfer(from, to, value);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

60c0604052600960808190527f506f6f6c5374616b65000000000000000000000000000000000000000000000060a090815261003e91600191906100ff565b506040805180820190915260038082527f50534b00000000000000000000000000000000000000000000000000000000006020909201918252610083916002916100ff565b5060038054601260ff19909116179081905560ff16600a0a62989680026004553480156100af57600080fd5b5060045433600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361019a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014057805160ff191683800117855561016d565b8280016001018555821561016d579182015b8281111561016d578251825591602001919060010190610152565b5061017992915061017d565b5090565b61019791905b808211156101795760008155600101610183565b90565b610565806101a96000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102d8565b604080519115158252519081900360200190f35b61015d61033e565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b03813581169160208101359091169060400135610344565b6101ad610421565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661042a565b6100a061043c565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610494565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661051c565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561036957600080fd5b6001600160a01b038416600090815260056020908152604080832033845290915290205482111561039957600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b336000908152602081905260408120548211156104b057600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea165627a7a72305820fe21215b61291cc88530cfbaf4c7de6593194da935ad5778a2e19ad239c254e20029

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102d8565b604080519115158252519081900360200190f35b61015d61033e565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b03813581169160208101359091169060400135610344565b6101ad610421565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661042a565b6100a061043c565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610494565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661051c565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b6001600160a01b03831660009081526020819052604081205482111561036957600080fd5b6001600160a01b038416600090815260056020908152604080832033845290915290205482111561039957600080fd5b6001600160a01b038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60035460ff1681565b60006020819052908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102d05780601f106102a5576101008083540402835291602001916102d0565b336000908152602081905260408120548211156104b057600080fd5b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea165627a7a72305820fe21215b61291cc88530cfbaf4c7de6593194da935ad5778a2e19ad239c254e20029

Deployed Bytecode Sourcemap

26:1598:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26:1598:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;112:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;976:233;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;976:233:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;219:65;;;:::i;:::-;;;;;;;;;;;;;;;;1217:404;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1217:404:0;;;;;;;;;;;;;;;;;:::i;186:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;58:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58:45:0;-1:-1:-1;;;;;58:45:0;;:::i;151:28::-;;;:::i;519:290::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;519:290:0;;;;;;;;:::i;903:64::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;903:64:0;;;;;;;;;;:::i;112:32::-;;;;;;;;;;;;;;;-1:-1:-1;;112:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;976:233::-;1099:10;1059:12;1089:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1089:30:0;;;;;;;;;;;:38;;;1143:36;;;;;;;1059:12;;1089:30;;1099:10;;1143:36;;;;;;;;-1:-1:-1;1197:4:0;976:233;;;;:::o;219:65::-;;;;:::o;1217:404::-;-1:-1:-1;;;;;1361:15:0;;1314:12;1361:15;;;;;;;;;;;1352:24;;;1344:33;;;;;;-1:-1:-1;;;;;1405:15:0;;;;;;:9;:15;;;;;;;;1421:10;1405:27;;;;;;;;1396:36;;;1388:45;;;;;;-1:-1:-1;;;;;1446:15:0;;;:9;:15;;;;;;;;;;;:24;;;;;;;1481:13;;;;;;;;;:22;;;;;;1514:15;;;:9;:15;;;;;1530:10;1514:27;;;;;;;;:36;;;;;;;1566:25;;;;;;;1481:13;;1566:25;;;;;;;;;;;-1:-1:-1;1609:4:0;1217:404;;;;;:::o;186:26::-;;;;;;:::o;58:45::-;;;;;;;;;;;;;;:::o;151:28::-;;;;;;;;;;;;;;-1:-1:-1;;151:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;519:290;623:10;580:12;613:21;;;;;;;;;;;:30;-1:-1:-1;613:30:0;605:39;;;;;;667:10;657:9;:21;;;;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;700:13:0;;;;;;;;;:22;;;;;;748:31;;;;;;;700:13;;667:10;748:31;;;;;;;;;;;-1:-1:-1;797:4:0;519:290;;;;:::o;903:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://fe21215b61291cc88530cfbaf4c7de6593194da935ad5778a2e19ad239c254e2
Loading...
Loading
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.