ERC-20
Overview
Max Total Supply
178.629981811656853918 DEFISOCKS
Holders
113
Total Transfers
-
Market
Price
$17.24 @ 0.005334 ETH
Onchain Market Cap
$3,079.54
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x23B60867...5c51691d5 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Vyper_contract
Compiler Version
vyper:0.1.0b9
Optimization Enabled:
N/A
Other Settings:
default evmVersion
Contract Source Code (Vyper language format)
# ERC20 implementation adapted from https://github.com/ethereum/vyper/blob/master/examples/tokens/ERC20.vy Transfer: event({_from: indexed(address), _to: indexed(address), _value: uint256}) Approval: event({_owner: indexed(address), _spender: indexed(address), _value: uint256}) name: public(string[32]) symbol: public(string[32]) decimals: public(uint256) totalSupply: public(uint256) balanceOf: public(map(address, uint256)) allowances: map(address, map(address, uint256)) @public def __init__(): _supply: uint256 = 500*10**18 self.name = 'Unisocks Edition 0' self.symbol = 'SOCKS' self.decimals = 18 self.balanceOf[msg.sender] = _supply self.totalSupply = _supply log.Transfer(ZERO_ADDRESS, msg.sender, _supply) @public @constant def allowance(_owner : address, _spender : address) -> uint256: return self.allowances[_owner][_spender] @public def transfer(_to : address, _value : uint256) -> bool: self.balanceOf[msg.sender] -= _value self.balanceOf[_to] += _value log.Transfer(msg.sender, _to, _value) return True @public def transferFrom(_from : address, _to : address, _value : uint256) -> bool: self.balanceOf[_from] -= _value self.balanceOf[_to] += _value if self.allowances[_from][msg.sender] < MAX_UINT256: self.allowances[_from][msg.sender] -= _value log.Transfer(_from, _to, _value) return True @public def approve(_spender : address, _value : uint256) -> bool: self.allowances[msg.sender][_spender] = _value log.Approval(msg.sender, _spender, _value) return True @public def burn(_value: uint256) -> bool: self.totalSupply -= _value self.balanceOf[msg.sender] -= _value log.Transfer(msg.sender, ZERO_ADDRESS, _value) return True @public def burnFrom(_from: address, _value: uint256) -> bool: if self.allowances[_from][msg.sender] < MAX_UINT256: self.allowances[_from][msg.sender] -= _value self.totalSupply -= _value self.balanceOf[_from] -= _value log.Transfer(_from, ZERO_ADDRESS, _value) return True
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"Transfer","inputs":[{"type":"address","name":"_from","indexed":true},{"type":"address","name":"_to","indexed":true},{"type":"uint256","name":"_value","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"type":"address","name":"_owner","indexed":true},{"type":"address","name":"_spender","indexed":true},{"type":"uint256","name":"_value","indexed":false}],"anonymous":false,"type":"event"},{"outputs":[],"inputs":[],"constant":false,"payable":false,"type":"constructor"},{"name":"allowance","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"_owner"},{"type":"address","name":"_spender"}],"constant":true,"payable":false,"type":"function","gas":815},{"name":"transfer","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":74044},{"name":"transferFrom","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_from"},{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":110401},{"name":"approve","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":37779},{"name":"burn","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":73765},{"name":"burnFrom","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_from"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":110122},{"name":"name","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":6462},{"name":"symbol","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":6492},{"name":"decimals","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":723},{"name":"totalSupply","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":753},{"name":"balanceOf","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"arg0"}],"constant":true,"payable":false,"type":"function","gas":955}]
Contract Creation Code
600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052341561009e57600080fd5b681b1ae4d6e2ef500000610140526012610160527f556e69736f636b732045646974696f6e203000000000000000000000000000006101805261016080600060c052602060c020602082510161012060006002818352015b826101205160200211156101095761012b565b61012051602002850151610120518501555b81516001018083528114156100f6575b50505050505060056101c0527f534f434b530000000000000000000000000000000000000000000000000000006101e0526101c080600160c052602060c020602082510161012060006002818352015b8261012051602002111561018e576101b0565b61012051602002850151610120518501555b815160010180835281141561017b575b50505050505060126002556101405160043360e05260c052604060c020556101405160035561014051610220523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610220a3610a1756600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263dd62ed3e600051141561010357604060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b5060243560205181106100d757600080fd5b5060056101405160e05260c052604060c0206101605160e05260c052604060c0205460005260206000f3005b63a9059cbb60005114156101ce576040600461014037341561012457600080fd5b600435602051811061013557600080fd5b5060043360e05260c052604060c020610160518154101561015557600080fd5b6101605181540381555060046101405160e05260c052604060c020805461016051825401101561018457600080fd5b61016051815401815550610160516101805261014051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6323b872dd600051141561032f57606060046101403734156101ef57600080fd5b600435602051811061020057600080fd5b50602435602051811061021257600080fd5b5060046101405160e05260c052604060c020610180518154101561023557600080fd5b6101805181540381555060046101605160e05260c052604060c020805461018051825401101561026457600080fd5b610180518154018155507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c0205410156102ec5760056101405160e05260c052604060c0203360e05260c052604060c02061018051815410156102e157600080fd5b610180518154038155505b610180516101a05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a3600160005260206000f3005b63095ea7b360005114156103c4576040600461014037341561035057600080fd5b600435602051811061036157600080fd5b506101605160053360e05260c052604060c0206101405160e05260c052604060c02055610160516101805261014051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610180a3600160005260206000f3005b6342966c68600051141561046957602060046101403734156103e557600080fd5b600361014051815410156103f857600080fd5b6101405181540381555060043360e05260c052604060c020610140518154101561042157600080fd5b6101405181540381555061014051610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f3005b6379cc679060005114156105a4576040600461014037341561048a57600080fd5b600435602051811061049b57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c02054101561051a5760056101405160e05260c052604060c0203360e05260c052604060c020610160518154101561050f57600080fd5b610160518154038155505b6003610160518154101561052d57600080fd5b6101605181540381555060046101405160e05260c052604060c020610160518154101561055957600080fd5b6101605181540381555061016051610180526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6306fdde0360005114156106875734156105bd57600080fd5b60008060c052602060c020610180602082540161012060006002818352015b826101205160200211156105ef57610611565b61012051850154610120516020028501525b81516001018083528114156105dc575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561064757610663565b60006101e0516101a001535b8151600101808352811415610637575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b6395d89b41600051141561076a5734156106a057600080fd5b60018060c052602060c020610180602082540161012060006002818352015b826101205160200211156106d2576106f4565b61012051850154610120516020028501525b81516001018083528114156106bf575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561072a57610746565b60006101e0516101a001535b815160010180835281141561071a575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b63313ce567600051141561079057341561078357600080fd5b60025460005260206000f3005b6318160ddd60005114156107b65734156107a957600080fd5b60035460005260206000f3005b6370a08231600051141561080557602060046101403734156107d757600080fd5b60043560205181106107e857600080fd5b5060046101405160e05260c052604060c0205460005260206000f3005b60006000fd5b61020c610a170361020c60003961020c610a17036000f3
Deployed Bytecode
0x600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263dd62ed3e600051141561010357604060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b5060243560205181106100d757600080fd5b5060056101405160e05260c052604060c0206101605160e05260c052604060c0205460005260206000f3005b63a9059cbb60005114156101ce576040600461014037341561012457600080fd5b600435602051811061013557600080fd5b5060043360e05260c052604060c020610160518154101561015557600080fd5b6101605181540381555060046101405160e05260c052604060c020805461016051825401101561018457600080fd5b61016051815401815550610160516101805261014051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6323b872dd600051141561032f57606060046101403734156101ef57600080fd5b600435602051811061020057600080fd5b50602435602051811061021257600080fd5b5060046101405160e05260c052604060c020610180518154101561023557600080fd5b6101805181540381555060046101605160e05260c052604060c020805461018051825401101561026457600080fd5b610180518154018155507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c0205410156102ec5760056101405160e05260c052604060c0203360e05260c052604060c02061018051815410156102e157600080fd5b610180518154038155505b610180516101a05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a3600160005260206000f3005b63095ea7b360005114156103c4576040600461014037341561035057600080fd5b600435602051811061036157600080fd5b506101605160053360e05260c052604060c0206101405160e05260c052604060c02055610160516101805261014051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610180a3600160005260206000f3005b6342966c68600051141561046957602060046101403734156103e557600080fd5b600361014051815410156103f857600080fd5b6101405181540381555060043360e05260c052604060c020610140518154101561042157600080fd5b6101405181540381555061014051610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f3005b6379cc679060005114156105a4576040600461014037341561048a57600080fd5b600435602051811061049b57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c02054101561051a5760056101405160e05260c052604060c0203360e05260c052604060c020610160518154101561050f57600080fd5b610160518154038155505b6003610160518154101561052d57600080fd5b6101605181540381555060046101405160e05260c052604060c020610160518154101561055957600080fd5b6101605181540381555061016051610180526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6306fdde0360005114156106875734156105bd57600080fd5b60008060c052602060c020610180602082540161012060006002818352015b826101205160200211156105ef57610611565b61012051850154610120516020028501525b81516001018083528114156105dc575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561064757610663565b60006101e0516101a001535b8151600101808352811415610637575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b6395d89b41600051141561076a5734156106a057600080fd5b60018060c052602060c020610180602082540161012060006002818352015b826101205160200211156106d2576106f4565b61012051850154610120516020028501525b81516001018083528114156106bf575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561072a57610746565b60006101e0516101a001535b815160010180835281141561071a575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b63313ce567600051141561079057341561078357600080fd5b60025460005260206000f3005b6318160ddd60005114156107b65734156107a957600080fd5b60035460005260206000f3005b6370a08231600051141561080557602060046101403734156107d757600080fd5b60043560205181106107e857600080fd5b5060046101405160e05260c052604060c0205460005260206000f3005b60006000fd
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.