ETH Price: $2,544.94 (+4.67%)

Contract

0xdd292012D70806bB8082Bd9aE872E6D627F7B0B7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer111756832020-11-02 5:17:151418 days ago1604294235IN
0xdd292012...627F7B0B7
0 ETH0.0013906227.5
Transfer111392782020-10-27 14:54:501423 days ago1603810490IN
0xdd292012...627F7B0B7
0 ETH0.002527250
Transfer110929432020-10-20 12:16:521430 days ago1603196212IN
0xdd292012...627F7B0B7
0 ETH0.0015644644.00000145
Transfer110922532020-10-20 9:43:221430 days ago1603187002IN
0xdd292012...627F7B0B7
0 ETH0.0012906836.3000016
Transfer110922332020-10-20 9:39:421431 days ago1603186782IN
0xdd292012...627F7B0B7
0 ETH0.0013511238.00000145
Transfer110921292020-10-20 9:15:331431 days ago1603185333IN
0xdd292012...627F7B0B7
0 ETH0.0007466721.00000145
Transfer110920012020-10-20 8:49:471431 days ago1603183787IN
0xdd292012...627F7B0B7
0 ETH0.0018482852.00000145
Transfer110918442020-10-20 8:14:141431 days ago1603181654IN
0xdd292012...627F7B0B7
0 ETH0.0018133551.00000145
Transfer110917752020-10-20 7:59:431431 days ago1603180783IN
0xdd292012...627F7B0B7
0 ETH0.0014222440.00000145
Transfer110915762020-10-20 7:09:361431 days ago1603177776IN
0xdd292012...627F7B0B7
0 ETH0.001208934.00000145
Transfer110914242020-10-20 6:34:531431 days ago1603175693IN
0xdd292012...627F7B0B7
0 ETH0.0012124534.10000123
Transfer110913292020-10-20 6:12:001431 days ago1603174320IN
0xdd292012...627F7B0B7
0 ETH0.0011022331.00000145
Transfer110912932020-10-20 6:03:381431 days ago1603173818IN
0xdd292012...627F7B0B7
0 ETH0.0011733433.00000145
Transfer110912772020-10-20 5:59:261431 days ago1603173566IN
0xdd292012...627F7B0B7
0 ETH0.0009244526.00000145
Transfer110911372020-10-20 5:27:251431 days ago1603171645IN
0xdd292012...627F7B0B7
0 ETH0.0009600127.00000145
Transfer110911332020-10-20 5:25:151431 days ago1603171515IN
0xdd292012...627F7B0B7
0 ETH0.0010111220.00000145
Transfer108264262020-09-09 8:20:221472 days ago1599639622IN
0xdd292012...627F7B0B7
0 ETH0.00606816120
Transfer108264122020-09-09 8:18:141472 days ago1599639494IN
0xdd292012...627F7B0B7
0 ETH0.00387204108.90000145
Transfer108255302020-09-09 5:05:591472 days ago1599627959IN
0xdd292012...627F7B0B7
0 ETH0.0035556100
Transfer108255252020-09-09 5:04:471472 days ago1599627887IN
0xdd292012...627F7B0B7
0 ETH0.0035568100
Transfer108255252020-09-09 5:04:471472 days ago1599627887IN
0xdd292012...627F7B0B7
0 ETH0.0035556100
Transfer108250212020-09-09 3:09:111472 days ago1599620951IN
0xdd292012...627F7B0B7
0 ETH0.0030232885.00000145
Transfer108148362020-09-07 13:32:521473 days ago1599485572IN
0xdd292012...627F7B0B7
0 ETH0.0044445125
Transfer108148362020-09-07 13:32:521473 days ago1599485572IN
0xdd292012...627F7B0B7
0 ETH0.004446125
Transfer108148252020-09-07 13:29:541473 days ago1599485394IN
0xdd292012...627F7B0B7
0 ETH0.00480006135.00000123
View all transactions

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

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.1.0b14

Optimization Enabled:
N/A

Other Settings:
None license

Contract Source Code (Vyper language format)

from vyper.interfaces import ERC20

implements: ERC20

Transfer: event({_from: indexed(address), _to: indexed(address), _value: uint256})
Approval: event({_owner: indexed(address), _spender: indexed(address), _value: uint256})

name: public(string[64])
symbol: public(string[32])
decimals: public(uint256)

balanceOf: public(map(address, uint256))
allowances: map(address, map(address, uint256))
total_supply: uint256
minter: address


@public
def __init__(_name: string[64], _symbol: string[32], _decimals: uint256, _supply: uint256):
    init_supply: uint256 = _supply * 10 ** _decimals
    self.name = _name
    self.symbol = _symbol
    self.decimals = _decimals
    self.balanceOf[msg.sender] = init_supply
    self.total_supply = init_supply
    self.minter = msg.sender
    log.Transfer(ZERO_ADDRESS, msg.sender, init_supply)


@public
@constant
def totalSupply() -> uint256:
    """
    @dev Total number of tokens in existence.
    """
    return self.total_supply


@public
@constant
def allowance(_owner : address, _spender : address) -> uint256:
    """
    @dev Function to check the amount of tokens that an owner allowed to a spender.
    @param _owner The address which owns the funds.
    @param _spender The address which will spend the funds.
    @return An uint256 specifying the amount of tokens still available for the spender.
    """
    return self.allowances[_owner][_spender]


@public
def transfer(_to : address, _value : uint256) -> bool:
    """
    @dev Transfer token for a specified address
    @param _to The address to transfer to.
    @param _value The amount to be transferred.
    """

    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:
    """
     @dev Transfer tokens from one address to another.
          Note that while this function emits a Transfer event, this is not required as per the specification,
          and other compliant implementations may not emit the event.
     @param _from address The address which you want to send tokens from
     @param _to address The address which you want to transfer to
     @param _value uint256 the amount of tokens to be transferred
    """
    
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value

    self.allowances[_from][msg.sender] -= _value
    log.Transfer(_from, _to, _value)
    return True


@public
def approve(_spender : address, _value : uint256) -> bool:
    """
    @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
         Beware that changing an allowance with this method brings the risk that someone may use both the old
         and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
         race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
         https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    @param _spender The address which will spend the funds.
    @param _value The amount of tokens to be spent.
    """
    self.allowances[msg.sender][_spender] = _value
    log.Approval(msg.sender, _spender, _value)
    return True


@public
def mint(_to: address, _value: uint256):
    """
    @dev Mint an amount of the token and assigns it to an account. 
         This encapsulates the modification of balances such that the
         proper events are emitted.
    @param _to The account that will receive the created tokens.
    @param _value The amount that will be created.
    """
    assert msg.sender == self.minter
    assert _to != ZERO_ADDRESS
    self.total_supply += _value
    self.balanceOf[_to] += _value
    log.Transfer(ZERO_ADDRESS, _to, _value)


@private
def _burn(_to: address, _value: uint256):
    """
    @dev Internal function that burns an amount of the token of a given
         account.
    @param _to The account whose tokens will be burned.
    @param _value The amount that will be burned.
    """
    assert _to != ZERO_ADDRESS
    self.total_supply -= _value
    self.balanceOf[_to] -= _value
    log.Transfer(_to, ZERO_ADDRESS, _value)


@public
def burn(_value: uint256):
    """
    @dev Burn an amount of the token of msg.sender.
    @param _value The amount that will be burned.
    """
    self._burn(msg.sender, _value)


@public
def burnFrom(_to: address, _value: uint256):
    """
    @dev Burn an amount of the token from a given account.
    @param _to The account whose tokens will be burned.
    @param _value The amount that will be burned.
    """
    self.allowances[_to][msg.sender] -= _value
    self._burn(_to, _value)

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":[{"type":"string","name":"_name"},{"type":"string","name":"_symbol"},{"type":"uint256","name":"_decimals"},{"type":"uint256","name":"_supply"}],"constant":false,"payable":false,"type":"constructor"},{"name":"totalSupply","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":551},{"name":"allowance","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"_owner"},{"type":"address","name":"_spender"}],"constant":true,"payable":false,"type":"function","gas":889},{"name":"transfer","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":73572},{"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":109266},{"name":"approve","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":37853},{"name":"mint","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":73903},{"name":"burn","outputs":[],"inputs":[{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":74345},{"name":"burnFrom","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":110035},{"name":"name","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":5423},{"name":"symbol","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":5076},{"name":"decimals","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":881},{"name":"balanceOf","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"arg0"}],"constant":true,"payable":false,"type":"function","gas":1065}]

740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a0526080610a2a6101403934156100a157600080fd5b60606020610a2a60c03960c051610a2a016101c03960406020610a2a60c03960c0516004013511156100d257600080fd5b604060206020610a2a0160c03960c051610a2a0161024039602060206020610a2a0160c03960c05160040135111561010957600080fd5b6101a051600a6101805180820a8210811560018314171761012957600080fd5b80820a90509050808202821582848304141761014457600080fd5b809050905090506102a0526101c080600060c052602060c020602082510161012060006003818352015b82610120516020021115610181576101a3565b61012051602002850151610120518501555b815160010180835281141561016e575b50505050505061024080600160c052602060c020602082510161012060006002818352015b826101205160200211156101db576101fd565b61012051602002850151610120518501555b81516001018083528114156101c8575b505050505050610180516002556102a05160033360e05260c052604060c020556102a051600555336006556102a0516102c0523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206102c0a3610a1256600436101561000d576107ad565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a0526318160ddd60005114156100c85734156100ba57600080fd5b60055460005260206000f350005b63dd62ed3e600051141561012f5734156100e157600080fd5b60043560205181106100f257600080fd5b50602435602051811061010457600080fd5b50600460043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f350005b63a9059cbb60005114156101f157341561014857600080fd5b600435602051811061015957600080fd5b5060033360e05260c052604060c02080546024358082101561017a57600080fd5b80820390509050815550600360043560e05260c052604060c02080546024358181830110156101a857600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6323b872dd600051141561030157341561020a57600080fd5b600435602051811061021b57600080fd5b50602435602051811061022d57600080fd5b50600360043560e05260c052604060c02080546044358082101561025057600080fd5b80820390509050815550600360243560e05260c052604060c020805460443581818301101561027e57600080fd5b80820190509050815550600460043560e05260c052604060c0203360e05260c052604060c0208054604435808210156102b657600080fd5b80820390509050815550604435610140526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b63095ea7b3600051141561038b57341561031a57600080fd5b600435602051811061032b57600080fd5b5060243560043360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f350005b6340c10f1960005114156104565734156103a457600080fd5b60043560205181106103b557600080fd5b5060065433146103c457600080fd5b6000600435186103d357600080fd5b600580546024358181830110156103e957600080fd5b80820190509050815550600360043560e05260c052604060c020805460243581818301101561041757600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3005b600015610502575b6101805261014052610160526000610140511861047a57600080fd5b60058054610160518082101561048f57600080fd5b8082039050905081555060036101405160e05260c052604060c020805461016051808210156104bd57600080fd5b80820390509050815550610160516101a0526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a361018051565b6342966c68600051141561054657341561051b57600080fd5b636161eb186101405233610160526004356101805261018051610160516006580161045e565b600050005b6379cc679060005114156105d657341561055f57600080fd5b600435602051811061057057600080fd5b50600460043560e05260c052604060c0203360e05260c052604060c02080546024358082101561059f57600080fd5b80820390509050815550636161eb1861014052600435610160526024356101805261018051610160516006580161045e565b600050005b6306fdde03600051141561068a5734156105ef57600080fd5b60008060c052602060c020610180602082540161012060006003818352015b8261012051602002111561062157610643565b61012051850154610120516020028501525b815160010180835281141561060e575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b41600051141561073e5734156106a357600080fd5b60018060c052602060c020610180602082540161012060006002818352015b826101205160200211156106d5576106f7565b61012051850154610120516020028501525b81516001018083528114156106c2575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce567600051141561076557341561075757600080fd5b60025460005260206000f350005b6370a0823160005114156107ac57341561077e57600080fd5b600435602051811061078f57600080fd5b50600360043560e05260c052604060c0205460005260206000f350005b5b60006000fd5b61025f610a120361025f60003961025f610a12036000f3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000a037a0000000000000000000000000000000000000000000000000000000000000000e42656175746966756c20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442544b4d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x600436101561000d576107ad565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a0526318160ddd60005114156100c85734156100ba57600080fd5b60055460005260206000f350005b63dd62ed3e600051141561012f5734156100e157600080fd5b60043560205181106100f257600080fd5b50602435602051811061010457600080fd5b50600460043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f350005b63a9059cbb60005114156101f157341561014857600080fd5b600435602051811061015957600080fd5b5060033360e05260c052604060c02080546024358082101561017a57600080fd5b80820390509050815550600360043560e05260c052604060c02080546024358181830110156101a857600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6323b872dd600051141561030157341561020a57600080fd5b600435602051811061021b57600080fd5b50602435602051811061022d57600080fd5b50600360043560e05260c052604060c02080546044358082101561025057600080fd5b80820390509050815550600360243560e05260c052604060c020805460443581818301101561027e57600080fd5b80820190509050815550600460043560e05260c052604060c0203360e05260c052604060c0208054604435808210156102b657600080fd5b80820390509050815550604435610140526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b63095ea7b3600051141561038b57341561031a57600080fd5b600435602051811061032b57600080fd5b5060243560043360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f350005b6340c10f1960005114156104565734156103a457600080fd5b60043560205181106103b557600080fd5b5060065433146103c457600080fd5b6000600435186103d357600080fd5b600580546024358181830110156103e957600080fd5b80820190509050815550600360043560e05260c052604060c020805460243581818301101561041757600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3005b600015610502575b6101805261014052610160526000610140511861047a57600080fd5b60058054610160518082101561048f57600080fd5b8082039050905081555060036101405160e05260c052604060c020805461016051808210156104bd57600080fd5b80820390509050815550610160516101a0526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a361018051565b6342966c68600051141561054657341561051b57600080fd5b636161eb186101405233610160526004356101805261018051610160516006580161045e565b600050005b6379cc679060005114156105d657341561055f57600080fd5b600435602051811061057057600080fd5b50600460043560e05260c052604060c0203360e05260c052604060c02080546024358082101561059f57600080fd5b80820390509050815550636161eb1861014052600435610160526024356101805261018051610160516006580161045e565b600050005b6306fdde03600051141561068a5734156105ef57600080fd5b60008060c052602060c020610180602082540161012060006003818352015b8261012051602002111561062157610643565b61012051850154610120516020028501525b815160010180835281141561060e575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b41600051141561073e5734156106a357600080fd5b60018060c052602060c020610180602082540161012060006002818352015b826101205160200211156106d5576106f7565b61012051850154610120516020028501525b81516001018083528114156106c2575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce567600051141561076557341561075757600080fd5b60025460005260206000f350005b6370a0823160005114156107ac57341561077e57600080fd5b600435602051811061078f57600080fd5b50600360043560e05260c052604060c0205460005260206000f350005b5b60006000fd

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000a037a0000000000000000000000000000000000000000000000000000000000000000e42656175746966756c20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442544b4d00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Beautiful Coin
Arg [1] : _symbol (string): BTKM
Arg [2] : _decimals (uint256): 18
Arg [3] : _supply (uint256): 10500000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a037a0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 42656175746966756c20436f696e000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 42544b4d00000000000000000000000000000000000000000000000000000000


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.