ETH Price: $3,887.51 (+0.02%)

Contract

0x078b728243b975d1a284666C30B30530a8c087fe
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve168524682023-03-18 5:08:59637 days ago1679116139IN
0x078b7282...0a8c087fe
0 ETH0.0004285316.35758328
Approve168524652023-03-18 5:08:23637 days ago1679116103IN
0x078b7282...0a8c087fe
0 ETH0.0004630217.6740814
Approve168524612023-03-18 5:07:35637 days ago1679116055IN
0x078b7282...0a8c087fe
0 ETH0.0004357516.63303082
Approve168524602023-03-18 5:07:23637 days ago1679116043IN
0x078b7282...0a8c087fe
0 ETH0.0004432816.9206374
Approve168524542023-03-18 5:06:11637 days ago1679115971IN
0x078b7282...0a8c087fe
0 ETH0.0003880116.03505994
Approve161779902022-12-13 19:53:59731 days ago1670961239IN
0x078b7282...0a8c087fe
0 ETH0.0003895516.09884912
Approve130281342021-08-15 6:25:271217 days ago1629008727IN
0x078b7282...0a8c087fe
0 ETH0.0029748464
Approve130016722021-08-11 4:11:091221 days ago1628655069IN
0x078b7282...0a8c087fe
0 ETH0.0024635453
Approve129263942021-07-30 10:16:291233 days ago1627640189IN
0x078b7282...0a8c087fe
0 ETH0.0016638436
Approve127610882021-07-04 12:46:011259 days ago1625402761IN
0x078b7282...0a8c087fe
0 ETH0.0004621810
Approve126190092021-06-12 10:02:571281 days ago1623492177IN
0x078b7282...0a8c087fe
0 ETH0.0005546112
Approve126189532021-06-12 9:49:231281 days ago1623491363IN
0x078b7282...0a8c087fe
0 ETH0.0006002113
Approve126189502021-06-12 9:48:511281 days ago1623491331IN
0x078b7282...0a8c087fe
0 ETH0.0003405713
Approve125946572021-06-08 15:22:121285 days ago1623165732IN
0x078b7282...0a8c087fe
0 ETH0.0034654575
Approve124764182021-05-21 7:43:511303 days ago1621583031IN
0x078b7282...0a8c087fe
0 ETH0.0020798145
Approve124764142021-05-21 7:42:461303 days ago1621582966IN
0x078b7282...0a8c087fe
0 ETH0.0011789145
Approve123813692021-05-06 14:51:201318 days ago1620312680IN
0x078b7282...0a8c087fe
0 ETH0.0034183574
Transfer123039242021-04-24 16:07:451329 days ago1619280465IN
0x078b7282...0a8c087fe
0 ETH0.001631462
Approve122373522021-04-14 9:17:521340 days ago1618391872IN
0x078b7282...0a8c087fe
0 ETH0.00588111131
Approve122372102021-04-14 8:42:191340 days ago1618389739IN
0x078b7282...0a8c087fe
0 ETH0.00276458108.00000145
Approve122330832021-04-13 17:25:321340 days ago1618334732IN
0x078b7282...0a8c087fe
0 ETH0.00624193139
Approve122295962021-04-13 4:31:431341 days ago1618288303IN
0x078b7282...0a8c087fe
0 ETH0.003009567
Approve122295912021-04-13 4:30:271341 days ago1618288227IN
0x078b7282...0a8c087fe
0 ETH0.0017150667
Approve122029572021-04-09 2:27:501345 days ago1617935270IN
0x078b7282...0a8c087fe
0 ETH0.00507573113
Approve122029552021-04-09 2:27:361345 days ago1617935256IN
0x078b7282...0a8c087fe
0 ETH0.00289257113
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x9fC689CC...6664a1F23
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.0b16

Optimization Enabled:
N/A

Other Settings:
default evmVersion, None license

Contract Source Code (Vyper language format)

# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md

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)

# NOTE: By declaring `balanceOf` as public, vyper automatically generates a 'balanceOf()' getter
#       method to allow access to account balances.
#       The _KeyType will become a required parameter for the getter and it will return _ValueType.
#       See: https://vyper.readthedocs.io/en/v0.1.0-beta.8/types.html?highlight=getter#mappings
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
def set_minter(_minter: address):
    assert msg.sender == self.minter
    self.minter = _minter


@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.
    """
    # NOTE: vyper does not allow underflows
    #       so the following subtraction would revert on insufficient balance
    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
    """
    # NOTE: vyper does not allow underflows
    #       so the following subtraction would revert on insufficient balance
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value
    if msg.sender != self.minter:  # minter is allowed to transfer anything
        # NOTE: vyper does not allow underflows
        # so the following subtraction would revert on insufficient allowance
        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.
    """
    assert _value == 0 or self.allowances[msg.sender][_spender] == 0
    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.
    """
    assert msg.sender == self.minter, "Only minter is allowed to burn"
    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.
    """
    assert msg.sender == self.minter, "Only minter is allowed to burn"
    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":"set_minter","outputs":[],"inputs":[{"type":"address","name":"_minter"}],"constant":false,"payable":false,"type":"function","gas":36247},{"name":"totalSupply","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":1181},{"name":"allowance","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"_owner"},{"type":"address","name":"_spender"}],"constant":true,"payable":false,"type":"function","gas":1519},{"name":"transfer","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":74802},{"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":111953},{"name":"approve","outputs":[{"type":"bool","name":"out"}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":39012},{"name":"mint","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":75733},{"name":"burn","outputs":[],"inputs":[{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":76623},{"name":"burnFrom","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false,"payable":false,"type":"function","gas":76696},{"name":"name","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":7853},{"name":"symbol","outputs":[{"type":"string","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":6906},{"name":"decimals","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":1511},{"name":"balanceOf","outputs":[{"type":"uint256","name":"out"}],"inputs":[{"type":"address","name":"arg0"}],"constant":true,"payable":false,"type":"function","gas":1695}]

Deployed Bytecode

0x600436101561000d576108d9565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052631652e9fc60005114156100e25734156100ba57600080fd5b60043560205181106100cb57600080fd5b5060065433146100da57600080fd5b600435600655005b6318160ddd60005114156101095734156100fb57600080fd5b60055460005260206000f350005b63dd62ed3e600051141561017057341561012257600080fd5b600435602051811061013357600080fd5b50602435602051811061014557600080fd5b50600460043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f350005b63a9059cbb600051141561023257341561018957600080fd5b600435602051811061019a57600080fd5b5060033360e05260c052604060c0208054602435808210156101bb57600080fd5b80820390509050815550600360043560e05260c052604060c02080546024358181830110156101e957600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6323b872dd600051141561034d57341561024b57600080fd5b600435602051811061025c57600080fd5b50602435602051811061026e57600080fd5b50600360043560e05260c052604060c02080546044358082101561029157600080fd5b80820390509050815550600360243560e05260c052604060c02080546044358181830110156102bf57600080fd5b8082019050905081555060065433181561030c57600460043560e05260c052604060c0203360e05260c052604060c02080546044358082101561030157600080fd5b808203905090508155505b604435610140526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b63095ea7b3600051141561040357341561036657600080fd5b600435602051811061037757600080fd5b5060043360e05260c052604060c02060043560e05260c052604060c020541560243515176103a457600080fd5b60243560043360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f350005b6340c10f1960005114156104ce57341561041c57600080fd5b600435602051811061042d57600080fd5b50600654331461043c57600080fd5b60006004351861044b57600080fd5b6005805460243581818301101561046157600080fd5b80820190509050815550600360043560e05260c052604060c020805460243581818301101561048f57600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3005b60001561057a575b610180526101405261016052600061014051186104f257600080fd5b60058054610160518082101561050757600080fd5b8082039050905081555060036101405160e05260c052604060c0208054610160518082101561053557600080fd5b80820390509050815550610160516101a0526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a361018051565b6342966c68600051141561063457341561059357600080fd5b6308c379a061014052602061016052601e610180527f4f6e6c79206d696e74657220697320616c6c6f77656420746f206275726e00006101a0526101805060065433146105e157608461015cfd5b6101405161016051610180516101a0516101c051636161eb18610200523361022052600435610240526102405161022051600658016104d6565b6101c0526101a052610180526101605261014052600050005b6379cc6790600051141561070257341561064d57600080fd5b600435602051811061065e57600080fd5b506308c379a061014052602061016052601e610180527f4f6e6c79206d696e74657220697320616c6c6f77656420746f206275726e00006101a0526101805060065433146106ad57608461015cfd5b6101405161016051610180516101a0516101c051636161eb186102005260043561022052602435610240526102405161022051600658016104d6565b6101c0526101a052610180526101605261014052600050005b6306fdde0360005114156107b657341561071b57600080fd5b60008060c052602060c020610180602082540161012060006003818352015b8261012051602002111561074d5761076f565b61012051850154610120516020028501525b815160010180835281141561073a575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b41600051141561086a5734156107cf57600080fd5b60018060c052602060c020610180602082540161012060006002818352015b8261012051602002111561080157610823565b61012051850154610120516020028501525b81516001018083528114156107ee575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce567600051141561089157341561088357600080fd5b60025460005260206000f350005b6370a0823160005114156108d85734156108aa57600080fd5b60043560205181106108bb57600080fd5b50600360043560e05260c052604060c0205460005260206000f350005b5b60006000fd

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.