ETH Price: $3,518.31 (+0.90%)
Gas: 2 Gwei

Contract

0xb8522E605a2C203a2B81388bEc4E1D615349F979
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60003560112790792020-11-18 1:50:321340 days ago1605664232IN
 Contract Creation
0 ETH0.0271623642

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

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:
N/A

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

Contract ABI

[{"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}]

Deployed Bytecode

0x600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263dd62ed3e600051141561010357604060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b5060243560205181106100d757600080fd5b5060056101405160e05260c052604060c0206101605160e05260c052604060c0205460005260206000f3005b63a9059cbb60005114156101ce576040600461014037341561012457600080fd5b600435602051811061013557600080fd5b5060043360e05260c052604060c020610160518154101561015557600080fd5b6101605181540381555060046101405160e05260c052604060c020805461016051825401101561018457600080fd5b61016051815401815550610160516101805261014051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6323b872dd600051141561032f57606060046101403734156101ef57600080fd5b600435602051811061020057600080fd5b50602435602051811061021257600080fd5b5060046101405160e05260c052604060c020610180518154101561023557600080fd5b6101805181540381555060046101605160e05260c052604060c020805461018051825401101561026457600080fd5b610180518154018155507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c0205410156102ec5760056101405160e05260c052604060c0203360e05260c052604060c02061018051815410156102e157600080fd5b610180518154038155505b610180516101a05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a3600160005260206000f3005b63095ea7b360005114156103c4576040600461014037341561035057600080fd5b600435602051811061036157600080fd5b506101605160053360e05260c052604060c0206101405160e05260c052604060c02055610160516101805261014051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610180a3600160005260206000f3005b6342966c68600051141561046957602060046101403734156103e557600080fd5b600361014051815410156103f857600080fd5b6101405181540381555060043360e05260c052604060c020610140518154101561042157600080fd5b6101405181540381555061014051610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f3005b6379cc679060005114156105a4576040600461014037341561048a57600080fd5b600435602051811061049b57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60056101405160e05260c052604060c0203360e05260c052604060c02054101561051a5760056101405160e05260c052604060c0203360e05260c052604060c020610160518154101561050f57600080fd5b610160518154038155505b6003610160518154101561052d57600080fd5b6101605181540381555060046101405160e05260c052604060c020610160518154101561055957600080fd5b6101605181540381555061016051610180526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a3600160005260206000f3005b6306fdde0360005114156106875734156105bd57600080fd5b60008060c052602060c020610180602082540161012060006002818352015b826101205160200211156105ef57610611565b61012051850154610120516020028501525b81516001018083528114156105dc575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561064757610663565b60006101e0516101a001535b8151600101808352811415610637575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b6395d89b41600051141561076a5734156106a057600080fd5b60018060c052602060c020610180602082540161012060006002818352015b826101205160200211156106d2576106f4565b61012051850154610120516020028501525b81516001018083528114156106bf575b5050505050506101805160206001820306601f82010390506101e0610180516020818352015b826101e051111561072a57610746565b60006101e0516101a001535b815160010180835281141561071a575b5050506020610160526040610180510160206001820306601f8201039050610160f3005b63313ce567600051141561079057341561078357600080fd5b60025460005260206000f3005b6318160ddd60005114156107b65734156107a957600080fd5b60035460005260206000f3005b6370a08231600051141561080557602060046101403734156107d757600080fd5b60043560205181106107e857600080fd5b5060046101405160e05260c052604060c0205460005260206000f3005b60006000fd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.